{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\DSModel.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\DSModel.vue","mtime":1684458238559},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"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//\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport digitalReservoir from '@/api/frontScreen/digitalReservoir.js';\nexport default {\n name: 'DSModel',\n data: function data() {\n return {\n visible: false,\n title: '',\n data: [],\n yjdjs: [],\n warnSdList: [{\n name: '1小时雨量',\n value: 'p1'\n }, {\n name: '3小时雨量',\n value: 'p3'\n }, {\n name: '6小时雨量',\n value: 'p6'\n }, {\n name: '12小时雨量',\n value: 'p12'\n }, {\n name: '24小时雨量',\n value: 'p24'\n }],\n multipleSelection: []\n };\n },\n created: function created() {\n this.yjdjs = dictUtils.getDictItemsFromCache('yjdj');\n },\n methods: {\n open: function open(title, data) {\n var _this = this;\n\n this.title = title;\n this.visible = true;\n this.data = data;\n this.data.forEach(function (e) {\n if (e.warnGrade) {\n _this.yjdjs.forEach(function (c) {\n if (e.warnGrade == c.value) {\n e.level = c.name;\n }\n });\n }\n\n if (e.warnDate) {\n var a = JSON.parse(e.warnDate);\n\n _this.warnSdList.forEach(function (w) {\n if (w.value == a.warnSd) {\n e.warnSdName = w.name;\n }\n\n e.currentValue = a.currentValue;\n e.warnVal = a.warnVal;\n });\n }\n });\n },\n close: function close() {\n this.visible = false;\n this.$emit('close');\n this.$emit('callAgain');\n },\n //批量处理\n BatchProcess: function BatchProcess() {\n var _this2 = this;\n\n this.$confirm('此操作将关闭所选测站预警状态, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n digitalReservoir.updateStatus(_this2.multipleSelection, function (res) {\n if (res.state) {\n _this2.$message.success('处理成功');\n\n _this2.close();\n } else {\n _this2.$message.error(res.$message);\n }\n });\n }).catch(function () {\n _this2.$message({\n type: 'info',\n message: '已取消删除'\n });\n });\n },\n handleSelectionChange: function handleSelectionChange(val) {\n this.multipleSelection = this.multipleSelection = val.map(function (item) {\n return item.id;\n });\n }\n }\n};",null]}