Browse Source

feat: [模板管理] 毒理模板

ouqian
memorylkf 1 month ago
parent
commit
731b79a977
2 changed files with 36 additions and 4 deletions
  1. +8
    -0
      src/views/business/comps/template/comps/dl/DL021.vue
  2. +28
    -4
      src/views/business/comps/template/comps/dl/DL022.vue

+ 8
- 0
src/views/business/comps/template/comps/dl/DL021.vue View File

@ -194,6 +194,14 @@ export default {
this.$refs.swypyjInfoRef.updateFormData('wxjjzrq', row.jzrq)
}
//
const params = {
type: "fieldChanged",
newRecord: null,
resourceList: null,
}
EventBus.$emit('onModifyRecord', params);

+ 28
- 4
src/views/business/comps/template/comps/dl/DL022.vue View File

@ -15,7 +15,7 @@
<div class="template-form-item">
<BaseInfoFormPackage ref="swypyjInfoRef" fieldItemLabel="template.common.operationSteps"
:formConfig="stepFormConfig" @blur="onHandleBlur"
:formData="formData" />
:formData="formData" @onRegentSubmit="onRegentSubmit" />
<div style="color:#999;font-size:14px;">
畸变类型以代号填写断片(b)裂隙(g)互换及射体(t)环状染色体(r)多倍体(p)双着丝点染色体(d)内复制(e)染色体碎化(z)缺失(l)粘着(s)微小体(m)
</div>
@ -282,10 +282,17 @@ export default {
return content;
},
getResource() {
//使
// stepRef
let content = this.getFilledFormData();
let tmpYq = []
tmpYq.push({
mc: content.wxjmc,
xh: content.wxjxh,
bh: content.xwj,
jzrq: content.wxjjzrq,
})
this.resourceTmp = []
this.yqResourceTmp = []
this.yqResourceTmp = tmpYq
return this.resourceTmp;
},
//
@ -300,6 +307,23 @@ export default {
tableRef.deleteRow(rowIndex);
}
},
//
onRegentSubmit(e) {
const { selectInfo, key, rowIndex } = e
const { row } = selectInfo
if (key == 'xwj') {
this.$refs.swypyjInfoRef.updateFormData('wxjmc', row.mc)
this.$refs.swypyjInfoRef.updateFormData('wxjxh', row.xh)
this.$refs.swypyjInfoRef.updateFormData('wxjjzrq', row.jzrq)
}
//
const params = {
type: "fieldChanged",
newRecord: null,
resourceList: null,
}
EventBus.$emit('onModifyRecord', params);
},
}
};
</script>

Loading…
Cancel
Save