From 5e8cf3e01fb1b883aca448dd0d5f5e428ce28d9a Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Thu, 22 Feb 2024 16:33:41 +0800
Subject: [PATCH] 议事优化
---
src/views/article/discussionManage.vue | 48 ++++++++++++++++++++++++++----------------------
1 files changed, 26 insertions(+), 22 deletions(-)
diff --git a/src/views/article/discussionManage.vue b/src/views/article/discussionManage.vue
index 34f0bed..0929836 100644
--- a/src/views/article/discussionManage.vue
+++ b/src/views/article/discussionManage.vue
@@ -187,7 +187,7 @@
},
{
width: 110,
- label: "文章类型",
+ label: "议事类型",
prop: "articleType",
addDisplay: true,
editDisplay: true,
@@ -203,29 +203,29 @@
type: "tree",
rules: [{
required: true,
- message: "请选择文章类型",
+ message: "请选择议事类型",
trigger: "blur",
}, ],
},
- {
- label: "发布时间",
- prop: "dateTime",
- type: "daterange",
- format: "yyyy-MM-dd",
- valueFormat: "yyyy-MM-dd",
- searchSpan: 6,
- searchRange: true,
- hide: true,
- addDisplay: false,
- editDisplay: false,
- viewDisplay: false,
- search: true,
- rules: [{
- required: true,
- message: "请选择发布时间",
- trigger: "blur",
- }, ],
- },
+ // {
+ // label: "发布时间",
+ // prop: "dateTime",
+ // type: "daterange",
+ // format: "yyyy-MM-dd",
+ // valueFormat: "yyyy-MM-dd",
+ // searchSpan: 6,
+ // searchRange: true,
+ // hide: true,
+ // addDisplay: false,
+ // editDisplay: false,
+ // viewDisplay: false,
+ // search: true,
+ // rules: [{
+ // required: true,
+ // message: "请选择发布时间",
+ // trigger: "blur",
+ // }, ],
+ // },
{
width: 100,
label: "发布时间",
@@ -233,6 +233,10 @@
type: "date",
format: "yyyy-MM-dd",
valueFormat: "yyyy-MM-dd HH:mm:ss",
+ search: true,
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
},
{
width: 100,
@@ -525,7 +529,7 @@
}
// 类型 0:文章 1经营性收支,2:物业招标 3:公益报名 4:选举调查
row.type = 4
- row.publish = 1
+ // row.publish = 1
add(row).then(
() => {
--
Gitblit v1.9.3