{"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\\stManager\\components\\components\\stStbprpResFrom.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\stManager\\components\\components\\stStbprpResFrom.vue","mtime":1684458239606},{"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.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 syqStation from '@/api/stManager/syqStation.js';\nimport req from '@/request.js';\nexport default {\n name: 'syqStationFromdialog',\n props: {\n stStbprpResFrom: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n name: '',\n activeName: 'form',\n tableDataOne: [],\n tableDataTwo: [],\n tableDataTree: [],\n tableDataFour: [],\n titleTreen: '',\n titleTwo: '',\n titleOne: '',\n titleFour: '',\n data: '',\n getIndex: ''\n };\n },\n created: function created() {\n this.getDataList();\n },\n methods: {\n clickTree: function clickTree(val) {\n this.getIndex = val.index;\n console.log(val, '点击');\n this.data = val;\n },\n goInfo: function goInfo() {\n this.$emit('func', this.data);\n this.$emit('closestStbprpResFrom');\n },\n handleCloseIs: function handleCloseIs() {\n this.$emit('func', '');\n this.$emit('closestStbprpResFrom');\n },\n search: function search() {\n if (this.activeName == 'form') {\n this.searchs(this.tableDataOne, 'from');\n }\n\n if (this.activeName == 'persons') {\n this.searchs(this.tableDataTwo, 'persons');\n }\n\n if (this.activeName == 'active') {\n this.searchs(this.tableDataTree, 'active');\n }\n\n if (this.activeName == 'station') {\n this.searchs(this.tableDataFour, 'station');\n }\n },\n searchs: function searchs(arr, activeName) {\n var _search = this.name.toLowerCase();\n\n var newListData = []; // 用于存放搜索出来数据的新数组\n\n if (_search) {\n arr.filter(function (item) {\n if (item.name.toLowerCase().indexOf(_search) !== -1) {\n newListData.push(item);\n }\n });\n }\n\n if (this.activeName == 'form') {\n this.tableDataOne = newListData;\n }\n\n if (this.activeName == 'persons') {\n this.tableDataTwo = newListData;\n }\n\n if (this.activeName == 'active') {\n this.tableDataTree = newListData;\n }\n\n if (this.activeName == 'station') {\n this.tableDataFour = newListData;\n }\n },\n resetQuery: function resetQuery() {\n this.getDataList();\n },\n selectedstyle: function selectedstyle(_ref) {\n var row = _ref.row,\n rowIndex = _ref.rowIndex;\n\n if (this.getIndex === rowIndex) {\n return {\n 'background-color': '#caddd5'\n };\n }\n\n return '';\n },\n tableRowClassName: function tableRowClassName(_ref2) {\n var row = _ref2.row,\n rowIndex = _ref2.rowIndex;\n row.index = rowIndex;\n },\n handleClick: function handleClick() {\n this.getIndex = 'xxx'; //切换 tab清除样式\n },\n getDataList: function getDataList() {\n var _this = this;\n\n syqStation.getList({}, function (res) {\n if (res.state) {\n _this.titleFour = res.value[3].name;\n _this.titleTreen = res.value[2].name;\n _this.titleTwo = res.value[1].name;\n _this.titleOne = res.value[0].name;\n _this.tableDataOne = res.value[0].children;\n _this.tableDataTwo = res.value[1].children;\n _this.tableDataTree = res.value[2].children;\n _this.tableDataFour = res.value[3].children;\n } else {\n _this.$message(res.message);\n }\n });\n } //获取字典数据\n // getSysDict() {\n // let portal = window.context.portal\n // return new Promise((resolve, reject) => {\n // req.post(portal + '/sys/sysDictionary/v1/queryAllDictItems').then(\n // (response) => {\n // resolve(response.data)\n // this.sttps = response.data.czlx\n // this.params.sttp = this.sttps[0].value\n // this.appTypes = response.data.czyyfl\n // this.params.appType = this.appTypes[0].value\n // this.prgrs = response.data.gcdb;\n // this.prscs = response.data.gcgm;\n // this.basGrads = response.data.lyjb;\n // this.dtpls = response.data.szjm;\n // this.rsrs = response.data.skgn;\n // this.params.resType=this.resTypes[0].value;\n // },\n // (error) => {\n // reject(error)\n // }\n // )\n // })\n // },\n\n }\n};",null]}