From 679145f899da06fa4d8caf33c2a4faf187c21f68 Mon Sep 17 00:00:00 2001 From: lzhizhao <790086754@qq.com> Date: Thu, 3 Jul 2025 10:42:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E7=9A=84type=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/operation-management/notice/index.vue | 4 ---- .../notice/popup/add-or-update.vue | 13 +------------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/views/modules/operation-management/notice/index.vue b/src/views/modules/operation-management/notice/index.vue index a377617..9b76fc6 100644 --- a/src/views/modules/operation-management/notice/index.vue +++ b/src/views/modules/operation-management/notice/index.vue @@ -140,7 +140,6 @@ export default { advanceSellStatus: "", dataList: [], formInline: { - type: 0, targetId: "", position: "3", }, @@ -180,14 +179,12 @@ export default { JSON.parse(sessionStorage.getItem("userInfo")).role === "ROLE_MANAGER" ) { this.formInline = { - type: 0, targetId: this.marketId, position: "2", app: 1, }; } else { this.formInline = { - type: 0, targetId: this.shopId, position: "3", app: 1, @@ -242,7 +239,6 @@ export default { }, Reset() { this.formInline = { - type: 0, targetId: this.shopId, position: "3", app: 1, diff --git a/src/views/modules/operation-management/notice/popup/add-or-update.vue b/src/views/modules/operation-management/notice/popup/add-or-update.vue index 74829fd..cb227e5 100644 --- a/src/views/modules/operation-management/notice/popup/add-or-update.vue +++ b/src/views/modules/operation-management/notice/popup/add-or-update.vue @@ -59,20 +59,9 @@ export default { targetId: row.targetId, title: "", position: row.position, - type: 0, status: true, app: 1, }; - if ( - JSON.parse(sessionStorage.getItem("userInfo")).role === - "ROLE_MANAGER" || - JSON.parse(sessionStorage.getItem("userInfo")).role === - "ROLE_MERCHANT" - ) { - this.modalData.type = 0; - } else { - this.modalData.type = 1 - } this.fileList = []; this.modalConfig.title = "添加公告"; this.isAdd = true; @@ -226,4 +215,4 @@ export default { }; \ No newline at end of file +