|
|
@ -19,19 +19,19 @@ |
|
|
<BaseInfoFormPackage fieldItemLabel="template.common.operationSteps" ref="stepFormPackageRef" :formConfig="stepFormConfig" |
|
|
<BaseInfoFormPackage fieldItemLabel="template.common.operationSteps" ref="stepFormPackageRef" :formConfig="stepFormConfig" |
|
|
:formData="formData" @clickable="handleJzClickable" /> |
|
|
:formData="formData" @clickable="handleJzClickable" /> |
|
|
|
|
|
|
|
|
<CustomTable |
|
|
|
|
|
@blur="onHandleTableBlur" |
|
|
|
|
|
:ref="`tableRef`" |
|
|
|
|
|
:columns="tableStepColumns" |
|
|
|
|
|
|
|
|
<CustomTable |
|
|
|
|
|
@blur="onHandleTableBlur" |
|
|
|
|
|
:ref="`tableRef`" |
|
|
|
|
|
:columns="tableStepColumns" |
|
|
:formData="formData" |
|
|
:formData="formData" |
|
|
:prefixKey = "`table`" |
|
|
:prefixKey = "`table`" |
|
|
@clickable="handleClickable" |
|
|
@clickable="handleClickable" |
|
|
fieldItemLabel = "template.common.operationSteps" |
|
|
fieldItemLabel = "template.common.operationSteps" |
|
|
> |
|
|
> |
|
|
<template slot="operation" slot-scope="{ row, rowIndex, columns }"> |
|
|
<template slot="operation" slot-scope="{ row, rowIndex, columns }"> |
|
|
<TableOpertaion |
|
|
|
|
|
:fillType="fillType" |
|
|
|
|
|
:row="row" |
|
|
|
|
|
|
|
|
<TableOpertaion |
|
|
|
|
|
:fillType="fillType" |
|
|
|
|
|
:row="row" |
|
|
:rowIndex="rowIndex" |
|
|
:rowIndex="rowIndex" |
|
|
:columns="columns" |
|
|
:columns="columns" |
|
|
@deleteRow="(rowIndex) => deleteRow(rowIndex)" |
|
|
@deleteRow="(rowIndex) => deleteRow(rowIndex)" |
|
|
@ -51,7 +51,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<!-- <button @click = "onSave">保存</button> --> |
|
|
<!-- <button @click = "onSave">保存</button> --> |
|
|
|
|
|
|
|
|
<SelectReagentDialog |
|
|
|
|
|
|
|
|
<SelectReagentDialog |
|
|
@submit="onSelectReagentSubmit" |
|
|
@submit="onSelectReagentSubmit" |
|
|
ref="selectReagentDialogRef" > |
|
|
ref="selectReagentDialogRef" > |
|
|
</SelectReagentDialog> |
|
|
</SelectReagentDialog> |
|
|
@ -118,7 +118,7 @@ export default { |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
baseInfoFormConfig() { |
|
|
baseInfoFormConfig() { |
|
|
return [ |
|
|
return [ |
|
|
{ |
|
|
{ |
|
|
@ -244,7 +244,7 @@ export default { |
|
|
{ label: 'template.common.reagentCode', prop: "bh" },//编号 |
|
|
{ label: 'template.common.reagentCode', prop: "bh" },//编号 |
|
|
{ label: 'template.common.reagentNo', prop: "ph" },//批号 试剂,供试品才有 |
|
|
{ label: 'template.common.reagentNo', prop: "ph" },//批号 试剂,供试品才有 |
|
|
{ label: 'template.common.concentration', prop: "nd" },//浓度 |
|
|
{ label: 'template.common.concentration', prop: "nd" },//浓度 |
|
|
{ label: 'template.common.source', prop: "source" },//来源 |
|
|
|
|
|
|
|
|
{ label: 'template.common.source', prop: "source" },//来源 |
|
|
{ label: 'template.common.reagentExpireDate', prop: "sxrq" },//失效日期 |
|
|
{ label: 'template.common.reagentExpireDate', prop: "sxrq" },//失效日期 |
|
|
], |
|
|
], |
|
|
yqsColumns: [ |
|
|
yqsColumns: [ |
|
|
@ -313,7 +313,7 @@ export default { |
|
|
bhCode: result.data[i], |
|
|
bhCode: result.data[i], |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const params = { |
|
|
const params = { |
|
|
type: "fieldChanged", |
|
|
type: "fieldChanged", |
|
|
newRecord: null, |
|
|
newRecord: null, |
|
|
@ -358,8 +358,8 @@ export default { |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//使用的试剂 |
|
|
//使用的试剂 |
|
|
this.resourceTmp=tmpResource |
|
|
this.resourceTmp=tmpResource |
|
|
return content; |
|
|
return content; |
|
|
@ -391,6 +391,7 @@ export default { |
|
|
let postData = { |
|
|
let postData = { |
|
|
studyId:this.formData.studyId, |
|
|
studyId:this.formData.studyId, |
|
|
studyFormId:this.formData.id, |
|
|
studyFormId:this.formData.id, |
|
|
|
|
|
deptId: this.formData.studySubjectId, |
|
|
bh:val.fzsj.mybh, |
|
|
bh:val.fzsj.mybh, |
|
|
nd:val.rowData.hhwznd, |
|
|
nd:val.rowData.hhwznd, |
|
|
nddw:val.headerSelectFields.hhwzndUnit, |
|
|
nddw:val.headerSelectFields.hhwzndUnit, |
|
|
@ -408,6 +409,9 @@ export default { |
|
|
console.log("开始配置数据:"+JSON.stringify(val)) |
|
|
console.log("开始配置数据:"+JSON.stringify(val)) |
|
|
let postData = { |
|
|
let postData = { |
|
|
bh:val.rowData.bh+val.rowData.bhCode, |
|
|
bh:val.rowData.bh+val.rowData.bhCode, |
|
|
|
|
|
studyId:this.formData.studyId, |
|
|
|
|
|
studyFormId:this.formData.id, |
|
|
|
|
|
deptId: this.formData.studySubjectId, |
|
|
} |
|
|
} |
|
|
console.log("开始配置提交数据:"+JSON.stringify(postData)) |
|
|
console.log("开始配置提交数据:"+JSON.stringify(postData)) |
|
|
sj_startConfiguration(postData).then(() => { |
|
|
sj_startConfiguration(postData).then(() => { |
|
|
@ -420,6 +424,9 @@ export default { |
|
|
console.log("完成配置数据:"+JSON.stringify(val)) |
|
|
console.log("完成配置数据:"+JSON.stringify(val)) |
|
|
let postData = { |
|
|
let postData = { |
|
|
mc:null, |
|
|
mc:null, |
|
|
|
|
|
studyId:this.formData.studyId, |
|
|
|
|
|
studyFormId:this.formData.id, |
|
|
|
|
|
deptId: this.formData.studySubjectId, |
|
|
bh:val.rowData.bh+val.rowData.bhCode, |
|
|
bh:val.rowData.bh+val.rowData.bhCode, |
|
|
nd:val.rowData.hhwznd, |
|
|
nd:val.rowData.hhwznd, |
|
|
nddw:val.headerSelectFields.hhwzndUnit, |
|
|
nddw:val.headerSelectFields.hhwzndUnit, |
|
|
@ -433,7 +440,7 @@ export default { |
|
|
.finally(() => { |
|
|
.finally(() => { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|