From aedad51e0775acd4e46f18ca8aaf27fc9ae221cf Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 13 Jul 2021 22:32:35 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/views/dispatch/data.js | 227 ++++++++++----------------------------------------------
1 files changed, 42 insertions(+), 185 deletions(-)
diff --git a/src/views/dispatch/data.js b/src/views/dispatch/data.js
index 619e6cd..79a39fe 100644
--- a/src/views/dispatch/data.js
+++ b/src/views/dispatch/data.js
@@ -9,27 +9,6 @@
// ]
export var column = [//派遣服务公司登记
- // {
- // label: "id",
- // prop: "id",
- // hide: true,
- // editDisplay: false,
- // addDisplay: false
- // },
- // {
- // label: "保安单位",
- // prop: "tenantName",
- // hide: true,
- // editDisplay: false,
- // addDisplay: false
- // },
- // {
- // label: "保安id",
- // prop: "tenantId",
- // hide: true,
- // editDisplay: false,
- // addDisplay: false
- // },//上面不显示
{
label: "派遣单位名称",
prop: "name",
@@ -40,13 +19,12 @@
},
{
label: "保安公司",
- prop: "tenantId",
+ prop: "tenantName",
type: "tree",
- search: true,
- dicUrl: "/api/blade-system/tenant/select",
+ dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=0",
props: {
- label: "tenantName",
- value: "tenantId"
+ label: "title",
+ value: "id"
},
// hide: !website.tenantMode,
// addDisplay: website.tenantMode,
@@ -59,28 +37,15 @@
}],
labelWidth: 110,
width: 200,
+ editDisplay: false,
+ addDisplay: false,
+ hide: true,
// span: 11,
},
{
label: " 联系人",
prop: "linkman",
labelWidth: 110,
- // addDisplay: true,
- // editDisplay: true,
- // viewDisplay: true,
- // searchSpan: 5,
- // dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
- // props: {
- // label: "dictValue",
- // value: "dictKey"
- // },
- // search: true,
- // type: "select",
- // // rules: [{
- // // required: true,
- // // message: "请选择学历",
- // // trigger: "blur"
- // // }],
},
{
label: "联系电话",
@@ -103,6 +68,35 @@
// // trigger: "blur"
// // }],
},
+ // {
+ // label: "行政区",
+ // prop: "addresss",
+ // labelWidth: 110,
+ // search: true,
+ // // width: 110,
+ // // overHidden: true
+ // },
+ {
+ label: "所属行政区",
+ prop: "jurisdiction",
+ // multiple: true,
+ labelWidth: 110,
+ type: "tree",
+ dicUrl: "/api/jurisdiction/lazy-tree?parentId=0",
+ props: {
+ label: "title",
+ value: "id",
+ },
+ checkStrictly: true,
+ slot: true,
+ rules: [
+ {
+ required: true,
+ message: "请选择所属行政区",
+ trigger: "click",
+ },
+ ],
+ },
{
label: "详细地址",
prop: "address",
@@ -115,6 +109,9 @@
label: "创建时间",
prop: "createTime",
labelWidth: 110,
+ type: "date",
+ format: "yyyy-MM-dd hh:mm:ss",
+ valueFormat: "timestamp",
// search: true,
// searchSpan: 4,
// overHidden: true
@@ -152,6 +149,9 @@
}, {
label: "派遣时间",
prop: "dispatchertime",
+ type: "date",
+ format: "yyyy-MM-dd hh:mm:ss",
+ valueFormat: "timestamp",
// search: true,
// searchSpan: 4,
// overHidden: true
@@ -170,147 +170,4 @@
},
-]
-
-export var data = [
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "3年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "5年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- },
- {
- "tenant_id": "xx保安公司", "name": "xx职务",
- "number": "10",
- "education": "大专以上",
- "experience": "2年",
- "max_salary": "8k",
- "units_scale": "200人+",
- "linkman": "XX",
- "phone": "xxxxxxxxxx",
- "address": "环城路地一大道30号口下",
- "start_time": "7月8日",
- "end_time": "7月31日",
- "status": "2"
- }
]
--
Gitblit v1.9.3