sangwenwei 7 месяцев назад
Родитель
Сommit
cd1c1990d1

+ 1 - 1
src/api/sys/OSSService.js

@@ -178,7 +178,7 @@ export async function httpRequest (file, name, type, maxValue) { // 阿里云OSS
   const year = now.getFullYear()
   const month = now.getMonth() + 1
   const day = now.getDate() > 10 ? now.getDate() : '0' + now.getDate()
-  const filePath = '/attachment-file/assess/' + type + '/' + year + '/' + month + '/' + day + '/' + now.getTime()
+  const filePath = '/attachment-file/jy/' + type + '/' + year + '/' + month + '/' + day + '/' + now.getTime()
   // console.log(filePath, '文件存储路径')
   const fileName = filePath + name + '.' + exname
   // console.log(fileName, '文件名')

+ 1 - 1
src/views/jy/borrowMoney/RefundForm.vue

@@ -183,7 +183,7 @@
 							if (data.refundStatus === '5' && this.status !== 'audit' && this.status !== 'taskFormDetail'){
 								this.inputForm.refundLower = ''
 							}
-							if (data.refundStatus === '1'){
+							if (data.refundStatus === '1' || data.refundStatus === '4'){
 								this.borrowService.findByBorId(data.refundId).then((da)=>{
 									console.log('da',da)
 									if (da.length === 0){

+ 6 - 0
src/views/sys/user/UserForm.vue

@@ -794,6 +794,12 @@ export default {
 			const fileIndex = this.fileList.indexOf(file);
 			if (fileIndex !== -1) {
 				this.fileList.splice(fileIndex, 1); // 从fileList中删除该图片信息
+				if (this.fileList.length>0){
+					this.inputForm.handSignatureUrl = this.fileList.join(",")
+				}else {
+					this.inputForm.handSignatureUrl = ''
+				}
+
 			}
 		},
 		handleAvatarSuccess (res, file, fileList, index, val) {