| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table border v-loading="loading" :data="rulesList" @selection-change="handleSelectionChange"> |
| | | <el-table border v-loading="loading" :data="rulesList" @selection-change="handleSelectionChange" height="540"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" align="center" prop="newID" width="55" /> |
| | | <!-- <el-table-column label="项目id" align="center" prop="proId" /> --> |
| | |
| | | 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; |