Browse Source

feat:[模板管理][update]

lkf
luojie 2 months ago
parent
commit
b61149a8ef
40 changed files with 1263 additions and 421 deletions
  1. +14
    -3
      src/components/Template/HandleFormItem.vue
  2. +47
    -8
      src/components/Template/Step.vue
  3. +60
    -57
      src/components/Template/StepComponents/ry/clcz.vue
  4. +67
    -64
      src/components/Template/StepComponents/ry/clfcz.vue
  5. +94
    -90
      src/components/Template/StepComponents/ry/cs.vue
  6. +1
    -1
      src/components/Template/StepComponents/ry/czdd.vue
  7. +1
    -1
      src/components/Template/StepComponents/ry/czhj.vue
  8. +1
    -1
      src/components/Template/StepComponents/ry/dc.vue
  9. +1
    -1
      src/components/Template/StepComponents/ry/ddhy.vue
  10. +36
    -0
      src/components/Template/StepComponents/ry/fb.vue
  11. +85
    -0
      src/components/Template/StepComponents/ry/fr.vue
  12. +85
    -0
      src/components/Template/StepComponents/ry/frdrq.vue
  13. +81
    -0
      src/components/Template/StepComponents/ry/fs.vue
  14. +82
    -0
      src/components/Template/StepComponents/ry/fy.vue
  15. +1
    -1
      src/components/Template/StepComponents/ry/glsd.vue
  16. +1
    -1
      src/components/Template/StepComponents/ry/glzd.vue
  17. +36
    -0
      src/components/Template/StepComponents/ry/hb.vue
  18. +114
    -111
      src/components/Template/StepComponents/ry/hwhy.vue
  19. +76
    -73
      src/components/Template/StepComponents/ry/jb.vue
  20. +6
    -2
      src/components/Template/StepComponents/ry/jd.vue
  21. +4
    -0
      src/components/Template/StepComponents/ry/jrjb.vue
  22. +60
    -0
      src/components/Template/StepComponents/ry/js.vue
  23. +4
    -0
      src/components/Template/StepComponents/ry/jz.vue
  24. +4
    -0
      src/components/Template/StepComponents/ry/lx.vue
  25. +56
    -0
      src/components/Template/StepComponents/ry/mj.vue
  26. +71
    -0
      src/components/Template/StepComponents/ry/qcyy.vue
  27. +5
    -1
      src/components/Template/StepComponents/ry/qywz.vue
  28. +127
    -0
      src/components/Template/StepComponents/ry/rs.vue
  29. +5
    -1
      src/components/Template/StepComponents/ry/sy.vue
  30. +4
    -0
      src/components/Template/StepComponents/ry/tjphcz.vue
  31. +5
    -0
      src/components/Template/StepComponents/ry/tjphfcz.vue
  32. +4
    -0
      src/components/Template/StepComponents/ry/tpjydd.vue
  33. +4
    -0
      src/components/Template/StepComponents/ry/tpjysd.vue
  34. +1
    -1
      src/components/Template/StepComponents/ry/wxhy.vue
  35. +1
    -1
      src/components/Template/StepComponents/ry/xzrq.vue
  36. +4
    -0
      src/components/Template/StepComponents/ry/ym.vue
  37. +1
    -1
      src/components/Template/StepComponents/ry/zy.vue
  38. +4
    -0
      src/components/Template/StepComponents/ry/zyhy.vue
  39. +9
    -1
      src/components/Template/StepFormPackage.vue
  40. +1
    -1
      src/components/Template/mixins/stepMixins.js

+ 14
- 3
src/components/Template/HandleFormItem.vue View File

