[update 标准解读流程] 禁用表单不显示placeholder、批量操作后取消已勾选数据

This commit is contained in:
danshihao
2024-07-23 11:20:18 +08:00
parent 979d311bc8
commit f1797dfff8
6 changed files with 16 additions and 13 deletions
@@ -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()
},
/**