From cc03d2d54e4cd3991930a7bbcaa67691a79e1304 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 06 Aug 2021 17:09:09 +0800
Subject: [PATCH] 派遣时间范围搜索,单位附件上传 ++
---
src/views/securityGuard/securityGuard.vue | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index c0a1274..5a1b00b 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -408,22 +408,22 @@
],
},
{
- label: '个人照片',
- type: 'upload',
- listType: 'picture-img',
+ label: "个人照片",
+ type: "upload",
+ listType: "picture-img",
propsHttp: {
- res: 'data',
- url: 'link',
+ res: "data",
+ url: "link",
},
canvasOption: {
- text: ' ',
- ratio: 0.1
+ text: " ",
+ ratio: 0.1,
},
- action: '/api/blade-resource/oss/endpoint/put-file',
- tip: '只能上传jpg/png个人头像,且不超过500kb',
+ action: "/api/blade-resource/oss/endpoint/put-file",
+ tip: "只能上传jpg/png个人头像,且不超过500kb",
span: 12,
row: true,
- prop: 'myPicture'
+ prop: "myPicture",
},
{
label: "编号",
@@ -1194,6 +1194,10 @@
roleId: this.roleId,
...this.query,
};
+ if (this.userInfo.role_id == "1414840172333842433") {
+ console.log("是公安add jurisdiction");
+ values["jurisdiction"] = this.userInfo.jurisdiction;
+ }
this.loading = true;
getList(page.currentPage, page.pageSize, values, this.treeDeptId).then(
(res) => {
--
Gitblit v1.9.3