| | |
| | | <div class="card-content"> |
| | | <div class="title-container"> |
| | | <h1>考核预警</h1> |
| | | <div class="more-button"> |
| | | <div class="more-button" @click="$router.push({ path: '/check/result' })"> |
| | | <span>更多</span> |
| | | <i class="el-icon-arrow-right"></i> |
| | | </div> |
| | | </div> |
| | | |
| | | <el-table :data="tableData" height="400"> |
| | | <el-table-column prop="date" label="警报时间" align="center"> |
| | | <el-table :data="tableData" height="400" empty-text="最近一周暂无数据"> |
| | | <el-table-column prop="createTime" label="警报时间" align="center"> |
| | | </el-table-column> |
| | | <el-table-column prop="name" label="公司名称" align="center"> |
| | | <el-table-column prop="area" label="区域" align="center"> |
| | | </el-table-column> |
| | | <el-table-column prop="rule" label="考核规则" align="center"> |
| | | <el-table-column prop="examineTag" label="考核标签" align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini">详情</el-button> |
| | | </template> |
| | | <el-table-column prop="templateName" label="模板" align="center"> |
| | | </el-table-column> |
| | | <el-table-column prop="score" label="分数" align="center"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { checkScore } from "@/api/platform/home"; |
| | | export default { |
| | | name: 'DataTable', |
| | | data() { |
| | | return { |
| | | tableData: [ |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '车辆考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '点位考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '车辆考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '点位考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '车辆考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '车辆考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '点位考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '点位考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '车辆考核', |
| | | num: 111, |
| | | }, |
| | | { |
| | | date: '2024.02.28 15:14:01', |
| | | name: '运维公司名称1', |
| | | address: '上海市普陀区金沙江路 1518 弄', |
| | | rule: '点位考核', |
| | | num: 111, |
| | | }, |
| | | ] |
| | | tableData: [] |
| | | } |
| | | }, |
| | | mounted() { |
| | | checkScore().then(res => { |
| | | this.tableData = res.data; |
| | | }) |
| | | } |
| | | } |
| | | </script> |