Browse Source

fix:[模板管理]细胞细菌

ouqian
15881625488@163.com 1 month ago
parent
commit
27097bbeb6
3 changed files with 13 additions and 0 deletions
  1. +3
    -0
      src/views/business/comps/template/TemplateTable.vue
  2. +6
    -0
      src/views/business/comps/template/mixins/templateMixin.js
  3. +4
    -0
      src/views/business/study/comp/tbbd/Bj.vue

+ 3
- 0
src/views/business/comps/template/TemplateTable.vue View File

@ -479,6 +479,9 @@ export default {
getJcbList() {
return this.$refs.templateComponent.getJcbList();
},
getXbxj() {
return this.$refs.templateComponent.getXbxj();
},
getFilledFormData() {
return this.$refs.templateComponent.getFilledFormData();
},

+ 6
- 0
src/views/business/comps/template/mixins/templateMixin.js View File

@ -176,10 +176,13 @@ export default {
yqResource: [], //仪器信息
jcbList: [], //检测板信息
xbxj: [], //细胞细菌信息
resourceTmp: [],//试验试剂信息提交用
yqResourceTmp: [], //仪器信息提交用
jcbListTmp: [], //检测板信息提交用
xbxjTmp:[],//细胞细菌信息提交用
sjColumns: [
{ label: 'template.common.reagentName', prop: "mc" },//名称
{ label: 'template.common.reagentCode', prop: "bh" },//编号
@ -336,6 +339,9 @@ export default {
getJcbList() {
return this.jcbListTmp
},
getXbxj() {
return this.xbxjTmp
},
//根据ref数组获取直接formData
getFilledFormDataByRefs(refArr = []) {
let result = {}

+ 4
- 0
src/views/business/study/comp/tbbd/Bj.vue View File

@ -428,6 +428,7 @@ export default {
resource: '',
yqResource: '',
jcbList: '',
xbxj:'',
qmrmm: '',
sfcz: false,
czfs: '',
@ -457,6 +458,7 @@ export default {
resource: [],
yqResource: [],
jcbList: [],
xbxj: [],
bdmbTitle: this.$t('page.business.form.bdmb'),
rulesApprove: {
qmrmm: [{
@ -686,6 +688,7 @@ export default {
that.resource = that.$refs.templateTable.getResource()
that.yqResource = that.$refs.templateTable.getYqResource()
that.jcbList = that.$refs.templateTable.getJcbList()
that.xbxj = that.$refs.templateTable.getXbxj()
that.openApprove = true
}
},
@ -907,6 +910,7 @@ export default {
that.formApprove.resource = JSON.stringify(that.resource)
that.formApprove.yqResource = JSON.stringify(that.yqResource)
that.formApprove.jcbList = JSON.stringify(that.jcbList)
that.formApprove.xbxj = JSON.stringify(that.xbxj)
if (that.czlist.length > 0) {
that.formApprove.czlist = JSON.stringify(that.czlist)
}

Loading…
Cancel
Save