|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<m-dialog ref="dialog" :title="title + ' 版本记录'">
|
|
|
- <ListTemplate ref="listTemplateRefs" history :versionType="1" :show-search="false" shadow="never" :uuid="uuid" clearHeader>
|
|
|
+ <ListTemplate ref="listTemplateRefs" :history="2" :versionType="1" :show-search="false" shadow="never" :uuid="uuid" clearHeader>
|
|
|
<template #actions="{ row }">
|
|
|
<m-button text type="primary" @click="onOpen(row)">查看系数变化</m-button>
|
|
|
</template>
|
|
@@ -34,7 +34,12 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.listTemplateRefs.onInit({
|
|
|
versionType: 1
|
|
|
- })
|
|
|
+ }, [
|
|
|
+ { label: '名称', prop: 'title' },
|
|
|
+ { label: '修改说明', prop: 'versionTag' },
|
|
|
+ { label: '创建日期', prop: 'createDate' },
|
|
|
+ { label: '操作', prop: 'actions' }
|
|
|
+ ])
|
|
|
})
|
|
|
},
|
|
|
onOpen (item) {
|