{"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\\PendingDisposal\\components\\MyReportDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\PendingDisposal\\components\\MyReportDialog.vue","mtime":1701739983669},{"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\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.array.from\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.regexp.split\";\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\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//\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//\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//\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//\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 utils from '@/utils.js';\nimport MyReport from '@/api/PendingDisposal/MyReport';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport TreatedEventListDialog from \"./TreatedEventListDialog\";\nimport { TableMixin } from '@/mixins/tableMixin';\nimport PlazaLocation from '@/api/basicConfiguration/PlazaLocation';\nimport Team from '@/api/basicConfiguration/Team';\nimport IntelligentDevice from '@/api/basicConfiguration/IntelligentDevice';\nimport bigScreenAPI from '@/api/BigScreen/index.js';\nexport default {\n props: {},\n name: 'MyReportDialog',\n mixins: [TableMixin],\n components: {\n TreatedEventListDialog: TreatedEventListDialog\n },\n data: function data() {\n return {\n activeName: 'first',\n activeSubTab: 'sub-tab-1',\n visible: false,\n loading: false,\n openType: '详细信息',\n rules: {\n name: [{\n required: true,\n message: '请输入姓名',\n trigger: 'blur'\n }],\n xb: [{\n required: true,\n message: '请选择性别',\n trigger: 'blur'\n }],\n tel: [{\n required: true,\n message: '请输入联系电话',\n trigger: 'blur'\n }],\n personalid: [{\n required: true,\n message: '请输入联系电话',\n trigger: 'blur'\n }],\n address: [{\n type: 'date',\n required: true,\n message: '请选择地址',\n trigger: 'blur'\n }]\n },\n basicsData: {},\n formData: {},\n xboptions: [],\n areaCode: [],\n noise: [],\n options: [],\n noiseOptions: [],\n taskList: [],\n squareList: [],\n url: '',\n srcList: []\n };\n },\n created: function created() {\n this.getNoiseTree();\n this.getTownTree();\n this.getPlazaLocation();\n },\n methods: {\n open: function open(data, type) {\n var _this = this;\n\n this.activeName = 'first';\n this.getTaskList(data.id);\n\n if (type == 'detail') {\n this.openType = '详细信息';\n\n if (data) {\n this.formData.taskId = data.tasKId;\n MyReport.detailId(data.id, function (res) {\n _this.basicsData = res;\n _this.formData.id = res.id;\n _this.areaCode = res.areaFullCode ? res.areaFullCode.split('/').splice(1) : [];\n\n if (res.noiseLevelId && res.noiseTypeId) {\n _this.noise = [res.noiseTypeId, res.noiseLevelId];\n } else if (res.noiseTypeId) {\n _this.noise = [res.noiseTypeId];\n } else {\n _this.noise = [];\n }\n });\n }\n } else {\n this.openType = '更新事件';\n }\n\n this.visible = true;\n },\n //获取广场舞地点\n getPlazaLocation: function getPlazaLocation() {\n var _this2 = this;\n\n IntelligentDevice.plazaQuery({\n pageBean: {\n page: 1,\n pageSize: -1\n }\n }, function (res) {\n _this2.squareList = res.rows;\n });\n },\n //流程\n getTaskList: function getTaskList(id) {\n var _this3 = this;\n\n MyReport.taskList(id, function (res) {\n _this3.taskList = res;\n });\n },\n //噪音标准\n getNoiseTree: function getNoiseTree() {\n var _this4 = this;\n\n PlazaLocation.getNoise({}, function (res) {\n if (res.state) {\n _this4.noiseOptions = res.value;\n }\n });\n },\n //行政区划\n getTownTree: function getTownTree() {\n var _this5 = this;\n\n MyReport.getbaseAreaTree({}, function (res) {\n if (res.state) {\n _this5.options = res.value;\n }\n });\n },\n findDispose: function findDispose(data, value) {\n var arr = [];\n\n if (data && data.length > 0) {\n var _iterator = _createForOfIteratorHelper(data),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var obj = _step.value;\n\n if (value === 'processDeptName') {\n if (obj[value] != '') {\n arr.push(obj[value]);\n } else {\n arr.push(obj.processOrgName);\n }\n } else {\n arr.push(obj[value]);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n }\n\n return arr.join(',');\n },\n downloadFile: function downloadFile(id) {\n window.open(window.context.portal + \"/file/v1/downloadFile?fileId=\".concat(id), '_blank');\n },\n handleCancel: function handleCancel() {\n this.visible = false;\n },\n handleSubmit: function handleSubmit() {},\n handleMore: function handleMore() {\n this.$refs.treatedListDialog.open();\n },\n // 打开预警图片\n openImg: function openImg() {\n var _this6 = this;\n\n // console.log(this.$refs.warningImg);\n if (this.basicsData.imgUrl) {\n bigScreenAPI.getImgByUrl(this.basicsData.imgUrl).then(function (res) {\n _this6.srcList = res;\n\n _this6.$refs.warningImg.clickHandler();\n });\n } else {\n this.$message({\n message: '暂无图片!',\n type: 'warning'\n });\n }\n }\n }\n};",null]}