Commit 1bb59d2269c3ec569960933095f7976fee25396e

Authored by wdn127929
1 parent 86e2a37e

清空&关闭

@@ -17,9 +17,9 @@ if (flutterRoot == null) { @@ -17,9 +17,9 @@ if (flutterRoot == null) {
17 17
18 18
19 19
20 -def flutterVersionCode = "496" 20 +def flutterVersionCode = "497"
21 if (flutterVersionCode == null) { 21 if (flutterVersionCode == null) {
22 - flutterVersionCode = '496' 22 + flutterVersionCode = '497'
23 23
24 24
25 } 25 }
@@ -28,9 +28,9 @@ if (flutterVersionCode == null) { @@ -28,9 +28,9 @@ if (flutterVersionCode == null) {
28 28
29 29
30 30
31 -def flutterVersionName = "4.9.6" 31 +def flutterVersionName = "4.9.7"
32 if (flutterVersionName == null) { 32 if (flutterVersionName == null) {
33 - flutterVersionName = '4.9.6' 33 + flutterVersionName = '4.9.7'
34 34
35 } 35 }
36 36
@@ -128,7 +128,9 @@ class _FeastPageState extends State<FeastPage> { @@ -128,7 +128,9 @@ class _FeastPageState extends State<FeastPage> {
128 upAndDown('y_kanban', '宴会看板', onTap: () { 128 upAndDown('y_kanban', '宴会看板', onTap: () {
129 NavigatorUtil.goFeastBoardPage(context); 129 NavigatorUtil.goFeastBoardPage(context);
130 }), 130 }),
131 - upAndDown('y_new', '新建宴会', onTap: () { 131 + upAndDown(
  132 + Utils.getAuthority(context, '新建宴会') ? 'y_new' : 'y_new_un',
  133 + '新建宴会', onTap: () {
132 if (Utils.getAuthority(context, '新建宴会')) { 134 if (Utils.getAuthority(context, '新建宴会')) {
133 NavigatorUtil.goFeastCreatePage(context, isCreate: true); 135 NavigatorUtil.goFeastCreatePage(context, isCreate: true);
134 } 136 }
@@ -140,7 +142,11 @@ class _FeastPageState extends State<FeastPage> { @@ -140,7 +142,11 @@ class _FeastPageState extends State<FeastPage> {
140 } 142 }
141 }, 143 },
142 child: Stack(clipBehavior: Clip.none, children: [ 144 child: Stack(clipBehavior: Clip.none, children: [
143 - upAndDown('y_schedule', '待跟进', onTap: () { 145 + upAndDown(
  146 + Utils.getAuthority(context, '待跟进')
  147 + ? 'y_schedule'
  148 + : 'y_schedule_un',
  149 + '待跟进', onTap: () {
144 if (Utils.getAuthority(context, '待跟进')) { 150 if (Utils.getAuthority(context, '待跟进')) {
145 NavigatorUtil.goFeastFollowUpPage(context); 151 NavigatorUtil.goFeastFollowUpPage(context);
146 } 152 }
@@ -170,7 +176,11 @@ class _FeastPageState extends State<FeastPage> { @@ -170,7 +176,11 @@ class _FeastPageState extends State<FeastPage> {
170 ) 176 )
171 : SizedBox() 177 : SizedBox()
172 ])), 178 ])),
173 - upAndDown('y_money', '定金管理', onTap: () { 179 + upAndDown(
  180 + Utils.getAuthority(context, '定金管理')
  181 + ? 'y_money'
  182 + : 'y_money_un',
  183 + '定金管理', onTap: () {
174 if (Utils.getAuthority(context, '定金管理')) { 184 if (Utils.getAuthority(context, '定金管理')) {
175 NavigatorUtil.goFeastDepositDataPage(context); 185 NavigatorUtil.goFeastDepositDataPage(context);
176 } 186 }