@ -20,6 +20,11 @@
<el-option v-for="op in item.options" :key="op.value" :label="op.label" :value="op.value">
</el-option>
</el-select>
<el-checkbox v-else-if="type === 'checkbox'" class="flex1" :multiple="item.multiple"
:class="getFillTypeStyle() + (orangeBg ? ' orange-bg' : '')" v-model="inputValue"
:disabled="getDisabled()" :placeholder="getPlaceholder()"
@change="onItemCheckboxChange">
</el-checkbox>
<el-date-picker v-else-if="type === 'dateTime'" type="datetime" class="flex1"
:class="getFillTypeStyle() + (orangeBg ? ' orange-bg' : '')" v-model="inputValue"
:disabled="getDisabled()" format="yyyy/MM/dd HH:mm:ss"
@ -132,7 +137,7 @@ export default {
},
// v-model
value: {
type: [String, Number, Array],
type: [String, Number, Array,Boolean],
default: ''
},
//
@ -322,6 +327,9 @@ export default {
onRemoveTag(e) {
this.onCommonHandleSaveRecord(this.inputValue);
},
onItemCheckboxChange(){
this.onCommonHandleSaveRecord(this.inputValue);
},
//
onSelectBlur(visible) {
if (!visible) {
@ -741,7 +749,9 @@ export default {
border-color: #f9c588 !important;
}
}
.el-checkbox__inner{
border-color: #f9c588 !important;
}
}
.green-border {
@ -770,6 +780,7 @@ export default {
.el-input-group__prepend,
input,
.el-checkbox__inner,
textarea {
border-color: #4ea2ff;
@ -809,7 +820,7 @@ export default {
// el-select el-date-picker
.el-select .el-input__inner,
.el-date-editor .el-input__inner {
.el-date-editor .el-input__inner .el-checkbox__inner {
border-color: #f56c6c;
}

+ 47
- 8
src/components/Template/Step.vue View File

@ -40,13 +40,13 @@ import Jrry from './StepComponents/ry/jrry.vue';//溶液-加入溶液
import Tpjydd from './StepComponents/ry/tpjydd.vue';//-()
import Tpjysd from './StepComponents/ry/tpjysd.vue';//-()
import Qywz from './StepComponents/ry/qywz.vue';//-
import Clfcz from './StepComponents/ry/clfcz.vue';//
import Clcz from './StepComponents/ry/clcz.vue';//
import Bdtj from './StepComponents/ry/bdtj.vue';//
import Bdzl from './StepComponents/ry/bdzl.vue';//
import Tjphcz from './StepComponents/ry/tjphcz.vue';//PH()
import Tjphfcz from './StepComponents/ry/tjphfcz.vue';//PH()
import Lx from './StepComponents/ry/lx.vue';//
import Clfcz from './StepComponents/ry/clfcz.vue';//-
import Clcz from './StepComponents/ry/clcz.vue';//-
import Bdtj from './StepComponents/ry/bdtj.vue';//-
import Bdzl from './StepComponents/ry/bdzl.vue';//-
import Tjphcz from './StepComponents/ry/tjphcz.vue';//-PH()
import Tjphfcz from './StepComponents/ry/tjphfcz.vue';//-PH()
import Lx from './StepComponents/ry/lx.vue';//-
import Hwhy from './StepComponents/ry/hwhy.vue';//-
import Zyhy from './StepComponents/ry/zyhy.vue';//-
import Wxhy from "./StepComponents/ry/wxhy.vue";//-
@ -61,7 +61,16 @@ import Jd from "./StepComponents/ry/jd.vue";//溶液-解冻
import Jz from "./StepComponents/ry/jz.vue";//-
import Glzd from "./StepComponents/ry/glzd.vue";//-()
import Glsd from "./StepComponents/ry/glsd.vue";//-()
import Fy from "./StepComponents/ry/fy.vue";//-
import Qcyy from "./StepComponents/ry/qcyy.vue";//-
import Frdrq from "./StepComponents/ry/frdrq.vue";//-()
import Fr from "./StepComponents/ry/fr.vue";//-
import Hb from "./StepComponents/ry/hb.vue";//-
import Rs from "./StepComponents/ry/rs.vue";//-
import Js from "./StepComponents/ry/js.vue";//-
import Mj from "./StepComponents/ry/mj.vue";//-
import Fs from "./StepComponents/ry/fs.vue";//-
import Fb from "./StepComponents/ry/fb.vue";//-
@ -94,6 +103,16 @@ const stepTypes = [
{ label: '静置', value: 'jz' },
{ label: '过滤(自动)', value: 'glzd' },
{ label: '过滤(手动)', value: 'glsd' },
{ label: '孵育', value: 'fy' },
{ label: '取出原药', value: 'qcyy' },
{ label: '复溶(多容器)', value: 'frdrq' },
{ label: '复溶', value: 'fr' },
{ label: '合并', value: 'hb' },
{ label: '染色', value: 'rs' },
{ label: '计数', value: 'js' },
{ label: '灭菌', value: 'mj' },
{ label: '复苏', value: 'fs' },
{ label: '封板', value: 'fb' },
];
@ -148,6 +167,16 @@ export default {
Jz,
Glzd,
Glsd,
Fy,
Qcyy,
Frdrq,
Fr,
Hb,
Rs,
Js,
Mj,
Fs,
Fb,
},
computed: {
stepComponentMap() {
@ -181,6 +210,16 @@ export default {
'jz': 'Jz',
'glzd': 'Glzd',
'glsd': 'Glsd',
'fy': 'Fy',
'qcyy': 'Qcyy',
'frdrq': 'Frdrq',
'fr': 'Fr',
'hb': 'Hb',
'rs': 'Rs',
'js': 'Js',
'mj': 'Mj',
'fs': 'Fs',
'fb': 'Fb',
}
}
return this.componentMap

+ 60
- 57
src/components/Template/StepComponents/ry/clcz.vue View File

@ -1,66 +1,69 @@
<!-- 称量非传值 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
<StepFormPackage ref="stepFormPackageRef" @resetRecord="resetRecord" :form-config="formConfig"
:formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config:{
text1:{
label:"使用电子天平",
type:"text",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,称取",
type:"text",
},
wzmc:{
type:"mix",
fillType:"actFill",
},
text3:{
label:"物质,称取预计质量为",
type:"text",
},
wzsul:{
type:"inputNumber",
fillType:"preFill",
},
wzsuldw:{
type:"select",
fillType:"preFill",
options:this.getDictOptions("business_zldw"),
},
text4:{
type:"text",
label:",实际质量为"
},
sjcz:{
type:"span",
compareTo:"wzsul",
copyFrom:"wzsul"
},
}
}]
}
},
}
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用电子天平",
type: "text",
},
yq: {
type: "instrument",
fillType: "actFill",
},
text2: {
label: "仪器,称取",
type: "text",
},
wzmc: {
type: "mix",
fillType: "actFill",
},
text3: {
label: "物质,称取预计质量为",
type: "text",
},
wzsul: {
type: "inputNumber",
fillType: "preFill",
},
wzsuldw: {
type: "select",
fillType: "preFill",
options: this.getDictOptions("business_zldw"),
},
text4: {
type: "text",
label: ",实际质量为"
},
sjcz: {
type: "span",
compareTo: "wzsul",
copyFrom: "wzsul"
},
text9: {
type: "text",
label: "。",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>

+ 67
- 64
src/components/Template/StepComponents/ry/clfcz.vue View File

@ -1,73 +1,76 @@
<!-- 称量传值 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
<StepFormPackage ref="stepFormPackageRef" @resetRecord="resetRecord" :form-config="formConfig"
:formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config:{
text1:{
label:"使用电子天平",
type:"text",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,称取",
type:"text",
},
wzmc:{
type:"mix",
fillType:"actFill",
},
text3:{
label:"物质,称取预计质量为",
type:"text",
},
wzsul:{
type:"inputNumber",
fillType:"preFill",
},
wzsuldw:{
type:"select",
fillType:"preFill",
options:this.getDictOptions("business_zldw"),
selectTo:"wzsuldw1",
},
text4:{
type:"text",
label:",实际质量为"
},
sjcz:{
type:"inputNumber",
fillType:"actFill",
compareTo:"wzsul",
copyFrom:"wzsul"
},
wzsuldw1:{
type:"select",
fillType:"preFill",
options:this.getDictOptions("business_zldw"),
},
}
}]
}
},
}
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用电子天平",
type: "text",
},
yq: {
type: "instrument",
fillType: "actFill",
},
text2: {
label: "仪器,称取",
type: "text",
},
wzmc: {
type: "mix",
fillType: "actFill",
},
text3: {
label: "物质,称取预计质量为",
type: "text",
},
wzsul: {
type: "inputNumber",
fillType: "preFill",
},
wzsuldw: {
type: "select",
fillType: "preFill",
options: this.getDictOptions("business_zldw"),
selectTo: "wzsuldw1",
},
text4: {
type: "text",
label: ",实际质量为"
},
sjcz: {
type: "inputNumber",
fillType: "actFill",
compareTo: "wzsul",
copyFrom: "wzsul"
},
wzsuldw1: {
type: "select",
fillType: "preFill",
options: this.getDictOptions("business_zldw"),
},
text9: {
type: "text",
label: "。",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>

+ 94
- 90
src/components/Template/StepComponents/ry/cs.vue View File

@ -1,99 +1,103 @@
<!-- 超声 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
<StepFormPackage ref="stepFormPackageRef" @resetRecord="resetRecord" :form-config="formConfig"
:formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config:{
text1:{
label:"使用超声波清洗机",
type:"text",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,设置预计频率为",
type:"text",
},
yjpl:{
type:"inputNumber",
fillType:"preFill",
},
text3:{
label:"Hz,实际频率为",
type:"text",
},
sjpl:{
type:"inputNumber",
fillType:"actFill",
compareTo:"yjpl",
copyFrom:"yjpl",
},
text4:{
label:"Hz,设置预计时长为",
type:"text",
},
yjsc:{
type:"inputNumber",
fillType:"preFill",
},
yjscdw:{
type:"select",
options: this.getDictOptions("business_tjdw"),
selectTo: "sjscdw",
fillType: "preFill",
},
text5:{
label:",实际时长为",
type:"text",
},
sjsc:{
type:"inputNumber",
fillType:"preFill",
compareTo:"yjsc",
copyFrom:"yjsc",
},
sjscdw:{
type:"select",
options: this.getDictOptions("business_tjdw"),
fillType: "preFill",
},
text6:{
label:",进行",
type:"text",
},
cssr:{
type:"input",
fillType:"preFill",
},
text7:{
label:"超声,超声",
type:"text",
},
button1:{
type:"button",
buttonName:"开始"
}
}
}]
}
},
}
</script>
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用超声波清洗机",
type: "text",
},
yq: {
type: "instrument",
fillType: "actFill",
},
text2: {
label: "仪器,设置预计频率为",
type: "text",
},
yjpl: {
type: "inputNumber",
fillType: "preFill",
},
text3: {
label: "Hz,实际频率为",
type: "text",
},
sjpl: {
type: "inputNumber",
fillType: "actFill",
compareTo: "yjpl",
copyFrom: "yjpl",
},
text4: {
label: "Hz,设置预计时长为",
type: "text",
},
yjsc: {
type: "inputNumber",
fillType: "preFill",
},
yjscdw: {
type: "select",
options: this.getDictOptions("business_tjdw"),
selectTo: "sjscdw",
fillType: "preFill",
},
text5: {
label: ",实际时长为",
type: "text",
},
sjsc: {
type: "inputNumber",
fillType: "preFill",
compareTo: "yjsc",
copyFrom: "yjsc",
},
sjscdw: {
type: "select",
options: this.getDictOptions("business_tjdw"),
fillType: "preFill",
},
text6: {
label: ",进行",
type: "text",
},
cssr: {
type: "input",
fillType: "preFill",
},
text7: {
label: "超声,超声",
type: "text",
},
button1: {
type: "button",
buttonName: "开始"
},
text9: {
type: "text",
label: "。",
},
<style lang="scss" scoped>
}
}]
}
},
}
</script>
</style>
<style lang="scss" scoped></style>

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

