| | |
| | | <el-table-column label="住宿" prop="stay" sortable width="100" /> |
| | | <el-table-column label="交通" prop="traffic" sortable width="100" /> |
| | | <el-table-column label="门票" prop="entrance" sortable width="100" /> |
| | | <el-table-column label="购物" prop="shopping" sortable width="100" /> |
| | | <el-table-column label="购物" prop="shopping" sortable width="80" /> |
| | | |
| | | |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | class="button_delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:role:remove']" |
| | | >删除</el-button> |
| | | > <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn></el-button> |
| | | <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['familymodel:economy:info']"> |
| | | <el-button size="mini" type="text" icon="el-icon-d-arrow-right" @click="handleCheck(scope.row)">查看详情</el-button> |
| | | </el-dropdown> |
| | | <el-button class="button" size="mini" type="text" @click="handleShow"> |
| | | <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn> </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-dialog :title="title" :visible.sync="openDataScope" width="1500px" append-to-body > |
| | | <div style="background-color: #FEF7FC;"> |
| | | <el-table v-loading="loading" :data="detailList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" > |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/> |
| | | <el-table-column label="时间" prop="happenTime" sortable width="100" align="center"> |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <el-table-column label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="150"/> |
| | | <el-table-column label="时间" prop="happenTime" sortable width="150" align="center"> |
| | | <template slot-scope="scope">{{scope.row.happenTime? scope.row.happenTime: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="内容" prop="content" sortable :show-overflow-tooltip="true" width="150" /> |
| | | <el-table-column label="总金额" prop="totalcost" sortable :show-overflow-tooltip="true" width="150" /> |
| | | <el-table-column label="餐费" prop="eat" sortable :show-overflow-tooltip="true" width="150" /> |
| | | <el-table-column label="住宿" prop="stay" sortable :show-overflow-tooltip="true" width="150" /> |
| | | <el-table-column label="内容" prop="content" sortable :show-overflow-tooltip="true" width="160" /> |
| | | <el-table-column label="总金额" prop="totalCost" sortable :show-overflow-tooltip="true" width="160" /> |
| | | <el-table-column label="餐费" prop="eat" sortable :show-overflow-tooltip="true" width="160" /> |
| | | <el-table-column label="住宿" prop="stay" sortable :show-overflow-tooltip="true" width="160" /> |
| | | <el-table-column label="交通" prop="traffic" sortable :show-overflow-tooltip="true" width="150" /> |
| | | <el-table-column label="门票" prop="entrance" sortable :show-overflow-tooltip="true" width="150" /> |
| | | <el-table-column label="购物" prop="shopping" sortable :show-overflow-tooltip="true" width="150" /> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['familymodel:property:info']" |
| | | >修改</el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:role:remove']" |
| | | >删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | </el-table> |
| | | <pagination |
| | | v-show="total>0" |
| | |
| | | |
| | | |
| | | //在system/note/index.js中导入接口函数 --接好了 |
| | | import {listTravelPrice,enload,delTravelPrice, addTravelPrice, uploadPic} from "@/api/travel/index"; |
| | | import {listTravelPrice,enload,getTravelPriceInfo,delTravelPrice, addTravelPrice, uploadPic} from "@/api/travel/index"; |
| | | |
| | | export default { |
| | | name: "Role", |
| | |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | const id = row.id; |
| | | let jd = true |
| | | // let jd = true |
| | | |
| | | this.$router.push({ |
| | | path:"/self/travel/edit/" + id, |
| | | query:{ |
| | | detail:jd |
| | | } |
| | | }); |
| | | // this.$router.push({ |
| | | // path:"/self/travel/edit/" + id, |
| | | // query:{ |
| | | // detail:jd |
| | | // } |
| | | // }); |
| | | this.$router.push("/self/travel/edit/" + id); |
| | | }, |
| | | |
| | | |
| | |
| | | background: #FFEFF2; |
| | | |
| | | } |
| | | .button { |
| | | background: center no-repeat url('../../assets/images/弹窗 1.png') ; |
| | | /* margin-left: 66vw; */ |
| | | } |
| | | .button_delete { |
| | | background: center no-repeat url('../../assets/images/删除2.png') ; |
| | | |
| | | /* margin-left: 66vw; */ |
| | | } |
| | | </style> |