Browse Source

feat: [步骤管理] 表配置步骤新增

lkf
memorylkf 1 month ago
parent
commit
c36c1f86e7
2 changed files with 55 additions and 1 deletions
  1. +9
    -1
      src/components/Template/Step.vue
  2. +46
    -0
      src/components/Template/StepComponents/b/jrry_b.vue

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

@ -81,6 +81,8 @@ import kb from "./StepComponents/ry/kb.vue";//溶液-空白
import jr from "./StepComponents/ry/jr.vue";//- import jr from "./StepComponents/ry/jr.vue";//-
// //
//
import jrry_b from './StepComponents/b/jrry_b.vue';//-
import { public_templateStepList } from '@/api/business/public/public'; import { public_templateStepList } from '@/api/business/public/public';
@ -196,8 +198,11 @@ export default {
kbyq, kbyq,
kbsjgsp, kbsjgsp,
kb, kb,
jr
jr,
// //
//
jrry_b,
}, },
computed: { computed: {
stepComponentMap() { stepComponentMap() {
@ -251,6 +256,9 @@ export default {
'jr': 'jr', 'jr': 'jr',
// 'fz': 'fz', // 'fz': 'fz',
// //
//
'jrry_b': 'jrry_b',
} }
} }
return this.componentMap return this.componentMap

+ 46
- 0
src/components/Template/StepComponents/b/jrry_b.vue View File

@ -0,0 +1,46 @@
<!-- 加入溶液 -->
<template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_jrry_b" @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",
},
ytrq: {
fillType: "preFill",
type: "input",
},
yq: {
fillType: "actFill",
type: "yq",
},
text2: {
label: "仪器,按上表进行加液。",
type: "text",
},
reamrk: {
fillType: "actFill",
type: "input",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped></style>

Loading…
Cancel
Save