Commit a3853652 authored by danfuman's avatar danfuman
parents 671497f6 b975caae
...@@ -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)
} }
) )
......
...@@ -364,6 +364,7 @@ export default { ...@@ -364,6 +364,7 @@ export default {
}, },
//获取建设库客户 //获取建设库客户
getCompany(value){ getCompany(value){
this.queryParam.companyId = null
if (value.length>=2){ if (value.length>=2){
let param = { let param = {
keyword:value, keyword:value,
...@@ -381,15 +382,21 @@ export default { ...@@ -381,15 +382,21 @@ export default {
} }
}, },
selCompany(item){ selCompany(item){
console.log(item)
this.queryParam.companyId = item.jskEid this.queryParam.companyId = item.jskEid
this.queryParam.companyName = item.name.replace(/<[^>]+>/g, '') this.queryParam.companyName = item.name.replace(/<[^>]+>/g, '')
this.queryParam.legalPerson = item.legalPerson this.queryParam.legalPerson = item.legalPerson
this.queryParam.registerCapital = item.registeredCapitalStr let registeredCapitalStr = ""
if(item.registeredCapitalStr == "0" || item.registeredCapitalStr == 0){
registeredCapitalStr = ''
}else{
registeredCapitalStr = item.registeredCapitalStr
}
this.queryParam.registerCapital = registeredCapitalStr
this.queryParam.creditCode = item.creditCode this.queryParam.creditCode = item.creditCode
this.queryParam.provinceId = item.provinceId this.queryParam.provinceId = item.provinceId
this.queryParam.cityId = item.cityId this.queryParam.cityId = item.cityId
this.queryParam.districtId = item.cityId this.queryParam.districtId = item.cityId
let list = [] let list = []
if(item.provinceId != null && item.provinceId != "") if(item.provinceId != null && item.provinceId != "")
list.push(item.provinceId) list.push(item.provinceId)
...@@ -403,11 +410,11 @@ export default { ...@@ -403,11 +410,11 @@ export default {
}, },
//添加客户 //添加客户
submitForm(formName) { submitForm(formName) {
if(this.queryParam.companyId=="" || this.queryParam.companyId == null){ // if(this.queryParam.companyId=="" || this.queryParam.companyId == null){
this.$message.error({message:'请选择企业!',showClose:true}) // this.$message.error({message:'请选择企业!',showClose:true})
//
return; // return;
} // }
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
addCustomer(this.queryParam).then(result=>{ addCustomer(this.queryParam).then(result=>{
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<div class="app-container"> <div class="app-container">
<gjjl types="gjdt" :data="datas"></gjjl> <gjjl types="gjdt" :data="datas" isDisabled=false></gjjl>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -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;
} }
} }
} }
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<!-- 弹窗关联项目 --> <!-- 弹窗关联项目 -->
<el-drawer <el-drawer
title="添加合作情况" title="添加合作情况"
size="45%" size="50%"
:visible.sync="drawer" :visible.sync="drawer"
:direction="direction" :direction="direction"
:with-header="false" :with-header="false"
...@@ -501,8 +501,25 @@ export default { ...@@ -501,8 +501,25 @@ export default {
font-size: 14px; font-size: 14px;
color: rgba(35,35,35,0.4); color: rgba(35,35,35,0.4);
margin-left: 28px; margin-left: 28px;
display: flex;
//flex: 1;
span{ span{
color: rgba(35,35,35,0.8); color: rgba(35,35,35,0.8);
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
cursor: pointer;
flex: 1;
}
&:nth-child(1){
max-width: 15%;
}
&:nth-child(2){
max-width: 30%;
}
&:nth-child(3){
max-width: 50%;
} }
} }
} }
......
...@@ -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>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<!-- 决策链条 --> <!-- 决策链条 -->
<DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :customer-ids="customerId" :companyInfo="companyInfo" /> <DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :customer-ids="customerId" :companyInfo="companyInfo" />
<!-- 跟进记录 --> <!-- 跟进记录 -->
<Gjjl v-if="currentPath.pathName=='gjjl'" types="gjdt" :customer-ids="customerId" /> <Gjjl v-if="currentPath.pathName=='gjjl'" :isDisabled='false' types="gjdt" :customer-ids="customerId" />
</template> </template>
</div> </div>
...@@ -172,6 +172,16 @@ export default { ...@@ -172,6 +172,16 @@ export default {
}, },
mounted() { mounted() {
}, },
activated(){
if (this.$route.query.path) { // 获取跳转对应板块
this.currentPath.pathName = this.$route.query.path
}else{
this.currentPath.pathName = 'overview'
}
if (this.$route.query.customerId) { // 判断是否显示
this.customerId = this.$route.query.customerId
}
},
methods: { methods: {
showPartPage(e){ showPartPage(e){
this.currentPath = e this.currentPath = e
...@@ -218,5 +228,6 @@ export default { ...@@ -218,5 +228,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;
}
} }
} }
} }
......
...@@ -249,10 +249,11 @@ export default { ...@@ -249,10 +249,11 @@ export default {
switch (type) { switch (type) {
case 1: case 1:
time = time.getDay() time = time.getDay()
// week.length = time time = time == 0?7:time
weekdata1.length = time weekdata1.length = time
weekdata2.length = time weekdata2.length = time
weekdata3.length = time weekdata3.length = time
console.log(time)
for(var i=0;i<7;i++){ for(var i=0;i<7;i++){
if(i > time){ if(i > time){
weekdata1.push('') weekdata1.push('')
...@@ -303,6 +304,8 @@ export default { ...@@ -303,6 +304,8 @@ export default {
default: default:
break; break;
} }
console.log(datas)
console.log(labels)
this.initDT(datas,labels) this.initDT(datas,labels)
}, },
resizeEcharts (){ resizeEcharts (){
......
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
<div><strong>{{item.nickName}}</strong> <span v-if="item.visitWay">({{item.visitWay}})</span></div> <div><strong>{{item.nickName}}</strong> <span v-if="item.visitWay">({{item.visitWay}})</span></div>
<div><span>{{item.recordInfo}}</span></div> <div><span>{{item.recordInfo}}</span></div>
<div class="rec_text"> <div class="rec_text">
<span v-if="item.projectName && showtype == 'projectgjdt'">关联项目:{{item.projectName||'--'}}</span>
<span v-if="item.visitPerson">拜访对象:{{item.visitPerson||'--'}}</span> <span v-if="item.visitPerson">拜访对象:{{item.visitPerson||'--'}}</span>
<span v-if="item.position">职位:{{item.position||'--'}}</span> <span v-if="item.position">职位:{{item.position||'--'}}</span>
<span v-if="item.creatTime">拜访时间:{{item.creatTime}}</span> <span v-if="item.creatTime">拜访时间:{{item.creatTime}}</span>
...@@ -178,7 +179,6 @@ ...@@ -178,7 +179,6 @@
computed: { computed: {
}, },
created(){ created(){
console.log(this.isDisabled)
//获取拜访方式 //获取拜访方式
getDictType('visit_mode_type').then(result=>{ getDictType('visit_mode_type').then(result=>{
this.bffslist = result.code == 200 ? result.data:[] this.bffslist = result.code == 200 ? result.data:[]
...@@ -225,6 +225,7 @@ ...@@ -225,6 +225,7 @@
this.$message.success(result.msg) this.$message.success(result.msg)
this.handleCurrentChange(1) this.handleCurrentChange(1)
this.isEdit = false this.isEdit = false
this.resetForm()
}else{ }else{
this.$message.error(result.msg) this.$message.error(result.msg)
} }
...@@ -245,12 +246,24 @@ ...@@ -245,12 +246,24 @@
this.$message.success(result.msg) this.$message.success(result.msg)
this.handleCurrentChange(1) this.handleCurrentChange(1)
this.isEdit = false this.isEdit = false
this.resetForm()
}else{ }else{
this.$message.error(result.msg) this.$message.error(result.msg)
} }
}) })
} }
}, },
resetForm(){
this.addParam={
customerId:'', //客户id
visitMode:'',//拜访方式
nextVisitTime:'',//下次拜访时间
name:'',//拜访对象姓名
position:'',//拜访对象职务
content:'',//拜访内容
}
},
//删除跟进动态 //删除跟进动态
delRecord(id){ delRecord(id){
this.isdel = true this.isdel = true
......
<template> <template>
<div> <div id="jsnr">
<el-card class="box-card noborder"> <el-card class="box-card noborder">
<div class="cardtitles">基本信息</div> <div class="cardtitles">基本信息</div>
<div class="baseinfo" style="padding-bottom: 8px"> <div class="baseinfo" style="padding-bottom: 8px">
...@@ -208,7 +208,9 @@ ...@@ -208,7 +208,9 @@
type: Number, type: Number,
default: 0 default: 0
}, },
isDisabled:false, isDisabled:{
default: false
},
}, },
data(){ data(){
return{ return{
...@@ -233,7 +235,7 @@ ...@@ -233,7 +235,7 @@
watch:{ watch:{
}, },
mounted(){ mounted(){
document.addEventListener('mouseup',(e) => { document.getElementById('jsnr').addEventListener('mouseup',(e) => {
if(this.isDisabled == true) if(this.isDisabled == true)
return false return false
let j = 0 let j = 0
...@@ -305,19 +307,23 @@ ...@@ -305,19 +307,23 @@
}) })
}, },
changes(str){ changes(str){
this.nowedit = -1
let param = str let param = str
param.id = this.id param.id = this.id
if(this.isDisabled == true) if(this.isDisabled == true)
return false return false
editXMNR(param).then(result=>{ editXMNR(param).then(result=>{
if(result.code == 200) if(result.code == 200){
this.$message.success('修改成功!') this.$message.success('修改成功!')
if(param.investmentAmount){//修改项目阶段
this.$emit('Refrehmoney')
}
}
else{ else{
this.$message.error(res.msg) this.$message.error(result.msg)
this.getJSNR() this.getJSNR()
} }
}) })
this.nowedit = -1
}, },
//输入数字 //输入数字
number(value){ number(value){
......
<template> <template>
<div> <div id="xmsl">
<el-card class="box-card noborder"> <el-card class="box-card noborder">
<div class="cardtitles">基本信息</div> <div class="cardtitles">基本信息</div>
<div class="baseinfo"> <div class="baseinfo">
...@@ -204,7 +204,7 @@ ...@@ -204,7 +204,7 @@
this.getXMSL() this.getXMSL()
}, },
mounted(){ mounted(){
document.addEventListener('mouseup',(e) => { document.getElementById('xmsl').addEventListener('mouseup',(e) => {
if(this.isDisabled == true) if(this.isDisabled == true)
return false return false
let j = 0 let j = 0
...@@ -236,13 +236,16 @@ ...@@ -236,13 +236,16 @@
param = {'constructionPrincipal':this.xmsldata.constructionPrincipal} param = {'constructionPrincipal':this.xmsldata.constructionPrincipal}
break; break;
case 6 : case 6 :
param = {'supervisorPhone':this.xmsldata.supervisorPhone} // param = {'supervisorPhone':this.xmsldata.supervisorPhone}
this.isphone(1,this.xmsldata.supervisorPhone)
break; break;
case 7 : case 7 :
param = {'constructionPhone':this.xmsldata.constructionPhone} // param = {'constructionPhone':this.xmsldata.constructionPhone}
this.isphone(1,this.xmsldata.constructionPhone)
break; break;
} }
this.editXMSL(param) if(this.nowedit!=6 && this.nowedit!=7)
this.editXMSL(param)
} }
this.nowedit = -1 this.nowedit = -1
} }
...@@ -285,7 +288,7 @@ ...@@ -285,7 +288,7 @@
//验证电话号码 //验证电话号码
isphone(type,value){ isphone(type,value){
var regPartton = /1[3-9]+\d{9}/; var regPartton = /1[3-9]+\d{9}/;
var regPartton1 = /^(0[0-9]{2,3}[\-]?[2-9][0-9]{6,7}[\-]?[0-9]?)$/; var regPartton1 = /0\d{2,3}-\d{7,8}|\(?0\d{2,3}[)-]?\d{7,8}|\(?0\d{2,3}[)-]*\d{7,8}/;
if (!regPartton.test(value) && !regPartton1.test(value)) { if (!regPartton.test(value) && !regPartton1.test(value)) {
this.$message.error("请输入正确的电话"); this.$message.error("请输入正确的电话");
} else { } else {
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</div> </div>
<div class="det-con con" id="inputxt"> <div class="det-con con" id="inputxt">
<span>投资估算(万元):</span> <span>投资估算(万元):</span>
<div class="inputxt i" :class="{'nomar':nowedit != 3}"> <div class="inputxt i" :class="{'nomar':nowedit != 3}" :key="keys2">
<div class="flex" v-if="nowedit == 3 && isDisabled == false"> <div class="flex" v-if="nowedit == 3 && isDisabled == false">
<el-input v-model="ProjectData.investmentAmount" placeholder="待添加" @input="number"></el-input> <el-input v-model="ProjectData.investmentAmount" placeholder="待添加" @input="number"></el-input>
<div class="flex"> <div class="flex">
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<!--项目速览--> <!--项目速览-->
<xmsl v-if="thistag == 'xmsl'" :key="keys" @Refreshs="getsl" :detailId="detailId"></xmsl> <xmsl v-if="thistag == 'xmsl'" :key="keys" @Refreshs="getsl" :detailId="detailId"></xmsl>
<!--建设内容--> <!--建设内容-->
<jsnr v-if="thistag == 'jsnr'" :isDisabled='isDisabled' :detailId="detailId"></jsnr> <jsnr v-if="thistag == 'jsnr'" :key="keys1" :isDisabled='isDisabled' @Refrehmoney="getXMSL" :detailId="detailId"></jsnr>
<!--联系人--> <!--联系人-->
<lxr v-if="thistag == 'lxr'" :isDisabled='isDisabled' :detailId="detailId"></lxr> <lxr v-if="thistag == 'lxr'" :isDisabled='isDisabled' :detailId="detailId"></lxr>
<!--跟进记录--> <!--跟进记录-->
...@@ -177,6 +177,8 @@ ...@@ -177,6 +177,8 @@
ProjectData:{}, ProjectData:{},
isDisabled:false, isDisabled:false,
keys:1, keys:1,
keys1:2,
keys2:20,
} }
}, },
created(){ created(){
...@@ -247,6 +249,7 @@ ...@@ -247,6 +249,7 @@
} }
this.address = list.length>0?list:"待添加" this.address = list.length>0?list:"待添加"
this.addresstxt = txt == "" ? "待添加":txt this.addresstxt = txt == "" ? "待添加":txt
this.keys2 ++;
}) })
}, },
locks(isPrivate){ locks(isPrivate){
...@@ -263,6 +266,12 @@ ...@@ -263,6 +266,12 @@
editXMNR(JSON.stringify(params)).then(res=>{ editXMNR(JSON.stringify(params)).then(res=>{
if (res.code == 200){ if (res.code == 200){
this.$message.success('修改成功!') this.$message.success('修改成功!')
if(this.nowedit == 1){
let _this = this
setTimeout(function() {
_this.keys1++;
},1000)
}
}else{ }else{
this.$message.error(res.msg) this.$message.error(res.msg)
this.getXMSL() this.getXMSL()
......
<template> <template>
<div class="app-container"> <div class="app-container">
<gjjl types="projectgjdt"></gjjl> <gjjl types="projectgjdt" isDisabled=false></gjjl>
</div> </div>
</template> </template>
......
...@@ -155,14 +155,14 @@ ...@@ -155,14 +155,14 @@
<router-link :to="'/radar/Bidding/details/'+ item.id" tag="a" class="list-titel-a" v-html="item.projectName" ></router-link> <router-link :to="'/radar/Bidding/details/'+ item.id" tag="a" class="list-titel-a" v-html="item.projectName" ></router-link>
<!-- <div v-else-if="item.projectName" v-html="item.projectName"></div> --> <!-- <div v-else-if="item.projectName" v-html="item.projectName"></div> -->
</p> </p>
<div class="content-label" v-if="(item.province||item.city||item.city)||(item.projectType&&item.projectType!='其他'&&item.projectType!='空白')||(item.objectType&&item.objectType!='其他'&&item.objectType!='空白')"> <div class="content-label" v-if="(item.province||item.city||item.area)||(item.projectType&&item.projectType!='其他'&&item.projectType!='空白')||(item.objectType&&item.objectType!='其他'&&item.objectType!='空白')">
<span class="list-label" v-if="item.domicile"> <span class="list-label" v-if="item.domicile">
{{item.province}} {{item.province}}
<template v-if="item.city"> <template v-if="item.city">
-{{item.city}} -{{item.city}}
</template> </template>
<template v-if="item.city"> <template v-if="item.area">
-{{item.city}} -{{item.area}}
</template> </template>
</span> </span>
<span class="list-label list-label-wl" v-if="item.objectType">{{item.objectType}}</span> <span class="list-label list-label-wl" v-if="item.objectType">{{item.objectType}}</span>
......
...@@ -228,14 +228,12 @@ ...@@ -228,14 +228,12 @@
</div> </div>
<div class="list-content" v-if="item.buildScale"> <div class="list-content" v-if="item.buildScale">
<p class="list-content-text" > <p class="list-content-text">
<span>建设规模:</span> <span class="content-text-gc">建设规模:</span>
<span>{{item.buildScale}}</span> <span class="content-text-p">{{item.buildScale||'--'}}</span>
</p> </p>
</div> </div>
...@@ -1309,6 +1307,12 @@ ...@@ -1309,6 +1307,12 @@
color: rgba(35,35,35,0.8); color: rgba(35,35,35,0.8);
line-height: 15px line-height: 15px
} }
.content-text-gc{
width: 72px;
}
.content-text-p{
width: 1200px;
}
.blue{ .blue{
color: #0081FF !important; color: #0081FF !important;
cursor: pointer; cursor: pointer;
...@@ -1323,7 +1327,7 @@ ...@@ -1323,7 +1327,7 @@
width: auto; width: auto;
background: #F3F4F5; background: #F3F4F5;
display: inline-flex; display: inline-flex;
margin-top: 7px; margin-top: 12px;
.list-content-text{ .list-content-text{
margin-top: 0px; margin-top: 0px;
span{ span{
......
...@@ -66,8 +66,8 @@ public class EnterpriseBussinessService { ...@@ -66,8 +66,8 @@ public class EnterpriseBussinessService {
contentParam.put("strategy_id", mongoContentId); contentParam.put("strategy_id", mongoContentId);
Map<String, Object> contentMap = dskOpenApiUtil.requestBody("/mongocontent/v1/cjb/mongo_content", contentParam); Map<String, Object> contentMap = dskOpenApiUtil.requestBody("/mongocontent/v1/cjb/mongo_content", contentParam);
log.info("contentData:{}", JSONUtil.toJsonStr(contentMap));
Map contentData = MapUtils.getMap(contentMap, "data", null); Map contentData = MapUtils.getMap(contentMap, "data", null);
log.info("contentData:{}", JSONUtil.toJsonStr(contentData));
if (200 != MapUtils.getInteger(contentMap, "code", 300)) { if (200 != MapUtils.getInteger(contentMap, "code", 300)) {
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
......
...@@ -127,8 +127,8 @@ public class EnterpriseProjectService { ...@@ -127,8 +127,8 @@ public class EnterpriseProjectService {
contentParam.put("strategy_id", contentId); contentParam.put("strategy_id", contentId);
Map<String, Object> contentMap = dskOpenApiUtil.requestBody("/mongocontent/v1/cjb/mongo_content", contentParam); Map<String, Object> contentMap = dskOpenApiUtil.requestBody("/mongocontent/v1/cjb/mongo_content", contentParam);
log.info("contentData:{}", JSONUtil.toJsonStr(contentMap));
Map contentData = MapUtils.getMap(contentMap, "data", null); Map contentData = MapUtils.getMap(contentMap, "data", null);
log.info("contentData:{}", JSONUtil.toJsonStr(contentData));
if (200 != MapUtils.getInteger(contentMap, "code", 300)) { if (200 != MapUtils.getInteger(contentMap, "code", 300)) {
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
......
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