This commit is contained in:
xiongchengqiang 2020-12-14 15:15:42 +08:00
parent 693a35191a
commit cba97c61ff

View File

@ -26,7 +26,7 @@
type="text">添加</el-button>
</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;">
<el-form :model="form"
:rules="formRules">
@ -327,7 +327,7 @@ export default {
},
form: {
name: '',
processRate: '0'
processRate: 0
},
pinglunForm: {},
pinglunList: [],
@ -488,6 +488,7 @@ export default {
i.updateProcess = false
i.editProcess = false
})
this.dialogFormVisible = false
if (type) {
this.form = Object.assign({}, i)
this.form.taskId = this.form.id
@ -505,6 +506,7 @@ export default {
i.updateProcess = false
i.editProcess = false
})
this.dialogFormVisible = false
i.editProcess = type
this.form = Object.assign({}, i)
this.form.taskId = this.form.id