Browse Source

feat: [步骤管理] pcr步骤

ouqian
memorylkf 1 month ago
parent
commit
e4b0c363ef
7 changed files with 425 additions and 1 deletions
  1. +15
    -0
      src/components/Template/Step.vue
  2. +45
    -0
      src/components/Template/StepComponents/pcr/ecxt.vue
  3. +137
    -0
      src/components/Template/StepComponents/pcr/lxdy.vue
  4. +44
    -0
      src/components/Template/StepComponents/pcr/xfzzylxg.vue
  5. +95
    -0
      src/components/Template/StepComponents/pcr/xfzzysjg.vue
  6. +88
    -0
      src/components/Template/StepComponents/pcr/xt.vue
  7. +1
    -1
      src/components/Template/StepComponents/ry/lx.vue

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

@ -187,6 +187,11 @@ import wxhy_pcr from './StepComponents/pcr/wxhy_pcr.vue';//PCR-涡旋混匀
import sy_pcr from './StepComponents/pcr/sy_pcr.vue';//PCR- import sy_pcr from './StepComponents/pcr/sy_pcr.vue';//PCR-
import sslx from './StepComponents/pcr/sslx.vue';//PCR- import sslx from './StepComponents/pcr/sslx.vue';//PCR-
import xfzcl from './StepComponents/pcr/xfzcl.vue';//PCR- import xfzcl from './StepComponents/pcr/xfzcl.vue';//PCR-
import lxdy from './StepComponents/pcr/lxdy.vue';//PCR-
import xfzzysjg from './StepComponents/pcr/xfzzysjg.vue';//PCR-
import xfzzylxg from './StepComponents/pcr/xfzzylxg.vue';//PCR-
import xt from './StepComponents/pcr/xt.vue';//PCR-
import ecxt from './StepComponents/pcr/ecxt.vue';//PCR-
import { public_templateStepList } from '@/api/business/public/public'; import { public_templateStepList } from '@/api/business/public/public';
@ -363,6 +368,11 @@ export default {
sy_pcr, sy_pcr,
sslx, sslx,
xfzcl, xfzcl,
lxdy,
xfzzysjg,
xfzzylxg,
xt,
ecxt,
}, },
computed: { computed: {
stepComponentMap() { stepComponentMap() {
@ -511,6 +521,11 @@ export default {
'sy_pcr':'sy_pcr', 'sy_pcr':'sy_pcr',
'sslx':'sslx', 'sslx':'sslx',
'xfzcl':'xfzcl', 'xfzcl':'xfzcl',
'lxdy':'lxdy',
'xfzzysjg':'xfzzysjg',
'xfzzylxg':'xfzzylxg',
'xt':'xt',
'ecxt':'ecxt',
} }

+ 45
- 0
src/components/Template/StepComponents/pcr/ecxt.vue View File

@ -0,0 +1,45 @@
<!-- 二次洗脱 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_ecxt'" @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: 'ecxt',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text2: {
label: "使用移液器",
type: "text",
},
yyq: {
fillType: "actFill",
type: "yq",
},
text3: {
label: "仪器,将离心管中的洗脱液重新吸入到吸附膜中间,进行二次洗脱。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 137
- 0
src/components/Template/StepComponents/pcr/lxdy.vue View File

@ -0,0 +1,137 @@
<!-- 离心倒液 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_lxdy'" @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: 'lxdy',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用离心机",
type: "text",
},
yq: {
type: "yq",
fillType: "actFill",
},
text2: {
label: "仪器,设置预计温度为",
type: "text",
},
rm: {
type: "inputNumber",
fillType: "preFill",
},
text3: {
label: "°C,实际设置温度为",
type: "text",
},
rxry: {
type: "inputNumber",
fillType: "actFill",
compareTo:"rm",
copyFrom:"rm"
},
text4: {
label: "°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>

+ 44
- 0
src/components/Template/StepComponents/pcr/xfzzylxg.vue View File

@ -0,0 +1,44 @@
<!-- 吸附柱转移离心管 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_xfzzylxg'" @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: 'xfzzylxg',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "将吸附柱",
type: "text",
},
xfz: {
fillType: "preFill",
type: "input",
},
text6:{
label: "转移到离心管中,开盖。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 95
- 0
src/components/Template/StepComponents/pcr/xfzzysjg.vue View File

@ -0,0 +1,95 @@
<!-- 吸附柱转移收集管 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_xfzzysjg'" @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: 'xfzzysjg',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "将吸附柱",
type: "text",
},
xfz: {
fillType: "preFill",
type: "input",
},
text2: {
label: "转移到收集管中,使用移液器",
type: "text",
},
yyq: {
fillType: "actFill",
type: "yq",
},
text3: {
label: "仪器,吸取",
type: "text",
},
mry: {
fillType: "preFill",
type: "input",
},
sjry:{
fillType: "actFill",
type: "sj",
ylCode: "sjtj",
dwCode: "sjtjdw",
},
text4:{
label: "溶液,加入预计体积为",
type: "text",
},
yjtj:{
fillType: "preFill",
type: "inputNumber",
},
yjtjdw:{
fillType: "preFill",
type: "select",
selectTo: "sjtjdw",
options:this.getDictOptions('business_tjdw'),
},
text5:{
label: ",实际体积为",
type: "text",
},
sjtj:{
fillType: "actFill",
type: "inputNumber",
compareTo:"yjtj",
copyFrom:"yjtj"
},
sjtjdw:{
fillType: "preFill",
type: "select",
options: this.getDictOptions('business_tjdw'),
},
text6:{
label: "至吸附柱中。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 88
- 0
src/components/Template/StepComponents/pcr/xt.vue View File

@ -0,0 +1,88 @@
<!-- 洗脱 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_xtxt'" @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: 'xt',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text2: {
label: "使用移液器",
type: "text",
},
yyq: {
fillType: "actFill",
type: "yq",
},
text3: {
label: "向吸附膜中间加入",
type: "text",
},
xty: {
fillType: "preFill",
type: "input",
},
sjry:{
fillType: "actFill",
type: "sj",
ylCode: "sjtj",
dwCode: "sjtjdw",
},
text4:{
label: "溶液,加入预计体积为",
type: "text",
},
yjtj:{
fillType: "preFill",
type: "inputNumber",
},
yjtjdw:{
fillType: "preFill",
type: "select",
selectTo: "sjtjdw",
options:this.getDictOptions('business_tjdw'),
},
text5:{
label: ",加入实际体积为",
type: "text",
},
sjtj:{
fillType: "actFill",
type: "inputNumber",
compareTo:"yjtj",
copyFrom:"yjtj"
},
sjtjdw:{
fillType: "preFill",
type: "select",
options: this.getDictOptions('business_tjdw'),
},
text6:{
label: "进行洗脱至离心管中。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 1
- 1
src/components/Template/StepComponents/ry/lx.vue View File

@ -65,7 +65,7 @@ export default {
}, },
text5: { text5: {
label: "°C,实际设置转速为",
label: ",实际设置转速为",
type: "text", type: "text",
}, },
jxry: { jxry: {

Loading…
Cancel
Save