This commit is contained in:
闫晓茹 2023-02-22 10:47:41 +08:00
parent 18167226a3
commit 2a77ec6bc8
2 changed files with 9 additions and 9 deletions

View File

@ -817,8 +817,8 @@ export default {
// //
this.deletNewImgs.push(imgUrlData.posterPictureUrl) this.deletNewImgs.push(imgUrlData.posterPictureUrl)
console.log(this.deletNewImgs,'触发了上传时间') console.log(this.deletNewImgs,'触发了上传时间')
// this.objitem.push(imgUrlData.posterPictureUrl) this.objitem.push(imgUrlData.posterPictureUrl)
// console.log(this.objitem) console.log(this.objitem)
}, },
imgUrl2(imgUrl) { imgUrl2(imgUrl) {
this.videoForm.showVideoPath = baseurl + imgUrl; this.videoForm.showVideoPath = baseurl + imgUrl;
@ -847,7 +847,7 @@ export default {
this.open = false; this.open = false;
}); });
} }
this.deletNewImgs=[],
this.nurseItemquery.nurseStationId = null; this.nurseItemquery.nurseStationId = null;
this.imgs = { pictureUrlList: [] }; this.imgs = { pictureUrlList: [] };

View File

@ -1122,14 +1122,14 @@ export default {
this.getList(); this.getList();
}); });
} else { } else {
this.form.nurseStationItemPrices.forEach(e => {
e.price = Number(e.price);
});
if( this.form.nurseStationItem.appointmentLimitCount=""){ if( this.form.nurseStationItem.appointmentLimitCount=""){
this.form.nurseStationItem.appointmentLimitCount=null this.form.nurseStationItem.appointmentLimitCount=null
}else{ }else{
this.form.nurseStationItem.appointmentLimitCount=parseInt(this.form.nurseStationItem.appointmentLimitCount) this.form.nurseStationItem.appointmentLimitCount=parseInt(this.form.nurseStationItem.appointmentLimitCount)
} }
this.form.nurseStationItemPrices.forEach(e => {
e.price = Number(e.price);
});
addNurseItem(this.form).then(response => { addNurseItem(this.form).then(response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");