From fa0fc3195858a592d2ad1bdad0fa6126602ebf55 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Fri, 07 Jun 2024 14:17:10 +0800
Subject: [PATCH] 路径配置修改

---
 src/views/cGovernance/punchCard.vue |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/src/views/cGovernance/punchCard.vue b/src/views/cGovernance/punchCard.vue
index 8bbc1ef..ad4c1a0 100644
--- a/src/views/cGovernance/punchCard.vue
+++ b/src/views/cGovernance/punchCard.vue
@@ -10,7 +10,7 @@
 </template>
 
 <script>
-import { getList } from "@/api/punch_card"
+import { getList } from "@/ssoapi/punch_card"
 import { mapGetters } from "vuex"
 import website from '@/config/website'
 
@@ -28,6 +28,12 @@
             datetime: "",
             selectionList: [],
             option: {
+                labelWidth: 120,
+                searchLabelWidth: 96,
+                searchShow: true,
+                searchMenuSpan: 3,
+                menuWidth: 280,
+
                 menu: false,
                 addBtn: false,
                 border: true,
@@ -37,19 +43,19 @@
                 calcHeight: 54,
                 dialogWidth: 950,
                 tip: false,
-                searchShow: true,
-                searchMenuSpan: 3,
                 //stripe:true,
                 viewBtn: true,
                 excelBtn: true,
                 dialogClickModal: false,
+                header:false,
                 column: [
                     {
-                        width: 96,
+                        width: 110,
                         label: "打卡人员",
                         prop: "name",
                         search: true,
-                        searchSpan: 4
+                        searchSpan: 4,
+                        searchLabelWidth: 76,
                     },
                     {
                         label: "打卡时间",
@@ -66,11 +72,12 @@
                         search: true,
                         rules: [{
                             required: true,
-                            message: "请选择发布时间",
+                            message: "请选择打卡时间",
                             trigger: "blur",
                         },],
                     },
                     {
+                        width: 144,
                         label: "打卡时间",
                         prop: "createTime",
                         type: "date",
@@ -89,14 +96,17 @@
                         prop: "workContent",
                     },
                     {
+                        width: 96,
                         label: "经度",
                         prop: "lng",
                     },
                     {
+                        width: 96,
                         label: "纬度",
                         prop: "lat",
                     },
                     {
+                        overHidden: true,
                         label: "打卡地址",
                         prop: "address",
                     },
@@ -107,7 +117,7 @@
                         type: "upload",
                         labelWidth: 120,
                         listType: "picture-img",
-                        action: "/api/blade-resource/oss/endpoint/put-file",
+                        action: "/ssoapi/blade-resource/oss/endpoint/put-file",
                         propsHttp: {
                             res: "data",
                             name: 'name',

--
Gitblit v1.9.3