[update 标准解读流程] 禁用表单不显示placeholder、批量操作后取消已勾选数据
This commit is contained in:
+4
-1
@@ -46,12 +46,13 @@
|
||||
</template>
|
||||
<!--各涉及部门解读人-->
|
||||
<template slot="interpretPersonIds" slot-scope="{text, record, index}">
|
||||
<user-selection :placeholder="$t('pleaseSelect')+$t('workCenter.standardInterpretationProcess.departInterpretingPeople')"
|
||||
<user-selection :placeholder="disabled ? '' : ($t('pleaseSelect')+$t('workCenter.standardInterpretationProcess.departInterpretingPeople'))"
|
||||
v-model="record.interpretPersonIds"
|
||||
:disabled="disabled"
|
||||
filedName="interpretPersonIds"
|
||||
@nameChange="(value, fieldName) => tableUserSelectNameChange(value, fieldName, index)"
|
||||
type="checkbox"
|
||||
:showBtn="false"
|
||||
:nameStr="record.interpretPersonIds_dictText" />
|
||||
</template>
|
||||
<template v-slot:action="{text, record}">
|
||||
@@ -725,6 +726,7 @@ export default {
|
||||
item.interpretPersonIds = ids
|
||||
item.interpretPersonIds_dictText = names
|
||||
})
|
||||
this.onClearSelected()
|
||||
},
|
||||
/**
|
||||
* 编辑
|
||||
@@ -759,6 +761,7 @@ export default {
|
||||
Object.assign(item, form)
|
||||
})
|
||||
}
|
||||
this.onClearSelected()
|
||||
this.$forceUpdate()
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user