@@ -160,7 +160,7 @@ export default {
},
async created() {
await this.getUserInfo();
- this.getAllOrgan();
+ await this.getAllOrgan();
this.getProcessNodeList();
methods: {
@@ -174,9 +174,9 @@ export default {
}
});
- getAllOrgan() {
+ async getAllOrgan() {
// 获取分部
- queryAllOrgan({ tenantId: this.tenantId }).then(res => {
+ await queryAllOrgan({ tenantId: this.tenantId }).then(res => {
if (res.code == 200) {
const result = res.data;
const filterOrganId = [
@@ -262,7 +262,7 @@ export default {
await this.getUserInfo()
- this.getAllOrgan()
+ await this.getAllOrgan()
await this.getProcessNodeList()
// 获取用户信息
try {
@@ -592,8 +592,8 @@ export default {
this.getProcessNodeList()
})
const filterOrganId = [36, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 54, 55, 56]