From 2f885108269ec626904aa7907a7beb024666140d Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期一, 15 九月 2025 09:39:47 +0800 Subject: [PATCH] 修改了一下前端代码 --- ruoyi-ui/src/views/travel/travelInfo.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/travel/travelInfo.vue b/ruoyi-ui/src/views/travel/travelInfo.vue index 70326d7..ed3a99e 100644 --- a/ruoyi-ui/src/views/travel/travelInfo.vue +++ b/ruoyi-ui/src/views/travel/travelInfo.vue @@ -22,8 +22,8 @@ <el-input v-model="formData.address" placeholder="璇疯緭鍏ュ湴鐐�" clearable :style="{width: '100%'}" :disabled="dsb"> </el-input> </el-form-item> - <el-form-item label="寤虹瓚" prop="scenic"> - <el-input v-model="formData.scenic" placeholder="璇疯緭鍏ュ缓绛�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input> + <el-form-item label="鏍囬" prop="scenic"> + <el-input v-model="formData.scenic" placeholder="璇疯緭鍏ユ爣棰�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input> </el-form-item> @@ -38,6 +38,7 @@ <el-form-item label="浣忓璐圭敤" prop="stay"> <el-input v-model="formData.stay" placeholder="璇疯緭鍏ヤ綇瀹胯垂鐢�" type="number" clearable :style="{width: '100%'}" :disabled="dsb"> </el-input> + </el-form-item> <el-form-item label="璐墿璐圭敤" prop="shop"> <el-input v-model="formData.shop" placeholder="璇疯緭鍏ヨ喘鐗╄垂鐢�" type="number" clearable :style="{width: '100%'}" :disabled="dsb"> </el-input> @@ -80,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" @@ -333,7 +334,7 @@ if(paths[i]!="") { let pth = paths[i].substr(paths[i].length - 4, paths[i].length) - // alert(pth) + // alert(pth) if (_this.fot.includes(pth) === true) { if(paths[i].includes("https")) @@ -585,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=========") @@ -719,11 +723,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