From d18f447f4279a44112783ce44933300f7b9b5daf Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 02 Aug 2021 20:19:36 +0800
Subject: [PATCH] 新增保安人员个人照片上传,展示
---
src/views/securityGuard/securityGuard.vue | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 044ae20..c0a1274 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -408,6 +408,24 @@
],
},
{
+ label: '个人照片',
+ type: 'upload',
+ listType: 'picture-img',
+ propsHttp: {
+ res: 'data',
+ url: 'link',
+ },
+ canvasOption: {
+ text: ' ',
+ ratio: 0.1
+ },
+ action: '/api/blade-resource/oss/endpoint/put-file',
+ tip: '只能上传jpg/png个人头像,且不超过500kb',
+ span: 12,
+ row: true,
+ prop: 'myPicture'
+ },
+ {
label: "编号",
prop: "code",
},
--
Gitblit v1.9.3