Commit c5e456dfd21cc7bab90c357b28bf8f92f656f48b

Authored by wdn127929
1 parent 9a419c2e

标准版客情使用极速版页面

@@ -1032,7 +1032,16 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { @@ -1032,7 +1032,16 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
1032 } 1032 }
1033 1033
1034 if (Utils.getAuthority(context, '我的客情')) { 1034 if (Utils.getAuthority(context, '我的客情')) {
1035 - NavigatorUtil.goMyCustomerPage(context); 1035 + if (collectStoreProvider
  1036 + .sellerNormalSpecial) {
  1037 + //标准版
  1038 +
  1039 + NavigatorUtil.goMyCustomerListPageSim(
  1040 + context);
  1041 + } else {
  1042 + NavigatorUtil.goMyCustomerPage(
  1043 + context);
  1044 + }
1036 } 1045 }
1037 }, 1046 },
1038 child: _item( 1047 child: _item(
@@ -1228,8 +1237,16 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { @@ -1228,8 +1237,16 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
1228 } 1237 }
1229 if (Utils.getAuthority( 1238 if (Utils.getAuthority(
1230 context, '全店客情')) { 1239 context, '全店客情')) {
1231 - NavigatorUtil.goStoreCustomerPage(  
1232 - context); 1240 + if (collectStoreProvider
  1241 + .sellerNormalSpecial) {
  1242 + //标准版
  1243 + NavigatorUtil
  1244 + .goCustomerListPageSim(
  1245 + context);
  1246 + } else {
  1247 + NavigatorUtil.goStoreCustomerPage(
  1248 + context);
  1249 + }
1233 } 1250 }
1234 }, 1251 },
1235 child: _item( 1252 child: _item(
@@ -25,9 +25,11 @@ class CollectStoreProvider with ChangeNotifier { @@ -25,9 +25,11 @@ class CollectStoreProvider with ChangeNotifier {
25 bool sellerFeast = false; //宴会 25 bool sellerFeast = false; //宴会
26 bool sellerPreserve = false; //客情维护 26 bool sellerPreserve = false; //客情维护
27 bool sellerMarketing = false; //客情营销 27 bool sellerMarketing = false; //客情营销
28 - bool sellerNormal = false; //超能或者标准 28 + bool sellerNormal = false; //超能或者标准或高级
29 bool sellerSimple = false; //极速版 29 bool sellerSimple = false; //极速版
30 30
  31 + bool sellerNormalSpecial = false;//标准版客情和极速版一样
  32 +
31 String sellerNormalEdate = ''; 33 String sellerNormalEdate = '';
32 34
33 /// 收集店铺信息 35 /// 收集店铺信息
@@ -134,6 +136,10 @@ class CollectStoreProvider with ChangeNotifier { @@ -134,6 +136,10 @@ class CollectStoreProvider with ChangeNotifier {
134 if (int.parse(element.cdate) * 1000 == 136 if (int.parse(element.cdate) * 1000 ==
135 cdates[cdates.length - 1].millisecondsSinceEpoch) { 137 cdates[cdates.length - 1].millisecondsSinceEpoch) {
136 temp.add(element); //最新的版本信息 138 temp.add(element); //最新的版本信息
  139 +
  140 + if(element.vid == '4'|| element.vid == '13'){
  141 + sellerNormalSpecial = true;
  142 + }
137 } 143 }
138 } else { 144 } else {
139 temp.add(element); //模块信息 145 temp.add(element); //模块信息
@@ -193,6 +199,9 @@ class CollectStoreProvider with ChangeNotifier { @@ -193,6 +199,9 @@ class CollectStoreProvider with ChangeNotifier {
193 if (int.parse(element.cdate) * 1000 == 199 if (int.parse(element.cdate) * 1000 ==
194 cdates[cdates.length - 1].millisecondsSinceEpoch) { 200 cdates[cdates.length - 1].millisecondsSinceEpoch) {
195 temp.add(element); //最新的版本信息 201 temp.add(element); //最新的版本信息
  202 + if(element.vid == '4'|| element.vid == '13'){
  203 + sellerNormalSpecial = true;
  204 + }
196 } 205 }
197 } else { 206 } else {
198 temp.add(element); //模块信息 207 temp.add(element); //模块信息