Files
sk_fems_ui/components/common/button/BtnTotal.vue
2025-07-12 15:13:46 +09:00

28 lines
509 B
Vue

<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>