misc: 턴선택기에서 모두 선택, 당기기, 미루기 위치 조절절
This commit is contained in:
+28
-28
@@ -6,13 +6,24 @@
|
|||||||
|
|
||||||
<div class="row gx-1">
|
<div class="row gx-1">
|
||||||
<div class="col d-grid">
|
<div class="col d-grid">
|
||||||
<b-dropdown right split text="당기기" @click="pullGeneralCommandSingle">
|
<b-dropdown right split @click="selectAll" text="전체선택">
|
||||||
<b-dropdown-item
|
<b-dropdown-item @click="selectAll(true)">모든턴</b-dropdown-item>
|
||||||
v-for="turnIdx in maxPushTurn"
|
<b-dropdown-item @click="selectStep(0, 2)">홀수턴</b-dropdown-item>
|
||||||
:key="turnIdx"
|
<b-dropdown-item @click="selectStep(1, 2)">짝수턴</b-dropdown-item>
|
||||||
@click="pushGeneralCommand(-turnIdx)"
|
<b-dropdown-divider></b-dropdown-divider>
|
||||||
>{{ turnIdx }}턴
|
|
||||||
</b-dropdown-item>
|
<b-dropdown-text v-for="spanIdx in [3, 4, 5, 6, 7]" :key="spanIdx">
|
||||||
|
{{ spanIdx }}턴 간격<br />
|
||||||
|
<b-button-group>
|
||||||
|
<b-button
|
||||||
|
class="ignoreMe"
|
||||||
|
v-for="beginIdx in spanIdx"
|
||||||
|
:key="beginIdx"
|
||||||
|
@click="selectStep(beginIdx - 1, spanIdx)"
|
||||||
|
>{{ beginIdx }}</b-button
|
||||||
|
>
|
||||||
|
</b-button-group>
|
||||||
|
</b-dropdown-text>
|
||||||
</b-dropdown>
|
</b-dropdown>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@@ -90,6 +101,16 @@
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div class="row gx-1">
|
<div class="row gx-1">
|
||||||
|
<div class="col d-grid">
|
||||||
|
<b-dropdown right split text="당기기" @click="pullGeneralCommandSingle">
|
||||||
|
<b-dropdown-item
|
||||||
|
v-for="turnIdx in maxPushTurn"
|
||||||
|
:key="turnIdx"
|
||||||
|
@click="pushGeneralCommand(-turnIdx)"
|
||||||
|
>{{ turnIdx }}턴
|
||||||
|
</b-dropdown-item>
|
||||||
|
</b-dropdown>
|
||||||
|
</div>
|
||||||
<div class="col d-grid">
|
<div class="col d-grid">
|
||||||
<b-dropdown right split text="미루기" @click="pushGeneralCommandSingle">
|
<b-dropdown right split text="미루기" @click="pushGeneralCommandSingle">
|
||||||
<b-dropdown-item
|
<b-dropdown-item
|
||||||
@@ -100,27 +121,6 @@
|
|||||||
</b-dropdown-item>
|
</b-dropdown-item>
|
||||||
</b-dropdown>
|
</b-dropdown>
|
||||||
</div>
|
</div>
|
||||||
<div class="col d-grid">
|
|
||||||
<b-dropdown right split @click="selectAll" text="전체선택">
|
|
||||||
<b-dropdown-item @click="selectAll(true)">모든턴</b-dropdown-item>
|
|
||||||
<b-dropdown-item @click="selectStep(0, 2)">홀수턴</b-dropdown-item>
|
|
||||||
<b-dropdown-item @click="selectStep(1, 2)">짝수턴</b-dropdown-item>
|
|
||||||
<b-dropdown-divider></b-dropdown-divider>
|
|
||||||
|
|
||||||
<b-dropdown-text v-for="spanIdx in [3, 4, 5, 6, 7]" :key="spanIdx">
|
|
||||||
{{ spanIdx }}턴 간격<br />
|
|
||||||
<b-button-group>
|
|
||||||
<b-button
|
|
||||||
class="ignoreMe"
|
|
||||||
v-for="beginIdx in spanIdx"
|
|
||||||
:key="beginIdx"
|
|
||||||
@click="selectStep(beginIdx - 1, spanIdx)"
|
|
||||||
>{{ beginIdx }}</b-button
|
|
||||||
>
|
|
||||||
</b-button-group>
|
|
||||||
</b-dropdown-text>
|
|
||||||
</b-dropdown>
|
|
||||||
</div>
|
|
||||||
<div class="col d-grid">
|
<div class="col d-grid">
|
||||||
<b-button @click="toggleViewMaxTurn">{{
|
<b-button @click="toggleViewMaxTurn">{{
|
||||||
flippedMaxTurn == viewMaxTurn ? "펼치기" : "접기"
|
flippedMaxTurn == viewMaxTurn ? "펼치기" : "접기"
|
||||||
|
|||||||
Reference in New Issue
Block a user