From d16d10d94fddff86bdfd87113e7fd2cebe8b7cd7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 24 Jan 2024 18:15:06 +0800
Subject: [PATCH] 居民监管样式调整
---
src/views/cGovernance/punchCard.vue | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/src/views/cGovernance/punchCard.vue b/src/views/cGovernance/punchCard.vue
index 46d0315..5531740 100644
--- a/src/views/cGovernance/punchCard.vue
+++ b/src/views/cGovernance/punchCard.vue
@@ -28,24 +28,28 @@
datetime: "",
selectionList: [],
option: {
+ labelWidth: 120,
+ searchLabelWidth: 96,
+ searchShow: true,
+ searchMenuSpan: 3,
+ menuWidth: 280,
+
menu: false,
addBtn: false,
border: true,
- index: false,
+ index: true,
selection: false,
height: "auto",
calcHeight: 54,
dialogWidth: 950,
tip: false,
- searchShow: true,
- searchMenuSpan: 3,
//stripe:true,
viewBtn: true,
excelBtn: true,
dialogClickModal: false,
column: [
{
- width: 96,
+ width: 110,
label: "打卡人员",
prop: "name",
search: true,
@@ -66,11 +70,12 @@
search: true,
rules: [{
required: true,
- message: "请选择发布时间",
+ message: "请选择打卡时间",
trigger: "blur",
},],
},
{
+ width: 144,
label: "打卡时间",
prop: "createTime",
type: "date",
@@ -89,23 +94,26 @@
prop: "workContent",
},
{
+ width: 96,
label: "经度",
prop: "lng",
},
{
+ width: 96,
label: "纬度",
prop: "lat",
},
{
+ overHidden: true,
label: "打卡地址",
prop: "address",
},
{
+ width: 110,
label: "打卡图片",
prop: "img",
type: "upload",
labelWidth: 120,
- width: 80,
listType: "picture-img",
action: "/api/blade-resource/oss/endpoint/put-file",
propsHttp: {
@@ -194,6 +202,9 @@
item.img = urls.join(",")
}
+ item.lat = Number(item.lat).toFixed(6)
+ item.lng = Number(item.lng).toFixed(6)
+
return item
})
--
Gitblit v1.9.3