{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\BigScreen\\components\\durationAnalysis.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\BigScreen\\components\\durationAnalysis.vue","mtime":1704857990668},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\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//\nimport bigScreenAPI from '@/api/BigScreen/index.js';\nimport vueSeamlessScroll from 'vue-seamless-scroll';\nimport utils from '@/utils.js';\nexport default {\n name: 'durationAnalysis',\n components: {\n vueSeamlessScroll: vueSeamlessScroll\n },\n props: {\n formData: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n watch: {\n formData: {\n handler: function handler(newVal, oldVal) {\n this.getData();\n },\n deep: true\n }\n },\n computed: {\n defaultOption: function defaultOption() {\n return {\n step: 0.12,\n // 数值越大速度滚动越快\n limitMoveNum: 2,\n // 开始无缝滚动的数据量 this.dataList.length\n hoverStop: true,\n // 是否开启鼠标悬停stop\n direction: 1,\n // 0向下 1向上 2向左 3向右\n openWatch: true,\n // 开启数据实时监控刷新dom\n singleHeight: 0,\n // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1\n singleWidth: 0,\n // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3\n waitTime: 1000 // 单步运动停止的时间(默认值1000ms)\n\n };\n }\n },\n data: function data() {\n return {\n queryForm: {\n pageBean: {\n page: 1,\n pageSize: -1,\n showTotal: true\n },\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'area_full_code_',\n relation: 'AND',\n value: ''\n } // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'year',\n // relation: 'AND',\n // value: '',\n // },\n // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'month',\n // relation: 'AND',\n // value: '',\n // },\n ],\n params: {}\n },\n listOption: [// {\n // label: '事件名称',\n // prop: 'eventName',\n // width: '19%',\n // },\n {\n label: '事件编号',\n prop: 'eventCode',\n width: '35%'\n }, {\n label: '事件类型',\n prop: 'eventType',\n dict: 'sjfx-sjfl',\n width: '16%'\n }, {\n label: '处置单位',\n prop: 'unit',\n width: '30%'\n }, {\n label: '处置时长',\n prop: 'hours',\n width: '15%'\n }],\n dataList: [] // 列表数据\n\n };\n },\n created: function created() {\n this.getData();\n },\n methods: {\n // 获取事件处置效率分析数据列表\n getData: function getData() {\n var _this = this;\n\n this.queryForm.querys[0].value = this.formData.areaCode;\n this.queryForm.params.year = this.formData.date.slice(0, 4);\n this.queryForm.params.month = this.formData.date.slice(5);\n bigScreenAPI.getDurationAnalysis(this.queryForm).then(function (res) {\n res.rows.forEach(function (item) {\n item.unit = item.orgInfo ? JSON.parse(item.orgInfo)[JSON.parse(item.orgInfo).length - 1].orgName : '';\n item.hours = item.hours ? item.hours + 'h' : '';\n });\n _this.dataList = res.rows;\n });\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n }\n }\n};",null]}