From a191b146987b36eaad9b441c458f74c69aeef63f Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期日, 27 十月 2024 21:16:58 +0800 Subject: [PATCH] 修改了对应的bug --- ruoyi-ui/src/views/travel/index.vue | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/travel/index.vue b/ruoyi-ui/src/views/travel/index.vue index 205a542..65b27bf 100644 --- a/ruoyi-ui/src/views/travel/index.vue +++ b/ruoyi-ui/src/views/travel/index.vue @@ -155,7 +155,7 @@ <!-- <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"> + <el-table-column fixed="right" 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" @@ -204,7 +204,7 @@ - <el-table-column label="鎿嶄綔" align="center" sortable width="250" v-if="userId != 2"> + <el-table-column fixed="right" label="鎿嶄綔" align="center" sortable width="250" v-if="userId != 2"> <template slot-scope="scope" v-if="scope.row.roleId !== 1"> <el-button size="mini" @@ -264,7 +264,7 @@ <el-table-column label="闂ㄧエ" prop="entrance" sortable :show-overflow-tooltip="true" width="100px" /> <el-table-column label="璐墿" prop="shopping" sortable :show-overflow-tooltip="true" width="100px" /> - <el-table-column label="鎿嶄綔" align="center" sortable class-name="small-padding fixed-width" v-if="userId != 2"> + <el-table-column fixed="right" label="鎿嶄綔" align="center" sortable class-name="small-padding fixed-width" v-if="userId != 2"> <template slot-scope="scope" v-if="scope.row.roleId !== 1"> <el-button @@ -743,7 +743,7 @@ import {delFamilyevent, listFamilyevent} from "@/api/bignote"; export default { - name: "Role", + name: "Ztravel", dicts: ['sys_normal_disable'], data() { return { @@ -1181,13 +1181,13 @@ this.listRoot.forEach(element => { kon[element['nickName']] = element['userId'] }) - for(let i in kon){ - this.userOptions.push({label: i,value: kon[i]}) - } - for(let i in this.userOptions){ - this.userList.push(this.userOptions[i].value) - } - console.log(this.userList,'userListuserListuserList99999999999999') + // for(let i in kon){ + // this.userOptions.push({label: i,value: kon[i]}) + // } + // for(let i in this.userOptions){ + // this.userList.push(this.userOptions[i].value) + // } + // console.log(this.userList,'userListuserListuserList99999999999999') this.loading1 = false; } ); @@ -1203,6 +1203,7 @@ }).then(() => { this.getList(); + this.getList1(); this.$modal.msgSuccess("鍒嗕韩鎴愬姛"); this.id1 = undefined this.open1 = false; @@ -1440,6 +1441,7 @@ /** 鏌ョ湅璇︾粏淇℃伅 */ handleCheck(row){ const id = row.id; + this.open2 = false; // alert(id) // alert(row.fee_id) this.$router.push("/self/travel/Info/" + id); -- Gitblit v1.9.1