Browse Source

进行完善

work_tab_bar
是小王呀\24601 1 year ago
parent
commit
0fc30e2956
  1. 9
      subpages/nohouse/pages/nohouse/nohouse.js
  2. 3
      subpages/resnoinformation/pages/resnoinformation/resnoinformation.js

9
subpages/nohouse/pages/nohouse/nohouse.js

@ -15,7 +15,6 @@ Page({
*/ */
data: { data: {
cascaderName:'海伦路街道',
ShowTree: false, ShowTree: false,
searchOrgIdPath:'', searchOrgIdPath:'',
angencyList:[], angencyList:[],
@ -27,6 +26,7 @@ Page({
cascaderFwValue: '', cascaderFwValue: '',
cascaderValue:'', cascaderValue:'',
dictType:[], dictType:[],
maxLength:5,
showResident:false, showResident:false,
cascaderName:null, cascaderName:null,
showStreet:false, showStreet:false,
@ -239,6 +239,13 @@ onFinish(e) {
level, level,
}, },
}); });
if(this.data.cascaderName.length>=this.data.maxLength){
this.setData({
cascaderName :this.data.cascaderName.substring(0, this.data.maxLength) + '...'
})
}
console.log('qwe',this.data.cascaderName)
this.getTableData() this.getTableData()
}, },

3
subpages/resnoinformation/pages/resnoinformation/resnoinformation.js

@ -256,7 +256,8 @@ Page({
level, level,
}, },
}); });
this.getTableData()
this.getTopTreeData()
}, },
}) })
Loading…
Cancel
Save