diff --git a/src/views/jlmap3d/otherproject/xzexam/xzexam.vue b/src/views/jlmap3d/otherproject/xzexam/xzexam.vue
index 5353a1373..fabe81a2a 100644
--- a/src/views/jlmap3d/otherproject/xzexam/xzexam.vue
+++ b/src/views/jlmap3d/otherproject/xzexam/xzexam.vue
@@ -2,8 +2,7 @@
-
-
+
城市轨道交通标准化培训软件
@@ -16,43 +15,43 @@
-
+
+
+
+
+
+
+
+ 进入课程
+
+
+
-
-
-
-
+
+
+ 退出
+
+
+
@@ -169,22 +126,15 @@ export default {
background-size:100%;
}
- .lesson3dSelectButton{
- position:absolute;
- width: 20%;
- height: 30%;
- position:absolute;
+
+ .display-draft {
+ /* z-index: 1000; */
+ position: absolute;
+ width:100%;
text-align: center;
- font-size: 50px;
- line-height:150px;
- background-size: 100%;
- background-repeat: no-repeat;
- color:#FFF;
- cursor:pointer;
+ bottom: 50px;
}
-
-
diff --git a/src/views/lesson/lesson3d.vue b/src/views/lesson/lesson3d.vue
index 6b29ad614..855d85a6e 100644
--- a/src/views/lesson/lesson3d.vue
+++ b/src/views/lesson/lesson3d.vue
@@ -10,7 +10,7 @@
{{ $t('lesson.newConstruction') }}
-
+
@@ -27,6 +27,7 @@
+
@@ -45,13 +46,16 @@ import ConstConfig from '@/scripts/ConstConfig';
import LessonSetup from '@/views/jlmap3d/lesson3dedit/component/lessonsetup';
+import LessonDelete from '@/views/jlmap3d/lesson3dedit/component/lessondelete';
+
export default {
name: 'Lesson3d',
components: {
PublishCreate,
PublishLesson,
LessonDetail,
- LessonSetup
+ LessonSetup,
+ LessonDelete
},
data() {
return {
@@ -154,14 +158,6 @@ export default {
title: this.$t('global.operate'),
width: '400',
buttons: [
- {
- name: this.$t('lesson.courseDetails'),
- handleClick: this.goDetail,
- type: 'primary',
- showControl: (row) => {
- return row.status !== '1';
- }
- },
{
name: this.$t('lesson.courseOnline'),
handleClick: this.online,
@@ -235,7 +231,7 @@ export default {
// console.log(tab, event);
},
refresh() {
- this.$refs.queryListPage.refresh(true);
+ this.$refs.queryListPageCourse.refresh(true);
},
lessonSetupCreate() {
this.$refs.lessonsetup.setupView();
@@ -253,21 +249,25 @@ export default {
});
},
+ lessonDelete(deleteId){
+ delLesson3d(deleteId).then(response => {
+ this.$message.success(this.$t('tip.successfullyDelete'));
+ this.loading = true;
+ this.refresh();
+ this.loading = false;
+ }).catch(() => {
+ this.$messageBox(this.$t('tip.failDelete'));
+ });
+ },
publish(index, row) {
row.mapId = this.$route.params.mapId;
row.cityCode = this.$route.query.cityCode;
this.$refs.publishLesson.doShow(row);
},
deleteLesson(index, row) {
+ this.$refs.lessondelete.deleteView(row.id);
// console.log(row);
- delLesson3d(row.id).then(response => {
- this.$message.success(this.$t('tip.successfullyDelete'));
- this.loading = true;
- this.refresh();
- this.loading = false;
- }).catch(() => {
- this.$messageBox(this.$t('tip.failDelete'));
- });
+
},
release(index, row){