优化
This commit is contained in:
parent
693a35191a
commit
cba97c61ff
@ -26,7 +26,7 @@
|
|||||||
type="text">添加</el-button>
|
type="text">添加</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="overflow:hidden;box-sizing: border-box;" :style="{height:!dialogFormVisible?'0px':'274px'}" :class="{boderAndRadius:dialogFormVisible}" class=" drawer-content-left-content">
|
<div style="overflow:hidden;box-sizing: border-box;" :style="{height:(!dialogFormVisible?0:274 )+ 'px'}" :class="{boderAndRadius:dialogFormVisible}" class=" drawer-content-left-content">
|
||||||
<div style="padding:20px;">
|
<div style="padding:20px;">
|
||||||
<el-form :model="form"
|
<el-form :model="form"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
@ -327,7 +327,7 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
name: '',
|
name: '',
|
||||||
processRate: '0'
|
processRate: 0
|
||||||
},
|
},
|
||||||
pinglunForm: {},
|
pinglunForm: {},
|
||||||
pinglunList: [],
|
pinglunList: [],
|
||||||
@ -488,6 +488,7 @@ export default {
|
|||||||
i.updateProcess = false
|
i.updateProcess = false
|
||||||
i.editProcess = false
|
i.editProcess = false
|
||||||
})
|
})
|
||||||
|
this.dialogFormVisible = false
|
||||||
if (type) {
|
if (type) {
|
||||||
this.form = Object.assign({}, i)
|
this.form = Object.assign({}, i)
|
||||||
this.form.taskId = this.form.id
|
this.form.taskId = this.form.id
|
||||||
@ -505,6 +506,7 @@ export default {
|
|||||||
i.updateProcess = false
|
i.updateProcess = false
|
||||||
i.editProcess = false
|
i.editProcess = false
|
||||||
})
|
})
|
||||||
|
this.dialogFormVisible = false
|
||||||
i.editProcess = type
|
i.editProcess = type
|
||||||
this.form = Object.assign({}, i)
|
this.form = Object.assign({}, i)
|
||||||
this.form.taskId = this.form.id
|
this.form.taskId = this.form.id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user