From 803a38742d1c7e432db233b390ba7da542df47b4 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 14 Jul 2021 14:22:40 +0800
Subject: [PATCH] 招聘管理 详情
---
src/views/dispatchChild/data.js | 56 ++++++++++++++++++
src/router/views/index.js | 72 ++++++++++++------------
src/views/dispatch/dispatchChildoperable.vue | 18 ++++-
3 files changed, 104 insertions(+), 42 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 1e1e013..7ef84d8 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -236,42 +236,42 @@
import( /* webpackChunkName: "views" */ '@/views/desk/notice')
}]
},
-// {
-// path: '/dispatch',
-// component: Layout,
-// redirect: '/dispatch/dispatch',
-// children: [{
-// path: 'dispatch',
-// name: '派遣单位管理',
-// meta: {
-// i18n: 'dispatch'
-// },
-// component: () =>
-// import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
-// }, {
-// path: 'dispatchChildoperable',
-// name: '派遣记录管理',
-// meta: {
-// i18n: 'dispatch'
-// },
-// component: () =>
-// import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
-// }]
-// },
-// {
-// path: '/dispatchChild',
-// component: Layout,
-// redirect: '/dispatchChild/index',
-// children: [{
-// path: 'index',
-// name: '派遣服务记录',
-// meta: {
-// i18n: 'dict'
-// },
-// component: () =>
-// import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
-// }]
-// },
+{
+ path: '/dispatch',
+ component: Layout,
+ redirect: '/dispatch/dispatch',
+ children: [{
+ path: 'dispatch',
+ name: '派遣单位管理',
+ meta: {
+ i18n: 'dispatch'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
+ }, {
+ path: 'dispatchChildoperable',
+ name: '派遣记录管理',
+ meta: {
+ i18n: 'dispatch'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
+ }]
+},
+{
+ path: '/dispatchChild',
+ component: Layout,
+ redirect: '/dispatchChild/index',
+ children: [{
+ path: 'index',
+ name: '派遣服务记录',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
+ }]
+},
// {
// path: '/equipments',
// component: Layout,
diff --git a/src/views/dispatch/dispatchChildoperable.vue b/src/views/dispatch/dispatchChildoperable.vue
index 7ea0151..de91e6e 100644
--- a/src/views/dispatch/dispatchChildoperable.vue
+++ b/src/views/dispatch/dispatchChildoperable.vue
@@ -150,7 +150,7 @@
// menu: false,
searchSize: "mini",
searchMenuSpan: 8,
- height: 563,
+ height: 623,
cellBtn: false,
// addBtn: false,
// menuWidth: 160,
@@ -193,18 +193,25 @@
},
{
label: "派遣单位",
- prop: "id",
+ prop: "dispatcherCompany",
+ addDisplay: false,
+ editDisplay: false,
+ },
+ {
+ label: "派遣单位",
+ prop: "dispatcherUnitId",
labelWidth: 120,
searchLabelWidth: 120,
- dicUrl: "/api/page-tree",
+ dicUrl: "/api/dispatcherUnit/page-tree",
props: {
label: "name",
value: "id",
},
+ hide: true,
searchSpan: 4,
search: true,
overHidden: true,
- type: "select",
+ type: "tree",
rules: [
{
required: true,
@@ -233,6 +240,7 @@
label: "身份证",
prop: "cardid",
labelWidth: 120,
+ overHidden: true,
rules: [
{
required: true,
@@ -261,6 +269,7 @@
labelWidth: 120,
searchSpan: 4,
search: true,
+ overHidden: true,
rules: [
{
required: true,
@@ -277,6 +286,7 @@
format: "yyyy-MM-dd hh:mm:ss",
valueFormat: "yyyy-MM-dd hh:mm:ss",
labelWidth: 120,
+ overHidden: true,
rules: [
{
required: true,
diff --git a/src/views/dispatchChild/data.js b/src/views/dispatchChild/data.js
index 70e0392..a90d819 100644
--- a/src/views/dispatchChild/data.js
+++ b/src/views/dispatchChild/data.js
@@ -98,10 +98,62 @@
// // addDisplay: false
// },
{
+ label: "保安公司",
+ prop: "deptId",
+ labelWidth: 120,
+ searchLabelWidth: 120,
+ searchSpan: 4,
+ dicUrl:
+ "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+ props: {
+ label: "title",
+ value: "id",
+ },
+ search: true,
+ overHidden: true,
+ type: "select",
+ rules: [
+ {
+ required: true,
+ message: "请输入保安公司",
+ trigger: "blur",
+ },
+ ],
+ },
+ {
+ label: "派遣单位",
+ prop: "dispatcherCompany",
+ addDisplay: false,
+ editDisplay: false,
+ },
+ {
+ label: "派遣单位",
+ prop: "dispatcherUnitId",
+ labelWidth: 120,
+ searchLabelWidth: 120,
+ 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",
+ },
+ ],
+ },
+ {
label: "保安人名称",
prop: "name",
search: true,
- searchSpan: 5,
+ searchSpan: 4,
searchLabelWidth: 120
// overHidden: true
}, {
@@ -125,7 +177,7 @@
format: "yyyy-MM-dd hh:mm:ss",
valueFormat: "timestamp",
search: true,
- searchSpan: 5,
+ searchSpan: 4,
// overHidden: true
}, {
label: "结束时间",
--
Gitblit v1.9.3