Browse Source

feat: [步骤管理] AMES步骤

ouqian
memorylkf 1 month ago
parent
commit
17a7afcd51
5 changed files with 332 additions and 0 deletions
  1. +30
    -0
      src/components/Template/Step.vue
  2. +126
    -0
      src/components/Template/StepComponents/ames/hwzd.vue
  3. +31
    -0
      src/components/Template/StepComponents/ames/hygh.vue
  4. +79
    -0
      src/components/Template/StepComponents/ames/jbcpyj.vue
  5. +66
    -0
      src/components/Template/StepComponents/ptjhfxyp/xs_ptjhfxyp.vue

+ 30
- 0
src/components/Template/Step.vue View File

@ -294,6 +294,19 @@ import dp from './StepComponents/xb/dp.vue';//细胞表单-滴片
import bprs from './StepComponents/xb/bprs.vue';//- import bprs from './StepComponents/xb/bprs.vue';//-
import cx from './StepComponents/xb/cx.vue';//- import cx from './StepComponents/xb/cx.vue';//-
import lg from './StepComponents/xb/lg.vue';//- import lg from './StepComponents/xb/lg.vue';//-
//Ames
import hygh from './StepComponents/ames/hygh.vue';//Ames-
import hwzd from './StepComponents/ames/hwzd.vue';//Ames-
import jbcpyj from './StepComponents/ames/jbcpyj.vue';//Ames-
///MRD
import xs_ptjhfxyp from './StepComponents/ptjhfxyp/xs_ptjhfxyp.vue';///MRD-
import { public_templateStepList } from '@/api/business/public/public'; import { public_templateStepList } from '@/api/business/public/public';
@ -551,6 +564,15 @@ export default {
bprs, bprs,
cx, cx,
lg, lg,
//Ames
hygh,
hwzd,
jbcpyj,
///MRD
xs_ptjhfxyp,
}, },
computed: { computed: {
stepComponentMap() { stepComponentMap() {
@ -792,6 +814,14 @@ export default {
'bprs':'bprs', 'bprs':'bprs',
'cx':'cx', 'cx':'cx',
'lg':'lg', 'lg':'lg',
//Ames
'hygh':'hygh',
'hwzd':'hwzd',
'jbcpyj':'jbcpyj',
///MRD
'xs_ptjhfxyp':'xs_ptjhfxyp',
} }
} }
return this.componentMap return this.componentMap

+ 126
- 0
src/components/Template/StepComponents/ames/hwzd.vue View File

@ -0,0 +1,126 @@
<!-- 恒温振荡 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ames_hwzd'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
props: {
sn: {
type: String,
default: 'hwzd',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "选择培养箱",
type: "text",
},
yq: {
type: "yq",
fillType: "actFill",
},
text2: {
label: "仪器,放入振荡器",
type: "text",
},
yq1: {
type: "yq",
fillType: "actFill",
},
text3: {
label: "仪器,在37±2°C条件下,设置预计转速",
type: "text",
},
sjjrl: {
type: "inputNumber",
fillType: "preFill",
},
sjjrldw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
selectTo: "sjzsdw",
fillType: "preFill",
},
text5: {
label: ",设置实际转速",
type: "text",
},
jxry: {
type: "inputNumber",
fillType: "actFill",
compareTo:"sjjrl",
copyFrom:"sjjrl"
},
sjzsdw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
fillType: "preFill",
},
text6: {
label: ",设置预计时长为",
type: "text",
},
sjjrl1: {
type: "inputNumber",
fillType: "preFill",
},
yqsc: {
type: "select",
options: this.getDictOptions("business_yqscdw"),
selectTo: "sjscdw",
fillType: "preFill",
},
text7: {
label: ",实际设置时长为",
type: "text",
},
sjsc: {
type: "inputNumber",
fillType: "actFill",
compareTo:"sjjrl1",
copyFrom:"sjjrl1"
},
sjscdw: {
type: "select",
options: this.getDictOptions("business_yqscdw"),
fillType: "preFill",
},
text8: {
label: ",进行振荡。振荡",
type: "text",
},
startDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button1: {
type: "button",
buttonName: "开始",
},
text9: {
label: "。",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 31
- 0
src/components/Template/StepComponents/ames/hygh.vue View File

@ -0,0 +1,31 @@
<!-- 混匀固化 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ames_hygh'" @resetRecord="resetRecord" :form-config="formConfig"
:formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "分别进行快速轻摇混匀,倾倒至平皿,平放静置固化。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 79
- 0
src/components/Template/StepComponents/ames/jbcpyj.vue View File

@ -0,0 +1,79 @@
<!-- 加表层培养基 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ames_jbcpyj'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
props: {
sn: {
type: String,
default: 'jbcpyj',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用",
type: "text",
},
yqmc: {
fillType: "preFill",
type: "input",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,吸取表层培养基,各预计吸取",
type: "text",
},
yjtj:{
fillType: "preFill",
type: "inputNumber",
},
yjtjdw:{
fillType: "preFill",
type: "select",
selectTo: "sjtjdw",
options:this.getDictOptions('business_tjdw'),
},
text4:{
label: ",各实际吸取",
type: "text",
},
sjtj:{
fillType: "actFill",
type: "inputNumber",
compareTo:"yjtj",
copyFrom:"yjtj"
},
sjtjdw:{
fillType: "preFill",
type: "select",
options: this.getDictOptions('business_tjdw'),
},
text5:{
label: "。",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 66
- 0
src/components/Template/StepComponents/ptjhfxyp/xs_ptjhfxyp.vue View File

@ -0,0 +1,66 @@
<!-- 稀释 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ptjhfxyp_xs_ptjhfxyp'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
props: {
sn: {
type: String,
default: 'xs_ptjhfxyp',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "将",
type: "text",
},
ytyp: {
fillType: "preFill",
type: "input",
},
tbyp: {
fillType: "actFill",
type: "input",
compareTo:"ytyp",
copyFrom:"ytyp"
},
text2: {
label: "按上述稀释组件项中",
type: "text",
},
ytsz: {
fillType: "preFill",
type: "input",
},
tbsz: {
fillType: "actFill",
type: "input",
compareTo:"ytsz",
copyFrom:"ytsz"
},
text4:{
label: "进行稀释。",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

Loading…
Cancel
Save