@ -29,7 +29,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
fillType:"actFill",
},
text2:{
label:"环境下,操作下述步骤",
label:"环境下,操作下述步骤",
type:"text",
}
}

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

@ -51,7 +51,7 @@ export default {
copyFrom:"ytczhj"
},
text4: {
label: "条件下操作下述步骤",
label: "条件下操作下述步骤",
type: "text",
},
}

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

@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
copyFrom:"temp",
},
text4:{
label:"°C,进行氮吹",
label:"°C,进行氮吹",
type:"text",
}
}

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

@ -35,7 +35,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
copyFrom:"ddcs1"
},
text3:{
label:"次",
label:"次",
type:"text",
}
}

+ 36
- 0
src/components/Template/StepComponents/ry/fb.vue View File

@ -0,0 +1,36 @@
<!-- 封板 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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",
},
check:{
type:"checkbox",
fillType:"actFill",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 85
- 0
src/components/Template/StepComponents/ry/fr.vue View File

@ -0,0 +1,85 @@
<!-- 复溶 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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",
},
ddsys:{
type:"input",
fillType:"preFill",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,吸取",
type:"text",
},
ddsys2:{
type:"input",
fillType:"preFill",
},
sj:{
type:"regent",
fillType:"actFill",
},
text3:{
label:"溶液,各预计加入休积为",
type:"text",
},
yjtj:{
type:"input",
fillType:"preFill",
},
yjtjdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
selectTo:"sjtjdw"
},
text4:{
label:",实际加入休积为",
type:"text",
},
sjtj:{
type:"input",
fillType:"actFill",
compareTo:"yjtj",
copyFrom:"yjtj",
},
sjtjdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
},
text5:{
label:"进行复溶。",
type:"text",
}
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 85
- 0
src/components/Template/StepComponents/ry/frdrq.vue View File

