Commit 1bb59d2269c3ec569960933095f7976fee25396e

Authored by wdn127929
1 parent 86e2a37e

清空&关闭

... ... @@ -17,9 +17,9 @@ if (flutterRoot == null) {
def flutterVersionCode = "496"
def flutterVersionCode = "497"
if (flutterVersionCode == null) {
flutterVersionCode = '496'
flutterVersionCode = '497'
}
... ... @@ -28,9 +28,9 @@ if (flutterVersionCode == null) {
def flutterVersionName = "4.9.6"
def flutterVersionName = "4.9.7"
if (flutterVersionName == null) {
flutterVersionName = '4.9.6'
flutterVersionName = '4.9.7'
}
... ...
... ... @@ -128,7 +128,9 @@ class _FeastPageState extends State<FeastPage> {
upAndDown('y_kanban', '宴会看板', onTap: () {
NavigatorUtil.goFeastBoardPage(context);
}),
upAndDown('y_new', '新建宴会', onTap: () {
upAndDown(
Utils.getAuthority(context, '新建宴会') ? 'y_new' : 'y_new_un',
'新建宴会', onTap: () {
if (Utils.getAuthority(context, '新建宴会')) {
NavigatorUtil.goFeastCreatePage(context, isCreate: true);
}
... ... @@ -140,7 +142,11 @@ class _FeastPageState extends State<FeastPage> {
}
},
child: Stack(clipBehavior: Clip.none, children: [
upAndDown('y_schedule', '待跟进', onTap: () {
upAndDown(
Utils.getAuthority(context, '待跟进')
? 'y_schedule'
: 'y_schedule_un',
'待跟进', onTap: () {
if (Utils.getAuthority(context, '待跟进')) {
NavigatorUtil.goFeastFollowUpPage(context);
}
... ... @@ -170,7 +176,11 @@ class _FeastPageState extends State<FeastPage> {
)
: SizedBox()
])),
upAndDown('y_money', '定金管理', onTap: () {
upAndDown(
Utils.getAuthority(context, '定金管理')
? 'y_money'
: 'y_money_un',
'定金管理', onTap: () {
if (Utils.getAuthority(context, '定金管理')) {
NavigatorUtil.goFeastDepositDataPage(context);
}
... ...