chunk-71557763.8f15bfa1.js.map
19 KB
{"version":3,"sources":["webpack:///./src/views/reportForms/tasaAdecuadaAGV.vue?24fa","webpack:///./src/views/reportForms/tasaAdecuadaAGV.vue?67dd","webpack:///src/views/reportForms/tasaAdecuadaAGV.vue","webpack:///./src/views/reportForms/tasaAdecuadaAGV.vue?9ef7","webpack:///./src/views/reportForms/tasaAdecuadaAGV.vue","webpack:///./src/views/reportForms/tasaAdecuadaAGV.vue?4042"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","sysTitle","ref","on","dateCallBackEmit","projectEqCallBackEmit","staticStyle","$event","btnAction","_v","computeObj","_m","staticRenderFns","component"],"mappings":"gHAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACA,EAAG,WAAW,CAACG,MAAM,CAAC,MAAQP,EAAIQ,SAAS,OAAS,uDAAuDJ,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,qBAAqB,CAACK,IAAI,kBAAkBC,GAAG,CAAC,mBAAqBV,EAAIW,oBAAoBP,EAAG,iBAAiB,CAACG,MAAM,CAAC,0BAA4B,EAAE,kBAAmB,EAAK,OAAQ,GAAMG,GAAG,CAAC,mBAAqBV,EAAIY,yBAAyBR,EAAG,YAAY,CAACK,IAAI,QAAQI,YAAY,CAAC,OAAS,SAASN,MAAM,CAAC,KAAO,kBAAkBG,GAAG,CAAC,MAAQ,SAASI,GAAQ,OAAOd,EAAIe,UAAU,YAAY,CAACf,EAAIgB,GAAG,QAAQZ,EAAG,YAAY,CAACS,YAAY,CAAC,OAAS,SAASH,GAAG,CAAC,MAAQ,SAASI,GAAQ,OAAOd,EAAIe,UAAU,YAAY,CAACf,EAAIgB,GAAG,WAAWZ,EAAG,aAAa,CAACK,IAAI,cAAcF,MAAM,CAAC,SAAWP,EAAIQ,aAAa,IAAI,GAAGJ,EAAG,YAAY,CAACK,IAAI,aAAaF,MAAM,CAAC,YAAc,MAAM,WAAaP,EAAIiB,cAAcjB,EAAIkB,GAAG,IAAI,IACt+BC,EAAkB,CAAC,WAAa,IAAInB,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,wBAAwBC,MAAM,CAAC,GAAK,mBCsB1M,GACA,KADA,WAEA,OACA,gDADA,cACA,yBACA,+BAFA,iBAGA,SACA,cAEA,qDANA,MAOA,aAPA,KAQA,YACA,SADA,OAEA,aAFA,EAGA,KAHA,GAIA,eAEA,WAdA,KAeA,QACA,oBADA,GAEA,eAFA,GAIA,UAJA,KAKA,QALA,KAMA,aANA,GAQA,SARA,KAUA,wBAKA,SAEA,iBAFA,YAGA,kCACA,8BACA,gCACA,yCAGA,sBATA,YASA,WACA,gEACA,sDACA,+BACA,sCACA,iCACA,uBACA,qBADA,OAKA,UApBA,YAqBA,iBAEA,QAvBA,YAuBA,WACA,2BACA,OACA,qVADA,gBAEA,UAFA,EAGA,QAHA,EAIA,UAJA,EAKA,KALA,EAMA,2BACA,6CACA,yBAGA,cAEA,kBACA,iBACA,oBACA,IAEA,uFACA,wBACA,sBAEA,sCAEA,cAjDA,YAkDA,0DAEA,OADA,wDACA,EAEA,uCAEA,OADA,0DACA,EAEA,iDAGA,MAFA,sDACA,iDACA,GAGA,mBAhEA,YAiEA,kCACA,yBACA,oBAGA,oBAtEA,YAsEA,WACA,KACA,gCACA,IACA,KACA,IAEA,kDAGA,IAVA,kBAWA,+CACA,IACA,kCACA,2BACA,4DACA,KACA,YACA,MAGA,MACA,8BACA,2CACA,OAEA,gBACA,UAEA,yBAGA,WAtBA,+BAyBA,UAGA,WA5GA,YA6GA,wBACA,YACA,SACA,uBACA,SACA,iBACA,eACA,oCACA,WACA,mCACA,2BACA,UACA,cAEA,eAEA,WAFA,GAGA,OAHA,cAIA,KAJA,OAMA,KANA,EAOA,WACA,QACA,WACA,MADA,UAQA,eAEA,WAFA,GAGA,KAHA,MAIA,KAJA,OAKA,MALA,MAMA,KANA,EAOA,WACA,QACA,MADA,EAEA,gBAGA,WACA,QACA,WACA,MADA,OAMA,eAEA,gBACA,wCACA,qCACA,aACA,cAEA,sBACA,wBAGA,2EACA,0BACA,gCAIA,YAnLA,YAoLA,kCACA,oCACA,0CAGA,0BAzLA,YA0LA,yCACA,IAKA,OAJA,qCACA,mBAEA,aACA,GAGA,gBAnMA,YAmMA,WACA,KACA,QACA,KADA,gBAEA,MAFA,QAGA,MAHA,OAIA,YAEA,QACA,UAEA,YACA,6FACA,qCACA,QACA,gBACA,MAFA,EAGA,eAGA,MACA,WAEA,mBACA,8CACA,iDACA,2CACA,wBAEA,qCACA,QACA,gBACA,MAFA,EAGA,eAGA,MACA,UACA,iDACA,QACA,KADA,QAEA,kBAFA,UAGA,YAEA,MACA,QACA,MAEA,WAGA,QAtRA,aA0RA,QA1RA,cCvBma,I,kCCS/Za,EAAY,eACd,EACArB,EACAoB,GACA,EACA,KACA,WACA,MAIa,aAAAC,E,sECpBf,W","file":"static/js/chunk-71557763.8f15bfa1.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tasaAdecuadaAGV.vue?vue&type=style&index=1&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dv\"},[_c('div',[_c('sys-head',{attrs:{\"title\":_vm.sysTitle,\"remark\":'(选择年查询本年每月的妥善率,选择月查询本月每天的妥善率;当日无故障次数或者无任务数:100 %)'}}),_c('div',{staticClass:\"time-select\"},[_c('sys-year-month-day',{ref:\"childSelectDate\",on:{\"selectCallBackEmit\":_vm.dateCallBackEmit}}),_c('bus-project-eq',{attrs:{\"defaultSelectIndexProject\":1,\"AGVSelectIndexEq\":true,\"isAGV\":true},on:{\"selectCallBackEmit\":_vm.projectEqCallBackEmit}}),_c('el-button',{ref:\"seach\",staticStyle:{\"margin\":\"0.2vw\"},attrs:{\"icon\":\"el-icon-search\"},on:{\"click\":function($event){return _vm.btnAction('query')}}},[_vm._v(\"搜索\")]),_c('el-button',{staticStyle:{\"margin\":\"0.2vw\"},on:{\"click\":function($event){return _vm.btnAction('excel')}}},[_vm._v(\"Excel\")]),_c('sys-export',{ref:\"childExport\",attrs:{\"fileName\":_vm.sysTitle}})],1)],1),_c('sys-table',{ref:\"childTable\",attrs:{\"tableHeight\":\"320\",\"computeCls\":_vm.computeObj}}),_vm._m(0)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dv-body-top\"},[_c('div',{staticClass:\"dv-body-top-echartOne\",attrs:{\"id\":\"eleEchart\"}})])}]\n\nexport { render, staticRenderFns }","<template>\r\n\t<div class=\"dv\">\r\n\t\t<div>\r\n\t\t\t<sys-head :title=\"sysTitle\" :remark=\"'(选择年查询本年每月的妥善率,选择月查询本月每天的妥善率;当日无故障次数或者无任务数:100 %)'\"></sys-head>\r\n\t\t\t<div class=\"time-select\">\r\n\t\t\t\t<sys-year-month-day ref=\"childSelectDate\" @selectCallBackEmit=\"dateCallBackEmit\"></sys-year-month-day>\r\n\t\t\t\t<bus-project-eq :defaultSelectIndexProject=\"1\" :AGVSelectIndexEq=\"true\" @selectCallBackEmit=\"projectEqCallBackEmit\" :isAGV=\"true\"></bus-project-eq>\r\n\t\t\t\t<el-button @click=\"btnAction('query')\" icon=\"el-icon-search\" style=\"margin: 0.2vw;\" ref=\"seach\">搜索</el-button>\r\n\t\t\t\t<el-button @click=\"btnAction('excel')\" style=\"margin: 0.2vw;\">Excel</el-button>\r\n\t\t\t\t<sys-export ref=\"childExport\" :fileName=\"sysTitle\"></sys-export>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<sys-table ref=\"childTable\" tableHeight=\"320\" :computeCls=\"computeObj\"></sys-table>\r\n\t\t<!-- <sys-table ref=\"childTable\" tableHeight=\"320\" :computeCls=\"computeObj\" :cellStyle=\"cellStyleCallBack\"></sys-table> -->\r\n\r\n\t\t<div class=\"dv-body-top\">\r\n\t\t\t<div class=\"dv-body-top-echartOne\" id=\"eleEchart\"></div>\r\n\t\t</div>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tbaseUrl: !window.baseOnLineOrOff ? 'http://127.0.0.1:10099' : window.appConfig.baseUlrOnLine,\r\n\t\t\tbaseUrlOnLine: window.appConfig.webReportlOnLine,\r\n\t\t\tsysData: {\r\n\t\t\t\ttableData: [],\r\n\t\t\t},\r\n\t\t\tsysTitle: 'AGV故障任务妥善率(故障次数/任务数)ver:' + window.appConfig.appId,\r\n\t\t\teleEchartObj: null,\r\n\t\t\tcomputeObj: {\r\n\t\t\t\toperator: 'less', //less 小于 大于\r\n\t\t\t\tiscolorDiff: true,\r\n\t\t\t\tnumb: 99,\r\n\t\t\t\tstartColumn: 2,\r\n\t\t\t},\r\n\t\t\tdayBetween: null,\r\n\t\t\tparams: {\r\n\t\t\t\tnowSelectProjectVal: '',\r\n\t\t\t\tnowSelectEqVal: '',\r\n\r\n\t\t\t\tstartTime: null,\r\n\t\t\t\tendTime: null,\r\n\t\t\t\tmonthOptions: [],\r\n\t\t\t\t//标识 年或者是月或者是日\r\n\t\t\t\ttimeFlag: null,\r\n\t\t\t\t//第一次日期选择框触发加载数据标识\r\n\t\t\t\tisFristSelectDate: false,\r\n\t\t\t},\r\n\t\t}\r\n\t},\r\n\r\n\tmethods: {\r\n\t\t// 年月日下拉框数据\r\n\t\tdateCallBackEmit(selectObj) {\r\n\t\t\tthis.params.startTime = selectObj.startTime\r\n\t\t\tthis.params.endTime = selectObj.endTime\r\n\t\t\tthis.params.timeFlag = selectObj.timeFlag\r\n\t\t\tthis.params.monthOptions = selectObj.monthOptions\r\n\t\t},\r\n\t\t// 项目设备下拉框选择\r\n\t\tprojectEqCallBackEmit(selectObj) {\r\n\t\t\tthis.params.nowSelectProjectVal = selectObj.nowSelectProject['selectKey']\r\n\t\t\tthis.params.nowSelectEqVal = selectObj.nowSelectEq['selectKey']\r\n\t\t\tif (this.params.isFristSelectDate) return\r\n\t\t\tif (this.params.nowSelectProjectVal == '') return\r\n\t\t\tthis.params.isFristSelectDate = true\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.getData('query')\r\n\t\t\t}, 500)\r\n\t\t},\r\n\t\t//搜索、导出\r\n\t\tbtnAction(falg) {\r\n\t\t\tthis.getData(falg)\r\n\t\t},\r\n\t\tgetData(falg) {\r\n\t\t\tif (this.getDataBefore(falg)) return\r\n\t\t\tlet opt = {\r\n\t\t\t\turlSuffix: `${this.baseUrl}/api/BulletinBoard/GetAGVProperRate?projectCode=${this.params.nowSelectProjectVal}&startTime=${this.params.startTime}&endTime=${this.params.endTime}&yearOrDaySelectVal=${this.params.startTime}&timeFlag=${this.params.timeFlag}&equipmentCode=${this.params.nowSelectEqVal}`,\r\n\t\t\t\tisUrlALL: true,\r\n\t\t\t\tisLoad: true,\r\n\t\t\t\tisLayout: true,\r\n\t\t\t\tfalg: falg,\r\n\t\t\t\temptyCallBackFn: () => {\r\n\t\t\t\t\tif (this.eleEchartObj != null) this.eleEchartObj.clear()\r\n\t\t\t\t\tthis.sysData.tableData = []\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t\tlet callBackFn = (data) => {\r\n\t\t\t\t//excel\r\n\t\t\t\tif (falg == 'excel') {\r\n\t\t\t\t\tthis.exportExcel(data)\r\n\t\t\t\t\tthis.getData('query')\r\n\t\t\t\t\treturn false\r\n\t\t\t\t}\r\n\t\t\t\tif (this.sysData.tableData.length > 0) this.sysData.tableData.splice(0, this.sysData.tableData.length)\r\n\t\t\t\tthis.initTableAndEchart(data)\r\n\t\t\t\treturn this.sysData.tableData\r\n\t\t\t}\r\n\t\t\tthis.$refs.childTable.initData(opt, callBackFn)\r\n\t\t},\r\n\t\tgetDataBefore(falg) {\r\n\t\t\tif (this.params.startTime == null || this.params.startTime == '') {\r\n\t\t\t\tthis.$alert('请选择年', '提示', { dangerouslyUseHTMLString: true })\r\n\t\t\t\treturn true\r\n\t\t\t}\r\n\t\t\tif (this.params.nowSelectProjectVal == '') {\r\n\t\t\t\tthis.$alert('请选择项目号', '提示', { dangerouslyUseHTMLString: true })\r\n\t\t\t\treturn true\r\n\t\t\t}\r\n\t\t\tlet herdeTable = this.initTableColumn(this.params.timeFlag)\r\n\t\t\tif (falg != 'excel') this.$refs.childTable.setDynamicColumn(herdeTable)\r\n\t\t\tthis.$refs.childExport.setExcelDynamicColumn(herdeTable)\r\n\t\t\treturn false\r\n\t\t},\r\n\t\t//表格初始化\r\n\t\tinitTableAndEchart(data) {\r\n\t\t\tvar resultData = this.initTableDataHandle(data)\r\n\t\t\tthis.sysData.tableData = resultData\r\n\t\t\tthis.initEchart(resultData)\r\n\t\t},\r\n\t\t//表格数据处理\r\n\t\tinitTableDataHandle(allData) {\r\n\t\t\tvar tempTableData = []\r\n\t\t\tconst resultUnique = allData.uniqueFunc('EquipmentName')\r\n\t\t\tlet index = 0\r\n\t\t\tlet falg = false\r\n\t\t\tlet Rate = 0\r\n\t\t\tvar sumTimeAll = 0 //year、month、day\r\n\t\t\tif (this.params.timeFlag == 'day' || this.params.timeFlag == 'month') {\r\n\t\t\t\tsumTimeAll = 1440\r\n\t\t\t}\r\n\t\t\tfor (let i = 0; i < resultUnique.length; i++) {\r\n\t\t\t\tvar tuosanRate = { index: i + 1, EquipmentName: resultUnique[i].EquipmentName }\r\n\t\t\t\tindex = 0\r\n\t\t\t\tthis.dayBetween.forEach((x) => {\r\n\t\t\t\t\tfor (let xp = 0; xp < allData.length; xp++) {\r\n\t\t\t\t\t\tif (resultUnique[i].EquipmentName == allData[xp].EquipmentName && allData[xp].dateVal == x) {\r\n\t\t\t\t\t\t\tfalg = true\r\n\t\t\t\t\t\t\tRate = allData[xp].Rate\r\n\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (falg) {\r\n\t\t\t\t\t\tif (this.params.timeFlag == 'year') {\r\n\t\t\t\t\t\t\tvar daysCount = this.$moment(x, 'YYYY-MM').daysInMonth()\r\n\t\t\t\t\t\t\tsumTimeAll = 24 * 60 * daysCount\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\ttuosanRate['data' + index++] = Rate\r\n\t\t\t\t\t\tfalg = false\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttuosanRate['data' + index++] = '100 %'\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\ttempTableData.push(tuosanRate)\r\n\t\t\t}\r\n\r\n\t\t\treturn tempTableData\r\n\t\t},\r\n\t\t//Echart 初始化\r\n\t\tinitEchart(resultData) {\r\n\t\t\tlet option = window.tuosanRate\r\n\t\t\toption.series = []\r\n\t\t\tlet defaultSeriesVal = []\r\n\t\t\tresultData.forEach((item) => {\r\n\t\t\t\tlet seriesData = []\r\n\t\t\t\tvar allKeys = Object.keys(item)\r\n\t\t\t\tfor (const key in allKeys) {\r\n\t\t\t\t\tif (!Object.hasOwnProperty.call(allKeys, key)) continue\r\n\t\t\t\t\tconst element = allKeys[key]\r\n\t\t\t\t\tif (element == 'index' || element == 'EquipmentName') continue\r\n\t\t\t\t\tlet val = item[element].replace('%', '')\r\n\t\t\t\t\tseriesData.push(val)\r\n\t\t\t\t\tdefaultSeriesVal.push('99')\r\n\t\t\t\t}\r\n\t\t\t\toption.series.push({\r\n\t\t\t\t\t// smooth: true,\r\n\t\t\t\t\tsymbolSize: 10, //小圆点的大小\r\n\t\t\t\t\tname: item.EquipmentName,\r\n\t\t\t\t\ttype: 'line',\r\n\r\n\t\t\t\t\tdata: seriesData,\r\n\t\t\t\t\titemStyle: {\r\n\t\t\t\t\t\tnormal: {\r\n\t\t\t\t\t\t\tlineStyle: {\r\n\t\t\t\t\t\t\t\twidth: 4, //线条宽度\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\t//新增 默认的预警线\r\n\t\t\toption.series.push({\r\n\t\t\t\t// smooth: true,\r\n\t\t\t\tsymbolSize: 10, //小圆点的大小\r\n\t\t\t\tname: '目标率',\r\n\t\t\t\ttype: 'line',\r\n\t\t\t\tcolor: 'red',\r\n\t\t\t\tdata: defaultSeriesVal,\r\n\t\t\t\tlineStyle: {\r\n\t\t\t\t\tnormal: {\r\n\t\t\t\t\t\twidth: 3,\r\n\t\t\t\t\t\ttype: 'dashed',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\titemStyle: {\r\n\t\t\t\t\tnormal: {\r\n\t\t\t\t\t\tlineStyle: {\r\n\t\t\t\t\t\t\twidth: 4, //线条宽度\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t})\r\n\t\t\toption.yAxis.min = 90\r\n\r\n\t\t\toption.xAxis.data = []\r\n\t\t\tvar year = this.$moment().format('YYYY') + '-'\r\n\t\t\tthis.dayBetween.forEach((x) => {\r\n\t\t\t\tif (x.length > 7) {\r\n\t\t\t\t\tx = x.slice(5)\r\n\t\t\t\t}\r\n\t\t\t\tvar xVal = x.replace(year, '')\r\n\t\t\t\toption.xAxis.data.push(xVal)\r\n\t\t\t})\r\n\r\n\t\t\tthis.eleEchartObj = this.$echarts.init(document.getElementById('eleEchart'))\r\n\t\t\tthis.eleEchartObj.clear()\r\n\t\t\tthis.eleEchartObj.setOption(option)\r\n\t\t},\r\n\r\n\t\t//excel导出文件\r\n\t\texportExcel(data) {\r\n\t\t\tvar result = this.initTableDataHandle(data)\r\n\t\t\tvar excelData = this.exportDataAndColumnHandle(result)\r\n\t\t\tthis.$refs.childExport.exportExcel(excelData, false)\r\n\t\t},\r\n\t\t//自定义处理数据源 和excel 列\r\n\t\texportDataAndColumnHandle(tempData) {\r\n\t\t\tvar headObj = { index: '序号', EquipmentName: 'AGV设备' }\r\n\t\t\tlet index = 0\r\n\t\t\tthis.dayBetween.forEach((x) => {\r\n\t\t\t\theadObj['data' + index++] = x\r\n\t\t\t})\r\n\t\t\ttempData.unshift(headObj)\r\n\t\t\treturn tempData\r\n\t\t},\r\n\t\t//初始化表格 动态生成列\r\n\t\tinitTableColumn(yearOrMonthOrDay) {\r\n\t\t\tlet tempTable = []\r\n\t\t\ttempTable.push({\r\n\t\t\t\tprop: 'EquipmentName',\r\n\t\t\t\tlabel: 'AGV设备',\r\n\t\t\t\tfixed: 'left',\r\n\t\t\t\twidth: 500,\r\n\t\t\t})\r\n\t\t\tlet index = 0\r\n\t\t\tswitch (yearOrMonthOrDay) {\r\n\t\t\t\t//月之间的日\r\n\t\t\t\tcase 'month':\r\n\t\t\t\t\tthis.dayBetween = ''.enumerateDaysBetweenDates(this, this.params.startTime, this.params.endTime)\r\n\t\t\t\t\tthis.dayBetween.forEach((x) => {\r\n\t\t\t\t\t\ttempTable.push({\r\n\t\t\t\t\t\t\tprop: 'data' + index++,\r\n\t\t\t\t\t\t\tlabel: x,\r\n\t\t\t\t\t\t\twidth: 105,\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase 'year':\r\n\t\t\t\t\t//年之间所有月\r\n\t\t\t\t\tthis.dayBetween = []\r\n\t\t\t\t\tthis.params.monthOptions.forEach((x) => {\r\n\t\t\t\t\t\tvar month = x.label.replace('月', '').replace('(当月)', '')\r\n\t\t\t\t\t\tvar yearMonth = this.params.startTime + '-' + month.padStart(2, '0')\r\n\t\t\t\t\t\tthis.dayBetween.push(yearMonth)\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.dayBetween.forEach((item) => {\r\n\t\t\t\t\t\ttempTable.push({\r\n\t\t\t\t\t\t\tprop: 'data' + index++,\r\n\t\t\t\t\t\t\tlabel: item,\r\n\t\t\t\t\t\t\twidth: 105,\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase 'day':\r\n\t\t\t\t\tthis.dayBetween = new Array(this.params.startTime)\r\n\t\t\t\t\ttempTable.push({\r\n\t\t\t\t\t\tprop: 'data0',\r\n\t\t\t\t\t\tlabel: this.params.startTime,\r\n\t\t\t\t\t\twidth: 105,\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak\r\n\t\t\t}\r\n\t\t\treturn tempTable\r\n\t\t},\r\n\t},\r\n\tmounted() {\r\n\t\t// eslint-disable-next-line no-debugger\r\n\t\tdebugger\r\n\t},\r\n\tcreated() {},\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.dv {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-color: #fff;\r\n}\r\n\r\n.time-select {\r\n\tdisplay: flex;\r\n\tpadding-left: 20px;\r\n\twidth: 100%;\r\n\talign-items: center;\r\n\tjustify-items: center;\r\n}\r\n\r\n.el-button {\r\n\tbackground-color: #1bb293 !important;\r\n\tcolor: #fff !important;\r\n\tborder: none !important;\r\n\tmargin: 5px 0.2vw;\r\n}\r\n\r\n.el-table th > .cell {\r\n\twidth: 146px;\r\n\tdisplay: inline-block;\r\n\t-webkit-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tposition: relative;\r\n\tvertical-align: middle;\r\n\tpadding-left: 10px;\r\n\tpadding-right: 10px;\r\n\twidth: 100%;\r\n}\r\n.dv-body-top {\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\theight: 40%;\r\n\t// border: 1px solid yellowgreen;\r\n\r\n\t.dv-body-top-echartOne {\r\n\t\twidth: 95%;\r\n\t}\r\n}\r\n</style>\r\n\r\n<style lang=\"scss\">\r\n.app_container {\r\n\toverflow-x: hidden !important;\r\n\t// overflow-y: auto !important;\r\n\tbackground: #fff !important;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tasaAdecuadaAGV.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tasaAdecuadaAGV.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./tasaAdecuadaAGV.vue?vue&type=template&id=032f197e&scoped=true&\"\nimport script from \"./tasaAdecuadaAGV.vue?vue&type=script&lang=js&\"\nexport * from \"./tasaAdecuadaAGV.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tasaAdecuadaAGV.vue?vue&type=style&index=0&id=032f197e&lang=scss&scoped=true&\"\nimport style1 from \"./tasaAdecuadaAGV.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"032f197e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tasaAdecuadaAGV.vue?vue&type=style&index=0&id=032f197e&lang=scss&scoped=true&\""],"sourceRoot":""}