| | |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | <el-table :data="tableData" ref="dataTable" style="width: 100%"> |
| | | <el-table :data="tableData" ref="dataTable" style="width: 100%" v-loading="loading"> |
| | | <el-table-column type="selection" width="55" align="center"></el-table-column> |
| | | <el-table-column prop="number" label="编号" align="center" width="120"> |
| | | <template slot-scope="scope"> |
| | |
| | | YHBMList: [], |
| | | YHJBList: [], |
| | | tableData: [], |
| | | loading:false, |
| | | listQuery: { |
| | | page: 1, |
| | | limit: 10, |
| | |
| | | getPageList() { |
| | | this.listQuery.page = 1 |
| | | this.checkTime() |
| | | this.loading = true |
| | | getPageList(this.listQuery).then(res => { |
| | | this.loading = false |
| | | if (res.data.ok == 1) { |
| | | this.tableData = res.data.data.items |
| | | this.recordTotal = res.data.data.total |
| | |
| | | fillRectification() { |
| | | var checkData = this.$refs.dataTable.selection; |
| | | if (checkData.length < 1) { |
| | | this.$message({type: 'warn', message: "请选择勾选需要填写的数据!", duration: 3000}) |
| | | this.$message({type: 'warning', message: "请选择勾选需要填写的数据!", duration: 3000}) |
| | | return; |
| | | } |
| | | this.$router.push({ |
| | |
| | | fillInspector() { |
| | | var checkData = this.$refs.dataTable.selection; |
| | | if (checkData.length < 1) { |
| | | this.$message({type: 'warn', message: "请选择勾选需要填写的数据!", duration: 3000}) |
| | | this.$message({type: 'warning', message: "请选择勾选需要填写的数据!", duration: 3000}) |
| | | return; |
| | | } |
| | | this.$router.push({ |
| | |
| | | revoke() { |
| | | var checkData = this.$refs.dataTable.selection; |
| | | if (checkData.length < 1) { |
| | | this.$message({type: 'warn', message: "请勾选需要撤销的数据!", duration: 3000}) |
| | | this.$message({type: 'warning', message: "请勾选需要撤销的数据!", duration: 3000}) |
| | | return; |
| | | } |
| | | var revokeIds = ""; |
| | |
| | | deleteBath() { |
| | | var checkData = this.$refs.dataTable.selection; |
| | | if (checkData.length < 1) { |
| | | this.$message({type: 'warn', message: "请勾选需要删除的数据!", duration: 3000}) |
| | | this.$message({type: 'warning', message: "请勾选需要删除的数据!", duration: 3000}) |
| | | return; |
| | | } |
| | | var deleteIds = ""; |