{"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\\culvertInsepect\\RegularDiease.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\structureArchivesManagement\\culvertInsepect\\RegularDiease.vue","mtime":1682502245824},{"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/es6.string.iterator\";\nimport \"core-js/modules/es6.map\";\nimport \"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 BridgeDialog from '@/components/dialog/BridgeDialog.vue';\nimport req from '@/request.js';\nimport basicData from '@/api/basicData.js';\nimport DiseaseInforDialog from '@/components/dialog/DiseaseInformationDialog.vue';\nimport sctionInfoSelector from '@/components/selector/sctionInfoSelector.vue';\nexport default {\n components: {\n BridgeDialog: BridgeDialog,\n DiseaseInforDialog: DiseaseInforDialog,\n sctionInfoSelector: sctionInfoSelector\n },\n name: 'Fretow',\n data: function data() {\n return {\n searchForm: {},\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n optionsss: [{\n value: '0',\n label: '否'\n }, {\n value: '1',\n label: '是'\n }],\n options: [],\n cbkm: [],\n data: [],\n row: [],\n selecdVlue: '',\n dialogVisible: false,\n form: {\n roadName: '',\n roadId: '',\n direction: 1,\n temporary: '0',\n type: 9\n },\n cbkmGD: ''\n };\n },\n created: function created() {\n this.roadData = this.getroad();\n this.getxu = this.getxjlb();\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.name\n });\n });\n console.log(arr, '12');\n });\n return arr;\n },\n getxjlb: function getxjlb() {\n var arr = [];\n var data = 'CBKM';\n basicData.getCostAccountManagement(data).then(function (res) {\n res.data.forEach(function (item) {\n arr.push({\n label: item.subjectName,\n value: item.subjectCode\n });\n });\n });\n return arr;\n },\n changesele: function changesele(value) {\n var _this = this;\n var arr = [];\n basicData.getCostAccountManagement(value).then(function (res) {\n if (res.data.length > 0) {\n res.data.forEach(function (item) {\n if (item.pcode == value) {\n arr.push({\n label: item.subjectName,\n value: item.subjectCode\n });\n }\n _this.cbkm = arr;\n });\n }\n });\n },\n getDisease: function getDisease(row) {\n this.$refs.disease.open(row);\n },\n back: function back() {\n this.$router.go(-1);\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 findinfo: function findinfo() {\n var _this2 = this;\n typeof this.$refs.filterTable !== 'undefined' && this.$refs.filterTable.clearFilter();\n var query = [];\n var params = {\n routeId: this.searchForm.routeId,\n flag: 1\n };\n var search = {\n disease_category_: this.searchForm.diseaseCategory,\n roadName: this.searchForm.roadName,\n direction: this.searchForm.direction\n };\n for (var 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 query = this.uniqueFunc(query, 'property');\n var data = {\n pageBean: {\n page: 1,\n pageSize: 20,\n showTotal: true\n },\n querys: query,\n params: params\n };\n this.topQuery = query;\n this.$http.post('${form}/disease/v1/getJsonCulvertDiseaseCheck', data).then(function (res) {\n console.log(res, '11');\n var response = res.data;\n _this2.data = response.rows;\n _this2.pageResult = {\n page: response.page,\n pageSize: response.pageSize,\n total: response.total\n };\n });\n },\n loadData: function loadData(param, cb) {\n var _this3 = this;\n if (this.row == '') {\n this.row = this.$route.params.row;\n }\n param.params = {\n flag: 1\n };\n param.querys = [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'culvert_id_',\n relation: 'AND',\n value: this.row.id\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.$http.post('${form}/disease/v1/getJsonCulvertDiseaseCheck', param).then(function (resp) {\n var response = resp.data;\n _this3.data = response.rows;\n _this3.pageResult = {\n page: response.page,\n pageSize: response.pageSize,\n total: response.total\n };\n _this3.form.type = 9;\n }, function (error) {\n reject(error);\n }).finally(function () {\n if (cb) {\n cb();\n }\n });\n }\n }\n};",null]}