From cb230172dab2f5a6784ddad76678a3118999e4f0 Mon Sep 17 00:00:00 2001 From: "2090205686@qq.com" Date: Tue, 10 Jun 2025 17:30:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E4=B8=AD=E5=BF=83=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=A8=A1=E5=9D=97=E5=BC=80=E5=8F=91=E5=8F=8A=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5=E5=90=8E=E5=8F=B0=EF=BC=8C=E5=AE=A2=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=B7=BB=E5=8A=A0=E6=97=A5=E6=9C=9F=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/api/common.js | 2 +- src/api/goods/info.js | 4 +- src/components/myUploadImage.vue | 4 +- src/router/index.js | 6 + src/store/modules/operate.js | 32 ++ src/views/customer/customerCategory.vue | 13 +- src/views/customer/customerManage.vue | 13 +- src/views/goods/contrabandManage/index.vue | 19 +- src/views/goods/goodsCategory/index.vue | 16 +- src/views/goods/goodsManage/addGoods.vue | 26 +- src/views/goods/goodsManage/editGoods.vue | 31 +- src/views/goods/goodsManage/index.vue | 203 +++---- src/views/goods/goodsManage/seeDetails.vue | 634 +++++++++++++++++++++ src/views/login.vue | 2 +- 15 files changed, 837 insertions(+), 170 deletions(-) create mode 100644 src/store/modules/operate.js create mode 100644 src/views/goods/goodsManage/seeDetails.vue diff --git a/.env.development b/.env.development index 6f56968..5bbd0a4 100644 --- a/.env.development +++ b/.env.development @@ -5,5 +5,5 @@ VITE_APP_TITLE = 运营云后台管理系统 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.18.99:8080/' +VITE_APP_BASE_API = 'http://192.168.18.99:8080' VITE_APP_PLATFORM = 'http://localhost:9000/platform' \ No newline at end of file diff --git a/src/api/common.js b/src/api/common.js index fc80f79..d65c61d 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -3,7 +3,7 @@ import request from '@/utils/request' //云南省所有区域信息 export function getRegion(code) { let codeVal = code ? code : '530000'; - return request('/apis/system/area/region?areaCode=' + codeVal, { + return request('/goods/goodInfoManage/goodArea?areaCode=' + codeVal, { method: 'GET', }); } diff --git a/src/api/goods/info.js b/src/api/goods/info.js index 67a22ba..e3de400 100644 --- a/src/api/goods/info.js +++ b/src/api/goods/info.js @@ -118,8 +118,8 @@ export function categoryRemove(data) { // 启用或禁用商品分类 export function enableAndDisableCategory(data) { return request({ - url: "/goods/business/category/add", - method: "post", + url: "/goods/business/category/enable", + method: "put", data: data, }); } diff --git a/src/components/myUploadImage.vue b/src/components/myUploadImage.vue index 5501de9..fa885fb 100644 --- a/src/components/myUploadImage.vue +++ b/src/components/myUploadImage.vue @@ -1,6 +1,6 @@ + diff --git a/src/views/login.vue b/src/views/login.vue index a233847..3babec8 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -100,7 +100,7 @@ const userStore = useUserStore(); const route = useRoute(); const router = useRouter(); const { proxy } = getCurrentInstance(); -const showType = ref(2); +const showType = ref(1); const loginForm = ref({ username: "admin",