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

跳转

上级 7240fafb
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
</template> </template>
<script> <script>
import { getWebPageUrl } from '@/utils'
import { teacher } from "../../utils/buryingPoint"; import { teacher } from "../../utils/buryingPoint";
export default { export default {
data() { data() {
...@@ -50,12 +51,27 @@ export default { ...@@ -50,12 +51,27 @@ export default {
methods: { methods: {
// 跳转到详情页面 // 跳转到详情页面
gotoDetail(item) { gotoDetail(item) {
this.$router.push({ // this.$router.push({
path: "/teachersDetail", // path: "/teachersDetail",
query: { // query: {
id: item.doctorId // id: item.doctorId
// }
// });
let paramList = [
{
id: 699,
key: "pageUrl",
value: getWebPageUrl('appl/#/teachersDetail') + '?id=' + item.doctorId + '&from=' + 'appHome',
// value: "https://uat-phome.yunqueyi.com/appl/#/teachersDetail",
type: 4,
seqNo: 1
} }
];
rocNative.dispatchEventByModuleCode({
modeCode: 'M300',
jsonString: paramList
}); });
this.appBuryingPointEntrust({ this.appBuryingPointEntrust({
...teacher, ...teacher,
labelId: item.doctorId, labelId: item.doctorId,
......
<template> <template>
<!-- <mt-popup v-model="isShowSelection" position="top"> --> <!-- <mt-popup v-model="isShowSelection" position="top"> -->
<section v-show="isShowSelection" style="position:fixed;top:0;z-index:201;background:#fff;height:100%;overflow-x:auto;"> <section v-show="isShowSelection" style="position:fixed;top:0;z-index:201;background:#fff;height:100%;overflow-x:auto;">
<article class="lect-selection"> <article class="lect-selection">
<section class="lect-selection-title"> <section class="lect-selection-title">
<img @click="closeSelectedPage" src="../../images//select-delete.png"> <img @click="closeSelectedPage" src="../../images//select-delete.png">
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</table> </table>
</article> </article>
</section> </section>
</section> </section>
<!-- </mt-popup> --> <!-- </mt-popup> -->
</template> </template>
<script> <script>
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
</template> </template>
<script> <script>
import { getWebPageUrl } from '@/utils'
import { teacher } from "../../utils/buryingPoint"; import { teacher } from "../../utils/buryingPoint";
import { mapGetters } from "vuex"; import { mapGetters } from "vuex";
...@@ -68,12 +69,22 @@ export default { ...@@ -68,12 +69,22 @@ export default {
methods: { methods: {
// 跳转到详情页面 // 跳转到详情页面
gotoDetail(item) { gotoDetail(item) {
this.$router.push({ // this.$router.push({
path: "/teachersDetail", // path: "/teachersDetail",
query: { // query: {
id: item.doctorId // id: item.doctorId
// }
// });
let paramList = [
{
id: 699,
key: "pageUrl",
value: getWebPageUrl('appl/#/teachersDetail') + '?id=' + item.doctorId + '&from=' + 'appHome',
// value: "https://uat-phome.yunqueyi.com/appl/#/teachersDetail",
type: 4,
seqNo: 1
} }
}); ];
this.appBuryingPointEntrust({ this.appBuryingPointEntrust({
...teacher, ...teacher,
labelId: item.doctorId, labelId: item.doctorId,
......
...@@ -101,7 +101,6 @@ export function arraySort(originData, isUp = true, sortedField, converFun) { ...@@ -101,7 +101,6 @@ export function arraySort(originData, isUp = true, sortedField, converFun) {
} }
} }
} }
console.log(sortedData)
return sortedData return sortedData
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册