Browse Source

feat: [步骤管理] 新增谱匀浆组织表步骤

ouqian
memorylkf 1 month ago
parent
commit
df666f6c8a
7 changed files with 64 additions and 6 deletions
  1. +17
    -1
      src/components/Template/Step.vue
  2. +1
    -1
      src/components/Template/StepComponents/b/cl.vue
  3. +1
    -1
      src/components/Template/StepComponents/b/jrry_b.vue
  4. +42
    -0
      src/components/Template/StepComponents/spyjzzb/jszz.vue
  5. +1
    -1
      src/components/Template/StepComponents/swypfx/hhspe.vue
  6. +1
    -1
      src/components/Template/StepComponents/swypfx/jryp.vue
  7. +1
    -1
      src/components/Template/StepComponents/swypfx/zyfc.vue

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

@ -121,6 +121,13 @@ import zyfc from './StepComponents/swypfx/zyfc.vue';//生物样品分析-转移
//-使- //-使-
//-使- //-使-
//
import jszz from './StepComponents/spyjzzb/jszz.vue';//-
//-使-
//-使-
import { public_templateStepList } from '@/api/business/public/public'; import { public_templateStepList } from '@/api/business/public/public';
@ -245,7 +252,10 @@ export default {
// //
jryp, jryp,
hhspe, hhspe,
zyfc
zyfc,
//
jszz,
}, },
computed: { computed: {
stepComponentMap() { stepComponentMap() {
@ -334,6 +344,12 @@ export default {
'xtspe': 'hhspe', 'xtspe': 'hhspe',
'zyfc': 'zyfc', 'zyfc': 'zyfc',
//
'jszz':'jszz',
'cqzz':'jszz',
'yjyhh':'jszz',
} }
} }
return this.componentMap return this.componentMap

+ 1
- 1
src/components/Template/StepComponents/b/cl.vue View File

@ -1,6 +1,6 @@
<!-- 称量 --> <!-- 称量 -->
<template> <template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_cl" @resetRecord="resetRecord" :form-config="formConfig"
<StepFormPackage ref="stepFormPackageRef" prefixKey="b_cl" @resetRecord="resetRecord" :form-config="formConfig"
:formData="formData" /> :formData="formData" />
</template> </template>

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

@ -1,6 +1,6 @@
<!-- 加入溶液 --> <!-- 加入溶液 -->
<template> <template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_jrry_b" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
<StepFormPackage ref="stepFormPackageRef" prefixKey="b_jrry_b" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
</template> </template>
<script> <script>

+ 42
- 0
src/components/Template/StepComponents/spyjzzb/jszz.vue View File

@ -0,0 +1,42 @@
<!-- 剪碎组织 -->
<template>
<StepFormPackage ref = "stepFormPackageRef" prefixKey="spyjzzb_jszz" @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: 'jszz',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
return [{
config:{
text1:{
label:this.sn==='jszz'? "取上述组织,在冰板上剪碎。":this.sn==='cqzz'? "使用上述电子天平,称取剪碎的组织于匀浆管中。":this.sn==='yjyhh'? "将同一动物的同种组织匀浆液混匀。":"",
type:"text",
},
check:{
type:"checkbox",
fillType:"actFill",
},
}
}]
}
},
}
</script>
<style lang="scss" scoped>
</style>

+ 1
- 1
src/components/Template/StepComponents/swypfx/hhspe.vue View File

@ -1,6 +1,6 @@
<!-- 活化SPE --> <!-- 活化SPE -->
<template> <template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_hhspe" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
<StepFormPackage ref="stepFormPackageRef" prefixKey="swypfx_hhspe" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
</template> </template>
<script> <script>

+ 1
- 1
src/components/Template/StepComponents/swypfx/jryp.vue View File

@ -1,6 +1,6 @@
<!-- 加入样品 --> <!-- 加入样品 -->
<template> <template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_jryp" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
<StepFormPackage ref="stepFormPackageRef" prefixKey="swypfx_jryp" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
</template> </template>
<script> <script>

+ 1
- 1
src/components/Template/StepComponents/swypfx/zyfc.vue View File

@ -1,6 +1,6 @@
<!-- 转移分层 --> <!-- 转移分层 -->
<template> <template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_zyfc" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
<StepFormPackage ref="stepFormPackageRef" prefixKey="swypfx_zyfc" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
</template> </template>
<script> <script>

Loading…
Cancel
Save