mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-11 20:06:48 +08:00
提交
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="path-item"
|
class="path-item"
|
||||||
@touchstart="toFinish(item)"
|
@click.native="toFinish(item)"
|
||||||
:style="position(index)"
|
:style="position(index)"
|
||||||
v-for="(item, index) of stageProcessList"
|
v-for="(item, index) of stageProcessList"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
}" -->
|
}" -->
|
||||||
<template v-if="stageProcessList && stageProcessList.length">
|
<template v-if="stageProcessList && stageProcessList.length">
|
||||||
<div
|
<div
|
||||||
@touchstart="toFinish(item)"
|
@click.native="toFinish(item)"
|
||||||
:id="item.id"
|
:id="item.id"
|
||||||
v-for="(item, key) in stageProcessList"
|
v-for="(item, key) in stageProcessList"
|
||||||
:key="key"
|
:key="key"
|
||||||
@@ -505,8 +505,9 @@ async function toFinish(d) {
|
|||||||
taskType: d.courseType,
|
taskType: d.courseType,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
console.log("TASK_TYPES.path[d.type]", TASK_TYPES.path[d.courseType]);
|
||||||
if (typeof TASK_TYPES.path[d.courseType] === "string") {
|
if (typeof TASK_TYPES.path[d.courseType] === "string") {
|
||||||
|
|
||||||
TASK_TYPES.path[d.courseType] &&
|
TASK_TYPES.path[d.courseType] &&
|
||||||
TASK_TYPES.path[d.courseType].startsWith("http") &&
|
TASK_TYPES.path[d.courseType].startsWith("http") &&
|
||||||
window.open(TASK_TYPES.path[d.type] + d.targetId, "_top");
|
window.open(TASK_TYPES.path[d.type] + d.targetId, "_top");
|
||||||
@@ -553,6 +554,7 @@ async function toFinish(d) {
|
|||||||
courseId: d.courseId ? d.courseId : d.info.id,
|
courseId: d.courseId ? d.courseId : d.info.id,
|
||||||
targetId: d.targetId ? d.targetId : "",
|
targetId: d.targetId ? d.targetId : "",
|
||||||
};
|
};
|
||||||
|
alert(1)
|
||||||
TASK_TYPES.path[d.courseType](params);
|
TASK_TYPES.path[d.courseType](params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
? 'path-item-left'
|
? 'path-item-left'
|
||||||
: 'path-item-right'
|
: 'path-item-right'
|
||||||
"
|
"
|
||||||
@touchstart="toFinish(item)"
|
@click.native="toFinish(item)"
|
||||||
:style="point[item.position]"
|
:style="point[item.position]"
|
||||||
v-for="(item, index) of stageProcessList"
|
v-for="(item, index) of stageProcessList"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user