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

ad

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