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 }}
+
+
+
-
+
0) {
updatePicture(this.imgsurl).then((res) => {});
- }
- this.imgsurl={pictureUrlList:[]};
+ }
+ this.imgsurl = { pictureUrlList: [] };
this.open = false;
this.reset();
this.StationName = "请选择所属护理站";
@@ -393,7 +395,7 @@ export default {
if (this.imgone != this.form.goodsPictureUrl) {
obj.pictureUrlList.push(this.imgone);
}
- this.imgsurl={pictureUrlList:[]};
+ this.imgsurl = { pictureUrlList: [] };
if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => {
console.log(res);
@@ -406,9 +408,9 @@ export default {
});
} else {
this.form.goodDetailsLists.forEach(e => {
- e.goodsPrice = Number(e.goodsPrice)
- })
- // this.nurseStationId=this.form.nurseStationId
+ e.goodsPrice = Number(e.goodsPrice)
+ })
+ // this.nurseStationId=this.form.nurseStationId
addGoodsInfo(this.form).then((response) => {
console.log(this.form);
this.$modal.msgSuccess("新增成功");
@@ -482,4 +484,4 @@ export default {
});
},
},
-};
+};
\ No newline at end of file
From 62a9cb31088b3c53853245c6391229603e21a8d4 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 15:19:45 +0800
Subject: [PATCH 04/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/api/system/area.js | 79 +++
src/views/system/OperateGoodsInfo/index.vue | 7 +-
src/views/system/OperateGoodsInfo/indexjs.js | 12 +-
src/views/system/area/index.vue | 534 +++++++++++++++++++
4 files changed, 624 insertions(+), 8 deletions(-)
create mode 100644 src/api/system/area.js
create mode 100644 src/views/system/area/index.vue
diff --git a/src/api/system/area.js b/src/api/system/area.js
new file mode 100644
index 0000000..fa736d6
--- /dev/null
+++ b/src/api/system/area.js
@@ -0,0 +1,79 @@
+import request from '@/utils/request'
+
+
+// 查询区域列表(不分页) 点击push
+export function selectAreaList(areaName, parentCode) {
+ return request({
+ url: `/system/area/selectAreaList?areaName=${areaName}&parentCode=${parentCode}`,
+ method: 'get',
+ })
+}
+
+//搜索
+// 查询区域列表(不分页)
+export function selectAreaListquery(areaName) {
+ return request({
+ url: `/system/area/selectAreaList?areaName=${areaName}`,
+ method: 'get',
+ })
+}
+
+//开局
+// 查询区域列表(不分页)
+export function selectAreaListinfo(areaName) {
+ return request({
+ url: `/system/area/selectAreaList?areaLevel=${areaName}`,
+ method: 'get',
+ })
+}
+
+// 查询区域列表
+export function listArea(query) {
+ return request({
+ url: '/system/area/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询区域详细
+export function getArea(id) {
+ return request({
+ url: '/system/area/' + id,
+ method: 'get'
+ })
+}
+
+// 新增区域
+export function addArea(data) {
+ return request({
+ url: '/system/area/add',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改区域
+export function updateArea(data) {
+ return request({
+ url: '/system/area/edit',
+ method: 'POST',
+ data: data
+ })
+}
+
+// 删除区域
+export function delArea(id) {
+ return request({
+ url: '/system/area/' + id,
+ method: 'POST'
+ })
+}
+
+//边远地区
+export function updateRemoteSigns(id, remoteSigns) {
+ return request({
+ url: `/system/area/updateRemoteSigns?id=${id}&remoteSigns=${remoteSigns}`,
+ method: 'POST'
+ })
+}
\ No newline at end of file
diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue
index 5ddfd01..f117421 100644
--- a/src/views/system/OperateGoodsInfo/index.vue
+++ b/src/views/system/OperateGoodsInfo/index.vue
@@ -122,7 +122,6 @@
align="center"
prop="goodsCategoryName"
/>
-
{{ scope.row.goodsPurpose == "BUSINESS" ? "买卖" : "" }}
@@ -151,7 +150,6 @@
-
@@ -326,8 +324,9 @@
diff --git a/src/views/system/OperateGoodsInfo/indexjs.js b/src/views/system/OperateGoodsInfo/indexjs.js
index a48b806..42dd5af 100644
--- a/src/views/system/OperateGoodsInfo/indexjs.js
+++ b/src/views/system/OperateGoodsInfo/indexjs.js
@@ -191,7 +191,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ attributeDetailsSort: null,
ids: this.ids,
};
this.goodDetailsLists.push(obj);
@@ -244,7 +244,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ attributeDetailsSort: null,
}, ],
}, ];
},
@@ -310,7 +310,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ attributeDetailsSort: null,
ids: 9999999,
}, ];
this.resetForm("form");
@@ -352,7 +352,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ sort: null,
ids: 9999999,
}, ];
this.open = true;
@@ -389,6 +389,10 @@ export default {
this.form.id = this.form.goodsInfoId;
this.form.goodDetailsLists.forEach(e => {
e.goodsPrice = Number(e.goodsPrice)
+ if (e.attributeDetailsSort == '') {
+ e.attributeDetailsSort = null
+ }
+ // e.sort = e.attributeDetailsSort
})
updateGoodsInfo(this.form).then((response) => {
var obj = { pictureUrlList: [] };
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
new file mode 100644
index 0000000..24fef2d
--- /dev/null
+++ b/src/views/system/area/index.vue
@@ -0,0 +1,534 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 否
+ 是
+
+
+
+
+
+
+
+
+
+
+
From 63223d1b42b7ea3eae38ee72ae74111e8ed1241b 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 16:40:31 +0800
Subject: [PATCH 05/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 | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 24fef2d..06e29bc 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -36,7 +36,7 @@
v-model="queryParams.areaName"
placeholder="请输入区域名称"
clearable
- @keyup.enter.native="handleQuery"
+ @keyup.enter.native="resethandleQuery"
/>
@@ -44,7 +44,7 @@
v-model="queryParams.areaCode"
placeholder="请输入区域编码"
clearable
- @keyup.enter.native="handleQuery"
+ @keyup.enter.native="resethandleQuery"
/>
@@ -52,7 +52,7 @@
type="primary"
icon="el-icon-search"
size="mini"
- @click="handleQuery"
+ @click="resethandleQuery"
>搜索
{
- this.queryParams.areaLevel = null;
if (res.data.length > 0) {
res.data.forEach((e) => {
e.children = [
@@ -449,6 +448,14 @@ export default {
this.resetForm("form");
},
/** 搜索按钮操作 */
+ resethandleQuery() {
+ this.queryParams.pageNum = 1;
+ this.queryParams.pageSize = 10;
+ this.queryParams.areaLevel = null;
+ this.queryParams.areaCode = null;
+ this.queryParams.parentName = null;
+ this.getList();
+ },
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
@@ -457,6 +464,7 @@ export default {
resetQuery() {
this.resetForm("queryForm");
this.queryParams.parentCode = null;
+ this.queryParams.areaLevel = 1;
this.handleQuery();
},
// 多选框选中数据
From 44378a5bc33a2877a0ae56b2fc3a97ddafa4af32 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 17:24:03 +0800
Subject: [PATCH 06/18] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 06e29bc..5c04f73 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -18,6 +18,7 @@
:data="deptOptions"
:props="defaultProps"
@node-click="handleNodeClick"
+ @node-expand='handleNodeClick'
>
From 51c41a7bf8d0d714f5e4854a196ceb0f493263b4 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 09:46:10 +0800
Subject: [PATCH 07/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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 5c04f73..49f6087 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -453,7 +453,6 @@ export default {
this.queryParams.pageNum = 1;
this.queryParams.pageSize = 10;
this.queryParams.areaLevel = null;
- this.queryParams.areaCode = null;
this.queryParams.parentName = null;
this.getList();
},
From 3f9e9f1d3d5284b90347bff71af0a53e612c4564 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 09:53:21 +0800
Subject: [PATCH 08/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 | 64 +++++++++++++++++++++++++++++----
1 file changed, 57 insertions(+), 7 deletions(-)
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 49f6087..18b49b1 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -18,7 +18,7 @@
:data="deptOptions"
:props="defaultProps"
@node-click="handleNodeClick"
- @node-expand='handleNodeClick'
+ @node-expand="handleNodeClick"
>
@@ -322,15 +322,65 @@ export default {
methods: {
//修改是否为边远地区
updateRemoteSigns(row) {
- var remoteSigns = null;
if (row.remoteSigns) {
- remoteSigns = 1;
+ this.$confirm("确定修改吗?", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
+ .then(() => {
+ var remoteSigns = null;
+ if (row.remoteSigns) {
+ remoteSigns = 1;
+ } else {
+ remoteSigns = 0;
+ }
+ updateRemoteSigns(row.id, remoteSigns).then((res) => {
+ if (res.code == 200) {
+ this.$message({
+ type: "success",
+ message: "修改为偏远地区!",
+ });
+ }
+ });
+ })
+ .catch(() => {
+ row.remoteSigns = false;
+ this.$message({
+ type: "info",
+ message: "取消修改",
+ });
+ });
} else {
- remoteSigns = 0;
+ this.$confirm("确定修改吗?", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
+ .then(() => {
+ var remoteSigns = null;
+ if (row.remoteSigns) {
+ remoteSigns = 1;
+ } else {
+ remoteSigns = 0;
+ }
+ updateRemoteSigns(row.id, remoteSigns).then((res) => {
+ if (res.code == 200) {
+ this.$message({
+ type: "success",
+ message: "修改为非偏远地区!",
+ });
+ }
+ });
+ })
+ .catch(() => {
+ row.remoteSigns = true;
+ this.$message({
+ type: "info",
+ message: "取消修改",
+ });
+ });
}
- updateRemoteSigns(row.id, remoteSigns).then((res) => {
- this.$modal.msgSuccess("修改成功");
- });
},
// 节点单击事件
handleNodeClick(data) {
From 4c6d691696bad5eec02cf8f1d04b30944324749e 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 09:54:40 +0800
Subject: [PATCH 09/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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue
index f117421..c8b3c8a 100644
--- a/src/views/system/OperateGoodsInfo/index.vue
+++ b/src/views/system/OperateGoodsInfo/index.vue
@@ -276,7 +276,7 @@
@@ -326,7 +326,7 @@
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 @@
{
- this.deptOptions = res.data;
- });
+ if (val == " ") {
+ this.areaName = "";
+ return;
+ } else {
+ selectAreaListquery(val).then((res) => {
+ this.deptOptions = res.data;
+ });
+ }
} else {
- this.selectAreaListin();
+ if (val == "") {
+ } else {
+ this.selectAreaListin();
+ }
}
},
},
From 2684e51159c45b719fd877fadc67442478b78aef 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:37:58 +0800
Subject: [PATCH 14/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 544df00..ce35b94 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -312,7 +312,7 @@ export default {
// 根据名称筛选部门树
areaName(val) {
if (val) {
- if (val == " ") {
+ if (val.includes(" ")) {
this.areaName = "";
return;
} else {
@@ -321,7 +321,7 @@ export default {
});
}
} else {
- if (val == "") {
+ if (val.includes(" ")) {
} else {
this.selectAreaListin();
}
From dfb32bac45e083be7fb9f2f654cde26599f37a28 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 11:46:02 +0800
Subject: [PATCH 15/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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index ce35b94..014904e 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -125,7 +125,6 @@
Date: Wed, 11 Jan 2023 13:40:37 +0800
Subject: [PATCH 16/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 | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 014904e..8e6ba37 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -211,9 +211,9 @@
-
+
否
是
@@ -468,7 +468,9 @@ export default {
/** 查询区域列表 */
getList() {
this.loading = true;
+ console.log(this.queryParams);
listArea(this.queryParams).then((response) => {
+ console.log(1);
response.rows.forEach((e) => {
if (e.remoteSigns == 1) {
e.remoteSigns = true;
@@ -537,6 +539,7 @@ export default {
this.form.parentId = row.id;
this.form.parentCode = row.areaCode;
this.form.parentName = row.areaName;
+ this.form.areaLevel = row.areaLevel
this.title = "添加区域";
this.open = true;
},
@@ -565,6 +568,9 @@ export default {
addArea(this.form).then((response) => {
this.$modal.msgSuccess("新增成功");
this.open = false;
+ this.queryParams.parentCode = this.form.parentCode;
+ this.queryParams.areaLevel = null;
+ console.log(this.queryParams);
this.getList();
});
}
From 40c440bc2cdccf39efc3a2d487c7927d46d63eb0 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 13:45:12 +0800
Subject: [PATCH 17/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 | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 8e6ba37..a088609 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -286,7 +286,9 @@ export default {
remoteSigns: null,
},
// 表单参数
- form: {},
+ form: {
+ remoteSigns: '0',
+ },
// 表单校验
rules: {
areaCode: [
@@ -468,9 +470,7 @@ export default {
/** 查询区域列表 */
getList() {
this.loading = true;
- console.log(this.queryParams);
listArea(this.queryParams).then((response) => {
- console.log(1);
response.rows.forEach((e) => {
if (e.remoteSigns == 1) {
e.remoteSigns = true;
@@ -504,7 +504,7 @@ export default {
updateTime: null,
areaType: null,
parentCode: null,
- remoteSigns: null,
+ remoteSigns: '0',
};
this.resetForm("form");
},
@@ -539,7 +539,7 @@ export default {
this.form.parentId = row.id;
this.form.parentCode = row.areaCode;
this.form.parentName = row.areaName;
- this.form.areaLevel = row.areaLevel
+ this.form.areaLevel = row.areaLevel;
this.title = "添加区域";
this.open = true;
},
@@ -570,7 +570,6 @@ export default {
this.open = false;
this.queryParams.parentCode = this.form.parentCode;
this.queryParams.areaLevel = null;
- console.log(this.queryParams);
this.getList();
});
}
From 0cc668e4fbb9027aa25b83bf8e65b4d2ac4aedeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com>
Date: Thu, 12 Jan 2023 15:21:32 +0800
Subject: [PATCH 18/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/goodsOrder/index.vue | 16 +++++++++++++++-
src/views/system/order/index.vue | 1 +
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/views/system/goodsOrder/index.vue b/src/views/system/goodsOrder/index.vue
index 10d6c0b..d1f9a3a 100644
--- a/src/views/system/goodsOrder/index.vue
+++ b/src/views/system/goodsOrder/index.vue
@@ -36,6 +36,14 @@
+
+
+
+
{{ scope.row.orderChannel == "MOBILE_APP" ? "手机APP" : "" }}
@@ -128,7 +142,7 @@
{{ scope.row.orderChannel == "ALI_PAY_APPLET" ? "支付宝小程序" : "" }}
-
+
+