From 055aaa6acf8f109ccab63205dce7eff00ccb6120 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sun, 22 Aug 2021 09:25:20 +0800
Subject: [PATCH] 派遣服务管理 添加字段  派遣记录操作按钮   保安员页面 保安公司可点击跳转  跨区改分公司,

---
 src/views/dispatch/dispatchChildoperable.vue |   41 ++++++++++++++++++++++++++++++++++-------
 1 files changed, 34 insertions(+), 7 deletions(-)

diff --git a/src/views/dispatch/dispatchChildoperable.vue b/src/views/dispatch/dispatchChildoperable.vue
index 8935884..d3d497f 100644
--- a/src/views/dispatch/dispatchChildoperable.vue
+++ b/src/views/dispatch/dispatchChildoperable.vue
@@ -49,6 +49,8 @@
         searchMenuSpan: 8,
         height: 623,
         cellBtn: false,
+        delBtnText: "结束派遣",
+        editBtnText: "变更派遣",
         // addBtn: false,
         // menuWidth: 160,
         align: "center",
@@ -60,10 +62,35 @@
             prop: "dispatcherCompany",
             // addDisplay: false,
             // editDisplay: false,
-            search: true,
-            labelWidth: 120,
-            searchSpan: 4,
+            // search: true,
+            // labelWidth: 120,
+            // searchSpan: 4,
             width: 180,
+            addDisplay: false,
+            editDisplay: false,
+          },
+          {
+            label: "派遣单位",
+            prop: "dispatcherUnitId",
+            labelWidth: 120,
+            searchLabelWidth: 80,
+            dicUrl: "/api/dispatcherUnit/page-tree",
+            props: {
+              label: "name",
+              value: "id",
+            },
+            hide: true,
+            searchSpan: 4,
+            search: true,
+            overHidden: true,
+            type: "tree",
+            rules: [
+              {
+                required: true,
+                message: "请输入派遣单位",
+                trigger: "blur",
+              },
+            ],
           },
           // {
           {
@@ -140,8 +167,8 @@
             label: "派遣时间",
             prop: "dispatchertime",
             type: "date",
-            format: "yyyy-MM-dd hh:mm:ss",
-            valueFormat: "yyyy-MM-dd hh:mm:ss",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
             labelWidth: 120,
             searchSpan: 5,
             // search: true,
@@ -159,8 +186,8 @@
             label: "结束时间",
             prop: "endTime",
             type: "date",
-            format: "yyyy-MM-dd hh:mm:ss",
-            valueFormat: "yyyy-MM-dd hh:mm:ss",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
             labelWidth: 120,
             overHidden: true,
             rules: [

--
Gitblit v1.9.3