@ -0,0 +1,85 @@
<!-- 复溶(多容器) -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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",
},
ddsys:{
type:"input",
fillType:"preFill",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,吸取",
type:"text",
},
ddsys2:{
type:"input",
fillType:"preFill",
},
sj:{
type:"regent",
fillType:"actFill",
},
text3:{
label:"溶液,分别各预计加入休积为",
type:"text",
},
yjtj:{
type:"input",
fillType:"preFill",
},
yjtjdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
selectTo:"sjtjdw"
},
text4:{
label:",各实际加入休积为",
type:"text",
},
sjtj:{
type:"input",
fillType:"actFill",
compareTo:"yjtj",
copyFrom:"yjtj",
},
sjtjdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
},
text5:{
label:"进行复溶。",
type:"text",
}
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 81
- 0
src/components/Template/StepComponents/ry/fs.vue View File

@ -0,0 +1,81 @@
<!-- 复苏 -->
<template>
<StepFormPackage ref="stepFormPackageRef" @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: {
type: "instrument",
fillType: "actFill",
},
text2: {
label: ",设置预计温度",
type: "text",
},
yjwd: {
type: "input",
fillType: "preFill",
},
text3: {
label: "°C,实际温度",
type: "text",
},
sjwd: {
type: "input",
fillType: "actFill",
compareTo: "yjwd",
copyFrom: "yjwd",
},
text4: {
label: "°C,进行复苏,复苏",
type: "text",
},
fssj: {
type: "input",
fillType: "preFill",
},
text4: {
label: "复苏",
type: "text",
},
button1: {
type: "button",
buttonName: "开始",
},
text7: {
label: ",复苏",
type: "text",
},
button2: {
type: "button",
buttonName: "结束",
},
text9: {
type: "text",
label: "。",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

+ 82
- 0
src/components/Template/StepComponents/ry/fy.vue View File

@ -0,0 +1,82 @@
<!-- 孵育 -->
<template>
<StepFormPackage ref="stepFormPackageRef" @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: {
type: "instrument",
fillType: "actFill",
},
text2: {
label: "仪器,设置预计条件为",
type: "text",
},
yjtj: {
type: "input",
fillType: "preFill",
},
text3: {
label: "实际条件为",
type: "text",
},
sjtj: {
type: "input",
fillType: "actFill",
compareTo:"yjtj",
copyFrom:"yjtj",
},
text4: {
label: ",进行孵育",
type: "text",
},
fysr: {
type: "input",
fillType: "preFill",
},
text6: {
label: ",孵育",
type: "text",
},
button1: {
type: "button",
buttonName: "开始",
},
text8: {
type: "text",
label: ",孵育",
},
button2: {
type: "button",
buttonName: "结束",
},
text9: {
type: "text",
label: "。",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

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

@ -29,7 +29,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
fillType:"actFill",
},
text3:{
label:"进行过滤",
label:"进行过滤",
type:"text",
},
}

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

