| | |
| | | </avue-crud> |
| | | </basic-container> |
| | | <el-dialog |
| | | class="fuwu-class" |
| | | class="tongji-class" |
| | | :title="dialogTitle" |
| | | append-to-body |
| | | :visible.sync="dialogShow" |
| | | v-if="dialogShow" |
| | | > |
| | | <businessStatisticsDetail :fwdeptId="fwdeptId"></businessStatisticsDetail> |
| | | <businessStatisticsDetail |
| | | v-if="searchitem === 'fw'" |
| | | :fwdeptId="fwdeptId" |
| | | ></businessStatisticsDetail> |
| | | <businessStatisticsPq |
| | | v-if="searchitem === 'pq'" |
| | | :fwdeptId="fwdeptId" |
| | | ></businessStatisticsPq> |
| | | <businessStatisticsFwdq |
| | | v-if="searchitem === 'dq'" |
| | | :fwdeptId="fwdeptId" |
| | | ></businessStatisticsFwdq> |
| | | <securityGuardDetail |
| | | v-if="searchitem === 'zong'" |
| | | :fwdeptId="fwdeptId" |
| | | :paramCz="paramCz" |
| | | ></securityGuardDetail> |
| | | <!-- <avue-crud |
| | | :option="option2" |
| | | :data="data2" |
| | |
| | | } from "../../api/statisticalQueryManagement/statisticalQueryManagement"; |
| | | import { lazyTreeJu, lazyTrees } from "../../api/index/index"; |
| | | import businessStatisticsDetail from "./businessStatisticsDetail"; |
| | | import businessStatisticsPq from "./businessStatisticsPq"; |
| | | import businessStatisticsFwdq from "./businessStatisticsFwdq"; |
| | | import securityGuardDetail from "./securityGuardDetail"; |
| | | export default { |
| | | name: "业务情况统计", |
| | | components: { |
| | | businessStatisticsDetail |
| | | businessStatisticsDetail, |
| | | businessStatisticsPq, |
| | | businessStatisticsFwdq, |
| | | securityGuardDetail |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | loading: true, |
| | | dialogTitle: "", |
| | | dialogShow: false, |
| | | fwdeptId: "" |
| | | pqdialogShow: false, |
| | | fwdeptId: "", |
| | | searchitem: "", |
| | | paramCz: false |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | }); |
| | | }, |
| | | handleRowClick(row, column, cell, event) { |
| | | this.dialogShow = true; |
| | | this.paramCz = false; |
| | | |
| | | if (column.label == "服务对象数量") { |
| | | this.dialogTitle = "业务统计明细---服务对象清单"; |
| | | this.searchitem = "fw"; |
| | | this.fwdeptId = row.departmentid; |
| | | this.dialogShow = true; |
| | | |
| | | // dispatcherUnit({ |
| | | // deptId: row.departmentid |
| | | // }).then(res => { |
| | |
| | | // row.departmentid |
| | | // }); |
| | | } else if (column.label == "保安员人数") { |
| | | this.$router.push({ |
| | | path: |
| | | "/statisticalQueryManagement/securityGuardDetail?departmentid=" + |
| | | row.departmentid |
| | | }); |
| | | this.dialogTitle = "业务统计明细---保安员清单"; |
| | | this.searchitem = "zong"; |
| | | this.fwdeptId = row.departmentid; |
| | | this.dialogShow = true; |
| | | |
| | | // this.$router.push({ |
| | | // path: |
| | | // "/statisticalQueryManagement/securityGuardDetail?departmentid=" + |
| | | // row.departmentid |
| | | // }); |
| | | } else if (column.label == "派遣人数") { |
| | | this.dialogTitle = "业务统计明细---派遣人员清单"; |
| | | this.searchitem = "pq"; |
| | | this.fwdeptId = row.departmentid; |
| | | this.dialogShow = true; |
| | | } else if (column.label == "服务到期数量") { |
| | | this.dialogTitle = "业务统计明细---服务到期公司清单"; |
| | | this.searchitem = "dq"; |
| | | this.fwdeptId = row.departmentid; |
| | | this.dialogShow = true; |
| | | } else if (column.label == "持证人数") { |
| | | this.dialogTitle = "业务统计明细---持证保安人员清单"; |
| | | this.searchitem = "dq"; |
| | | this.paramCz = true; |
| | | this.fwdeptId = row.departmentid; |
| | | this.dialogShow = true; |
| | | } else { |
| | | this.dialogShow = false; |
| | | } |
| | | } |
| | | }, |
| | |
| | | /deep/ .businessStatisticsStyle .el-table__row:hover td:nth-child(10) { |
| | | cursor: pointer !important; |
| | | } |
| | | |
| | | </style> |