sk_fems_ui commit
This commit is contained in:
27
components/common/button/BtnTotal.vue
Normal file
27
components/common/button/BtnTotal.vue
Normal file
@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<v-btn :ripple="false" @click="setTotal()">전체</v-btn>
|
||||
</template>
|
||||
<script>
|
||||
import { mapMutations } from 'vuex';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
parentPrgmId: {
|
||||
type: String,
|
||||
require: true,
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapMutations({ setPageData: 'setPageData' }),
|
||||
setTotal() {
|
||||
var facInfoText = { path: '전체' };
|
||||
this.setPageData({ facInfo: facInfoText });
|
||||
localStorage.setItem(
|
||||
this.parentPrgmId + 'CheckedRow',
|
||||
JSON.stringify(facInfoText),
|
||||
);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user