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

View File

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