From 2d6dd9c84ccf3ab8f0595301433fc238c3661291 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 10 Jul 2021 13:51:05 +0800
Subject: [PATCH] 派遣管理和保安单位管理 内联修改, 根据单位的存在改变状态
---
src/views/dispatch/data.js | 189 +----------------------------------------------
1 files changed, 4 insertions(+), 185 deletions(-)
diff --git a/src/views/dispatch/data.js b/src/views/dispatch/data.js
index ae922f9..08f3ee3 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/lazy-tree?parentId=0",
props: {
- label: "tenantName",
- value: "tenantId"
+ label: "title",
+ value: "id"
},
// hide: !website.tenantMode,
// addDisplay: website.tenantMode,
@@ -65,22 +43,6 @@
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: "联系电话",
@@ -176,147 +138,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