Commit d37b111c authored by 吴冠's avatar 吴冠

修改

parent 311fb28f
......@@ -8,7 +8,7 @@
</div>
<!-- 标题 -->
<div class="title">
<div class="flex-center">{{title}}</div>
<div>{{title}}</div>
</div>
<div v-if="state">
<div v-html="detail.content"></div>
......@@ -41,7 +41,9 @@ export default {
projectName: '',
detail: '',
msg: '',
state: true
state: true,
title:'',
};
},
methods: {
......@@ -53,6 +55,8 @@ export default {
const { data, code, msg } = await cadidate(projectId);
if (code == 200) {
this.detail = data;
this.title = data.title
} else {
this.msg = msg;
this.state = false;
......@@ -82,7 +86,9 @@ export default {
.enclosure {
margin: 20px 0;
}
.title{
margin-top:50px;
.title>div{
/* display: flex;
justify-content: center; */
text-align:center
}
</style>
\ No newline at end of file
<template>
<div class="message">
xxxxxxxxx
<!-- 基本信息 -->
<div>
<div class="describe">基本信息</div>
......
......@@ -599,7 +599,7 @@
},
// 开标提示
confirm() {
this.$alert('请立即开标', '请立即开标', {
/* this.$alert('请立即开标', '请立即开标', {
confirmButtonText: '知道了',
callback: action => {
if (action === 'confirm') {
......@@ -607,7 +607,8 @@
this.getstartInfo()
}
}
})
}) */
console.log('11111')
},
// websocket
createWebSocket() {
......
......@@ -70,7 +70,7 @@ export default {
tableData: [],
columns: [
{
label: '澄清问题标题',
label: '澄清公告标题',
prop: 'title'
},
{
......@@ -83,7 +83,7 @@ export default {
sortable: true
},
{
label: '提出人',
label: '采购商',
prop: 'bidCompanyName'
},
{
......
......@@ -53,8 +53,8 @@
<el-input v-model.trim="ruleForm.deadline" placeholder="请输入" maxlength="30"></el-input>
</el-form-item>
</div>
<el-form-item label="合同文件:" prop="file">
<singleUpload :limit="1" :max="100" accept=".pdf" tip="支持上传一个pdf格式文件,大小不超过100M" @input="getfile" :fileList="ruleForm.contractFileName"></singleUpload>
<el-form-item label="合同文件:" >
<singleUpload :limit="1" :max="100" tip="支持上传一个pdf格式文件,大小不超过100M" @input="getfile" :fileList="ruleForm.contractFileName"></singleUpload>
</el-form-item>
<el-form-item label="其他附件:">
<singleUpload :limit="3" :max="100" tip="支持上传三份附件,大小不超过100M" @input="getfile1" :fileList="ruleForm.fileList"></singleUpload>
......@@ -120,11 +120,6 @@
required: true,
message: '请输入',
trigger: 'blur'
}],
file: [{
required: true,
message: '请输入',
trigger: 'blur'
}],
}
}
......@@ -184,11 +179,10 @@
},
created() {
let type = this.$router.query.type
/* type为1 查看详情*/
/* let type = this.$router.params.type
if(type=='2'){
this.contractDetails()
}
} */
this.projectCode = localStorage.getItem("projectCode");
this.projectName = localStorage.getItem("projectName");
}
......
......@@ -73,7 +73,7 @@ export default {
this.getGenerateNumber();
this.resultId=this.$route.query.id;
this.money=this.$route.query.money
this.winDate=this.$route.query.winDate.substring(0,10)
this.winDate=this.$route.query.winDate.split(" ")[0]
this.projectCode=localStorage.getItem("projectCode")
this.projectName=localStorage.getItem("projectName")
},
......
......@@ -24,7 +24,7 @@
</div>
<!-- 招标文件上传 -->
<div class="fileUpload">
<fileUpload ref="fileUpload" :ruleForm="detail"></fileUpload>
<fileUpload ref="fileUpload" :ruleForm="detail" :limit="3"></fileUpload>
</div>
</div>
<div class="centerButton ">
......
......@@ -35,7 +35,7 @@
</div>
<!-- 招标文件上传 -->
<div v-show="activeIdx==3" class="fileUpload">
<fileUpload :all-form="allForm"></fileUpload>
<fileUpload :all-form="allForm" :limit="3"></fileUpload>
</div>
</div>
......
......@@ -24,7 +24,7 @@
</div>
<!-- 招标文件上传 -->
<div class="fileUpload">
<fileUpload ref="fileUpload" :ruleForm="detail"></fileUpload>
<fileUpload ref="fileUpload" :ruleForm="detail" :limit="3"></fileUpload>
</div>
</div>
<div class="centerButton">
......
......@@ -68,7 +68,7 @@ export default {
], //
changeIndex: '0',
navs: ['开标大厅消息', '对话消息'],
breads: ['招标管理', '招标项目管理', '工作台'],
breads: ['投标管理', '我参与的项目', '工作台'],
behaviorList: [],
behavior: [
{
......
......@@ -17,14 +17,14 @@
<div>澄清问题内容:</div>
<div v-html="questiondetail.content"></div>
</div>
<!-- <div class="flex clear-item">
<div class="flex clear-item">
<div>问题发布时间</div>
<div>{{questiondetail.createTime}}</div>
<div>{{questiondetail.startTime}}</div>
</div>
<div class="flex clear-item">
<div>澄清回复截止时间</div>
<div>{{questiondetail.endTime}}</div>
</div> -->
</div>
<div class="flex">
<div>澄清问题附件:</div>
<ul>
......
......@@ -29,7 +29,7 @@
</div>
<div class="hal-center" v-chat-scroll>
<ul>
<li v-for="(item, index) in halList" :key="index" class="flex-item">
<li v-for="(item, index) in halList" :key="index" class="flex-item textheight">
<div>{{ item.time }}</div>
<div>{{ item.role }}</div>
<div>{{ item.name }}</div>
......@@ -49,8 +49,8 @@
>
</div>
<!-- 在线对话 -->
<div class="dialogue" style="margin-top: 30px" v-show="dialogue">
<JwChat :taleList="dialogueList" scrollType="scroll" @enter="bindEnter" v-model="content" :toolConfig="tool">
<div class="dialogue" style="margin-top: 30px" v-show="dialogue" id="msg">
<JwChat :taleList="dialogueList" scrollType="scroll" @enter="bindEnter" v-model="content" :toolConfig="tool" >
<el-button slot="tools" style="float: right" class="abs" @click="dialogue = false">关闭聊天框</el-button>
</JwChat>
</div>
......@@ -335,6 +335,11 @@ export default {
const content = this.content;
if (!content) return;
this.websocket.send(content);
this.$nextTick(() => {
let msg = document.getElementsByClassName('dialogue') // 获取对象
msg.scrollTop = msg.scrollHeight // 滚动高度
})
},
back() {
this.$router.go(-1);
......@@ -482,8 +487,8 @@ export default {
.dialogue {
position: absolute;
top: 10%;
right: 10%;
top: 5%;
right: 26%;
border: 1px solid #cccccc;
padding: 10px;
}
......@@ -573,5 +578,10 @@ export default {
margin-right: 50px;
margin-bottom: 30px;
}
.textheight{
line-height:20.8px;
display: flex;
justify-content: center;
}
</style>
......@@ -47,11 +47,12 @@
<div>*公告发布媒体:</div>
<div>捷安采官网招投标专区</div>
</div>
<div class="flex-item clear-item" v-if="clarifieslist.length>0">
<div class="flex-item clear-item" > <!-- v-if="clarifieslist.length>0" -->
<div>澄清问题附件:</div>
<ul>
<li v-for="item in clarifies.clarifieslist" :key="item.id">
<a :href="item.accessoryUrl">{{ item.fileName }}</a>
<!-- <li v-for="item in clarifies.clarifiesAccessoryList" :key="item.id"> -->
<li >
<a :href="clarifies.clarifiesAccessoryList.accessoryUrl">{{ clarifies.clarifiesAccessoryList.fileName }}</a>
<!-- <span>{{item.fileName}}</span>
<el-button @click="down(item.accessoryUrl)">下载</el-button> -->
</li>
......
......@@ -106,7 +106,7 @@
} = await bidBooklist(message)
if (code === 200) {
for(let item of data){
item.fileSize=(item.fileSize/1024).toFixed(0)+"MB"
item.fileSize=(item.fileSize/1024/1024).toFixed(0)+"MB"
}
this.files = data
}
......
......@@ -16,7 +16,7 @@
<div>
<div v-if="!state">投标状态:待递交投标文件</div>
<div v-else>投标状态:投标文件递交成功</div>
<div>投标文件成功递交时间:{{form.updateTime}}</div>
<div>投标文件成功递交时间:{{updateTime}}</div>
</div>
<div>
<div>投标截止(开标)时间:{{openBidTime}}</div>
......@@ -95,6 +95,7 @@
}
};
return {
updateTime:'',
title:"递交",
compareTime:"",
openBidTime:"",
......@@ -156,7 +157,8 @@
data,
code
} = await timeInfo(projectId)
this.openBidTime=data.openBidTime
this.openBidTime=data.openBidTime
this.updateTime = data.updateTime
},
// 获取文件列表
async getbidBooks(projectId) {
......
......@@ -9,16 +9,15 @@
<div>项目名称:{{projectName}}</div>
</div>
<div v-if="state" class="flex-between">
<div>日期:{{createTime}}</div>
<div>招标结果通知书编号:{{resultId}}</div>
<div>日期:{{detail.createTime}}</div>
<div>招标结果通知书编号:{{detail.resultId}}</div>
</div>
<div v-if="state">
<div class="flex" >
<div style="margin-right: 20px;">附件:</div>
<ul>
<li v-for="(item, i) in detail" :key="i">
<a href="item.resultBookUrl">{{ item.resultBookName }}</a>
</li>
<!-- <li v-for="(item, i) in detail" :key="i"> -->
<a :href=detail.resultBookUrl>{{ detail.resultBookName }}</a>
</ul>
<!-- <div style="margin-right: 20px;">附件:中标通知书.pdf</div>
<el-button size="mini">下载</el-button> -->
......@@ -50,10 +49,8 @@ export default {
navs: ['招标结果通知书'],
projectCode:"",
projectName:"",
detail:"",
detail:[],
state:true,
createTime:'',
resultId:''
}
},
methods: {
......@@ -71,8 +68,8 @@ export default {
if(code==200){
this.detail=data
this.createTime = data.createTime.substring(0,10)
this.resultId=data.resultId
/*this.createTime = data.createTime .substring(0,10) */
/* this.resultId=data.resultId */
}else{
this.state=false
}
......
......@@ -67,7 +67,7 @@
},
data() {
return {
isPaymentDays: "false",
isPaymentDays: "",
users: [],
dialogFormVisible: false,
breads: ['投标管理', '在线报名', '报名'],
......
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