@ -37,7 +37,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
fillType:"actFill",
},
text3:{
label:"进行过滤",
label:"进行过滤",
type:"text",
},
}

+ 36
- 0
src/components/Template/StepComponents/ry/hb.vue View File

@ -0,0 +1,36 @@
<!-- 合并 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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",
},
check:{
type:"checkbox",
fillType:"actFill",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 114
- 111
src/components/Template/StepComponents/ry/hwhy.vue View File

@ -1,120 +1,123 @@
<!-- 恒温混匀 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
<StepFormPackage ref="stepFormPackageRef" @resetRecord="resetRecord" :form-config="formConfig"
:formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config:{
text1:{
label:"使用恒温混匀仪",
type:"text",
},
yq1:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,设置预计温度为",
type:"text",
},
yjzs:{
type:"inputNumber",
fillType:"preFill",
},
text3:{
label:"°C,实际温度为",
type:"text",
},
sjwd:{
type:"inputNumber",
fillType:"actFill",
compareTo:"yjzs",
copyFrom:"yjzs"
},
text4:{
label:"°C,设置预计转速为",
type:"text",
},
yjzs2:{
type:"inputNumber",
fillType:"preFill",
},
yjzsdw:{
type:"select",
options:this.getDictOptions("business_zsdw"),
selectTo:"sjzsdw",
fillType:"preFill",
},
text8:{
label:"实际转速为",
type:"text",
},
sjzs:{
type:"inputNumber",
fillType:"actFill",
compareTo:"yjzs2",
copyFrom:"yjzs2"
},
sjzsdw:{
type:"select",
options:this.getDictOptions("business_zsdw"),
fillType:"preFill",
},
text7:{
label:",设置预计时长为",
type:"text",
},
yjsc:{
type:"inputNumber",
fillType:"preFill",
},
yjscdw:{
type:"select",
options:this.getDictOptions("business_yqscdw"),
selectTo:"sjscdw",
fillType:"preFill",
},
text5:{
label:",实际时长为",
type:"text",
},
sjsc:{
type:"inputNumber",
fillType:"actFill",
compareTo:"yjsc",
copyFrom:"yjsc"
},
sjscdw:{
type:"select",
options:this.getDictOptions("business_yqscdw"),
fillType:"preFill",
},
text6:{
label:",进行恒温混匀,混匀",
type:"text",
},
button1:{
type:"button",
buttonName:"开始"
}
}
}]
}
},
}
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用恒温混匀仪",
type: "text",
},
yq1: {
type: "instrument",
fillType: "actFill",
},
text2: {
label: "仪器,设置预计温度为",
type: "text",
},
yjzs: {
type: "inputNumber",
fillType: "preFill",
},
text3: {
label: "°C,实际温度为",
type: "text",
},
sjwd: {
type: "inputNumber",
fillType: "actFill",
compareTo: "yjzs",
copyFrom: "yjzs"
},
text4: {
label: "°C,设置预计转速为",
type: "text",
},
yjzs2: {
type: "inputNumber",
fillType: "preFill",
},
yjzsdw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
selectTo: "sjzsdw",
fillType: "preFill",
},
text8: {
label: "实际转速为",
type: "text",
},
sjzs: {
type: "inputNumber",
fillType: "actFill",
compareTo: "yjzs2",
copyFrom: "yjzs2"
},
sjzsdw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
fillType: "preFill",
},
text7: {
label: ",设置预计时长为",
type: "text",
},
yjsc: {
type: "inputNumber",
fillType: "preFill",
},
yjscdw: {
type: "select",
options: this.getDictOptions("business_yqscdw"),
selectTo: "sjscdw",
fillType: "preFill",
},
text5: {
label: ",实际时长为",
type: "text",
},
sjsc: {
type: "inputNumber",
fillType: "actFill",
compareTo: "yjsc",
copyFrom: "yjsc"
},
sjscdw: {
type: "select",
options: this.getDictOptions("business_yqscdw"),
fillType: "preFill",
},
text6: {
label: ",进行恒温混匀,混匀",
type: "text",
},
button1: {
type: "button",
buttonName: "开始"
},
text9: {
type: "text",
label: "。",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>

+ 76
- 73
src/components/Template/StepComponents/ry/jb.vue View File

@ -1,82 +1,85 @@
<!-- 搅拌 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
<StepFormPackage ref="stepFormPackageRef" @resetRecord="resetRecord" :form-config="formConfig"
:formData="formData" />
</template>
<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
import stepMixins from '@/components/Template/mixins/stepMixins.js';
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config:{
text1:{
label:"使用搅拌仪",
type:"text",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text4:{
label:",设置预计转速为",
type:"text",
},
yjzs2:{
type:"inputNumber",
fillType:"preFill",
},
yjzsdw:{
type:"select",
options: this.getDictOptions("business_zsdw"),
selectTo:"sjzsdw",
fillType:"preFill",
},
text5:{
label:"实际转速为",
type:"text",
},
sjzs:{
type:"inputNumber",
fillType:"actFill",
compareTo:"yjzs2",
copyFrom:"yjzs2"
},
sjzsdw:{
type:"select",
options: this.getDictOptions("business_zsdw"),
fillType:"preFill",
},
text6:{
label:"进行搅拌,搅拌",
type:"text",
},
button1:{
type:"button",
buttonName:"开始",
},
text7:{
label:"搅拌",
type:"text",
},
button2:{
type:"button",
buttonName:"结束",
},
}
}]
}
},
}
</script>
export default {
mixins: [stepMixins],
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config: {
text1: {
label: "使用搅拌仪",
type: "text",
},
yq: {
type: "instrument",
fillType: "actFill",
},
text4: {
label: ",设置预计转速为",
type: "text",
},
yjzs2: {
type: "inputNumber",
fillType: "preFill",
},
yjzsdw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
selectTo: "sjzsdw",
fillType: "preFill",
},
text5: {
label: "实际转速为",
type: "text",
},
sjzs: {
type: "inputNumber",
fillType: "actFill",
compareTo: "yjzs2",
copyFrom: "yjzs2"
},
sjzsdw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
fillType: "preFill",
},
text6: {
label: "进行搅拌,搅拌",
type: "text",
},
button1: {
type: "button",
buttonName: "开始",
},
text7: {
label: "搅拌",
type: "text",
},
button2: {
type: "button",
buttonName: "结束",
},
text9: {
type: "text",
label: "。",
},
<style lang="scss" scoped>
}
}]
}
},
}
</script>
</style>
<style lang="scss" scoped></style>

