Commit 55f783e5 authored by 吴冠's avatar 吴冠

ad

parent d37b111c
......@@ -193,3 +193,10 @@ export function getMessagephone(){
url:'/company/customService',
method:'get',
})}
/* 获取参与开标 */
export function getBidOpening(projectId){
return request({
url:`/tender/isSubmitBidFile/${projectId}`,
method:'get',
})}
\ No newline at end of file
<template>
<div class="hello">
<el-upload
v-loading="loading"
:http-request="handleUpload"
:on-preview="handlePreview"
:on-remove="handleRemove"
......
......@@ -54,7 +54,7 @@ export default {
projectName: '',
Bidderlist: [],
detail: '',
breads: ['招标管理 ', '在线报名', '询价公告'],
breads: ['招标管理 ', '招标项目管理', '工作台'],
columns: [
{
label: '标的名称',
......
......@@ -20,9 +20,10 @@
<div class="flex-item clear-item" v-if='questionlist.length>0'>
<div>*澄清问题附件:</div>
<ul>
<li v-for="item in questionlist" :key="item.id">
<span>{{item.fileName}}</span>
<el-button @click="down(item.accessoryUrl)">下载</el-button>
<li >
<a :href="question.clarifiesAccessoryList.accessoryUrl">{{ question.clarifiesAccessoryList.fileName }}</a>
<!-- <span>{{item.fileName}}</span>
<el-button @click="down(item.accessoryUrl)">下载</el-button> -->
</li>
</ul>
</div>
......@@ -108,7 +109,6 @@ export default {
this.clarifieslist=data.noticeClarifiesDO
this.question=data.clarifiesDO
this.questionlist=data.clarifiesAccessoryList
},
// 问题详情
async getquestionDetail(id) {
......
......@@ -106,7 +106,7 @@
} = await bidBooklist(message)
if (code === 200) {
for(let item of data){
item.fileSize=(item.fileSize/1024/1024).toFixed(0)+"MB"
item.fileSize=(item.fileSize/1024/1024).toFixed(2)+"MB"
}
this.files = data
}
......
......@@ -32,6 +32,7 @@
import { projectConsole } from '@api/purchaser/bid';
import dataBreadcrumb from '@components/dataBreadcrumb.vue';
import changeNav from '@components/changeNav.vue';
import {getBidOpening} from '@api/common/list.js'
export default {
components: {
dataBreadcrumb,
......@@ -222,8 +223,19 @@ export default {
}
return newlabel;
},
jump(mods) {
async jump(mods) {
if (mods.bright) {
/* 参与开标状态 code为200 通行 code为500 返回一个信息 不通行 */
if(mods.buttonId==58){
const {data,code,msg} = await getBidOpening()
if(code==200){
this.$message.success(msg)
return true
}else{
this.$message.error(msg)
return false
}
}
this.$router.push(mods.url);
}
},
......@@ -249,6 +261,7 @@ export default {
item1.url = this.geturl(item1.url, item2.status);
item1.label = this.getlabel(item1.label, item2.status);
}
}
}
}
......
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