|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<section class="project-details">
|
|
<section class="project-details">
|
|
- <header class="project-details-header pd-lr">
|
|
|
|
|
|
+ <header class="project-details-header">
|
|
<div class="filter-list line-1">
|
|
<div class="filter-list line-1">
|
|
<SubscribeClassListCascader
|
|
<SubscribeClassListCascader
|
|
class="filter-item"
|
|
class="filter-item"
|
|
@@ -66,7 +66,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="project-details-list" v-loading="listState.loading">
|
|
<div class="project-details-list" v-loading="listState.loading">
|
|
<ProjectItem
|
|
<ProjectItem
|
|
- class="project-details-item pd-lr"
|
|
|
|
|
|
+ class="project-details-item"
|
|
v-for="project in listState.list"
|
|
v-for="project in listState.list"
|
|
:buyer="project.buyer"
|
|
:buyer="project.buyer"
|
|
:title="project.name"
|
|
:title="project.name"
|
|
@@ -84,7 +84,7 @@
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</main>
|
|
<div class="project-details-footer">
|
|
<div class="project-details-footer">
|
|
- <div class="pagination-container pd-lr" v-show="listState.total > 0">
|
|
|
|
|
|
+ <div class="pagination-container" v-show="listState.total > 0">
|
|
<el-pagination
|
|
<el-pagination
|
|
background
|
|
background
|
|
popper-class="pagination-custom-select"
|
|
popper-class="pagination-custom-select"
|
|
@@ -134,6 +134,11 @@ export default {
|
|
Empty
|
|
Empty
|
|
},
|
|
},
|
|
props: {
|
|
props: {
|
|
|
|
+ rid: {
|
|
|
|
+ type: String,
|
|
|
|
+ required: true,
|
|
|
|
+ default: ''
|
|
|
|
+ },
|
|
// 更改时会清空其他选择器并恢复initFilter中的选项
|
|
// 更改时会清空其他选择器并恢复initFilter中的选项
|
|
initFilters: {
|
|
initFilters: {
|
|
type: Object,
|
|
type: Object,
|
|
@@ -178,7 +183,7 @@ export default {
|
|
conf: {
|
|
conf: {
|
|
sortList: [
|
|
sortList: [
|
|
{
|
|
{
|
|
- name: '项目更新时间由晚到早',
|
|
|
|
|
|
+ name: '成交时间时间由晚到早',
|
|
value: 0
|
|
value: 0
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -290,6 +295,7 @@ export default {
|
|
async getList () {
|
|
async getList () {
|
|
const filters = this.getFilters()
|
|
const filters = this.getFilters()
|
|
const params = {
|
|
const params = {
|
|
|
|
+ rid: this.rid,
|
|
pageNum: this.listState.pageNum,
|
|
pageNum: this.listState.pageNum,
|
|
pageSize: this.listState.pageSize,
|
|
pageSize: this.listState.pageSize,
|
|
...filters
|
|
...filters
|
|
@@ -313,7 +319,7 @@ export default {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
// 有中标金额取中标金额,没有取预算,预算没有置空
|
|
// 有中标金额取中标金额,没有取预算,预算没有置空
|
|
- value: formatMoney(item?.bidAmount || item?.budget)
|
|
|
|
|
|
+ value: formatMoney(item?.bidAmount || item?.budget, { level: 1 })
|
|
}
|
|
}
|
|
].filter(v => v.value)
|
|
].filter(v => v.value)
|
|
// 整理中标企业
|
|
// 整理中标企业
|
|
@@ -359,17 +365,20 @@ export default {
|
|
padding-right: 40px;
|
|
padding-right: 40px;
|
|
}
|
|
}
|
|
.project-details {
|
|
.project-details {
|
|
- padding: 32px 0;
|
|
|
|
|
|
+ padding: 32px 20px;
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
- &-header {
|
|
|
|
- margin-bottom: 46px;
|
|
|
|
|
|
+ &-header {
|
|
|
|
+ padding-bottom: 16px;
|
|
|
|
+ border-bottom: 1px dashed rgba(0,0,0,0.05);
|
|
|
|
+ }
|
|
|
|
+ &-main {
|
|
|
|
+ padding-top: 30px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.project-details-actions {
|
|
.project-details-actions {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- padding: 0 40px;
|
|
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
.project-details-actions-right {
|
|
.project-details-actions-right {
|
|
@@ -383,8 +392,13 @@ export default {
|
|
}
|
|
}
|
|
.project-details-list {
|
|
.project-details-list {
|
|
min-height: 420px;
|
|
min-height: 420px;
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
+}
|
|
|
|
+.project-details-item {
|
|
|
|
+ padding-left: 0;
|
|
|
|
+ padding-right: 0;
|
|
|
|
+ border-bottom: 1px solid rgba(0,0,0,0.05);
|
|
}
|
|
}
|
|
-
|
|
|
|
.filter-list {
|
|
.filter-list {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|