|
...
|
...
|
@@ -810,7 +810,11 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
context, FromPage.FromPageMyPage);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
child: _item(Utils.getImgPath('grxx'), '个人信息',
|
|
|
|
child: _item(
|
|
|
|
!Utils.getAuthority(context, '个人信息')
|
|
|
|
? Utils.getImgPath('grxx_un')
|
|
|
|
: Utils.getImgPath('grxx'),
|
|
|
|
'个人信息',
|
|
|
|
isRowLow:
|
|
|
|
!Utils.getAuthority(context, '个人信息')),
|
|
|
|
),
|
|
...
|
...
|
@@ -821,7 +825,10 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
}
|
|
|
|
},
|
|
|
|
child: _item(
|
|
|
|
Utils.getImgPath('wdkq'), '我的客情',
|
|
|
|
!Utils.getAuthority(context, '我的客情')
|
|
|
|
? Utils.getImgPath('wdkq_un')
|
|
|
|
: Utils.getImgPath('wdkq'),
|
|
|
|
'我的客情',
|
|
|
|
isRowLow: !Utils.getAuthority(
|
|
|
|
context, '我的客情'))),
|
|
|
|
InkWell(
|
|
...
|
...
|
@@ -830,7 +837,11 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
NavigatorUtil.goCouponPage(context);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
child: _item(Utils.getImgPath('yhq'), '优惠券',
|
|
|
|
child: _item(
|
|
|
|
!Utils.getAuthority(context, '优惠券')
|
|
|
|
? Utils.getImgPath('yhq_un')
|
|
|
|
: Utils.getImgPath('yhq'),
|
|
|
|
'优惠券',
|
|
|
|
isRowLow: !Utils.getAuthority(
|
|
|
|
context, '优惠券'))),
|
|
|
|
InkWell(
|
|
...
|
...
|
@@ -841,7 +852,10 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
}
|
|
|
|
},
|
|
|
|
child: _item(
|
|
|
|
Utils.getImgPath('cybz'), '常用备注',
|
|
|
|
!Utils.getAuthority(context, '常用备注')
|
|
|
|
? Utils.getImgPath('cybz_un')
|
|
|
|
: Utils.getImgPath('cybz'),
|
|
|
|
'常用备注',
|
|
|
|
isRowLow: !Utils.getAuthority(
|
|
|
|
context, '常用备注'))),
|
|
|
|
],
|
|
...
|
...
|
@@ -860,7 +874,10 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
}
|
|
|
|
},
|
|
|
|
child: _item(
|
|
|
|
Utils.getImgPath('cdgl'), '套餐排菜',
|
|
|
|
!Utils.getAuthority(context, '套餐排菜')
|
|
|
|
? Utils.getImgPath('cdgl_un')
|
|
|
|
: Utils.getImgPath('cdgl'),
|
|
|
|
'套餐排菜',
|
|
|
|
isRowLow: !Utils.getAuthority(
|
|
|
|
context, '套餐排菜'))),
|
|
|
|
InkWell(
|
|
...
|
...
|
@@ -873,7 +890,10 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
}
|
|
|
|
},
|
|
|
|
child: _item(
|
|
|
|
Utils.getImgPath('khcj'), '客户存酒',
|
|
|
|
!Utils.getAuthority(context, '客户存酒')
|
|
|
|
? Utils.getImgPath('khcj_un')
|
|
|
|
: Utils.getImgPath('khcj'),
|
|
|
|
'客户存酒',
|
|
|
|
isRowLow: !Utils.getAuthority(
|
|
|
|
context, '客户存酒'))),
|
|
|
|
InkWell(
|
...
|
...
|
|