{"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\\resIns\\components\\dsm-doalog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\resIns\\components\\dsm-doalog.vue","mtime":1684458239465},{"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.object.keys\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.find-index\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 dsmInsPosition from '@/api/resIns/dsmInsInin.js';\nimport req from '@/request.js';\nexport default {\n name: 'videoManger',\n props: {\n StshowFormDias: {\n type: Boolean,\n default: false\n },\n rowId: {\n type: String,\n default: ''\n },\n nol: {\n type: String,\n default: ''\n }\n },\n components: {},\n data: function data() {\n return {\n falg: false,\n params: {},\n urls: 'http://183.230.17.146:9080',\n lists: [],\n tempList: [],\n tabList: [],\n temp: [],\n current: 0,\n rules: {\n excResult: [{\n required: true,\n message: '请输入处理结果',\n trigger: 'blur'\n }]\n }\n };\n },\n created: function created() {\n // console.log(this.urls);\n if (this.nol == '正常') {\n this.falg = true;\n } else {\n this.falg = false;\n } // this.getDetailInfo()\n\n\n this.dome();\n },\n methods: {\n dome: function dome() {\n var _this = this;\n\n dsmInsPosition.structureList(this.rowId, function (res) {\n // 获取对象配置tabs标签\n _this.lists = res.value;\n dsmInsPosition.getInsResult(_this.rowId, function (res) {\n _this.lists.forEach(function (w, wi) {\n res.value.forEach(function (e) {\n if (e.structure == w.structure) {\n if (e.position == w.position) {\n e.srcList = [];\n e.pic.forEach(function (p) {\n e.srcList.push(_this.urls + '/' + p.filePath);\n });\n _this.lists[wi] = e; // console.log(e);\n }\n }\n });\n });\n\n for (var i = 0; i < _this.lists.length; i++) {\n var objTabList = {\n name: _this.lists[i].structure\n };\n\n _this.tabList.push(objTabList);\n }\n\n _this.tabList = _this.tabList.filter(function (element, index, self) {\n return self.findIndex(function (x) {\n return x.name === element.name;\n }) === index;\n }); // 获取tabs标签对于列表内容\n\n _this.temp = [];\n\n _this.tabList.forEach(function (e) {\n _this.temp.push(_this.lists.filter(function (i) {\n return i.structure === e.name;\n }));\n });\n\n var temp = _this.temp[_this.current];\n _this.tempList = temp;\n });\n });\n },\n handleClick: function handleClick(tab) {\n this.current = tab.index;\n this.tempList = this.temp[this.current];\n },\n getDetailInfo: function getDetailInfo() {\n if (this.StshowFormDias = true) {\n dsmInsPosition.detailId(this.rowId, function (res) {});\n }\n },\n goInfo: function goInfo() {\n var _this2 = this;\n\n var arr = [];\n var newArr = [];\n var types = true;\n var times;\n var date = new Date();\n var y = date.getFullYear();\n var MM = date.getMonth() + 1;\n MM = MM < 10 ? '0' + MM : MM;\n var d = date.getDate();\n d = d < 10 ? '0' + d : d;\n var h = date.getHours();\n h = h < 10 ? '0' + h : h;\n var m = date.getMinutes();\n m = m < 10 ? '0' + m : m;\n var s = date.getSeconds();\n s = s < 10 ? '0' + s : s;\n times = y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s;\n console.log(times);\n this.lists.forEach(function (e) {\n if (Object.keys(e).length > 3) {\n delete e.srcList;\n arr.push(e);\n }\n });\n arr.forEach(function (a) {\n if (a.isNormal == '2' && a.result == '') {\n _this2.$message.warning('请填写处理结果');\n\n types = false;\n return;\n }\n });\n arr.forEach(function (item) {\n if (item.isNormal == 2) {\n newArr.push({\n excMemo: item.exceptionData.excMemo,\n //备注\n excResult: item.result,\n //处理结果\n excTime: times,\n //处理时间\n excUser: _this2.$store.state.login.currentUser.username,\n //处理用户\n id: item.exceptionData.id,\n insId: item.exceptionData.insId,\n isDele: item.exceptionData.isDele,\n pkVal: item.exceptionData.pkVal,\n resId: item.exceptionData.resId,\n tenantId: ''\n });\n }\n });\n\n if (types) {\n dsmInsPosition.saveBatch(newArr, function (res) {\n if (res.state) {\n _this2.$notify({\n type: 'success',\n message: '处理成功'\n });\n\n _this2.$emit('closeStshowForm');\n\n _this2.$emit('refList');\n }\n });\n }\n },\n handleClose: function handleClose() {\n this.$emit('closeStshowForm');\n }\n }\n};",null]}