{"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\\frontScreens\\components\\gisTabComponents\\module\\RiverInfoModel.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\gisTabComponents\\module\\RiverInfoModel.vue","mtime":1684458238652},{"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//\nexport default {\n name: 'RiverInfoModel',\n props: {\n currentPoint: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n activeName: '河流详情',\n riverInfoData: [{\n text: '河流名称',\n content: 'XXX河',\n key: 1\n }, {\n text: '河流代码',\n content: 'HL123',\n key: 2\n }, {\n text: '上级河流',\n content: 'XXXX河',\n key: 3\n }, {\n text: '河流级别',\n content: '二级河流',\n key: 4\n }, {\n text: '流域面积(单位Km2)',\n content: '56',\n key: 5\n }]\n };\n },\n inject: ['mapData'],\n created: function created() {\n var mapData = this.mapData();\n this.districtData = this.originData;\n this.T = mapData.T;\n this.map = mapData.map;\n },\n mounted: function mounted() {\n console.log(this.currentPoint, 'this.currentPoint');\n this.update();\n },\n beforeDestroy: function beforeDestroy() {},\n watch: {\n currentPoint: {\n handler: function handler(newVal) {\n this.update();\n }\n }\n },\n methods: {\n update: function update() {\n this.riverInfoData[0].content = this.currentPoint.name;\n this.riverInfoData[1].content = this.currentPoint.code;\n this.riverInfoData[2].content = this.currentPoint.parentName;\n var grade = \"\";\n\n if (this.currentPoint.rvGrad == \"1\") {\n grade = \"一\";\n } else if (this.currentPoint.rvGrad == \"2\") {\n grade = \"二\";\n } else if (this.currentPoint.rvGrad == \"3\") {\n grade = \"三\";\n } else if (this.currentPoint.rvGrad == \"4\") {\n grade = \"四\";\n } else if (this.currentPoint.rvGrad == \"5\") {\n grade = \"五\";\n }\n\n this.riverInfoData[3].content = grade + \"级支流\";\n this.riverInfoData[4].content = this.currentPoint.rvBasArea;\n },\n handleClick: function handleClick(tab, event) {\n console.log(tab, event);\n }\n }\n};",null]}