Commit 5d95c2ac authored by 朱翠翠's avatar 朱翠翠

Merge branch 'zx/gmFlutter' into 'test'

Zx/gm flutter

See merge request !38
parents 3d2d9451 8de8cb35
...@@ -41,7 +41,7 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> { ...@@ -41,7 +41,7 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> {
@override @override
void initState() { void initState() {
// DioUtil.getInstance().setProxy("172.30.9.128"); // DioUtil.getInstance().setProxy("172.30.9.128");
super.initState(); super.initState();
_model.init(widget._planIds); _model.init(widget._planIds);
} }
......
...@@ -128,7 +128,7 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage> ...@@ -128,7 +128,7 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage>
widget._planType == 1 widget._planType == 1
? "level_one_plan_compare_detail" ? "level_one_plan_compare_detail"
: "level_two_plan_compare_deatil", : "level_two_plan_compare_deatil",
{"planIds": _setCompare.toList()}, {"planIds": _setCompare.toList(), "referrer_tab_name": ""},
false); false);
} }
......
...@@ -76,6 +76,7 @@ class LevelOneItem extends StatelessWidget { ...@@ -76,6 +76,7 @@ class LevelOneItem extends StatelessWidget {
position, tabName, "doctor", cards.doctor.doctor_id); position, tabName, "doctor", cards.doctor.doctor_id);
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${cards.doctor.doctor_id}", "business_id": "${cards.doctor.doctor_id}",
"referrer_tab_name": ""
}; };
RouterCenterImpl() RouterCenterImpl()
.findMainRouter() .findMainRouter()
...@@ -205,6 +206,7 @@ class LevelOneItem extends StatelessWidget { ...@@ -205,6 +206,7 @@ class LevelOneItem extends StatelessWidget {
position, tabName, "hospital", cards.hospital.hosiptalId); position, tabName, "hospital", cards.hospital.hosiptalId);
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${cards.hospital.hosiptalId}", "business_id": "${cards.hospital.hosiptalId}",
"referrer_tab_name": ""
}; };
RouterCenterImpl() RouterCenterImpl()
.findMainRouter() .findMainRouter()
...@@ -394,7 +396,8 @@ class LevelOneItem extends StatelessWidget { ...@@ -394,7 +396,8 @@ class LevelOneItem extends StatelessWidget {
position, tabName, "level_two_plan", "${cards.plan.plan_id}"); position, tabName, "level_two_plan", "${cards.plan.plan_id}");
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${cards.plan.plan_id}", "business_id": "${cards.plan.plan_id}",
"planId": cards.plan.plan_id "planId": cards.plan.plan_id,
"referrer_tab_name": ""
}; };
RouterCenterImpl() RouterCenterImpl()
.findMainRouter() .findMainRouter()
......
...@@ -185,7 +185,8 @@ class LevelOneListState extends State<LevelOneList> ...@@ -185,7 +185,8 @@ class LevelOneListState extends State<LevelOneList>
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${widget.planId}", "business_id": "${widget.planId}",
"planId": planId, "planId": planId,
"planType": 2 "planType": 2,
"referrer_tab_name": ""
}; };
RouterCenterImpl().findMainRouter().jumpPage( RouterCenterImpl().findMainRouter().jumpPage(
context, context,
......
...@@ -428,7 +428,8 @@ class LevelOneState extends BaseState<LevelOnePage> ...@@ -428,7 +428,8 @@ class LevelOneState extends BaseState<LevelOnePage>
onTap: () { onTap: () {
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${widget.planId}", "business_id": "${widget.planId}",
"planId": widget.planId "planId": widget.planId,
"referrer_tab_name": _model.tabsList[tabController.index].name
}; };
RouterCenterImpl() RouterCenterImpl()
.findMainRouter() .findMainRouter()
...@@ -515,7 +516,8 @@ class LevelOneState extends BaseState<LevelOnePage> ...@@ -515,7 +516,8 @@ class LevelOneState extends BaseState<LevelOnePage>
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${widget.planId}", "business_id": "${widget.planId}",
"planId": widget.planId, "planId": widget.planId,
"planType": 1 "planType": 1,
"referrer_tab_name": _model.tabsList[tabController.index].name
}; };
RouterCenterImpl() RouterCenterImpl()
.findMainRouter() .findMainRouter()
......
...@@ -384,7 +384,8 @@ class LevelTwoState extends BaseState<LevelTwoPage> ...@@ -384,7 +384,8 @@ class LevelTwoState extends BaseState<LevelTwoPage>
onTap: () { onTap: () {
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${widget.planId}", "business_id": "${widget.planId}",
"planId": widget.planId, "referrer_tab_name": _model.tabsList[tabController.index].name,
"planId": widget.planId
}; };
RouterCenterImpl() RouterCenterImpl()
.findMainRouter() .findMainRouter()
...@@ -466,6 +467,7 @@ class LevelTwoState extends BaseState<LevelTwoPage> ...@@ -466,6 +467,7 @@ class LevelTwoState extends BaseState<LevelTwoPage>
onTap: () { onTap: () {
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${widget.planId}", "business_id": "${widget.planId}",
"referrer_tab_name": _model.tabsList[tabController.index].name,
"planId": widget.planId, "planId": widget.planId,
"planType": 2 "planType": 2
}; };
......
...@@ -181,6 +181,7 @@ class PlanItem extends StatelessWidget { ...@@ -181,6 +181,7 @@ class PlanItem extends StatelessWidget {
.buriedEvent("on_click_card", buriedMap); .buriedEvent("on_click_card", buriedMap);
Map<String, dynamic> map = { Map<String, dynamic> map = {
"business_id": "${plans.id}", "business_id": "${plans.id}",
"referrer_tab_name": "",
"planId": plans.id, "planId": plans.id,
"title": "${plans.name}" "title": "${plans.name}"
}; };
......
...@@ -446,6 +446,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin { ...@@ -446,6 +446,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
"id": "${data.data[0].id}", "id": "${data.data[0].id}",
"title": "${data.data[0].name}", "title": "${data.data[0].name}",
"business_id": "${data.data[0].id}", "business_id": "${data.data[0].id}",
"referrer_tab_name": ""
}; };
RouterCenterImpl() RouterCenterImpl()
...@@ -477,6 +478,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin { ...@@ -477,6 +478,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
"id": "${data.data[1].id}", "id": "${data.data[1].id}",
"title": "${data.data[1].name}", "title": "${data.data[1].name}",
"business_id": "${data.data[1].id}", "business_id": "${data.data[1].id}",
"referrer_tab_name": ""
}; };
RouterCenterImpl() RouterCenterImpl()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment