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 +