Browse Source

feat: [步骤管理] 细胞表单步骤

ouqian
memorylkf 1 month ago
parent
commit
74c90d351d
13 changed files with 855 additions and 1 deletions
  1. +38
    -0
      src/components/Template/Step.vue
  2. +62
    -0
      src/components/Template/StepComponents/xb/bpqr.vue
  3. +89
    -0
      src/components/Template/StepComponents/xb/bprs.vue
  4. +88
    -0
      src/components/Template/StepComponents/xb/bzpyy.vue
  5. +49
    -0
      src/components/Template/StepComponents/xb/cx.vue
  6. +45
    -0
      src/components/Template/StepComponents/xb/dp.vue
  7. +51
    -0
      src/components/Template/StepComponents/xb/gc_xb.vue
  8. +88
    -0
      src/components/Template/StepComponents/xb/jrrydh.vue
  9. +41
    -0
      src/components/Template/StepComponents/xb/lg.vue
  10. +118
    -0
      src/components/Template/StepComponents/xb/rs_xb.vue
  11. +92
    -0
      src/components/Template/StepComponents/xb/xdlc.vue
  12. +92
    -0
      src/components/Template/StepComponents/xb/xh_xb.vue
  13. +2
    -1
      src/components/Template/mixins/stepMixins.js

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

@ -281,6 +281,19 @@ import cdmd from './StepComponents/xbjzpz/cdmd.vue';//细胞/菌株配置-测定
import cdxs from './StepComponents/xbjzpz/cdxs.vue';///-/ import cdxs from './StepComponents/xbjzpz/cdxs.vue';///-/
//
import gc_xb from './StepComponents/xb/gc_xb.vue';//-
import xdlc from './StepComponents/xb/xdlc.vue';//-2
import bzpyy from './StepComponents/xb/bzpyy.vue';//-
import xh_xb from './StepComponents/xb/xh_xb.vue';//-
import jrrydh from './StepComponents/xb/jrrydh.vue';//-
//-使-
import rs_xb from './StepComponents/xb/rs_xb.vue';//-
import bpqr from './StepComponents/xb/bpqr.vue';//-
import dp from './StepComponents/xb/dp.vue';//-
import bprs from './StepComponents/xb/bprs.vue';//-
import cx from './StepComponents/xb/cx.vue';//-
import lg from './StepComponents/xb/lg.vue';//-
import { public_templateStepList } from '@/api/business/public/public'; import { public_templateStepList } from '@/api/business/public/public';
@ -526,6 +539,18 @@ export default {
cdmd, cdmd,
cdxs, cdxs,
//
gc_xb,
xdlc,
bzpyy,
xh_xb,
jrrydh,
rs_xb,
bpqr,
dp,
bprs,
cx,
lg,
}, },
computed: { computed: {
stepComponentMap() { stepComponentMap() {
@ -754,6 +779,19 @@ export default {
'ds':'xd', 'ds':'xd',
'gd':'xd', 'gd':'xd',
'cdxs':'cdxs', 'cdxs':'cdxs',
//
'gc_xb':'gc_xb',
'xdlc':'xdlc',
'bzpyy':'bzpyy',
'xh_xb':'xh_xb',
'jrrydh':'jrrydh',
'gd_xb':'xh_xb',
'rs_xb':'rs_xb',
'bpqr':'bpqr',
'dp':'dp',
'bprs':'bprs',
'cx':'cx',
'lg':'lg',
} }
} }
return this.componentMap return this.componentMap

+ 62
- 0
src/components/Template/StepComponents/xb/bpqr.vue View File

@ -0,0 +1,62 @@
<!-- 破片确认 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_bpqr'" @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: 'bpqr',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "将玻片从冰箱",
type: "text",
},
ccwz: {
type: "select",
options: this.getDictOptions("business_ccwz"),
fillType: "actFill",
otherCode: "ccwzOther",
},
text2: {
label: "取出,其温层为",
type: "text",
},
wc: {
type: "select",
options: this.getDictOptions("business_cctj"),
multiple: true,
fillType: "actFill",
otherCode: "ccwzOther",
},
text3: {
label: "冰冻时长为",
type: "text",
},
sj: {
fillType: "actFill",
type: "input",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 89
- 0
src/components/Template/StepComponents/xb/bprs.vue View File

@ -0,0 +1,89 @@
<!-- 破片染色 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_bprs'" @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: 'bprs',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "将流水号",
type: "text",
},
lsh: {
fillType: "actFill",
type: "input",
},
text2: {
label: "的玻片,放至染色架,再放入加有姬姆萨染色应用液",
type: "text",
},
ry:{
fillType: "actFill",
type: "sj",
ylCode: "sjtj",
dwCode: "sjtjdw",
},
text4:{
label: "的染缸中,室温下染色",
type: "text",
},
sj:{
fillType: "preFill",
type: "input",
},
text6:{
label: "染色",
type: "text",
},
startDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button1:{
type:"button",
buttonName:"开始",
},
text7:{
type:"text",
label:"染色",
},
endDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button2:{
type:"button",
buttonName:"结束",
},
text8: {
type: "text",
label: "。",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 88
- 0
src/components/Template/StepComponents/xb/bzpyy.vue View File

@ -0,0 +1,88 @@
<!-- 补足培养液 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_bzpyy'" @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: 'bzpyy',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用移液器",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "分别加入",
type: "text",
},
rymc:{
fillType: "preFill",
type: "input",
},
ry:{
fillType: "actFill",
type: "sj",
ylCode: "sjtj",
dwCode: "sjtjdw",
},
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",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 49
- 0
src/components/Template/StepComponents/xb/cx.vue View File

@ -0,0 +1,49 @@
<!-- 冲洗 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_cx'" @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: 'cx',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用纯水仪",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "的纯水进行冲洗。",
type: "text",
},
check:{
type:"checkbox",
fillType:"actFill",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 45
- 0
src/components/Template/StepComponents/xb/dp.vue View File

@ -0,0 +1,45 @@
<!-- 滴片 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_dp'" @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: 'dp',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用移液器",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,吸取细胞悬液进行滴片。",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 51
- 0
src/components/Template/StepComponents/xb/gc_xb.vue View File

@ -0,0 +1,51 @@
<!-- 观察 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_gc_xb'" @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: 'gc_xb',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config:{
text1:{
label:"选择显微镜",
type:"text",
},
yq:{
type:"yq",
fillType:"actFill",
},
text2:{
label:"仪器,进行观察。",
type:"text",
},
bz:{
type:"input",
fillType:"actFill",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 88
- 0
src/components/Template/StepComponents/xb/jrrydh.vue View File

@ -0,0 +1,88 @@
<!-- 加入溶液多行 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_jrrydh'" @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: 'jrrydh',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用移液器",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,分别加入",
type: "text",
},
rymc:{
fillType: "preFill",
type: "input",
},
ry:{
fillType: "actFill",
type: "sj",
ylCode: "sjtj",
dwCode: "sjtjdw",
},
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",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 41
- 0
src/components/Template/StepComponents/xb/lg.vue View File

@ -0,0 +1,41 @@
<!-- 晾干 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_lg'" @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: 'lg',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "自然晾干。",
type: "text",
},
check:{
type:"checkbox",
fillType:"actFill",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 118
- 0
src/components/Template/StepComponents/xb/rs_xb.vue View File

@ -0,0 +1,118 @@
<!-- 染色 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_rs_xb'" @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: 'rs_xb',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用移液器",
type: "text",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,从上述编号各吸取90ul细胞悬液,再使用移液器",
type: "text",
},
yq1: {
fillType: "actFill",
type: "yq",
},
text3: {
label: "仪器,吸取台盼蓝染色液",
type: "text",
},
ry:{
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",
},
startDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button1:{
type:"button",
buttonName:"开始",
},
text7:{
type:"text",
label:"染色",
},
endDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button2:{
type:"button",
buttonName:"结束",
},
text8: {
type: "text",
label: "。",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 92
- 0
src/components/Template/StepComponents/xb/xdlc.vue View File

@ -0,0 +1,92 @@
<!-- 洗涤2 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_xdlc'" @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: 'xdlc',
},
},
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",
},
rymc:{
fillType: "preFill",
type: "input",
},
ry:{
fillType: "actFill",
type: "sj",
ylCode: "sjtj",
dwCode: "sjtjdw",
},
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: "加入容器中,分别进行洗涤,各洗涤2次。",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 92
- 0
src/components/Template/StepComponents/xb/xh_xb.vue View File

@ -0,0 +1,92 @@
<!-- 消化 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'xb_xh_xb'" @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: 'xh_xb',
},
},
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",
},
rymc:{
fillType: "preFill",
type: "input",
},
ry:{
fillType: "actFill",
type: "sj",
ylCode: "sjtj",
dwCode: "sjtjdw",
},
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: this.sn==='xh_xb'?"进行消化。":this.sn==='gd_xb'?"进行固定。":"",
type: "text",
},
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

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

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

Loading…
Cancel
Save