Browse Source

feat: [模板管理] 表单名称

lkf
memorylkf 2 months ago
parent
commit
96632976c2
17 changed files with 38 additions and 26 deletions
  1. +4
    -1
      src/lang/en.js
  2. +6
    -0
      src/lang/en/template/lba.js
  3. +4
    -1
      src/lang/zh.js
  4. +6
    -0
      src/lang/zh/template/lba.js
  5. +6
    -1
      src/views/business/comps/template/TemplateTable.vue
  6. +1
    -1
      src/views/business/comps/template/comps/sp/SP001.vue
  7. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP008.vue
  8. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP009.vue
  9. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP010.vue
  10. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP011.vue
  11. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP012.vue
  12. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP013.vue
  13. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP014.vue
  14. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP015.vue
  15. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP016.vue
  16. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP017.vue
  17. +1
    -2
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP018.vue

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

@ -21,6 +21,8 @@ import sp from './en/template/sp'
import gspmb from './en/template/gsp'
//PCR模板
import pcr from './en/template/pcr'
//LBA模板
import lba from './en/template/lba'
// 试验管理
import study from './en/business/study/study'
import studyEnter from './en/business/study/studyEnter'
@ -189,6 +191,7 @@ export default {
common: commonTemplate,
sp: sp,
gsp: gspmb,
pcr: pcr
pcr: pcr,
lba: lba
}
}

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

@ -0,0 +1,6 @@
//色谱
export default {
lba001: {
title: 'Ligand Binding Analysis Solution Preparation Record'
}
}

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

@ -21,6 +21,8 @@ import sp from './zh/template/sp'
import gspmb from './zh/template/gsp'
//PCR模板
import pcr from './zh/template/pcr'
//LBA模板
import lba from './zh/template/lba'
// 试验管理
import study from './zh/business/study/study'
@ -185,6 +187,7 @@ export default {
common: commonTemplate,
sp: sp,
gsp: gspmb,
pcr: pcr
pcr: pcr,
lba: lba
}
}

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

@ -0,0 +1,6 @@
//色谱
export default {
lba001: {
title: '配体结合分析溶液配制表'
}
}

+ 6
- 1
src/views/business/comps/template/TemplateTable.vue View File

@ -51,6 +51,9 @@ import DMYPPZJLB from "./comps/gsp/DMYPPZJLB.vue";
import PCR001 from "./comps/pcr/PCR001.vue";
import PCR002 from "./comps/pcr/PCR002.vue";
//LBA
// LBA001-使SP001
export default {
name: "TemplateTable",
components: {
@ -113,7 +116,9 @@ export default {
'DMYPPZJLB': 'DMYPPZJLB',
//PCR
'PCR001': 'PCR001',
'PCR002': 'PCR002'
'PCR002': 'PCR002',
//LBA
'LBA001': 'SP001',
}
}
return this.componentMap || "Demo"

+ 1
- 1
src/views/business/comps/template/comps/sp/SP001.vue View File

@ -2,7 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP008.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp008.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP009.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp009.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP010.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp010.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP011.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp011.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP012.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp012.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP013.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp013.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP014.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp014.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP015.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp015.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP016.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp016.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP017.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp017.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

+ 1
- 2
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/SP018.vue View File

@ -2,8 +2,7 @@
<template>
<div>
<div class="detail-container">
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc ||
$t('template.sp.sp018.title') }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ formData.bdmc }}<img src="@/assets/images/detail-title.png" /></div>
<div class="detail-content">
<div class="content">
<BaseInfoFormPackage fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef"

Loading…
Cancel
Save