|
|
@ -48,8 +48,18 @@ |
|
|
</template> |
|
|
</template> |
|
|
</CustomTable> |
|
|
</CustomTable> |
|
|
|
|
|
|
|
|
<!-- 结果信息 - 预留模块 --> |
|
|
|
|
|
|
|
|
<!-- 结果信息 --> |
|
|
<LineLabel label="template.dl.dl009.jgxx" /> |
|
|
<LineLabel label="template.dl.dl009.jgxx" /> |
|
|
|
|
|
<BaseInfoFormPackage |
|
|
|
|
|
:ref="refConf.jgxxQxbd" |
|
|
|
|
|
:formConfig="jgxxQxbdFormConfig" |
|
|
|
|
|
:formData="formData" |
|
|
|
|
|
/> |
|
|
|
|
|
<div class="jgxx-description"> |
|
|
|
|
|
<p>{{ $t('template.dl.dl009.czqkDesc') }}</p> |
|
|
|
|
|
<p>{{ $t('template.dl.dl009.bjjtDesc') }}</p> |
|
|
|
|
|
<p>{{ $t('template.dl.dl009.jlsDesc') }}</p> |
|
|
|
|
|
</div> |
|
|
<CustomTable |
|
|
<CustomTable |
|
|
:columns="jgxxColumns" |
|
|
:columns="jgxxColumns" |
|
|
:ref="refConf.jgxx" |
|
|
:ref="refConf.jgxx" |
|
|
@ -88,6 +98,7 @@ const refConf = { |
|
|
cltj: 'cltjRef', |
|
|
cltj: 'cltjRef', |
|
|
czsj: 'czsjRef', |
|
|
czsj: 'czsjRef', |
|
|
yqsy: 'yqsyTableRef', |
|
|
yqsy: 'yqsyTableRef', |
|
|
|
|
|
jgxxQxbd: 'jgxxQxbdRef', |
|
|
jgxx: 'jgxxTableRef', |
|
|
jgxx: 'jgxxTableRef', |
|
|
remark: 'remarkRef' |
|
|
remark: 'remarkRef' |
|
|
} |
|
|
} |
|
|
@ -237,9 +248,58 @@ export default { |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
// 结果信息列表 - 预留模块,暂不实现 |
|
|
|
|
|
|
|
|
// 结果信息前序表单配置 |
|
|
|
|
|
jgxxQxbdFormConfig() { |
|
|
|
|
|
return [ |
|
|
|
|
|
{ |
|
|
|
|
|
type: 'cellItem', |
|
|
|
|
|
config: { |
|
|
|
|
|
jgxxQxbd: { |
|
|
|
|
|
label: 'template.dl.dl009.qxbd', |
|
|
|
|
|
type: 'qxbd', |
|
|
|
|
|
fillType: 'actFill', |
|
|
|
|
|
filledCodes: ['bdmc', 'bdbh'] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
// 结果信息列表 |
|
|
jgxxColumns() { |
|
|
jgxxColumns() { |
|
|
return [] |
|
|
|
|
|
|
|
|
return [ |
|
|
|
|
|
{ |
|
|
|
|
|
label: 'template.dl.dl009.jlzb', |
|
|
|
|
|
prop: 'jlzb', |
|
|
|
|
|
bodyType: 'input', |
|
|
|
|
|
bodyFillType: 'actFill' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: 'template.dl.dl009.jzbh', |
|
|
|
|
|
prop: 'jzbh', |
|
|
|
|
|
bodyType: 'input', |
|
|
|
|
|
bodyFillType: 'actFill' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: 'template.dl.dl009.czqk', |
|
|
|
|
|
prop: 'czqk', |
|
|
|
|
|
bodyType: 'select', |
|
|
|
|
|
bodyFillType: 'actFill', |
|
|
|
|
|
bodyOptions: this.getDictOptions('business_czqk') |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: 'template.dl.dl009.bjjt', |
|
|
|
|
|
prop: 'bjjt', |
|
|
|
|
|
bodyType: 'select', |
|
|
|
|
|
bodyFillType: 'actFill', |
|
|
|
|
|
bodyOptions: this.getDictOptions('business_bjjt') |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: 'template.dl.dl009.jls', |
|
|
|
|
|
prop: 'jls', |
|
|
|
|
|
bodyType: 'input', |
|
|
|
|
|
bodyFillType: 'actFill' |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
@ -266,10 +326,17 @@ export default { |
|
|
return await this.validFormFields(refNames) |
|
|
return await this.validFormFields(refNames) |
|
|
}, |
|
|
}, |
|
|
getResource() { |
|
|
getResource() { |
|
|
const stepResource = this.$refs.yqsyTableRef.getStepResource() |
|
|
|
|
|
|
|
|
const yqsyStepResource = this.$refs.yqsyTableRef.getStepResource() |
|
|
|
|
|
const jgxxStepResource = this.$refs.jgxxTableRef.getStepResource() |
|
|
// 使用的试剂、仪器 |
|
|
// 使用的试剂、仪器 |
|
|
this.resourceTmp = stepResource.sjResource || [] |
|
|
|
|
|
this.yqResourceTmp = stepResource.yqResource || [] |
|
|
|
|
|
|
|
|
this.resourceTmp = [ |
|
|
|
|
|
...(yqsyStepResource.sjResource || []), |
|
|
|
|
|
...(jgxxStepResource.sjResource || []) |
|
|
|
|
|
] |
|
|
|
|
|
this.yqResourceTmp = [ |
|
|
|
|
|
...(yqsyStepResource.yqResource || []), |
|
|
|
|
|
...(jgxxStepResource.yqResource || []) |
|
|
|
|
|
] |
|
|
return this.resourceTmp |
|
|
return this.resourceTmp |
|
|
}, |
|
|
}, |
|
|
onRegentSubmit(e) { |
|
|
onRegentSubmit(e) { |
|
|
@ -294,6 +361,20 @@ export default { |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<style rel="stylesheet/scss" lang="scss"> |
|
|
<style rel="stylesheet/scss" lang="scss"> |
|
|
|
|
|
.jgxx-description { |
|
|
|
|
|
margin: 15px 0; |
|
|
|
|
|
padding: 12px 15px; |
|
|
|
|
|
background-color: #f5f7fa; |
|
|
|
|
|
border-left: 4px solid #409eff; |
|
|
|
|
|
font-size: 13px; |
|
|
|
|
|
line-height: 1.8; |
|
|
|
|
|
color: #606266; |
|
|
|
|
|
|
|
|
|
|
|
p { |
|
|
|
|
|
margin: 5px 0; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.mt-20 { |
|
|
.mt-20 { |
|
|
margin-top: 20px; |
|
|
margin-top: 20px; |
|
|
} |
|
|
} |
|
|
|