선불 회원 등록 화면

This commit is contained in:
kubo8
2023-05-16 17:21:59 +09:00
parent 3fca450dbc
commit 0e1e40a1b8
11 changed files with 685 additions and 3 deletions

View File

@@ -90,7 +90,8 @@
</div>
</div>
<div class="button_group">
<button type="button" class="button blue add" @click="ModalOpen();">테스트 ID 생성</button>
<button type="button" class="button blue add" @click="ModalOpen('testId');">테스트 ID 생성</button>
<button type="button" class="button blue add" @click="ModalOpen('prePay');">선불 ID 생성</button>
</div>
</div>
@@ -111,6 +112,7 @@
</div>
<testId-reg-pop ref="testIdRegPop"></testId-reg-pop>
<prePay-reg-pop ref="prePayRegPop"></prePay-reg-pop>
<common-modal ref="commmonModal"></common-modal>
</div>
@@ -121,6 +123,7 @@
<script>
import customGrid from '@/components/CustomGrid';
import TestIdRegPop from '../components/TestIdRegPop';
import PrePayRegPop from '../components/PrePayRegPop';
import moment from 'moment';
import api from '@/service/api.js';
import commonModal from "@/components/modal/commonModal";
@@ -213,6 +216,7 @@ export default {
components: {
customGrid: customGrid,
TestIdRegPop,
PrePayRegPop,
commonModal,
vuejsDatepicker,
},
@@ -281,8 +285,13 @@ export default {
toMove(routeName) {
this.$router.push({name: routeName, params: {page: 1, searchText: ''}});
},
ModalOpen: function () {
this.$refs.testIdRegPop.ModalOpen();
ModalOpen: function (regDiv) {
if(regDiv == 'testId'){
this.$refs.testIdRegPop.ModalOpen();
}else{
this.$refs.prePayRegPop.ModalOpen();
}
},
memberDetail: function (props) {
this.row.serviceId = props.userId;