|
@@ -176,7 +176,8 @@ export default {
|
176
|
176
|
creator: 0,
|
177
|
177
|
ids: 0,
|
178
|
178
|
isCreateOrg: false,
|
179
|
|
- org_id: 0
|
|
179
|
+ org_id: 0,
|
|
180
|
+ cretor: 0
|
180
|
181
|
};
|
181
|
182
|
},
|
182
|
183
|
methods: {
|
|
@@ -203,6 +204,9 @@ export default {
|
203
|
204
|
console.log("orgs", orgs);
|
204
|
205
|
this.organaziton = orgs;
|
205
|
206
|
this.isCreateOrg = response.data.data.isCreateOrg;
|
|
207
|
+ // var cretor = response.data.data.cretor;
|
|
208
|
+ // console.log("cretor", cretor);
|
|
209
|
+ // this.cretor = cretor;
|
206
|
210
|
}
|
207
|
211
|
});
|
208
|
212
|
},
|
|
@@ -265,7 +269,6 @@ export default {
|
265
|
269
|
}
|
266
|
270
|
});
|
267
|
271
|
},
|
268
|
|
-
|
269
|
272
|
// 获取机构信息
|
270
|
273
|
getMyOrgInformation(creator) {
|
271
|
274
|
getMyOrgInformation(creator).then(response => {
|
|
@@ -284,6 +287,16 @@ export default {
|
284
|
287
|
this.org_id = Username.org_id;
|
285
|
288
|
this.ids = Username.admin_user_id;
|
286
|
289
|
});
|
|
290
|
+ },
|
|
291
|
+ getRolePosition() {
|
|
292
|
+ getRolePosition().then(response => {
|
|
293
|
+ if (response.data.state === 1) {
|
|
294
|
+ var orgs = response.data.data.orgs;
|
|
295
|
+ console.log("position", orgs);
|
|
296
|
+ var adminUser = response.data.data.adminUser;
|
|
297
|
+ console.log("adminUser", adminUser);
|
|
298
|
+ }
|
|
299
|
+ });
|
287
|
300
|
}
|
288
|
301
|
},
|
289
|
302
|
created() {
|
|
@@ -302,6 +315,7 @@ export default {
|
302
|
315
|
if (creator !== 0) {
|
303
|
316
|
this.getMyInformationFour();
|
304
|
317
|
}
|
|
318
|
+ // this.getRolePosition();
|
305
|
319
|
}
|
306
|
320
|
};
|
307
|
321
|
</script>
|