ads367 / AJIN-ERP star
mycoms 2024-03-08
240308 김하영 비밀번호 변경 버튼
@4c606ca4b70f5955841e5d22007188e46aef9625
client/resources/css/component.css
--- client/resources/css/component.css
+++ client/resources/css/component.css
@@ -25,7 +25,7 @@
     top: 0px;
     left: 0px;
     flex-wrap: nowrap;
-    padding-top: 64.5px;
+    padding-top: 58.5px;
     font-family: 'Pretendard';
     background-color: var(--white);
 }
@@ -813,7 +813,9 @@
 }
 
 .box-overflow {
-    height: 320px;
+    height: 100%;
+    min-height: 320px; 
+    max-height: 650px;
     overflow-y: auto;
 }
 
client/resources/css/style.css
--- client/resources/css/style.css
+++ client/resources/css/style.css
@@ -5,23 +5,27 @@
     width: 100%;
     height: 100%;
     z-index: 3;
-    background-color: #fff;
+    background-color: var(--white);
 
 }
-.login-box p{
+
+.login-box p {
     font-size: 1.5rem;
     color: var(--navbarblue);
     font-weight: 600;
 }
-.login-wrap{
+
+.login-wrap {
     gap: 30px;
 }
-.login-wrap h1{
+
+.login-wrap h1 {
     font-size: 4.5rem;
     text-align: center;
     font-weight: 900;
     color: var(--navbarblue);
 }
+
 .login-content {
     /* min-width: 400px;
     max-width: 400px; */
@@ -32,57 +36,93 @@
     top: 50%;
     left: 50%;
     margin: 0 auto;
-    transform: translate(-50% ,-45%);
+    transform: translate(-50%, -45%);
     box-shadow: 0 0 20px #ddd;
 }
-.login-user input{
+
+.login-user input {
     background: url(../img/component/login-user.png) no-repeat;
     background-size: 20px;
     background-position: left;
     padding-left: 30px;
-    border-top:0px;
-    border-left:0px;
-    border-right:0px;
+    border-top: 0px;
+    border-left: 0px;
+    border-right: 0px;
     border-radius: 0px;
     font-size: 1.6rem;
     width: 100%;
     color: var(--dark);
 }
-.login-pw input{
+
+.login-pw input {
     background: url(../img/component/login-pw.png) no-repeat;
     background-size: 20px;
     background-position: left;
     padding-left: 30px;
-    border-top:0px;
-    border-left:0px;
-    border-right:0px;
+    border-top: 0px;
+    border-left: 0px;
+    border-right: 0px;
     border-radius: 0px;
     font-size: 1.6rem;
     width: 100%;
     color: var(--dark);
 }
-.button-wrap label{
+
+.button-wrap label {
     padding: 0px 10px;
     font-size: 1.2rem;
 }
-.login-imgbox{
+
+.login-imgbox {
     width: 482px;
     height: 360px;
     border-radius: 10px;
     overflow: hidden;
-    
+
     box-shadow: 1px 1px 5px #0000002f;
 }
 
-.login-btn{
-    padding: 20px ;
+.login-btn {
+    padding: 20px;
 }
+
 .login-logo {
     background: url(../img/common/header-logo.png) no-repeat;
     width: 100%;
     height: 30px;
     background-size: contain;
     background-position: right;
+}
+
+.pwchange-modal {
+    position: absolute;
+    width: 100%;
+    height: 100%;
+    background-color: var(--white);
+}
+.pwchange-modal h1{
+    font-size: 2rem;
+    text-align: left;
+}
+.pwchange-header button{
+    background: url(../img/component/chevron-left-solid.svg) no-repeat;
+    background-size: contain;
+    background-position: center;
+    width: 30px;
+    height: 30px;
+}
+.pwchange-user input ,.pwchange-pw input {
+    background: url(../img/component/pwchange-icon.png) no-repeat;
+    background-size: 20px;
+    background-position: right;
+    padding-left: 10px;
+    border-top: 0px;
+    border-left: 0px;
+    border-right: 0px;
+    border-radius: 0px;
+    font-size: 1.6rem;
+    width: 100%;
+    color: var(--dark);
 }
 
 
@@ -133,15 +173,16 @@
 }
 
 
-.topmenu-wrap p{
+.topmenu-wrap p {
     position: relative;
     padding: 1px 5px;
     font-family: 'Pretendard';
     font-weight: 500;
     /* height: px; */
     color: var(--white);
-    font-size: 1.5rem ;
+    font-size: 1.5rem;
 }
+
 .topmenu-wrap p.active {
     width: 100px;
     background-color: white;
@@ -253,7 +294,7 @@
 
 .list-table {
     background-color: var(--white);
-    border-left: 1px solid var(--borderlightgray);    
+    border-left: 1px solid var(--borderlightgray);
 }
 
 .code-area {
@@ -261,9 +302,11 @@
     background-color: var(--tableblue);
     border-radius: 10px;
 }
-.code-area th{
+
+.code-area th {
     white-space: nowrap;
-padding: 7px 10px !important;}
+    padding: 7px 10px !important;
+}
 
 .code-area td {
 
@@ -305,9 +348,11 @@
 .table-border th {
     border: 1px solid var(--borderlightgray);
 }
-.box-overflow{
+
+.box-overflow {
     border-top: 1px solid var(--borderlightgray);
 }
+
 .box-overflow thead {
     position: sticky;
     top: -1px;
@@ -361,8 +406,9 @@
     border-right: 1px solid var(--borderlightgray);
 
 }
-.table-header{
-    background-color: var(--tableblue); 
+
+.table-header {
+    background-color: var(--tableblue);
     color: var(--navbarblue);
 }
 
@@ -395,28 +441,31 @@
     margin: 0 auto;
 }
 
-.section-wrap{
+.section-wrap {
     background-color: var(--tableblue);
     border: 1px solid red;
 }
-.section-wrap table{
+
+.section-wrap table {
     height: 300px;
     overflow-y: auto;
-    
+
 }
 
-.Bi002-table{
+.Bi002-table {
     text-align: left;
 }
-.Bi002-table tr{
+
+.Bi002-table tr {
     padding: 2rem;
 }
 
 
-.input-box{
+.input-box {
     flex-wrap: nowrap;
     gap: 1px;
 }
-.input-box input{
+
+.input-box input {
     width: 100%;
-}
+}
(파일 끝에 줄바꿈 문자 없음)
 
client/resources/img/component/chevron-left-solid.svg (added)
+++ client/resources/img/component/chevron-left-solid.svg
@@ -0,0 +1,1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#005aab" d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"/></svg>(파일 끝에 줄바꿈 문자 없음)
 
client/resources/img/component/pwchange-icon.png (Binary) (added)
+++ client/resources/img/component/pwchange-icon.png
Binary file is not shown
client/views/pages/AccountingManagement/ChitManagement/Cm002.vue
--- client/views/pages/AccountingManagement/ChitManagement/Cm002.vue
+++ client/views/pages/AccountingManagement/ChitManagement/Cm002.vue
@@ -173,11 +173,11 @@
 
                                 </tbody>
                             </table>
-                        </div>
-                        <div class="button-wrap flex justify-end mb2">
-                        <button>전표 전송</button>
-                        <button style="border: 1px solid var(--red); color: var(--red);">전표 취소</button>
-                        <button>G/W 전송</button>
+                            <div class="button-wrap flex justify-end mb2">
+                            <button>전표 전송</button>
+                            <button style="border: 1px solid var(--red); color: var(--red);">전표 취소</button>
+                            <button>G/W 전송</button>
+                            </div>
                         </div>
                     </div>
                     <div class=" pd1 table-area content-wrap" style="width: 80%;">
@@ -229,7 +229,7 @@
 
 
                                     <template v-for="(listNam, index) in listNam">
-                                        <tr class="table-header table-border">
+                                        <tr class=" table-border">
                                             <td rowspan="2">{{ listNam.no }}</td>
                                             <td rowspan="2">{{ listNam.name }}</td>
                                             <td>{{ listNam.list1 }}</td>
@@ -241,7 +241,7 @@
                                             <td rowspan="2">{{ listNam.list7 }}</td>
                                             <td rowspan="2">{{ listNam.list8 }}</td>
                                         </tr>
-                                        <tr class="table-header table-border">
+                                        <tr class="table-border">
                                             <td>{{ listNam.list9 }}</td>
                                             <td>{{ listNam.list10 }}</td>
                                             <td>{{ listNam.list11 }}</td>
@@ -455,6 +455,10 @@
                 { no: "1", name: "과목", list1: "항목1", list2: "일자1", list3: "증빙", list4: "참고항목", list5: "환율", list6: "차변금액", list7: "대변금액", list8: "적요", list9: "항목2", list10: "일자2", list11: "비용부서", list12: "공급가액", list13: "외화" },
                 { no: "1", name: "과목", list1: "항목1", list2: "일자1", list3: "증빙", list4: "참고항목", list5: "환율", list6: "차변금액", list7: "대변금액", list8: "적요", list9: "항목2", list10: "일자2", list11: "비용부서", list12: "공급가액", list13: "외화" },
                 { no: "1", name: "과목", list1: "항목1", list2: "일자1", list3: "증빙", list4: "참고항목", list5: "환율", list6: "차변금액", list7: "대변금액", list8: "적요", list9: "항목2", list10: "일자2", list11: "비용부서", list12: "공급가액", list13: "외화" },
+                { no: "1", name: "과목", list1: "항목1", list2: "일자1", list3: "증빙", list4: "참고항목", list5: "환율", list6: "차변금액", list7: "대변금액", list8: "적요", list9: "항목2", list10: "일자2", list11: "비용부서", list12: "공급가액", list13: "외화" },
+                { no: "1", name: "과목", list1: "항목1", list2: "일자1", list3: "증빙", list4: "참고항목", list5: "환율", list6: "차변금액", list7: "대변금액", list8: "적요", list9: "항목2", list10: "일자2", list11: "비용부서", list12: "공급가액", list13: "외화" },
+                { no: "1", name: "과목", list1: "항목1", list2: "일자1", list3: "증빙", list4: "참고항목", list5: "환율", list6: "차변금액", list7: "대변금액", list8: "적요", list9: "항목2", list10: "일자2", list11: "비용부서", list12: "공급가액", list13: "외화" },
+                { no: "1", name: "과목", list1: "항목1", list2: "일자1", list3: "증빙", list4: "참고항목", list5: "환율", list6: "차변금액", list7: "대변금액", list8: "적요", list9: "항목2", list10: "일자2", list11: "비용부서", list12: "공급가액", list13: "외화" },
 
 
             ]
@@ -484,6 +488,8 @@
 
 <style scoped>
 
-
+table td,table td{
+    text-align: center;
+}
 
 </style>
(파일 끝에 줄바꿈 문자 없음)
client/views/pages/login/Login.vue
--- client/views/pages/login/Login.vue
+++ client/views/pages/login/Login.vue
@@ -32,10 +32,31 @@
                                 <label for="a">ID 저장하기</label>
 
                             </div>
-                            <button class="small-btn ">비밀번호 변경하기</button>
+                            <button class="small-btn " @click="pwchange">비밀번호 변경하기</button>
                         </div>
                         <button class="blue-btn large-btn "
                             style="padding: 10px !important; font-size: 1.5rem !important;" @click="login">로그인</button>
+                    </div>
+                    <!-- 비밀번호 변경 페이지 -->
+                    <div class="pwchange-modal pt10" v-show="isActive" >
+                        <div class="flex justify-between pwchange-header">
+                            <h1 class="mt1 mb4">비밀번호 변경</h1>
+                            <button @click="pwChangeBtn"></button>
+                        </div>
+                        <div class="login-box  ">
+                            <div class="pwchange-user mb2">
+                                <p>비밀번호 변경</p>
+                                <input type="text ">
+                            </div>
+                            <div class="pwchange-pw mb2">
+                                <p>비밀번호 확인</p>
+                                <input type="password">
+                            </div>
+
+                            <button class="blue-btn large-btn "
+                                style="padding: 10px !important; font-size: 1.5rem !important;"
+                                @click="pwChangeBtn">비밀번호 변경하기</button>
+                        </div>
                     </div>
                 </div>
             </div>
@@ -54,6 +75,8 @@
     data() {
         return {
             imagePreview: null,
+            isActive: false,
+
         }
 
     },
@@ -71,6 +94,12 @@
                 reader.readAsDataURL(file);
             }
         },
+        pwchange() {
+            this.isActive = true;
+        },
+        pwChangeBtn(){
+            this.isActive = false;
+        }
 
     },
     watch: {
Add a comment
List