[update 标准解读流程] 翻译

This commit is contained in:
danshihao
2024-08-07 19:39:56 +08:00
parent 49afae9b5b
commit c493db6d70
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ export default {
// 返回选中字典对象 // 返回选中字典对象
if (this.$listeners.dictChange) { if (this.$listeners.dictChange) {
const dictItem = this.dictOptions.find(item => item.value === val) const dictItem = this.dictOptions.find(item => item.value === val)
this.$emit('dictChange', JSON.parse(JSON.stringify(dictItem))) this.$emit('dictChange', JSON.parse(JSON.stringify(dictItem || null)))
} }
this.$emit('change', val) this.$emit('change', val)
// 解决数据规则,选择自定义SQL 规则值无法输入空格 // 解决数据规则,选择自定义SQL 规则值无法输入空格
@@ -50,7 +50,7 @@
filedName="partName" filedName="partName"
type="checkbox" type="checkbox"
options-href="/laws/standard/partName/" options-href="/laws/standard/partName/"
:nameStr="model.partName" :nameStr="model.partName_dictText"
:disabled="disabled" :disabled="disabled"
@nameChange="nameChange" @nameChange="nameChange"
v-decorator="['partName']" /> v-decorator="['partName']" />
@@ -303,6 +303,7 @@ export default {
this.edit() this.edit()
}, },
edit (record) { edit (record) {
debugger
this.initProfessionalFieldTreeList() this.initProfessionalFieldTreeList()
this.form.resetFields() this.form.resetFields()
this.model = Object.assign({}, record) this.model = Object.assign({}, record)