Browse Source

feat: [步骤管理] 解冻改成融解,破片确认修改

luojie
memorylkf 2 weeks ago
parent
commit
54a31ae12c
3 changed files with 135 additions and 3 deletions
  1. +3
    -2
      src/components/Template/Step.vue
  2. +101
    -0
      src/components/Template/StepComponents/swypfx/jd_swypfx.vue
  3. +31
    -1
      src/components/Template/StepComponents/xb/bpqr.vue

+ 3
- 2
src/components/Template/Step.vue View File

@ -106,7 +106,7 @@ import cl from './StepComponents/b/cl.vue';//表配制-称量
// //
//-使-
import jd_swypfx from './StepComponents/swypfx/jd_swypfx.vue';//--
//-使- //-使-
//-使- //-使-
import jryp from './StepComponents/swypfx/jryp.vue';//- import jryp from './StepComponents/swypfx/jryp.vue';//-
@ -441,6 +441,7 @@ export default {
cl, cl,
// //
jd_swypfx,
jryp, jryp,
hhspe, hhspe,
zyfc, zyfc,
@ -657,7 +658,7 @@ export default {
'fr_b': 'Fr', 'fr_b': 'Fr',
// //
'jd_swypfx': 'Jd',
'jd_swypfx': 'jd_swypfx',
'jryp': 'jryp', 'jryp': 'jryp',
'ysfy': 'Lx', 'ysfy': 'Lx',
'hhspe': 'hhspe', 'hhspe': 'hhspe',

+ 101
- 0
src/components/Template/StepComponents/swypfx/jd_swypfx.vue View File

@ -0,0 +1,101 @@
<!-- 解冻-改成了融解 -->
<template>
<StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_jd'" @resetRecord="resetRecord" :form-config="formConfig"
@select="select"
: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: 'jd_swypfx',
},
},
components: {
StepFormPackage
},
methods: {
select(data) {
const {value,key} = data;
if(key==='sjccwz'){
this.updateWcData("sjwd",value);
}
}
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "将上述样品预计放置于",
type: "text",
},
ccwz: {
type: "input",
// options: this.getDictOptions("business_ccwz"),
fillType: "preFill",
otherCode: "ccwzOther",
},
text3: {
label: "实际放置于",
type: "text",
},
sjccwz: {
type: "select",
options: this.getDictOptions("business_ccwz"),
fillType: "actFill",
otherCode: "sjccwzOther",
compareTo: "ccwz",
},
text4: {
label: "位置,其环境条件预计为",
type: "text",
},
yjwd: {
type: "select",
options: this.getDictOptions("business_cctj"),
multiple: true,
fillType: "preFill",
otherCode: "yjwdOther",
},
text5: {
label: ",实际条件为",
type: "text",
},
sjwd: {
type: "select",
options: this.getDictOptions("business_cctj"),
multiple: true,
fillType: "actFill",
otherCode: "sjwdOther",
compareTo: "yjwd",
},
text6: {
label: "进行融解",
type: "text",
},
text9: {
type: "text",
label: "。",
},
remark: {
type: "input",
fillType: "actFill",
}
}
}]
return config
}
},
}
</script>
<style lang="scss" scoped></style>

+ 31
- 1
src/components/Template/StepComponents/xb/bpqr.vue View File

@ -52,13 +52,43 @@ export default {
otherCode: "ccwzOther", otherCode: "ccwzOther",
}, },
text3: { text3: {
label: "冰冻时长为",
label: "冰冻时长预计为",
type: "text", type: "text",
}, },
sj: { sj: {
fillType: "actFill", fillType: "actFill",
type: "input", type: "input",
}, },
text6:{
type:"text",
label:"冰冻",
},
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 return config

Loading…
Cancel
Save