From 47869ed41d8a0d329f770f1654b3794ba601d098 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期日, 21 九月 2025 10:59:23 +0800
Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web
---
ruoyi-ui/src/views/travel/travelInfo.vue | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/ruoyi-ui/src/views/travel/travelInfo.vue b/ruoyi-ui/src/views/travel/travelInfo.vue
index 91bfb37..94ae0bb 100644
--- a/ruoyi-ui/src/views/travel/travelInfo.vue
+++ b/ruoyi-ui/src/views/travel/travelInfo.vue
@@ -81,9 +81,9 @@
multiple
-
+ :limit="100"
ref="upload"
- :show-file-list="true"
+ :show-file-list="true"
:http-request="requestUpload"
:file-list="fileList"
:on-change="handleChange"
@@ -586,17 +586,20 @@
//鑷畾涔変笂浼犳柟娉�
handleChange(file, fileList1) {
//瀹氫箟涓�涓叏灞�鏁扮粍uploadFileList鏉ュ仛瀛樺偍
-
+console.log(file)
// this.uploadFileList.push(file.raw);
console.log("=========5555=========")
+ console.log(file.raw)
this.uploadFileList.push(file.raw);
this.fileList.push({name:file.name,url:file.url,res:true})
+ // alert(23)
},
//鑷畾涔変笂浼犳柟娉�
handleChange1(file, fileListOther12) {
//瀹氫箟涓�涓叏灞�鏁扮粍uploadFileList鏉ュ仛瀛樺偍
// this.uploadFileList.push(file.raw);
+
this.uploadFileList1.push(file.raw);
this.fileListOther.push({name:file.name,url:file.url,res:true})
console.log("=========5555=========")
@@ -626,6 +629,7 @@
uploadPic(formData).then(response => {
_this.uploadFileList1 = []
_this.formData.url = _this.formData.url+","+response.fileNames
+
updateTravelBase(_this.formData).then(response => {
this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛");
// this.open = false;
@@ -674,6 +678,9 @@
// alert(response.fileNames)
_this.formData.url = _this.formData.url+","+response.fileNames
_this.uploadFileList = []
+ alert(response.urls)
+ alert(_this.formData.url)
+ alert(response.fileNames)
// alert(87)
updateTravelBase(_this.formData).then(response => {
_this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛");
@@ -720,11 +727,11 @@
<style scoped>
.el-table__row.statistics-warning-row {
background: #E0EEFE;
-
+
}
.el-table__row.statistics-warning-row1 {
background: #FFEFF2;
-
+
}
.app-container{
background-color: #FEF7FC;
--
Gitblit v1.9.1