From 9dd65bc5080fd7d31f7fe0aaf6f09cbd6dfa8202 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Sun, 22 Aug 2021 10:32:17 +0800
Subject: [PATCH] 新增政策发布

---
 src/views/desk/notice.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/desk/notice.vue b/src/views/desk/notice.vue
index b203353..7c82918 100644
--- a/src/views/desk/notice.vue
+++ b/src/views/desk/notice.vue
@@ -264,6 +264,7 @@
       }else{
         row.category = 2;
       }
+      row['type'] = 1;
       row.deptId = this.deptId;
       add(row).then(
         () => {
@@ -281,7 +282,11 @@
       );
     },
     rowUpdate(row, index, done, loading) {
-      row.category = 1;
+      // if (this.deptCategory) {
+      //   row.category = 1;
+      // }else{
+      //   row.category = 2;
+      // }
       row.deptId = this.deptId;
       update(row).then(
         () => {
@@ -386,6 +391,7 @@
 
         const { releaseTimeRange } = this.query;
         params["jurisdiction"] = this.jurisdiction;
+        params["type"] = 1;
         let values = {
           ...params,
         };

--
Gitblit v1.9.3