Browse Source

feat: [模板管理] 生成试剂

lkf
memorylkf 2 months ago
parent
commit
605f6eb10a
11 changed files with 79 additions and 33 deletions
  1. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue
  2. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue
  3. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/JZXY.vue
  4. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/QXWDX.vue
  5. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/RXJZXY.vue
  6. +9
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/Recovery.vue
  7. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XSKKX.vue
  8. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XZXHTYX.vue
  9. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZDYBS.vue
  10. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue
  11. +7
    -3
      src/views/business/comps/template/comps/sp/SWYPFXFFXZKPZB.vue

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "CBYDB", name: "CBYDB",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "CBYHGZYWDX", name: "CBYHGZYWDX",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/JZXY.vue View File

@ -69,7 +69,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "JZXY", name: "JZXY",
@ -336,6 +336,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -343,8 +345,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/QXWDX.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "QXWDX", name: "QXWDX",
@ -349,6 +349,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -356,8 +358,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/RXJZXY.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "RXJZXY", name: "RXJZXY",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 9
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/Recovery.vue View File

@ -78,7 +78,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "SWYPFXRYPZB", name: "SWYPFXRYPZB",
components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable, TableOpertaion, SelectReagentDialog }, components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable, TableOpertaion, SelectReagentDialog },
@ -439,6 +439,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -464,6 +466,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -471,8 +475,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XSKKX.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "XSKKX", name: "XSKKX",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XZXHTYX.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "XZXHTYX", name: "XZXHTYX",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZDYBS.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "ZDYBS", name: "ZDYBS",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "ZQDYJMD", name: "ZQDYJMD",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

+ 7
- 3
src/views/business/comps/template/comps/sp/SWYPFXFFXZKPZB.vue View File

@ -71,7 +71,7 @@ import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue"
import SelectReagentDialog from '../../dialog/SelectReagentDialog.vue'; import SelectReagentDialog from '../../dialog/SelectReagentDialog.vue';
import { EventBus } from "@/utils/eventBus"; import { EventBus } from "@/utils/eventBus";
import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj'; import { sj_subpackage,sj_startConfiguration,sj_configurationCompleted } from '@/api/business/sj/sj';
import { addTj } from "@/utils/calUnitTools";
import { addTj,uniqeResource } from "@/utils/calUnitTools";
export default { export default {
name: "CBYDB", name: "CBYDB",
@ -348,6 +348,8 @@ export default {
kc: total, kc: total,
kcdw: unit, kcdw: unit,
syl: null, syl: null,
type: null,
elnType: this.product,
syldw:unit, syldw:unit,
yxzq:null, yxzq:null,
yxzqdw:null, yxzqdw:null,
@ -355,8 +357,10 @@ export default {
} }
} }
} }
//使
this.resourceTmp=tmpResource
//使
const stepResource = this.$refs.stepRef.getStepResource()
this.resourceTmp =uniqeResource(tmpResource,stepResource.sjResource||[])
this.yqResourceTmp = stepResource.yqResource||[]
return content; return content;
}, },
async onSave() { async onSave() {

Loading…
Cancel
Save