2 Commits

6 changed files with 94 additions and 87 deletions
Unified View
  1. +1
    -1
      src/lang/en/template/dl.js
  2. +1
    -1
      src/lang/zh/template/dl.js
  3. +23
    -22
      src/views/business/comps/template/comps/dl/DL016.vue
  4. +40
    -26
      src/views/business/comps/template/comps/dl/DL017.vue
  5. +17
    -21
      src/views/business/comps/template/comps/dl/DL018.vue
  6. +12
    -16
      src/views/business/comps/template/comps/dl/DL019.vue

+ 1
- 1
src/lang/en/template/dl.js View File

@ -128,7 +128,7 @@ export default {
qxbd: '前序表单', qxbd: '前序表单',
dlbz: '备注', dlbz: '备注',
czbz: '操作步骤', czbz: '操作步骤',
qcxjjyqk:'秋水仙碱加液情况',
xbczqk:'细胞操作情况',
bltj:'暴露条件', bltj:'暴露条件',
jlzb:'剂量组别', jlzb:'剂量组别',

+ 1
- 1
src/lang/zh/template/dl.js View File

@ -128,7 +128,7 @@ export default {
qxbd: '前序表单', qxbd: '前序表单',
dlbz: '备注', dlbz: '备注',
czbz: '操作步骤', czbz: '操作步骤',
qcxjjyqk:'秋水仙碱加液情况',
xbczqk:'细胞操作情况',
bltj:'暴露条件', bltj:'暴露条件',
jlzb:'剂量组别', jlzb:'剂量组别',

+ 23
- 22
src/views/business/comps/template/comps/dl/DL016.vue View File

@ -19,15 +19,9 @@
<CustomTable <CustomTable
@headerSelectChange="onHeaderSelectChange" @headerSelectChange="onHeaderSelectChange"
fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur" fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur"
@beforeSaveRecord = "beforeSaveRecord"
:showAddRow="false" :showOperation="fillType === 'actFill'"
@beforeSaveRecord = "beforeSaveRecord" @onRegentSubmit="(e) => onRegentSubmit"
:showAddRow="false" :showOperation="false"
ref="stepTableRef" :columns="stepColumns" :formData="formData"> ref="stepTableRef" :columns="stepColumns" :formData="formData">
<template slot="operation" slot-scope="{ row, rowIndex, columns }">
<TableOpertaion @startConfig="startConfig" @configComplete="configComplete"
@printTag="printTag" @subPackageSubmit="subPackageSubmit" :fillType="fillType"
:row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow">
</TableOpertaion>
</template>
</CustomTable> </CustomTable>
<LineLabel label="template.dl.dl016.czbz" /> <LineLabel label="template.dl.dl016.czbz" />
@ -142,6 +136,7 @@ export default {
label: 'template.dl.dl016.qxbd', label: 'template.dl.dl016.qxbd',
type: 'qxbd', type: 'qxbd',
fillType: 'actFill', fillType: 'actFill',
qxbdType:'DL017',
filledCodes:['bdmc','bdbh'], filledCodes:['bdmc','bdbh'],
}, },
bltj: { bltj: {
@ -161,35 +156,28 @@ export default {
return [ return [
{ {
label: "template.dl.dl016.jlzb", label: "template.dl.dl016.jlzb",
prop: "targetSolutionCode",
prop: "jlzb",
bodyType: "input", bodyType: "input",
bodySubType: "span",
bodySubKey: "subTargetSolutionCode",
bodyFillType: "preFill",
width: 140,
myCodeFields: ["targetSolutionCode", "subTargetSolutionCode"],//
maxVolumeField: "actSolutionVolume",//
maxVolumeFieldUnit: "actSolutionVolumeUnit",//
// maxVolumeField: "targetSolutionVolume,targetDiluentVolume",//
// maxVolumeFieldUnit: "targetSolutionVolumeUnit,targetDiluentVolumeUnit",//
bodyFillType: "actFill",
width: 180,
}, },
{ {
label: "template.dl.dl016.xybh", label: "template.dl.dl016.xybh",
prop: "startSolutionCode",
prop: "xybh",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true,
// bodyDisabled: true,
}, },
{ {
label: "template.dl.dl016.qsxjjrl", label: "template.dl.dl016.qsxjjrl",
prop: "startSolutionCode",
prop: "qsxjjrl",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true,
// bodyDisabled: true,
} }
] ]
}, },
@ -202,6 +190,19 @@ export default {
mounted() { mounted() {
}, },
methods: { methods: {
onRegentSubmit(e) {
const { selectInfo, key, rowIndex } = e
const { row } = selectInfo
if (key === 'yqbh') {
const params = {
yqmc: row.mc,
yqxh: row.xh,
xccsjzjdrq: row.jzrq
}
// this.$refs.yqsyTableRef.updateDataSourceByRowIndex(rowIndex, params)
}
},
//table header //table header
onHeaderSelectChange(data){ onHeaderSelectChange(data){
const {key, headerSelectFields,dataSource=[]} = data; const {key, headerSelectFields,dataSource=[]} = data;

+ 40
- 26
src/views/business/comps/template/comps/dl/DL017.vue View File

@ -15,19 +15,19 @@
ref="swypyjInfoRef" :formConfig="swypyjInfoFormConfig" :formData="formData" ref="swypyjInfoRef" :formConfig="swypyjInfoFormConfig" :formData="formData"
/> />
<LineLabel label="template.dl.dl017.qcxjjyqk" />
<LineLabel label="template.dl.dl017.xbczqk" />
<CustomTable <CustomTable
@headerSelectChange="onHeaderSelectChange" @headerSelectChange="onHeaderSelectChange"
fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur" fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur"
@beforeSaveRecord = "beforeSaveRecord"
:showAddRow="false" :showOperation="fillType === 'actFill'"
@beforeSaveRecord = "beforeSaveRecord" @onRegentSubmit="(e) => onRegentSubmit"
:showAddRow="false" :showOperation="false"
ref="stepTableRef" :columns="stepColumns" :formData="formData"> ref="stepTableRef" :columns="stepColumns" :formData="formData">
<template slot="operation" slot-scope="{ row, rowIndex, columns }">
<!-- <template slot="operation" slot-scope="{ row, rowIndex, columns }">
<TableOpertaion @startConfig="startConfig" @configComplete="configComplete" <TableOpertaion @startConfig="startConfig" @configComplete="configComplete"
@printTag="printTag" @subPackageSubmit="subPackageSubmit" :fillType="fillType" @printTag="printTag" @subPackageSubmit="subPackageSubmit" :fillType="fillType"
:row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow"> :row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow">
</TableOpertaion> </TableOpertaion>
</template>
</template> -->
</CustomTable> </CustomTable>
<LineLabel label="template.dl.dl017.czbz" /> <LineLabel label="template.dl.dl017.czbz" />
@ -143,6 +143,7 @@ export default {
label: 'template.dl.dl017.qxbd', label: 'template.dl.dl017.qxbd',
type: 'qxbd', type: 'qxbd',
fillType: 'actFill', fillType: 'actFill',
qxbdType:'DL017',
filledCodes:['bdmc','bdbh'], filledCodes:['bdmc','bdbh'],
}, },
bltj: { bltj: {
@ -162,7 +163,7 @@ export default {
return [ return [
{ {
label: "template.dl.dl017.jlzb", label: "template.dl.dl017.jlzb",
prop: "startSolutionCode",
prop: "jlzb",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -171,7 +172,7 @@ export default {
}, },
{ {
label: "template.dl.dl017.xybh", label: "template.dl.dl017.xybh",
prop: "startSolutionCode",
prop: "xybh",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -179,7 +180,7 @@ export default {
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.sjqszqk", label: "template.dl.dl017.sjqszqk",
prop: "startSolutionCode",
prop: "sjqszqk",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -187,7 +188,7 @@ export default {
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.sjqcdqk", label: "template.dl.dl017.sjqcdqk",
prop: "startSolutionCode",
prop: "sjqcdqk",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -195,7 +196,7 @@ export default {
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.saqqtqk", label: "template.dl.dl017.saqqtqk",
prop: "startSolutionCode",
prop: "saqqtqk",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -203,65 +204,65 @@ export default {
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.ddpyy", label: "template.dl.dl017.ddpyy",
prop: "startSolutionCode",
prop: "ddpyy",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.xd", label: "template.dl.dl017.xd",
prop: "startSolutionCode",
prop: "xd",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.sj", label: "template.dl.dl017.sj",
prop: "startSolutionCode",
prop: "sj",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.ds", label: "template.dl.dl017.ds",
prop: "startSolutionCode",
prop: "ds",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.dy1gd", label: "template.dl.dl017.dy1gd",
prop: "startSolutionCode",
prop: "dy1gd",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.dy2gd", label: "template.dl.dl017.dy2gd",
prop: "startSolutionCode",
prop: "dy2gd",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.dy3gd", label: "template.dl.dl017.dy3gd",
prop: "startSolutionCode",
prop: "dy3gd",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
},{ },{
label: "template.dl.dl017.dy4gd", label: "template.dl.dl017.dy4gd",
prop: "startSolutionCode",
prop: "dy4gd",
width: 180, width: 180,
bodyType: "input",
bodyType: "checkbox",
bodyFillType: "actFill", bodyFillType: "actFill",
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
@ -277,6 +278,19 @@ export default {
mounted() { mounted() {
}, },
methods: { methods: {
onRegentSubmit(e) {
const { selectInfo, key, rowIndex } = e
const { row } = selectInfo
if (key === 'yqbh') {
const params = {
yqmc: row.mc,
yqxh: row.xh,
xccsjzjdrq: row.jzrq
}
// this.$refs.yqsyTableRef.updateDataSourceByRowIndex(rowIndex, params)
}
},
//table header //table header
onHeaderSelectChange(data){ onHeaderSelectChange(data){
const {key, headerSelectFields,dataSource=[]} = data; const {key, headerSelectFields,dataSource=[]} = data;

+ 17
- 21
src/views/business/comps/template/comps/dl/DL018.vue View File

@ -20,14 +20,14 @@
@headerSelectChange="onHeaderSelectChange" @headerSelectChange="onHeaderSelectChange"
fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur" fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur"
@beforeSaveRecord = "beforeSaveRecord" @beforeSaveRecord = "beforeSaveRecord"
:showAddRow="false" :showOperation="fillType === 'actFill'"
:showAddRow="false" :showOperation="false"
ref="stepTableRef" :columns="stepColumns" :formData="formData"> ref="stepTableRef" :columns="stepColumns" :formData="formData">
<template slot="operation" slot-scope="{ row, rowIndex, columns }">
<!-- <template slot="operation" slot-scope="{ row, rowIndex, columns }">
<TableOpertaion @startConfig="startConfig" @configComplete="configComplete" <TableOpertaion @startConfig="startConfig" @configComplete="configComplete"
@printTag="printTag" @subPackageSubmit="subPackageSubmit" :fillType="fillType" @printTag="printTag" @subPackageSubmit="subPackageSubmit" :fillType="fillType"
:row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow"> :row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow">
</TableOpertaion> </TableOpertaion>
</template>
</template> -->
</CustomTable> </CustomTable>
<LineLabel label="template.dl.dl018.czbz" /> <LineLabel label="template.dl.dl018.czbz" />
@ -143,6 +143,7 @@ export default {
label: 'template.dl.dl018.qxbd', label: 'template.dl.dl018.qxbd',
type: 'qxbd', type: 'qxbd',
fillType: 'actFill', fillType: 'actFill',
qxbdType:'DL014',
filledCodes:['bdmc','bdbh'], filledCodes:['bdmc','bdbh'],
}, },
bltj: { bltj: {
@ -162,21 +163,16 @@ export default {
return [ return [
{ {
label: "template.dl.dl018.jlzb", label: "template.dl.dl018.jlzb",
prop: "targetSolutionCode",
prop: "jlzb",
width: 180,
bodyType: "input", bodyType: "input",
bodySubType: "span",
bodySubKey: "subTargetSolutionCode",
bodyFillType: "preFill",
width: 140,
myCodeFields: ["targetSolutionCode", "subTargetSolutionCode"],//
maxVolumeField: "actSolutionVolume",//
maxVolumeFieldUnit: "actSolutionVolumeUnit",//
// maxVolumeField: "targetSolutionVolume,targetDiluentVolume",//
// maxVolumeFieldUnit: "targetSolutionVolumeUnit,targetDiluentVolumeUnit",//
bodyFillType: "actFill",
bodyMaxlength: 10,
bodyDisabled: true,
}, },
{ {
label: "template.dl.dl018.xybh", label: "template.dl.dl018.xybh",
prop: "startSolutionCode",
prop: "xybh",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -185,7 +181,7 @@ export default {
}, },
{ {
label: "template.dl.dl018.rsks", label: "template.dl.dl018.rsks",
prop: "startSolutionCode",
prop: "rsks",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -194,7 +190,7 @@ export default {
}, },
{ {
label: "template.dl.dl018.rsjs", label: "template.dl.dl018.rsjs",
prop: "startSolutionCode",
prop: "rsjs",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -203,7 +199,7 @@ export default {
}, },
{ {
label: "template.dl.dl018.zs", label: "template.dl.dl018.zs",
prop: "startSolutionCode",
prop: "zs",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -212,7 +208,7 @@ export default {
}, },
{ {
label: "template.dl.dl018.ys", label: "template.dl.dl018.ys",
prop: "startSolutionCode",
prop: "ys",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -221,7 +217,7 @@ export default {
}, },
{ {
label: "template.dl.dl018.zy", label: "template.dl.dl018.zy",
prop: "startSolutionCode",
prop: "zy",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -230,7 +226,7 @@ export default {
}, },
{ {
label: "template.dl.dl018.yx", label: "template.dl.dl018.yx",
prop: "startSolutionCode",
prop: "yx",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -239,7 +235,7 @@ export default {
}, },
{ {
label: "template.dl.dl018.tj", label: "template.dl.dl018.tj",
prop: "startSolutionCode",
prop: "tj",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",

+ 12
- 16
src/views/business/comps/template/comps/dl/DL019.vue View File

@ -20,14 +20,14 @@
@headerSelectChange="onHeaderSelectChange" @headerSelectChange="onHeaderSelectChange"
fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur" fieldItemLabel="template.common.operationSteps" @blur="onHandleTableBlur"
@beforeSaveRecord = "beforeSaveRecord" @beforeSaveRecord = "beforeSaveRecord"
:showAddRow="false" :showOperation="fillType === 'actFill'"
:showAddRow="false" :showOperation="false"
ref="stepTableRef" :columns="stepColumns" :formData="formData"> ref="stepTableRef" :columns="stepColumns" :formData="formData">
<template slot="operation" slot-scope="{ row, rowIndex, columns }">
<!-- <template slot="operation" slot-scope="{ row, rowIndex, columns }">
<TableOpertaion @startConfig="startConfig" @configComplete="configComplete" <TableOpertaion @startConfig="startConfig" @configComplete="configComplete"
@printTag="printTag" @subPackageSubmit="subPackageSubmit" :fillType="fillType" @printTag="printTag" @subPackageSubmit="subPackageSubmit" :fillType="fillType"
:row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow"> :row="row" :rowIndex="rowIndex" :columns="columns" @deleteRow="deleteRow">
</TableOpertaion> </TableOpertaion>
</template>
</template> -->
</CustomTable> </CustomTable>
<LineLabel label="template.dl.dl019.czbz" /> <LineLabel label="template.dl.dl019.czbz" />
@ -143,6 +143,7 @@ export default {
label: 'template.dl.dl019.qxbd', label: 'template.dl.dl019.qxbd',
type: 'qxbd', type: 'qxbd',
fillType: 'actFill', fillType: 'actFill',
qxbdType:'DL014',
filledCodes:['bdmc','bdbh'], filledCodes:['bdmc','bdbh'],
}, },
bltj: { bltj: {
@ -162,21 +163,16 @@ export default {
return [ return [
{ {
label: "template.dl.dl019.jlzb", label: "template.dl.dl019.jlzb",
prop: "targetSolutionCode",
prop: "jlzb",
width: 180,
bodyType: "input", bodyType: "input",
bodySubType: "span",
bodySubKey: "subTargetSolutionCode",
bodyFillType: "preFill",
width: 140,
myCodeFields: ["targetSolutionCode", "subTargetSolutionCode"],//
maxVolumeField: "actSolutionVolume",//
maxVolumeFieldUnit: "actSolutionVolumeUnit",//
// maxVolumeField: "targetSolutionVolume,targetDiluentVolume",//
// maxVolumeFieldUnit: "targetSolutionVolumeUnit,targetDiluentVolumeUnit",//
bodyFillType: "actFill",
bodyMaxlength: 10,
bodyDisabled: true,
}, },
{ {
label: "template.dl.dl019.xybh", label: "template.dl.dl019.xybh",
prop: "startSolutionCode",
prop: "xybh",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -185,7 +181,7 @@ export default {
}, },
{ {
label: "template.dl.dl019.bplsh1", label: "template.dl.dl019.bplsh1",
prop: "startSolutionCode",
prop: "bplsh1",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",
@ -194,7 +190,7 @@ export default {
}, },
{ {
label: "template.dl.dl019.bplsh2", label: "template.dl.dl019.bplsh2",
prop: "startSolutionCode",
prop: "bplsh2",
width: 180, width: 180,
bodyType: "input", bodyType: "input",
bodyFillType: "actFill", bodyFillType: "actFill",

Loading…
Cancel
Save