| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <template>
- <m-dialog ref="dialog" :title="title + ' 历史记录'">
- <ListTemplate ref="listTemplateRefs" history :show-search="false" shadow="never" :uuid="uuid">
- <template #actions="{ row }">
- <slot name="actions" :row="row"></slot>
- </template>
- </ListTemplate>
- </m-dialog>
- </template>
- <script>
- import ListTemplate from '../components/ListTemplate.vue'
- export default {
- name: 'salary-solution-history',
- components: {
- ListTemplate
- },
- data () {
- return {
- uuid: null,
- title: null
- }
- },
- methods: {
- open (item) {
- const { uuid, title } = item
- this.uuid = uuid
- this.title = title
- this.$refs.dialog.open()
- this.$nextTick(() => {
- this.$refs.listTemplateRefs.onInit()
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- </style>
|