From 05d623d5b806f6650b9544dcbd4f322d677bf9a8 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期二, 26 三月 2024 16:44:40 +0800 Subject: [PATCH] 完善直播模块2 --- ruoyi-ui/src/views/travel/index.vue | 33 ++++++++++++++++++++++++--------- 1 files changed, 24 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/views/travel/index.vue b/ruoyi-ui/src/views/travel/index.vue index 33687b0..52c771f 100644 --- a/ruoyi-ui/src/views/travel/index.vue +++ b/ruoyi-ui/src/views/travel/index.vue @@ -108,8 +108,8 @@ <el-table-column label="浣忓璐�" prop="stay" sortable width="100px" /> <el-table-column label="浜ら��" prop="travel" sortable width="70px" /> <el-table-column label="闂ㄧエ" prop="entrance" sortable width="70px" /> - <el-table-column label="鍏跺畠璐圭敤" prop="entrance" sortable width="120px" /> - <el-table-column label="澶囨敞" prop="entrance" sortable width="120px" /> + <el-table-column label="鍏跺畠璐圭敤" prop="otherCost" sortable width="120px" /> + <el-table-column label="澶囨敞" prop="backInfo" sortable width="120px" /> <el-table-column label="鐢靛瓙鏂囦欢" prop="url" width="160" > <template slot-scope="scope" > @@ -119,7 +119,7 @@ alt="" style="width: 35px; height: 35px;" fit="cover" - v-if="!scope.row.url " + v-if="scope.row.url" > <img class="el-upload-list__item-thumbnail" @@ -127,7 +127,7 @@ alt="" style="width: 35px; height: 35px;" fit="cover" - v-if="scope.row.url " + v-if="!scope.row.url" > </template> </el-table-column> @@ -172,7 +172,7 @@ <el-table-column label="鏃呮父鍚嶇О" prop="name" sortable width="200px" /> <el-table-column label="鍘诲悜" prop="destination" sortable width="150px" /> <el-table-column label="鏃呮父鎬ц川" prop="property" sortable width="100" /> - <el-table-column label="鎰熻█" prop="groupTotal" sortable width="120px" /> + <el-table-column label="鎰熻█" prop="spee" sortable width="120px" /> <el-table-column label="鏃呮父鏂瑰紡" prop="manner" sortable width="100" /> <el-table-column label="鎬婚噾棰�" prop="totalPrice" sortable width="100" /> <el-table-column label="椁愯垂" prop="eatTotal" sortable width="70px" /> @@ -308,7 +308,10 @@ <el-input v-model="formDat4.manner" placeholder="璇疯緭鍏ユ梾娓告柟寮�" style="width: 80%;"></el-input> </el-form-item> + <el-form-item label="鎰熻█" prop="spee"> + <textarea type="textarea" v-model="formDat4.spee" placeholder="璇疯緭鍏ユ梾娓告劅瑷�" style="width: 80%;"></textarea> + </el-form-item> </el-form> <h4 class="form-header"> </h4> @@ -339,8 +342,8 @@ <el-input v-model="formDat.travelMode" placeholder="璇疯緭鍏ュ嚭琛屾柟寮�" clearable :style="{width: '100%'}" > </el-input> </el-form-item> - <el-form-item label="鎸佽瘉鏃呮父" prop="certificate"> - <el-select v-model="formDat.certificate" placeholder="璇烽�夋嫨璇佷欢" clearable :style="{width: '80%'}" > + <el-form-item label="鎸佽瘉鏃呮父" prop="document"> + <el-select v-model="formDat.document" placeholder="璇烽�夋嫨璇佷欢" clearable :style="{width: '80%'}" > <el-option label="灞呮皯韬唤璇�" value="灞呮皯韬唤璇�"></el-option> <el-option label="涓存椂韬唤璇�" value="涓存椂韬唤璇�"></el-option> <el-option label="鎴峰彛鏈�" value="鎴峰彛鏈�"></el-option> @@ -352,6 +355,12 @@ <el-form-item label="杞︽/鑸彮" prop="flight"> <el-input v-model="formDat.flight" placeholder="璇疯緭鍏ヨ溅娆�/鑸彮" clearable :style="{width: '100%'}" ></el-input> </el-form-item> + <el-form-item label="鍏跺畠璐圭敤" prop="otherCost"> + <el-input v-model="formDat.otherCost" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" ></el-input> + </el-form-item> + <el-form-item label="澶囨敞" prop="backInfo"> + <el-input v-model="formDat.backInfo" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" ></el-input> + </el-form-item> <!-- <el-form-item label="澶囨敞" prop="remark">--> <!-- <el-input v-model="formDat.remark" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" ></el-input>--> <!-- </el-form-item>--> @@ -529,12 +538,14 @@ happenTime: undefined, title: undefined, travelPeriod:undefined, - certificate: undefined, + document: undefined, totalPrice: undefined, self: undefined, remark: undefined, groupTotal:undefined, url: undefined, + otherCost: undefined, + backInfo: undefined }, formDat1: { eat: undefined, @@ -559,6 +570,7 @@ property:undefined, name: undefined, destination: undefined, + spee: undefined }, // 鑿滃崟鍒楄〃 menuOptions: [], @@ -758,7 +770,9 @@ listTravelPrice(this.queryParams).then(response => { this.travelpriceList = response.data.data; - + //alert(this.travelpriceList.url) + console.log("0000") + console.log(this.travelpriceList) this.total = response.data.total; this.loading = false; @@ -768,6 +782,7 @@ const promises = []; for (const item of this.travelpriceList) { const promise = listTravelBase({ cid: item.id }).then(result => { + console.log(result.data) travelBaseMap[item.id] = result.data; }); promises.push(promise); -- Gitblit v1.9.1