Browse Source

feat: [步骤管理] pcr步骤

ouqian
memorylkf 1 month ago
parent
commit
952086e89e
10 changed files with 595 additions and 0 deletions
  1. +31
    -0
      src/components/Template/Step.vue
  2. +54
    -0
      src/components/Template/StepComponents/pcr/ddhy_pcr.vue
  3. +103
    -0
      src/components/Template/StepComponents/pcr/hsypfz.vue
  4. +58
    -0
      src/components/Template/StepComponents/pcr/jd_pcr.vue
  5. +48
    -0
      src/components/Template/StepComponents/pcr/sjjyst.vue
  6. +48
    -0
      src/components/Template/StepComponents/pcr/sslx.vue
  7. +99
    -0
      src/components/Template/StepComponents/pcr/sy_pcr.vue
  8. +44
    -0
      src/components/Template/StepComponents/pcr/wxhy_pcr.vue
  9. +52
    -0
      src/components/Template/StepComponents/pcr/xfzcl.vue
  10. +58
    -0
      src/components/Template/StepComponents/pcr/ypbc.vue

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

@ -178,6 +178,16 @@ import yqzt from './StepComponents/pcr/yqzt.vue';//PCR-仪器暂停
import ecsj from './StepComponents/pcr/ecsj.vue';//PCR- import ecsj from './StepComponents/pcr/ecsj.vue';//PCR-
import czclcl from './StepComponents/pcr/czclcl.vue';//PCR- import czclcl from './StepComponents/pcr/czclcl.vue';//PCR-
import ypzy from './StepComponents/pcr/ypzy.vue';//PCR- import ypzy from './StepComponents/pcr/ypzy.vue';//PCR-
import hsypfz from './StepComponents/pcr/hsypfz.vue';//PCR-
import ypbc from './StepComponents/pcr/ypbc.vue';//PCR-
import jd_pcr from './StepComponents/pcr/jd_pcr.vue';//PCR-
import sjjyst from './StepComponents/pcr/sjjyst.vue';//PCR-
import ddhy_pcr from './StepComponents/pcr/ddhy_pcr.vue';//PCR-
import wxhy_pcr from './StepComponents/pcr/wxhy_pcr.vue';//PCR-
import sy_pcr from './StepComponents/pcr/sy_pcr.vue';//PCR-
import sslx from './StepComponents/pcr/sslx.vue';//PCR-
import xfzcl from './StepComponents/pcr/xfzcl.vue';//PCR-
import { public_templateStepList } from '@/api/business/public/public'; import { public_templateStepList } from '@/api/business/public/public';
@ -343,6 +353,16 @@ export default {
ecsj, ecsj,
czclcl, czclcl,
ypzy, ypzy,
hsypfz,
ypbc,
jd_pcr,
sjjyst,
ddhy_pcr,
wxhy_pcr,
sy_pcr,
sslx,
xfzcl,
}, },
computed: { computed: {
stepComponentMap() { stepComponentMap() {
@ -481,6 +501,17 @@ export default {
'ecsj':'ecsj', 'ecsj':'ecsj',
'czclcl':'czclcl', 'czclcl':'czclcl',
'ypzy':'ypzy', 'ypzy':'ypzy',
'hsypfz':'hsypfz',
'ypbc':'ypbc',
'jd_pcr':'jd_pcr',
'sjjyst':'sjjyst',
'ddhy_pcr':'ddhy_pcr',
'wxhy_pcr':'wxhy_pcr',
'sy_pcr':'sy_pcr',
'sslx':'sslx',
'xfzcl':'xfzcl',
} }
} }

+ 54
- 0
src/components/Template/StepComponents/pcr/ddhy_pcr.vue View File

@ -0,0 +1,54 @@
<!-- 颠倒混匀 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_ddhy_pcr'" @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: 'ddhy_pcr',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "将样品进行上下颠倒,预计颠倒",
type: "text",
},
yjdd: {
fillType: "preFill",
type: "inputNumber",
},
text2: {
label: "次,实际颠倒",
type: "text",
},
sjdd: {
fillType: "actFill",
type: "inputNumber",
compareTo:"yjdd",
copyFrom:"yjdd"
},
text3: {
label: "次。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 103
- 0
src/components/Template/StepComponents/pcr/hsypfz.vue View File

@ -0,0 +1,103 @@
<!-- 核酸样品分装 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_hsypfz'" @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: 'hsypfz',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用移液器",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "将提取的",
type: "text",
},
rymc: {
fillType: "preFill",
type: "input",
},
text3: {
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",
},
lbbh:{
fillType: "preFill",
type: "input",
},
text6:{
label: "-",
type: "text",
},
//todo :
lbbhCode:{
fillType: "actFill",
type: "input",
},
text7:{
label: ",进行分装",
type: "text",
},
//todo :
button1:{
type:"button",
buttonName:"分装",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 58
- 0
src/components/Template/StepComponents/pcr/jd_pcr.vue View File

@ -0,0 +1,58 @@
<!-- 解冻 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_jd_pcr'" @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: 'jd_pcr',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "将样品预计放置于",
type: "text",
},
yjwd:{
type:"select",
options:this.getDictOptions("business_czhj"),
fillType:"preFill",
otherCode: "yjwdOther",
},
text2: {
label: "实际放置于",
type: "text",
},
sjwd:{
type:"select",
options:this.getDictOptions("business_czhj"),
fillType:"actFill",
otherCode: "sjwdOther",
compareTo: "yjwd",
},
text3: {
label: "条件下进行解冻。",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 48
- 0
src/components/Template/StepComponents/pcr/sjjyst.vue View File

@ -0,0 +1,48 @@
<!-- 试剂加样手提 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_sjjyst'" @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: 'sjjyst',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用",
type: "text",
},
yyq: {
fillType: "preFill",
type: "input",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,按上表将样品分别加入离心管中。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 48
- 0
src/components/Template/StepComponents/pcr/sslx.vue View File

@ -0,0 +1,48 @@
<!-- 瞬时离心 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_sslx'" @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: 'sslx',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用离心机",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,进行瞬时离心。",
type: "text",
},
check:{
type:"checkbox",
fillType:"actFill",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 99
- 0
src/components/Template/StepComponents/pcr/sy_pcr.vue View File

@ -0,0 +1,99 @@
<!-- 水浴 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_sy_pcr'" @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: 'sy_pcr',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config:{
text1:{
label:"使用水浴锅",
type:"text",
},
yq:{
type:"yq",
fillType:"actFill",
},
text2:{
label:"仪器,设置预计温度",
type:"text",
},
temp:{
type:"inputNumber",
fillType:"preFill",
},
text3:{
label:"°C,实际设置温度为",
type:"text",
},
actTemp:{
type:"inputNumber",
fillType:"actFill",
compareTo:"temp",
copyFrom:"temp",
},
text4:{
label:"°C,进行水浴",
type:"text",
},
sysj:{
type:"input",
fillType:"preFill",
},
text5:{
label:",水浴",
type:"text",
},
startDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button1:{
type:"button",
buttonName:"开始"
},
text6:{
label:",水浴",
type:"text",
},
endDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button2:{
type:"button",
buttonName:"结束"
},
text7: {
type: "text",
label: "。",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped>
</style>

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

@ -0,0 +1,44 @@
<!-- 涡旋混匀 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_wxhy_pcr'" @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: 'wxhy_pcr',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用涡旋混匀仪",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,对样品进行涡旋混匀。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 52
- 0
src/components/Template/StepComponents/pcr/xfzcl.vue View File

@ -0,0 +1,52 @@
<!-- 吸附柱处理 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_xfzcl'" @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: 'xfzcl',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用移液器",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,将已处理好的样品转移至已套上收集管的吸附柱",
type: "text",
},
xfz:{
fillType: "preFill",
type: "input",
},
text3: {
label: "中。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 58
- 0
src/components/Template/StepComponents/pcr/ypbc.vue View File

@ -0,0 +1,58 @@
<!-- 样品保存 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_ypbc'" @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: 'ypbc',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "将样品预计保存至",
type: "text",
},
yjwd:{
type:"select",
options:this.getDictOptions("business_wddw"),
fillType:"preFill",
otherCode: "yjwdOther",
},
text2: {
label: "实际保存至",
type: "text",
},
sjwd:{
type:"select",
options:this.getDictOptions("business_wddw"),
fillType:"actFill",
otherCode: "sjwdOther",
compareTo: "yjwd",
},
text3: {
label: "的环境中。",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

Loading…
Cancel
Save