|
@@ -11,6 +11,7 @@
|
|
|
<script>
|
|
|
import adminFrame from '@/layout/common/admin-frame.vue';
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
+const { mapActions: personal } = createNamespacedHelpers('personal');
|
|
|
export default {
|
|
|
name: 'index',
|
|
|
props: {},
|
|
@@ -86,7 +87,9 @@ export default {
|
|
|
await this.search();
|
|
|
},
|
|
|
methods: {
|
|
|
+ ...personal({ personalCreate: 'create' }),
|
|
|
search({ skip = 0, limit = this.limit, ...info } = {}) {},
|
|
|
+
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['user']),
|