chunk-0bdc9797.eb0b435e.js.map 11.5 KB
{"version":3,"sources":["webpack:///./src/views/reportForms/faultAnalysis.vue?47e6","webpack:///src/views/reportForms/faultAnalysis.vue","webpack:///./src/views/reportForms/faultAnalysis.vue?080b","webpack:///./src/views/reportForms/faultAnalysis.vue","webpack:///./src/views/reportForms/faultAnalysis.vue?b533","webpack:///./src/views/reportForms/faultAnalysis.vue?f6eb"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","on","$event","type","indexOf","_k","keyCode","key","btnAction","attrs","sysTitle","projectEqCallBackEmit","staticStyle","model","value","form","callback","$$v","$set","expression","_v","ref","column","table","computeObj","staticRenderFns","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,KAAKC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAIA,EAAOC,KAAKC,QAAQ,QAAQV,EAAIW,GAAGH,EAAOI,QAAQ,QAAQ,GAAGJ,EAAOK,IAAI,SAAkB,KAAcb,EAAIc,UAAU,YAAY,CAACV,EAAG,WAAW,CAACW,MAAM,CAAC,MAAQf,EAAIgB,SAAS,OAAS,kDAAkDZ,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,iBAAiB,CAACW,MAAM,CAAC,OAAQ,GAAOR,GAAG,CAAC,mBAAqBP,EAAIiB,yBAAyBb,EAAG,SAAS,CAACW,MAAM,CAAC,KAAO,KAAK,CAACX,EAAG,iBAAiB,CAACc,YAAY,CAAC,MAAQ,SAASH,MAAM,CAAC,SAAW,GAAG,WAAW,aAAa,KAAO,WAAW,YAAc,WAAW,eAAe,uBAAuBI,MAAM,CAACC,MAAOpB,EAAIqB,KAAc,UAAEC,SAAS,SAAUC,GAAMvB,EAAIwB,KAAKxB,EAAIqB,KAAM,YAAaE,IAAME,WAAW,oBAAoBrB,EAAG,iBAAiB,CA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pBf,W,gFCAA","file":"static/js/chunk-0bdc9797.eb0b435e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dv\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.btnAction('query')}}},[_c('sys-head',{attrs:{\"title\":_vm.sysTitle,\"remark\":'(停机时间 蓝色:大于等于2小于等于10,橙色:大于10小于等于20,红色大于20分钟)'}}),_c('div',{staticClass:\"time-select\"},[_c('bus-project-eq',{attrs:{\"isAGV\":false},on:{\"selectCallBackEmit\":_vm.projectEqCallBackEmit}}),_c('el-col',{attrs:{\"span\":56}},[_c('el-date-picker',{staticStyle:{\"width\":\"210px\"},attrs:{\"required\":\"\",\"data-msg\":\"开始日期时间不能为空\",\"type\":\"datetime\",\"placeholder\":\"选择开始日期时间\",\"value-format\":\"yyyy-MM-dd HH:mm:ss\"},model:{value:(_vm.form.startTime),callback:function ($$v) {_vm.$set(_vm.form, \"startTime\", $$v)},expression:\"form.startTime\"}}),_c('el-date-picker',{staticStyle:{\"width\":\"210px\"},attrs:{\"required\":\"\",\"type\":\"datetime\",\"placeholder\":\"选择结束日期时间\",\"value-format\":\"yyyy-MM-dd HH:mm:ss\"},model:{value:(_vm.form.endTime),callback:function ($$v) {_vm.$set(_vm.form, \"endTime\", $$v)},expression:\"form.endTime\"}})],1),_c('el-button',{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,\"excelColumn\":_vm.column.table}})],1),_c('sys-table',{ref:\"childTable\",attrs:{\"tableHeight\":\"600\",\"computeCls\":_vm.computeObj,\"tableColumn\":_vm.column.table}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div class=\"dv\" v-on:keyup.enter=\"btnAction('query')\">\r\n\t\t<sys-head :title=\"sysTitle\" :remark=\"'(停机时间 蓝色:大于等于2小于等于10,橙色:大于10小于等于20,红色大于20分钟)'\"></sys-head>\r\n\t\t<div class=\"time-select\">\r\n\t\t\t<bus-project-eq @selectCallBackEmit=\"projectEqCallBackEmit\" :isAGV=\"false\"></bus-project-eq>\r\n\t\t\t<el-col :span=\"56\">\r\n\t\t\t\t<el-date-picker v-model=\"form.startTime\" required data-msg=\"开始日期时间不能为空\" type=\"datetime\" placeholder=\"选择开始日期时间\" value-format=\"yyyy-MM-dd HH:mm:ss\" style=\"width: 210px;\"> </el-date-picker>\r\n\t\t\t\t<el-date-picker v-model=\"form.endTime\" required type=\"datetime\" placeholder=\"选择结束日期时间\" value-format=\"yyyy-MM-dd HH:mm:ss\" style=\"width: 210px;\"> </el-date-picker>\r\n\t\t\t</el-col>\r\n\t\t\t<el-button @click=\"btnAction('query')\" icon=\"el-icon-search\" style=\"margin: 0.2vw;\">搜索</el-button>\r\n\t\t\t<el-button @click=\"btnAction('excel')\" style=\"margin: 0.2vw;\">Excel</el-button>\r\n\t\t\t<sys-export ref=\"childExport\" :fileName=\"sysTitle\" :excelColumn=\"column.table\"></sys-export>\r\n\t\t</div>\r\n\t\t<sys-table ref=\"childTable\" tableHeight=\"600\" :computeCls=\"computeObj\" :tableColumn=\"column.table\"></sys-table>\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\tsysTitle: '故障分析 ver:' + window.appConfig.appId,\r\n\t\t\t// 选择日期\r\n\t\t\tform: {\r\n\t\t\t\tstartTime: new Date().format('yyyy-MM-dd 00:00:00'),\r\n\t\t\t\tendTime: new Date().format('yyyy-MM-dd 23:59:59'),\r\n\t\t\t},\r\n\t\t\tsysData: {},\r\n\t\t\tparams: {\r\n\t\t\t\tnowSelectProjectVal: '',\r\n\t\t\t\tnowSelectEqVal: '',\r\n\t\t\t},\r\n\t\t\tcolumn: {\r\n\t\t\t\ttable: window.faultAnalysis,\r\n\t\t\t},\r\n\t\t\tcomputeObj: {\r\n\t\t\t\tfunc: (obj) => {\r\n\t\t\t\t\tif (obj.columnName != 'ErrorDuration') return\r\n\t\t\t\t\tif (obj.val >= 2 && obj.val <= 10) {\r\n\t\t\t\t\t\treturn 'color:#1e9fff'\r\n\t\t\t\t\t} else if (obj.val > 10 && obj.val <= 20) {\r\n\t\t\t\t\t\treturn 'color:#ffb800'\r\n\t\t\t\t\t} else if (obj.val > 20) {\r\n\t\t\t\t\t\treturn 'color:red'\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn ''\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}\r\n\t},\r\n\tmethods: {\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},\r\n\t\t//搜索、导出\r\n\t\tbtnAction(falg) {\r\n\t\t\tthis.getData(falg)\r\n\t\t},\r\n\r\n\t\tgetData(falg) {\r\n\t\t\tif (this.form.startTime == null || this.form.endTime == null) {\r\n\t\t\t\tthis.$alert('请选择开始时间-结束时间', '提示', { dangerouslyUseHTMLString: true })\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tif (new Date(this.form.startTime) >= new Date(this.form.endTime)) {\r\n\t\t\t\tthis.$alert('开始时间不能大于等于结束时间', '提示', { dangerouslyUseHTMLString: true })\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\r\n\t\t\tlet opt = {\r\n\t\t\t\turlSuffix: `${this.baseUrl}/api/BulletinBoard/FaultStatistics?begin=${this.form.startTime}&end=${this.form.endTime}&projectCode=${this.params.nowSelectProjectVal}&equipmentCode=${this.params.nowSelectEqVal}`,\r\n\t\t\t\tlogTitle: '表格数据',\r\n\t\t\t\tisUrlALL: true,\r\n\t\t\t\tisLoad: true,\r\n\t\t\t\tfalg: falg,\r\n\t\t\t}\r\n\t\t\tlet callBackFn = (resultData) => {\r\n\t\t\t\tthis.sysData.tableData = resultData\r\n\t\t\t\tif (falg == 'excel') {\r\n\t\t\t\t\tthis.$refs.childExport.exportExcel(resultData)\r\n\t\t\t\t}\r\n\t\t\t\treturn resultData\r\n\t\t\t}\r\n\t\t\tthis.$refs.childTable.initData(opt, callBackFn)\r\n\t\t},\r\n\t},\r\n\tmounted() {\r\n\t\tthis.getData()\r\n\t},\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.dv {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\r\n\tbackground-color: #fff;\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.el-button {\r\n\tbackground-color: #1bb293 !important;\r\n\tcolor: #fff !important;\r\n\tborder: none !important;\r\n\tmargin: 0 4vw;\r\n}\r\n.table1 {\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\tjustify-content: space-between;\r\n}\r\n</style>\r\n\r\n<style>\r\n.app_container {\r\n\toverflow-y: scroll;\r\n\toverflow-x: hidden;\r\n\tbackground: #0000 !important;\r\n}\r\n\r\n.el-table td,\r\n.el-table th {\r\n\tpadding: 6px 0 !important;\r\n}\r\n.el-dialog__headerbtn {\r\n\tfont-size: 35px !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!./faultAnalysis.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!./faultAnalysis.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./faultAnalysis.vue?vue&type=template&id=759f3f98&scoped=true&\"\nimport script from \"./faultAnalysis.vue?vue&type=script&lang=js&\"\nexport * from \"./faultAnalysis.vue?vue&type=script&lang=js&\"\nimport style0 from \"./faultAnalysis.vue?vue&type=style&index=0&id=759f3f98&scoped=true&lang=css&\"\nimport style1 from \"./faultAnalysis.vue?vue&type=style&index=1&lang=css&\"\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  \"759f3f98\",\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./faultAnalysis.vue?vue&type=style&index=1&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./faultAnalysis.vue?vue&type=style&index=0&id=759f3f98&scoped=true&lang=css&\""],"sourceRoot":""}