{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\duty\\CMGTDutyAnalysisRelevancy\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\duty\\CMGTDutyAnalysisRelevancy\\index.vue","mtime":1690541169595},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport BasicInformation from './components/BasicInformation.vue'\r\nimport MonthScheduling from './components/MonthScheduling.vue'\r\nimport DutyWarningInformation from './components/DutyWarningInformation.vue'\r\nimport {TableMixin} from '@/mixins/tableMixin'\r\nimport CMGTDutyAnalysisRelevancyApi from '@/api/CMGTDutyAnalysisRelevancyApi'\r\n\r\n// 解构接口api对象\r\nconst {\r\n getTableData,\r\n getOrganizationData\r\n} = CMGTDutyAnalysisRelevancyApi\r\n\r\nexport default {\r\n name: 'CMGTDutyAnalysisRelevancy', // 执勤行为分析\r\n components: {\r\n BasicInformation,\r\n MonthScheduling,\r\n DutyWarningInformation\r\n },\r\n mixins: [TableMixin],\r\n data() {\r\n return {\r\n // 表格产讯参数\r\n query: {\r\n yearMonth: '',\r\n organizationId: ''\r\n },\r\n dutyRecordsDialog: false, // 执勤电子档案弹层\r\n organizationOpt: [], // 织机构下拉框数据\r\n rowInfo: {}, // 点击行信息\r\n componentName: 'BasicInformation',\r\n // 执勤电子档案弹层内tab按钮配置\r\n dutyRecordsDialogTabOpt: [\r\n {\r\n tabName: '基本信息',\r\n componentName: 'BasicInformation',\r\n iconName: 'el-icon-user-solid'\r\n },\r\n {\r\n tabName: '本月排班信息',\r\n componentName: 'MonthScheduling',\r\n iconName: 'el-icon-date'\r\n },\r\n {\r\n tabName: '执勤预警信息',\r\n componentName: 'DutyWarningInformation',\r\n iconName: 'el-icon-warning'\r\n }\r\n ]\r\n }\r\n },\r\n created() {\r\n // 获取组织机构下拉框数据\r\n getOrganizationData(res => this.organizationOpt = res)\r\n },\r\n mounted() {\r\n },\r\n methods: {\r\n // 重置\r\n clearQuerys() {\r\n this.query = this.$options.data().query\r\n },\r\n\r\n // 获取表格数据\r\n loadData(page) {\r\n this.loading = true\r\n if (page) this.queryParam.pageBean.page = page\r\n /*\r\n * this.queryParam 为封装的分页数组对象\r\n * this.query 为表格条件查询参数\r\n * */\r\n getTableData(this.query, this.queryParam, res => {\r\n // console.log(res, 'res')\r\n const {total, rows: tableData} = res\r\n this.total = total\r\n this.tableData = tableData\r\n this.loading = false\r\n })\r\n },\r\n\r\n // 展示弹层公共函数\r\n showDialog(dialogName, row) {\r\n if (row) this.rowInfo = row // 保存行信息\r\n // console.log(row)\r\n // 后续多个弹层通过switch派单\r\n switch (dialogName) {\r\n case 'dutyRecordsDialog':\r\n break\r\n }\r\n this[dialogName] = true\r\n },\r\n\r\n // 隐藏弹层\r\n hideDialog() {\r\n // 重置tabs选择为第一个tab选项(人员基本信息)\r\n this.componentName = this.$options.data().componentName\r\n }\r\n\r\n }\r\n}\r\n",null]}