From 265dd1f66e3c030bbfae1ce37d96bd5b5a42e697 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Mon, 08 Jan 2024 11:27:14 +0800
Subject: [PATCH] 取保候审优化

---
 src/views/article/discussionManage.vue |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 47 insertions(+), 1 deletions(-)

diff --git a/src/views/article/discussionManage.vue b/src/views/article/discussionManage.vue
index c96e9aa..d7ded30 100644
--- a/src/views/article/discussionManage.vue
+++ b/src/views/article/discussionManage.vue
@@ -149,6 +149,7 @@
               prop: "articleList",
               span: 24,
               minRows: 2,
+              tags: true,
               type: "tree",
               multiple: true,
               dicData: [],
@@ -198,11 +199,56 @@
               span: 24,
             },
             {
+              label: "文章类型",
+              prop: "articleType",
+              addDisplay: true,
+              editDisplay: true,
+              viewDisplay: true,
+              searchSpan: 3,
+              checkStrictly: true,
+              dicUrl: "/api/blade-system/dict-biz/dictionary?code=investigateType",
+              props: {
+                label: "dictValue",
+                value: "dictKey",
+              },
+              search: true,
+              type: "tree",
+              rules: [{
+                required: true,
+                message: "请选择文章类型",
+                trigger: "blur",
+              }, ],
+            },
+            {
               label: "发布时间",
               prop: "createTime",
               type: "date",
               format: "yyyy-MM-dd",
               valueFormat: "yyyy-MM-dd HH:mm:ss",
+            },
+            {
+              label: "发布状态",
+              prop: "publish",
+              searchSpan: 3,
+              width: 80,
+              value: "0",
+              slot: true,
+              search: true,
+              type: "select",
+              rules: [{
+                required: true,
+                message: "请选择发布状态",
+                trigger: "blur",
+              }, ],
+              dicData: [{
+                  label: "未发布",
+                  value: "0",
+                },
+                {
+                  label: "已发布",
+                  value: "1",
+                }
+              ],
             },
             {
               span: 24,
@@ -701,4 +747,4 @@
   .avue-upload__icon {
     line-height: 6;
   }
-</style>
+</style>
\ No newline at end of file

--
Gitblit v1.9.3