|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="Parent">
|
|
|
- <el-dialog :visible.sync="modalShow" width="60%" top="8vh" :close-on-click-modal="false" @close="modalClose">
|
|
|
+ <el-dialog ref="modalShow" :visible.sync="modalShow" width="60%" top="8vh" :close-on-click-modal="false" @close="modalClose">
|
|
|
<el-form ref="formInline" label-position="left" :model="formInline" :rules="rules" label-width="90px">
|
|
|
<el-row style="margin: 0 4% 2% 4%;">
|
|
|
<el-col :span="24">
|
|
@@ -252,6 +252,9 @@ export default {
|
|
|
if (e === 1) {
|
|
|
this.titleName = '新建缺陷'
|
|
|
if (ele !== undefined) {
|
|
|
+ this.$nextTick(function() {
|
|
|
+ this.$refs.modalShow.resetFields()
|
|
|
+ })
|
|
|
this.$set(this.formInline, 'taskId', ele.id)
|
|
|
this.$set(this.formInline, 'cliType', [ele.bizId, ele.type, ele.clientType])
|
|
|
}
|