Commit bf2dfdae authored by 张冬's avatar 张冬

修改地址,问题

parent 21085428
......@@ -120,3 +120,19 @@ export function inqueryinfo(projectId) {
method: 'get'
})
}
// 查看询价公告(通过项目id)
export function enquiryProjectId(projectId) {
return request({
url: `/notice/enquiry?projectId=${projectId}`,
method: 'get'
})
}
// 查看招标公告(通过项目id)
export function biddingProjectId(projectId) {
return request({
url: `notice/bidding?projectId=${projectId}`,
method: 'get'
})
}
......@@ -23,13 +23,7 @@ export function createEnquiry(data) {
data: data
})
}
// 查看询价公告(通过项目id)
export function enquiryProjectId(projectId) {
return request({
url: `/notice/enquiry?projectId=${projectId}`,
method: 'get'
})
}
// 发送招标公告
export function bidMessage(data) {
......
import request from '@/utils/request'
// 首页
export function home() {
return request({
url: "tender-project/index",
......
......@@ -27,7 +27,7 @@
<el-radio-group v-model="scope.row.free">
<el-radio :label="true">免费</el-radio>
<el-radio :label="false">收费</el-radio>
<el-input-number v-model="scope.row.pric" v-show="scope.row.free==false" :min="0" :controls="false" :precision="2" placeholder="价格(元)" ></el-input-number>
<el-input-number v-model="scope.row.price" v-show="scope.row.free==false" :min="0" :controls="false" :precision="2" placeholder="价格(元)" ></el-input-number>
</el-radio-group>
</template>
</el-table-column>
......
......@@ -93,14 +93,14 @@ export default {
}
},
join(){
window.location.href="http://192.168.200.201:8081/"
window.location.href="http://60.205.251.80:8081/"
// window.location.href=" http://localhost:3000/"
},
// 用户名下拉菜单选择事件
handleCommand(command) {
localStorage.removeItem("token")
setTimeout(()=>{
window.location.href=" http://192.168.200.201:8081"
window.location.href=" http://60.205.251.80:8081"
// window.location.href=" http://localhost:3000/"
},1000)
......
<template>
</template>
<script>
</script>
<style>
</style>
<template>
<div >
<h1>{{projectName}}在线询价公告</h1>
<div class="flex-center">
<h6 style="margin-right:60px;margin-top:30px">询价所在地:{{detail.area}}</h6>
<h6 style="margin-buttom:60px;margin-top:30px">日期:{{detail.createTime.substring(0,10)}}</h6>
</div>
<div class="form">
<h3 style="margin-buttom:30px">基本信息</h3>
<table border="0" width="100%" height="120px">
<tr>
<td>询价单编号</td>
<td>{{detail.inquiryCode}}</td>
<td>采购目录</td>
<td>{{detail.purchaseCategory}}</td>
<td>项目优先级</td>
<td>{{detail.priority==0?"普通":"紧急"}}</td>
</tr>
<tr>
<td>报价开始时间</td>
<td>{{detail.startTime}}</td>
<td>报价截止时间</td>
<td>{{detail.endTime}}</td>
<td>采购单位</td>
<td>{{detail.purchaseAgent}}</td>
</tr>
<tr>
<td>采购单位联系人</td>
<td>{{detail.contact}}</td>
<td>联系方式</td>
<td>1{{detail.contactPhone}}</td>
<td>传真号码</td>
<td>{{detail.facsimile}}</td>
</tr>
</table>
<div class="appendix ">
<div>预算金额(元)</div>
<div>{{detail.budget}}</div>
</div>
<h3>供应商要求 </h3>
<div class="appendix ">
<div>供应商规模要求</div>
<div>{{detail.supplierScale}}</div>
</div>
<div class="appendix ">
<div>供应商资格要求</div>
<div>{{detail.supplierQualification}}</div>
</div>
<div class="appendix ">
<div>供应商区域范围要求</div>
<div>{{detail.supplierRegion}}</div>
</div>
<h3>询价商品清单</h3>
<dataTable :table-data="detail.commodityVOList" :columns="columns"></dataTable>
<div class="appendix list pos">
<div>附件</div>
<ul v-if="detail.accessoryVOList" class="filelist">
<li v-for="(item,index) in detail.accessoryVOList" :key="index">
<a :href="item.accessoryUrl">{{item.fileName}}</a>
</li>
</ul>
<div v-else>无附件</div>
</div>
<h3>商务要求</h3>
<div class="appendix bus-require pos">
<div class="flex-center">
<p>商务要求</p>
</div>
<div v-html="detail.commercialRequirements"></div>
</div>
</div>
</div>
</template>
<script>
import {
getTime1
} from '@utils/time'
import {
enquiryProjectId
} from '@api/common/list'
import dataTable from '@components/nopageTable.vue'
export default {
components: {
dataTable,
},
data() {
return {
tableData:[],
projectName:"",
detail: "",
breads: ['投标管理 ', '在线报名', '询价公告'],
columns: [
{
label: '标的名称',
prop: 'bidName'
},
{
label: '数量',
prop: 'quantity'
},
{
label: '计量单位',
prop: 'unit'
},
{
label: '品牌',
prop: 'brand'
},
{
label: '规格型号',
prop: 'specification'
},
{
label: '标杆价(元)',
prop: 'price'
},
{
label: '备注',
prop: 'remark'
},
],
}
},
methods: {
// 获取详情
async getenquiryProjectId() {
let projectId = localStorage.getItem("projectId")
const {
data,
code
} = await enquiryProjectId(projectId)
data.endTime=getTime1(data.endTime)
data.startTime=getTime1(data.startTime)
this.detail = data
},
},
created() {
this.projectName=localStorage.getItem("projectName")
this.getenquiryProjectId()
}
}
</script>
<style scoped>
.filelist{
box-sizing: border-box;
padding:20px
}
.home {
padding: 30px;
background: #fff;
box-sizing: border-box;
/* margin-left:20px; */
}
.Tips {
color: #409EFF
}
.notice>h4 {
font-size: 16px;
font-weight: bold;
margin-right: 30px;
}
.notice {
margin: 20px 0;
border-bottom: 1px solid #ccc;
}
h2 {
/* margin-top:; */
margin-bottom: 10px;
}
h6 {
margin-bottom: 10px;
}
h1 {
display: flex;
justify-content: center;
}
.form {
padding: 20px;
box-sizing: border-box;
}
.form h3 {
margin-top: 20px;
margin-bottom: 20px;
font-weight: bold;
}
/* table>tr{
text-align: center;
} */
table {
border-collapse: collapse;
}
table>tr>td {
font-size: 16px;
border: 1px solid #ccc;
padding-left: 10px;
}
table>tr>td:nth-child(odd) {
background: #F0F0F0;
width: 160px;
}
.right-s {
padding-right: 200px;
}
.appendix {
display: flex;
border: 1px solid #ccc;
}
.appendix>div:first-child {
width: 172px;
border-right: 1px solid #ccc;
box-sizing: border-box;
padding-left: 10px;
}
.appendix>div:last-child {
padding-left: 10px;
}
.appendix>div:nth-child(odd) {
background: #F0F0F0
}
.appendix>div {
font-size: 16px;
line-height: 40px;
}
.list>:first-child {
height: 120px;
line-height: 120px;
}
.list {
margin-top: 20px;
}
.bus-require>div:first-child {
width: 400px;
}
.bus-require>div:last-child {
font-size: 10px;
}
.pos>div:first-child {
display: flex;
justify-content: center;
}
.last-pos {
margin-left: 40px;
margin-top: 20px;
}
.last-pos>div:first-child {
width: 65px;
}
input {
width: 100%;
height: 70px;
}
.home>h1 {
font-weight: bold;
}
</style>
......@@ -453,6 +453,7 @@ export default {
cityId: '',
districtId: '',
multipleSelection:[],
accessoryDOList:[],
companyVOList:[]
}
}
......@@ -482,7 +483,10 @@ export default {
},
// 接受上传文件
getfile(val) {
console.log(val)
for(let item of accessoryDOList){
item.accessory=item.fileUrll
}
this.ruleForm.accessoryDOList=val
},
// 获取邀请的供应商列表
getSelection(val) {
......
......@@ -5,120 +5,56 @@
<h3>查看询价公告</h3>
<h5>查看询价公告</h5>
</div>
<div class="home">
<h1>{{projectName}}在线询价公告</h1>
<div class="flex-center">
<h6 style="margin-right:60px;margin-top:30px">询价所在地:苍南县</h6>
<h6 style="margin-buttom:60px;margin-top:30px">日期:{{detail.createTime.substring(0,10)}}</h6>
</div>
<div class="form">
<h3 style="margin-buttom:30px">基本信息</h3>
<table border="0" width="100%" height="120px">
<tr>
<td>询价单编号</td>
<td>{{detail.inquiryCode}}</td>
<td>采购目录</td>
<td>{{detail.purchaseCategory}}</td>
<td>项目优先级</td>
<td>{{detail.priority==0?"普通":"紧急"}}</td>
</tr>
<tr>
<td>报价开始时间</td>
<td>{{detail.startTime}}</td>
<td>报价截止时间</td>
<td>{{detail.endTime}}</td>
<td>采购单位</td>
<td>{{detail.purchaseAgent}}</td>
</tr>
<tr>
<td>采购单位联系人</td>
<td>{{detail.contact}}</td>
<td>联系方式</td>
<td>1{{detail.contactPhone}}</td>
<td>传真号码</td>
<td>{{detail.facsimile}}</td>
</tr>
</table>
<div class="appendix ">
<div>预算金额(元)</div>
<div>{{detail.budget}}</div>
</div>
<div class="appendix ">
<div>成交规则及确认方式</div>
<div>自动成交</div>
</div>
<h3>供应商要求 </h3>
<div class="appendix ">
<div>供应商规模要求</div>
<div>{{detail.supplierScale}}</div>
</div>
<div class="appendix ">
<div>供应商资格要求</div>
<div>{{detail.supplierQualification}}</div>
</div>
<div class="appendix ">
<div>供应商区域范围要求</div>
<div>{{detail.supplierRegion}}</div>
</div>
<h3>询价商品清单</h3>
<dataTable :table-data="detail.commodityVOList" :columns="columns"></dataTable>
<div class="appendix list pos">
<div>附件</div>
<ul v-if="detail.accessoryVOList">
<li v-for="(item,index) in detail.accessoryVOList" :key="index">
<div @click="down(item.accessoryUrl)">{{item.fileName}}</div>
</li>
</ul>
<div v-else>无附件</div>
</div>
<h3>商务要求</h3>
<div class="appendix bus-require pos">
<div class="flex-center">
<p>商务要求</p>
</div>
<div v-html="detail.commercialRequirements"></div>
</div>
<div class="button">
<el-button type="primary" @click="back">返回</el-button>
</div>
<div class="content">
<priceDetail></priceDetail>
<div class='form'>
<h3>参与报价供应商情况</h3>
<dataTable :table-data="Bidderlist" :columns="offerBiddercolumns" :is-index="true">
<el-table-column slot="operate" label="操作" align="center" fixed="right" width="200">
<template slot-scope="scope">
<el-button type="text" size="small" @click="see(scope.row)">查看中标公告</el-button>
<el-button type="text" size="small" @click="see(scope.row.projectId)">查看中标公告</el-button>
</template>
</el-table-column>
</dataTable>
<div class="centerButton">
<el-button type="primary" @click="back">返回</el-button>
</div>
</div>
</div>
<el-dialog title="收货地址" :visible.sync="dialogFormVisible">
<dataTable :table-data="tableData" :columns="columns"></dataTable>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false">取 消</el-button>
<el-button type="primary" @click="dialogFormVisible = false">确 定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {
offerBidderlist,
commoditylist
} from '@api/supply/bid'
import {
getTime1
} from '@utils/time'
import {
enquiryProjectId
} from '@api/purchaser/bid'
import priceDetail from '@components/detail/priceDetail.vue'
import dataTable from '@components/nopageTable.vue'
import breadCrumb from '@components/dataBreadcrumb.vue'
export default {
components: {
dataTable,
breadCrumb
breadCrumb,
priceDetail
},
data() {
return {
projectName:"",
dialogFormVisible: false,
tableData: [],
projectName: "",
Bidderlist: [],
detail: "",
dialogFormVisible: false,
breads: ['投标管理 ', '在线报名', '询价公告'],
columns: [
......@@ -171,24 +107,9 @@
}
},
methods: {
time(data) {
getTime1(data)
},
back() {
this.$router.go(-1)
},
// 获取详情
async getenquiryProjectId() {
let projectId = localStorage.getItem("projectId")
const {
data,
code
} = await enquiryProjectId(projectId)
data.endTime=getTime1(data.endTime)
data.startTime=getTime1(data.startTime)
this.detail = data
},
// 参与报价的供应商的情况
async getofferBidderlist() {
let projectId = localStorage.getItem("projectId")
......@@ -197,159 +118,24 @@
} = await offerBidderlist(projectId)
this.Bidderlist = data
},
see() {
async see(id) {
const {
data,
code
} = await commoditylist(id)
this.dialogFormVisible = true
this.tableData = data
}
},
created() {
this.projectName=localStorage.getItem("projectName")
this.getenquiryProjectId()
this.getofferBidderlist()
}
}
</script>
<style scoped>
.Tips {
color: #409EFF
}
.notice>h4 {
font-size: 16px;
font-weight: bold;
margin-right: 30px;
}
.notice {
margin: 20px 0;
border-bottom: 1px solid #ccc;
}
h2 {
/* margin-top:; */
margin-bottom: 10px;
}
h6 {
margin-bottom: 10px;
}
.home {
padding: 30px;
background: #fff;
box-sizing: border-box;
/* margin-left:20px; */
}
h1 {
display: flex;
justify-content: center;
}
.form {
padding: 20px;
box-sizing: border-box;
}
.form h3 {
margin-top: 20px;
margin-bottom: 20px;
font-weight: bold;
}
/* table>tr{
text-align: center;
} */
table {
border-collapse: collapse;
}
table>tr>td {
font-size: 16px;
border: 1px solid #ccc;
padding-left: 10px;
}
table>tr>td:nth-child(odd) {
background: #F0F0F0;
width: 160px;
}
.right-s {
padding-right: 200px;
}
.appendix {
display: flex;
border: 1px solid #ccc;
}
.appendix>div:first-child {
width: 172px;
border-right: 1px solid #ccc;
box-sizing: border-box;
padding-left: 10px;
}
.appendix>div:last-child {
padding-left: 10px;
}
.appendix>div:nth-child(odd) {
background: #F0F0F0
}
.appendix>div {
font-size: 16px;
line-height: 40px;
}
.list>:first-child {
height: 120px;
line-height: 120px;
}
.list {
margin-top: 20px;
}
.bus-require>div:first-child {
width: 400px;
}
.bus-require>div:last-child {
font-size: 10px;
}
.pos>div:first-child {
display: flex;
justify-content: center;
}
.last-pos {
margin-left: 40px;
margin-top: 20px;
}
.last-pos>div:first-child {
width: 65px;
}
input {
width: 100%;
height: 70px;
}
.button {
width: 100px;
margin: 50px auto
}
.home>h1 {
font-weight: bold;
}
</style>
......@@ -12,7 +12,6 @@
<p class="right_mes">
发布日期:2020年07月30日
</p>
</div>
<h1>清河县京九线以东天然气供气工程招标公告</h1>
<div class="content_list">
......@@ -142,6 +141,9 @@
</template>
<script>
import {
biddingProjectId
} from '@api/common/list'
import dataBreadcrumb from '@components/dataBreadcrumb.vue'
export default {
components: {
......@@ -155,7 +157,19 @@ export default {
methods: {
back() {
this.$router.go(-1)
}
},
// 获取详情
async getbiddingProjectId() {
let projectId = localStorage.getItem("projectId")
const {
data,
code
} = await biddingProjectId(projectId)
this.detail = data
},
},
created() {
this.getbiddingProjectId()
}
}
</script>
......
......@@ -4,7 +4,7 @@
<dataBreadcrumb :breads="breads"></dataBreadcrumb>
<changeNav :navs="navs" @getIndex="getIndex"></changeNav>
<div class="absolute">
<el-button type="primary" @click="out">提出澄清</el-button>
<el-button type="primary" @click="out">提出问题</el-button>
</div>
<div v-show="idx==0">
<dataTable :columns="columns" :page-obj="pageObj" url="bidder-clarifies/list">
......
......@@ -76,8 +76,9 @@
<div class="Tips">
图使馆招标公告(2020-07-30)
</div>
<div class="button">
<div class="centerButton">
<el-button type="primary" @click="dialogFormVisible = true">我要报价</el-button>
<el-button type="primary" @click="see">查看报价供应商情况</el-button>
</div>
</div>
</div>
......@@ -167,6 +168,10 @@
}
},
methods: {
see(){
this.offerBidder = true
this.getofferBidderlist()
},
Prev() {
this.$router.push('/supply/Join_items/work_place/all_content')
......@@ -224,7 +229,8 @@
if(code==200){
this.$message.success(msg)
this.dialogFormVisible=false
this.offerBidder=true
}else{
this.$message.error(msg)
}
} catch (e) {
console.log(e)
......@@ -234,7 +240,6 @@
created() {
this.getNoticeEnquiry();
this.getcommoditylist();
this.getofferBidderlist();
}
}
</script>
......@@ -373,8 +378,4 @@
height: 70px;
}
.button {
width: 100px;
margin: 50px auto
}
</style>
......@@ -5,8 +5,8 @@ import { Message, MessageBox } from 'element-ui'
// 创建axios实例
const service = axios.create({
// baseURL: 'http://192.168.200.201:8082/apis',
baseURL: 'http://192.168.3.35:8085/apis',
baseURL: 'http://60.205.251.80:8082/apis',
// baseURL: 'http://192.168.3.35:8085/apis',
timeout: 35000 // 请求超时时间
})
......@@ -42,8 +42,8 @@ service.interceptors.response.use(
Message.error("登陆失效,请重新登录!")
localStorage.removeItem('token');
setTimeout(function () {
// location.href = 'http://192.168.200.201:8081/login/user/';
location.href = 'http://localhost:3000/login/user/';
location.href = 'http://60.205.251.80:8081/login/user/';
// location.href = 'http://localhost:3000/login/user/';
}, 2000);
}
}
......
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