提交 efc932f5 编写于 作者: 杨广俊's avatar 杨广俊

埋点及排序自测

上级 901087ed
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</template> </template>
<script> <script>
//import { sortParmData } from '@/utils/index' import { sortParmData } from '@/utils/index'
import { import {
m_search_result_course_detail1, m_search_result_course_detail1,
m_search_result_course_order, m_search_result_course_order,
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
</template> </template>
<script> <script>
import { sortParmData } from '@/utils/index'
import { import {
m_search_result_five_minutes_detail, m_search_result_five_minutes_detail,
m_search_result_five_minutes_order, m_search_result_five_minutes_order,
......
...@@ -26,15 +26,7 @@ ...@@ -26,15 +26,7 @@
</template> </template>
<script> <script>
// import teacherTop from '../../components/teachers/teach-top-new'; import { sortParmData } from '@/utils/index'
// import {
// teacher_back,
// fast_sicon,
// hot_teacher,
// screen,
// teacher,
// teacherother
// } from '../../utils/buryingPoint';
import { import {
m_search_result_health_cartoon_detail, m_search_result_health_cartoon_detail,
m_search_result_health_cartoon_order, m_search_result_health_cartoon_order,
...@@ -115,12 +107,6 @@ export default { ...@@ -115,12 +107,6 @@ export default {
}) })
}, },
goToPage(item) { goToPage(item) {
let obj = {
}
console.log(item);
// let url = pageJumpUrl();
// console.log(url.pageListUrl);
let itemData = { let itemData = {
"imageUrl": "", "imageUrl": "",
"appModuleInfo": { "appModuleInfo": {
...@@ -131,14 +117,6 @@ export default { ...@@ -131,14 +117,6 @@ export default {
"paramList": [] "paramList": []
} }
}; };
obj = {
menuLevel: 1,
menuCode: 'm_home',
functionCode: 'f_five_minutes',
actionCode: 'c_content',
labelId: item.id,
labelValue: item.title,
}
itemData.title = item.name; itemData.title = item.name;
itemData.appModuleInfo["paramList"] = [{ itemData.appModuleInfo["paramList"] = [{
"key": "className", "key": "className",
...@@ -162,8 +140,6 @@ export default { ...@@ -162,8 +140,6 @@ export default {
}) })
let paramList = this.setEventByModuleCode(itemData); let paramList = this.setEventByModuleCode(itemData);
// alert(itemData.appModuleInfo.code)
// alert(JSON.stringify(paramList))
rocNative.dispatchEventByModuleCode({ rocNative.dispatchEventByModuleCode({
modeCode: itemData.appModuleInfo.code, modeCode: itemData.appModuleInfo.code,
jsonString: paramList jsonString: paramList
...@@ -184,17 +160,7 @@ export default { ...@@ -184,17 +160,7 @@ export default {
labelValue: orderIndex, labelValue: orderIndex,
createdTime: new Date().getTime(), createdTime: new Date().getTime(),
}) })
// this.appBuryingPointEntrust({
// ...teacher,
// labelId: item.doctorId,
// labelValue: item.doctorName
// })
}, },
// 埋点
appBuryingPointEntrust(val) {
rocNative.appBuryingPointEntrust(val)
},
//排序 //排序
sortFun() { sortFun() {
this.dir = this.dir == 1 ? 2 : 1; this.dir = this.dir == 1 ? 2 : 1;
...@@ -234,11 +200,6 @@ export default { ...@@ -234,11 +200,6 @@ export default {
} }
}) })
// this.appBuryingPointEntrust({
// ...teacher,
// labelId: _this.dir,
// labelValue: _this.dir === 1 ? '升序' : '降序'
// })
}, },
orderAction(orderIndex) { orderAction(orderIndex) {
this.pageBurialPoin({ this.pageBurialPoin({
......
...@@ -26,14 +26,7 @@ ...@@ -26,14 +26,7 @@
</template> </template>
<script> <script>
// import { import { sortParmData } from '@/utils/index'
// teacher_back,
// fast_sicon,
// hot_teacher,
// screen,
// teacher,
// teacherother
// } from '../../utils/buryingPoint';
import { import {
m_search_result_lecturer_detail, m_search_result_lecturer_detail,
m_search_result_lecturer_order, m_search_result_lecturer_order,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册