[add] 历史版本
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user