{"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\\components\\business\\DialogSelectSideSlope.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\components\\business\\DialogSelectSideSlope.vue","mtime":1706175428850},{"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.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.map\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 CascaderCompany from '@/components/selector/CascaderCompany.vue';\nimport routerInfoSelectorcopy from '@/components/selector/routerInfoSelectorcopy.vue';\nexport default {\n name: 'DialogSelectSideSlope',\n components: {\n CascaderCompany: CascaderCompany,\n routerInfoSelectorcopy: routerInfoSelectorcopy\n },\n data: function data() {\n return {\n data: [],\n dialogVisible: false,\n searchForm: {},\n roadList: [],\n radioCurrent: '',\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n current: null,\n rampOptions: [{\n value: '0',\n label: '否'\n }, {\n value: '1',\n label: '是'\n }]\n };\n },\n created: function created() {\n this.getRoadList();\n },\n mounted: function mounted() {},\n methods: {\n submit: function submit() {\n this.dialogVisible = false;\n this.$emit('handleSubmit', this.current);\n },\n open: function open() {\n this.dialogVisible = true;\n },\n handleClose: function handleClose() {\n this.dialogVisible = false;\n },\n handleRowClick: function handleRowClick(row) {\n this.radioCurrent = row.id;\n this.current = row;\n },\n getRoadList: function getRoadList() {\n var _this = this;\n basicData.getRoadManagement().then(function (res) {\n var data = res.rows;\n _this.roadList = data;\n });\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 var query = [];\n var params = {\n routeId: this.searchForm.routeId\n };\n var search = {\n company_id_: this.searchForm.companyIds,\n road_segment_id_: this.searchForm.roadSegmentId,\n direction: this.searchForm.direction,\n is_high_risk_: this.searchForm.isHighRisk,\n is_ramp_: this.searchForm.isRamp\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 {\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 params: params\n };\n basicData.getSideSlopeManagement(data).then(function (res) {\n var response = res;\n _this2.data = response.rows;\n _this2.pageResult = {\n page: response.page,\n pageSize: response.pageSize,\n total: response.total\n };\n });\n },\n //路线信息赋值\n routechanged: function routechanged(data) {\n this.searchForm.routeName = data.name;\n this.searchForm.routeId = data.id;\n },\n clear: function clear() {\n this.searchForm.name = '';\n this.searchForm.routeId = '';\n },\n loadData: function loadData(param, cb) {\n var _this3 = this;\n basicData.getSideSlopeManagement(param).then(function (resp) {\n var response = resp;\n _this3.data = response.rows;\n _this3.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 }\n};",null]}