|
@@ -156,10 +156,11 @@ export default {
|
|
},
|
|
},
|
|
showDetail(item) {
|
|
showDetail(item) {
|
|
if (item.notesDataIndex > 0) {
|
|
if (item.notesDataIndex > 0) {
|
|
|
|
+ const route = location.hostname.indexOf("dayaedu.com") ? "/accompany/" : "/accompany-teacher/";
|
|
postMessage({
|
|
postMessage({
|
|
api: "openWebView",
|
|
api: "openWebView",
|
|
content: {
|
|
content: {
|
|
- url: location.origin + `/accompany-teacher/#/report/${item.id}`,
|
|
|
|
|
|
+ url: location.origin + route + `#/report/${item.id}`,
|
|
orientation: 0,
|
|
orientation: 0,
|
|
isHideTitle: true,
|
|
isHideTitle: true,
|
|
statusBarTextColor: false,
|
|
statusBarTextColor: false,
|