mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:04:20 +09:00
공지사항 FAQ 노출 정보 수정 (Y : 사용 N : 사용안함)
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
<a href="javascript:void(0);" class="menu_target" @click="actionMenu" :data-menu-no="child.menuNo">{{
|
<a href="javascript:void(0);" class="menu_target" @click="actionMenu" :data-menu-no="child.menuNo">{{
|
||||||
child.menuNm
|
child.menuNm
|
||||||
}}</a>
|
}}</a>
|
||||||
|
|
||||||
<div class="sub_menu_wrap">
|
<div class="sub_menu_wrap">
|
||||||
<ul class="sub_menu" v-if="child.children.length > 0">
|
<ul class="sub_menu" v-if="child.children.length > 0">
|
||||||
<li v-for="child2 in child.children" :key="child2.menuNo">
|
<li v-for="child2 in child.children" :key="child2.menuNo">
|
||||||
@@ -15,19 +14,6 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li style="display: none">
|
|
||||||
<a href="javascript:void(0);" class="menu_target" @click="actionMenu">홈페이지 관리</a>
|
|
||||||
<div class="sub_menu_wrap">
|
|
||||||
<ul class="sub_menu">
|
|
||||||
<li>
|
|
||||||
<router-link to="/homeMgt/notice">공지사항</router-link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<router-link to="/homeMgt/faq">자주하는 질문</router-link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
@@ -165,6 +151,12 @@ export default {
|
|||||||
classNm += ' is-current';
|
classNm += ' is-current';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 1011:
|
||||||
|
classNm = 'moniter';
|
||||||
|
if (nowUrl.indexOf('homeMgt') > -1) {
|
||||||
|
classNm += ' is-current';
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
classNm = 'customer';
|
classNm = 'customer';
|
||||||
classNm += ' is-current';
|
classNm += ' is-current';
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="select_box">
|
<div class="select_box">
|
||||||
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
||||||
<option value="Y">Y</option>
|
<option value="Y">사용</option>
|
||||||
<option value="N">N</option>
|
<option value="N">사용 안함</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="select_box">
|
<div class="select_box">
|
||||||
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
||||||
<option value="Y">Y</option>
|
<option value="Y">사용</option>
|
||||||
<option value="N">N</option>
|
<option value="N">사용 안함</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -34,8 +34,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="select_box">
|
<div class="select_box">
|
||||||
<select name="" id="right" v-model="emgYn" style="min-width: 150px">
|
<select name="" id="right" v-model="emgYn" style="min-width: 150px">
|
||||||
<option value="Y">Y</option>
|
<option value="Y">긴급</option>
|
||||||
<option value="N">N</option>
|
<option value="N">일반</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -43,8 +43,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="select_box">
|
<div class="select_box">
|
||||||
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
||||||
<option value="Y">Y</option>
|
<option value="Y">사용</option>
|
||||||
<option value="N">N</option>
|
<option value="N">사용 안함</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -34,8 +34,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="select_box">
|
<div class="select_box">
|
||||||
<select name="" id="right" v-model="emgYn" style="min-width: 150px">
|
<select name="" id="right" v-model="emgYn" style="min-width: 150px">
|
||||||
<option value="Y">Y</option>
|
<option value="Y">긴급</option>
|
||||||
<option value="N">N</option>
|
<option value="N">일반</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -43,8 +43,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="select_box">
|
<div class="select_box">
|
||||||
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
<select name="" id="right" v-model="useYn" style="min-width: 150px">
|
||||||
<option value="Y">Y</option>
|
<option value="Y">사용</option>
|
||||||
<option value="N">N</option>
|
<option value="N">사용 안함</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -126,7 +126,6 @@ export default {
|
|||||||
|
|
||||||
columns: [
|
columns: [
|
||||||
{ name: 'no', header: 'No', align: 'center', width: '5%' },
|
{ name: 'no', header: 'No', align: 'center', width: '5%' },
|
||||||
{ name: 'faqNo', header: '게시물', align: 'center', width: '5%' },
|
|
||||||
{ name: 'ctgCdNm', header: '분류코드명', align: 'center', width: '10%' },
|
{ name: 'ctgCdNm', header: '분류코드명', align: 'center', width: '10%' },
|
||||||
{
|
{
|
||||||
name: 'title',
|
name: 'title',
|
||||||
@@ -140,7 +139,16 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ name: 'useYn', header: '사용여부', align: 'center', width: '5%' },
|
{
|
||||||
|
name: 'useYn',
|
||||||
|
header: '사용여부',
|
||||||
|
align: 'center',
|
||||||
|
width: '5%',
|
||||||
|
formatter: (props) => {
|
||||||
|
let result = props.useYn === 'Y' ? '사용' : '사용 안함';
|
||||||
|
return result;
|
||||||
|
},
|
||||||
|
},
|
||||||
{ name: 'regId', header: '등록자', align: 'center', width: '10%' },
|
{ name: 'regId', header: '등록자', align: 'center', width: '10%' },
|
||||||
{ name: 'regDt', header: '등록일자', align: 'center', width: '10%' },
|
{ name: 'regDt', header: '등록일자', align: 'center', width: '10%' },
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -138,9 +138,26 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ name: 'emgYn', header: '긴급여부(Y/N)', align: 'center', width: '10%' },
|
{
|
||||||
{ name: 'fileYn', header: '파일유무', align: 'center', width: '5%' },
|
name: 'emgYn',
|
||||||
{ name: 'useYn', header: '사용여부', align: 'center', width: '5%' },
|
header: '긴급여부(Y/N)',
|
||||||
|
align: 'center',
|
||||||
|
width: '10%',
|
||||||
|
formatter: (props) => {
|
||||||
|
let result = props.emgYn === 'Y' ? '긴급' : '';
|
||||||
|
return result;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'useYn',
|
||||||
|
header: '사용여부',
|
||||||
|
align: 'center',
|
||||||
|
width: '5%',
|
||||||
|
formatter: (props) => {
|
||||||
|
let result = props.useYn === 'Y' ? '사용' : '사용 안함';
|
||||||
|
return result;
|
||||||
|
},
|
||||||
|
},
|
||||||
{ name: 'regr', header: '등록자', align: 'center', width: '10%' },
|
{ name: 'regr', header: '등록자', align: 'center', width: '10%' },
|
||||||
{ name: 'regDt', header: '등록일자', align: 'center', width: '10%' },
|
{ name: 'regDt', header: '등록일자', align: 'center', width: '10%' },
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ public class HomeMgtController {
|
|||||||
* @param faqListReqDto
|
* @param faqListReqDto
|
||||||
* @return FaqListResDto
|
* @return FaqListResDto
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "/faqList", notes = "자주묻는 질문 조회")
|
@ApiOperation(value = "/faqList", notes = "FAQ 조회")
|
||||||
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
||||||
@RequestMapping(value = "/faqList", method = { RequestMethod.POST })
|
@RequestMapping(value = "/faqList", method = { RequestMethod.POST })
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@@ -225,7 +225,7 @@ public class HomeMgtController {
|
|||||||
* @param insertFaqReqDto
|
* @param insertFaqReqDto
|
||||||
* @return InsertFaqResDto
|
* @return InsertFaqResDto
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "/insertFaq", notes = "자주묻는 질문 등록")
|
@ApiOperation(value = "/insertFaq", notes = "FAQ 등록")
|
||||||
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
||||||
@RequestMapping(value = "/insertFaq", method = { RequestMethod.POST })
|
@RequestMapping(value = "/insertFaq", method = { RequestMethod.POST })
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@@ -247,7 +247,7 @@ public class HomeMgtController {
|
|||||||
* @param updateFaqReqDto
|
* @param updateFaqReqDto
|
||||||
* @return UpdateFaqResDto
|
* @return UpdateFaqResDto
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "/updateFaq", notes = "자주묻는 질문 등록")
|
@ApiOperation(value = "/updateFaq", notes = "FAQ 수정")
|
||||||
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
||||||
@RequestMapping(value = "/updateFaq", method = { RequestMethod.POST })
|
@RequestMapping(value = "/updateFaq", method = { RequestMethod.POST })
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@@ -267,7 +267,7 @@ public class HomeMgtController {
|
|||||||
* @param deleteFaqReqDto
|
* @param deleteFaqReqDto
|
||||||
* @return DeleteFaqResDto
|
* @return DeleteFaqResDto
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "/deleteFaq", notes = "공지사항 삭제")
|
@ApiOperation(value = "/deleteFaq", notes = "FAQ 삭제")
|
||||||
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
@ApiResponses({ @ApiResponse(code = HttpServletResponse.SC_OK, message = "SUCESS") })
|
||||||
@RequestMapping(value = "/deleteFaq", method = { RequestMethod.POST })
|
@RequestMapping(value = "/deleteFaq", method = { RequestMethod.POST })
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
|||||||
Reference in New Issue
Block a user