@@ -68,8 +63,6 @@
+
diff --git a/src/views/systemGenerate/generate.vue b/src/views/systemGenerate/generate.vue
new file mode 100644
index 000000000..2483a2444
--- /dev/null
+++ b/src/views/systemGenerate/generate.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/systemGenerate/index.vue b/src/views/systemGenerate/index.vue
index f95a5c4c2..38a7fe370 100644
--- a/src/views/systemGenerate/index.vue
+++ b/src/views/systemGenerate/index.vue
@@ -1,30 +1,19 @@
-
-
-
+
+
+
-
diff --git a/src/views/trainingPlatform/demonList.vue b/src/views/trainingPlatform/demonList.vue
index 2e6be1f80..6d801dc56 100644
--- a/src/views/trainingPlatform/demonList.vue
+++ b/src/views/trainingPlatform/demonList.vue
@@ -3,8 +3,10 @@
{{ $t('global.mapList') }}
-
-
+
+
+
+
{
switch (resp.data.type) {
case 'Exam':
- this.setLocalRoute(`${UrlConfig.trainingPlatform.course}/${obj.id}`);
- this.$router.push({ path: `${UrlConfig.trainingPlatform.course}/${obj.id}`});
+ this.setLocalRoute(`${UrlConfig.trainingPlatform.examHome}/${obj.id}`);
+ // this.$router.push({ path: `${UrlConfig.trainingPlatform.course}/${obj.id}`});
+ this.$router.push({ path: `${UrlConfig.trainingPlatform.examHome}/${obj.id}`});
break;
case 'Lesson':
- this.setLocalRoute(`${UrlConfig.trainingPlatform.teachDetail}/${obj.id}`);
- this.$router.push({ path: `${UrlConfig.trainingPlatform.teachDetail}/${obj.id}`});
+ this.setLocalRoute(`${UrlConfig.trainingPlatform.teachHome}/${obj.id}`);
+ // this.$router.push({ path: `${UrlConfig.trainingPlatform.teachDetail}/${obj.id}`});
+ this.$router.push({ path: `${UrlConfig.trainingPlatform.teachHome}/${obj.id}`});
break;
case 'Simulation':
this.setLocalRoute(`${UrlConfig.trainingPlatform.prodDetail}/${obj.id}?mapId=${this.mapId}`);
@@ -144,7 +148,11 @@ export default {
this.treeList = [];
this.filterSelect = filterSelect;
try {
- const res = await getTrainingSystemList(filterSelect);
+ let params={};
+ if(this.project === 'xty'){
+ params={'customized':'xty'};
+ }
+ const res = await getTrainingSystemList(filterSelect,params);
res.data.forEach(item =>{
item.key = item.id + item.type;
item.children && item.children.forEach(childrenItem => {
@@ -164,24 +172,25 @@ export default {
this.$messageBox(this.$t('error.refreshFailed'));
}
},
- async projectInitData(mapId) {
- this.loading = true;
- this.treeList = [];
- try {
- const resp = await getTrainingSystemListByMapId(mapId);
- this.treeList = resp.data;
- this.loading = false;
- this.getExpandList(this.filterSelect);
- this.$nextTick(() => {
- const checkId = localStore.get('trainingPlatformCheckId'+this.filterSelect+this.account) || null;
- this.$refs.tree && this.$refs.tree.setCurrentKey(checkId);
- this.loading = false;
- });
- } catch (e) {
- this.loading = false;
- this.$messageBox(this.$t('error.failedToGetSystemData'));
- }
- },
+ // async projectInitData(mapId) {
+ // this.loading = true;
+ // this.treeList = [];
+ // try {
+ // debugger;
+ // const resp = await getTrainingSystemListByMapId(mapId);
+ // this.treeList = resp.data;
+ // this.loading = false;
+ // this.getExpandList(this.filterSelect);
+ // this.$nextTick(() => {
+ // const checkId = localStore.get('trainingPlatformCheckId'+this.filterSelect+this.account) || null;
+ // this.$refs.tree && this.$refs.tree.setCurrentKey(checkId);
+ // this.loading = false;
+ // });
+ // } catch (e) {
+ // this.loading = false;
+ // this.$messageBox(this.$t('error.failedToGetSystemData'));
+ // }
+ // },
nodeExpand(obj, node, ele) {
const key = obj.id;
this.expandList = this.expandList.filter(item => item!==key);
diff --git a/src/views/trainingPlatform/index.vue b/src/views/trainingPlatform/index.vue
index ef3cc883f..a141eb171 100644
--- a/src/views/trainingPlatform/index.vue
+++ b/src/views/trainingPlatform/index.vue
@@ -1,72 +1,72 @@
-
+