From ef46e4b78e81418a831d4f7f21eb24d2fd4d35e1 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 25 Dec 2021 15:08:54 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/views/securityGuard/securityGuard.vue | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 6dc40cc..f997a1d 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -1013,8 +1013,21 @@
// valueFormat: "yyyy-MM-dd",
// },
{
- label: "电子邮箱",
+ label: "保安证书照片",
prop: "email",
+ type: "upload",
+ listType: "picture-img",
+ propsHttp: {
+ res: "data",
+ url: "url",
+ },
+ canvasOption: {
+ text: " ",
+ ratio: 1.0,
+ },
+ action: "/api/blade-resource/oss/endpoint/put-files",
+ tip: "上传jpg,png格式图片,大小不超过2M",
+ span: 12,
},
// {
// label: "籍贯",
@@ -1265,6 +1278,16 @@
};
},
watch: {
+ // windowHeight() {
+ // let d = {
+ // option: this.option,
+ // fn: function () {
+ // console.log(123);
+ // },
+ // add: 100,
+ // };
+ // this.$store.dispatch("WHchangeHight", d);
+ // },
radio() {
if (this.radio) {
this.SFZloding = true;
@@ -1372,7 +1395,7 @@
},
},
computed: {
- ...mapGetters(["userInfo", "permission"]),
+ ...mapGetters(["userInfo", "permission", "windowHeight"]),
permissionList() {
return {
addBtn: this.vaildData(this.permission.securityGuard_add, false),
--
Gitblit v1.9.3