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