Browse Source

fix: [模板管理]

12、LBA/ADA:版本号都改为预制
13、配体结合分析组织匀浆表:预设/实际匀浆溶液补加入量改为预设/实际匀浆溶液加入量
14、Ames试验(掺入法)平皿编号/操作记录表:去掉0.2mol
15、骨髓收集记录表:去掉解剖日期
16、细胞复苏记录表/细胞制备记录表:这2个表培养条件中的0.5%改成1%
17、生物样品分析样本处理表:增加处理后信息
luojie
memorylkf 2 weeks ago
parent
commit
5d3061cb9b
15 changed files with 114 additions and 44 deletions
  1. +1
    -1
      src/lang/en.js
  2. +1
    -1
      src/lang/en/template/dl.js
  3. +2
    -2
      src/lang/en/template/lba.js
  4. +4
    -1
      src/lang/en/template/sp.js
  5. +1
    -1
      src/lang/zh.js
  6. +1
    -1
      src/lang/zh/template/dl.js
  7. +2
    -2
      src/lang/zh/template/lba.js
  8. +4
    -1
      src/lang/zh/template/sp.js
  9. +0
    -16
      src/views/business/comps/template/comps/dl/DL010.vue
  10. +1
    -1
      src/views/business/comps/template/comps/dl/DL011.vue
  11. +1
    -1
      src/views/business/comps/template/comps/dl/DL012.vue
  12. +13
    -0
      src/views/business/comps/template/comps/lba/LBA008.vue
  13. +19
    -5
      src/views/business/comps/template/comps/sp/SP007.vue
  14. +37
    -11
      src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
  15. +27
    -0
      src/views/business/comps/template/formConfig/sp/SP007.js

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

