Browse Source

dd

shibei_master
13176889840 4 years ago
parent
commit
0e7c948f19
  1. 27
      src/views/modules/visual/basicinfo/peopleList.vue

27
src/views/modules/visual/basicinfo/peopleList.vue

@ -10,7 +10,7 @@
</el-breadcrumb>
</div>
<div v-if="orgLevel!=='people'">
<div>
<div class="list_box">
<div class="info_tip">
@ -115,6 +115,7 @@ export default {
pageNo: 1,
total: 0,
orgLevel: 'search',
orgId: '',
selUserId: '',
//
runNum: 0,
@ -128,11 +129,18 @@ export default {
this.searchName = ''
this.tableData = []
const { columnName, label, id, level } = this.$route.query
this.orgLevel = level
this.orgId = id
this.searchName = columnName
this.tableTitle = label
this.loadList(id, level)
},
deactivated() {
this.orgLevel = ''
this.orgId = ''
this.pageNo = 1
},
beforeRouteEnter(to, from, next) {
const arr = [ {...from }, { ...to, meta: { title: '人员列表'}}]
next((vm) =>{
@ -176,24 +184,9 @@ export default {
pageCurrentChangeHandle (val) {
this.pageNo = val
this.loadList()
this.loadList(this.orgId, this.orgLevel)
},
// type:polygon / people
async toSubAgency (type, userId) {
this.orgLevel = 'people'
this.selUserId = userId
},
//
handleClickBack () {
this.orgLevel = 'search'
},
},
destroyed () {

Loading…
Cancel
Save