Commit 5b871f41 authored by 吴冠's avatar 吴冠

优化中标候选人

parent 2ce1ab07
...@@ -97,7 +97,7 @@ import { ...@@ -97,7 +97,7 @@ import {
let message = {} let message = {}
message.cateId = keyValue message.cateId = keyValue
this.getListContent(message,keyValue) this.getListContent(message,keyValue)
this.isList = false
}, },
//分类列表 //分类列表
async getCategoryList(){ async getCategoryList(){
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
<div class="home"> <div class="home">
<div> <div>
<div class="header flex"> <div class="header flex">
<span>项目名称:图书馆影视空间装修改造</span> <span>项目名称:{{itemTitle}}</span>
<span>项目编号:l1301000075024147001</span> <span>项目编号:{{itemCode}}</span>
</div> </div>
<div class="home"> <h2>{{itemTitle}}</h2>
<h2>图书馆影视空间装修改造更正公告</h2> <div class="home" v-html="contentList">
<h3>一、项目基本情况</h3> <h3>一、项目基本情况</h3>
<div> <div>
<div>原公告的采购项目编号:TSLT-2020-121</div> <div>原公告的采购项目编号:TSLT-2020-121</div>
...@@ -29,6 +29,15 @@ ...@@ -29,6 +29,15 @@
<script> <script>
import {getChangeDetails} from '@/common/list.js' import {getChangeDetails} from '@/common/list.js'
export default { export default {
data(){
return{
contentList:[],
itemTitle:'',
itemCode:'',
}
},
mounted(){ mounted(){
let id = this.$route.query.id let id = this.$route.query.id
console.log(id) console.log(id)
...@@ -37,6 +46,9 @@ export default { ...@@ -37,6 +46,9 @@ export default {
methods:{ methods:{
async getChangeDetails(id){ async getChangeDetails(id){
const {data} = await getChangeDetails(id) const {data} = await getChangeDetails(id)
this.itemTitle = data.title
this.itemCode = data.projectId
this.contentList = data.content
} }
}, },
} }
...@@ -44,14 +56,15 @@ export default { ...@@ -44,14 +56,15 @@ export default {
<style> <style>
h2{ h2{
margin:0 auto text-align: center;
} }
.header>span{ .header>span{
color:red; color:red;
margin-bottom: 30px; margin-bottom: 30px;
margin-left:20px
} }
h2,h3{ h2{
margin:0 auto margin-bottom: 50px;
} }
.home{ .home{
width:9.2rem width:9.2rem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment