| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <div class="app-container" v-loading="loading" :element-loading-text="loadingText" > |
| | | <!-- 搜索区域 --> |
| | | <div class="filter-container"> |
| | | <el-form :inline="true" :model="queryParams" class="demo-form-inline"> |
| | |
| | | |
| | | <div v-if="activeTab === 'fullReport'"> |
| | | <!-- 表格区域 --> |
| | | <el-table v-loading="loading" :data="tableData" border style="width: 100%" :row-class-name="tableRowClassName"> |
| | | <el-table :data="tableData" border style="width: 100%" :row-class-name="tableRowClassName"> |
| | | <el-table-column type="index" key="table_A" label="序号" width="50" align="center" /> |
| | | <el-table-column prop="street" key="table_A" label="镇(街道)" min-width="120" align="center" /> |
| | | <el-table-column prop="projectName" key="table_A" label="拆迁项目名称" min-width="180" align="center" /> |
| | |
| | | single: true, |
| | | // 非多个禁用 |
| | | multiple: true, |
| | | //加载文案 |
| | | loadingText: '加载中', |
| | | // 总条数 |
| | | total: 0, |
| | | // 表格数据 |
| | |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | this.loading = true |
| | | this.loadingText = '系统自动纠错中...' |
| | | autoCorrectPlacementBatch({ id: this.detailData.id }).then((res) => { |
| | | this.loadingText = '加载中...' |
| | | this.getList(); |
| | | }) |
| | | .catch(() => { |
| | | this.loadingText = '加载中...' |
| | | this.loading = false |
| | | }) |
| | | |
| | | |
| | | }) |
| | | }, |
| | | |
| | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | ::v-deep .el-loading-spinner{ |
| | | position: fixed; |
| | | left: 8%; |
| | | right: 0; |
| | | margin: auto; |
| | | /* margin: 0 auto; */ |
| | | } |
| | | ::v-deep .warning-row { |
| | | background: #DE868F !important; |
| | | } |