From 5421440f64d8e8617194d18f35614f50be965be7 Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期三, 08 三月 2023 09:32:28 +0800
Subject: [PATCH] 11
---
src/views/operate/disposal/casepool/pool/createUser/ill/index.vue | 41 ++++++++++++++++++++++++++++-------------
1 files changed, 28 insertions(+), 13 deletions(-)
diff --git a/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue b/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue
index c01be2c..141e9b3 100644
--- a/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue
+++ b/src/views/operate/disposal/casepool/pool/createUser/ill/index.vue
@@ -66,21 +66,33 @@
<el-form-item class="optionItems" label="韬唤璇佹銆佸弽闈㈢収鐗�:" prop="positive">
<template>
<div class="idcard">
- <el-upload class="upload-demo" :show-file-list="false"
+<!-- <el-upload-->
+<!-- action="/sccg/file/medias"-->
+<!-- list-type="picture-card"-->
+<!-- :show-file-list="false"-->
+<!-- :headers="getToken()" multiple-->
+<!-- :limit="50" :on-success="handleSuccess">-->
+<!-- <i class="el-icon-plus"></i>-->
+<!-- <span class="text" v-if="ill.positive === ''">韬唤璇佹闈�</span>-->
+<!-- <img :src="ill.positive" alt="" class="img" v-else>-->
+<!-- </el-upload>-->
+ <el-upload list-type="picture-card" class="upload-demo" :show-file-list="false"
action="/sccg/file/medias" :headers="getToken()" multiple
:limit="50" :on-success="handleSuccess">
- <img v-if="ill.positive === ''"
- src="https://axure-file.lanhuapp.com/90466432-c999-4bf0-80b8-ee3f96a2099e__15f765432d579a14b8f6591c100d30e3.svg"
- alt="">
+<!-- <img v-if="ill.positive === ''"-->
+<!-- src="https://axure-file.lanhuapp.com/90466432-c999-4bf0-80b8-ee3f96a2099e__15f765432d579a14b8f6591c100d30e3.svg"-->
+<!-- alt="">-->
+ <i v-if="ill.positive === ''" class="el-icon-plus"></i>
<span class="text" v-if="ill.positive === ''">韬唤璇佹闈�</span>
<img :src="ill.positive" alt="" class="img" v-else>
</el-upload>
- <el-upload class="upload-demo" :show-file-list="false"
+ <el-upload list-type="picture-card" class="upload-demo" :show-file-list="false"
action="/sccg/file/medias" :headers="getToken()" multiple
:limit="50" :on-success="handleSuccess2">
- <img v-if="ill.negative === '' "
- src="https://axure-file.lanhuapp.com/90466432-c999-4bf0-80b8-ee3f96a2099e__15f765432d579a14b8f6591c100d30e3.svg"
- alt="">
+<!-- <img v-if="ill.negative === '' "-->
+<!-- src="https://axure-file.lanhuapp.com/90466432-c999-4bf0-80b8-ee3f96a2099e__15f765432d579a14b8f6591c100d30e3.svg"-->
+<!-- alt="">-->
+ <i v-if="ill.negative === ''" class="el-icon-plus"></i>
<span class="text" v-if="ill.negative === ''">韬唤璇佸弽闈�</span>
<img :src="ill.negative" alt="" class="img" v-else />
</el-upload>
@@ -427,13 +439,16 @@
}
},
handleSuccess(res, file, filelist) {
+ console.log(res)
const baseUrl = 'http://140.143.152.226:8410/';
- this.ill.positive = baseUrl + res.data.url1;
+ // this.ill.positive = baseUrl + res.data.url1;
+ this.ill.positive = res.data
},
handleSuccess2(res, file, filelist) {
const baseUrl = 'http://140.143.152.226:8410/';
- this.ill.negative = baseUrl + res.data.url1;
+ // this.ill.negative = baseUrl + res.data.url1;
+ this.ill.negative = res.data
},
// 鏌ヨ绀惧尯
getCommityList() {
@@ -544,7 +559,7 @@
.text {
position: absolute;
top: 22%;
- left: 20%;
+ left: 26%;
}
}
@@ -565,8 +580,8 @@
}
.img {
- width: 125px;
- height: 80px;
+ width: 100%;
+ height: 100%;
}
.area {
--
Gitblit v1.8.0