| | |
| | | <div class="app-container"> |
| | | <el-row :gutter="20"> |
| | | <!--部门数据--> |
| | | <el-col :span="4" :xs="24"> |
| | | <el-col :span="3" :xs="24"> |
| | | <div class="head-container"> |
| | | <el-input |
| | | v-model="xmmc" |
| | |
| | | >导出 |
| | | </el-button> |
| | | </el-col> --> |
| | | <right-toolbar |
| | | <!-- <right-toolbar |
| | | :showSearch.sync="showSearch" |
| | | @queryTable="getList" |
| | | ></right-toolbar> |
| | | ></right-toolbar> --> |
| | | </el-row> |
| | | |
| | | <div style="width: 100%;"> |
| | |
| | | this.loading = true; |
| | | // this.List = true; |
| | | listAdvice(this.queryParam).then((response) => { |
| | | response.data.list.forEach((item, index) => { |
| | | item.newID = |
| | | (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1; |
| | | }); |
| | | // response.data.list.forEach((item, index) => { |
| | | // item.newID = |
| | | // (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1; |
| | | // }); |
| | | |
| | | this.adviceList = response.data.list; |
| | | this.total = response.data.total; |
| | |
| | | getListByXmId() { |
| | | this.loading = true; |
| | | listRules(this.queryParams).then((response) => { |
| | | response.rows.forEach((item, index) => { |
| | | response.data.rows.forEach((item, index) => { |
| | | item.newID = |
| | | (this.queryParams.pageNum - 1) * this.queryParams.pageSize + |
| | | index + |
| | | 1; |
| | | }); |
| | | this.rulesList = response.rows; |
| | | this.rulesList = response.data.rows; |
| | | console.log(this.rulesList, 999); |
| | | |
| | | this.total = response.total; |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | |
| | | } |
| | | |
| | | .scrollable-container { |
| | | width: 260px; |
| | | width: 200px; |
| | | /* 设置容器的宽度 */ |
| | | height: 629px; |
| | | /* 设置容器的高度 */ |