From 588090de0aa7121e4c29697eae46580d1f10cce9 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Mon, 18 Mar 2024 22:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=B4=A8=E8=AF=81=E4=B9=A6=E9=A2=84?= =?UTF-8?q?=E8=AD=A6=E7=AD=89=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 13 +- src/api/purchase/supCertRedmindMsg.js | 9 + src/views/basic/product/productEdit.vue | 2 +- src/views/index.vue | 22 +- src/views/purchase/cert/supCertAddDialog.vue | 319 +++++----- .../purchase/cert/supCertificationAdd.vue | 2 +- .../supManufacturerAuditDialog.vue | 8 + .../supManufacturerEditDialog.vue | 19 +- .../product/supProductAuditDialog.vue | 8 +- .../purchase/product/supProductEditDialog.vue | 16 +- src/views/remind/supCertRemindMsg.vue | 546 +++++++++--------- .../supplier/products/supDiProductsCheck.vue | 4 +- 13 files changed, 507 insertions(+), 463 deletions(-) diff --git a/.env.development b/.env.development index 2554ec7..e29fc9f 100644 --- a/.env.development +++ b/.env.development @@ -4,7 +4,7 @@ VUE_APP_TITLE = 供应商自助管理平台 # 开发环境配置 ENV = 'development' -VUE_APP_BASE_API = 'http://192.168.0.166:9993' +VUE_APP_BASE_API = 'http://127.0.0.1:9993' # 应用访问路径 例如使用前缀 /admin/ VUE_APP_CONTEXT_PATH = '/' diff --git a/.env.production b/.env.production index a6e285b..77d7d93 100644 --- a/.env.production +++ b/.env.production @@ -11,16 +11,11 @@ ENV = 'production' # VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_SPMS_SERVER/' # 平潭 -# VUE_APP_BASE_API = 'http://121.204.169.96:9150/UDI_SPMS_SERVER/' +VUE_APP_BASE_API = 'http://121.204.169.96:9150/UDI_SPMS_SERVER/' # 文明懂 # VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_SPMS_SERVER/' -# 刘恩典 -# VUE_APP_BASE_API = 'http://192.168.0.117:9150/UDI_SPMS_SERVER/' -# VUE_APP_BASE_API = 'http://192.168.0.117:9170/UDI_SPMS_SERVER/' -# VUE_APP_BASE_API = 'http://192.168.0.127:9170/UDI_SPMS_SERVER/' - # 漳州中医院 # VUE_APP_BASE_API = 'http://116.204.116.198:9150/UDI_SPMS_SERVER/' @@ -41,11 +36,13 @@ ENV = 'production' # 大田 # VUE_APP_BASE_API = 'http://110.83.220.178:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://122.112.160.36:9160/UDI_SPMS_SERVER/ -# 云霄妇幼' +# 云霄妇幼 # VUE_APP_BASE_API = 'http://192.168.0.72:9150/UDI_SPMS_SERVER/' # 南靖 -VUE_APP_BASE_API = 'http://183.250.74.182:9150/UDI_SPMS_SERVER/' +# VUE_APP_BASE_API = 'http://183.250.74.182:9150/UDI_SPMS_SERVER/' + +# VUE_APP_BASE_API = 'http://192.168.20.128:9150/UDI_SPMS_SERVER/' # 东山 # VUE_APP_BASE_API = 'http://116.204.108.228:9150/UDI_SPMS_SERVER/' diff --git a/src/api/purchase/supCertRedmindMsg.js b/src/api/purchase/supCertRedmindMsg.js index d2c35d9..0e2c9c3 100644 --- a/src/api/purchase/supCertRedmindMsg.js +++ b/src/api/purchase/supCertRedmindMsg.js @@ -8,6 +8,15 @@ export function getSupCertRemindMsgList(params) { }); } +export function getSupCertgetCount(params) { + return axios({ + url: "/sup/cert/remind/msg/getCount", + method: "get", + params: params + }); +} + + export function confirmMsg(params) { return axios({ url: "/sup/cert/remind/msg/confirmMsg", diff --git a/src/views/basic/product/productEdit.vue b/src/views/basic/product/productEdit.vue index a0db19f..e0b7a20 100644 --- a/src/views/basic/product/productEdit.vue +++ b/src/views/basic/product/productEdit.vue @@ -391,7 +391,7 @@ - + diff --git a/src/views/index.vue b/src/views/index.vue index 26ea422..d86b596 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -37,7 +37,7 @@ -
+
库存预警 @@ -58,12 +58,13 @@
-
+
资质预警 - - {{ invMsgCount }} + + {{ certMsgCount }}
@@ -81,7 +82,7 @@ 重新加载 + @click.stop=""> 更多 @@ -216,7 +217,7 @@ import invSvg from "@/assets/svg/库存预警.svg" import certSvg from "@/assets/svg/资质预警.svg" import {getInvRemindMsgList} from "../api/system/invRemindMsg"; import {getUdiInfos} from "../api/basic/udiRelevance"; -import {getSupCertRemindMsgList} from "../api/purchase/supCertRedmindMsg"; +import {getSupCertgetCount, getSupCertRemindMsgList} from "../api/purchase/supCertRedmindMsg"; export default { name: "Index", @@ -277,12 +278,13 @@ export default { status: 1, ignoreStatus: 0 } - getSupCertRemindMsgList(param).then(res => { - this.certMsgCount = res.data?.total || 0 + getSupCertgetCount(param).then(res => { + this.certMsgCount = res.data }) }, linkPage(path) { - this.$router.push({path}) + console.log(path) + this.$router.push(path) }, getSysMsgTodoList() { this.msgLoading = true @@ -329,7 +331,7 @@ export default { this.orderList = []; this.orderTotal = 0; }); - } + }, }, }; diff --git a/src/views/purchase/cert/supCertAddDialog.vue b/src/views/purchase/cert/supCertAddDialog.vue index 74d670b..5f82735 100644 --- a/src/views/purchase/cert/supCertAddDialog.vue +++ b/src/views/purchase/cert/supCertAddDialog.vue @@ -7,142 +7,143 @@ :loading="loading">提交 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +