mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:17:51 +09:00
반려 목록 출력
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(option, i) in list" v-bind:key="i">
|
<tr v-for="(option, i) in list" v-bind:key="i">
|
||||||
<td>{{ option.lmtYm }}</td>
|
<td>{{ option.content }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="list.length === 0">
|
<tr v-if="list.length === 0">
|
||||||
<td>반려 내용이 없습니다.</td>
|
<td>반려 내용이 없습니다.</td>
|
||||||
@@ -56,7 +56,8 @@ export default {
|
|||||||
const result = response.data;
|
const result = response.data;
|
||||||
if (result != null && result.retCode == "0000") {
|
if (result != null && result.retCode == "0000") {
|
||||||
console.log(result);
|
console.log(result);
|
||||||
//this.list = result.data.list;
|
this.list = result.rjtData.list;
|
||||||
|
console.log(this.list);
|
||||||
}
|
}
|
||||||
var dimmed = document.getElementsByClassName('modal25');
|
var dimmed = document.getElementsByClassName('modal25');
|
||||||
for (var i = 0; i < dimmed.length; i++) {
|
for (var i = 0; i < dimmed.length; i++) {
|
||||||
|
|||||||
@@ -107,11 +107,12 @@ public class ChannelMgtService {
|
|||||||
* @param tmpltListReqDto
|
* @param tmpltListReqDto
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings({ "unchecked", "null" })
|
||||||
public TmpltListResDto tmpltRejectList(TmpltListReqDto tmpltListReqDto) {
|
public TmpltListResDto tmpltRejectList(TmpltListReqDto tmpltListReqDto) {
|
||||||
RjtTmpltListRes tmpltListRes = new RjtTmpltListRes();
|
RjtTmpltListRes tmpltListRes = new RjtTmpltListRes();
|
||||||
Map<Object, Object> apiResultMap = null;
|
Map<Object, Object> apiResultMap = null;
|
||||||
List<Map<Object,Object>> dataListMap = null;
|
List<Map<Object,Object>> dataListMap = null;
|
||||||
|
List<Map<Object,Object>> dataTempListMap = null;
|
||||||
List<Map<Object,Object>> rjtDataListMap = null;
|
List<Map<Object,Object>> rjtDataListMap = null;
|
||||||
|
|
||||||
JSONObject jsonObject = new JSONObject();
|
JSONObject jsonObject = new JSONObject();
|
||||||
@@ -132,7 +133,12 @@ public class ChannelMgtService {
|
|||||||
Map<Object, Object> dataTempMap = dataListMap.get(0);
|
Map<Object, Object> dataTempMap = dataListMap.get(0);
|
||||||
|
|
||||||
if(dataTempMap.get("comments") != null && !"".equals(dataTempMap.get("comments"))) {
|
if(dataTempMap.get("comments") != null && !"".equals(dataTempMap.get("comments"))) {
|
||||||
rjtDataListMap = (List<Map<Object, Object>>) dataTempMap.get("comments");
|
dataTempListMap = (List<Map<Object, Object>>) dataTempMap.get("comments");
|
||||||
|
for(Map<Object, Object> rejectMap : dataTempListMap) {
|
||||||
|
if("REJ".equals(rejectMap.get("status"))) {
|
||||||
|
rjtDataListMap.add(rejectMap);
|
||||||
|
}
|
||||||
|
}
|
||||||
tmpltListRes.setList(rjtDataListMap);
|
tmpltListRes.setList(rjtDataListMap);
|
||||||
}
|
}
|
||||||
return new TmpltListResDto(ApiResponseCode.SUCCESS, tmpltListRes);
|
return new TmpltListResDto(ApiResponseCode.SUCCESS, tmpltListRes);
|
||||||
|
|||||||
Reference in New Issue
Block a user