Stepper.vue 5.68 KB
Newer Older
SHINDAESUB committed
1 2 3 4 5 6
<template>

    <v-stepper
        v-model="step"
        vertical
        style="height:100%"
7
        class="font-weight-black elevation-0 "
SHINDAESUB committed
8 9
        width="100%"
        max-width="100%" 
10
        
SHINDAESUB committed
11 12
    >   
        <v-toolbar
SHINDAESUB committed
13
            color="blue darken-1"
SHINDAESUB committed
14
            dark
SHINDAESUB committed
15
            class="elevation-0 "
SHINDAESUB committed
16
        >
SHINDAESUB committed
17 18
            <v-toolbar-title>{{wpo}}</v-toolbar-title>
            <v-spacer></v-spacer>
19
            <v-chip v-if="local" light color="yellow">LOCAL</v-chip>
SHINDAESUB committed
20 21 22
        </v-toolbar>

        <v-stepper-step
23
            :color="step > 1 ? 'primary' : 'blue lighten-3'" 
SHINDAESUB committed
24 25 26 27 28
            :complete="step > 1" 
            step="1"
            class="font-weight-black"
        >
            <small class="font-weight-bold">Step 1</small>
SHINDAESUB committed
29
            세팅
SHINDAESUB committed
30 31 32 33 34
        </v-stepper-step>

        <v-stepper-content step="1" >
            <div class="text-center">
                <v-progress-circular
SHINDAESUB committed
35
                    :size="100"
36
                    color="blue lighten-3"
SHINDAESUB committed
37 38 39 40 41 42
                    indeterminate
                ></v-progress-circular>
            </div>
        </v-stepper-content>

        <v-stepper-step
43
            :color="step > 2 ? 'primary' : 'blue lighten-3'" 
SHINDAESUB committed
44 45 46 47
            :complete="step > 2" 
            step="2"
            class="font-weight-black"
        >
48 49
            <small class="font-weight-bold">Step 2 </small>
            <span> 데이터 불러오기 </span>
SHINDAESUB committed
50 51 52 53 54 55 56 57 58 59 60 61
        </v-stepper-step>

        <v-stepper-content step="2" >
            <v-list>
        <v-list-item-group
    
            multiple
        >
            <v-list-item>
                    <v-list-item-action>
                        <v-checkbox
                            :input-value="Object.keys(project).length !== 0  ? true : false"
62
                            color="blue lighten-3"
SHINDAESUB committed
63 64 65 66 67 68 69 70 71 72 73 74
                        ></v-checkbox>
                    </v-list-item-action>

                    <v-list-item-content>
                        <v-list-item-title>프로젝트</v-list-item-title>
                    </v-list-item-content>
            </v-list-item>

            <v-list-item>
                    <v-list-item-action>
                        <v-checkbox
                            :input-value="infos.length !== 0 ? true : false"
75
                            color="blue lighten-3"
SHINDAESUB committed
76 77 78 79 80 81 82 83 84 85 86 87
                        ></v-checkbox>
                    </v-list-item-action>

                    <v-list-item-content>
                        <v-list-item-title>검수 정보</v-list-item-title>
                    </v-list-item-content>
            </v-list-item>

            <v-list-item>
                    <v-list-item-action>
                        <v-checkbox
                            :input-value="step === 2 ? true : false"
88
                            color="blue lighten-3"
SHINDAESUB committed
89 90 91 92 93 94 95 96 97 98 99
                        ></v-checkbox>
                    </v-list-item-action>
                    <v-list-item-content>
                        <v-list-item-title>데이터 저장</v-list-item-title>
                    </v-list-item-content>
            </v-list-item>
        </v-list-item-group>
        </v-list>
        </v-stepper-content>

        <v-stepper-step
100
            :color="step > 3 ? 'primary' : 'blue lighten-3'" 
SHINDAESUB committed
101 102 103 104 105 106 107 108 109 110
            :complete="step > 3" 
            step="3"
        >
            <small class="font-weight-bold">Step 3</small>
            매니저 티칭 정보 확인
            
        </v-stepper-step>
        <v-stepper-content step="3">
            <div class="text-center">
                <v-progress-circular
SHINDAESUB committed
111
                    :size="100"
112
                    color="blue lighten-3"
SHINDAESUB committed
113 114 115 116 117 118
                    indeterminate
                ></v-progress-circular>
            </div>
        </v-stepper-content>

        <v-stepper-step
119
            :color="step > 4 ? 'primary' : 'blue lighten-3'" 
SHINDAESUB committed
120
            :complete="step > 4" 
SHINDAESUB committed
121
            step="4"
SHINDAESUB committed
122 123 124 125 126 127 128 129
        >
            <small class="font-weight-bold">Step 4</small>
            보드 사진 촬영
        </v-stepper-step>

        <v-stepper-content step="4">
            <div class="text-center">
                <v-progress-circular
SHINDAESUB committed
130
                    :size="100"
131
                    color="blue lighten-3"
SHINDAESUB committed
132 133 134 135 136 137
                    indeterminate
                ></v-progress-circular>
            </div>
        </v-stepper-content>

        <v-stepper-step
138
            :color="step > 5 ? 'primary' : 'blue lighten-3'" 
SHINDAESUB committed
139 140 141 142 143 144 145 146 147 148
            :complete="step > 5" 
            step="5"
        >
            <small class="font-weight-bold">Step 5</small>
            검수
        </v-stepper-step>

        <v-stepper-content step="5">
            <div class="text-center">
                <v-progress-circular
SHINDAESUB committed
149
                    :size="100"
150
                    color="blue lighten-3"
SHINDAESUB committed
151 152 153 154 155 156
                    indeterminate
                ></v-progress-circular>
            </div>
        </v-stepper-content>

        <v-stepper-step
157
            :color="step === 6 ? 'primary' : 'blue lighten-3'" 
SHINDAESUB committed
158 159
            :complete="step === 6" 
            step="6"
SHINDAESUB committed
160 161 162 163 164 165
        >
            <small class="font-weight-bold">Step 6</small>
            결과
        </v-stepper-step>

        <v-stepper-content step="6">
166 167 168 169 170 171 172 173 174 175 176
            <div class="text-center">
                <v-btn
                    class="elevation-3 mt-5 "
                    x-large
                    fab
                    color="yellow"
                >
                    <v-icon>mdi-replay</v-icon>
                </v-btn>
                <div class="mt-3">상단 버튼을 누르면 재검수</div>
            </div>
SHINDAESUB committed
177 178 179 180 181 182 183 184 185 186 187 188
        </v-stepper-content>
    </v-stepper>
</template>

<script>
export default {

    props: {
        step:Number,
        wpo:String,
        infos:Array,
        project:Object,
189
        local:Boolean
SHINDAESUB committed
190 191 192 193 194 195 196 197
    },

}
</script>

<style>

</style>