|
|
|
@ -8,33 +8,30 @@ |
|
|
|
<div class="content"> |
|
|
|
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" |
|
|
|
ref="baseInfoRef" :formConfig="baseInfoFormConfig" :formData="formData" /> |
|
|
|
<TableList label="template.common.instrumentInfo" :columns="yqColumns" :dataSource="yqResource" /> |
|
|
|
<!-- 仪器使用信息 --> |
|
|
|
<TableList label="template.common.reagentInfo" :columns="sysjColumns" :dataSource="resource" /> |
|
|
|
|
|
|
|
<LineLabel label="template.dl.dl021.gcqk" /> |
|
|
|
<!-- 观察情况 --> |
|
|
|
<LineLabel label="template.dl.dl024.xbpyxx" /> |
|
|
|
<!-- 操作记录 --> |
|
|
|
<div class="template-form-item"> |
|
|
|
<BaseInfoFormPackage ref="swypyjInfoRef" fieldItemLabel="template.common.operationSteps" |
|
|
|
@onRegentSubmit="onRegentSubmit" |
|
|
|
:formConfig="stepFormConfig" @blur="onHandleBlur" |
|
|
|
:formData="formData" /> |
|
|
|
<CustomTable |
|
|
|
<BaseInfoFormPackage ref="swypyjInfoRef" fieldItemLabel="template.common.operationSteps" |
|
|
|
:formConfig="stepFormConfig" @blur="onHandleBlur" |
|
|
|
:formData="formData" /> |
|
|
|
<CustomTable |
|
|
|
:ref="`tableRef`" |
|
|
|
:columns="tableColumns" |
|
|
|
:formData="formData" |
|
|
|
operationWidth = "80px" |
|
|
|
:prefixKey = "`table`" |
|
|
|
fieldItemLabel = "template.dl.dl021.gcqk" |
|
|
|
:showAddRow="fillType === 'actFill'" |
|
|
|
:showOperation="fillType === 'actFill'" |
|
|
|
fieldItemLabel = "template.dl.dl024.gcqk" |
|
|
|
:showAddRow="false" |
|
|
|
:showOperation="false" |
|
|
|
> |
|
|
|
<template slot="operation" slot-scope="{ row, rowIndex, columns }"> |
|
|
|
<TableOpertaionDelete :row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow" ></TableOpertaionDelete> |
|
|
|
</template> |
|
|
|
</CustomTable> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
<BaseInfoFormPackage fieldItemLabel="template.common.remark" label="template.common.remark" |
|
|
|
ref="remarkRef" :formConfig="remarkConig" :formData="formData" /> |
|
|
|
</div> |
|
|
|
@ -57,7 +54,7 @@ import { debounce } from 'lodash-es' |
|
|
|
import TableOpertaionDelete from "@/components/Template/operation/TableOpertaionDelete.vue" |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "DL024", |
|
|
|
name: "dl024", |
|
|
|
dicts: [ |
|
|
|
'business_dl_xbmc' |
|
|
|
], |
|
|
|
@ -106,10 +103,23 @@ export default { |
|
|
|
disabled: true, |
|
|
|
}, |
|
|
|
} |
|
|
|
},{ |
|
|
|
type: "cellItem", |
|
|
|
label: 'template.dl.dl024.sydd', |
|
|
|
config: { |
|
|
|
sydd: { |
|
|
|
label: 'template.dl.dl024.sydd', |
|
|
|
type: 'select', |
|
|
|
fillType: 'actFill', |
|
|
|
options: this.getDictOptions('business_dl_xbmc'), |
|
|
|
otherCode: 'xbmcOther', |
|
|
|
showOtherLabel:false |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: "cellItem", |
|
|
|
label: 'template.dl.dl021.czsj', |
|
|
|
label: 'template.dl.dl024.czsj', |
|
|
|
config: { |
|
|
|
startDate: { |
|
|
|
label: 'template.common.startTime', |
|
|
|
@ -124,55 +134,50 @@ export default { |
|
|
|
] |
|
|
|
}, |
|
|
|
|
|
|
|
// 观察情况 |
|
|
|
tableColumns() { |
|
|
|
return [{ |
|
|
|
label: 'template.dl.dl021.bpbh', |
|
|
|
prop: 'bpbh', |
|
|
|
bodyType: 'input', |
|
|
|
bodyFillType: 'actFill', |
|
|
|
width: 100, |
|
|
|
bodyMaxlength: 50, |
|
|
|
},{ |
|
|
|
label: 'template.dl.dl021.gcxps', |
|
|
|
prop: 'gcxps', |
|
|
|
bodyType: 'input', |
|
|
|
bodyFillType: 'actFill', |
|
|
|
width: 100, |
|
|
|
bodyMaxlength: 50, |
|
|
|
},{ |
|
|
|
label: 'template.dl.dl021.zqxxbs', |
|
|
|
prop: 'zqxxbs', |
|
|
|
bodyType: 'input', |
|
|
|
bodyFillType: 'actFill', |
|
|
|
width: 80, |
|
|
|
bodyMaxlength: 50, |
|
|
|
}] |
|
|
|
}, |
|
|
|
// 观察情况 |
|
|
|
stepFormConfig() { |
|
|
|
return [ |
|
|
|
// 细胞培养信息 |
|
|
|
stepFormConfig(){ |
|
|
|
return [ |
|
|
|
{ |
|
|
|
type: "step", |
|
|
|
type: "cellItem", |
|
|
|
config: { |
|
|
|
xbmc: { |
|
|
|
label: 'template.dl.dl021.xbmc', |
|
|
|
type: 'select', |
|
|
|
fillType: 'actFill', |
|
|
|
options: this.getDictOptions('business_dl_xbmc'), |
|
|
|
otherCode: 'xbmcOther', |
|
|
|
showOtherLabel:false |
|
|
|
}, |
|
|
|
xwj: { |
|
|
|
qxbd: { |
|
|
|
// span:1, |
|
|
|
label: 'template.dl.dl021.xwj', |
|
|
|
label: 'template.dl.dl024.qxbd', |
|
|
|
type: 'qxbd', |
|
|
|
fillType: 'actFill', |
|
|
|
filledCodes:['bdmc','bdbh'], |
|
|
|
}, |
|
|
|
pykssj:{ |
|
|
|
label: 'template.dl.dl024.pykssj', |
|
|
|
type: 'input', |
|
|
|
fillType: 'actFill', |
|
|
|
subType: 'button', |
|
|
|
subKey: 'pyjssj', |
|
|
|
buttonName: 'template.dl.dl024.jsButton', |
|
|
|
}, |
|
|
|
pyjssj: { |
|
|
|
label: 'template.dl.dl024.pyjssj', |
|
|
|
type: 'input', |
|
|
|
fillType: 'actFill', |
|
|
|
subType: 'button', |
|
|
|
subKey: 'pyjssj', |
|
|
|
buttonName: 'template.dl.dl024.jsButton', |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
tableColumns() { |
|
|
|
return [ |
|
|
|
{ |
|
|
|
label: 'template.dl.dl024.xbbh', |
|
|
|
prop: 'xbbh', |
|
|
|
bodyType: 'input', |
|
|
|
bodyFillType: 'actFill', |
|
|
|
width: 100, |
|
|
|
bodyMaxlength: 50, |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
@ -183,11 +188,11 @@ export default { |
|
|
|
mounted() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// 选择显微镜预留 |
|
|
|
// 选择仪器编号预留 |
|
|
|
onRegentSubmit(e) { |
|
|
|
const { selectInfo, key, rowIndex } = e |
|
|
|
const { row } = selectInfo |
|
|
|
console.log('选择显微镜预留===',row) |
|
|
|
console.log('选择仪器编号预留===',row) |
|
|
|
// if (key === 'yqbh' && this.$refs.yqsyTableRef) { |
|
|
|
// const params = { |
|
|
|
// yqmc: row.mc, |
|
|
|
|