|
|
@@ -8,6 +8,9 @@ |
|
|
|
@click-left="onClickLeft" |
|
|
|
/> |
|
|
|
<van-cell title="项目名称" :value="noticeDetail.projectName" /> |
|
|
|
|
|
|
|
<van-cell v-if="noticeDetail.projectStatus == '3'" title="终止原因" type="textarea" :value="noticeDetail.terminateReason" /> |
|
|
|
<template v-else> |
|
|
|
<van-cell title="项目编号" :value="noticeDetail.projectCode" /> |
|
|
|
<van-cell title="转出方式" :value="noticeDetail.rollout" /> |
|
|
|
<van-cell title="交易方式" :value="noticeDetail.dealType" /> |
|
|
@@ -21,16 +24,27 @@ |
|
|
|
<van-cell title="转出年限" :value="noticeDetail.outStartTime+'至'+noticeDetail.outStopTime" /> |
|
|
|
<van-cell title="成交价格" :value="noticeDetail.dealMoney+noticeDetail.unit" /> |
|
|
|
<van-cell title="成交金额" :value="noticeDetail.dealMoneySum" /> |
|
|
|
</template> |
|
|
|
<div v-if="noticeDetail.projectStatus == '3'"> |
|
|
|
<van-divider>附件</van-divider> |
|
|
|
<van-cell :title="item.fileName" :url="'/api'+item.fileUrl" is-link v-for="(item,index) in attachmentQueryList"> |
|
|
|
<!-- 使用 right-icon 插槽来自定义右侧图标 --> |
|
|
|
<template #icon> |
|
|
|
<img src="../../assets/images/file_icon.png" style="display: block;width: 24px;margin-right: 5px;" alt=""> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { noticeDetails } from "@/api/notice/index"; |
|
|
|
import {attachmentQuery, noticeDetails} from "@/api/notice/index"; |
|
|
|
export default { |
|
|
|
name: "noticeDetail", |
|
|
|
data() { |
|
|
|
return { |
|
|
|
noticeDetail:'' |
|
|
|
noticeDetail:'', |
|
|
|
attachmentQueryList:[] |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
@@ -60,6 +74,15 @@ export default { |
|
|
|
this.getDicts("price_unit").then(res => { |
|
|
|
this.noticeDetail.unit = this.selectDictLabel(res.data,response.data.unit); |
|
|
|
}); |
|
|
|
let query = { |
|
|
|
tableName: 't_transaction_deal_publicity', |
|
|
|
bizPath: 'transaction', |
|
|
|
tableId:this.$route.query.id, |
|
|
|
fileType:'' |
|
|
|
} |
|
|
|
attachmentQuery(query).then(response => { |
|
|
|
this.attachmentQueryList = response.rows; |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|