+ 6
- 2
src/components/Template/StepComponents/ry/jd.vue View File

@ -73,13 +73,13 @@ export default {
sjwd: {
type: "select",
options: this.getDictOptions("business_wddw"),
fillType: "preFill",
fillType: "actFill",
otherCode: "sjwdOther",
},
sjhj: {
type: "select",
options: this.getDictOptions("business_hjxx"),
fillType: "preFill",
fillType: "actFill",
otherCode: "sjhjOther",
},
text6: {
@ -106,6 +106,10 @@ export default {
type:"button",
buttonName:"结束",
},
text9: {
type: "text",
label: "。",
},
}

+ 4
- 0
src/components/Template/StepComponents/ry/jrjb.vue View File

@ -87,6 +87,10 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"button",
buttonName:"结束",
},
text8: {
type: "text",
label: "。",
},
}
}]

+ 60
- 0
src/components/Template/StepComponents/ry/js.vue View File

@ -0,0 +1,60 @@
<!-- 计数 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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",
},
ddsys:{
type:"input",
fillType:"preFill",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,进行细胞检测,检测浓度结果",
type:"text",
},
sjsr:{
type:"input",
fillType:"actFill",
},
text3:{
label:"检测活率结果",
type:"text",
},
sjsr2:{
type:"input",
fillType:"actFill",
},
text4:{
label:"。",
type:"text",
}
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 4
- 0
src/components/Template/StepComponents/ry/jz.vue View File

