This commit is contained in:
闫晓茹 2023-02-21 11:54:46 +08:00
parent 0d252641d2
commit 3af1496779
3 changed files with 9 additions and 2 deletions

View File

@ -523,6 +523,9 @@ export default {
this.getList(); this.getList();
}); });
} else { } else {
if(this.form.nurseClassifyInfoList[0].classifySort){
this.form.nurseClassifyInfoList[0].classifySort = parseInt(this.form.nurseClassifyInfoList[0].classifySort);
}
addInfo(this.form).then((response) => { addInfo(this.form).then((response) => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;

View File

@ -512,6 +512,9 @@ export default {
}); });
} else { } else {
addStationClassify(this.form).then((response) => { addStationClassify(this.form).then((response) => {
if(this.form.nurseClassifyInfoList[0].classifySort){
this.form.nurseClassifyInfoList[0].classifySort=parseInt(this.form.nurseClassifyInfoList[0].classifySort)
}
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();

View File

@ -1353,10 +1353,11 @@ export default {
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) => { if( this.form.nurseStationItem.appointmentLimitCount){
if( this.form.nurseStationItem.appointmentLimitCount){
this.form.nurseStationItem.appointmentLimitCount=parseInt(this.form.nurseStationItem.appointmentLimitCount) this.form.nurseStationItem.appointmentLimitCount=parseInt(this.form.nurseStationItem.appointmentLimitCount)
} }
addNurseItem(this.form).then((response) => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.$forceUpdate(); this.$forceUpdate();
this.open = false; this.open = false;