-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
- {{ scope.row.score?scope.row.score:0 }}
-
-
-
- 进入
-
-
-
-
-
+
+
+
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 1d6254ccc..6078dda2d 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -223,7 +223,7 @@ export default {
this.cookiesToken = 'UserDesignToken';
this.modelType = 'design';
this.loginClient = 'Design';
- this.path = '/refereeJsxt/preview';
+ this.path = '/refereeJsxt/home';
}
const nowLang = LangStorage.getLang('zh');
@@ -336,17 +336,25 @@ export default {
this.tipsMsg = '';
removeSessionStorage('againEnter');
if (this.$route.query.raceId) {
- getIsSignUp(this.$route.query.raceId).then(res => {
- if (res.data) {
- this.$router.push({ path: this.path });
- }
- }).catch(() => {
- this.$messageBox('您未报名该竞赛,所以无法进入竞赛系统');
- });
- } else if (!this.$route.path.includes('jsxt/login')) {
+ if (this.$route.path.includes('jsxt/login')) {
+ getIsSignUp(this.$route.query.raceId, { isLogin: true }).then(res => {
+ if (res.data) {
+ setSessionStorage('raceId', this.$route.query.raceId);
+ this.$router.push({ path: this.path, query:{ raceId:this.$route.query.raceId } });
+ } else {
+ this.$messageBox('您未报名该竞赛,所以无法进入竞赛系统');
+ }
+ }).catch(() => {
+ this.$messageBox('登陆竞赛系统失败,请稍后重试');
+ });
+ } else {
+ setSessionStorage('raceId', this.$route.query.raceId);
+ this.$router.push({ path: this.path, query:{ raceId:this.$route.query.raceId } });
+ }
+ } else if (!this.$route.path.includes('jsxt/login') && !this.$route.path.includes('refereeJsxt/login')) {
this.$router.push({ path: this.path });
} else {
- this.$messageBox('请调整路径参数');
+ this.$messageBox('请输入正确的链接地址');
}
},
handleLanguage() {
diff --git a/src/views/newMap/displayNew/LeftSlider.vue b/src/views/newMap/displayNew/LeftSlider.vue
index 6343b6f7a..6c6be9906 100644
--- a/src/views/newMap/displayNew/LeftSlider.vue
+++ b/src/views/newMap/displayNew/LeftSlider.vue
@@ -17,7 +17,6 @@
:data="treeList"
node-key="id"
:props="defaultProps"
- :filter-node-method="filterNode"
highlight-current
:span="22"
default-expand-all
@@ -51,7 +50,8 @@ export default {
data() {
return {
show: true,
- treeList: []
+ treeList: [],
+ defaultProps: ''
};
},
computed: {
diff --git a/src/views/newMap/displayNew/chatView/chatBox.vue b/src/views/newMap/displayNew/chatView/chatBox.vue
index 6ea2f84da..c0221b57c 100644
--- a/src/views/newMap/displayNew/chatView/chatBox.vue
+++ b/src/views/newMap/displayNew/chatView/chatBox.vue
@@ -1,8 +1,8 @@
-
-
+
+
@@ -11,8 +11,8 @@
-
-
+
+
@@ -43,12 +43,14 @@
+
+
diff --git a/src/views/newMap/displayNew/chatView/chatMemberList.vue b/src/views/newMap/displayNew/chatView/chatMemberList.vue
index ddb243928..1fc6bcdb3 100644
--- a/src/views/newMap/displayNew/chatView/chatMemberList.vue
+++ b/src/views/newMap/displayNew/chatView/chatMemberList.vue
@@ -5,14 +5,16 @@
{{ member.memberName }}
+
+
+
diff --git a/src/views/newMap/displayNew/menuScript.vue b/src/views/newMap/displayNew/menuScript.vue
index 0fd47a4f0..2a98e9db5 100644
--- a/src/views/newMap/displayNew/menuScript.vue
+++ b/src/views/newMap/displayNew/menuScript.vue
@@ -121,7 +121,7 @@ export default {
ranAsPlan(data, this.group).then(res => {
this.$store.dispatch('training/simulationStart').then(() => {
this.$store.dispatch('map/setRunPlanStatus', true);
- this.$store.dispatch('training/setInitTime', +new Date(`${new Date().getFullYear()} ${model.initTime}`));
+ this.$store.dispatch('training/setInitTime', +new Date(`${new Date().toLocaleDateString()} ${model.initTime}`));
this.$store.dispatch('map/setShowCentralizedStationNum');
});
}).catch((error) => {
diff --git a/src/views/newMap/displayNew/menuSystemTime.vue b/src/views/newMap/displayNew/menuSystemTime.vue
index 9130f92c9..0e5ed6dca 100644
--- a/src/views/newMap/displayNew/menuSystemTime.vue
+++ b/src/views/newMap/displayNew/menuSystemTime.vue
@@ -1,5 +1,5 @@
-
+
{{ $t('display.systemTime.timePause') }}
@@ -8,7 +8,10 @@
class="display-time"
:time="time"
/>
-
+
+
{{ dateString }}
+
{{ dayString }}
+
@@ -34,7 +37,9 @@ export default {
},
data() {
return {
- time: '00:0000'
+ time: '00:0000',
+ dateString: '00/00/00',
+ dayString: ''
};
},
computed: {
@@ -42,24 +47,68 @@ export default {
return this.$route.params.mode == 'demon' ||
this.$route.params.mode == 'dp' ||
this.$route.params.mode == 'plan' ||
- this.$route.params.mode == 'script' ||
+ this.$route.params.mode == 'script' ||
+ this.$route.params.mode == 'practice' ||
!this.$route.params.mode;
},
pause() {
return this.$store.state.scriptRecord.simulationPause;
+ },
+ isShowDate() {
+ return (this.$route.query.lineCode == 10 || this.$route.query.lineCode == 11) && this.$route.path.includes('displayNew');
+ },
+ top() {
+ return (this.$route.query.lineCode == 10 || this.$route.query.lineCode == 11) && this.$route.path.includes('displayNew') ? 35 : this.offset;
+ },
+ newRight() {
+ return (this.$route.query.lineCode == 10 || this.$route.query.lineCode == 11) && this.$route.path.includes('displayNew') ? this.$store.state.config.width - 340 - 80 : this.right;
}
},
watch: {
'$store.state.training.initTime': function (initTime) {
const date = new Date(initTime);
- this.time = `${prefixIntrger(date.getHours(), 2)}:${prefixIntrger(date.getMinutes(), 2)}${prefixIntrger(date.getSeconds(), 2)}`;
+ this.initDate(date);
}
},
mounted() {
const initTime = this.$store.state.training.initTime;
if (initTime > 0) {
const date = new Date(initTime);
+ this.initDate(date);
+ }
+ },
+ methods: {
+ initDate(date) {
this.time = `${prefixIntrger(date.getHours(), 2)}:${prefixIntrger(date.getMinutes(), 2)}${prefixIntrger(date.getSeconds(), 2)}`;
+ const years = date.getFullYear() + '';
+ let months = date.getMonth() + 1 + '';
+ let dates = date.getDate() + '';
+ if (months.length < 2) { months = '0' + months; }
+ if (dates.length < 2) { dates = '0' + dates; }
+ this.dateString = dates + '/' + months + '/' + years.slice(2);
+ const day = date.getDay();
+ switch (day) {
+ case 0:
+ this.dayString = '星 期 一';
+ break;
+ case 1:
+ this.dayString = '星 期 二';
+ break;
+ case 2:
+ this.dayString = '星 期 三';
+ break;
+ case 3:
+ this.dayString = '星 期 四';
+ break;
+ case 4:
+ this.dayString = '星 期 五';
+ break;
+ case 5:
+ this.dayString = '星 期 六';
+ break;
+ case 6:
+ this.dayString = '星 期 日';
+ }
}
}
};
@@ -88,5 +137,12 @@ export default {
.display-card .el-row {
line-height: 32px !important;
}
+ .display-date-box{
+ height: 29px;
+ line-height: 29px;
+ background: #404040;
+ color: #1DEA1E;
+ text-align: center;
+ }
diff --git a/src/views/newMap/displayNew/menuTrainList.vue b/src/views/newMap/displayNew/menuTrainList.vue
index 30c5769a9..276455a38 100644
--- a/src/views/newMap/displayNew/menuTrainList.vue
+++ b/src/views/newMap/displayNew/menuTrainList.vue
@@ -1,15 +1,10 @@
-