From 62e8aa86799fb753e51dbc2be8f54a02d486ae2d Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Mon, 18 Dec 2023 18:02:35 +0800
Subject: [PATCH] 菜单分类

---
 src/views/article/publicSignUp.vue     |   44 ++------------
 src/views/article/article.vue          |   17 +++++
 src/views/article/discussionManage.vue |   97 ++------------------------------
 3 files changed, 29 insertions(+), 129 deletions(-)

diff --git a/src/views/article/article.vue b/src/views/article/article.vue
index abbdc13..7910671 100644
--- a/src/views/article/article.vue
+++ b/src/views/article/article.vue
@@ -345,7 +345,22 @@
                 value: 1
               }]
             },
-
+            {
+              labelWidth: 100,
+              label: '开启投票',
+              prop: 'openFlag',
+              type: 'radio',
+              button: true,
+              row: true,
+              offset: 6,
+              dicData: [{
+                label: '开启',
+                value: 0
+              }, {
+                label: '不开启',
+                value: 1
+              }]
+            },
             {
               label: "截止时间",
               row: true,
diff --git a/src/views/article/discussionManage.vue b/src/views/article/discussionManage.vue
index 0dae11c..113ba42 100644
--- a/src/views/article/discussionManage.vue
+++ b/src/views/article/discussionManage.vue
@@ -226,14 +226,12 @@
         optionDiscussEdit: {
           column: [{
               label: "",
-              // labelWidth: 20,
               type: 'title',
               prop: "title",
               span: 24,
               row: true,
               offset: 2,
               styles: {
-                // color: 'red',
                 fontSize: '24px'
               }
             }, {
@@ -253,72 +251,18 @@
               }]
             }, {
               labelWidth: 100,
-              label: '多房屋可重复',
-              prop: 'repeatVote',
+              label: '开启签名',
+              prop: 'signatureFlag',
               type: 'radio',
               button: true,
               row: true,
               offset: 6,
               dicData: [{
-                label: '不可以',
+                label: '开启',
                 value: 0
               }, {
-                label: '可以',
+                label: '不开启',
                 value: 1
-              }]
-            }, {
-              labelWidth: 100,
-              label: '投票限制',
-              prop: 'voteRestrictions',
-              type: 'radio',
-              button: true,
-              row: true,
-              offset: 6,
-              dicData: [{
-                label: '一人一票',
-                value: 0
-              }, {
-                label: '一户一票',
-                value: 1
-              }]
-            }, {
-              labelWidth: 100,
-              label: '用户限制',
-              prop: 'userRestrictions',
-              type: 'radio',
-              button: true,
-              row: true,
-              offset: 6,
-              dicData: [{
-                label: '不限制',
-                value: 0
-              }, {
-                label: '必须绑定手机',
-                value: 1
-              }, {
-                label: '必须绑定房屋',
-                value: 2
-              }]
-            }, {
-              labelWidth: 100,
-              label: '票数公开',
-              prop: 'voteNumberPublic',
-              type: 'radio',
-              button: true,
-              row: true,
-              offset: 6,
-              dicData: [{
-                label: '全程公开',
-                value: 0
-              }, {
-                label: '投票后公开',
-                value: 1
-              }, {
-                label: '投票结束后公开',
-                value: 2
-              }, {
-                label: '不公开',
-                value: 3
               }]
             },
             {
@@ -330,35 +274,6 @@
               format: "yyyy-MM-dd hh:mm:ss",
               valueFormat: "timestamp",
             },
-            // {
-            //   labelWidth: 100,
-            //   label: '人数限制',
-            //   prop: 'numberRestrictions',
-            //   type: 'number',
-            //   button: true,
-            //   row: true,
-            //   min: 0,
-            //   max: 99999999,
-            //   controlsPosition: '',
-            //   step: 10,
-            //   offset: 6,
-            // },
-            // {
-            //   labelWidth: 100,
-            //   label: '指定用户',
-            //   prop: 'appointUser',
-            //   type: 'radio',
-            //   button: true,
-            //   row: true,
-            //   offset: 6,
-            //   dicData: [{
-            //     label: '不限制',
-            //     value: 0
-            //   }, {
-            //     label: '指定用户可见',
-            //     value: 1
-            //   }]
-            // },
           ]
         },
         disCussFrom: {
@@ -451,7 +366,7 @@
         },
         // 表单列表
         data: [],
-        userData:[],
+        userData: [],
         dataTop: [],
         dialogVisibles: false,
         publicDiscussId: '',
@@ -722,4 +637,4 @@
   .el-pagination {
     margin-top: 20px;
   }
-</style>
+</style>
\ No newline at end of file
diff --git a/src/views/article/publicSignUp.vue b/src/views/article/publicSignUp.vue
index d988bfc..6cc23ca 100644
--- a/src/views/article/publicSignUp.vue
+++ b/src/views/article/publicSignUp.vue
@@ -115,7 +115,7 @@
               }
             }, {
               labelWidth: 100,
-              label: '开启投票',
+              label: '开启',
               prop: 'openFlag',
               type: 'radio',
               button: true,
@@ -131,48 +131,18 @@
             },
             {
               labelWidth: 100,
-              label: '人数限制',
-              prop: 'numberRestrictions',
-              type: 'number',
-              button: true,
-              row: true,
-              min: 0,
-              max: 99999999,
-              controlsPosition: '',
-              step: 10,
-              offset: 6,
-            }, {
-              labelWidth: 100,
-              label: '投票限制',
-              prop: 'voteRestrictions',
+              label: '开启投票',
+              prop: 'openFlag',
               type: 'radio',
               button: true,
               row: true,
               offset: 6,
               dicData: [{
-                label: '一人一票',
+                label: '开启',
                 value: 0
               }, {
-                label: '一户一票',
+                label: '不开启',
                 value: 1
-              }]
-            }, {
-              labelWidth: 100,
-              label: '用户限制',
-              prop: 'userRestrictions',
-              type: 'radio',
-              button: true,
-              row: true,
-              offset: 6,
-              dicData: [{
-                label: '不限制',
-                value: 0
-              }, {
-                label: '必须绑定手机',
-                value: 1
-              }, {
-                label: '必须绑定房屋',
-                value: 2
               }]
             },
             {
@@ -291,7 +261,7 @@
       },
       openUser(row) {
         this.dialogVisiblesUser = true
-        this.getUser(this.pageUser,params = {})
+        this.getUser(this.pageUser, params = {})
       },
       openDilog(row, type) {
         this.dialogVisibles = true
@@ -438,4 +408,4 @@
   .el-pagination {
     margin-top: 20px;
   }
-</style>
+</style>
\ No newline at end of file

--
Gitblit v1.9.3