{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\main\\organizationPermission\\PostDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\main\\organizationPermission\\PostDialog.vue","mtime":1667327530012},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\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\nimport uc from \"@/api/uc.js\";\n\nexport default {\n name: \"PostDialog\",\n props: {\n value: Array,\n name: String,\n single: Boolean,\n appendToBody: {\n type: Boolean,\n default: false\n },\n destroyOnClose: {\n type: Boolean,\n default: false\n },\n orgId: {\n type: String,\n default: \"\"\n }\n },\n data() {\n return {\n data: [],\n tableColumns: [\n { prop: \"name\", label: \"名称\", width: \"300\" },\n { prop: \"code\", label: \"编码\" }\n ],\n pagination: {\n page: 1,\n pageSize: 50,\n total: 0,\n showTotal: true\n }\n };\n },\n methods: {\n showDialog() {\n this.$refs.htDialog.showDialog();\n },\n handleLoad(param, cb) {\n let query = {\n group: \"defaultQueryGroup\",\n operation: \"EQUAL\",\n relation: \"AND\",\n property: \"o.ID_\",\n value: this.orgId\n };\n param.querys.push(query);\n uc.getOrgPostPage(param)\n .then(response => {\n this.data = response.rows;\n this.pagination.page = response.page;\n this.pagination.pageSize = response.pageSize;\n this.pagination.total = response.total;\n cb();\n })\n .catch(err => {\n cb();\n });\n },\n onConfirm(selection) {\n this.$emit(\"onConfirm\", selection, this.name);\n this.$emit(\"input\", selection);\n }\n }\n};\n",null]}