|
@@ -347,6 +347,7 @@ export default {
|
|
|
if (!valid) {
|
|
|
return false;
|
|
|
}else{
|
|
|
+ // this.handleSetDefaultOrg()
|
|
|
this.editInfo()
|
|
|
}
|
|
|
});
|
|
@@ -499,6 +500,18 @@ export default {
|
|
|
.catch(() => {
|
|
|
this.loading = false
|
|
|
});
|
|
|
+ },
|
|
|
+ // 设置默认机构
|
|
|
+ handleSetDefaultOrg(){
|
|
|
+ let MethodName = "/OrgServer/Manager/OrgManager/SetIsDefaultOrg";
|
|
|
+ let data = {
|
|
|
+ id: this.id,
|
|
|
+ is_default: 'true',
|
|
|
+ }
|
|
|
+ getLogin(MethodName, data)
|
|
|
+ .then((res) => {
|
|
|
+
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|