格式修改

This commit is contained in:
wuhongjian 2022-10-20 16:20:40 +08:00
parent 5deb9a3826
commit a7ecd774c2
1 changed files with 61 additions and 62 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: hisense.guoyue
* @LastEditors: hisense.guoyue
* @LastEditTime: 2022-09-21 10:37:29
* @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-10-20 16:19:48
* @Description: 设备审批
-->
<template>
@ -105,8 +105,8 @@ export default {
},
methods: {
taskHandle (row) {
this.form.auditViem = '';
this.rowData = row;
this.form.auditViem = ''
this.rowData = row
this.centerDialogVisible = true
},
through (state) {
@ -114,12 +114,12 @@ export default {
this.handlePut(state)
},
handlePut (state) {
this.$http.put(`/deviceApply`, {
this.$http.put('/deviceApply', {
...this.rowData,
state: state,
...this.form
}).then(({ data: res }) => {
console.log('res------------>', res);
console.log('res------------>', res)
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -133,10 +133,10 @@ export default {
}
})
}).catch((err) => {
console.log('err------------>', err);
console.log('err------------>', err)
})
}
},
}
}
</script>
<style scoped>
@ -154,4 +154,3 @@ export default {
width: 400px;
}
</style>