提交 4be30207 编写于 作者: haochangdi's avatar haochangdi

修复刷新的问题

上级 e6a0fb85
...@@ -16,12 +16,15 @@ ...@@ -16,12 +16,15 @@
:circleId='circleId' :circleId='circleId'
:roleType='roleType' :roleType='roleType'
@setOrgTotal="setOrgTotal" @setOrgTotal="setOrgTotal"
@refreshRenYuan='refreshRenYuan'
ref='org'
></org> ></org>
<renyaun <renyaun
v-show="tab == 2" v-show="tab == 2"
:circleId='circleId' :circleId='circleId'
:roleType='roleType' :roleType='roleType'
@setPleTotal="setPleTotal" @setPleTotal="setPleTotal"
ref='renyaun'
></renyaun> ></renyaun>
</div> </div>
</div> </div>
...@@ -91,6 +94,9 @@ export default { ...@@ -91,6 +94,9 @@ export default {
}, },
getRole() { getRole() {
this.role = localStorage.getItem("highMainManager") || localStorage.getItem("mainManager") || (localStorage.getItem("storageIdType") == 1 ? 1 : 0) this.role = localStorage.getItem("highMainManager") || localStorage.getItem("mainManager") || (localStorage.getItem("storageIdType") == 1 ? 1 : 0)
},
refreshRenYuan() {
this.$refs.renyaun.initRange()
} }
} }
} }
......
...@@ -390,6 +390,7 @@ export default { ...@@ -390,6 +390,7 @@ export default {
}); });
this.deleteVisible = false this.deleteVisible = false
this.searchOrganization() this.searchOrganization()
this.$emit('refreshRenYuan')
} }
}).catch(() => { }).catch(() => {
this.deleteVisible = false this.deleteVisible = false
...@@ -412,7 +413,8 @@ export default { ...@@ -412,7 +413,8 @@ export default {
}, },
addOrg() { addOrg() {
this.dialogOrg = false this.dialogOrg = false
this.initRange() this.searchOrganization()
this.$emit('refreshRenYuan')
} }
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册