{"remainingRequest":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xypm-web\\src\\views\\projectManagent\\modules\\component\\planPermission.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xypm-web\\src\\views\\projectManagent\\modules\\component\\planPermission.vue","mtime":1675214578245},{"path":"D:\\jenkins\\workspace\\xypm-web\\babel.config.js","mtime":1675214572901},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 dialogAccessory from \"../dialog/dialogAccessory.vue\";\nimport planning from \"./planning.vue\";\nexport default {\n  name: 'planPermission',\n  components: {\n    dialogAccessory: dialogAccessory // planning,\n\n  },\n  data: function data() {\n    return {\n      data: {},\n      show: true,\n      activeName: 'siteSelection',\n      projectId: ''\n    };\n  },\n  mounted: function mounted() {\n    this.loadData();\n  },\n  methods: {\n    //附件\n    handleLook: function handleLook(obj) {\n      this.$refs.accessory.open(obj);\n    },\n    //点击tabs\n    handleClick: function handleClick(tab, event) {\n      switch (tab.paneName) {\n        case 'siteSelection':\n          var site = '${cqxy}/biz/feasiblePlan/planningApproval/site/v1/page';\n          this.loadData(site);\n          break;\n\n        case 'land':\n          var land = '${cqxy}/biz/feasiblePlan/planningApproval/land/v1/page';\n          this.loadData(land);\n          break;\n\n        case 'useLand':\n          var useLand = '${cqxy}/biz/feasiblePlan/planningApproval/useLand/v1/page';\n          this.loadData(useLand);\n          break;\n\n        default:\n          this.$refs.planning.loadData();\n      }\n    },\n    loadData: function loadData(url) {\n      var _this = this;\n\n      this.projectId = this.$route.params.id;\n      var param = {\n        pageBean: {\n          page: 1,\n          pageSize: 1,\n          total: true\n        },\n        querys: [{\n          group: 'main',\n          operation: 'EQUAL',\n          parentGroup: '',\n          property: 'PROJECT_ID_ ',\n          relation: 'AND',\n          value: this.$route.params.id\n        }]\n      };\n\n      if (url) {\n        this.$http.post(url, param).then(function (resp) {\n          var data = resp.data.value.rows;\n\n          if (data.length > 0) {\n            _this.data = data[0];\n            _this.show = true;\n          } else {\n            _this.show = false;\n          }\n        }, function (error) {\n          reject(error);\n        });\n      } else {\n        this.$http.post('${cqxy}/biz/feasiblePlan/planningApproval/site/v1/page', param).then(function (resp) {\n          var data = resp.data.value.rows;\n\n          if (data.length > 0) {\n            _this.data = data[0];\n            _this.show = true;\n          } else {\n            _this.show = false;\n          }\n        }, function (error) {\n          reject(error);\n        });\n      }\n    }\n  }\n};",null]}