|
@@ -27,6 +27,7 @@
|
|
|
class="u-pm__left"
|
|
|
title="机构列表"
|
|
|
:search="true"
|
|
|
+ apiName="getOrgTree"
|
|
|
@handleGetNode="handleGetNode"
|
|
|
@submitRootNode="submitRootNode"
|
|
|
/>
|
|
@@ -55,9 +56,9 @@
|
|
|
import Tree from "@/pages/common/tree";
|
|
|
import { institutionField } from "../DataConfig";
|
|
|
import { orgInfoDetail } from "@/api/data-auth";
|
|
|
-import { authOrgSync } from "@/api/sync"
|
|
|
+import { authOrgSync } from "@/api/sync";
|
|
|
import importFile from "@/pages/common/import";
|
|
|
-import { orgImportUrl } from "@/api/import"
|
|
|
+import { orgImportUrl } from "@/api/import";
|
|
|
export default {
|
|
|
name: "institutional-attributes", // 组件名称
|
|
|
props: {},
|
|
@@ -91,7 +92,7 @@ export default {
|
|
|
success(params) {
|
|
|
vm.key++;
|
|
|
layer.close(layer.dialogIndex);
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
cancel: function (index, layero) {
|
|
|
// 关闭对应弹窗的ID
|
|
@@ -105,10 +106,10 @@ export default {
|
|
|
* @description:同步方法,假同步
|
|
|
*/
|
|
|
handleSynchro() {
|
|
|
- authOrgSync().then(res => {
|
|
|
+ authOrgSync().then((res) => {
|
|
|
this.$message.success("同步成功");
|
|
|
this.handleSearch();
|
|
|
- })
|
|
|
+ });
|
|
|
},
|
|
|
/**
|
|
|
* @description:树方法
|