{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\WorkBenchCopy.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\WorkBenchCopy.vue","mtime":1718302390574},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport _defineProperty from \"D:/jenkins/workspace/yhxt-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\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\nexport default {\n data: function data() {\n var _ref;\n return {\n dialogVisible: false,\n tableData: [],\n list: [{\n icon: require(\"../assets/img/icon_1.png\"),\n title: '待办工单',\n tip: '待办工单列表',\n children: [{\n icon: require(\"../assets/images/\\u56FE\\u72472.png\"),\n title: '待办巡查单',\n tip: '我的待办巡查单',\n count: '0',\n url: 'agentInspection',\n fontIcon: 'yhxt-tijiaoweixiudan',\n fontColor: 'linear-gradient(180deg, #E5FBFF 0%, rgba(0,170,204,0.5) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u72473.png\"),\n title: '待处理病害',\n tip: '我记录的',\n url: 'UntreatedDisease',\n count: '0',\n fontIcon: 'yhxt-bingdu',\n fontColor: 'linear-gradient(180deg, #E5FBFF 0%, rgba(0,170,204,0.5) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u72474.png\"),\n title: '待办养护工单',\n tip: '我的待办养护工单',\n url: 'agencyWorkOrder',\n count: '0',\n fontIcon: 'yhxt-material4',\n fontColor: 'linear-gradient(180deg, #E5FBFF 0%, rgba(0,170,204,0.5) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u72474.png\"),\n title: '待审开工信息',\n tip: '我的待审开工信息',\n url: 'startInfo#manageReviewStart',\n count: '0',\n fontIcon: 'yhxt-kaigong',\n fontColor: 'linear-gradient(180deg, #E5FBFF 0%, rgba(0,170,204,0.5) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u72474.png\"),\n title: '待审验收信息',\n tip: '我的待审验收信息',\n url: 'acceptInfo#manageReviewAccept',\n count: '0',\n fontIcon: 'yhxt-yanshoutaizhang',\n fontColor: 'linear-gradient(180deg, #E5FBFF 0%, rgba(0,170,204,0.5) 100%)'\n }]\n }, {\n icon: require(\"../assets/img/icon_5.png\"),\n title: '逾期超时',\n tip: '即将超时逾期(部门)',\n children: [{\n icon: require(\"../assets/images/\\u56FE\\u72475.png\"),\n title: '即将逾期养护工单',\n tip: '',\n count: '0',\n url: 'agencyWorkOrder',\n fontIcon: 'yhxt-material4',\n fontColor: 'linear-gradient(180deg, #FFEECC 0%, rgba(255,149,0,0.6) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u72476.png\"),\n title: '已逾期养护工单',\n tip: '',\n url: 'agencyWorkOrder',\n count: '0',\n fontIcon: 'yhxt-material4',\n fontColor: 'linear-gradient(180deg, #FFDDCC 0%, rgba(255,85,0,0.5) 100%)'\n }, (_ref = {\n icon: require(\"../assets/images/\\u56FE\\u72477.png\"),\n title: '即将逾期病害',\n tip: '',\n count: '0',\n url: 'temporaryVirus'\n }, _defineProperty(_ref, \"count\", '0'), _defineProperty(_ref, \"fontIcon\", 'yhxt-bingdu'), _defineProperty(_ref, \"fontColor\", 'linear-gradient(180deg, #FFEECC 0%, rgba(255,149,0,0.6) 100%)'), _ref), {\n icon: require(\"../assets/images/\\u56FE\\u72478.png\"),\n title: '已逾期病害',\n tip: '',\n url: 'virusManagementChild',\n count: '0',\n fontIcon: 'yhxt-bingdu',\n fontColor: 'linear-gradient(180deg, #FFDDCC 0%, rgba(255,85,0,0.5) 100%)'\n }, {\n // icon: require('../assets/images/图片8.png'),\n title: '超时巡检工单',\n tip: '',\n url: 'taskManagement',\n count: '0',\n fontIcon: 'yhxt-tijiaoweixiudan',\n fontColor: 'linear-gradient(180deg, #FFDDCC 0%, rgba(255,85,0,0.5) 100%)'\n }]\n }, {\n icon: require(\"../assets/img/icon_8.png\"),\n title: '定期检查',\n tip: '临期检查预警(部门)',\n children: [{\n icon: require(\"../assets/images/\\u56FE\\u72479.png\"),\n title: '涵洞定期检查临期',\n tip: '',\n url: 'regularInspection#regularInspectionCulvert',\n count: '0',\n fontIcon: 'yhxt-handong',\n fontColor: 'linear-gradient(180deg, #D0CCFF 0%, rgba(33,19,191,0.5) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u724710.png\"),\n title: '边坡定期检查临期',\n tip: '',\n url: 'regularInspection#regularInspectionSlope',\n count: '0',\n fontIcon: 'yhxt-bianpo',\n fontColor: 'linear-gradient(180deg, #D0CCFF 0%, rgba(33,19,191,0.5) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u724711.png\"),\n title: '隧道定期检查临期',\n tip: '',\n count: '0',\n url: 'regularInspection#regularInspectionTunnel',\n fontIcon: 'yhxt-suidao',\n fontColor: 'linear-gradient(180deg, #D0CCFF 0%, rgba(33,19,191,0.5) 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u724712.png\"),\n title: '桥梁定期检查临期',\n tip: '',\n url: 'regularInspection#regularInspectionBridges',\n count: '0',\n fontIcon: 'yhxt-qiaoliang',\n fontColor: 'linear-gradient(180deg, #D0CCFF 0%, rgba(33,19,191,0.5) 100%)'\n }]\n }, {\n icon: require(\"../assets/img/icon_13.png\"),\n title: '经常检查',\n tip: '临期检查预警(部门)',\n children: [{\n icon: require(\"../assets/images/\\u56FE\\u724713.png\"),\n title: '涵洞经常检查临期',\n tip: '',\n url: 'checkFrequently#frequentInspectionCulverts',\n count: '0',\n fontIcon: 'yhxt-handong',\n fontColor: 'linear-gradient(180deg, #FFE5E5 0%, #B23636 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u724714.png\"),\n title: '边坡经常检查临期',\n tip: '',\n url: 'checkFrequently#frequentInspectionSlope',\n count: '0',\n fontIcon: 'yhxt-bianpo',\n fontColor: 'linear-gradient(180deg, #FFE5E5 0%, #B23636 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u724715.png\"),\n title: '隧道经常检查临期',\n tip: '',\n url: 'checkFrequently#frequentInspectionTunnels',\n count: '0',\n fontIcon: 'yhxt-suidao',\n fontColor: 'linear-gradient(180deg, #FFE5E5 0%, #B23636 100%)'\n }, {\n icon: require(\"../assets/images/\\u56FE\\u724716.png\"),\n title: '桥梁经常检查临期',\n tip: '',\n url: 'checkFrequently#frequentInspectionBridges',\n count: '0',\n fontIcon: 'yhxt-qiaoliang',\n fontColor: 'linear-gradient(180deg, #FFE5E5 0%, #B23636 100%)'\n }]\n }]\n };\n },\n created: function created() {\n this.getAgentWorkOrderCount(); //代办工单\n this.getRegularInspectionCount(); //定期检查\n this.getOverdueTimeoutCount(); //逾期超时\n this.getCheckFrequentlyCount(); //经常检查\n },\n mounted: function mounted() {\n window.onresize = function (e) {\n var containerDom = document.getElementsByClassName('container');\n var width = containerDom.offsetWidth;\n var radioWidth = window.screen.width * window.devicePixelRatio;\n var radioHeight = window.screen.height * window.devicePixelRatio;\n console.log(radioHeight, radioWidth);\n };\n },\n // 只有在登录第一次进来弹出版本信息,vm指代this\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n if (from.name == 'login') {\n next(function (vm) {\n vm.getVersionInfo();\n });\n }\n next();\n },\n methods: {\n getVersionInfo: function getVersionInfo() {\n var _this = this;\n this.$http.get('${yhxt}/bizSysRenewLog/v1/getThreeDaySysRenrw').then(function (res) {\n var data = res.data;\n _this.tableData = data;\n if (data.length !== 0) {\n _this.dialogVisible = true;\n }\n });\n },\n handleClose: function handleClose(done) {\n done();\n },\n //获取代办工单的数字角标数量\n getAgentWorkOrderCount: function getAgentWorkOrderCount() {\n var _this2 = this;\n this.$http.post('${yhxt}/workbench/v1/getWorkOrder').then(function (res) {\n var data = res.data;\n var list = _this2.list[0].children;\n list[0].count = data.siteCount; //代办巡检单\n list[1].count = data.diseaseCount; //待处理病害\n list[2].count = data.workOrderCount; //代办养护工单\n list[3].count = data.projectBeginApplyForCount; //待审核开工信息\n list[4].count = data.projectAcceptanceCount; //待审核验收信息\n });\n },\n //逾期超时\n getOverdueTimeoutCount: function getOverdueTimeoutCount() {\n var _this3 = this;\n this.$http.post('${yhxt}/workbench/v1/getOverdue').then(function (res) {\n var data = res.data;\n var list = _this3.list[1].children;\n list[0].count = data.workOrderOverdueCount; //即将逾期养护工单\n list[1].count = data.workOrderOverdueCountTrue; //已逾期养护工单\n list[2].count = data.diseaseOverdueCount; //即将逾期病害\n list[3].count = data.diseaseOverdueCountTrue; //已逾期病害\n list[4].count = data.siteInspectionOverdueCount; //逾期超时工单\n });\n },\n //定期检查\n getRegularInspectionCount: function getRegularInspectionCount() {\n var _this4 = this;\n this.$http.post('${yhxt}/workbench/v1/getRegularCheck').then(function (res) {\n var data = res.data;\n var list = _this4.list[2].children;\n list[0].count = data.culvertRegularCount; //涵洞定期检查\n list[1].count = data.sideSlopeRegularCount; //边坡定期检查\n list[2].count = data.tunnelRegularCount; //隧道定期检查\n list[3].count = data.brideRegularCount; //桥梁定期检查\n });\n },\n //经常检查\n getCheckFrequentlyCount: function getCheckFrequentlyCount() {\n var _this5 = this;\n this.$http.post('${yhxt}/workbench/v1/getOftenCheck').then(function (res) {\n var data = res.data;\n var list = _this5.list[3].children;\n list[0].count = data.culvertOftenCount; //涵洞经常检查\n list[1].count = data.sideSlopeOftenCount; //边坡经常检查\n list[2].count = data.tunnelOftenCount; //隧道经常检查\n list[3].count = data.brideOftenCount; //桥梁经常检查\n });\n },\n handleRoter: function handleRoter(obj) {\n console.log(obj);\n var path = obj.url;\n var alias = '';\n this.$router.push({\n path: path,\n query: {\n type: '1'\n }\n });\n // let i = path.lastIndexOf('#')\n // path=path.slice(i + 1)\n if (path.indexOf('#') == -1) {\n alias = '/frontPlat/' + path;\n } else {\n var str = path.substring(0, path.indexOf('#'));\n alias = '/frontPlat/' + str;\n }\n this.$bus.$emit('roterPush', alias);\n }\n }\n};",null]}