반려 팝업 작업

This commit is contained in:
kubo8
2023-02-13 13:44:43 +09:00
parent b84abc113f
commit 291ba6ef0e

View File

@@ -15,9 +15,11 @@
</tr>
</thead>
<tbody>
<tr v-for="(option, i) in list" v-bind:key="i">
<td v-if="list.status == 'REJ'" v-html="option.content"></td>
<template v-for="(option, i) in list">
<tr v-bind:key="i" v-if="option.status == 'REJ'">
<td v-html="option.content"></td>
</tr>
</template>
<tr v-if="list.length === 0">
<td>반려 내용이 없습니다.</td>
</tr>
@@ -54,10 +56,8 @@ export default {
try {
const response = await channelMgtApi.tmpltRejectList(this.row);
const result = response.data;
console.log(result);
if (result != null && result.retCode == "0000") {
this.list = result.rjtData.list;
//console.log(this.list);
}
var dimmed = document.getElementsByClassName('modal25');
for (var i = 0; i < dimmed.length; i++) {