|
@@ -13,7 +13,7 @@
|
|
|
<div class="label">耗材规格</div>
|
|
|
<div class="cotent">
|
|
|
<el-input
|
|
|
- v-model="opreateModelForm.apparatus_specs_name"
|
|
|
+ v-model="opreateModelForm.specsName"
|
|
|
placeholder
|
|
|
></el-input>
|
|
|
</div>
|
|
@@ -22,7 +22,7 @@
|
|
|
<div class="label">消耗周期</div>
|
|
|
<div class="cotent">
|
|
|
<el-input
|
|
|
- v-model="opreateModelForm.apparatus_consumption_cycle"
|
|
|
+ v-model="opreateModelForm.consumption_cycle"
|
|
|
placeholder
|
|
|
></el-input>
|
|
|
</div>
|
|
@@ -252,6 +252,8 @@ export default {
|
|
|
cbHeTempSetStep: 0,
|
|
|
cbCoEquipCtrl: 0,
|
|
|
cbHeEquipCtrl: 0,
|
|
|
+ specsName:"",
|
|
|
+ consumption_cycle:0,
|
|
|
},
|
|
|
supportAssistOptions: [
|
|
|
{
|
|
@@ -293,6 +295,8 @@ export default {
|
|
|
cbHeTempSetStep: 0,
|
|
|
cbCoEquipCtrl: 0,
|
|
|
cbHeEquipCtrl: 0,
|
|
|
+ specsName:"",
|
|
|
+ consumption_cycle:0,
|
|
|
};
|
|
|
} else {
|
|
|
this.opreateModelForm = {
|
|
@@ -308,6 +312,8 @@ export default {
|
|
|
cbHeTempSetStep: 0,
|
|
|
cbCoEquipCtrl: 0,
|
|
|
cbHeEquipCtrl: 0,
|
|
|
+ specsName:"",
|
|
|
+ consumption_cycle:0,
|
|
|
};
|
|
|
}
|
|
|
}
|
|
@@ -332,6 +338,9 @@ export default {
|
|
|
cbHeTempSetStep: n.cbHeTempSetStep || 0,
|
|
|
cbCoEquipCtrl: n.cbCoEquipCtrl || 0,
|
|
|
cbHeEquipCtrl: n.cbHeEquipCtrl || 0,
|
|
|
+ specsName: n.specsName || "",
|
|
|
+ consumption_cycle: n.consumption_cycle || 0,
|
|
|
+
|
|
|
};
|
|
|
}
|
|
|
},
|
|
@@ -359,7 +368,8 @@ export default {
|
|
|
cbHeTempSetStep,
|
|
|
cbCoEquipCtrl,
|
|
|
cbHeEquipCtrl,
|
|
|
-
|
|
|
+ specsName,
|
|
|
+ consumption_cycle,
|
|
|
} = this.opreateModelForm;
|
|
|
const res = await createApparatusModel({
|
|
|
cbAddrOffset,
|
|
@@ -375,6 +385,8 @@ export default {
|
|
|
cbHeTempSetStep,
|
|
|
cbCoEquipCtrl,
|
|
|
cbHeEquipCtrl,
|
|
|
+ specsName,
|
|
|
+ consumption_cycle,
|
|
|
});
|
|
|
if (res.code === 200) {
|
|
|
this.$message({
|
|
@@ -403,6 +415,8 @@ export default {
|
|
|
cbHeTempSetStep,
|
|
|
cbCoEquipCtrl,
|
|
|
cbHeEquipCtrl,
|
|
|
+ specsName,
|
|
|
+ consumption_cycle,
|
|
|
} = this.opreateModelForm;
|
|
|
const res = await editApparatusModel({
|
|
|
cbAddrOffset,
|
|
@@ -419,10 +433,12 @@ export default {
|
|
|
cbHeTempSetStep,
|
|
|
cbCoEquipCtrl,
|
|
|
cbHeEquipCtrl,
|
|
|
+ specsName,
|
|
|
+ consumption_cycle,
|
|
|
});
|
|
|
if (res.code === 200) {
|
|
|
this.$message({
|
|
|
- message: "新增设备型号成功",
|
|
|
+ message: "操作成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
} else {
|