mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 05:12:34 +09:00
리스크관리 / 유치채널현황 관리 / 채널관리 추가
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user