{"remainingRequest":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\artfess-module\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\artfess-module\\src\\demo\\MyPostSelector.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\artfess-module\\src\\demo\\MyPostSelector.vue","mtime":1675232038699},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\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//\nimport selector from \"@/api/selector.js\";\nimport req from \"@/api/sysType.js\";\nexport default {\n name: \"my-post-selector\",\n props: {\n validate: [String, Object],\n value: String,\n name: String,\n placeholder: String,\n permission: String,\n single: Boolean,\n config: Object\n },\n data: function data() {\n return {\n data: [],\n demensions: [],\n defaultDemension: null,\n orgs: [],\n tableColumns: [{\n prop: \"name\",\n label: \"名称\",\n width: \"120\"\n }, {\n prop: \"code\",\n label: \"编码\",\n width: \"120\"\n }, {\n prop: \"orgName\",\n label: \"所属组织\",\n width: \"260\"\n }],\n pagination: {\n page: 1,\n pageSize: 50,\n total: 0\n },\n orgLength: 0\n };\n },\n methods: {\n loadDemensions: function loadDemensions() {\n var _this2 = this;\n\n setTimeout(function () {\n _this2.demensions = [{\n id: 1,\n demName: \"行政维度\"\n }, {\n id: 2,\n demName: \"分公司维度\"\n }];\n _this2.defaultDemension = 1;\n }, 1000);\n },\n handleLoad: function handleLoad(param, cb) {\n var _this3 = this;\n\n this.$message(\"输入关键字查询岗位\");\n selector.getPosts(param).then(function (response) {\n _this3.data = response.rows;\n _this3.pagination.page = response.page;\n _this3.pagination.pageSize = response.pageSize;\n _this3.pagination.total = response.total;\n cb();\n }).catch(function (err) {\n cb();\n });\n },\n valueChange: function valueChange(value) {\n this.$emit(\"input\", value);\n },\n loadOrgTree: function loadOrgTree(node, resolve) {\n // 组织节点点击事件 异步加载组织\n this.$message(\"组织节点点击事件 请异步加载组织\");\n\n var _this = this;\n\n req.getSysTypeData({}).then(function (data) {\n // _this.orgs = data;\n var resultData = [{\n id: node.id,\n name: \"组织\" + node.id\n }];\n\n if (_this.orgLength > 2) {\n resultData = [];\n }\n\n _this.orgLength++;\n resolve(resultData);\n });\n },\n changeDemension: function changeDemension(currentDemension) {\n // 维度改变 重新获取组织\n this.$message(\"维度改变 请重新获取组织\");\n },\n loadPosts: function loadPosts(org) {\n // 根据组织获取用户\n this.$message(\"加载岗位\");\n }\n }\n};",null]}