对接项目库嘚变更
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<a-card :bordered="false">
|
||||
<div class="table-operator" style="margin-bottom: 10px">
|
||||
<div @click="versionStatisticsClick" class="operator-text">
|
||||
<div @click="versionStatisticsClick" v-if="!this.$route.query.parentId"
|
||||
class="operator-text">
|
||||
<a-icon type="plus"/>
|
||||
{{$t('versionStatistics')}}
|
||||
</div>
|
||||
@@ -70,7 +71,7 @@
|
||||
})
|
||||
}
|
||||
this.selectedRowKeys = JSON.parse(JSON.stringify(value))
|
||||
this.$nextTick(()=>{
|
||||
this.$nextTick(() => {
|
||||
this.activeKey = activeKey
|
||||
})
|
||||
}
|
||||
|
||||
@@ -75,14 +75,14 @@
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('VersionNumber'),
|
||||
dataIndex: 'VersionNumber',
|
||||
dataIndex: 'projectVersion',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
width: 200
|
||||
},
|
||||
{
|
||||
title: this.$t('describe'),
|
||||
dataIndex: 'describe',
|
||||
dataIndex: 'explanation',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
width: 500
|
||||
@@ -94,7 +94,7 @@
|
||||
pageSize: 10,
|
||||
total: 0,
|
||||
url: {
|
||||
addModelList: '/project/projectLawsInventoryEO/queryPageDummy'
|
||||
list: '/project/projectLibraryBase/versionStatistics'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -130,10 +130,11 @@
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
id:this.$route.query.id,
|
||||
...this.queryParam
|
||||
}
|
||||
this.loading = true
|
||||
postAction(this.url.addModelList, query).then((res) => {
|
||||
getAction(this.url.list, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records || []
|
||||
this.total = res.result.total
|
||||
|
||||
Reference in New Issue
Block a user