| | |
| | | <template> |
| | | <basic-container> |
| | | <avue-crud |
| | | :option="tableOption" |
| | | :table-loading="loading" |
| | | :data="tableData" |
| | | :page.sync="page" |
| | | :permission="permissionList" |
| | | ref="crud" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | @row-click="handleRowClick" |
| | | class="rowClick" |
| | | <div> |
| | | <basic-container> |
| | | <avue-crud |
| | | :option="tableOption" |
| | | :table-loading="loading" |
| | | :data="tableData" |
| | | :page.sync="page" |
| | | :permission="permissionList" |
| | | ref="crud" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | @cell-click="handleRowClick" |
| | | class="rowClick" |
| | | > |
| | | </avue-crud> |
| | | </basic-container> |
| | | <el-dialog |
| | | class="tongji-class" |
| | | :title="dialogTitle" |
| | | append-to-body |
| | | :visible.sync="dialogShow" |
| | | v-if="dialogShow" |
| | | > |
| | | </avue-crud> |
| | | </basic-container> |
| | | <companyDetails :fwdeptId="fwdeptId"></companyDetails> |
| | | <!-- <avue-crud |
| | | :option="option2" |
| | | :data="data2" |
| | | :page.sync="page2" |
| | | @row-save="rowSave2" |
| | | @row-update="rowUpdate2" |
| | | @row-del="rowDel2" |
| | | :table-loading="loading2" |
| | | > |
| | | </avue-crud> --> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import FileSaver from "file-saver"; |
| | |
| | | selectLi, |
| | | dictionaryList |
| | | } from "../../api/statisticalQueryManagement/statisticalQueryManagement"; |
| | | import { lazyTreeJu ,lazyTrees} from "../../api/index/index"; |
| | | import { lazyTreeJu, lazyTrees } from "../../api/index/index"; |
| | | import companyDetails from "./companyDetails"; |
| | | export default { |
| | | name: "业务情况统计", |
| | | components: { |
| | | companyDetails |
| | | }, |
| | | data() { |
| | | return { |
| | | page: { |
| | |
| | | query: {}, |
| | | value1: "", |
| | | value2: "", |
| | | tableData: [ |
| | | // { |
| | | // company: "江西省永安保安服务有限公司", |
| | | // subOffice: "东湖分局", |
| | | // total: "21540", |
| | | // holder: "21520", |
| | | // nosend: "10200", |
| | | // send: "1320", |
| | | // nopicture: "314", |
| | | // qualification: "142", |
| | | // pass: "21120", |
| | | // socialSecurity: "21535", |
| | | // }, |
| | | // { |
| | | // company: "南昌市赣水保安服务有限公司", |
| | | // subOffice: "东湖分局", |
| | | // total: "21540", |
| | | // holder: "21520", |
| | | // nosend: "10200", |
| | | // send: "1320", |
| | | // nopicture: "314", |
| | | // qualification: "142", |
| | | // pass: "21120", |
| | | // socialSecurity: "21535", |
| | | // }, |
| | | // { |
| | | // company: "江西中业兴达保安服务有限公司", |
| | | // subOffice: "东湖分局", |
| | | // total: "21540", |
| | | // holder: "21520", |
| | | // nosend: "10200", |
| | | // send: "1320", |
| | | // nopicture: "314", |
| | | // qualification: "142", |
| | | // pass: "21120", |
| | | // socialSecurity: "21535", |
| | | // }, |
| | | ], |
| | | tableData: [], |
| | | tableOption: { |
| | | align: "center", |
| | | viewBtn: true, |
| | |
| | | }, |
| | | // dicUrl: "/api/information/lazyTreeJu", |
| | | // dicMethod:'post', |
| | | dicData: [ |
| | | // { |
| | | // value: "0", |
| | | // label: "南昌市公安局" |
| | | // }, |
| | | // { |
| | | // value: "2", |
| | | // label: "东湖分局" |
| | | // }, |
| | | // { |
| | | // value: "3", |
| | | // label: "西湖分局" |
| | | // }, |
| | | // { |
| | | // value: "4", |
| | | // label: "青云谱分局" |
| | | // }, |
| | | // { |
| | | // value: "5", |
| | | // label: "青山湖分局" |
| | | // } |
| | | ], |
| | | dicData: [], |
| | | search: true, |
| | | rules: [ |
| | | { |
| | |
| | | prop: "paiqnum", |
| | | display: false |
| | | }, |
| | | // { |
| | | // label: "未采集照片人数", |
| | | // prop: "wcaijnum", |
| | | // display: false |
| | | // }, |
| | | { |
| | | label: "未采集照片人数", |
| | | prop: "wcaijnum", |
| | | label: "已采集照片人数", |
| | | prop: "ycaijzpnum", |
| | | display: false |
| | | }, |
| | | { |
| | | label: "已采集指纹人数", |
| | | prop: "ycaijzwnum", |
| | | display: false |
| | | }, |
| | | { |
| | |
| | | ] |
| | | }, |
| | | companyName: "", |
| | | loading: true |
| | | loading: true, |
| | | dialogShow: false |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | handleRowClick(row, event, column) { |
| | | this.$router.push({ |
| | | path: "/statisticalQueryManagement/companyDetails?deptid=" + row.dept_id |
| | | }); |
| | | handleRowClick(row, column, cell, event) { |
| | | if (column.label == "保安员总数") { |
| | | this.dialogTitle = "保安员明细"; |
| | | this.fwdeptId = row.dept_id; |
| | | this.dialogShow = true; |
| | | } else { |
| | | this.dialogShow = false; |
| | | } |
| | | // this.$router.push({ |
| | | // path: "/statisticalQueryManagement/companyDetails?deptid=" + row.dept_id |
| | | // }); |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }; |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | /deep/ .rowClick .el-table__row:hover td { |
| | | /deep/ .rowClick .el-table__row:hover td:nth-child(6) { |
| | | cursor: pointer; |
| | | } |
| | | </style> |