coding
This commit is contained in:
parent
dbea954613
commit
456a6fc1d0
|
@ -1,6 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<Grid class="central-control-page" :columns="[1, 1]" :rows="['331px', 1]">
|
<Grid class="central-control-page" :columns="[1, 1]" :rows="['331px', 1]">
|
||||||
<ModuleWrapper title="系统模块" style="grid-column: 1 / 3">
|
<ModuleWrapper title="系统模块" style="grid-column: 1 / 3">
|
||||||
|
<template #extra>
|
||||||
|
<a-icon type="sync" style="font-size: 30px; color: #00deff" @click="getSystemModules()" />
|
||||||
|
</template>
|
||||||
<Grid class="normal" :columns="[1, 1, 1, 1, 1]">
|
<Grid class="normal" :columns="[1, 1, 1, 1, 1]">
|
||||||
<div
|
<div
|
||||||
v-for="block in systemModules"
|
v-for="block in systemModules"
|
||||||
|
@ -18,6 +21,7 @@
|
||||||
<ModuleWrapper title="全部房间" style="grid-column: 1 / 3">
|
<ModuleWrapper title="全部房间" style="grid-column: 1 / 3">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<a-button type="primary" @click="handleOpenScenarioModal()">新建房间</a-button>
|
<a-button type="primary" @click="handleOpenScenarioModal()">新建房间</a-button>
|
||||||
|
<a-button type="primary" icon="sync" @click="getRoomList()"></a-button>
|
||||||
</template>
|
</template>
|
||||||
<div class="normal flex-c ai-c" v-loading="room.loading">
|
<div class="normal flex-c ai-c" v-loading="room.loading">
|
||||||
<Grid class="room-wrapper" :columns="[1, 1, 1, 1, 1]" :rows="[1, 1]">
|
<Grid class="room-wrapper" :columns="[1, 1, 1, 1, 1]" :rows="[1, 1]">
|
||||||
|
@ -29,7 +33,7 @@
|
||||||
<div class="room-author">{{ item.author }}</div>
|
<div class="room-author">{{ item.author }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="room-reload" title="进入房间" @click="handleJoinRoom(item)">
|
<div class="room-reload" title="进入房间" @click="handleJoinRoom(item)">
|
||||||
<a-icon type="reload" />
|
<a-icon type="arrow-right" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -220,6 +224,7 @@ export default {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: { id: scenarioId },
|
params: { id: scenarioId },
|
||||||
})
|
})
|
||||||
|
this.getRoomList()
|
||||||
this.scenarioModal.visible = false
|
this.scenarioModal.visible = false
|
||||||
this.clearScenarioModal()
|
this.clearScenarioModal()
|
||||||
const shifou = await new Promise((resolve) => {
|
const shifou = await new Promise((resolve) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user