@ -83,7 +83,7 @@ import systemLog from './en/system/systemLog'
import storageLocation from './en/system/storageLocation'
export default {
system: {
name: 'WestChina-Frontier PharmaTech ELN',
name: 'WCFP Electronic Laboratory Notebook',
title: 'HXHQ',
tip: 'Prompt',
logOut: 'Are You Sure To Log Out And Exit The System?',

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

@ -61,7 +61,7 @@ export default {
s9hhybh: 'S9混合液编号',
s9hhyyjjrl: 'S9混合液预计加入量',
pbsbh: 'PBS编号',
pbsryyjjrl: '0.2mol PBS溶液预计加入量',
pbsryyjjrl: 'PBS溶液预计加入量',
jlzsl: '剂量组数量',
wcButton: 'Finsh',
jlzmc: '剂量组名称 ',

+ 2
- 2
src/lang/en/template/lba.js View File

@ -47,7 +47,7 @@ export default {
dwbh: '动物编号',
zzlx: '组织类型',
cqzl: '称取重量',
ysyjrybjrl: '预设匀浆溶液加入量',
sjyjrybjrl: '实际匀浆溶液加入量'
ysyjrybjrl: '预设匀浆溶液加入量',
sjyjrybjrl: '实际匀浆溶液加入量'
}
}

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

@ -58,7 +58,10 @@ export default {
sp007: {
title: '生物样品分析样本处理表',
ybsm: 'Sample Description',
bt: 'Title'
bt: 'Title',
clhxx: '处理后信息',
hjsj: '处理后样品放入进样环境时间',
cfwz: '存放位置'
},
// 生物样品分析方法学样品制备表-准确度与精密度
sp008: {

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

@ -83,7 +83,7 @@ import storageLocation from './zh/system/storageLocation'
export default {
system: {
name: '华西海圻ELN系统',
name: '华西海圻实验室电子记录系统',
title: '华西海圻管理系统',
tip: '提示',
logOut: '确认注销并退出系统吗?',

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

@ -62,7 +62,7 @@ export default {
s9hhybh: 'S9混合液编号',
s9hhyyjjrl: 'S9混合液预计加入量',
pbsbh: 'PBS编号',
pbsryyjjrl: '0.2mol PBS溶液预计加入量',
pbsryyjjrl: 'PBS溶液预计加入量',
jlzsl: '剂量组数量',
wcButton: '完成',
jlzmc: '剂量组名称 ',

+ 2
- 2
src/lang/zh/template/lba.js View File

@ -47,7 +47,7 @@ export default {
dwbh: '动物编号',
zzlx: '组织类型',
cqzl: '称取重量',
ysyjrybjrl: '预设匀浆溶液加入量',
sjyjrybjrl: '实际匀浆溶液加入量'
ysyjrybjrl: '预设匀浆溶液加入量',
sjyjrybjrl: '实际匀浆溶液加入量'
}
}

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

@ -58,7 +58,10 @@ export default {
sp007: {
title: '生物样品分析样本处理表',
ybsm: '样本说明',
bt: '标题'
bt: '标题',
clhxx: '处理后信息',
hjsj: '处理后样品放入进样环境时间',
cfwz: '存放位置'
},
// 生物样品分析方法学样品制备表-准确度与精密度
sp008: {

+ 0
- 16
src/views/business/comps/template/comps/dl/DL010.vue View File

@ -216,22 +216,6 @@ export default {
}
}
},
{
type: 'cellItem',
label: 'template.dl.dl010.jprq',
config: {
startDate: {
label: 'template.dl.dl010.jprqKssj',
type: 'input',
disabled: true
},
endDate: {
label: 'template.dl.dl010.jprqJssj',
type: 'input',
disabled: true
}
}
}
]
},
//

+ 1
- 1
src/views/business/comps/template/comps/dl/DL011.vue View File

@ -289,7 +289,7 @@ export default {
this.$nextTick(() => {
this.$refs[refConf.pyxx]?.updateFormData(
'pytjText',
'培养条件:温度为温度为37℃±2℃,CO2浓度为5%±0.5%',
'培养条件:温度为温度为37℃±2℃,CO2浓度为5%±1%',
{ isUpdateRecord: false, signData: null }
)
})

+ 1
- 1
src/views/business/comps/template/comps/dl/DL012.vue View File

@ -273,7 +273,7 @@ export default {
this.$nextTick(() => {
this.$refs[refConf.pyxx]?.updateFormData(
'pytjText',
'培养条件:温度为温度为37℃±2℃,CO2浓度为5%±0.5%',
'培养条件:温度为温度为37℃±2℃,CO2浓度为5%±1%',
{ isUpdateRecord: false, signData: null }
)
})

+ 13
- 0
src/views/business/comps/template/comps/lba/LBA008.vue View File

@ -144,6 +144,19 @@ export default {
type: "input",
disabled: true,
},
methodCode: {
label: 'template.common.methodCode',
type: "input",
fillType: "preFill",
maxlength: 50
},
versionNum: {
label: 'template.common.versionNumber',
type: "inputNumber",
fillType: "preFill",
prepend: "V",
maxlength: 50
},
}
},
{

+ 19
- 5
src/views/business/comps/template/comps/sp/SP007.vue View File

@ -18,10 +18,15 @@
ref="ybRef" :formConfig="ybFormConfig" :formData="formData" />
<LineLabel label="template.common.operationSteps" />
<Step ref="stepRef" :formData="formData.stepData"></Step>
<BaseInfoFormPackage fieldItemLabel="template.common.remark" label="template.common.remark"
ref="remarkRef" :formConfig="remarkConig" :formData="formData" />
<BaseInfoFormPackage fieldItemLabel="template.lba.lba003.fj" label="template.lba.lba003.fj"
ref="fjRef" :formConfig="getFjFormConfig" :formData="formData" />
<BaseInfoFormPackage fieldItemLabel="template.sp.sp007.clhxx" label="template.sp.sp007.clhxx"
ref="clhxxRef" :formConfig="clhxxConfig" :formData="formData" @clickButton="handleClickButton" />
<BaseInfoFormPackage fieldItemLabel="template.common.remark" label="template.common.remark"
ref="remarkRef" :formConfig="remarkConig" :formData="formData" />
</div>
</div>
@ -41,7 +46,8 @@ import { getLatestSn } from '@/api/template';
import { EventBus } from "@/utils/eventBus";
import { uniqeResource } from "@/utils/calUnitTools";
import { debounce } from 'lodash-es';
import {getBaseInfoFormConfig, getRemarkFormConfig,getStorageFormConfig,getYbFormConfig,getfjFormConfig} from "../../formConfig/sp/SP007";
import {getBaseInfoFormConfig, getRemarkFormConfig,getStorageFormConfig,getYbFormConfig,getfjFormConfig,getClhxxFormConfig} from "../../formConfig/sp/SP007";
import moment from "moment";
export default {
name: "SP007",
@ -74,6 +80,10 @@ export default {
getFjFormConfig() {
return getfjFormConfig(this);
},
//
clhxxConfig() {
return getClhxxFormConfig(this);
},
},
data() {
@ -84,6 +94,10 @@ export default {
mounted() {
},
methods: {
//
handleClickButton(item,signData){
this.$refs.clhxxRef.updateFormData("hjsj", moment().format("YYYY/MM/DD HH:mm"),{isUpdateRecord:true,signData});
},
//
printTag() {
const printConfig = this.getBasePrintConfig();
@ -96,11 +110,11 @@ export default {
//
getFilledFormData() {
return this.getFilledFormDataByRefs(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef"])
return this.getFilledFormDataByRefs(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef","clhxxRef"])
},
//
async getFormData() {
let content = await this.validFormFields(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef"]);
let content = await this.validFormFields(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef","clhxxRef"]);
return content;
},
getResource() {

+ 37
- 11
src/views/business/comps/template/formConfig/paralleAndLadderConfig.js View File

@ -568,18 +568,44 @@ export const getBaseInfoFormConfig = ($this) => {
maxlength: 50
}
}
: {
studyMc: {
label: 'template.common.testName',
type: 'input',
disabled: true
},
studySn: {
label: 'template.common.testNumber',
type: 'input',
disabled: true
: isLba
? {
studyMc: {
label: 'template.common.testName',
type: 'input',
disabled: true
},
studySn: {
label: 'template.common.testNumber',
type: 'input',
disabled: true
},
methodCode: {
label: 'template.common.methodCode',
type: 'input',
fillType: 'preFill',
maxlength: 50
},
versionNum: {
label: 'template.common.versionNumber',
type: 'inputNumber',
fillType: 'preFill',
prepend: 'V',
maxlength: 50
}
}
: {
studyMc: {
label: 'template.common.testName',
type: 'input',
disabled: true
},
studySn: {
label: 'template.common.testNumber',
type: 'input',
disabled: true
}
}
}
},
{
type: 'conditionItem',

+ 27
- 0
src/views/business/comps/template/formConfig/sp/SP007.js View File

@ -158,3 +158,30 @@ export const getfjFormConfig = () => {
}
]
}
//备注
export const getClhxxFormConfig = ($this) => {
return [
{
type: 'cellItem',
config: {
hjsj: {
label: 'template.sp.sp007.hjsj',
type: 'input',
fillType: 'actFill',
maxlength: 200,
subType: 'button',
subKey: 'hjsjButton',
buttonName: 'template.yp.yp002.hqsj',
disabled: true,
subDisabled: $this.fillType !== 'actFill'
},
cfwz: {
label: 'template.sp.sp007.cfwz',
type: 'input',
fillType: 'actFill',
maxlength: 100
}
}
}
]
}

Loading…
Cancel
Save