| | |
| | | params: params |
| | | }); |
| | | }; |
| | | // export const selectFj = () => { |
| | | // return request({ |
| | | // url: "/api/information/selectFj", |
| | | // method: "post" |
| | | // }); |
| | | // }; |
| | | export const selectFj = () => { |
| | | return request({ |
| | | url: "/api/information/selectFj", |
| | | method: "post" |
| | | url: "/api/information/selectSubstationWarnInfo", |
| | | method: "get" |
| | | }); |
| | | }; |
| | | export const selectBx = params => { |
| | |
| | | method: "get", |
| | | params: params |
| | | }); |
| | | }; |
| | | }; |
| | |
| | | label="预警信息内容" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | :key="gridData.type" |
| | | prop="znum" |
| | | label="数量(条)" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | </template> |
| | | <template v-if="gridData.type === 'ywdx_gs'"> |
| | | <el-table-column :key="gridData.type" type="index"> </el-table-column> |
| | |
| | | this.showcurTable(type); |
| | | }, |
| | | showcurTable(type) { |
| | | this.dialogloading = true; |
| | | // this.dialogloading = true; |
| | | this.dialogTableVisible = true; |
| | | if (type === "sb") { |
| | | this.gridData.title = "社保缴纳预警保安公司"; |
| | |
| | | :key="gridData.type" |
| | | prop="enterprisename" |
| | | label="保安公司名称" |
| | | width="180" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <el-table-column |
| | |
| | | :key="gridData.type" |
| | | prop="pnum" |
| | | label="派遣比例" |
| | | :formatter="kslFormatter" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <!-- <el-table-column |
| | |
| | | :key="gridData.type" |
| | | prop="pnum" |
| | | label="持证比例" |
| | | :formatter="kslFormatter" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <!-- <el-table-column |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | kslFormatter(row) { |
| | | if (row.pnum && row.pnum !== "0") { |
| | | return row.pnum + "%"; |
| | | } else { |
| | | return row.pnum; |
| | | } |
| | | }, |
| | | changePage() { |
| | | this.showcurTable(this.gridData.type); |
| | | }, |
| | |
| | | this.showcurTable(type); |
| | | }, |
| | | showcurTable(type) { |
| | | this.dialogloading = true; |
| | | this.dialogTableVisible = true; |
| | | // this.dialogloading = true; |
| | | if (type === "fw") { |
| | | this.gridData.title = "服务对象预警保安公司"; |
| | | this.getSecurityUnitServerLessPage(); |
| | |
| | | }, |
| | | { |
| | | label: "保安员姓名", |
| | | prop: "realName", |
| | | prop: "securityName", |
| | | display: false |
| | | }, |
| | | { |