mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 03:28:39 +09:00
수정건 수정
This commit is contained in:
@@ -27,12 +27,12 @@
|
||||
<div class="input_box id">
|
||||
<label for="id1" class="label">ID</label>
|
||||
<input type="text" id="id1" placeholder="검색어 입력" v-model.trim="grid.params.searchText1"
|
||||
@keyup.enter="search"/>
|
||||
@keyup.enter="search" :readonly="!isFocused" @focus="isFocused = true" @blur="isFocused = false"/>
|
||||
</div>
|
||||
<div class="input_box">
|
||||
<label for="name" class="label">이름(대리점명)</label>
|
||||
<input type="text" id="name" placeholder="검색어 입력" v-model.trim="grid.params.searchText2"
|
||||
@keyup.enter="search"/>
|
||||
@keyup.enter="search" :readonly="!isFocused" @focus="isFocused = true" @blur="isFocused = false"/>
|
||||
</div>
|
||||
<button type="button" class="button grey" @click="search">조회</button>
|
||||
</div>
|
||||
@@ -101,6 +101,7 @@ export default {
|
||||
name: 'adminList',
|
||||
data() {
|
||||
return {
|
||||
isFocused: false,
|
||||
row: {},
|
||||
authType: [],
|
||||
statType: [],
|
||||
@@ -172,6 +173,7 @@ export default {
|
||||
isKeep = true;
|
||||
}
|
||||
this.search(isKeep);
|
||||
|
||||
},
|
||||
methods: {
|
||||
search: function (isKeep) {
|
||||
@@ -224,18 +226,20 @@ export default {
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
},
|
||||
async setCodeData() {
|
||||
|
||||
// 상태 옵션 셋팅.
|
||||
api.commCode({'grpCd': 'ADM_STTUS_CD'}).then(response => {
|
||||
this.statType = response.data.dat.a.list;
|
||||
});
|
||||
// api.commAuth().then(response => {
|
||||
// this.authType = response.data.data.list;
|
||||
// });
|
||||
// 상태
|
||||
try {
|
||||
const res = await api.commCode({'grpCd': 'ADM_STTUS_CD'});
|
||||
if(res.data.retCode == '0000'){
|
||||
this.statType = res.data.data.list;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
}
|
||||
// 권한
|
||||
try {
|
||||
const response = await api.commAuth();
|
||||
if(response.data.retCode == '0000'){
|
||||
this.authType = response.data.datalist;
|
||||
this.authType = response.data.data.list;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user