Browse Source

feat:[模板管理][update]

ouqian
luojie 1 month ago
parent
commit
e1584082a3
2 changed files with 5 additions and 2 deletions
  1. +1
    -1
      src/views/business/comps/template/TemplateTable.vue
  2. +4
    -1
      src/views/business/comps/template/formConfig/paralleAndLadderConfig.js

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

@ -268,7 +268,7 @@ export default {
'LBA002': 'LBA002', 'LBA002': 'LBA002',
'LBA003': 'LBA003', 'LBA003': 'LBA003',
'LBA004': 'LBA004', 'LBA004': 'LBA004',
'LBA005': 'LBA005',
'LBA005': 'SP00456',
'LBA006': 'LBA006', 'LBA006': 'LBA006',
'LBA007': 'LBA007', 'LBA007': 'LBA007',
//ADA //ADA

+ 4
- 1
src/views/business/comps/template/formConfig/paralleAndLadderConfig.js View File

@ -475,6 +475,9 @@ export const getLadderFormConfig = ($this) => {
//试验基本信息 //试验基本信息
export const getBaseInfoFormConfig = ($this) => { export const getBaseInfoFormConfig = ($this) => {
const sn = $this.sn;
const labArr = ["LBA005","LBA007"]
const isLab = labArr.includes(sn);
return [ return [
{ {
type: 'cardItem', type: 'cardItem',
@ -506,7 +509,7 @@ export const getBaseInfoFormConfig = ($this) => {
}, },
{ {
type: 'conditionItem', type: 'conditionItem',
label: 'template.common.testConfigurationConditions',
label:isLab? 'template.lba.lba002.cztj':'template.common.testConfigurationConditions',
config: { config: {
pre: { pre: {
label: 'template.common.preFill', label: 'template.common.preFill',

Loading…
Cancel
Save