[add] 历史版本

This commit is contained in:
zhaomeijing
2022-05-18 18:14:01 +08:00
parent a7746bac73
commit c6904eb63b
2 changed files with 40 additions and 149 deletions
@@ -81,7 +81,7 @@
<configure ref="configureRef" :url='url' :itemId='itemId'/>
<!-- 历史版本-->
<a-modal v-model="historicalVisible" :title="$t('historicalVersion')" width='750px' :footer="null">
<historical-version v-if='historicalVisible' ></historical-version>
<historical-version v-if='historicalVisible' :historicalRow='historicalRow'></historical-version>
</a-modal>
</a-card>
</template>
@@ -174,7 +174,8 @@
rowId: '',
version: 0,
itemId: '',
historicalVisible: false
historicalVisible: false,
historicalRow: {}, // 历史版本得数据
}
},
mounted() {
@@ -208,10 +209,11 @@
handleTableChange() {
},
//
historicalVersion() {
// 历史版本
historicalVersion(historicalRow) {
console.log(historicalRow)
this.historicalVisible = true
console.log('历史版本。。。。')
this.historicalRow = historicalRow
},
// 配置
configure(item) {