Files
sk_fems_ui/components/common/button/BtnSearch.vue
Nguyen Van Luan/(Nguyen Van Luan)/현장대리인/SK 2cf00c0880 update code fixbug
2025-08-06 19:02:19 +09:00

27 lines
497 B
Vue

<template>
<a-button icon="search" type="primary" @click="getSearch('prev')" class="search-button" :size="size">조회</a-button>
</template>
<script>
import { mapMutations } from 'vuex';
export default {
props: {
size: {
type: String,
require: false,
default: "default", // small, default, large
}
},
methods: {
...mapMutations({ setPageData: 'setPageData' }),
getSearch() {
this.setPageData({ isFind: true });
},
},
};
</script>
<style scoped lang="scss">
</style>