|
|
@ -4,6 +4,25 @@ |
|
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup> |
|
|
|
<script lang="ts" setup> |
|
|
|
import {} from 'vue' |
|
|
|
import {} from 'vue' |
|
|
|
|
|
|
|
import axios from 'axios' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const save = () => { |
|
|
|
|
|
|
|
const data = { |
|
|
|
|
|
|
|
insCode: 'c7c6aa3d-9d2e-40c3-8989-9f39c724eaa4', |
|
|
|
|
|
|
|
instruType: 4, |
|
|
|
|
|
|
|
instruList: '{}', |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
axios |
|
|
|
|
|
|
|
.post('http://www.hniss.cn/api/service/putInstru', data, { |
|
|
|
|
|
|
|
headers: { |
|
|
|
|
|
|
|
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
.then((res) => { |
|
|
|
|
|
|
|
console.log(res) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
save() |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style> |
|
|
|
<style lang="scss" scoped></style> |
|
|
|