From 02129858b17c1934b30d29b87805844479a32c6c Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 03 一月 2024 13:15:08 +0800
Subject: [PATCH] bug
---
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue | 68 +++++++++++++++++----------------
1 files changed, 35 insertions(+), 33 deletions(-)
diff --git a/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue b/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue
index f21672f..b79daa5 100644
--- a/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue
+++ b/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue
@@ -134,6 +134,7 @@
import { deepClone, getTypeList } from '@/utils/helper'
import { validateName, validatePhone, validateCardId } from '@/utils/validate'
import MyUpload from "@/components/myUpload"
+import { FILE_ORIGINAL_URL } from "@/utils";
export default {
components: {
MyUpload
@@ -271,20 +272,20 @@
}
},
async created() {
- await this.getCardTypeList();
- await this.getSchoolList();
- await this.getNationList();
- if (this.evidenceData) {
+ await this.getCardTypeList();
+ await this.getSchoolList();
+ await this.getNationList();
+ this.$set(this.user, 'illegalType', this.illegalType);
+ if (this.evidenceData) {
this.evidence = deepClone(this.evidenceData);
this.evidence.pic = this.evidenceData.pic.split(',');
this.user = this.evidence.partyInfo;
- this.user.illegalType = this.illegalType;
this.evidence.userInfo = this.evidence.partyInfo.name;
}
},
methods: {
handleSuccess2(res, file, filelist) {
- const baseUrl = 'http://140.143.152.226:8410/';
+ const baseUrl = '';
if (this.evidence.pic.length < 4) {
this.evidence.pic.push(baseUrl + res.data.url1)
}
@@ -300,6 +301,7 @@
openDialog(e) {
this.userFlag = true;
this.userInfo = true;
+ this.$set(this.user, 'illegalType', this.illegalType);
},
// 妫�楠寀ser
checkUser() {
@@ -340,14 +342,14 @@
},
// 璁剧疆涓婁紶鎴愬姛涔嬪悗鐨勫浘鐗囧湴鍧�
setPicUrl({ url }) {
- const baseUrl = 'http://140.143.152.226:8410/';
+ const baseUrl = '';
if (this.evidence.pic.length < 4) {
- this.evidence.pic.push(baseUrl + url);
+ this.evidence.pic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
}
},
//鍒犻櫎鍥剧墖
delPicUrl({url}){
- const baseUrl = 'http://140.143.152.226:8410/';
+ const baseUrl = '';
this.evidence.pic.splice(this.evidence.pic.indexOf(baseUrl + url),1);
}
},
@@ -458,23 +460,23 @@
}
}
- ::v-deep .el-textarea__inner {
- background-color: #09152f;
- border: 1px solid #17324c;
- }
+ // ::v-deep .el-textarea__inner {
+ // // background-color: #09152f;
+ // border: 1px solid #17324c;
+ // }
- ::v-deep .el-input__count {
- background-color: #09152f;
- }
+ // ::v-deep .el-input__count {
+ // // background-color: #09152f;
+ // }
- ::v-deep .el-form-item__label {
- color: #4b9bb7;
- }
+ // ::v-deep .el-form-item__label {
+ // color: #4b9bb7;
+ // }
- ::v-deep .el-input__inner {
- background-color: #09152f;
- border: 1px solid #17324c;
- }
+ // ::v-deep .el-input__inner {
+ // background-color: #09152f;
+ // border: 1px solid #17324c;
+ // }
}
.user-form-footer {
@@ -482,18 +484,18 @@
justify-content: flex-end;
}
-::v-deep .el-textarea__inner {
- background-color: #09152f;
- border: 1px solid #17324c;
-}
+// ::v-deep .el-textarea__inner {
+// // background-color: #09152f;
+// border: 1px solid #17324c;
+// }
-::v-deep .el-input__count {
- background-color: #09152f;
-}
+// ::v-deep .el-input__count {
+// // background-color: #09152f;
+// }
-::v-deep .el-form-item__label {
- color: #4b9bb7;
-}
+// ::v-deep .el-form-item__label {
+// color: #4b9bb7;
+// }
::v-deep .el-dialog__header,
::v-deep .el-dialog__body {
--
Gitblit v1.8.0