{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\structureArchivesManagement\\BridgeArchivesManagement.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\structureArchivesManagement\\BridgeArchivesManagement.vue","mtime":1718302390574},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.map\";\nimport _defineProperty from \"D:/jenkins/workspace/yhxt-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 basicData from '@/api/basicData.js';\nimport routerInfoSelectorcopy from '@/components/selector/routerInfoSelectorcopy.vue';\nimport CascaderCompany from '@/components/selector/CascaderCompany.vue';\nexport default {\n components: {\n // routerInfoSelectorcopy,\n CascaderCompany: CascaderCompany\n },\n data: function data() {\n return {\n data: [],\n searchForm: {},\n roadData: [],\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n };\n },\n created: function created() {\n this.roadData = this.getroad();\n },\n methods: {\n getroad: function getroad() {\n var arr = [];\n basicData.getRoadManagement().then(function (res) {\n res.rows.forEach(function (item) {\n arr.push({\n value: item.name,\n key: item.id\n });\n });\n });\n return arr;\n },\n showDialog: function showDialog() {\n this.activeName = '1';\n this.dialogVisible = true;\n var form = {\n type: 1,\n category: 1,\n direction: 1\n };\n this.form = _objectSpread({}, form);\n },\n uniqueFunc: function uniqueFunc(arr, uniId) {\n var res = new Map();\n return arr.filter(function (item) {\n return !res.has(item[uniId]) && res.set(item[uniId], 1);\n });\n },\n handleReset: function handleReset() {\n this.searchForm = _objectSpread(_objectSpread({}, this.searchForm), {}, {\n companyId: ['1419863231459102720'],\n companyIds: '',\n roadSegmentId: '',\n category: '',\n direction: '',\n finishDay: '',\n type: ''\n });\n this.findinfo();\n },\n findinfo: function findinfo() {\n var _this = this;\n typeof this.$refs.filterTable !== 'undefined' && this.$refs.filterTable.clearFilter();\n var query = [];\n var search = {\n company_id_: this.searchForm.companyIds,\n road_segment_id_: this.searchForm.roadSegmentId,\n finish_day_: this.searchForm.finishDay,\n category: this.searchForm.category,\n direction: this.searchForm.direction,\n type: this.searchForm.type\n };\n for (var i in search) {\n if (search[i]) {\n if (i == 'company_id_') {\n query.push({\n group: 'companyIds',\n operation: 'IN',\n parentGroup: '',\n property: 'COMPANY_ID_',\n relation: 'AND',\n value: search[i]\n });\n } else if (i == 'road_segment_id_') {\n query.push({\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'road_segment_id_',\n relation: 'AND',\n value: search[i]\n });\n } else {\n query.push({\n group: 'advance',\n operation: 'LIKE',\n property: i,\n relation: 'AND',\n value: search[i]\n });\n }\n }\n }\n query = this.uniqueFunc(query, 'property');\n var data = {\n pageBean: {\n page: 1,\n pageSize: 20,\n showTotal: true\n },\n querys: query\n };\n this.topQuery = query;\n this.$http.post('${form}/bizBridgeInformation/v1/getJson', data).then(function (res) {\n console.log(res, '11');\n var response = res.data;\n _this.data = response.rows;\n _this.pageResult = {\n page: response.page,\n pageSize: response.pageSize,\n total: response.total\n };\n });\n },\n loadData: function loadData(param, cb) {\n var _this2 = this;\n // let r = JSON.stringify(param.pageBean)\n // let l = JSON.stringify(this.pageResult)\n // if (r == l) {\n // console.log('一样')\n // param\n // } else {\n // console.log('不一样')\n // let query = []\n // let search = {\n // companyId: this.searchForm.companyId,\n // name_: this.searchForm.name,\n // }\n // for (let i in search) {\n // if (search[i]) {\n // query.push({\n // group: 'advance',\n // operation: 'LIKE',\n // property: i,\n // relation: 'AND',\n // value: search[i],\n // })\n // }\n // }\n // param.querys = query\n // }\n if (typeof this.topQuery !== 'undefined' && this.topQuery.length !== 0) {\n param.querys = typeof param.querys !== 'undefined' ? param.querys : [];\n this.topQuery.forEach(function (item) {\n param.querys.push(item);\n });\n param.querys = this.uniqueFunc(param.querys, 'property');\n }\n this.exportQuery = param;\n this.$http.post('${form}/bizBridgeInformation/v1/getJson', param).then(function (resp) {\n var response = resp.data;\n _this2.data = response.rows;\n _this2.pageResult = {\n page: response.page,\n pageSize: response.pageSize,\n total: response.total\n };\n }, function (error) {\n reject(error);\n }).finally(function () {\n if (cb) {\n cb();\n }\n });\n },\n handleCommand: function handleCommand(params) {\n var params_ = {\n row: params,\n sign: 'bridge'\n };\n this.$router.push({\n name: 'inspectBridge',\n params: params_\n });\n // if (params.command == 'inspect') {\n // this.$router.push({\n // name: 'inspectBridge',\n // params,\n // })\n // } else if (params.command == 'disease') {\n // this.$router.push({\n // name: 'bridgeDisease',\n // params,\n // })\n // } else if (params.command == 'curing') {\n // params.sign = 'bridge'\n // this.$router.push({\n // name: 'workOrderInfo',\n // params,\n // })\n // }\n },\n // getroad() {\n // let arr = []\n // basicData.getRoadManagement().then((res) => {\n // res.rows.forEach((item) => {\n // arr.push({\n // value: item.name,\n // key: item.id,\n // })\n // })\n // })\n // return arr\n // },\n //公司赋值\n handleChanged: function handleChanged(obj) {\n // console.log(obj.valueInfo.join(','))\n this.formSection.companyIds = JSON.stringify(obj.valueInfo);\n this.formSection.companyName = obj.name;\n this.formSection.companyId = obj.id;\n },\n companyValue: function companyValue(obj) {\n // console.log(obj)\n this.formSection.companyName = obj.name;\n this.formSection.companyId = obj.id;\n this.formSection.companyIds = JSON.stringify(obj.id.split(' ')); //必须是空格\n },\n //路线信息赋值\n changed: function changed(obj) {\n // console.log(obj)\n this.searchForm.name = obj.name;\n this.searchForm.routeId = obj.id;\n },\n clear: function clear() {\n console.log('进来了');\n this.searchForm.name = '';\n this.searchForm.routeId = '';\n }\n }\n};",null]}