mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 06:52:01 +09:00
알림톡 조회, 차단내역 수정
This commit is contained in:
@@ -94,7 +94,7 @@ export default {
|
|||||||
],
|
],
|
||||||
grid: {
|
grid: {
|
||||||
url: '/api/v1/bo/channelMgt/tmpltList',
|
url: '/api/v1/bo/channelMgt/tmpltList',
|
||||||
perPage: 50,
|
perPage: 20,
|
||||||
pagination: true,
|
pagination: true,
|
||||||
isCheckbox: false,
|
isCheckbox: false,
|
||||||
initialRequest: false,
|
initialRequest: false,
|
||||||
@@ -142,10 +142,8 @@ export default {
|
|||||||
commonModal,
|
commonModal,
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
// const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
|
||||||
this.getExcelHeader();
|
this.getExcelHeader();
|
||||||
this.setCodeData();
|
this.setCodeData();
|
||||||
this.grid.pagePerRows = this.perPageCnt;
|
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||||
@@ -168,7 +166,7 @@ export default {
|
|||||||
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
|
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
|
||||||
let isKeep = false;
|
let isKeep = false;
|
||||||
if (getCondition) {
|
if (getCondition) {
|
||||||
this.grid.pagePerRows = 50;
|
this.grid.pagePerRows = getCondition.perPage;
|
||||||
this.grid.params = getCondition.params;
|
this.grid.params = getCondition.params;
|
||||||
page = getCondition.page;
|
page = getCondition.page;
|
||||||
isKeep = true;
|
isKeep = true;
|
||||||
@@ -177,27 +175,21 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
search: function (isKeep) {
|
search: function (isKeep) {
|
||||||
console.log(this.grid.params);
|
this.grid.params.searchType1 = this.searchType1;
|
||||||
this.grid.params.searchType1 = this.searchType1
|
this.grid.params.searchType2 = this.searchType2;
|
||||||
this.grid.params.searchType2 = this.searchType2
|
this.grid.params.pagePerRows = this.perPageCnt;
|
||||||
this.grid.params.pagePerRows = this.perPageCnt
|
this.grid.perPage = this.perPageCnt;
|
||||||
this.grid.perPage = this.perPageCnt
|
|
||||||
|
|
||||||
console.log(this.grid)
|
|
||||||
this.$refs.table.search(this.grid.params, isKeep);
|
this.$refs.table.search(this.grid.params, isKeep);
|
||||||
this.sendStoreData();
|
this.sendStoreData();
|
||||||
},
|
},
|
||||||
sendStoreData: function () {
|
sendStoreData: function () {
|
||||||
const getP = this.$refs.table.getPagination();
|
const getP = this.$refs.table.getPagination();
|
||||||
console.log("==========getP : " + getP);
|
|
||||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||||
page: getP._currentPage,
|
page: getP._currentPage,
|
||||||
perPage: this.perPageCnt,
|
perPage: this.perPageCnt,
|
||||||
params: this.grid.params
|
params: this.grid.params
|
||||||
});
|
});
|
||||||
|
|
||||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
|
||||||
//console.log("getCondition : "+ getCondition.perPage);
|
|
||||||
},
|
},
|
||||||
async getExcelDataDown() {
|
async getExcelDataDown() {
|
||||||
try {
|
try {
|
||||||
@@ -254,6 +246,7 @@ export default {
|
|||||||
},
|
},
|
||||||
changePerPage: function () { // 페이지당 조회할 개수
|
changePerPage: function () { // 페이지당 조회할 개수
|
||||||
this.grid.pagePerRows = this.perPageCnt;
|
this.grid.pagePerRows = this.perPageCnt;
|
||||||
|
this.search(true);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -306,6 +306,9 @@ export default {
|
|||||||
//회원 상세페이지로 이동
|
//회원 상세페이지로 이동
|
||||||
custDetail(props) {
|
custDetail(props) {
|
||||||
//this.row.custNm = props.serviceId;
|
//this.row.custNm = props.serviceId;
|
||||||
|
|
||||||
|
console.log('=-==-=-=-=');
|
||||||
|
console.log(props);
|
||||||
this.row.serviceId = props.serviceId;
|
this.row.serviceId = props.serviceId;
|
||||||
this.$router.push({name: 'subsDetail', params: this.row});
|
this.$router.push({name: 'subsDetail', params: this.row});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -392,13 +392,13 @@
|
|||||||
, A.CUST_SEQ
|
, A.CUST_SEQ
|
||||||
, A.USER_SEQ
|
, A.USER_SEQ
|
||||||
, A.USER_ID
|
, A.USER_ID
|
||||||
,(SELECT esu1.USER_ID FROM hubez_common.EZ_SVC_USER esu1 WHERE esu1.PRNTS_USER_SEQ = A.USER_SEQ LIMIT 1 ) AS SERVICE_ID
|
|
||||||
, A.SNDRNO
|
, A.SNDRNO
|
||||||
, A.CUST_NM
|
, A.CUST_NM
|
||||||
, A.BIZRNO
|
, A.BIZRNO
|
||||||
, A.RCVNO
|
, A.RCVNO
|
||||||
,(SELECT DTL_CD_NM FROM hubez_common.EZ_CD_DTL WHERE GRP_CD = 'SNDBLCK_RSN_CD' AND DTL_CD = A.BLCK_RSN_CD) AS BLCK_RSN_CD
|
,(SELECT DTL_CD_NM FROM hubez_common.EZ_CD_DTL WHERE GRP_CD = 'SNDBLCK_RSN_CD' AND DTL_CD = A.BLCK_RSN_CD) AS BLCK_RSN_CD
|
||||||
, DATE_FORMAT(A.BLCK_DT, '%Y-%m-%d') AS BLCK_DT
|
, DATE_FORMAT(A.BLCK_DT, '%Y-%m-%d') AS BLCK_DT
|
||||||
|
, (SELECT B.USER_ID FROM hubez_common.EZ_SVC_USER B WHERE B.USER_SEQ = (SELECT esu2.PRNTS_USER_SEQ FROM hubez_common.EZ_SVC_USER esu2 WHERE esu2.USER_SEQ = A.USER_SEQ LIMIT 1)) AS SERVICE_ID
|
||||||
FROM
|
FROM
|
||||||
(
|
(
|
||||||
SELECT
|
SELECT
|
||||||
|
|||||||
@@ -659,7 +659,7 @@
|
|||||||
|
|
||||||
<select id="selectCustDstatList" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmDayListReqDto" resultType="kr.co.uplus.ez.api.stats.dto.BsnmDayList">
|
<select id="selectCustDstatList" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmDayListReqDto" resultType="kr.co.uplus.ez.api.stats.dto.BsnmDayList">
|
||||||
/* stats-mapper.xml(selectCustDstatList) */
|
/* stats-mapper.xml(selectCustDstatList) */
|
||||||
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m') AS SUM_YMD
|
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m-%d') AS SUM_YMD
|
||||||
, t1.CUST_NM AS CUST_NM
|
, t1.CUST_NM AS CUST_NM
|
||||||
, t1.BIZRNO AS BIZRNO
|
, t1.BIZRNO AS BIZRNO
|
||||||
, (t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS SND_CNT
|
, (t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS SND_CNT
|
||||||
@@ -692,7 +692,7 @@
|
|||||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||||
<include refid="custDstatListCondition"/>
|
<include refid="custDstatListCondition"/>
|
||||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
ORDER BY ecm.SUM_YMD, ecm.USER_SEQ
|
||||||
) list
|
) list
|
||||||
LIMIT #{page}, #{pagePerRows}
|
LIMIT #{page}, #{pagePerRows}
|
||||||
) t1 inner join (
|
) t1 inner join (
|
||||||
@@ -769,7 +769,7 @@
|
|||||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||||
<include refid="custDstatListCondition"/>
|
<include refid="custDstatListCondition"/>
|
||||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
) list
|
) list
|
||||||
LIMIT #{page}, #{pagePerRows}
|
LIMIT #{page}, #{pagePerRows}
|
||||||
) list
|
) list
|
||||||
@@ -796,7 +796,7 @@
|
|||||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||||
<include refid="custDstatListCondition"/>
|
<include refid="custDstatListCondition"/>
|
||||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
) list
|
) list
|
||||||
LIMIT #{page}, #{pagePerRows}
|
LIMIT #{page}, #{pagePerRows}
|
||||||
) list
|
) list
|
||||||
@@ -812,7 +812,7 @@
|
|||||||
|
|
||||||
<select id="selectCustDstatExcelList" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmDayListExcelReqDto" resultType="kr.co.uplus.ez.api.stats.dto.BsnmDayList">
|
<select id="selectCustDstatExcelList" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmDayListExcelReqDto" resultType="kr.co.uplus.ez.api.stats.dto.BsnmDayList">
|
||||||
/* stats-mapper.xml(selectCustDstatExcelList) */
|
/* stats-mapper.xml(selectCustDstatExcelList) */
|
||||||
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m') AS SUM_YMD
|
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m-%d') AS SUM_YMD
|
||||||
, t1.CUST_NM AS CUST_NM
|
, t1.CUST_NM AS CUST_NM
|
||||||
, t1.BIZRNO AS BIZRNO
|
, t1.BIZRNO AS BIZRNO
|
||||||
, (t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS SND_CNT
|
, (t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS SND_CNT
|
||||||
@@ -845,7 +845,7 @@
|
|||||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||||
<include refid="custDstatListCondition"/>
|
<include refid="custDstatListCondition"/>
|
||||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
) list
|
) list
|
||||||
) t1 inner join (
|
) t1 inner join (
|
||||||
select SUM_YMD
|
select SUM_YMD
|
||||||
@@ -921,7 +921,7 @@
|
|||||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||||
<include refid="custDstatListCondition"/>
|
<include refid="custDstatListCondition"/>
|
||||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
) list
|
) list
|
||||||
) list
|
) list
|
||||||
on list.SUM_YMD = ecm.SUM_YMD and list.USER_SEQ = ecm.USER_SEQ
|
on list.SUM_YMD = ecm.SUM_YMD and list.USER_SEQ = ecm.USER_SEQ
|
||||||
@@ -947,7 +947,7 @@
|
|||||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||||
<include refid="custDstatListCondition"/>
|
<include refid="custDstatListCondition"/>
|
||||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||||
) list
|
) list
|
||||||
) list
|
) list
|
||||||
on list.SUM_YMD = ecm.SUM_YMD and list.USER_SEQ = ecm.USER_SEQ
|
on list.SUM_YMD = ecm.SUM_YMD and list.USER_SEQ = ecm.USER_SEQ
|
||||||
|
|||||||
@@ -181,7 +181,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<insert id="insertAuthMenu" parameterType="hashMap">
|
<insert id="insertAuthMenu" parameterType="hashMap">
|
||||||
/* sysMgt-mapper.xml(insertAuth) */
|
/* sysMgt-mapper.xml(insertAuthMenu) */
|
||||||
INSERT INTO
|
INSERT INTO
|
||||||
hubez_admin.EZ_ADM_AUTMENU(
|
hubez_admin.EZ_ADM_AUTMENU(
|
||||||
AUT_CD
|
AUT_CD
|
||||||
|
|||||||
Reference in New Issue
Block a user