Browse Source

feat: [步骤管理] pcr步骤

ouqian
memorylkf 1 month ago
parent
commit
2e7a6f4ba2
11 changed files with 580 additions and 1 deletions
  1. +37
    -0
      src/components/Template/Step.vue
  2. +51
    -0
      src/components/Template/StepComponents/pcrfxyp/cbygxz.vue
  3. +103
    -0
      src/components/Template/StepComponents/pcrfxyp/cdnsypfz.vue
  4. +38
    -0
      src/components/Template/StepComponents/pcrfxyp/fmlx.vue
  5. +85
    -0
      src/components/Template/StepComponents/pcrfxyp/jryp_pcrfxyp.vue
  6. +42
    -0
      src/components/Template/StepComponents/pcrfxyp/pbsz.vue
  7. +52
    -0
      src/components/Template/StepComponents/pcrfxyp/pcrsj.vue
  8. +91
    -0
      src/components/Template/StepComponents/pcrfxyp/sjjy_pcrfxyp.vue
  9. +42
    -0
      src/components/Template/StepComponents/pcrfxyp/xs.vue
  10. +38
    -0
      src/components/Template/StepComponents/pcrfxyp/yxpcry.vue
  11. +1
    -1
      src/components/Template/mixins/stepMixins.js

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

@ -212,6 +212,19 @@ import jryjry_pcryj from './StepComponents/pcryj/jryjry_pcryj.vue';//PCR采集
//PCR-使-
//PCR-使-
//PCR
import xs from './StepComponents/pcrfxyp/xs.vue';//PCR-
//PCR-使-
import sjjy_pcrfxyp from './StepComponents/pcrfxyp/sjjy_pcrfxyp.vue';//PCR-
import jryp_pcrfxyp from './StepComponents/pcrfxyp/jryp_pcrfxyp.vue';//PCR-
import fmlx from './StepComponents/pcrfxyp/fmlx.vue';//PCR-
import pcrsj from './StepComponents/pcrfxyp/pcrsj.vue';//PCR-PCR
import pbsz from './StepComponents/pcrfxyp/pbsz.vue';//PCR-
import cbygxz from './StepComponents/pcrfxyp/cbygxz.vue';//PCR-
import yxpcry from './StepComponents/pcrfxyp/yxpcry.vue';//PCR-PCR
import cdnsypfz from './StepComponents/pcrfxyp/cdnsypfz.vue';//PCR-cDNA
import { public_templateStepList } from '@/api/business/public/public';
@ -403,6 +416,18 @@ export default {
jszz_pcryj,
cqzz_pcryj,
jryjry_pcryj,
//PCR
xs,
sjjy_pcrfxyp,
jryp_pcrfxyp,
fmlx,
pcrsj,
pbsz,
cbygxz,
yxpcry,
cdnsypfz,
},
computed: {
stepComponentMap() {
@ -567,6 +592,18 @@ export default {
'jszz_pcryj':'jszz_pcryj',
'cqzz_pcryj':'cqzz_pcryj',
'jryjry_pcryj':'jryjry_pcryj',
//PCR
'xs':'xs',
'sjjy_pcrfxyp':'sjjy_pcrfxyp',
'jryp_pcrfxyp':'jryp_pcrfxyp',
'fmlx':'fmlx',
'pcrsj':'pcrsj',
'pbsz':'pbsz',
'cbygxz':'cbygxz',
'yxpcry':'yxpcry',
'cdnsypfz':'cdnsypfz',
}
}

+ 51
- 0
src/components/Template/StepComponents/pcrfxyp/cbygxz.vue View File

@ -0,0 +1,51 @@
<!-- 参比荧光选择 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_cbygxz'" @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",
},
yj:{
fillType: "preFill",
type: "select",
options:this.getDictOptions('business_step_pcrfxyp'),
otherCode: "yjOther",
},
text2: {
label: "实际选择",
type: "text",
},
sj:{
fillType: "actFill",
type: "select",
options:this.getDictOptions('business_step_pcrfxyp'),
otherCode: "sjOther",
compareTo:'yj'
},
text3: {
label: "。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 103
- 0
src/components/Template/StepComponents/pcrfxyp/cdnsypfz.vue View File

@ -0,0 +1,103 @@
<!-- cDNA样品分装 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_cdnsypfz'" @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: 'cdnsypfz',
},
},
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: "的cDNA样品,其体积预计为",
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>

+ 38
- 0
src/components/Template/StepComponents/pcrfxyp/fmlx.vue View File

