From 5416279140524175b03a4d45c0ed85341e90d6eb Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期一, 06 一月 2025 12:00:02 +0800 Subject: [PATCH] 修改旅游模块 --- ruoyi-ui/src/views/travel/index.vue | 129 +++++++++++-------------------------------- 1 files changed, 33 insertions(+), 96 deletions(-) diff --git a/ruoyi-ui/src/views/travel/index.vue b/ruoyi-ui/src/views/travel/index.vue index 65b27bf..f03304f 100644 --- a/ruoyi-ui/src/views/travel/index.vue +++ b/ruoyi-ui/src/views/travel/index.vue @@ -113,26 +113,27 @@ <template slot-scope="props"> <div > <el-table :header-row-class-name="tableHeaderRowClassName" v-loading="loading" :data="travelBase[props.row.id]" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;" :row-class-name="tableRowClassName1" > - <el-table-column label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="50px"/> + <el-table-column label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="114px"/> <el-table-column label="鏃堕棿" prop="happenDate" sortable width="100" align="center" > <template slot-scope="scope">{{scope.row.happenDate? scope.row.happenDate: '鈥斺�斺�斺��'}}</template> </el-table-column> - <el-table-column label="鍦扮偣" prop="address" sortable width="100" /> + <el-table-column label="鍦扮偣" prop="address" sortable width="200" /> - <el-table-column label="寤虹瓚" prop="scenic" sortable width="100" /> + <el-table-column label="鏍囬" prop="scenic" sortable width="100" /> <!-- <el-table-column label="鏃呮湡" prop="travelPeriod" sortable width="100" /> --> <el-table-column label="浣跨敤璇佷欢" prop="document" sortable width="100" /> <el-table-column label="杞︽/鑸彮" prop="flight" sortable width="120px" /> - <el-table-column label="椁愯垂" prop="eat" sortable width="70px" /> - <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="otherCost" sortable width="120px" /> - <el-table-column label="澶囨敞" prop="backInfo" sortable width="120px" /> + <el-table-column label="椁愯垂" prop="eat" sortable width="80px" /> + <el-table-column label="浣忓璐�" prop="stay" sortable width="110px" /> + <el-table-column label="璐墿" prop="shop" sortable width="110px" /> + <el-table-column label="浜ら��" prop="travel" sortable width="80px" /> + <el-table-column label="闂ㄧエ" prop="entrance" sortable width="80px" /> + <el-table-column label="鍏跺畠璐圭敤" prop="otherCost" sortable width="130px" /> + <el-table-column label="澶囨敞" prop="backInfo" sortable width="130px" /> - <el-table-column label="鐢靛瓙鏂囦欢" prop="url" width="160" > + <el-table-column label="鐢靛瓙鏂囦欢" prop="url" width="201px" > <template slot-scope="scope" > <img class="el-upload-list__item-thumbnail" @@ -155,7 +156,7 @@ <!-- <el-table-column label="澶囨敞" prop="remark" sortable width="100" />--> - <el-table-column fixed="right" label="鎿嶄綔" align="center" class-name="small-padding fixed-width" v-if="userId != 2"> + <el-table-column label="鎿嶄綔" align="center" class-name="small-padding " v-if="userId != 2"> <template slot-scope="scope" v-if="scope.row.roleId !== 1"> <el-button size="mini" @@ -190,21 +191,23 @@ <template slot-scope="scope">{{scope.row.endTime? scope.row.endTime: '鈥斺�斺�斺��'}}</template> </el-table-column> <!-- <el-table-column label="鎬诲ぉ鏁�" prop="totalDay" sortable width="85px" />--> - <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="name" sortable width="160px" /> + <el-table-column label="鍘诲悜" prop="destination" sortable width="120px" /> + <el-table-column label="鏃呮父鎬ц川" prop="property" sortable width="100px" /> <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" /> - <el-table-column label="浣忓" prop="stayTotal" sortable width="70px" /> - <el-table-column label="浜ら��" prop="travelTotal" sortable width="70px" /> - <el-table-column label="闂ㄧエ" prop="entranceTotal" sortable width="70px" /> - <el-table-column label="鍥㈣垂" prop="groupTotal" sortable width="70px" /> + <el-table-column label="椁愯垂" prop="eatTotal" sortable width="80px" /> + <el-table-column label="璐墿璐�" prop="shopTotal" sortable width="80px" /> + + <el-table-column label="浣忓" prop="stayTotal" sortable width="80px" /> + <el-table-column label="浜ら��" prop="travelTotal" sortable width="80px" /> + <el-table-column label="闂ㄧエ" prop="entranceTotal" sortable width="80px" /> + <el-table-column label="鍥㈣垂" prop="groupTotal" sortable width="80px" /> - <el-table-column fixed="right" label="鎿嶄綔" align="center" sortable width="250" v-if="userId != 2"> + <el-table-column fixed="right" label="鎿嶄綔" align="center" sortable width="250px" v-if="userId != 2"> <template slot-scope="scope" v-if="scope.row.roleId !== 1"> <el-button size="mini" @@ -363,8 +366,8 @@ <el-input v-model="formDat.address" placeholder="璇疯緭鍏ュ湴鐐�" clearable :style="{width: '100%'}" > </el-input> </el-form-item> - <el-form-item label="寤虹瓚" prop="scenic"> - <el-input v-model="formDat.scenic" placeholder="璇疯緭鍏ュ缓绛�" clearable :style="{width: '100%'}" > + <el-form-item label="鏍囬" prop="scenic"> + <el-input v-model="formDat.scenic" placeholder="璇疯緭鍏ユ爣棰�" clearable :style="{width: '100%'}" > </el-input> </el-form-item> <el-form-item label="鍑鸿鏂瑰紡" prop="travelMode"> @@ -526,6 +529,10 @@ <el-input v-model="formDat.eat" type="number" placeholder="璇疯緭鍏ラ璐圭敤" clearable :style="{width: '100%'}" > </el-input> </el-form-item> + <el-form-item label="璐墿璐圭敤" prop="shop"> + <el-input v-model="formDat.shop" type="number" placeholder="璇疯緭鍏ラ璐圭敤" clearable :style="{width: '100%'}" > + </el-input> + </el-form-item> <el-form-item label="闂ㄧエ璐圭敤" prop="entrance"> <el-input v-model="formDat.entrance" type="number" placeholder="璇疯緭鍏ラ棬绁ㄨ垂鐢�" clearable :style="{width: '100%'}" > </el-input> @@ -580,78 +587,7 @@ <el-table v-loading="loading2" border :data="shareList1" :row-key="getRowId2" ref="multipleTable" @selection-change="handleSelectionChange2" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> - <el-table-column type="expand" :cell-class-name="expandRowClassName"> - <template slot-scope="props"> - <div > - <el-table :header-row-class-name="tableHeaderRowClassName" v-loading="loading" :data="travelBase[props.row.id]" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;" :row-class-name="tableRowClassName1" > - <el-table-column label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="50px"/> - - <el-table-column label="鏃堕棿" prop="happenDate" sortable width="100" align="center" > - <template slot-scope="scope">{{scope.row.happenDate? scope.row.happenDate: '鈥斺�斺�斺��'}}</template> - </el-table-column> - - <el-table-column label="鍦扮偣" prop="address" sortable width="100" /> - - <el-table-column label="寤虹瓚" prop="scenic" sortable width="100" /> - <!-- <el-table-column label="鏃呮湡" prop="travelPeriod" sortable width="100" /> --> - <el-table-column label="浣跨敤璇佷欢" prop="document" sortable width="100" /> - <el-table-column label="杞︽/鑸彮" prop="flight" sortable width="120px" /> - <el-table-column label="椁愯垂" prop="eat" sortable width="70px" /> - <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="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" > - <img - class="el-upload-list__item-thumbnail" - src="../../assets/images/deviceLis.png" - alt="" - style="width: 35px; height: 35px;" - fit="cover" - v-if="!(scope.row.url === '' || scope.row.url === ',' || scope.row.url === null)" - > - <img - v-else - class="el-upload-list__item-thumbnail" - src="../../assets/images/deviceA.png" - alt="" - style="width: 35px; height: 35px;" - fit="cover" - > - </template> - </el-table-column> - <!-- <el-table-column label="澶囨敞" prop="remark" sortable width="100" />--> - - - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width" v-if="userId != 2"> - <template slot-scope="scope" v-if="scope.row.roleId !== 1"> -<!-- <el-button - size="mini" - type="text" - icon="el-icon-edit" - @click="handleUpdate1(scope.row)" - v-hasPermi="['familymodel:economy:info']" - >淇敼</el-button> - <el-button - size="mini" - type="text" - icon="el-icon-delete" - @click="handleDelete1(scope.row)" - v-hasPermi="['system:role:remove']" - >鍒犻櫎</el-button> --> - <el-button size="mini" type="text" icon="el-icon-d-arrow-right" @click="handleCheck1(scope.row)">鏌ョ湅璇︽儏</el-button> - - </template> - </el-table-column> - </el-table> - </div> - - - </template> - </el-table-column> + <!-- <el-table-column type="selection" width="55" align="center" /> --> <el-table-column fixed label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="60px"/> <el-table-column label="璧�" prop="startTime" sortable width="100" align="center"> @@ -819,7 +755,7 @@ // 鏁版嵁鑼冨洿閫夐」 // 鏁版嵁鑼冨洿閫夐」 fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', - '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.m4a'], + '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.m4a','.M4A'], fileList:[ ], @@ -1173,7 +1109,7 @@ let clanId = this.$store.state.user.clanId - + if(clanId!=null){ getAllInfo(clanId).then(response => { this.listRoot = response.data; const kon = {} @@ -1191,6 +1127,7 @@ this.loading1 = false; } ); + } }, // 纭鍒嗕韩 subShare(row) { -- Gitblit v1.9.1