feat: There is no way the, 跳转选人组件不可再次删除问题

This commit is contained in:
super_liu
2022-03-25 20:37:00 +08:00
parent d1a65a1c2c
commit b79ac60bb7
2 changed files with 6 additions and 5 deletions
+3
View File
@@ -248,6 +248,9 @@
this.visible = false
},
saveUserInfo () {
if(this.roleList.length === 0){
this.roleList.push({id:"",name:""});
}
if (this.checkBox) {
this.$emit('checkedRole', this.roleList)
this.nodeList2 = []
@@ -111,7 +111,7 @@
style="margin-left: 0;margin-bottom:0;"
:rules="formRules.bussFsSubUser1Name"
>
<el-input v-model="scope.row.bussFsSubUser1Name" placeholder="请选择对接人" :title="scope.row.bussFsSubUser1Name" @click.native="choiceZRRS(scope.row.bussFsSubUser1, 1, scope.$index)" />
<el-input v-model="scope.row.bussFsSubUser1Name" placeholder="请选择对接人" :title="scope.row.bussFsSubUser1Name" @click.native="choiceZRRS(scope.row, 1, scope.$index)" />
</el-form-item>
</template>
</el-table-column>
@@ -817,10 +817,8 @@ export default {
this.nodeList2 = []
this.zrIndex = index
this.zrType = type
if(type === 'bussFsSubUser1'){
if ( row.bussFsSubUser1.length > 0) {
this.nodeList2 = row.bussFsSubUser1.split(',')
}
if ( row.bussFsSubUser1.length > 0) {
this.nodeList2 = row.bussFsSubUser1.split(',')
}
this.modalShowRoleFlag = true
} else if (type === 2) {