@ -0,0 +1,38 @@
<!-- 封膜离心 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_fmlx'" @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",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "瞬时离心将样品收集到板底。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 85
- 0
src/components/Template/StepComponents/pcrfxyp/jryp_pcrfxyp.vue View File

@ -0,0 +1,85 @@
<!-- 加入样品 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_jryp_pcrfxyp'" @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: 'jryp_pcrfxyp',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用",
type: "text",
},
ytrq: {
fillType: "preFill",
type: "input",
},
sjrqcz: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,将",
type: "text",
},
srry: {
fillType: "preFill",
type: "input",
},
text3:{
label: "按照样品排列示意图加入对应的96孔板种,每孔预计加入",
type: "text",
},
ytsr1:{
fillType: "preFill",
type: "inputNumber",
},
tjxz:{
fillType: "preFill",
type: "select",
selectTo: "sjsrdw2",
options:this.getDictOptions('business_tjdw'),
},
text4:{
label: "每孔实际加入",
type: "text",
},
sjsr2:{
fillType: "actFill",
type: "inputNumber",
compareTo:"ytsr1",
copyFrom:"ytsr1"
},
sjsrdw2:{
fillType: "preFill",
type: "select",
options: this.getDictOptions('business_tjdw'),
},
text5:{
label: "。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 42
- 0
src/components/Template/StepComponents/pcrfxyp/pbsz.vue View File

@ -0,0 +1,42 @@
<!-- 排版设置 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_pbsz'" @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: 'pbsz',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config:{
text1:{
label:"按样品排列示意图设置相应的排版",
type:"text",
},
check:{
type:"checkbox",
fillType:"actFill",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 52
- 0
src/components/Template/StepComponents/pcrfxyp/pcrsj.vue View File

@ -0,0 +1,52 @@
<!-- PCR上机 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_pcrsj'" @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",
},
yqmc: {
fillType: "preFill",
type: "input",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,调用正确的程序",
type: "text",
},
cx:{
fillType: "preFill",
type: "select",
options:this.getDictOptions('business_fycx'),
otherCode: "cxOther",
},
text3: {
label: "。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 91
- 0
src/components/Template/StepComponents/pcrfxyp/sjjy_pcrfxyp.vue View File

@ -0,0 +1,91 @@
<!-- 试剂加样 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_sjjy_pcrfxyp'" @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: 'sjjy_pcrfxyp',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用",
type: "text",
},
ytrq: {
fillType: "preFill",
type: "input",
},
sjrqcz: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,按照样品排列示意图将",
type: "text",
},
srry: {
fillType: "preFill",
type: "input",
},
sjrq:{
fillType: "actFill",
type: "sj",
ylCode: "sjsr2",
dwCode: "sjsrdw2",
},
text3:{
label: "加入对应的96孔板种,每孔预计加入",
type: "text",
},
ytsr1:{
fillType: "preFill",
type: "inputNumber",
},
tjxz:{
fillType: "preFill",
type: "select",
selectTo: "sjsrdw2",
options:this.getDictOptions('business_tjdw'),
},
text4:{
label: "每孔实际加入",
type: "text",
},
sjsr2:{
fillType: "actFill",
type: "inputNumber",
compareTo:"ytsr1",
copyFrom:"ytsr1"
},
sjsrdw2:{
fillType: "preFill",
type: "select",
options: this.getDictOptions('business_tjdw'),
},
text5:{
label: "。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 42
- 0
src/components/Template/StepComponents/pcrfxyp/xs.vue View File

@ -0,0 +1,42 @@
<!-- 稀释 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_xs'" @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",
},
yqmc: {
fillType: "preFill",
type: "input",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,按上表进行稀释。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 38
- 0
src/components/Template/StepComponents/pcrfxyp/yxpcry.vue View File

@ -0,0 +1,38 @@
<!-- 运行PCR仪 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_yxpcry'" @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: "运行Run",
type: "text",
},
sr: {
fillType: "actFill",
type: "input",
},
text2: {
label: "反应程序。",
type: "text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 1
- 1
src/components/Template/mixins/stepMixins.js View File

@ -2,7 +2,7 @@ export default {
dicts:[
"business_tjdw","business_czhj","business_rqcz","business_zldw",
"business_yqscdw","business_zsdw","business_wddw","business_ccwz","business_ggdw",
"business_hjxx","business_zzzc","business_step_pcr"
"business_hjxx","business_zzzc","business_step_pcr","business_fycx","business_step_pcrfxyp"
],
props: {
formData: {

Loading…
Cancel
Save