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