From 2a77ec6bc85116642d4210d7dbe9306b16503131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Wed, 22 Feb 2023 10:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/poser/index.vue | 6 +++--- src/views/system/stationItem/index.vue | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/system/poser/index.vue b/src/views/system/poser/index.vue index 66fe7d5..a50d25e 100644 --- a/src/views/system/poser/index.vue +++ b/src/views/system/poser/index.vue @@ -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: [] }; diff --git a/src/views/system/stationItem/index.vue b/src/views/system/stationItem/index.vue index fc49c49..7214df0 100644 --- a/src/views/system/stationItem/index.vue +++ b/src/views/system/stationItem/index.vue @@ -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();