Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏敏伟
xxx_phase2_web
Commits
f390dca3
Commit
f390dca3
authored
Nov 09, 2023
by
以墨为白
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
只有导演部的才能启动和停止演习
parent
fa71dadf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
src/view/ddkz/components/chatRoomInfo.vue
src/view/ddkz/components/chatRoomInfo.vue
+1
-1
src/view/ddkz/components/chatRoomMemberDialog.vue
src/view/ddkz/components/chatRoomMemberDialog.vue
+1
-0
src/view/ddkz/ddkzzs.vue
src/view/ddkz/ddkzzs.vue
+1
-1
src/view/sjgl/ddkzConfig/ddkzConfigList.vue
src/view/sjgl/ddkzConfig/ddkzConfigList.vue
+2
-2
No files found.
src/view/ddkz/components/chatRoomInfo.vue
View file @
f390dca3
...
...
@@ -119,7 +119,7 @@ export default {
},
options
:
[],
optionsFrom
:
[],
currentChatRoomInfo
:
{},
currentChatRoomInfo
:
{
status
:
{},
teamInfo
:
{}
},
newsList
:
[],
publicNoticeList
:
[],
stompClient
:
{
connected
:
false
},
...
...
src/view/ddkz/components/chatRoomMemberDialog.vue
View file @
f390dca3
...
...
@@ -14,6 +14,7 @@
<span
class=
"isOnline"
:style=
"
{ backgroundColor: item1.online ? 'green' : 'gray' }">
</span>
<span
class=
"username"
:style=
"
{ color: item1.online ? 'green' : 'white' }"
v-text="item1.userId">
</span>
<span
title=
"组长"
:style=
"
{ color: item1.online ? 'green' : 'white' }" :class="[item1.userId == item.leader ? 'el-icon-user-solid' : '']">
</span>
</div>
</div>
</div>
...
...
src/view/ddkz/ddkzzs.vue
View file @
f390dca3
...
...
@@ -74,7 +74,7 @@ export default {
},
methods
:
{
showInfo
(
item
)
{
if
(
item
.
status
.
name
!==
'
待开始
'
)
{
if
(
item
.
status
.
value
!==
'
CREATED
'
)
{
this
.
$router
.
push
({
name
:
'
聊天室详情
'
+
this
.
$route
.
meta
.
type_name
,
params
:
{
data
:
item
,
client
:
this
.
stompClient
}
});
}
else
{
this
.
$message
.
warning
(
'
此演习暂未开启,不能进入!
'
);
...
...
src/view/sjgl/ddkzConfig/ddkzConfigList.vue
View file @
f390dca3
...
...
@@ -27,9 +27,9 @@
<template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.status.value !== 'ONGOING'"
size=
"mini"
type=
"danger"
@
click=
"deleteExercise(scope.row)"
>
删除
</el-button>
<el-button
v-if=
"scope.row.status.value == 'CREATED'"
size=
"mini"
type=
"success"
<el-button
v-if=
"scope.row.status.value == 'CREATED'
&& scope.row.teamInfo.teamType == 'DIRECTOR'
"
size=
"mini"
type=
"success"
@
click=
"startExercise(scope.row)"
>
启动
</el-button>
<el-button
v-if=
"scope.row.status.value == 'ONGOING'"
size=
"mini"
type=
"warning"
<el-button
v-if=
"scope.row.status.value == 'ONGOING'
&& scope.row.teamInfo.teamType == 'DIRECTOR'
"
size=
"mini"
type=
"warning"
@
click=
"stopExercise(scope.row)"
>
结束
</el-button>
<el-button
v-if=
"scope.row.status.value == 'CREATED'"
size=
"mini"
type=
"primary"
@
click=
"configExercise(scope.row)"
>
配置
</el-button>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment