From 67a66052b0f3819a06a01ab0ff0de5f6300d965a Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 7 Nov 2023 14:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A4=E7=90=86=E7=AB=99?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/station/index.vue | 4 ++-- src/views/system/station/stationjs.js | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/system/station/index.vue b/src/views/system/station/index.vue index 73b584f..f80ec4b 100644 --- a/src/views/system/station/index.vue +++ b/src/views/system/station/index.vue @@ -341,10 +341,10 @@ :type="'stationPictureUrl'" /> - + diff --git a/src/views/system/station/stationjs.js b/src/views/system/station/stationjs.js index 5dfc2f4..08838b1 100644 --- a/src/views/system/station/stationjs.js +++ b/src/views/system/station/stationjs.js @@ -209,7 +209,7 @@ export default { this.form.stationPictureUrl = imgUrl; }, imgUrl2(imgUrl) { - this.form.stationIntroducePcitureUrl = imgUrl; + this.form.stationIntroducePictureUrl = imgUrl; }, delnurseStationLabelList(index, item) { // this.looknurseStationLabel.splice(index,1) @@ -280,8 +280,8 @@ export default { // 取消按钮 cancel() { var obj = { pictureUrlList: [] }; - if (this.imgone != this.form.stationIntroducePcitureUrl) { - obj.pictureUrlList.push(this.form.stationIntroducePcitureUrl); + if (this.imgone != this.form.stationIntroducePictureUrl) { + obj.pictureUrlList.push(this.form.stationIntroducePictureUrl); } if (this.imgtwo != this.form.stationPictureUrl) { obj.pictureUrlList.push(this.form.stationPictureUrl); @@ -318,7 +318,7 @@ export default { dutyPerson: null, dutyPhone: null, stationPictureUrl: null, - stationIntroducePcitureUrl: null, + stationIntroducePictureUrl: null, sort: null, nurseStationLabelList: [], streetCode: null, @@ -460,7 +460,7 @@ export default { } this.form = response.data; this.form.streetCode = this.form.streetName; - this.imgone = this.form.stationIntroducePcitureUrl; + this.imgone = this.form.stationIntroducePictureUrl; this.imgtwo = this.form.stationPictureUrl; this.looknurseStationLabel = response.data.nurseStationLabel; this.open = true; @@ -498,7 +498,7 @@ export default { if (this.form.id != null) { updateStation(this.form).then((response) => { var obj = { pictureUrlList: [] }; - if (this.imgone != this.form.stationIntroducePcitureUrl) { + if (this.imgone != this.form.stationIntroducePictureUrl) { obj.pictureUrlList.push(this.imgone); } if (this.imgtwo != this.form.stationPictureUrl) { @@ -538,7 +538,7 @@ export default { }) .then(() => { var obj = { pictureUrlList: [] }; - obj.pictureUrlList.push(row.stationIntroducePcitureUrl); + obj.pictureUrlList.push(row.stationIntroducePictureUrl); obj.pictureUrlList.push(row.stationPictureUrl); if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => { });