Commit 2ec44586 authored by 吴冠's avatar 吴冠

所有公告

parent 5b871f41
......@@ -3,7 +3,7 @@ import request from '@/utils/request.js'
//询价公告列表
export function getInquiryList(data){
return request({
url:"/notice/list?noticeType=ENQUIRY",
url:"/notice/list",
method:'post',
data:data
})
......@@ -11,7 +11,7 @@ export function getInquiryList(data){
//候选人公告列表
export function getCadidateList(data){
return request({
url:"/notice/list?noticeType=CADIDATE",
url:"/notice/list",
method:'post',
data:data
})
......@@ -26,7 +26,7 @@ export function getCadidateDetails(id){
//变更公告列表
export function getChangeList(data){
return request({
url:"/notice/list?noticeType=CHANGE",
url:"/notice/list",
method:'post',
data:data
})
......@@ -34,7 +34,7 @@ export function getChangeList(data){
//流标公告列表
export function getErrorList(data){
return request({
url:"/notice/list?noticeType=ABORTIVE",
url:"/notice/list",
method:'post',
data:data
})
......@@ -55,7 +55,7 @@ export function getenquirydetails(id){
}
export function getBidingList(data){
return request({
url:'/notice/list?noticeType=BIDDING',
url:'/notice/list',
method:'post',
data:data
})
......@@ -77,7 +77,7 @@ export function getWindetails(id){
//中标列表页
export function getWinList(data){
return request({
url:"/notice/list?noticeType=WIN",
url:"/notice/list",
method:'post',
data:data
})
......@@ -85,7 +85,7 @@ export function getWinList(data){
//补充答疑列表页
export function getClerList(data){
return request({
url:"/notice/list?noticeType=CLARIFIES",
url:"/notice/list",
method:'post',
data:data
})
......
<template>
<div>
<div class="str">
<div class="header">
<span class="header-nav">项目名称:{{itemTitle}}</span>
<span class="header-nav">项目编号:{{itemCode}}</span>
<span>发布日期:{{itemTime}}</span>
</div>
<h2>{{itemTitle}}</h2>
<div class="form">
<div class="form" v-html="contentList">
<div>
<div>公告名称:</div>
<div>{{itemTime}}</div>
......@@ -53,6 +53,7 @@ import {getErrorDetails} from "@/common/list.js"
export default {
data(){
return{
contentList:[],
itemTitle:'定州市集中供热工程2020年预制直埋保温管及管道采购',
itemCode:'l1301000075017553011',
itemTime:'2020年07月30号',
......@@ -76,6 +77,9 @@ export default {
async getErrorDetails(id){
console.log(id+"-----------------")
const {data} = await getErrorDetails(id)
this.itemTitle = data.title
this.itemCode = data.projectId
this.contentList = data.content
}
}
}
......@@ -123,4 +127,7 @@ h2{
font-size: 10px;
color: #000000
}
.str{
width:9.2rem
}
</style>
\ No newline at end of file
......@@ -6,7 +6,7 @@
<span>发布日期:{{itemTime}}</span>
</div>
<h2>{{itemTitle}}</h2>
<div class="form">
<div class="form" v-html="contentList">
<div>
<div>公告名称:</div>
<div>{{itemTime}}</div>
......@@ -53,6 +53,7 @@ import {getClerDetailsList} from "@/common/list.js"
export default {
data(){
return{
contentList:[],
itemTitle:'定州市集中供热工程2020年预制直埋保温管及管道采购',
itemCode:'l1301000075017553011',
itemTime:'2020年07月30号',
......@@ -76,6 +77,9 @@ export default {
async getClerDetailsList(id){
console.log(id+"-----------------")
const {data} = await getClerDetailsList(id)
this.itemTitle = data.title
this.itemCode = data.projectId
this.contentList = data.content
}
}
}
......
......@@ -68,6 +68,7 @@ import {getErrorList} from '@/common/list.js'
let message = {}
message.size = 10
message.currentPage = 1
message.noticeType = "ABORTIVE"
this.industryList()
this.getErrorList(message)
},
......
......@@ -67,6 +67,7 @@ import citySelect from "@/components/citySelect.vue";
let message = {}
message.size = 10
message.currentPage = 1
message.noticeType = 'BIDDING'
this.getBidingList(message)
this.industryList()
},
......
......@@ -90,6 +90,7 @@ export default {
let message = {}
message.size = 10
message.currentPage = 1
message.noticeType = "WIN"
this.getWinList(message);
this.industryList();
},
......
......@@ -68,6 +68,7 @@ import {getCadidateList} from '@/common/list.js'
let message = {}
message.size = 10
message.currentPage = 1
message.noticeType="CADIDATE"
this.industryList()
this.getCadidateList(message)
},
......
<template>
<div>
<div class="sty">
<div class="header">
<span class="header-nav">项目名称:{{itemTitle}}</span>
<span class="header-nav">项目编号:{{itemCode}}</span>
<span>发布日期:{{itemTime}}</span>
</div>
<h2>{{itemTitle}}</h2>
<div class="form">
<div class="form" v-html="contentList">
<div>
<div>公告名称:</div>
<div>{{itemTime}}</div>
......@@ -53,6 +53,7 @@ import {getCadidateDetails} from '@/common/list.js'
export default {
data(){
return{
contentList:[],
itemTitle:'定州市集中供热工程2020年预制直埋保温管及管道采购',
itemCode:'l1301000075017553011',
itemTime:'2020年07月30号',
......@@ -73,6 +74,10 @@ export default {
methods:{
async getCadidateDetails(id){
const {data} = await getCadidateDetails(id)
this.itemTitle = data.title
this.itemCode = data.projectId
this.itemTime = data.createTime
this.contentList = data.content
console.log(data)
}
}
......@@ -121,4 +126,6 @@ h2{
font-size: 10px;
color: #000000
}
</style>
\ No newline at end of file
.sty{
width:9.2rem
}</style>
\ No newline at end of file
......@@ -68,6 +68,7 @@ import {getChangeList} from '@/common/list.js'
let message = {}
message.size = 10
message.currentPage = 1
message.noticeType = "CHANGE"
this.industryList()
this.getChangeList(message)
},
......
......@@ -68,6 +68,7 @@ import {getClerList} from '@/common/list.js'
let message = {}
message.size = 10
message.currentPage = 1
message.noticeType = "CLARIFIES"
this.industryList()
this.getClerList(message)
},
......
......@@ -122,6 +122,7 @@ export default {
let message={};
message.size=10
message.currentPage=1
message.noticeType = "enquiry"
this.getInquiryList(message);
this.industryList();
},
......
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