Commit 4fd45f8c authored by caixingbing's avatar caixingbing

*

parent f4f7c87b
...@@ -226,7 +226,13 @@ export const constantRoutes = [ ...@@ -226,7 +226,13 @@ export const constantRoutes = [
component: () => import('@/views/radar/Tender/details'), component: () => import('@/views/radar/Tender/details'),
name: 'TenderDetails', name: 'TenderDetails',
meta: { title: '公招标讯详情', icon: 'radar' } meta: { title: '公招标讯详情', icon: 'radar' }
} },
{
path: '/radar/Notice/details/:id',
component: () => import('@/views/radar/Tender/details'),
name: 'NoticeDetails',
meta: { title: '招标公告详情', icon: 'radar' }
}
] ]
}, },
{ {
......
...@@ -111,7 +111,11 @@ service.interceptors.response.use(res => { ...@@ -111,7 +111,11 @@ service.interceptors.response.use(res => {
} else if (message.includes("Request failed with status code")) { } else if (message.includes("Request failed with status code")) {
message = "系统接口" + message.substr(message.length - 3) + "异常"; message = "系统接口" + message.substr(message.length - 3) + "异常";
} }
Message({ message: message, type: 'error', duration: 5 * 1000 }) if(message=='数据正在处理,请勿重复提交'){ //重复提交,提示样式特殊处理
Message({ message: message, type: 'warning', duration: 5 * 1000 })
}else{
Message({ message: message, type: 'error', duration: 5 * 1000 })
}
return Promise.reject(error) return Promise.reject(error)
} }
) )
......
...@@ -62,6 +62,7 @@ export default { ...@@ -62,6 +62,7 @@ export default {
background: #FFFFFF; background: #FFFFFF;
padding: 14px 16px; padding: 14px 16px;
margin-top: 12px; margin-top: 12px;
border-radius: 4px;
.header-logo{ .header-logo{
width: 28px; width: 28px;
height: 28px; height: 28px;
......
...@@ -174,6 +174,7 @@ export default { ...@@ -174,6 +174,7 @@ export default {
min-height: calc(100vh - 170px); min-height: calc(100vh - 170px);
padding-bottom: 20px; padding-bottom: 20px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.side-input{ .side-input{
width: 128px; width: 128px;
margin-top: 16px; margin-top: 16px;
...@@ -189,6 +190,7 @@ export default { ...@@ -189,6 +190,7 @@ export default {
} }
} }
.el-icon-search{ .el-icon-search{
line-height: 34px;
color: #0081FF; color: #0081FF;
cursor: pointer; cursor: pointer;
} }
...@@ -204,6 +206,7 @@ export default { ...@@ -204,6 +206,7 @@ export default {
padding: 0 0 0 16px !important; padding: 0 0 0 16px !important;
text-align: initial !important; text-align: initial !important;
&:hover, &:focus, &.is-active{ &:hover, &:focus, &.is-active{
color: #0081FF !important;
background: linear-gradient(91deg, rgba(0,129,255,0.1) 0%, rgba(0,129,255,0) 100%);; background: linear-gradient(91deg, rgba(0,129,255,0.1) 0%, rgba(0,129,255,0) 100%);;
} }
.el-submenu__icon-arrow{ .el-submenu__icon-arrow{
......
<template> <template>
<div class="no-data"> <div class="no-data">
<div class="no-data-box"> <div class="no-data-box">
<img :src="noData" alt="暂时没有找到相关数据" /> <img :src="noData" alt="抱歉,没找到相关数据" />
<span>暂时没有找到相关数据</span> <div>抱歉,没找到相关数据</div>
<span v-if="condition">建议调整关键词或筛选条件,重新搜索</span>
</div> </div>
</div> </div>
</template> </template>
...@@ -11,7 +12,10 @@ ...@@ -11,7 +12,10 @@
export default { export default {
name: "NoData", name: "NoData",
props: { props: {
condition: {
type: Boolean,
default: false
}
}, },
data() { data() {
return { return {
...@@ -27,28 +31,30 @@ export default { ...@@ -27,28 +31,30 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.no-data { .no-data {
font-size: 14px; font-size: 14px;
font-family: Microsoft YaHei-Regular, Microsoft YaHei;
font-weight: 400;
color: #999999; color: #999999;
text-shadow: 0px 0px 10px rgba(0, 37, 106, 0.10000000149011612);
width: 100%; width: 100%;
height: 100%; height: 100%;
min-height: 140px; min-height: 120px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background: #ffffff; background: #ffffff;
border-radius: 0px 0px 0px 0px; //border: 1px solid #eeeeee;
opacity: 1;
border: 1px solid #eeeeee;
.no-data-box { .no-data-box {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
img { img {
width: 54px; width: 108px;
height: 69px; height: 109px;
margin-bottom: 16px; margin-bottom: 22px;
}
div{
font-size: 16px;
color: #333333;
}
span{
margin-top: 4px;
} }
} }
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<div v-else v-html="scope.row.agency || '--'"></div> <div v-else v-html="scope.row.agency || '--'"></div>
</template> </template>
<template slot="projectInfo" slot-scope="scope"> <template slot="projectInfo" slot-scope="scope">
<router-link :to="`/radar/Tender/details/${scope.row.projectInfo.bid}`" tag="a" class="a-link" v-if="scope.row.projectInfo.bid&&scope.row.projectInfo.dealTitle" v-html="scope.row.projectInfo.dealTitle"></router-link> <router-link :to="`/radar/Notice/details/${scope.row.projectInfo.bid}`" tag="a" class="a-link" v-if="scope.row.projectInfo.bid&&scope.row.projectInfo.dealTitle" v-html="scope.row.projectInfo.dealTitle"></router-link>
<div v-else v-html="scope.row.projectInfo.dealTitle || '--'"></div> <div v-else v-html="scope.row.projectInfo.dealTitle || '--'"></div>
<div v-if="scope.row.count>1" @click="handleClick($event, scope.row)" style="color: #FF7E38;cursor: pointer;">{{scope.row.count}}个合作项目/工程 ></div> <div v-if="scope.row.count>1" @click="handleClick($event, scope.row)" style="color: #FF7E38;cursor: pointer;">{{scope.row.count}}个合作项目/工程 ></div>
</template> </template>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<template slot="dealTitle" slot-scope="scope"> <template slot="dealTitle" slot-scope="scope">
<div class="flex-box"> <div class="flex-box">
<img class="tip-img" src="@/assets/images/detail/ico_pdf.png" v-if="scope.row.fileUrlL" @click="handlePic(scope.row.fileUrlL)"/> <img class="tip-img" src="@/assets/images/detail/ico_pdf.png" v-if="scope.row.fileUrlL" @click="handlePic(scope.row.fileUrlL)"/>
<router-link :to="`/radar/Tender/details/${scope.row.bid}`" tag="a" class="a-link" v-if="scope.row.bid&&scope.row.dealTitle" v-html="scope.row.dealTitle"></router-link> <router-link :to="`/radar/Notice/details/${scope.row.bid}`" tag="a" class="a-link" v-if="scope.row.bid&&scope.row.dealTitle" v-html="scope.row.dealTitle"></router-link>
<span v-else v-html="scope.row.dealTitle || '--'"></span> <span v-else v-html="scope.row.dealTitle || '--'"></span>
</div> </div>
</template> </template>
......
...@@ -218,5 +218,6 @@ export default { ...@@ -218,5 +218,6 @@ export default {
min-width: 1088px; min-width: 1088px;
width: 100%; width: 100%;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
} }
</style> </style>
...@@ -85,11 +85,11 @@ export default { ...@@ -85,11 +85,11 @@ export default {
this.tableLoading = false this.tableLoading = false
if(res.code==200){ if(res.code==200){
if(res.rows&&res.rows.length>0){ if(res.rows&&res.rows.length>0){
this.tableData = res.rows.map(item => { res.rows.forEach(item => {
item.smallContent = item.content.replace(/<.*?>/ig,"") item.smallContent = item.content.replace(/<.*?>/ig,"")
return item
}) })
} }
this.tableData = res.rows
} }
this.tableDataTotal = res.total this.tableDataTotal = res.total
}, },
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
@sort-change="sortChange" @sort-change="sortChange"
> >
<template slot="projectName" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
<router-link :to="`/radar/Tender/details/${scope.row.bid}`" tag="a" class="a-link" v-if="scope.row.bid&&scope.row.projectName " v-html="scope.row.projectName"></router-link> <router-link :to="`/radar/Notice/details/${scope.row.bid}`" tag="a" class="a-link" v-if="scope.row.bid&&scope.row.projectName " v-html="scope.row.projectName"></router-link>
<div v-else v-html="scope.row.projectName || '--'"></div> <div v-else v-html="scope.row.projectName || '--'"></div>
</template> </template>
<template slot="province" slot-scope="scope"> <template slot="province" slot-scope="scope">
......
...@@ -65,14 +65,20 @@ ...@@ -65,14 +65,20 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="count"
width="160" width="160"
align="right"
label="合作次数"> label="合作次数">
<template slot-scope="scope">
<span style="padding-right: 88px;">{{ scope.row.count }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="amount"
width="160" width="160"
align="right"
label="合作总金额(万元)"> label="合作总金额(万元)">
<template slot-scope="scope">
<span style="padding-right: 34px;">{{ scope.row.amount }}</span>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
...@@ -142,16 +148,24 @@ export default { ...@@ -142,16 +148,24 @@ export default {
let option = { let option = {
xAxis: { xAxis: {
type: 'category', type: 'category',
boundaryGap: false,
data: labels data: labels
}, },
yAxis: { yAxis: {
type: 'value' type: 'value',
splitNumber: 5,
splitLine : { //网格线
lineStyle: {
type: 'dashed' //设置网格线类型 dotted:虚线 solid:实线
},
}
}, },
grid:{ grid:{
left:'6%', left:'1',
top:'8%', top:'8%',
right:'2%', right:'2%',
bottom:'8%', bottom:'8%',
containLabel: true
}, },
tooltip:{ tooltip:{
axisPointer:{ //悬浮于圆点展示标签 axisPointer:{ //悬浮于圆点展示标签
...@@ -178,6 +192,7 @@ export default { ...@@ -178,6 +192,7 @@ export default {
show:false show:false
} }
}, },
symbolSize:8,
areaStyle: { areaStyle: {
color: { color: {
type: 'linear', type: 'linear',
...@@ -235,9 +250,10 @@ export default { ...@@ -235,9 +250,10 @@ export default {
vertical-align: text-top; vertical-align: text-top;
} }
.zbph-item-num{ .zbph-item-num{
font-size: 16px;
font-weight: bold; font-weight: bold;
display: block; display: block;
padding-top: 8px; padding-top: 10px;
} }
} }
} }
...@@ -271,6 +287,7 @@ export default { ...@@ -271,6 +287,7 @@ export default {
&.on{ &.on{
background: #0081FF; background: #0081FF;
color: #FFFFFF; color: #FFFFFF;
border-color: #0081FF;
} }
&:first-child{ &:first-child{
border-radius: 2px 0px 0px 2px; border-radius: 2px 0px 0px 2px;
......
...@@ -98,6 +98,18 @@ export default { ...@@ -98,6 +98,18 @@ export default {
type: 'scroll', type: 'scroll',
orient: 'horizontal', orient: 'horizontal',
bottom: 20, bottom: 20,
itemWidth: 14,
itemHeight: 9,
textStyle: {
padding: [-2, 20, -4, 0],
color: 'rgba(0,0,0,0.85)',
backgroundColor: "transparent",
fontSize: 10,
rich: {
a: {
},
},
},
data: data, data: data,
pageButtonPosition: 'end', pageButtonPosition: 'end',
}, },
...@@ -114,6 +126,16 @@ export default { ...@@ -114,6 +126,16 @@ export default {
shadowOffsetX: 0, shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)' shadowColor: 'rgba(0, 0, 0, 0.5)'
} }
},
label: {
normal: {
show: true,
textStyle: {
color: 'rgba(0,0,0,0.85)',
fontSize: 10,
fontWeight: 400
}
}
} }
} }
] ]
...@@ -161,8 +183,7 @@ export default { ...@@ -161,8 +183,7 @@ export default {
.clue-box{ .clue-box{
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
align-items: normal; margin: 8px 0 24px 0;
margin-top: 8px;
.clue-echarts{ .clue-echarts{
width: calc(50% - 8px); width: calc(50% - 8px);
} }
...@@ -186,6 +207,7 @@ export default { ...@@ -186,6 +207,7 @@ export default {
padding-left: 16px; padding-left: 16px;
padding-right: 16px; padding-right: 16px;
.clue-type-item{ .clue-type-item{
font-size: 14px;
color: #232323; color: #232323;
cursor: pointer; cursor: pointer;
&:hover{ &:hover{
......
...@@ -303,7 +303,7 @@ export default { ...@@ -303,7 +303,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.info-container{ .info-container{
margin: 0; margin: 0;
padding: 24px 16px; padding: 24px 16px 10px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px; border-radius: 4px;
.company-swiper{ .company-swiper{
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<router-link :to="`/enterprise/${encodeStr(scope.row.id)}`" tag="a" class="a-link" v-if="scope.row.id&&scope.row.investName" v-html="scope.row.investName"></router-link> <router-link :to="`/enterprise/${encodeStr(scope.row.id)}`" tag="a" class="a-link" v-if="scope.row.id&&scope.row.investName" v-html="scope.row.investName"></router-link>
<div v-else v-html="scope.row.investName || '--'"></div> <div v-else v-html="scope.row.investName || '--'"></div>
<div class="tags" v-if="scope.row.businessStatus || scope.row.biddingAnnouncement"> <div class="tags" v-if="scope.row.businessStatus || scope.row.biddingAnnouncement">
<span class="tag style1" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span> <span class="tag" :class="labelArr.includes(scope.row.businessStatus)?'style2':'style1'" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span>
<span class="tag style1" v-if="scope.row.biddingCount">招标数{{scope.row.biddingCount}}</span> <span class="tag style1" v-if="scope.row.biddingCount">招标数{{scope.row.biddingCount}}</span>
</div> </div>
</template> </template>
...@@ -88,7 +88,8 @@ export default { ...@@ -88,7 +88,8 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 5 pageSize: 5
}, },
shipTotal: 0 shipTotal: 0,
labelArr:['失信联合惩戒企业','严重行政处罚','司法纠纷','注销', '注销企业']
} }
}, },
created() { created() {
...@@ -159,6 +160,10 @@ export default { ...@@ -159,6 +160,10 @@ export default {
background: #E4F3FD; background: #E4F3FD;
color: #41A1FD; color: #41A1FD;
} }
&.style2{
background: #FFF1F1;
color: #FF3C3C;
}
} }
} }
::v-deep .el-table--border .el-table__cell{ ::v-deep .el-table--border .el-table__cell{
......
...@@ -8,14 +8,23 @@ ...@@ -8,14 +8,23 @@
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'date', order: 'descending'}" :default-sort = "{prop: 'date', order: 'descending'}"
> >
<el-table-column label="序号" width="55" align="left" fixed> <el-table-column label="序号" width="55" align="left">
<template slot-scope="scope">{{ queryParams.pageNum * queryParams.pageSize - queryParams.pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ scope.row.serial }}</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="userName"
label="姓名"></el-table-column> label="姓名"></el-table-column>
<el-table-column <el-table-column
prop="jobTitle" prop="userJob"
label="职务"></el-table-column>
<el-table-column label="序号" width="55" align="left">
<template slot-scope="scope">{{ scope.row.userNames?scope.row.serials:'' }}</template>
</el-table-column>
<el-table-column
prop="userNames"
label="姓名"></el-table-column>
<el-table-column
prop="userJobs"
label="职务"></el-table-column> label="职务"></el-table-column>
</el-table> </el-table>
</div> </div>
...@@ -48,7 +57,22 @@ export default { ...@@ -48,7 +57,22 @@ export default {
async handleQuery(){ async handleQuery(){
let res = await keymembers(this.queryParams) let res = await keymembers(this.queryParams)
if(res.code==200){ if(res.code==200){
this.tableData = res.rows let tempRows = []
if(res.rows&&res.rows.length>0){
let arrLength = res.rows.length%2==0?(res.rows.length/2):(Math.floor(res.rows.length/2)+1)
for(let i=0; i<arrLength; i++){
let obj = {
serial: 2*i+1,
userName:res.rows[2*i]?res.rows[2*i].name:'',
userJob:res.rows[2*i]?res.rows[2*i].jobTitle:'',
serials: 2*i+2,
userNames:res.rows[2*i+1]?res.rows[2*i+1].name:'',
userJobs:res.rows[2*i+1]?res.rows[2*i+1].jobTitle:''
}
tempRows.push(obj)
}
}
this.tableData = tempRows
} }
} }
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="common-title">招标公告</div> <div class="common-title">招标公告</div>
<template v-if="zbggList.length>0"> <template v-if="zbggList.length>0">
<div class="tender-item" v-for="(item, index) in zbggList" :key="index"> <div class="tender-item" v-for="(item, index) in zbggList" :key="index">
<div class="flex-box tender-title"><div class="text-cl1" :title="item.projectName"><router-link :to="'/radar/Tender/details/'+item.bid" tag="a" class="a-link">{{item.projectName}}</router-link></div><span :class="item.projectCategory=='项目动态'?'style2':item.tag=='招投标'?'style4':'style1'">{{item.projectCategory}}</span></div> <div class="flex-box tender-title"><div class="text-cl1" :title="item.projectName"><router-link :to="'/radar/Notice/details/'+item.bid" tag="a" class="a-link">{{item.projectName}}</router-link></div><span :class="item.projectCategory=='项目动态'?'style2':item.tag=='招投标'?'style4':'style1'">{{item.projectCategory}}</span></div>
<span class="tender-time">{{item.issueTime}}</span> <span class="tender-time">{{item.issueTime}}</span>
</div> </div>
</template> </template>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<router-link :to="`/enterprise/${encodeStr(scope.row.stockId)}`" tag="a" class="a-link" v-if="scope.row.stockId&&scope.row.stockName " v-html="scope.row.stockName"></router-link> <router-link :to="`/enterprise/${encodeStr(scope.row.stockId)}`" tag="a" class="a-link" v-if="scope.row.stockId&&scope.row.stockName " v-html="scope.row.stockName"></router-link>
<div v-else v-html="scope.row.stockName || '--'"></div> <div v-else v-html="scope.row.stockName || '--'"></div>
<div class="tags" v-if="scope.row.businessStatus"> <div class="tags" v-if="scope.row.businessStatus">
<span class="tag style1" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span> <span class="tag" :class="labelArr.includes(scope.row.businessStatus)?'style2':'style1'" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span>
<span class="tag style1" v-if="scope.row.biddingCount">招标{{scope.row.biddingCount}}</span> <span class="tag style1" v-if="scope.row.biddingCount">招标{{scope.row.biddingCount}}</span>
<span class="tag style1" v-if="scope.row.landInfoCount">土地{{scope.row.landInfoCount}}</span> <span class="tag style1" v-if="scope.row.landInfoCount">土地{{scope.row.landInfoCount}}</span>
<span class="tag style1" v-if="scope.row.proposedProjectCount">拟建{{scope.row.proposedProjectCount}}</span> <span class="tag style1" v-if="scope.row.proposedProjectCount">拟建{{scope.row.proposedProjectCount}}</span>
...@@ -65,6 +65,7 @@ export default { ...@@ -65,6 +65,7 @@ export default {
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
tableDataTotal:0, tableDataTotal:0,
labelArr:['失信联合惩戒企业','严重行政处罚','司法纠纷','注销', '注销企业'],
} }
}, },
created() { created() {
...@@ -120,6 +121,10 @@ export default { ...@@ -120,6 +121,10 @@ export default {
background: #E4F3FD; background: #E4F3FD;
color: #41A1FD; color: #41A1FD;
} }
&.style2{
background: #FFF1F1;
color: #FF3C3C;
}
} }
} }
} }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<router-link :to="`/enterprise/${encodeStr(scope.row.id)}`" tag="a" class="a-link" v-if="scope.row.id&&scope.row.investName " v-html="scope.row.investName"></router-link> <router-link :to="`/enterprise/${encodeStr(scope.row.id)}`" tag="a" class="a-link" v-if="scope.row.id&&scope.row.investName " v-html="scope.row.investName"></router-link>
<div v-else v-html="scope.row.investName || '--'"></div> <div v-else v-html="scope.row.investName || '--'"></div>
<div class="tags" v-if="scope.row.businessStatus || scope.row.biddingAnnouncement"> <div class="tags" v-if="scope.row.businessStatus || scope.row.biddingAnnouncement">
<span class="tag style1" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span> <span class="tag" :class="labelArr.includes(scope.row.businessStatus)?'style2':'style1'" v-if="scope.row.businessStatus">{{scope.row.businessStatus}}</span>
<span class="tag style1" v-if="scope.row.biddingCount">招标数{{scope.row.biddingCount}}</span> <span class="tag style1" v-if="scope.row.biddingCount">招标数{{scope.row.biddingCount}}</span>
</div> </div>
</template> </template>
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
tableDataTotal:0, tableDataTotal:0,
labelArr:['失信联合惩戒企业','严重行政处罚','司法纠纷','注销', '注销企业'],
} }
}, },
created() { created() {
...@@ -146,6 +147,10 @@ export default { ...@@ -146,6 +147,10 @@ export default {
background: #E4F3FD; background: #E4F3FD;
color: #41A1FD; color: #41A1FD;
} }
&.style2{
background: #FFF1F1;
color: #FF3C3C;
}
} }
} }
} }
......
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