123456789101112131415161718192021222324252627282930313233343536 |
- <template>
- <div>
- <ListTemplate ref="listTemplateRefs" :card-title="$attrs.label">
- <template #actions="{ row }">
- <m-button text type="primary" size="small" @click="onOpen('salarySolutionParamRefs', row)">系数管理</m-button>
- </template>
- </ListTemplate>
- <SalarySolutionParam ref="salarySolutionParamRefs" @refresh="onInit"></SalarySolutionParam>
- </div>
- </template>
- <script>
- import ListTemplate from '../components/ListTemplate.vue'
- import SalarySolutionParam from './salarySolutionParam.vue'
- export default {
- name: 'SalaryCoefficient',
- components: {
- ListTemplate,
- SalarySolutionParam
- },
- methods: {
- onInit () {
- this.$refs.listTemplateRefs.onInit()
- },
- onOpen (ref, item) {
- this.$refs[ref]?.open && this.$refs[ref].open(item)
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- </style>
|