@@ -48,7 +48,7 @@ onLoad((options) => {
})
onShow(() => {
- getMore()
+ refreshData();
function onRefresh() {
@@ -276,12 +276,15 @@
break;
// 家政合同
case 'jzht':
- uni.navigateTo({
- url: '/pages/admin/Hetong/Hetong'
- })
- /* uni.redirectTo({
- url: '/pages/admin/Hetong/HetongList'
- }) */
+ if(indexInfoData.tixingFlag){
+ uni.navigateTo({
+ url: '/pages/admin/Hetong/Hetong'
+ })
+ }else{
+ uni.redirectTo({
+ url: '/pages/admin/Hetong/HetongList'
+ }
case 'demo':
uni.redirectTo({