리스크관리 / 유치채널현황 관리 / 채널관리 추가

This commit is contained in:
kimre
2022-06-24 18:14:06 +09:00
parent 2a073eca83
commit 056ccf20e1
87 changed files with 5931 additions and 2114 deletions

View File

@@ -41,9 +41,9 @@
</select>
</div>
</div>
<div class="button_group">
<button type="button" class="button blue admin" @click="excelDown();">엑셀다운로드</button>
</div>
<!-- <div class="button_group">-->
<!-- <button type="button" class="button blue admin" @click="excelDown();">엑셀다운로드</button>-->
<!-- </div>-->
</div>
<div class="table">
<custom-grid
@@ -59,6 +59,9 @@
:addCls="grid.addCls"
:header="grid.headder"
></custom-grid>
<common-modal ref="commmonModal"></common-modal>
</div>
</div>
</div>
@@ -69,6 +72,7 @@ import customGrid from '@/components/CustomGrid';
import channelMgtApi from '../service/channelMgtApi';
import xlsx from '@/common/excel';
import moment from 'moment';
import commonModal from "@/components/modal/commonModal";
class customBRegNo {
constructor(props) {
@@ -217,7 +221,8 @@ export default {
},
components: {
customGrid: customGrid,
channelMgtApi
channelMgtApi,
commonModal,
},
created(){
this.$store.commit("login/isLogin", true);
@@ -297,7 +302,9 @@ export default {
}, // end of getExcelDataDown
async excelDown() {
if (this.$refs.table.getData().length <= 0) {
alert('조회된 데이터가 없습니다.');
this.row.title = '채널관리';
this.row.msg1 = '조회된 데이터가 없습니다.';
this.$refs.commmonModal.alertModalOpen(this.row);
return false;
}