格式修改
This commit is contained in:
parent
5deb9a3826
commit
a7ecd774c2
|
@ -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>
|
||||
|
@ -78,7 +78,7 @@ import mixinViewModule from '@/mixins/view-module'
|
|||
import processModule from '@/mixins/process-module'
|
||||
export default {
|
||||
mixins: [mixinViewModule, processModule],
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
mixinViewModuleOptions: {
|
||||
getDataListURL: '/deviceApply/auditPage',
|
||||
|
@ -104,22 +104,22 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
taskHandle(row) {
|
||||
this.form.auditViem = '';
|
||||
this.rowData = row;
|
||||
taskHandle (row) {
|
||||
this.form.auditViem = ''
|
||||
this.rowData = row
|
||||
this.centerDialogVisible = true
|
||||
},
|
||||
through(state) {
|
||||
through (state) {
|
||||
// 2-通过 3-不通过
|
||||
this.handlePut(state)
|
||||
},
|
||||
handlePut(state) {
|
||||
this.$http.put(`/deviceApply`, {
|
||||
handlePut (state) {
|
||||
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>
|
||||
|
Loading…
Reference in New Issue