From dfab34be7b7456714b57b96e49c95725c3815da5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 28 Sep 2021 16:56:08 +0800
Subject: [PATCH] 权限
---
src/views/securityGuard/securityGuard.vue | 42 ++++++++++++++++++++++++++++--------------
1 files changed, 28 insertions(+), 14 deletions(-)
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 9ebf584..c58388a 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -310,7 +310,6 @@
import { mapState } from "vuex";
export default {
-
data() {
const validatePass = (rule, value, callback) => {
if (value === "") {
@@ -352,8 +351,8 @@
callback();
}
};
- console.log(this.userInfo,123);
-
+ console.log(this.userInfo, 123);
+
return {
securityid: "",
excelBox1: false,
@@ -375,7 +374,7 @@
res: "data",
},
tip: "请上传 .xls,.xlsx 标准格式文件",
- action: "/api/blade-user/import-user?deptId="+this.deptIds,
+ action: "/api/blade-user/import-user?deptId=" + this.deptIds,
},
{
label: "模板下载",
@@ -422,7 +421,7 @@
},
roleId: "1412226235153731586",
deptId: "1413470343230877697",
- deptIds:"",
+ deptIds: "",
platformPage: {
pageSize: 10,
currentPage: 1,
@@ -616,12 +615,26 @@
{
label: "是否持证",
prop: "hold",
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=equipage",
- props: {
- label: "dictValue",
- value: "dictKey",
- },
+ // dicUrl: "/api/blade-system/dict-biz/dictionary?code=equipage",
+ // props: {
+ // label: "dictValue",
+ // value: "dictKey",
+ // },
type: "select",
+ dicData: [
+ {
+ label: "是",
+ value: "1",
+ },
+ {
+ label: "否",
+ value: "2",
+ },
+ {
+ label: "已吊销",
+ value: "3",
+ },
+ ],
rules: [
{
required: true,
@@ -1368,11 +1381,12 @@
params["deptId"] = that.userInfo.dept_id;
//导入action 修改
- const importColumn = that.findObject(that.excelOption1.column, "excelFile");
+ const importColumn = that.findObject(
+ that.excelOption1.column,
+ "excelFile"
+ );
importColumn.action =
- "/api/blade-user/import-user?deptId="+this.deptIds;
-
-
+ "/api/blade-user/import-user?deptId=" + this.deptIds;
} else if (roleAlias == "公安管理员") {
params["jurisdiction"] = that.userInfo.jurisdiction;
var columnDept = that.findObject(that.option.column, "deptId");
--
Gitblit v1.9.3