From dd58c80929d803e83012ade05dfd2b880d8389cc Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Fri, 27 Aug 2021 11:40:20 +0800
Subject: [PATCH] 社保
---
src/views/dispatch/dispatchChildoperable.vue | 46 ++++++++++++++++++++++++++++++++++++++--------
1 files changed, 38 insertions(+), 8 deletions(-)
diff --git a/src/views/dispatch/dispatchChildoperable.vue b/src/views/dispatch/dispatchChildoperable.vue
index 8935884..5fcb809 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,36 @@
prop: "dispatcherCompany",
// addDisplay: false,
// editDisplay: false,
- search: true,
+ // search: true,
+ // labelWidth: 120,
+ // searchSpan: 4,
+ minWidth: 210,
+ 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,
- width: 180,
+ search: true,
+
+ overHidden: true,
+ type: "tree",
+ rules: [
+ {
+ required: true,
+ message: "请输入派遣单位",
+ trigger: "blur",
+ },
+ ],
},
// {
{
@@ -73,7 +101,7 @@
labelWidth: 120,
type: "select",
searchSpan: 4,
- cascaderItem: ["name"],
+ cascaderItem: ["userIds"],
props: {
label: "title",
value: "id",
@@ -90,7 +118,7 @@
},
{
label: "保安员",
- prop: "name",
+ prop: "userIds",
type: "select",
width: 70,
labelWidth: 120,
@@ -117,6 +145,8 @@
prop: "cardid",
labelWidth: 120,
overHidden: true,
+ addDisplay: false,
+ editDisplay: false,
rules: [
{
required: true,
@@ -140,8 +170,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 +189,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