This commit is contained in:
闫晓茹 2023-04-28 14:56:09 +08:00
parent 9ba32ef0f8
commit 297c4ee1fa
27 changed files with 143 additions and 38 deletions

View File

@ -414,9 +414,11 @@ export default {
if (obj.pictureUrlList.length > 0) { if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => {}); updatePicture(obj).then((res) => {});
} }
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
this.form.goodDetailsLists.forEach(e => { this.form.goodDetailsLists.forEach(e => {
@ -424,10 +426,12 @@ export default {
}) })
// this.nurseStationId=this.form.nurseStationId // this.nurseStationId=this.form.nurseStationId
addGoodsInfo(this.form).then((response) => { addGoodsInfo(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.StationName = "请选择所属护理站"; this.StationName = "请选择所属护理站";
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -722,15 +722,19 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateStationDepartment(this.form).then((response) => { updateStationDepartment(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addStationDepartment(this.form).then((response) => { addStationDepartment(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.addopen = false; this.addopen = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -513,6 +513,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateInfo(this.form).then((response) => { updateInfo(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
if (this.form.classifyPictureUrl != this.classifyPictureUrl) { if (this.form.classifyPictureUrl != this.classifyPictureUrl) {
var obj = { pictureUrlList: [] }; var obj = { pictureUrlList: [] };
@ -521,12 +522,15 @@ export default {
} }
this.editopen = false; this.editopen = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addInfo(this.form).then((response) => { addInfo(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -832,18 +832,22 @@ export default {
if (this.form.id != null) { if (this.form.id != null) {
updateCommunityInfo(this.form).then(response => { updateCommunityInfo(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open2 = false; this.open2 = false;
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addCommunityInfo(this.form).then(response => { addCommunityInfo(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.open2 = false; this.open2 = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -302,15 +302,19 @@ export default {
if (valid) { if (valid) {
if (this.form.configId != undefined) { if (this.form.configId != undefined) {
updateConfig(this.form).then(response => { updateConfig(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addConfig(this.form).then(response => { addConfig(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -308,15 +308,19 @@ export default {
if (valid) { if (valid) {
if (this.form.deptId != undefined) { if (this.form.deptId != undefined) {
updateDept(this.form).then(response => { updateDept(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addDept(this.form).then(response => { addDept(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -364,15 +364,19 @@ export default {
if (valid) { if (valid) {
if (this.form.dictCode != undefined) { if (this.form.dictCode != undefined) {
updateData(this.form).then(response => { updateData(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addData(this.form).then(response => { addData(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -415,15 +415,19 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateDiseaseInfo(this.form).then((response) => { updateDiseaseInfo(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addDiseaseInfo(this.form).then((response) => { addDiseaseInfo(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open2 = false; this.open2 = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -472,19 +472,23 @@ export default {
if (obj.pictureUrlList.length > 0) { if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then(res => {}); updatePicture(obj).then(res => {});
} }
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
++this.isResouceShow; ++this.isResouceShow;
this.open = false; this.open = false;
this.getList(); this.getList();
this.info(); this.info();
}
}); });
} else { } else {
addGoodsCategory(this.form).then(response => { addGoodsCategory(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
++this.isResouceShow; ++this.isResouceShow;
this.open = false; this.open = false;
this.getList(); this.getList();
this.info(); this.info();
}
}); });
} }
} }

View File

@ -429,9 +429,11 @@ export default {
} }
this.imgsurl = { pictureUrlList: [] }; this.imgsurl = { pictureUrlList: [] };
++this.isResouceShow; ++this.isResouceShow;
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
this.form.goodDetailsLists.forEach((e) => { this.form.goodDetailsLists.forEach((e) => {
@ -439,10 +441,12 @@ export default {
}); });
addGoodsInfo(this.form).then((response) => { addGoodsInfo(this.form).then((response) => {
++this.isResouceShow; ++this.isResouceShow;
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
// this.StationName = "请选择所属护理站"; // this.StationName = "请选择所属护理站";
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -878,15 +878,19 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateGoodsOrder(this.form).then(response => { updateGoodsOrder(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addGoodsOrder(this.form).then(response => { addGoodsOrder(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -425,15 +425,19 @@ export default {
if (valid) { if (valid) {
if (this.form.menuId != undefined) { if (this.form.menuId != undefined) {
updateMenu(this.form).then(response => { updateMenu(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addMenu(this.form).then(response => { addMenu(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -283,15 +283,19 @@ export default {
if (valid) { if (valid) {
if (this.form.noticeId != undefined) { if (this.form.noticeId != undefined) {
updateNotice(this.form).then(response => { updateNotice(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addNotice(this.form).then(response => { addNotice(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -362,15 +362,19 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateNurseType(this.form).then((response) => { updateNurseType(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addNurseType(this.form).then((response) => { addNurseType(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open2 = false; this.open2 = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -815,15 +815,19 @@ export default {
// this.form.areaCode = Number(item.areaCode); // this.form.areaCode = Number(item.areaCode);
if (this.form.id != null) { if (this.form.id != null) {
updatePatientArchives(this.form).then((response) => { updatePatientArchives(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addPatientArchives(this.form).then((response) => { addPatientArchives(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -58,22 +58,22 @@ export default {
value: "NOT_CHECK", value: "NOT_CHECK",
}], }],
sexs: [{ sexs: [{
label: "男", label: "男",
value: "MALE", value: "MALE",
}, },
{ {
label: "女", label: "女",
value: "FEMALE", value: "FEMALE",
}, },
], ],
nursePersonTypes: [{ nursePersonTypes: [{
label: "护士", label: "护士",
value: "NURSE", value: "NURSE",
}, },
{ {
label: "护理师", label: "护理师",
value: "NURSE_TEACHER", value: "NURSE_TEACHER",
}, },
], ],
innerVisible: false, innerVisible: false,
innerVisible2: false, innerVisible2: false,
@ -202,7 +202,7 @@ export default {
validator: checkMobile2, validator: checkMobile2,
message: "", message: "",
trigger: "blur", trigger: "blur",
}, ], },],
address: [ address: [
{ required: true, message: "居住地址不能为空", trigger: "blur" }, { required: true, message: "居住地址不能为空", trigger: "blur" },
], ],
@ -238,7 +238,7 @@ export default {
this.form.nurseStationPersonCertificateList.push(obj); this.form.nurseStationPersonCertificateList.push(obj);
} }
}, },
imgUrl(imgUrl) {}, imgUrl(imgUrl) { },
//接收图片所属的item //接收图片所属的item
imgclassifyItem(item) { imgclassifyItem(item) {
let items = JSON.parse(item); let items = JSON.parse(item);
@ -509,17 +509,21 @@ export default {
} }
if (this.form.id != null) { if (this.form.id != null) {
updatePerson(this.form).then((response) => { updatePerson(this.form).then((response) => {
this.$modal.msgSuccess("修改成功"); if (response.code == 200) {
this.open = false; this.$modal.msgSuccess("修改成功");
this.getList(); this.open = false;
this.getList();
}
}); });
} else { } else {
addPerson(this.form).then((response) => { addPerson(this.form).then((response) => {
this.$modal.msgSuccess("新增成功"); if (response.code == 200) {
this.open = false; this.$modal.msgSuccess("新增成功");
this.getList(); this.open = false;
this.nurseStationName = "请选择所属护理站"; this.getList();
this.departmentName = "请选择所属科室"; this.nurseStationName = "请选择所属护理站";
this.departmentName = "请选择所属科室";
}
}); });
} }
} }
@ -550,14 +554,14 @@ export default {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal this.$modal
.confirm("是否确认删除护理站人员信息的数据项?") .confirm("是否确认删除护理站人员信息的数据项?")
.then(function() { .then(function () {
return delPerson(ids); return delPerson(ids);
}) })
.then(() => { .then(() => {
this.getList(); this.getList();
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}) })
.catch(() => {}); .catch(() => { });
}, },
/** 导入按钮操作 */ /** 导入按钮操作 */
handleImport() { handleImport() {
@ -599,8 +603,8 @@ export default {
handleExport() { handleExport() {
this.download( this.download(
"system/person/export", { "system/person/export", {
...this.queryParams, ...this.queryParams,
}, },
`person_${new Date().getTime()}.xlsx` `person_${new Date().getTime()}.xlsx`
); );
}, },

View File

@ -984,15 +984,19 @@ export default {
if (this.form.id != null) { if (this.form.id != null) {
updatePoser(this.form).then((response) => { updatePoser(this.form).then((response) => {
var obj = { pictureUrlList: [] }; var obj = { pictureUrlList: [] };
this.$modal.msgSuccess("修改成功"); if (response.code == 200) {
this.open = false; this.$modal.msgSuccess("修改成功");
this.getList(); this.open = false;
this.getList();
}
}); });
} else { } else {
addPoser(this.form).then((response) => { addPoser(this.form).then((response) => {
this.$modal.msgSuccess("新增成功"); if (response.code == 200) {
this.open = false; this.$modal.msgSuccess("新增成功");
this.getList(); this.open = false;
this.getList();
}
}); });
} }
} }

View File

@ -274,15 +274,19 @@ export default {
if (valid) { if (valid) {
if (this.form.postId != undefined) { if (this.form.postId != undefined) {
updatePost(this.form).then(response => { updatePost(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addPost(this.form).then(response => { addPost(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -406,15 +406,19 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateRevenue(this.form).then(response => { updateRevenue(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addRevenue(this.form).then(response => { addRevenue(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -328,7 +328,7 @@ export default {
form: {}, form: {},
defaultProps: { defaultProps: {
children: "children", children: "children",
label: "label" name: "name"
}, },
// //
rules: { rules: {
@ -567,16 +567,20 @@ export default {
if (this.form.roleId != undefined) { if (this.form.roleId != undefined) {
this.form.menuIds = this.getMenuAllCheckedKeys(); this.form.menuIds = this.getMenuAllCheckedKeys();
updateRole(this.form).then(response => { updateRole(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
this.form.menuIds = this.getMenuAllCheckedKeys(); this.form.menuIds = this.getMenuAllCheckedKeys();
addRole(this.form).then(response => { addRole(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }
@ -611,4 +615,4 @@ export default {
} }
} }
}; };
</script> </script>

View File

@ -1096,13 +1096,15 @@ export default {
if (obj.pictureUrlList.length > 0) { if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => { }); updatePicture(obj).then((res) => { });
} }
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addStation(this.form).then((response) => { addStation(this.form).then((response) => {
if (response.code) { if (response.code==200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();

View File

@ -500,6 +500,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateStationClassify(this.form).then((response) => { updateStationClassify(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
if (this.form.classifyPictureUrl != this.classifyPictureUrl) { if (this.form.classifyPictureUrl != this.classifyPictureUrl) {
var obj = { pictureUrlList: [] }; var obj = { pictureUrlList: [] };
@ -508,14 +509,16 @@ export default {
} }
this.editopen = false; this.editopen = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addStationClassify(this.form).then((response) => { addStationClassify(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -1001,19 +1001,23 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateStationConsumable(this.form).then((response) => { updateStationConsumable(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.xgopen = false; this.xgopen = false;
this.getList(); this.getList();
}
}); });
} else { } else {
this.form.nurseStationConsumables.forEach((e) => { this.form.nurseStationConsumables.forEach((e) => {
e.consumablePrice = Number(e.consumablePrice); e.consumablePrice = Number(e.consumablePrice);
}); });
addStationConsumable(this.form).then((response) => { addStationConsumable(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.nurseStationName = "请选择所属护理站"; this.nurseStationName = "请选择所属护理站";
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -1199,19 +1199,23 @@ export default {
e.price = Number(e.price); e.price = Number(e.price);
}); });
updateNurseItem(this.form).then(response => { updateNurseItem(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
this.form.nurseStationItemPrices.forEach(e => { this.form.nurseStationItemPrices.forEach(e => {
e.price = Number(e.price); e.price = Number(e.price);
}); });
addNurseItem(this.form).then(response => { addNurseItem(this.form).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.$forceUpdate(); this.$forceUpdate();
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -394,15 +394,19 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateTrainingCategory(this.form).then((response) => { updateTrainingCategory(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addTrainingCategory(this.form).then((response) => { addTrainingCategory(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -1440,15 +1440,19 @@ export default {
if (obj.pictureUrlList.length > 0) { if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => {}); updatePicture(obj).then((res) => {});
} }
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addTrainingItem(this.form).then((response) => { addTrainingItem(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }

View File

@ -774,15 +774,19 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateTrainingOrder(this.form).then((response) => { updateTrainingOrder(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} else { } else {
addTrainingOrder(this.form).then((response) => { addTrainingOrder(this.form).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}
}); });
} }
} }