From c9c1b6a7bd34e8247a5fbd887b2e56302fb0558a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 30 Dec 2022 14:01:41 +0800 Subject: [PATCH 01/18] =?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/stationAvatar/index.vue | 28 ++++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue index 19235f7..185d0d5 100644 --- a/src/views/system/stationAvatar/index.vue +++ b/src/views/system/stationAvatar/index.vue @@ -217,19 +217,23 @@ export default { // 上传图片 uploadImg() { let formData = new FormData(); - formData.append("file", this.previews.data); - formData.append("type", this.types); - updateNurseStationHeads(formData).then((response) => { - this.options.img = baseurl + response.imgUrl; - this.$emit("imgUrl", response.imgUrl); - console.log(this.items); - console.log(this.types); - if (this.types == "attributePitureUrl") { - this.items.attributePitureUrl = response.imgUrl; - this.$emit("item", JSON.stringify(this.items)); - } + if (this.previews.data) { + formData.append("file", this.previews.data); + formData.append("type", this.types); + updateNurseStationHeads(formData).then((response) => { + this.options.img = baseurl + response.imgUrl; + this.$emit("imgUrl", response.imgUrl); + console.log(this.items); + console.log(this.types); + if (this.types == "attributePitureUrl") { + this.items.attributePitureUrl = response.imgUrl; + this.$emit("item", JSON.stringify(this.items)); + } + this.openimg = false; + }); + } else { this.openimg = false; - }); + } }, // 实时预览 realTime(data) { From dd5ff2ec040c2197fd24608c82824786f539c209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 30 Dec 2022 14:10:25 +0800 Subject: [PATCH 02/18] =?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/stationAvatar/index.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue index 185d0d5..b92f238 100644 --- a/src/views/system/stationAvatar/index.vue +++ b/src/views/system/stationAvatar/index.vue @@ -72,7 +72,7 @@ - + + 提 交 @@ -223,8 +223,6 @@ export default { updateNurseStationHeads(formData).then((response) => { this.options.img = baseurl + response.imgUrl; this.$emit("imgUrl", response.imgUrl); - console.log(this.items); - console.log(this.types); if (this.types == "attributePitureUrl") { this.items.attributePitureUrl = response.imgUrl; this.$emit("item", JSON.stringify(this.items)); From 7c96ddade7ecd7647ffdbf5bf9915b7a28575d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 9 Jan 2023 10:28:05 +0800 Subject: [PATCH 03/18] =?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/OperateGoodsInfo/index.vue | 19 +++++--- src/views/system/OperateGoodsInfo/indexjs.js | 50 ++++++++++---------- 2 files changed, 39 insertions(+), 30 deletions(-) diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue index d6f7b1f..5ddfd01 100644 --- a/src/views/system/OperateGoodsInfo/index.vue +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -214,7 +214,7 @@ @click="clickinnerVisible" v-if="StationName == '请选择所属护理站'" style=" - width: 200px; + width: 210px; text-align: left; height: 36px; color: #c0c4cc; @@ -227,10 +227,9 @@ @click="clickinnerVisible" v-else style=" - width: 200px; + width: 210px; text-align: left; height: 36px; - padding-left: -10px; overflow: hidden; " >{{ StationName }} + + + - + From d0b7dd55fcdd214d86ea79f21f4d8258bc687e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Tue, 10 Jan 2023 10:30:57 +0800 Subject: [PATCH 10/18] =?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/station/stationjs.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/system/station/stationjs.js b/src/views/system/station/stationjs.js index 54279fd..9567591 100644 --- a/src/views/system/station/stationjs.js +++ b/src/views/system/station/stationjs.js @@ -162,7 +162,7 @@ export default { methods: { imgs(item) { this.imgsurl.pictureUrlList.push(item); - }, + }, imgUrl(imgUrl) { this.form.stationPictureUrl = imgUrl; }, @@ -254,10 +254,13 @@ export default { } if (this.imgsurl.pictureUrlList.length > 0) { updatePicture(this.imgsurl).then((res) => {}); - } - this.imgsurl={pictureUrlList:[]}; + } + this.imgsurl = { pictureUrlList: [] }; this.open = false; this.reset(); + this.arealist = [] + this.citylist = [] + this.streetlist = [] }, // 表单重置 reset() { @@ -373,7 +376,7 @@ export default { if (this.imgtwo != this.form.stationPictureUrl) { obj.pictureUrlList.push(this.imgtwo); } - this.imgsurl={pictureUrlList:[]}; + this.imgsurl = { pictureUrlList: [] }; if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => {}); } @@ -458,4 +461,4 @@ export default { this.upload.isUploading = true; }, }, -}; +}; \ No newline at end of file From f02066ca9d5ce25197c4ae5e3b3dd0ab5b9ebb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Tue, 10 Jan 2023 10:32:43 +0800 Subject: [PATCH 11/18] =?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/area/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index 18b49b1..108598f 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -157,14 +157,14 @@ v-hasPermi="['system:area:edit']" >修改 - 删除 + > --> From 8d96312c8281c0a447f5dac12b7bb38818c80341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 11 Jan 2023 09:23:24 +0800 Subject: [PATCH 12/18] =?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/area/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index 108598f..ecdb234 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -323,7 +323,7 @@ export default { //修改是否为边远地区 updateRemoteSigns(row) { if (row.remoteSigns) { - this.$confirm("确定修改吗?", { + this.$confirm('确定修改"' + row.areaName + '"为偏远地区吗?', { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", @@ -352,7 +352,7 @@ export default { }); }); } else { - this.$confirm("确定修改吗?", { + this.$confirm('确定修改"' + row.areaName + '"为非偏远地区吗吗?', { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", From ca1adb157d4c41d5e9c9f0d2c366ba1925a1f1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 11 Jan 2023 10:30:52 +0800 Subject: [PATCH 13/18] =?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/area/index.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index ecdb234..544df00 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -125,6 +125,7 @@