@ -62,6 +62,10 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"button",
buttonName:"结束",
},
text6: {
type: "text",
label: "。",
},
}
}]
}

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

@ -111,6 +111,10 @@ export default {
type: "button",
buttonName: "开始",
},
text9: {
type: "text",
label: "。",
},
}
}]
}

+ 56
- 0
src/components/Template/StepComponents/ry/mj.vue View File

@ -0,0 +1,56 @@
<!-- 灭菌 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"高压锅,设置灭菌温度为",
type:"text",
},
sjwd:{
type:"input",
fillType:"actFill",
},
text3:{
label:"°C,灭菌时长为",
type:"text",
},
sjsr2:{
type:"input",
fillType:"actFill",
},
text4:{
label:"对上述溶液进行灭菌。",
type:"text",
}
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 71
- 0
src/components/Template/StepComponents/ry/qcyy.vue View File

@ -0,0 +1,71 @@
<!-- 取出原药 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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",
},
ddsys:{
type:"input",
fillType:"preFill",
},
yq:{
type:"mix",
fillType:"actFill",
},
text2:{
label:"预计取出",
type:"text",
},
yjqc:{
type:"input",
fillType:"preFill",
},
yjqcdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_ggdw"),
selectTo:"sjqcdw"
},
text3:{
label:"实际取出",
type:"text",
},
sjqc:{
type:"input",
fillType:"actFill",
},
sjqcdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_ggdw"),
},
text4:{
label:"。",
type:"text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

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

@ -35,7 +35,11 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
zl:{
type:"span",
}
},
text3:{
label:"。",
type:"text",
},
}
}]
}

+ 127
- 0
src/components/Template/StepComponents/ry/rs.vue View File

@ -0,0 +1,127 @@
<!-- 染色 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" @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",
},
ddsys:{
type:"input",
fillType:"preFill",
},
yq:{
type:"instrument",
fillType:"actFill",
},
text2:{
label:"仪器,吸取",
type:"text",
},
ddsys2:{
type:"input",
fillType:"preFill",
},
sj:{
type:"xb",
fillType:"actFill",
},
text3:{
label:"吸入预计体积为",
type:"text",
},
yjtj:{
type:"input",
fillType:"preFill",
},
yjtjdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
selectTo:"sjtjdw"
},
text4:{
label:",实际休积为",
type:"text",
},
sjtj:{
type:"input",
fillType:"actFill",
compareTo:"yjtj",
copyFrom:"yjtj",
},
sjtjdw:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
},
text5:{
label:"再吸取",
type:"text",
},
yjtj1:{
type:"input",
fillType:"preFill",
},
yjsj:{
type:"regent",
fillType:"actFill",
},
text6:{
label:"溶液,加入预计体积为",
type:"text",
},
yjtj2:{
type:"input",
fillType:"preFill",
},
yjtjdw1:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
selectTo:"sjtjdw1"
},
text7:{
label:",实际休积为",
type:"text",
},
sjtj2:{
type:"input",
fillType:"actFill",
compareTo:"yjtj2",
copyFrom:"yjtj2",
},
sjtjdw1:{
type:"select",
fillType:"preFill",
options: this.getDictOptions("business_tjdw"),
},
text8:{
label:"进行染色。",
type:"text",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

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

@ -57,7 +57,11 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
button2:{
type:"button",
buttonName:"结束"
}
},
text6: {
type: "text",
label: "。",
},
}
}]
}

+ 4
- 0
src/components/Template/StepComponents/ry/tjphcz.vue View File

@ -97,6 +97,10 @@ export default {
type: "button",
buttonName: "获取值",
},
text8: {
type: "text",
label: "。",
},
}
}]
}

+ 5
- 0
src/components/Template/StepComponents/ry/tjphfcz.vue View File

@ -93,6 +93,11 @@ export default {
type: "inputNumber",
fillType: "actFill",
},
text8: {
type: "text",
label: "。",
},
}
}]
}

+ 4
- 0
src/components/Template/StepComponents/ry/tpjydd.vue View File

@ -107,6 +107,10 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
jgpd:{
label:"通过/不通过",
type:"span",
},
text9:{
label:"。",
type:"text",
}
}
}]

+ 4
- 0
src/components/Template/StepComponents/ry/tpjysd.vue View File

@ -206,6 +206,10 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
jgpd:{
label:"通过/不通过",
type:"span",
},
text9:{
label:"。",
type:"text",
}
}
}

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

@ -25,7 +25,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
fillType:"actFill",
},
text2:{
label:"仪器,进行涡旋混匀",
label:"仪器,进行涡旋混匀",
type:"text",
},
}

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

@ -31,7 +31,7 @@ export default {
options: this.getDictOptions('business_rqcz'),
},
text2: {
label: "作为容器",
label: "作为容器",
type: "text",
},
}

+ 4
- 0
src/components/Template/StepComponents/ry/ym.vue View File

@ -101,6 +101,10 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"button",
buttonName:"结束"
},
text9:{
label:"。",
type:"text",
}
}
}]
}

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

@ -25,7 +25,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
fillType:"actFill",
},
text2:{
label:"进行正压操作",
label:"进行正压操作",
type:"text",
}
}

+ 4
- 0
src/components/Template/StepComponents/ry/zyhy.vue View File

@ -93,6 +93,10 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
button1:{
type:"button",
buttonName:"开始"
},
text7:{
label:"。",
type:"text",
}
}
}]

+ 9
- 1
src/components/Template/StepFormPackage.vue View File

@ -21,8 +21,15 @@
@copy="onCopy(sItem, key)" :error="errors[key]" @update:error="errors[key] = false"
:orange-bg="orangeBgFields[key]" />
</template>
<template v-else-if="sItem.type === 'checkbox'">
<HandleFormItem class="step-row" :field-item-label="fieldItemLabel" :field-key="prefixKey + '_' + key"
type="checkbox" :item="sItem" v-model="formFields[key]"
@change="onSelectChange(key, $event, sItem.type)"
@copy="onCopy(sItem, key)" :error="errors[key]" @update:error="errors[key] = false"
:orange-bg="orangeBgFields[key]" />
</template>
<!-- 仪器instrumentregent(药剂) gsp(供试品) mix药剂/供试品/给药制剂 -->
<template v-else-if="sItem.type === 'instrument' || sItem.type === 'regent' || sItem.type === 'gsp' || sItem.type === 'mix'">
<template v-else-if="sItem.type === 'instrument' || sItem.type === 'regent' || sItem.type === 'gsp' || sItem.type === 'mix' || sItem.type === 'xb'">
<HandleFormItem class="step-row" :field-item-label="fieldItemLabel" :field-key="prefixKey + '_' + key"
type="clickable" @clickable="handleClickInstrument(key,sItem.type)" :error="errors[key]"
@update:error="errors[key] = false" @resetRecord="resetRecord(key)" :item="getClickableItem(sItem)"
@ -180,5 +187,6 @@ export default {
align-items: center;
margin-left: 5px;
margin-bottom: 10px;
min-height: 28px;
}
</style>

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

@ -1,5 +1,5 @@
export default {
dicts:["business_tjdw","business_czhj","business_rqcz","business_zldw","business_yqscdw","business_zsdw","business_wddw","business_ccwz"],
dicts:["business_tjdw","business_czhj","business_rqcz","business_zldw","business_yqscdw","business_zsdw","business_wddw","business_ccwz","business_ggdw"],
props: {
formData: {
type: Object,

Loading…
Cancel
Save