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) => { });