Commit b31f6a98 authored by dengguangman's avatar dengguangman

Merge remote-tracking branch 'origin/master'

parents c9510782 9c457166
...@@ -39,8 +39,9 @@ public class BusinessInfoController extends BaseController ...@@ -39,8 +39,9 @@ public class BusinessInfoController extends BaseController
* 项目批量导入 * 项目批量导入
*/ */
@PostMapping("/upload") @PostMapping("/upload")
public AjaxResult batchUpload(@RequestParam(value="file",required = false) MultipartFile file, HttpServletRequest request, HttpServletResponse response){ // public AjaxResult batchUpload(@RequestPart("file") MultipartFile file, HttpServletRequest request, HttpServletResponse response){
return businessInfoService.batchUpload(file,response); public AjaxResult batchUpload(@RequestPart("file") MultipartFile file){
return businessInfoService.batchUpload(file);
} }
/** /**
......
...@@ -105,4 +105,16 @@ public class EnterpriseController { ...@@ -105,4 +105,16 @@ public class EnterpriseController {
return enterpriseService.financial(vo); return enterpriseService.financial(vo);
} }
@ApiOperation(value = "城投平台企业查询(openApi)")
@PostMapping(value = "uipSerach")
public TableDataInfo uipSerach(@RequestBody @Valid EnterpriseUipSearchBody vo) throws Exception {
return enterpriseService.uipSerach(vo);
}
@ApiOperation(value = "城投平台企业查询选项(openApi)")
@PostMapping(value = "uipGroupData")
public R financial() throws Exception {
return enterpriseService.uipGroupData();
}
} }
...@@ -118,6 +118,78 @@ public class BusinessInfo extends BaseEntity ...@@ -118,6 +118,78 @@ public class BusinessInfo extends BaseEntity
@Excel(name = "项目状态") @Excel(name = "项目状态")
private Integer status; private Integer status;
/** 评标办法 */
@Excel(name = "评标办法")
private String evaluationBidWay;
/** 开标时间 */
@Excel(name = "开标时间")
private String bidOpenTime;
/** 开标地点 */
@Excel(name = "开标地点")
private String bidOpenPlace;
/** 保证金缴纳 */
@Excel(name = "保证金缴纳")
private String earnestMoneyPay;
/** 保证金金额 */
@Excel(name = "保证金金额")
private String earnestMoney;
/** 评标委员会 */
@Excel(name = "评标委员会")
private String evaluationBidCouncil;
public String getEvaluationBidWay() {
return evaluationBidWay;
}
public void setEvaluationBidWay(String evaluationBidWay) {
this.evaluationBidWay = evaluationBidWay;
}
public String getBidOpenTime() {
return bidOpenTime;
}
public void setBidOpenTime(String bidOpenTime) {
this.bidOpenTime = bidOpenTime;
}
public String getBidOpenPlace() {
return bidOpenPlace;
}
public void setBidOpenPlace(String bidOpenPlace) {
this.bidOpenPlace = bidOpenPlace;
}
public String getEarnestMoneyPay() {
return earnestMoneyPay;
}
public void setEarnestMoneyPay(String earnestMoneyPay) {
this.earnestMoneyPay = earnestMoneyPay;
}
public String getEarnestMoney() {
return earnestMoney;
}
public void setEarnestMoney(String earnestMoney) {
this.earnestMoney = earnestMoney;
}
public String getEvaluationBidCouncil() {
return evaluationBidCouncil;
}
public void setEvaluationBidCouncil(String evaluationBidCouncil) {
this.evaluationBidCouncil = evaluationBidCouncil;
}
public Integer getStatus() { public Integer getStatus() {
return status; return status;
} }
...@@ -359,7 +431,12 @@ public class BusinessInfo extends BaseEntity ...@@ -359,7 +431,12 @@ public class BusinessInfo extends BaseEntity
.append("createTime", getCreateTime()) .append("createTime", getCreateTime())
.append("updateTime", getUpdateTime()) .append("updateTime", getUpdateTime())
.append("customerId", getCustomerId()) .append("customerId", getCustomerId())
.append("status", getStatus()) .append("evaluationBidWay", getEvaluationBidWay())
.append("bidOpenTime", getBidOpenTime())
.append("bidOpenPlace", getBidOpenPlace())
.append("earnestMoneyPay", getEarnestMoneyPay())
.append("earnestMoney", getEarnestMoney())
.append("evaluationBidCouncil", getEvaluationBidCouncil())
.toString(); .toString();
} }
} }
package com.dsk.common.core.domain.model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import javax.validation.constraints.NotNull;
import java.util.List;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class EnterpriseUipSearchBody extends BasePage {
/**
* 查询关键字
*/
private String keys;
/*
* 1金额倒序,2金额正序,3时间倒序,4时间正序
*/
@NotNull(message = "排序条件不能为空")
private Integer sort;
/**
* 省份
*/
private List<Integer> provinceIds;
/**
* 市份
*/
private List<Integer> cityIds;
/**
* 县
*/
private List<Integer> areaIds;
/**
* 城投业务类型
*/
private List<String> uipBusinessType;
/**
* 主体信用等级
*/
private List<String> bratingSubjectLevel;
/**
* 股东背景
*/
private List<String> shareholderBg;
/**
* 股权关系
*/
private List<String> equityRelationship;
}
import request from "@/utils/request";
// 获取页面数据
export function getList(data) {
return request({
url: '/getInfo',
method: 'get'
})
}
import request from "@/utils/request";
// 获取查询下拉选项
export function getOption() {
return request({
url: '/getInfo',
method: 'get'
})
}
// 获取列表数据
export function getList(data) {
return request({
url: '/getInfo',
method: 'get'
})
}
import request from "@/utils/request";
// 获取查询下拉选项
export function getOption() {
return request({
url: '/getInfo',
method: 'get'
})
}
// 获取列表数据
export function getList(data) {
return request({
url: '/getInfo',
method: 'get'
})
}
...@@ -34,4 +34,104 @@ export function abnormalYears(data) { ...@@ -34,4 +34,104 @@ export function abnormalYears(data) {
}) })
} }
// 被执行人列表
export function executedPersonsPage(data) {
return request({
url: '/enterpriseCredit/executedPersonsPage',
method: 'post',
data:data
})
}
// 失信被执行人列表
export function executedPage(data) {
return request({
url: '/enterpriseCredit/executedPage',
method: 'post',
data:data
})
}
// 裁判文书列表
export function lawsuitsPage(data) {
return request({
url: '/enterpriseCredit/lawsuitsPage',
method: 'post',
data:data
})
}
// 裁判文书案由
export function lawsuitsCauseAction(data) {
return request({
url: '/enterpriseCredit/lawsuitsCauseAction',
method: 'post',
data:data
})
}
// 裁判文书身份
export function lawsuitsRole(data) {
return request({
url: '/enterpriseCredit/lawsuitsRole',
method: 'post',
data:data
})
}
// 法院公告列表
export function noticesPage(data) {
return request({
url: '/enterpriseCredit/noticesPage',
method: 'post',
data:data
})
}
// 法院公告类型
export function noticesType(data) {
return request({
url: '/enterpriseCredit/noticesType',
method: 'post',
data:data
})
}
// 法院公告身份
export function noticesRole(data) {
return request({
url: '/enterpriseCredit/noticesRole',
method: 'post',
data:data
})
}
// 法院公告案由
export function noticesCaseReason(data) {
return request({
url: '/enterpriseCredit/noticesCaseReason',
method: 'post',
data:data
})
}
// 开庭公告列表
export function kaitingPage(data) {
return request({
url: '/enterpriseCredit/kaitingPage',
method: 'post',
data:data
})
}
// 开庭公告案由
export function kaitingCauseAction(data) {
return request({
url: '/enterpriseCredit/kaitingCauseAction',
method: 'post',
data:data
})
}
// 开庭公告当事人身份
export function kaitingPureRole(data) {
return request({
url: '/enterpriseCredit/kaitingPureRole',
method: 'post',
data:data
})
}
...@@ -15,4 +15,59 @@ export function getProjectlist(param) { ...@@ -15,4 +15,59 @@ export function getProjectlist(param) {
params: param params: param
}) })
} }
//删除项目
export function delProject(param) {
return request({
url: '/business/info/remove/'+param,
method: 'DELETE',
})
}
//建设内容
export function getJSNR(param) {
return request({
url: '/business/info/construction/'+param,
method: 'GET',
})
}
//项目速览
export function getXMSL(param) {
return request({
url: '/business/info/browse/'+param,
method: 'GET',
})
}
//项目速览修改
export function editXMSL(param) {
return request({
url: '/business/info/edit',
method: 'POST',
data:param
})
}
//查询项目联系人
export function getLXR(param) {
return request({
url: '/business/contacts/list',
method: 'GET',
params:param
})
}
//修改项目联系人
export function editLXR(param) {
return request({
url: '/business/contacts/edit',
method: 'POST',
data:param
})
}
//新增项目联系人
export function addLXR(param) {
return request({
url: '/business/contacts/add',
method: 'POST',
data:param
})
}
...@@ -124,6 +124,7 @@ ...@@ -124,6 +124,7 @@
border-radius: 2px; border-radius: 2px;
line-height: 28px; line-height: 28px;
cursor: pointer; cursor: pointer;
position: relative;
>span{ >span{
padding-left: 8px; padding-left: 8px;
} }
...@@ -131,6 +132,15 @@ ...@@ -131,6 +132,15 @@
color: rgba(35,35,32,0.4); color: rgba(35,35,32,0.4);
margin-left: 4px; margin-left: 4px;
} }
.timeinput{
opacity: 0;
position: absolute;
.el-input__inner{
padding: 0;
margin: 0;
border: 0;
}
}
} }
} }
} }
...@@ -570,7 +580,7 @@ ...@@ -570,7 +580,7 @@
.el-input__prefix{ .el-input__prefix{
left: 8px; left: 8px;
top: -2px; top: 3px;
} }
.el-input__suffix{ .el-input__suffix{
height: 32px; height: 32px;
...@@ -988,7 +998,7 @@ ...@@ -988,7 +998,7 @@
background: rgba(0, 129, 255, 0.16); background: rgba(0, 129, 255, 0.16);
font-size: 12px; font-size: 12px;
line-height: 22px; line-height: 22px;
top: 149px; top: 148px;
right: 61px; right: 61px;
cursor: pointer; cursor: pointer;
.img{ .img{
...@@ -1067,3 +1077,5 @@ ...@@ -1067,3 +1077,5 @@
white-space: nowrap; white-space: nowrap;
padding-right: 10px; padding-right: 10px;
} }
.none{display: none}
...@@ -371,7 +371,7 @@ select { ...@@ -371,7 +371,7 @@ select {
width: 100%; width: 100%;
height: 0px; height: 0px;
opacity: 1; opacity: 1;
border: 1px solid #EFEFEF; border-bottom: 1px solid #EFEFEF;
margin: 16px 0px; margin: 16px 0px;
} }
......
<template>
<div class="keyword_wrap">
<el-dialog
title="关键词推荐"
:visible.sync="dialogVisible"
width="800"
class="keyword_dialog"
append-to-body
:lock-scroll="false"
>
<div class="keyword_label">请搜索或采用关键词种类</div>
<div v-if="dialogVisible">
<el-select @change="changeKeyword" v-model="keyword" clearable class="keyword_select" popper-class="keyword_dropdown" filterable :filter-method="filterMethod" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.id"
:label="item.type"
:value="item.content">
<span v-html="item.newType||item.type"></span>
</el-option>
</el-select>
<div>
<div class="keyword_name" >
<el-scrollbar style="height:256px">
<ul>
<li v-for="(item,index) in keywordList" :class="activeIndex == index?'active_li':''" :key="index" @click="keywordClick(index)">{{item.type}}</li>
</ul>
</el-scrollbar>
</div>
<div class="keyword_con">
<el-input
type="textarea"
:autosize="{ minRows: 1, maxRows: 8}"
placeholder="请输入内容"
v-model="content">
</el-input>
<span class="keyword_con_label">
<!-- <img class="keyword_con_img" src="@/assets/img/performance/tip.png" alt=""> -->
关键词可编辑或删减</span>
<div class="keyword_btn" @click="handclick">应用关键词</div>
</div>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
var debounce=function(fn, delay = 300) {
var timer = null;
return function() {
var _this = this;
var args = arguments;
if (timer) clearTimeout(timer);
timer = setTimeout(function() {
fn.apply(_this, args);
}, delay);
};
}
export default {
data(){
return{
dialogVisible:false,
activeIndex:0,
keyword:"",
content:"",
options:[],
keywordList:[]
}
},
methods:{
changeKeyword(){
this.keywordList.map((item,index)=>{
if(item.content == this.keyword){
this.activeIndex = index
this.content = this.keywordList[this.activeIndex].content
this.$nextTick(()=>{
let el = document.getElementsByClassName("active_li")[0]
el.scrollIntoView()
})
}
})
},
// 筛选方法
filterMethod: debounce(function(filterVal) {
let newArr = JSON.parse(JSON.stringify(this.keywordList))
if (filterVal) {
let filterArr = newArr.filter((item) => {
if (item == null) {
return false
} else {
item.newType = item.type.replace(new RegExp(filterVal, 'g'), "<span style='color:#FF204E;'>" + filterVal +
"</span>")
return item.type.toLowerCase().includes(filterVal.toLowerCase())
}
})
this.options = filterArr;
} else {
this.options = newArr;
}
}, 500),
handclick(){
this.$emit('keywordClick',this.content)
Object.assign(this.$data, this.$options.data()) //重置data
},
keywordClick(index){
this.activeIndex = index
this.content = this.keywordList[this.activeIndex].content
},
show(){
// this.$axios.post("/nationzj/project/keywordList").then(res=>{
// if(res.data.code==200){
// this.keywordList = res.data.data
// this.options = res.data.data
// // localStorage.setItem("keyword",JSON.stringify(res.data.data))
// this.content = this.keywordList[this.activeIndex].content;
// this.dialogVisible = true;
// }
// })
this.dialogVisible = true;
/*if(localStorage.getItem("keyword")){
this.keywordList = JSON.parse(localStorage.getItem("keyword"));
this.options = this.keywordList;
this.content = this.keywordList[this.activeIndex].content;
this.dialogVisible = true;
}else{
this.$axios.post("/nationzj/project/keywordList").then(res=>{
if(res.data.code==200){
this.keywordList = res.data.data
this.options = res.data.data
localStorage.setItem("keyword",JSON.stringify(res.data.data))
this.content = this.keywordList[this.activeIndex].content;
this.dialogVisible = true;
}
})
}*/
},
},
}
</script>
<style lang="scss">
.keyword_dialog{
.el-dialog{
width: 800px;
height: 384px;
background: #FFFFFF;
border-radius: 4px 4px 4px 4px;
opacity: 1;
position: relative;
.keyword_label{
position: absolute;
top: 11px;
left: 115px;
}
.el-dialog__header{
padding-left: 24px;
padding-top: 9px;
color: #333333;
font-weight: bold;
border-bottom: 1px solid #EEEEEE;
.el-dialog__title{
font-size: 16px;
}
.el-dialog__headerbtn{
font-size: 20px;
top: 5px;
right: 16px;
}
}
.el-dialog__body{
padding-top: 16px;
.keyword_select{
margin-bottom: 8px;
width: 376px;
.el-input,.el-input__inner{
width: 376px;
}
}
.keyword_name{
display: inline-block;
text-align: center;
width: 180px;
position: relative;
background:#F8F8F8;
border:1px solid rgba(230,230,230,1);
border-radius:2px 2px 0px 0px;
.el-scrollbar__wrap{
overflow-x: hidden;
}
li{
height:40px;
line-height:40px;
box-sizing: border-box;
cursor: pointer;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
padding: 0 5px;
color: #999999;
&:hover{
color: #0081FF;
background: #E2EDFF;
font-weight:bold;
}
}
.active_li{
color: #0081FF;
background: #E2EDFF;
font-weight:bold;
}
.el-input .el-input__inner{
height: 40px;
border-radius: 4px 4px 0 0;
border: none;
border-bottom: 1px solid #E6E6E6;
}
}
.keyword_con{
float: right;
display: inline-block;
position: relative;
margin-right: 4px;
width: 576px;
height:258px;
background:rgba(255,255,255,1);
border:1px solid rgba(230,230,230,1);
border-radius:2px 2px 0px 0px;
box-sizing: border-box;
textarea{
border: none;
resize:none;
max-height: 256px;
color: #333333;
padding: 16px;
}
.keyword_btn{
cursor: pointer;
line-height:28px;
color: #ffffff;
text-align: center;
position: absolute;
bottom: 24px;
right: 16px;
width: 102px;
height: 28px;
background: #0081FF;
border-radius: 2px 2px 2px 2px;
opacity: 1;
}
.keyword_con_label{
color: #999999;
font-size: 12px;
margin-left: 16px;
.keyword_con_img{
width: 14px;
height: 14px;
position: relative;
top: -2px;
}
}
}
}
}
}
.el-autocomplete-suggestion{
width: 140px!important;
}
.el-autocomplete-suggestion__wrap{
max-height: 370px!important;
}
</style>
...@@ -125,7 +125,7 @@ export const constantRoutes = [ ...@@ -125,7 +125,7 @@ export const constantRoutes = [
path: '/macro/financing/details/:id(\\d+)', path: '/macro/financing/details/:id(\\d+)',
component: () => import('@/views/macro/financing/details'), component: () => import('@/views/macro/financing/details'),
name: 'financingDetails', name: 'financingDetails',
meta: { title: '区域专项债详情', icon: 'user' } meta: { title: '区域专项债详情'}
} }
] ]
}, },
...@@ -170,7 +170,21 @@ export const constantRoutes = [ ...@@ -170,7 +170,21 @@ export const constantRoutes = [
meta: { title: '拟建项目详情', icon: 'radar' } meta: { title: '拟建项目详情', icon: 'radar' }
} }
] ]
} },
{
path: '/bxprozbgg',
component: Layout,
hidden: true,
redirect: 'noredirect',
children: [
{
path: '/radar/bxprozbgg/details/:id(\\d+)',
component: () => import('@/views/radar/bxprozbgg/details'),
name: 'bxprozbggDetails',
meta: { title: '标讯pro项目详情', icon: 'radar' }
}
]
},
] ]
// 动态路由,基于用户权限动态去加载 // 动态路由,基于用户权限动态去加载
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="empty" v-if="tableData.total==0 && isNew == true"> <div class="empty" v-if="tableData.total==0 && isNew == true">
<img src="@/assets/images/project/empty.png"> <img src="@/assets/images/project/empty.png">
<div class="p1">添加你的第一位客户吧</div> <div class="p1">添加你的第一位客户吧</div>
<div class="p2">抱歉,你还未添加客户,快去添加吧</div> <div class="p2">抱歉你还未添加客户,快去添加吧</div>
<div class="btn btn_primary h36 w88" @click="opennew">添加客户</div> <div class="btn btn_primary h36 w88" @click="opennew">添加客户</div>
<div class="btn btn_primary btn_shallow h36 w88" @click="pldrs">批量导入</div> <div class="btn btn_primary btn_shallow h36 w88" @click="pldrs">批量导入</div>
</div> </div>
...@@ -227,56 +227,7 @@ ...@@ -227,56 +227,7 @@
</el-dialog> </el-dialog>
</el-card> </el-card>
</div> </div>
<div class="uploadwin" v-if="pldr"> <batchimport v-if="pldr" :importtype="types" @cancels="importCancel" @getdatas="handleCurrentChange(1)"></batchimport>
<div class="upload" v-if="addfile==false">
<div class="up_title">批量导入客户</div>
<div class="up_box">
<el-upload :class="{'none':isUpload == true}"
class="upload-demo"
:action="action"
:multiple="false"
accept=".xls,.xlsx"
drag
ref="upload"
:auto-upload="false"
:file-list="fileList"
:on-change="handleFileListChange"
:headers="headers"
:on-success="onSuccess">
<img class="up_img" src="@/assets/images/project/upload.png">
<div class="up_text">点击选择或将文件(xls,xlsx)拖拽至此上传成员名录</div>
<div class="up_tip">导入的文件内容必须依照下载模板的要求填写</div>
<div class="up_tip">上传文件最大为2M,仅支持Excel表格文件(xls,xlsx)</div>
<div class="up_tip">导入已存在的客户将自动跳过</div>
</el-upload>
<div class="up_success" v-if="isUpload == true">
<img src="@/assets/images/project/success.png">上传成功
</div>
<div class="btn_download" v-if="isUpload == false" @click="downloadClick"><div class="img"></div>点击下载</div>
</div>
<div class="btns">
<div class="btn btn_primary btn_disabled h34" v-if="isUpload==false">确定导入</div>
<div class="btn btn_primary h34" @click="importConfirmClick" v-else>确定导入</div>
<div class="btn btn_default h34">取消</div>
</div>
</div>
<div class="success" v-if="addfile==true">
<div v-if="addsuccess==false">
<img class="img" src="@/assets/images/project/clock.png">
<div class="p1">查询客户中...</div>
<div class="p2">请耐心等待,过程大概30秒</div>
</div>
<div v-if="addsuccess == true">
<div class="p3">
<img src="@/assets/images/project/success.png">查询成功
</div>
<div class="p2">成功导入客户信息</div>
<div class="btns">
<div class="btn btn_primary h32" @click="handleCurrentChange(1)">查看</div>
</div>
</div>
</div>
</div>
</div> </div>
</template> </template>
...@@ -286,12 +237,15 @@ ...@@ -286,12 +237,15 @@
import {getCustomerList,importData,addCustomer} from '@/api/custom/custom' import {getCustomerList,importData,addCustomer} from '@/api/custom/custom'
import {getEnterprise,getDictType,} from '@/api/main' import {getEnterprise,getDictType,} from '@/api/main'
import prvinceTree from '@/assets/json/provinceTree' import prvinceTree from '@/assets/json/provinceTree'
import batchimport from '../../project/projectList/component/batchImport'
import axios from 'axios' import axios from 'axios'
export default { export default {
name: 'CustomList', name: 'CustomList',
components:{batchimport},
data() { data() {
return{ return{
pldr: false, pldr: false,
types:'custom',
searchParam:{ searchParam:{
companyName:'', companyName:'',
pageNum:1, pageNum:1,
...@@ -304,9 +258,6 @@ export default { ...@@ -304,9 +258,6 @@ export default {
tipslit:[],//项目标签 tipslit:[],//项目标签
tipsvalue:"",//标签填写内容 tipsvalue:"",//标签填写内容
tableData: [],//列表 tableData: [],//列表
isUpload:false,//有上传的文件
addfile:false,//已上传文件
addsuccess:false,//已成功加入数据
companData:[],//联想企业列表 companData:[],//联想企业列表
customerLevel:[],//客户等级 customerLevel:[],//客户等级
...@@ -352,9 +303,9 @@ export default { ...@@ -352,9 +303,9 @@ export default {
}, },
pldrs(){ pldrs(){
this.pldr = true this.pldr = true
this.addfile = false },
this.isUpload = false importCancel(){
this.addsuccess = false this.pldr = false
}, },
//获取客户列表 //获取客户列表
getCustomerList(){ getCustomerList(){
...@@ -372,6 +323,7 @@ export default { ...@@ -372,6 +323,7 @@ export default {
}, },
//翻页 //翻页
handleCurrentChange(val) { handleCurrentChange(val) {
this.pldr=false
this.isNew = false this.isNew = false
this.searchParam.pageNum=val this.searchParam.pageNum=val
this.getCustomerList() this.getCustomerList()
...@@ -472,35 +424,6 @@ export default { ...@@ -472,35 +424,6 @@ export default {
this.dialogVisible = false this.dialogVisible = false
this.showlist = false this.showlist = false
}, },
// 批量导入
importConfirmClick() {
if (this.fileList.length > 0) {
this.$refs["upload"].submit();
this.getCustomerList();
this.addfile = true
} else {
this.$message("请先选择文件");
}
},
downloadClick() {
let a = document.createElement("a");
a.setAttribute("href", "/file/Template.xlsx");
a.setAttribute("download", "批量导入模版.xlsx");
document.body.appendChild(a);
a.click();
},
handleFileListChange(file, fileList) {
if (fileList.length > 0) {
this.fileList = [fileList[fileList.length - 1]];
this.isUpload = true
}
},
onSuccess(res, file, fileList) {
if(res.code == 200 )
this.addsuccess = true
else
this.$message.error({message:res.msg,showClose:true})
},
//地区 //地区
async prvinceTree() { async prvinceTree() {
...@@ -617,5 +540,4 @@ export default { ...@@ -617,5 +540,4 @@ export default {
padding-right: 26px; padding-right: 26px;
} }
} }
.none{display: none}
</style> </style>
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
</el-date-picker> </el-date-picker>
</template> </template>
<!-- 输入框 --> <!-- 输入框 -->
<template v-if="form.type==3"> <template v-if="form.type==3">
<div class="cooperate-name"> <div class="cooperate-name">
<el-input v-model="form.value" placeholder="请输入关键词"></el-input> <el-input v-model="form.value" :placeholder="form.placeholder"></el-input>
<span @click="changeSelect">搜索</span> <span @click="changeSelect">搜索</span>
</div> </div>
</template> </template>
...@@ -53,6 +53,10 @@ ...@@ -53,6 +53,10 @@
<el-option v-for="(item, index) in form.options" :key="index" :label="item.name" :value="item.value" /> <el-option v-for="(item, index) in form.options" :key="index" :label="item.name" :value="item.value" />
</el-select> </el-select>
</template> </template>
<!-- 自定义 -->
<template v-if="form.type==0">
<slot name="slot"></slot>
</template>
</div> </div>
...@@ -109,7 +113,6 @@ export default { ...@@ -109,7 +113,6 @@ export default {
}, },
methods: { methods: {
changeSelect(){ changeSelect(){
console.log(this.formData)
this.$emit('handle-search') this.$emit('handle-search')
}, },
clickEXCEL() { clickEXCEL() {
...@@ -204,6 +207,9 @@ export default { ...@@ -204,6 +207,9 @@ export default {
color: rgba(35,35,35,0.8); color: rgba(35,35,35,0.8);
margin-left: 16px; margin-left: 16px;
cursor: pointer; cursor: pointer;
&:hover{
color: #0081FF;
}
img{ img{
width: 18px; width: 18px;
height: 18px; height: 18px;
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
<template slot="title"> <template slot="title">
<span>{{item.title}}</span> <span>{{item.title}}</span>
</template> </template>
<el-menu-item :index="index+'-'+idx" v-for="(it, idx) in item.children" :key="idx" @click="handleItem(it)">{{it.title}}</el-menu-item> <el-menu-item :index="index+'-'+idx" v-for="(it, idx) in item.children" :key="idx" @click="handleItem(it)" :disabled="it.disabled">{{it.title}}</el-menu-item>
</el-submenu> </el-submenu>
<el-menu-item :index="index.toString()" @click="handleItem(item)" v-else>{{item.title}}</el-menu-item> <el-menu-item :index="index.toString()" @click="handleItem(item)" :disabled="item.disabled" v-else>{{item.title}}</el-menu-item>
</template> </template>
</el-menu> </el-menu>
</div> </div>
...@@ -50,13 +50,13 @@ export default { ...@@ -50,13 +50,13 @@ export default {
]}, ]},
{title: '财务简析', pathName: 'financial'}, {title: '财务简析', pathName: 'financial'},
{title: '项目商机', pathName: '', children: [ {title: '项目商机', pathName: '', children: [
{title: '土地交易', pathName: ''}, {title: '土地交易', pathName: 'landtransaction'},
{title: '拟建项目', pathName: ''}, {title: '拟建项目', pathName: 'proposed'},
{title: '专项债项目', pathName: ''}, {title: '专项债项目', pathName: 'bond'},
{title: '招标计划', pathName: ''}, {title: '招标计划', pathName: 'biddingplan'},
{title: '招标公告', pathName: ''}, {title: '招标公告', pathName: 'announcement'},
{title: '标讯Pro', pathName: ''}, {title: '标讯Pro', pathName: 'tencent'},
{title: '行政许可', pathName: ''} {title: '行政许可', pathName: 'administrative'}
]}, ]},
{title: '业务往来', pathName: '', children: [ {title: '业务往来', pathName: '', children: [
{title: '客户', pathName: ''}, {title: '客户', pathName: ''},
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
{title: '开庭公告', pathName: 'openacourtsessionNotice'}, {title: '开庭公告', pathName: 'openacourtsessionNotice'},
{title: '信用中国', pathName: ''} {title: '信用中国', pathName: ''}
]}, ]},
{title: '商务信息', pathName: 'business'}, // {title: '商务信息', pathName: 'business'},
{title: '招标偏好', pathName: 'preference'}, {title: '招标偏好', pathName: 'preference'},
{title: '合作情况', pathName: 'cooperate'}, {title: '合作情况', pathName: 'cooperate'},
{title: '决策链条', pathName: 'decisionMaking'}, {title: '决策链条', pathName: 'decisionMaking'},
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
:label="item.label" :label="item.label"
:prop="item.prop" :prop="item.prop"
:width="item.width" :width="item.width"
:min-width="item.minWidth"
align="left" align="left"
:fixed="item.fixed" :fixed="item.fixed"
:sortable="item.sortable" :sortable="item.sortable"
......
<!-- 表格组件 -->
<template>
<div class="infoTable-container">
<el-form v-if="Object.keys(obj).length > 0" class="infoTable-form" label-position="left">
<template v-for="(item, index) in list">
<el-form-item :style="item.span?{width: `${100/(24/item.span)}%`}:{}" :label="item.name" :label-width="labelWidth?labelWidth+'px':'130px'" :key="index" :class="[
{ 'infoTable-form-view': item.style },
{ 'infoTable-form-item': !item.style },
{ 'infoTable-form-row': item.rowstyle }
]">
<div>
<template v-if="item.slot === true">
<slot :name="item.prop" :data="obj"></slot>
</template>
<span v-else> {{ obj[item.prop] ?obj[item.prop] !==""?item.formatter?item.formatter(obj[item.prop]):obj[item.prop]:'--' :'--' }}</span>
</div>
</el-form-item>
</template>
</el-form>
<div v-else class="no-data">
<div class="no-data-box" v-if="show">
<img :src="noData" alt="暂时没有找到相关数据" />
<span>暂时没有找到相关数据</span>
</div>
</div>
</div>
</template>
<script>
export default {
name: "InfoTable",
components: {
},
props: {
list: {
type: Array,
default: () => [],
},
obj: {
type: Object,
default: () => { }
},
labelWidth: {
type: Number,
default: null
}
},
data() {
return {
show:false,
// 当前移入单元格内容
noData: require("@/assets/images/detail/noData.png")
};
},
created() {
},
mounted(){
this.show = true;
},
methods: {
},
};
</script>
<style lang="scss" scoped>
.infoTable-container {
.infoTable-form {
display: flex;
flex-wrap: wrap;
border-left: 1px solid #e5e9f5;
border-top: 1px solid #e5e9f5;
border-collapse: collapse;
.infoTable-form-item {
width: 50%;
flex: auto;
margin-bottom: 0px;
border-right: 1px solid #e5e9f5;
border-bottom: 1px solid #e5e9f5;
font-family: Microsoft YaHei-Regular, Microsoft YaHei;
font-size: 12px;
}
.infoTable-form-view {
width: 100%;
flex: auto;
margin-bottom: 0px;
border-right: 1px solid #e5e9f5;
border-bottom: 1px solid #e5e9f5;
font-family: Microsoft YaHei-Regular, Microsoft YaHei;
font-size: 12px;
}
.infoTable-form-row {
width: 33%;
flex: auto;
margin-bottom: 0px;
border-right: 1px solid #e5e9f5;
border-bottom: 1px solid #e5e9f5;
font-family: Microsoft YaHei-Regular, Microsoft YaHei;
font-size: 12px;
}
::v-deep .el-form-item__label {
height: 100%;
background-color: #F0F3FA;
padding: 8px 12px 8px 12px;
font-size: 12px;
font-weight: normal;
color: rgba(35,35,35,0.8);
display: flex;
align-items: center;
line-height: normal;
}
::v-deep .el-form-item__content {
padding-left: 12px;
font-size: 12px;
color: #232323;
}
::v-deep .el-form-item__content {
border-left: 1px solid #e5e9f5;
height: 100%;
display: flex;
align-items: center;
}
::v-deep .el-col {
border-bottom: 1px solid #e5e9f5;
}
}
.no-data {
font-size: 14px;
font-family: Microsoft YaHei-Regular, Microsoft YaHei;
font-weight: 400;
color: #999999;
text-shadow: 0px 0px 10px rgba(0, 37, 106, 0.10000000149011612);
max-width: 1200px;
height: 328px;
display: flex;
justify-content: center;
align-items: center;
background: #ffffff;
border-radius: 0px 0px 0px 0px;
opacity: 1;
border: 1px solid #eeeeee;
.no-data-box {
display: flex;
flex-direction: column;
align-items: center;
img {
width: 64px;
height: 79px;
margin-bottom: 16px;
}
}
}
::v-deep .el-form-item__content {
line-height: 22px;
padding: 6px 4px;
}
}
</style>
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
</div> </div>
</template> </template>
<!-- <Detail />-->
<!-- 弹窗关联项目 --> <!-- 弹窗关联项目 -->
<el-drawer <el-drawer
title="添加合作情况" title="添加合作情况"
...@@ -130,11 +132,12 @@ import { ...@@ -130,11 +132,12 @@ import {
queryProject queryProject
} from '@/api/detail/party-a/cooperate' } from '@/api/detail/party-a/cooperate'
import {addProject} from '@/api/project/project' import {addProject} from '@/api/project/project'
import Detail from "../../../project/projectList/detail"
export default { export default {
name: 'Cooperate', name: 'Cooperate',
mixins: [mixin], mixins: [mixin],
components: { components: {
Detail
}, },
data() { data() {
return { return {
......
...@@ -54,7 +54,8 @@ ...@@ -54,7 +54,8 @@
</template> </template>
<script> <script>
import * as echarts from 'echarts'; import { getList } from '@/api/detail/party-a/financial'
import * as echarts from 'echarts'
export default { export default {
name: 'Financial', name: 'Financial',
props: ['companyId'], props: ['companyId'],
...@@ -79,12 +80,7 @@ export default { ...@@ -79,12 +80,7 @@ export default {
{ name: '非标余额', ico: require('@/assets/images/detail/financial/zwqk_ico3.png'), intro: '非标余额/有息债务', introPro: '95.19%', amount: '1699.7', unit: '亿元'}, { name: '非标余额', ico: require('@/assets/images/detail/financial/zwqk_ico3.png'), intro: '非标余额/有息债务', introPro: '95.19%', amount: '1699.7', unit: '亿元'},
{ name: '对外担保金额', ico: require('@/assets/images/detail/financial/zwqk_ico4.png'), intro: '对外担保比例', introPro: '95.19%', amount: '1699.7', unit: '亿元'} { name: '对外担保金额', ico: require('@/assets/images/detail/financial/zwqk_ico4.png'), intro: '对外担保比例', introPro: '95.19%', amount: '1699.7', unit: '亿元'}
], ],
echartsData: [ echartsData: [],
{ value: 1048, name: '有息债务' },
{ value: 735, name: '有息债务/总债务' },
{ value: 580, name: '综合融资成本' },
{ value: 484, name: 'EBITDA保障倍数' }
],
// 资金情况 // 资金情况
zjqkList: [ zjqkList: [
{ name: '经营现金流', ico: require('@/assets/images/detail/financial/zjqk_ico1.png'), intro: '该指标越高,说明经营活动的造血能力越强', amount: '99213', unit: '亿元'}, { name: '经营现金流', ico: require('@/assets/images/detail/financial/zjqk_ico1.png'), intro: '该指标越高,说明经营活动的造血能力越强', amount: '99213', unit: '亿元'},
...@@ -113,9 +109,23 @@ export default { ...@@ -113,9 +109,23 @@ export default {
created() { created() {
}, },
mounted() { mounted() {
this.getEcharts() this.handleQuery()
}, },
methods: { methods: {
handleQuery() {
let param = {}
getList(param).then((res) => {
this.echartsData = [
{ value: 1048, name: '有息债务' },
{ value: 735, name: '有息债务/总债务' },
{ value: 580, name: '综合融资成本' },
{ value: 484, name: 'EBITDA保障倍数' }
]
this.$nextTick(() => {
this.getEcharts()
})
})
},
getEcharts(){ getEcharts(){
let myChart = echarts.init(document.getElementById("myEcharts")); let myChart = echarts.init(document.getElementById("myEcharts"));
//配置图表 //配置图表
...@@ -193,6 +203,7 @@ export default { ...@@ -193,6 +203,7 @@ export default {
.financial-header{ .financial-header{
background: #FFFFFF; background: #FFFFFF;
padding: 24px 16px; padding: 24px 16px;
border-radius: 4px;
.header-box { .header-box {
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
...@@ -269,6 +280,7 @@ export default { ...@@ -269,6 +280,7 @@ export default {
background: #FFFFFF; background: #FFFFFF;
padding: 24px 16px; padding: 24px 16px;
margin-top: 12px; margin-top: 12px;
border-radius: 4px;
.zcqk-list{ .zcqk-list{
margin-top: 4px; margin-top: 4px;
overflow: hidden; overflow: hidden;
...@@ -335,6 +347,7 @@ export default { ...@@ -335,6 +347,7 @@ export default {
background: #FFFFFF; background: #FFFFFF;
padding: 24px 16px; padding: 24px 16px;
margin-top: 12px; margin-top: 12px;
border-radius: 4px;
.zwqk-box{ .zwqk-box{
padding-top: 20px; padding-top: 20px;
justify-content: normal; justify-content: normal;
......
...@@ -7,34 +7,43 @@ ...@@ -7,34 +7,43 @@
</div> </div>
<div class="part-right"> <div class="part-right">
<div id="partBox" v-if="companyId"> <div id="partBox" v-if="companyId">
<Overview v-if="currentPath.pathName=='overview'" /> <!-- 企业概览 -->
<Overview v-if="currentPath.pathName=='overview'" :company-id="companyId" />
<Businfo v-if="currentPath.pathName=='businfo'" :company-id="companyId" /> <Businfo v-if="currentPath.pathName=='businfo'" :company-id="companyId" />
<Holderinfo v-if="currentPath.pathName=='holderinfo'" :company-id="companyId" /> <Holderinfo v-if="currentPath.pathName=='holderinfo'" :company-id="companyId" />
<Execuinfo v-if="currentPath.pathName=='execuinfo'" :company-id="companyId" /> <Execuinfo v-if="currentPath.pathName=='execuinfo'" :company-id="companyId" />
<Overseas v-if="currentPath.pathName=='overseas'" :company-id="companyId" /> <Overseas v-if="currentPath.pathName=='overseas'" :company-id="companyId" />
<Branch v-if="currentPath.pathName=='branch'" :company-id="companyId" /> <Branch v-if="currentPath.pathName=='branch'" :company-id="companyId" />
<Financial v-if="currentPath.pathName=='financial'" :company-id="companyId" /> <Financial v-if="currentPath.pathName=='financial'" :company-id="companyId" />
<Business v-if="currentPath.pathName=='business'" /> <!-- <Business v-if="currentPath.pathName=='business'" /> 商务信息 -->
<!-- 项目商机 -->
<Landtransaction v-if="currentPath.pathName=='landtransaction'" :company-id="companyId" />
<Proposed v-if="currentPath.pathName=='proposed'" :company-id="companyId" />
<Bond v-if="currentPath.pathName=='bond'" :company-id="companyId" />
<Biddingplan v-if="currentPath.pathName=='biddingplan'" :company-id="companyId" />
<Announcement v-if="currentPath.pathName=='announcement'" :company-id="companyId" />
<Tencent v-if="currentPath.pathName=='tencent'" :company-id="companyId" />
<Administrative v-if="currentPath.pathName=='administrative'" :company-id="companyId" />
<!-- 投诚分析 --> <!-- 投诚分析 -->
<LandAcquisition v-if="currentPath.pathName=='landAcquisition'" /> <LandAcquisition v-if="currentPath.pathName=='landAcquisition'" :company-id="companyId" />
<RegionalEconomies v-if="currentPath.pathName=='regionalEconomies'" /> <RegionalEconomies v-if="currentPath.pathName=='regionalEconomies'" :company-id="companyId" />
<SameRegion v-if="currentPath.pathName=='sameRegion'" /> <SameRegion v-if="currentPath.pathName=='sameRegion'" :company-id="companyId" />
<!-- 风险信息 --> <!-- 风险信息 -->
<Punish v-if="currentPath.pathName=='punish'" /> <Punish v-if="currentPath.pathName=='punish'" :company-id="companyId" />
<BusinessAnomaly v-if="currentPath.pathName=='businessAnomaly'" /> <BusinessAnomaly v-if="currentPath.pathName=='businessAnomaly'" :company-id="companyId" />
<IfThePerson v-if="currentPath.pathName=='ifThePerson'" /> <IfThePerson v-if="currentPath.pathName=='ifThePerson'" :company-id="companyId" />
<Dishonesty v-if="currentPath.pathName=='dishonesty'" /> <Dishonesty v-if="currentPath.pathName=='dishonesty'" :company-id="companyId" />
<Judgment v-if="currentPath.pathName=='judgment'" /> <Judgment v-if="currentPath.pathName=='judgment'" :company-id="companyId" />
<CourtNotice v-if="currentPath.pathName=='courtNotice'" /> <CourtNotice v-if="currentPath.pathName=='courtNotice'" :company-id="companyId" />
<OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" /> <OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" :company-id="companyId" />
<!-- 招标偏好 --> <!-- 招标偏好 -->
<Preference v-if="currentPath.pathName=='preference'" /> <Preference v-if="currentPath.pathName=='preference'" :company-id="companyId" />
<!-- 合作情况 --> <!-- 合作情况 -->
<Cooperate v-if="currentPath.pathName=='cooperate'" /> <Cooperate v-if="currentPath.pathName=='cooperate'" :company-id="companyId" />
<!-- 决策链条 --> <!-- 决策链条 -->
<DecisionMaking v-if="currentPath.pathName=='decisionMaking'" /> <DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :company-id="companyId" />
<!-- 跟进记录 --> <!-- 跟进记录 -->
<Gjjl v-if="currentPath.pathName=='gjjl'" types="gjdt" /> <Gjjl v-if="currentPath.pathName=='gjjl'" :company-id="companyId" />
</div> </div>
</div> </div>
</div> </div>
...@@ -53,7 +62,14 @@ import Execuinfo from "./overview/execuinfo" //企业概览-高管信息 ...@@ -53,7 +62,14 @@ import Execuinfo from "./overview/execuinfo" //企业概览-高管信息
import Overseas from "./overview/overseas" //企业概览-对外投资 import Overseas from "./overview/overseas" //企业概览-对外投资
import Branch from "./overview/branch" //企业概览-分支机构 import Branch from "./overview/branch" //企业概览-分支机构
import Financial from "./financial" //财务简析 import Financial from "./financial" //财务简析
import Business from "./business" //商务信息 //import Business from "./business" //商务信息
import Landtransaction from "./opport/landtransaction" //项目商机-土地交易
import Proposed from "./opport/proposed" //项目商机-拟建项目
import Bond from "./opport/bond" //项目商机-专项债项目
import Biddingplan from "./opport/biddingplan" //项目商机-招标计划
import Announcement from "./opport/announcement" //项目商机-招标公告
import Tencent from "./opport/tencent" //项目商机-标讯Pro
import Administrative from "./opport/administrative" //项目商机-行政许可
import LandAcquisition from "./urbanLnvestment/landAcquisition" //投诚分析-城投拿地 import LandAcquisition from "./urbanLnvestment/landAcquisition" //投诚分析-城投拿地
import RegionalEconomies from "./urbanLnvestment/regionalEconomies" //投诚分析-区域经济 import RegionalEconomies from "./urbanLnvestment/regionalEconomies" //投诚分析-区域经济
import SameRegion from "./urbanLnvestment/sameRegion" //投诚分析-同地区城投 import SameRegion from "./urbanLnvestment/sameRegion" //投诚分析-同地区城投
...@@ -80,7 +96,14 @@ export default { ...@@ -80,7 +96,14 @@ export default {
Overseas, Overseas,
Branch, Branch,
Financial, Financial,
Business, // Business,
Landtransaction,
Proposed,
Bond,
Biddingplan,
Announcement,
Tencent,
Administrative,
LandAcquisition, LandAcquisition,
RegionalEconomies, RegionalEconomies,
SameRegion, SameRegion,
......
...@@ -14,6 +14,12 @@ export default { ...@@ -14,6 +14,12 @@ export default {
}, },
methods: { methods: {
// 设置下拉选项数据源
setFormData(fieldName, list) {
this.formData.forEach(item => {
item.fieldName == fieldName ? item.options = list : ''
})
},
formParams(){ formParams(){
let condtion = {} let condtion = {}
let reqData = {} let reqData = {}
...@@ -29,6 +35,9 @@ export default { ...@@ -29,6 +35,9 @@ export default {
}) })
Object.keys(condtion).forEach(key => { Object.keys(condtion).forEach(key => {
if(condtion[key]) { if(condtion[key]) {
if(Array.isArray(condtion[key]) && condtion[key].length == 0){
delete condtion[key]
}
reqData[key] = condtion[key] reqData[key] = condtion[key]
} }
}) })
...@@ -41,13 +50,14 @@ export default { ...@@ -41,13 +50,14 @@ export default {
handleSearch(){ handleSearch(){
let params = this.formParams() let params = this.formParams()
params.pageNum = 1 params.pageNum = 1
this.queryParams.pageNum = 1
this.handleQuery(params) this.handleQuery(params)
}, },
//分页 //分页
handleCurrentChange(e){ handleCurrentChange(e){
console.log(e)
let params = this.formParams() let params = this.formParams()
params.pageNum = e params.pageNum = e
this.queryParams.pageNum = e
this.handleQuery(params) this.handleQuery(params)
}, },
handleSizeChange(e){ handleSizeChange(e){
......
<template>
<div class="detail-container">
<head-form
title="行政许可"
:form-data="formData"
:query-params="queryParams"
:total="tableDataTotal"
@handle-search="handleSearch"
/>
<tables
:indexFixed="true"
:tableLoading="tableLoading"
:tableData="tableData"
:forData="forData"
:tableDataTotal="tableDataTotal"
:queryParams="queryParams"
@handle-current-change="handleCurrentChange"
>
<template slot="porjectName" slot-scope="scope">
<span :class="[isOverHiddenFlag(scope.data.width, showList, scope.index, 0, scope.row.porjectName)?'cell-span':'']" :style="{'-webkit-line-clamp': 2}">
{{ scope.row.porjectName }}
<span v-if="isOverHiddenFlag(scope.data.width, showList, scope.index, 0, scope.row.porjectName)" @click="changeShowAll(scope.index, 0)">...<span style="color: #0081FF;">展开</span></span>
</span>
</template>
</tables>
</div>
</template>
<script>
import mixin from '../mixins/mixin'
import { getList } from '@/api/detail/party-a/opport'
export default {
name: 'Administrative',
props: ['companyId'],
mixins: [mixin],
components: {
},
data() {
return {
queryParams: {
companyId: this.companyId,
pageNum: 1,
pageSize: 10
},
forData: [
{label: '许可决定日期', prop: 'use', width: '100'},
{label: '决定文书号', prop: 'type', width: '200'},
{label: '许可编号', prop: 'type', width: '80'},
{label: '决定文书名称', prop: 'type', width: '190'},
{label: '许可内容', prop: 'porjectName', width: '300', slot: true},
{label: '有效期自', prop: 'type', width: '100'},
{label: '有效期至', prop: 'type', width: '100'},
{label: '行政许可类别', prop: 'type', width: '100'},
{label: '许可机关', prop: 'type', width: '180'},
{label: '行政许可机关统一社会信用代码', prop: 'type', width: '200'},
{label: '数据来源单位', prop: 'type', width: '110'},
{label: '数据来源单位统一社会信用代码', prop: 'type', width: '200'},
{label: '来源', prop: 'type', width: '80'}
],
formData: [
{ type: 3, fieldName: 'keys', value: '', placeholder: '输入关键词查询', options: []},
],
//列表
tableLoading:false,
tableData:[],
tableDataTotal:0,
showList:[]
}
},
computed: {
},
created() {
this.handleQuery()
},
methods: {
handleQuery(params) {
this.tableLoading = true
let param = params?params:this.queryParams
getList(param).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
porjectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装滨州医学院口腔医学大',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
},
changeShowAll(row, column) {
this.showList.push({
row: row,
column: column
})
},
isOverHiddenFlag(data, showList, row, column, value) {
if(value && String(value).length > this.getLenth(data)) {
return !showList.some(item => item.row==row&&item.column==column)
}else {
return false
}
},
getLenth(data) {
return Math.floor(data / 12) * 5
}
}
}
</script>
<style lang="scss" scoped>
.detail-container{
background: #ffffff;
border-radius: 4px;
padding: 16px;
.cell-span {
display: inline-block;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
cursor: pointer;
>span {
display: inline-block;
width: 37px;
position: absolute;
right: 0;
bottom: 0;
background-color: #fff;
z-index: 1;
}
}
}
</style>
<template>
<div class="detail-container">
<head-form
title="招标公告"
:form-data="formData"
:query-params="queryParams"
:total="tableDataTotal"
:isExcel="true"
@handle-search="handleSearch"
/>
<tables
:indexFixed="true"
:tableLoading="tableLoading"
:tableData="tableData"
:forData="forData"
:tableDataTotal="tableDataTotal"
:queryParams="queryParams"
@handle-current-change="handleCurrentChange"
>
<template slot="porjectName" slot-scope="scope">
<router-link to="" tag="a" class="a-link">{{ scope.row.porjectName }}</router-link>
</template>
</tables>
</div>
</template>
<script>
import mixin from '../mixins/mixin'
import {getList, getOption} from '@/api/detail/party-a/opport'
export default {
name: 'Announcement',
props: ['companyId'],
mixins: [mixin],
components: {
},
data() {
return {
queryParams: {
companyId: this.companyId,
pageNum: 1,
pageSize: 10
},
forData: [
{label: '项目名称', prop: 'porjectName', minWidth: '300', slot: true},
{label: '发布日期', prop: 'use', sortable: true, width: '120'},
{label: '预算金额(万元)', prop: 'type', sortable: true, width: '140'},
{label: '项目地区', prop: 'way', width: '120'},
{label: '项目类别', prop: 'state', width: '90'},
{label: '招采单位联系人', prop: 'money', width: '110'},
{label: '招采单位联系方式', prop: 'money', width: '130'},
{label: '代理单位', prop: 'money', width: '170'},
{label: '代理单位联系人', prop: 'money', width: '110'},
{label: '代理单位联系方式', prop: 'money', width: '130'},
{label: '报名截止日期', prop: 'money', width: '100'}
],
formData: [
{ type: 1, fieldName: 'projectStage', value: '', placeholder: '项目地区', options: []},
{ type: 1, fieldName: 'projectType', value: '', placeholder: '项目类型', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '输入关键词查询', options: []}
],
//列表
tableLoading:false,
tableData:[],
tableDataTotal:0
}
},
computed: {
},
created() {
this.handleOption()
this.handleQuery()
},
methods: {
handleOption(){
getOption().then((res) => {
this.setFormData('projectStage', [
{ name: '类别1', value: '1' },
{ name: '类别2', value: '2' },
{ name: '类别3', value: '3' },
{ name: '类别4', value: '4' }
])
this.setFormData('projectType', [
{ name: '类别1', value: '1' },
{ name: '类别2', value: '2' },
{ name: '类别3', value: '3' },
{ name: '类别4', value: '4' }
])
})
},
handleQuery(params) {
this.tableLoading = true
let param = params?params:this.queryParams
getList(param).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
porjectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
}
}
}
</script>
<style lang="scss" scoped>
.detail-container{
background: #ffffff;
border-radius: 4px;
padding: 16px;
}
</style>
<template>
<div class="app-container detail-container">
biddingplan
</div>
</template>
<script>
import mixin from '../mixins/mixin'
export default {
name: 'Biddingplan',
props: ['companyId'],
mixins: [mixin],
data() {
return {
}
},
created() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.detail-container{
margin: 0;
padding: 16px;
background: #FFFFFF;
}
</style>
<template>
<div class="detail-container">
<head-form
title="专项债项目"
:form-data="formData"
:query-params="queryParams"
:total="tableDataTotal"
:isExcel="true"
@handle-search="handleSearch"
/>
<tables
:indexFixed="true"
:tableLoading="tableLoading"
:tableData="tableData"
:forData="forData"
:tableDataTotal="tableDataTotal"
:queryParams="queryParams"
@handle-current-change="handleCurrentChange"
>
<template slot="porjectName" slot-scope="scope">
<router-link to="" tag="a" class="a-link">{{ scope.row.porjectName }}</router-link>
</template>
</tables>
</div>
</template>
<script>
import mixin from '../mixins/mixin'
import { getList } from '@/api/detail/party-a/opport'
export default {
name: 'Bond',
props: ['companyId'],
mixins: [mixin],
components: {
},
data() {
return {
queryParams: {
companyId: this.companyId,
pageNum: 1,
pageSize: 10
},
forData: [
{label: '项目名称', prop: 'porjectName', minWidth: '300', slot: true},
{label: '项目总投资(亿元)', prop: 'use', sortable: true, width: '150'},
{label: '项目资本金(亿元)', prop: 'type', sortable: true, width: '150'},
{label: '项目收益倍数(倍)', prop: 'way', sortable: true, width: '150'},
{label: '专项债金额(亿元)', prop: 'state', sortable: true, width: '150'},
{label: '专项债用作资本金(亿元)', prop: 'money', sortable: true, width: '200'}
],
formData: [
{ type: 3, fieldName: 'keys', value: '', placeholder: '输入项目名称关键词查询', options: []},
],
//列表
tableLoading:false,
tableData:[],
tableDataTotal:0
}
},
computed: {
},
created() {
this.handleQuery()
},
methods: {
handleQuery(params) {
this.tableLoading = true
let param = params?params:this.queryParams
getList(param).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
porjectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
}
}
}
</script>
<style lang="scss" scoped>
.detail-container{
background: #ffffff;
border-radius: 4px;
padding: 16px;
}
</style>
<template>
<div class="detail-container">
<head-form
title="土地交易"
:form-data="formData"
:query-params="queryParams"
:total="tableDataTotal"
:isExcel="true"
@handle-search="handleSearch"
/>
<tables
:indexFixed="true"
:tableLoading="tableLoading"
:tableData="tableData"
:forData="forData"
:tableDataTotal="tableDataTotal"
:queryParams="queryParams"
@handle-current-change="handleCurrentChange"
>
<template slot="porjectName" slot-scope="scope">
<router-link to="" tag="a" class="a-link">{{ scope.row.porjectName }}</router-link>
</template>
</tables>
</div>
</template>
<script>
import mixin from '../mixins/mixin'
import { getOption, getList } from '@/api/detail/party-a/opport'
export default {
name: 'Landtransaction',
props: ['companyId'],
mixins: [mixin],
components: {
},
data() {
return {
queryParams: {
companyId: this.companyId,
pageNum: 1,
pageSize: 10
},
forData: [
{label: '项目名称', prop: 'porjectName', minWidth: '300', slot: true},
{label: '土地用途', prop: 'use', width: '130'},
{label: '行业分类', prop: 'type', width: '100'},
{label: '供地方式', prop: 'way', width: '100'},
{label: '土地坐落', prop: 'state', width: '130'},
{label: '成交金额(万元)', prop: 'money', sortable: true, width: '140'},
{label: '总面积(㎡)', prop: 'scale', sortable: true, width: '130'},
{label: '批准单位', prop: 'unit', width: '130'},
{label: '签订日期', prop: 'date', width: '130'}
],
formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '土地用途', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '输入项目名称关键词查询', options: []}
],
//列表
tableLoading:false,
tableData:[],
tableDataTotal:0,
showList:[],
}
},
computed: {
},
created() {
this.handleOption()
this.handleQuery()
},
methods: {
handleOption(){
getOption().then((res) => {
this.setFormData('penalizeReasonType', [
{ name: '类别1', value: '1' },
{ name: '类别2', value: '2' },
{ name: '类别3', value: '3' },
{ name: '类别4', value: '4' }
])
})
},
handleQuery(params) {
this.tableLoading = true
let param = params?params:this.queryParams
getList(param).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
porjectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
}
}
}
</script>
<style lang="scss" scoped>
.detail-container{
background: #ffffff;
border-radius: 4px;
padding: 16px;
}
</style>
<template>
<div class="detail-container">
<head-form
title="拟建项目"
:form-data="formData"
:query-params="queryParams"
:total="tableDataTotal"
:isExcel="true"
@handle-search="handleSearch"
/>
<tables
:indexFixed="true"
:tableLoading="tableLoading"
:tableData="tableData"
:forData="forData"
:tableDataTotal="tableDataTotal"
:queryParams="queryParams"
@handle-current-change="handleCurrentChange"
>
<template slot="porjectName" slot-scope="scope">
<router-link to="" tag="a" class="a-link">{{ scope.row.porjectName }}</router-link>
</template>
</tables>
</div>
</template>
<script>
import mixin from '../mixins/mixin'
import { getList } from '@/api/detail/party-a/opport'
export default {
name: 'Proposed',
props: ['companyId'],
mixins: [mixin],
components: {
},
data() {
return {
queryParams: {
companyId: this.companyId,
pageNum: 1,
pageSize: 10
},
forData: [
{label: '项目名称', prop: 'porjectName', minWidth: '300', slot: true},
{label: '成交金额(万元)', prop: 'use', sortable: true, width: '150'},
{label: '项目类别', prop: 'type', width: '100'},
{label: '计划开工日期', prop: 'way', sortable: true, width: '130'},
{label: '计划完工日期', prop: 'state', sortable: true, width: '130'},
{label: '审批结果', prop: 'money', width: '100'},
{label: '是否为民间推介项目', prop: 'scale', width: '150'}
],
formData: [
{ type: 3, fieldName: 'keys', value: '', placeholder: '输入项目名称关键词查询', options: []},
],
//列表
tableLoading:false,
tableData:[],
tableDataTotal:0
}
},
computed: {
},
created() {
this.handleQuery()
},
methods: {
handleQuery(params) {
this.tableLoading = true
let param = params?params:this.queryParams
getList(param).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
porjectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
}
}
}
</script>
<style lang="scss" scoped>
.detail-container{
background: #ffffff;
border-radius: 4px;
padding: 16px;
}
</style>
<template>
<div class="app-container detail-container">
tencent
</div>
</template>
<script>
import mixin from '../mixins/mixin'
export default {
name: 'Tencent',
props: ['companyId'],
mixins: [mixin],
data() {
return {
}
},
created() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.detail-container{
margin: 0;
padding: 16px;
background: #FFFFFF;
}
</style>
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
/> />
<tables <tables
:indexFixed="true"
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
:forData="forData" :forData="forData"
...@@ -17,11 +18,10 @@ ...@@ -17,11 +18,10 @@
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
> >
<template slot="inReason" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
<div>{{scope.row.inReason}}</div> <router-link to="" tag="a" class="a-link">{{scope.row.projectName}}</router-link>
<div class="tags" v-if="scope.row.tag"> <div class="tags" v-if="scope.row.tag">
<span class="tag style1">{{scope.row.tag}}</span> <span class="tag style1">{{scope.row.tag}}</span>
<span class="tag style1">{{scope.row.tag}}</span>
</div> </div>
</template> </template>
</tables> </tables>
...@@ -30,53 +30,70 @@ ...@@ -30,53 +30,70 @@
<script> <script>
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
import {getList, getOption} from '@/api/detail/party-a/overview'
export default { export default {
name: 'Branch', name: 'Branch',
props: ['companyId'],
mixins: [mixin], mixins: [mixin],
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, companyId: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '被投资企业名称', prop: 'inReason', slot: true}, {label: '被投资企业名称', prop: 'projectName', slot: true},
{label: '负责人', prop: 'inDate'}, {label: '负责人', prop: 'type'},
{label: '成立日期', prop: 'department'} {label: '成立日期', prop: 'date'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'zbgg', value: '', placeholder: '招标公告', { type: 1, fieldName: 'zbgg', value: '', placeholder: '招标公告', options: []
options: [
{ name: '招标公告类别1', value: '1' },
{ name: '招标公告类别2', value: '2' },
{ name: '招标公告类别3', value: '3' },
{ name: '招标公告类别4', value: '4' }
]
} }
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleOption()
this.handleQuery()
}, },
methods: { methods: {
async dataRegion() { handleOption(){
this.tableData = [ getOption().then((res) => {
{id:1, inReason:'达萨法达萨法', inDate:'000',tag:'aaa'}, this.setFormData('zbgg', [
{id:2, inReason:'达萨法达萨法', inDate:'111'}, { name: '类别1', value: '1' },
{id:3, inReason:'达萨法达萨法', inDate:'222'}, { name: '类别2', value: '2' },
{id:4, inReason:'达萨法达萨法', inDate:'333'} { name: '类别3', value: '3' },
] //测试 { name: '类别4', value: '4' }
])
})
}, },
handleQuery(params) { handleQuery(params) {
console.log(params) this.tableLoading = true
let param = params?params:this.queryParams
getList(param).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
tag: '在业',
projectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
} }
} }
} }
...@@ -87,6 +104,7 @@ export default { ...@@ -87,6 +104,7 @@ export default {
margin: 0; margin: 0;
padding: 16px; padding: 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.tags{ .tags{
.tag{ .tag{
display: inline-block; display: inline-block;
......
...@@ -5,66 +5,10 @@ ...@@ -5,66 +5,10 @@
<el-tab-pane label="工商变更" name="second"></el-tab-pane> <el-tab-pane label="工商变更" name="second"></el-tab-pane>
</el-tabs> </el-tabs>
<div class="businfo-box" v-if="activeName=='first'">
<p> <info-table class="info-tab" :list="defaultList" :obj="forInfo" :labelWidth="labelWidth" v-if="activeName=='first'">
<label class="label">企业名称</label>
<span>{{forInfo.companyName || '--'}}</span> </info-table>
<label class="label">社会信用代码</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">法定代表人</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">登记状态</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">成立日期</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">注册资本</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">实缴资本</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">核准日期</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">组织机构代码</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">工商注册号</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">纳税人识别号</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">企业类型</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">营业期限</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">纳税人资质</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">所属地区</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">登记机关</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">人员规模</label>
<span>{{forInfo.companyName || '--'}}</span>
<label class="label">参保人数</label>
<span>{{forInfo.companyName || '--'}}</span>
</p>
<p>
<label class="label">经营范围</label>
<span class="span-one">{{forInfo.companyName || '--'}}</span>
</p>
</div>
<tables <tables
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
...@@ -78,19 +22,46 @@ ...@@ -78,19 +22,46 @@
<script> <script>
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
import InfoTable from '../component/infoTable'
import {getList} from "@/api/detail/party-a/overview";
export default { export default {
name: 'Businfo', name: 'Businfo',
props: ['companyId'], props: ['companyId'],
components: {
InfoTable
},
mixins: [mixin], mixins: [mixin],
data() { data() {
return { return {
activeName: 'first', activeName: 'first',
queryParams: { queryParams: {
cid: 6034, companyId: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forInfo: {}, labelWidth: 250,
forInfo: {projectType: 'aaa', projectPurposes: '222', projectInvestmentAmounts: '222'},
defaultList: [
{ name: '企业名称', prop: 'projectTypes' },
{ name: '社会信用代码', prop: 'projectPurposes' },
{ name: '法定代表人', prop: 'projectInvestmentAmounts' },
{ name: '登记状态', prop: 'projectInvestmentAmounts' },
{ name: '成立日期', prop: 'projectInvestmentAmounts' },
{ name: '注册资本', prop: 'projectInvestmentAmounts' },
{ name: '实缴资本', prop: 'projectInvestmentAmounts' },
{ name: '核准日期', prop: 'projectInvestmentAmounts' },
{ name: '组织机构代码', prop: 'projectInvestmentAmounts' },
{ name: '工商注册号', prop: 'projectInvestmentAmounts' },
{ name: '纳税人识别号', prop: 'projectInvestmentAmounts' },
{ name: '企业类型', prop: 'projectInvestmentAmounts' },
{ name: '营业期限', prop: 'projectInvestmentAmounts' },
{ name: '纳税人资质', prop: 'projectInvestmentAmounts' },
{ name: '所属地区', prop: 'projectInvestmentAmounts' },
{ name: '登记机关', prop: 'projectInvestmentAmounts' },
{ name: '人员规模', prop: 'projectInvestmentAmounts' },
{ name: '参保人数', prop: 'projectInvestmentAmounts' },
{ name: '经营范围', prop: 'projectInvestmentAmounts', style: true }
],
forData: [ forData: [
{label: '变更日期', prop: 'inReason', width: '90', slot: true}, {label: '变更日期', prop: 'inReason', width: '90', slot: true},
{label: '变更事项', prop: 'inDate'}, {label: '变更事项', prop: 'inDate'},
...@@ -103,22 +74,34 @@ export default { ...@@ -103,22 +74,34 @@ export default {
} }
}, },
created() { created() {
this.handleData() this.handleQuery()
}, },
methods: { methods: {
handleClick(){ handleClick(){
this.handleData() this.handleQuery()
},
async handleData() {
this.tableData = [
{id:1, inReason:'达萨法达萨法', inDate:'000',tag:'aaa'},
{id:2, inReason:'达萨法达萨法', inDate:'111'},
{id:3, inReason:'达萨法达萨法', inDate:'222'},
{id:4, inReason:'达萨法达萨法', inDate:'333'}
] //测试
}, },
handleQuery(params) { handleQuery() {
console.log(params) console.log('索引:',this.activeName)
this.tableLoading = true
getList(this.queryParams).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
tag: '在业',
projectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
} }
} }
} }
...@@ -129,6 +112,7 @@ export default { ...@@ -129,6 +112,7 @@ export default {
margin: 0; margin: 0;
padding: 16px; padding: 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.detail-tab{ .detail-tab{
margin: 0 0 0 -16px; margin: 0 0 0 -16px;
::v-deep .el-tabs__nav-wrap::after{ ::v-deep .el-tabs__nav-wrap::after{
...@@ -144,35 +128,5 @@ export default { ...@@ -144,35 +128,5 @@ export default {
} }
} }
} }
.businfo-box {
border-top: 1px solid #E6E9F0;
p {
display: flex;
align-items: center;
margin: 0;
border-left: 1px solid #E6E9F0;
border-bottom: 1px solid #E6E9F0;
.label {
width: 10%;
font-weight: 400;
line-height: 40px;
font-size: 12px;
height: 40px;
background: #F0F3FA;
padding-left: 12px;
}
span {
width: 40%;
color: #000;
height: 40px;
line-height: 40px;
padding-left: 12px;
font-size: 12px;
}
.span-one {
width: 90%;
}
}
}
} }
</style> </style>
...@@ -231,6 +231,7 @@ export default { ...@@ -231,6 +231,7 @@ export default {
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
overflow: hidden; overflow: hidden;
border-radius: 4px;
.zbph-item{ .zbph-item{
justify-content: space-around; justify-content: space-around;
padding-top: 26px; padding-top: 26px;
...@@ -296,6 +297,7 @@ export default { ...@@ -296,6 +297,7 @@ export default {
width: calc(50% - 8px); width: calc(50% - 8px);
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.table-item{ .table-item{
margin-top:15px; margin-top:15px;
.ywwl-ico{ .ywwl-ico{
......
...@@ -178,6 +178,7 @@ export default { ...@@ -178,6 +178,7 @@ export default {
margin: 0; margin: 0;
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.selfTab{ .selfTab{
margin: 24px 0 0 -12px; margin: 24px 0 0 -12px;
::v-deep .el-tabs__nav-wrap::after{ ::v-deep .el-tabs__nav-wrap::after{
......
...@@ -540,6 +540,7 @@ export default { ...@@ -540,6 +540,7 @@ export default {
margin: 0; margin: 0;
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.company-swiper{ .company-swiper{
position: relative; position: relative;
.swiper-info{ .swiper-info{
......
...@@ -74,6 +74,7 @@ export default { ...@@ -74,6 +74,7 @@ export default {
margin: 0; margin: 0;
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.part-swiper{ .part-swiper{
position: relative; position: relative;
margin-top: 16px; margin-top: 16px;
......
...@@ -92,6 +92,7 @@ export default { ...@@ -92,6 +92,7 @@ export default {
margin: 0; margin: 0;
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.selfTab{ .selfTab{
margin: 24px 0 0 -12px; margin: 24px 0 0 -12px;
::v-deep .el-tabs__nav-wrap::after{ ::v-deep .el-tabs__nav-wrap::after{
......
...@@ -151,6 +151,7 @@ export default { ...@@ -151,6 +151,7 @@ export default {
margin: 0; margin: 0;
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.clue-box{ .clue-box{
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
......
...@@ -49,6 +49,7 @@ export default { ...@@ -49,6 +49,7 @@ export default {
margin: 0; margin: 0;
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.table-item{ .table-item{
margin-top: 16px; margin-top: 16px;
::v-deep .el-table--border .el-table__cell{ ::v-deep .el-table--border .el-table__cell{
......
...@@ -60,6 +60,7 @@ export default { ...@@ -60,6 +60,7 @@ export default {
padding: 24px 16px; padding: 24px 16px;
background: #FFFFFF; background: #FFFFFF;
overflow: hidden; overflow: hidden;
border-radius: 4px;
.common-title{ .common-title{
margin-bottom: 10px; margin-bottom: 10px;
} }
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
<script> <script>
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
import {getList} from '@/api/detail/party-a/overview'
export default { export default {
name: 'Execuinfo', name: 'Execuinfo',
props: ['companyId'], props: ['companyId'],
...@@ -26,13 +27,13 @@ export default { ...@@ -26,13 +27,13 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, companyId: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '姓名', prop: 'inDate'}, {label: '姓名', prop: 'projectName'},
{label: '职位', prop: 'department'} {label: '职位', prop: 'type'}
], ],
formData: [], formData: [],
//列表 //列表
...@@ -42,19 +43,30 @@ export default { ...@@ -42,19 +43,30 @@ export default {
} }
}, },
created() { created() {
this.handleData() this.handleQuery()
}, },
methods: { methods: {
async handleData() { handleQuery() {
this.tableData = [ this.tableLoading = true
{id:1, inReason:'达萨法达萨法', inDate:'000',tag:'aaa'}, getList(this.queryParams).then((res) => {
{id:2, inReason:'达萨法达萨法', inDate:'111'}, this.tableLoading = false
{id:3, inReason:'达萨法达萨法', inDate:'222'}, this.tableData = [
{id:4, inReason:'达萨法达萨法', inDate:'333'} {
] //测试 projectId: '1',
}, tag: '在业',
handleQuery(params) { projectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
console.log(params) use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
} }
} }
} }
...@@ -65,5 +77,6 @@ export default { ...@@ -65,5 +77,6 @@ export default {
margin: 0; margin: 0;
padding: 16px; padding: 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
} }
</style> </style>
...@@ -19,11 +19,10 @@ ...@@ -19,11 +19,10 @@
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
> >
<template slot="inReason" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
<div>{{scope.row.inReason}}</div> <router-link to="" tag="a" class="a-link">{{scope.row.projectName}}</router-link>
<div class="tags" v-if="scope.row.tag"> <div class="tags" v-if="scope.row.tag">
<span class="tag style1">{{scope.row.tag}}</span> <span class="tag style1">{{scope.row.tag}}</span>
<span class="tag style1">{{scope.row.tag}}</span>
</div> </div>
</template> </template>
</tables> </tables>
...@@ -32,6 +31,7 @@ ...@@ -32,6 +31,7 @@
<script> <script>
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
import {getList} from '@/api/detail/party-a/overview'
export default { export default {
name: 'Holderinfo', name: 'Holderinfo',
props: ['companyId'], props: ['companyId'],
...@@ -40,12 +40,12 @@ export default { ...@@ -40,12 +40,12 @@ export default {
return { return {
activeName: 'first', activeName: 'first',
queryParams: { queryParams: {
cid: 6034, companyId: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '发起人/股东', prop: 'inReason', slot: true}, {label: '发起人/股东', prop: 'projectName', minWidth: '230', slot: true},
{label: '持股比例', prop: 'inDate'}, {label: '持股比例', prop: 'inDate'},
{label: '认缴出资(万)', prop: 'department'}, {label: '认缴出资(万)', prop: 'department'},
{label: '实缴出资额', prop: 'department'}, {label: '实缴出资额', prop: 'department'},
...@@ -56,28 +56,38 @@ export default { ...@@ -56,28 +56,38 @@ export default {
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.handleData() this.handleQuery()
}, },
methods: { methods: {
handleClick(){ handleClick(){
this.handleData() this.handleQuery()
},
async handleData() {
this.tableData = [
{id:1, inReason:'达萨法达萨法', inDate:'000',tag:'aaa'},
{id:2, inReason:'达萨法达萨法', inDate:'111'},
{id:3, inReason:'达萨法达萨法', inDate:'222'},
{id:4, inReason:'达萨法达萨法', inDate:'333'}
] //测试
}, },
handleQuery(params) { handleQuery() {
console.log(params) console.log('索引:',this.activeName)
this.tableLoading = true
getList(this.queryParams).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
tag: '在业',
projectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
} }
} }
} }
...@@ -88,6 +98,7 @@ export default { ...@@ -88,6 +98,7 @@ export default {
margin: 0; margin: 0;
padding: 16px; padding: 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.detail-tab{ .detail-tab{
margin: -34px 0 0 -16px; margin: -34px 0 0 -16px;
::v-deep .el-tabs__nav-wrap::after{ ::v-deep .el-tabs__nav-wrap::after{
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
/> />
<tables <tables
:indexFixed="true"
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
:forData="forData" :forData="forData"
...@@ -18,22 +19,18 @@ ...@@ -18,22 +19,18 @@
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
> >
<template slot="gqzb"> <template slot="gqzb">
<div class="tab-header">股权占比 <el-popover <div class="tab-header">股权占比 <el-popover placement="top-start" width="280" trigger="hover">
placement="top-start" <div style="font-size: 12px;">
width="280"
trigger="hover">
<div>
控股67%:绝对控制权67%,相当于100%的权力,修改公司章程/分立、合并、变更主营项目、重大决策<br /> 控股67%:绝对控制权67%,相当于100%的权力,修改公司章程/分立、合并、变更主营项目、重大决策<br />
控股51%:相对控制权51%,控制线,绝对控制公司<br /> 控股51%:相对控制权51%,控制线,绝对控制公司<br />
控股34%:安全控制权,一票否决权</div> 控股34%:安全控制权,一票否决权</div>
<img src="@/assets/images/detail/overview/zbph_question.png" slot="reference"> <img src="@/assets/images/detail/overview/zbph_question.png" slot="reference">
</el-popover></div> </el-popover></div>
</template> </template>
<template slot="inReason" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
<div>{{scope.row.inReason}}</div> <router-link to="" tag="a" class="a-link">{{scope.row.projectName}}</router-link>
<div class="tags" v-if="scope.row.tag"> <div class="tags" v-if="scope.row.tag">
<span class="tag style1">{{scope.row.tag}}</span> <span class="tag style1">{{scope.row.tag}}</span>
<span class="tag style1">{{scope.row.tag}}</span>
</div> </div>
</template> </template>
</tables> </tables>
...@@ -42,6 +39,7 @@ ...@@ -42,6 +39,7 @@
<script> <script>
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
import {getList, getOption} from '@/api/detail/party-a/overview'
export default { export default {
name: 'Overseas', name: 'Overseas',
props: ['companyId'], props: ['companyId'],
...@@ -49,12 +47,12 @@ export default { ...@@ -49,12 +47,12 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, companyId: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '被投资企业名称', prop: 'inReason', slot: true}, {label: '被投资企业名称', prop: 'projectName', minWidth: '180', slot: true},
{label: '法定代表人', prop: 'inDate'}, {label: '法定代表人', prop: 'inDate'},
{label: '注册资本(万元)', prop: 'department'}, {label: '注册资本(万元)', prop: 'department'},
{label: '成立日期', prop: 'department'}, {label: '成立日期', prop: 'department'},
...@@ -62,45 +60,58 @@ export default { ...@@ -62,45 +60,58 @@ export default {
{label: '认缴出资额(万元)', prop: 'department'} {label: '认缴出资额(万元)', prop: 'department'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'zbgg', value: '', placeholder: '招标公告', { type: 1, fieldName: 'zbgg', value: '', placeholder: '招标公告', options: [] },
options: [ { type: 1, fieldName: 'gqzb', value: '', placeholder: '股权占比', options: [] }
{ name: '招标公告类别1', value: '1' },
{ name: '招标公告类别2', value: '2' },
{ name: '招标公告类别3', value: '3' },
{ name: '招标公告类别4', value: '4' }
]
},
{ type: 1, fieldName: 'gqzb', value: '', placeholder: '股权占比',
options: [
{ name: '股权占比类别1', value: '1' },
{ name: '股权占比类别2', value: '2' },
{ name: '股权占比类别3', value: '3' },
{ name: '股权占比类别4', value: '4' }
]
}
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.handleData() this.handleOption()
this.handleQuery()
}, },
methods: { methods: {
async handleData() { handleOption(){
this.tableData = [ getOption().then((res) => {
{id:1, inReason:'达萨法达萨法', inDate:'000',tag:'aaa'}, this.setFormData('zbgg', [
{id:2, inReason:'达萨法达萨法', inDate:'111'}, { name: '类别1', value: '1' },
{id:3, inReason:'达萨法达萨法', inDate:'222'}, { name: '类别2', value: '2' },
{id:4, inReason:'达萨法达萨法', inDate:'333'} { name: '类别3', value: '3' },
] //测试 { name: '类别4', value: '4' }
])
this.setFormData('gqzb', [
{ name: '类别1', value: '1' },
{ name: '类别2', value: '2' },
{ name: '类别3', value: '3' },
{ name: '类别4', value: '4' }
])
})
}, },
handleQuery(params) { handleQuery(params) {
console.log(params) this.tableLoading = true
let param = params?params:this.queryParams
getList(param).then((res) => {
this.tableLoading = false
this.tableData = [
{
projectId: '1',
tag: '在业',
projectName:'滨州医学院口腔医学大楼铝合金门窗供货及安装',
use:'城镇住宅用地',
type:'房地产业',
way:'挂牌出让',
state:'重庆',
money:'11234万元',
scale:'222平米',
unit:'江苏省住房和城乡建设厅',
date:'2015-08-06',
}
]
this.tableDataTotal = 100
})
} }
} }
} }
...@@ -111,6 +122,7 @@ export default { ...@@ -111,6 +122,7 @@ export default {
margin: 0; margin: 0;
padding: 16px; padding: 16px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px;
.tab-header{ .tab-header{
img{ img{
margin-bottom: -3px; margin-bottom: -3px;
......
...@@ -32,11 +32,17 @@ export default { ...@@ -32,11 +32,17 @@ export default {
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 382724726,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -49,7 +55,7 @@ export default { ...@@ -49,7 +55,7 @@ export default {
{label: '做出决定机关(移除)', prop: 'outDepartment', width: '264'} {label: '做出决定机关(移除)', prop: 'outDepartment', width: '264'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'years', value: '', placeholder: '列入时间', options: []} { type: 4, fieldName: 'years', value: '', placeholder: '列入时间', options: []}
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
...@@ -61,6 +67,7 @@ export default { ...@@ -61,6 +67,7 @@ export default {
}, },
created() { created() {
this.handleQuery() this.handleQuery()
this.years()
}, },
computed: { computed: {
...@@ -68,10 +75,26 @@ export default { ...@@ -68,10 +75,26 @@ export default {
methods: { methods: {
handleQuery(params) { handleQuery(params) {
let data = params ? params : this.queryParams let data = params ? params : this.queryParams
this.tableLoading = true
abnormalPage(data).then(res => { abnormalPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
}) })
}, },
years(){
abnormalYears({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].year + '(' + data[i].count + ')',
value: data[i].year,
})
}
}
})
}
} }
} }
</script> </script>
......
...@@ -22,85 +22,111 @@ ...@@ -22,85 +22,111 @@
</template> </template>
<script> <script>
import {
noticesPage,
noticesType,
noticesRole,
noticesCaseReason
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'CourtNotice', name: 'CourtNotice',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 20734,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '案由', prop: 'enterpriseName'}, {label: '案由', prop: 'caseReason'},
{label: '公告时间', prop: 'level', width: '95'}, {label: '公告时间', prop: 'date', width: '95'},
{label: '当事人', prop: 'capital', width: '240'}, {label: '当事人', prop: 'people', width: '240'},
{label: '案号', prop: 'cgrdm', width: '210'}, {label: '案号', prop: 'objId', width: '210'},
{label: '公告类型', prop: 'cgrssqy', width: '210'}, {label: '公告类型', prop: 'type', width: '210'},
{label: '公告法院', prop: 'dataId', width: '280'} {label: '公告法院', prop: 'court', width: '280'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '公告类型', { type: 1, fieldName: 'type', value: '', placeholder: '公告类型', options: []},
options: [ { type: 1, fieldName: 'caseReason', value: '', placeholder: '案由', options: []},
{ name: '处罚类别1', value: '1' }, { type: 1, fieldName: 'role', value: '', placeholder: '身份', options: []},
{ name: '处罚类别2', value: '2' }, { type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'},
{ name: '处罚类别3', value: '3' }, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词'},
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '案由',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '身份',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []},
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
this.noticesTypes()
this.noticesRoles()
this.noticesCaseReasons()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
} this.tableLoading = true
noticesPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
})
},
noticesTypes(){
noticesType({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].type + '(' + data[i].count + ')',
value: data[i].type,
})
}
}
})
},
noticesRoles(){
noticesRole({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[1].options.push({
name: data[i].role + '(' + data[i].count + ')',
value: data[i].role,
})
}
}
})
},
noticesCaseReasons(){
noticesCaseReason({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[2].options.push({
name: data[i].caseReason + '(' + data[i].count + ')',
value: data[i].caseReason,
})
}
}
})
},
} }
} }
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
/> />
<tables <tables
:index-fixed="true"
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
:forData="forData" :forData="forData"
...@@ -22,22 +23,31 @@ ...@@ -22,22 +23,31 @@
</template> </template>
<script> <script>
import {
executedPage
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'Dishonesty', name: 'Dishonesty',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 5504335,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '失信被执行人行为具体情形', prop: 'executionDesc', width: '508'}, {label: '失信被执行人行为具体情形', prop: 'executionDesc', width: '508', fixed: true},
{label: '立案日期', prop: 'date', width: '95'}, {label: '立案日期', prop: 'date', width: '95'},
{label: '履行情况', prop: 'executionStatus', width: '120'}, {label: '履行情况', prop: 'executionStatus', width: '120'},
{label: '立案文号', prop: 'caseNumber', width: '210'}, {label: '立案文号', prop: 'caseNumber', width: '210'},
...@@ -50,31 +60,24 @@ export default { ...@@ -50,31 +60,24 @@ export default {
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
executedPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
})
} }
} }
} }
......
...@@ -22,17 +22,26 @@ ...@@ -22,17 +22,26 @@
</template> </template>
<script> <script>
import {
executedPersonsPage
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'IfThePerson', name: 'IfThePerson',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 194738907,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -48,34 +57,25 @@ export default { ...@@ -48,34 +57,25 @@ export default {
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
executedPersonsPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
})
} }
} }
} }
</script> </script>
......
...@@ -16,24 +16,41 @@ ...@@ -16,24 +16,41 @@
:tableDataTotal="tableDataTotal" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
/> >
<template slot="relatedCompanies" slot-scope="scope">
<div v-for="item in scope.row.relatedCompanies">
<span>{{ item.clean_role }}</span>{{ item.name }}
</div>
</template>
</tables>
</div> </div>
</template> </template>
<script> <script>
import {
lawsuitsPage,
lawsuitsCauseAction,
lawsuitsRole
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'Judgment', name: 'Judgment',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 5504335,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -41,59 +58,69 @@ export default { ...@@ -41,59 +58,69 @@ export default {
{label: '案由', prop: 'causeAction', width: '240'}, {label: '案由', prop: 'causeAction', width: '240'},
{label: '执行案号', prop: 'causeNo', width: '210'}, {label: '执行案号', prop: 'causeNo', width: '210'},
{label: '身份', prop: 'role', width: '120'}, {label: '身份', prop: 'role', width: '120'},
{label: '当事人', prop: 'relatedCompanies', width: '240'}, {label: '当事人', prop: 'relatedCompanies', width: '240', slot: true},
{label: '案件金额(元)', prop: 'subAmount', width: '140'}, {label: '案件金额(元)', prop: 'subAmount', width: '140'},
{label: '判决结果', prop: 'judgeresult', width: '508'}, {label: '判决结果', prop: 'judgeresult', width: '508'},
{label: '判决日期', prop: 'date', width: '95'}, {label: '判决日期', prop: 'date', width: '95'},
], ],
formData: [ formData: [
{ type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', { type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', options: []},
options: [ { type: 1, fieldName: 'role', value: '', placeholder: '身份', options: []},
{ name: '处罚类别1', value: '1' }, { type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'},
{ name: '处罚类别2', value: '2' }, { type: 3, fieldName: 'keys', value: '', placeholder: '搜索关键字'}
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'role', value: '', placeholder: '身份',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 2, fieldName: 'tiem', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '搜索关键字', options: []}
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
this.lawsuitsCauseActions()
this.lawsuitsRoles()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
lawsuitsPage(data).then(res => {
this.tableData = res.rows
for (var i=0;i<this.tableData.length;i++){
this.tableData[i].relatedCompanies = JSON.parse(this.tableData[i].relatedCompanies)
}
this.tableDataTotal = res.total
this.tableLoading = false
})
},
lawsuitsCauseActions(){
lawsuitsCauseAction({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].causeAction + '(' + data[i].num + ')',
value: data[i].causeAction,
})
}
}
})
},
lawsuitsRoles(){
lawsuitsRole({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[1].options.push({
name: data[i].role + '(' + data[i].num + ')',
value: data[i].role,
})
}
}
})
} }
} }
} }
......
...@@ -10,63 +10,67 @@ ...@@ -10,63 +10,67 @@
/> />
<tables <tables
:index-fixed="true"
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
:forData="forData" :forData="forData"
:tableDataTotal="tableDataTotal" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
/> >
<template slot="relatedCompanies" slot-scope="scope">
<div v-for="item in scope.row.relatedCompanies">
<span>{{ item.role }}</span>{{ item.name }}
</div>
</template>
</tables>
</div> </div>
</template> </template>
<script> <script>
import {
kaitingPage,
kaitingCauseAction,
kaitingPureRole
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'OpenacourtsessionNotice', name: 'OpenacourtsessionNotice',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 20734,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '案由', prop: 'causeAction', width: '240'}, {label: '案由', prop: 'causeAction', width: '240', fixed: true},
{label: '开庭日期', prop: 'hearingDate', width: '95'}, {label: '开庭日期', prop: 'hearingDate', width: '95'},
{label: '当事人', prop: 'relatedCompanies', width: '428'}, {label: '当事人', prop: 'relatedCompanies', width: '428', slot: true},
{label: '身份', prop: 'pureRole', width: '120'}, {label: '身份', prop: 'pureRole', width: '120'},
{label: '公告内容', prop: 'cgrssqy', width: '508'}, {label: '公告内容', prop: '', width: '508'},
{label: '案号', prop: 'caseNo', width: '210'}, {label: '案号', prop: 'caseNo', width: '210'},
{label: '法院', prop: 'dataId', width: '280'}, {label: '法院', prop: 'court', width: '280'},
{label: '法庭', prop: 'dataId', width: '180'}, {label: '法庭', prop: '', width: '180'},
{label: '承办部门', prop: 'dataId', width: '280'}, {label: '承办部门', prop: '', width: '280'},
{label: '审判长/主判人', prop: 'dataId', width: '106'} {label: '审判长/主判人', prop: '', width: '106'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', { type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', options: []},
options: [ { type: 1, fieldName: 'pureRole', value: '', placeholder: '身份', options: []},
{ name: '处罚类别1', value: '1' }, { type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'},
{ name: '处罚类别2', value: '2' }, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词'},
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'pureRole', value: '', placeholder: '身份',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []},
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
...@@ -77,7 +81,9 @@ export default { ...@@ -77,7 +81,9 @@ export default {
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
this.kaitingCauseActions()
this.kaitingPureRoles()
}, },
computed: { computed: {
...@@ -87,20 +93,44 @@ export default { ...@@ -87,20 +93,44 @@ export default {
let Id = '111' let Id = '111'
this.$router.push({ path: '/project/projectList/detail', query: Id }); this.$router.push({ path: '/project/projectList/detail', query: Id });
}, },
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
} this.tableLoading = true
kaitingPage(data).then(res => {
this.tableData = res.rows
for (var i=0;i<this.tableData.length;i++){
this.tableData[i].relatedCompanies = JSON.parse(this.tableData[i].relatedCompanies)
}
this.tableDataTotal = res.total
this.tableLoading = false
})
},
kaitingCauseActions(){
kaitingCauseAction({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].causeAction + '(' + data[i].count + ')',
value: data[i].causeAction,
})
}
}
})
},
kaitingPureRoles(){
kaitingPureRole({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[1].options.push({
name: data[i].pureRole + '(' + data[i].count + ')',
value: data[i].pureRole,
})
}
}
})
},
} }
} }
</script> </script>
......
...@@ -40,11 +40,17 @@ export default { ...@@ -40,11 +40,17 @@ export default {
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 382724726, cid: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -53,9 +59,9 @@ export default { ...@@ -53,9 +59,9 @@ export default {
{label: '决定日期', prop: 'punishBegin', width: '95'}, {label: '决定日期', prop: 'punishBegin', width: '95'},
{label: '处罚结果', prop: 'punishResult', width: '264'}, {label: '处罚结果', prop: 'punishResult', width: '264'},
{label: '处罚文书号', prop: 'fileNum', width: '200'}, {label: '处罚文书号', prop: 'fileNum', width: '200'},
{label: '相关人员', prop: 'cgrdm', width: '88'}, {label: '相关人员', prop: '', width: '88'},
{label: '处罚机关', prop: 'office', width: '264'}, {label: '处罚机关', prop: 'office', width: '264'},
{label: '处罚结束日期', prop: 'dataId', width: '100'}, {label: '处罚结束日期', prop: '', width: '100'},
], ],
formData: [ formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '处罚类别', options: []}, { type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '处罚类别', options: []},
...@@ -63,42 +69,41 @@ export default { ...@@ -63,42 +69,41 @@ export default {
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[ tableData:[],
{ tableDataTotal:0,
punishReason:'根据成都市住房和城乡建设局《关于持续开展建设工地扬尘治理专项攻坚行动的通知》(成住建发(2021]178号),对你单位参建的项目住宅、商业及配套设施(2020-510107-47-03-506368) (金茂府三期)(安监备案编号:WH-CJ-AJ-2021-001)监督检查中发现未湿法作业(现场存在露天切割石材,未采取降尘防尘措施)。)的违规行为,予以记录并扣分,预扣减施工企业现场信用信息得分0.05分,预扣减监理企业现场信用信息得分...预扣减施工企业现场信用信息得分0.05分,预扣减监理企业现场信用信息得分',
punishBegin:'2015-08-06',
punishResult:'列入全省3-6月份拖欠农民工工资预警项目,现予以限期整改通报。',
fileNum:'铜城建罚决字【2021)】18-5号',
cgrdm:'测试1',
office:'江苏省住房和城乡建设厅',
dataId:'2015-08-06',
}
],
tableDataTotal:200,
showList:[], showList:[],
} }
}, },
created() { created() {
this.getList() this.handleQuery()
this.penalizeReasonTypeData() this.penalizeReasonTypeData()
}, },
computed: { computed: {
}, },
methods: { methods: {
getList() { handleQuery(params) {
penalizePage(this.queryParams).then((res) => { let data = params ? params : this.queryParams
console.log(res.data.rows) this.tableLoading = true
penalizePage(data).then((res) => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
}) })
}, },
penalizeReasonTypeData(){ penalizeReasonTypeData(){
penalizeReasonType({cid:this.queryParams.cid}).then((res) => { penalizeReasonType({cid:this.queryParams.cid}).then((res) => {
console.log(res) let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].punishType + '(' + data[i].count + ')',
value: data[i].punishTypeId,
})
}
}
}) })
}, },
handleQuery(params) {
console.log(params)
},
changeShowAll(row, column) { changeShowAll(row, column) {
this.showList.push({ this.showList.push({
row: row, row: row,
......
...@@ -16,7 +16,11 @@ ...@@ -16,7 +16,11 @@
:tableDataTotal="tableDataTotal" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
/> >
<template slot="projectName" slot-scope="data">
<router-link :to="''+ data.row.id" style="color: #0081FF">{{ data.row.projectName }}</router-link>
</template>
</tables>
</div> </div>
</template> </template>
...@@ -42,19 +46,19 @@ export default { ...@@ -42,19 +46,19 @@ export default {
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '项目名称', prop: 'punishReason', width: '508'}, {label: '项目名称', prop: 'projectName', width: '508', slot: true},
{label: '土地用途', prop: 'punishBegin', width: '120'}, {label: '土地用途', prop: 'landUse', width: '120'},
{label: '行业分类', prop: 'punishResult', width: '120'}, {label: '行业分类', prop: 'industry', width: '120'},
{label: '供地方式', prop: 'fileNum', width: '120'}, {label: '供地方式', prop: 'supplyLandWay', width: '120'},
{label: '土地坐落', prop: 'cgrdm', width: '120'}, {label: '土地坐落', prop: 'landAddr', width: '150'},
{label: '成交金额(万元)', prop: 'office', width: '130'}, {label: '成交金额(万元)', prop: 'transactionPrice', width: '130'},
{label: '总面积(㎡)', prop: 'dataId', width: '120'}, {label: '总面积(㎡)', prop: 'acreage', width: '120'},
{label: '批准单位', prop: 'dataId', width: '120'}, {label: '批准单位', prop: 'authority', width: '120'},
{label: '签订日期', prop: 'dataId', width: '120'} {label: '签订日期', prop: 'contractSignTime', width: '120'}
], ],
formData: [ formData: [
{ type: 4, fieldName: 'landUse', value: [], placeholder: '土地用途', options: []}, { type: 4, fieldName: 'landUse', value: '', placeholder: '土地用途', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []}, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词'},
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
...@@ -63,29 +67,34 @@ export default { ...@@ -63,29 +67,34 @@ export default {
} }
}, },
created() { created() {
this.getList() this.handleQuery()
this.getlandUse() this.getlandUse()
}, },
computed: { computed: {
}, },
methods: { methods: {
getList() { handleQuery(params) {
let data = params ? params : this.queryParams
this.tableLoading = true this.tableLoading = true
landTransactionPage(this.queryParams).then(res=>{ landTransactionPage(data).then(res=>{
this.tableData = res.data this.tableData = res.rows
this.tableDataTotal = res.data.total this.tableDataTotal = res.total
this.tableLoading = false this.tableLoading = false
}) })
}, },
handleQuery(params) {
console.log(params)
},
//土地用途 //土地用途
getlandUse(){ getlandUse(){
landUse({cid: this.queryParams.cid}).then(res=>{ landUse({cid: this.queryParams.cid}).then(res=>{
console.log(res) let data = res.data
// this.formData[0].options = res.data if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].landUse + '(' + data[i].count + ')',
value: data[i].landUse,
})
}
}
}) })
} }
} }
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
</div> </div>
<div class="table-item"> <div class="table-item">
<el-table <el-table
:tableLoading="tableLoading"
:data="getValues" :data="getValues"
:show-header="false" :show-header="false"
border border
...@@ -36,8 +37,13 @@ export default { ...@@ -36,8 +37,13 @@ export default {
return { return {
params: { params: {
provinceId: 500000, provinceId: 500000,
cityId: 500100 cityId: 500100
}, },
labels: [
'指标',
'财政',
'债务',
],
tableData: [], tableData: [],
headers: [ headers: [
{ {
...@@ -193,10 +199,10 @@ export default { ...@@ -193,10 +199,10 @@ export default {
label: '债务率-宽口径', label: '债务率-宽口径',
}, },
], ],
tableLoading: true
} }
}, },
created() { created() {
console.log(11)
this.dataRegion() this.dataRegion()
}, },
computed: { computed: {
...@@ -205,7 +211,7 @@ export default { ...@@ -205,7 +211,7 @@ export default {
}, },
getValues() { getValues() {
return this.headers.map(item => { return this.headers.map(item => {
return this.tableData.reduce((pre, cur, index) => Object.assign(pre, {['value' + index]: cur[item.prop]}), {'title': item.label,}); return this.tableData.reduce((pre, cur, index) => Object.assign(pre, {['value' + index]: cur[item.prop]}), {'title': item.label,})
}); });
} }
}, },
...@@ -214,6 +220,7 @@ export default { ...@@ -214,6 +220,7 @@ export default {
dataRegion() { dataRegion() {
regionalEconomy(this.params).then(res => { regionalEconomy(this.params).then(res => {
this.tableData = res.data this.tableData = res.data
this.tableLoading = false
}) })
}, },
} }
...@@ -224,9 +231,36 @@ export default { ...@@ -224,9 +231,36 @@ export default {
background: #ffffff; background: #ffffff;
border-radius: 4px; border-radius: 4px;
padding: 16px; padding: 16px;
::v-deep .el-table tr{
background: #F9FCFF;
}
::v-deep .table-item{
.el-table{
.el-table__body-wrapper{
tr{
&:first-child{
background: #F0F3FA;
div{
color: rgba(35,35,35,0.8);
}
}
&:nth-child(2n){
background: #FFFFFF;
}
}
}
}
}
.query-box{ .query-box{
margin: 10px 0 20px; margin: 10px 0 20px;
} }
} }
::v-deep .el-table__body-wrapper tr:nth-child(2) td:first-child,
::v-deep .el-table__body-wrapper tr:nth-child(16) td:first-child,
::v-deep .el-table__body-wrapper tr:nth-child(28) td:first-child{
font-weight: bold;
color: #232323;
}
</style> </style>
...@@ -7,7 +7,86 @@ ...@@ -7,7 +7,86 @@
:total="tableDataTotal" :total="tableDataTotal"
:isExcel="true" :isExcel="true"
@handle-search="handleSearch" @handle-search="handleSearch"
/> >
<template slot="slot">
<div class="search-box">
<span style="cursor: pointer;" @click="handleSearch">筛选<i class="el-icon-caret-bottom" style="color:rgba(35,35,35,0.4);margin-left: 5px"></i></span>
<div v-show="searchState" ref="showContent" class="search-main">
<div class="item">
<span class="wrap_label">行政等级</span>
<div class="item_ckquery">
<span :class="{color_text:xzdjCalss == ''}" @click="changeXZDJ('')">全部</span>
<template v-for="(item,index) in xzdj">
<span :class="{color_text:index+1 === xzdjCalss}" @click="changeXZDJ(index+1)">{{item.name}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">城投业务类型</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in typeList">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">主体评级</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in ztpj">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">股东背景</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in gdbj">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">股权关系</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in gqgx">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">平台重要性</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in pt">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label" style="width: 78px;">开发区类别</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in lfqType">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">更多筛选</span>
<div class="item_ckquery">
<span :class="addresslength>0?'select-active':''">注册地区{{addresslength>0?(addresslength+'项'):''}}</span>
<el-cascader ref="address" class="cascader-region" popper-class='cascader-region-addd'
@input="addressListbtn" v-model="addressType" :options="addressList" :props="props" collapse-tags></el-cascader>
</div>
</div>
</div>
</div>
</template>
</head-form>
<tables <tables
:tableLoading="tableLoading" :tableLoading="tableLoading"
...@@ -73,16 +152,39 @@ export default { ...@@ -73,16 +152,39 @@ export default {
{label: '所属开发区', prop: 'developmentZone', width: '120'} {label: '所属开发区', prop: 'developmentZone', width: '120'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '筛选', { type: 0, fieldName: 'penalizeReasonType', value: '', placeholder: '筛选', options: []},
options: []
},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []}, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []},
], ],
xzdj:[
{
name:'省级',
key:1,
},
{
name:'地级市',
key:2,
},
{
name:'区县级',
key:3,
}
],
selected:[],
xzdjCalss:'',
typeList:['土地开发整理','基础设施建设','棚改保障房建设','公用事业','文化旅游','交通建设运营','产投平台'],
ztpj:['AAA','AA+','AA','A+','A','A-','BBB+','其他'],
gdbj:['政府','财政','国资委','其他'],
gqgx:['直接控股','间接控股'],
pt:['重要平台','主要平台','一般平台'],
lfqType:['国家级经开','国家级高新区','国家海关监管区域','国家级新区','国家边和区','其他国家级','省级新区','省级开发区'],
props: { props: {
value: 'id', value: 'id',
multiple: true, multiple: true,
}, },
addressList: [], addressList: [],
addressType: [],
addresslength: 0,
searchState:false,
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
...@@ -148,6 +250,38 @@ export default { ...@@ -148,6 +250,38 @@ export default {
} }
this.addressList = str; this.addressList = str;
}, },
handleSearch(event){
// this.searchState=!this.searchState;
let dom = this.$refs.showContent;
if (!dom.contains(event.target)) {
this.searchState = !this.searchState;
document.removeEventListener('click', this.handleSearch);
}
},
changeXZDJ(index) {
this.xzdjCalss = index;
},
addressListbtn() {
let arr = this.$refs.address.getCheckedNodes();
let provinceCode = [],cityCode = [],countyCode = [];
for (var i in arr) {
if (arr[i].parent) {
if (!arr[i].parent.checked) {
arr[i].hasChildren && cityCode.push(arr[i].value);
!arr[i].hasChildren && countyCode.push(arr[i].value);
}
} else {
provinceCode.push(arr[i].value)
}
}
if (provinceCode.length > 0 || cityCode.length > 0 || countyCode.length > 0) {
this.addresslength = provinceCode.length + cityCode.length + countyCode.length;
} else {
this.addresslength = 0;
}
},
handleQuery(params){ handleQuery(params){
this.tableLoading = true this.tableLoading = true
let data = params ? params : this.queryParams let data = params ? params : this.queryParams
...@@ -168,5 +302,60 @@ export default { ...@@ -168,5 +302,60 @@ export default {
.query-box{ .query-box{
margin: 10px 0 20px; margin: 10px 0 20px;
} }
.search-box{
display: inline-block;
margin-right: 32px;
/*cursor: pointer;*/
color:#232323;
position: relative;
.search-main{
background: #ffffff;
box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
border-radius: 4px;
width: 880px;
height: 337px;
padding: 16px;
position: absolute;
top: 25px;
left: 0;
z-index: 2001;
.item{
margin-bottom: 5px;
display: flex;
/*align-items: center;*/
font-size: 14px;
.wrap_label{
color: rgba(35,35,35,0.8);
margin-right: 12px;
line-height: 30px;
}
.item_ckquery{
position: relative;
span{
color: #232323;
padding: 5px 12px;
display: inline-block;
cursor: pointer;
}
.color_text{
background: #F3F4F5;
border-radius: 4px;
color: #0081FF;
}
.select-active{
color: #0081FF;
}
}
.cascader-region {
position: absolute;
left: 0;
top: -6px;
opacity: 0;
line-height: 22px;
}
}
}
}
} }
</style> </style>
<template> <template>
<div class="app-container home"> <div class="app-container home">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :sm="24" :lg="24"> <el-col :span="18">
<blockquote class="text-warning" style="font-size: 14px"> <div class="content-left">
领取阿里云通用云产品1888优惠券 <div class="task-wrap">
<br /> <div class="item">
<el-link <img class="left" src="@/assets/images/index/icon1.png"/>
href="https://www.aliyun.com/minisite/goods?userCode=brki8iof" <div class="right">
type="primary" <p class="title">即将开标项目</p>
target="_blank" <p class="number">36</p>
>https://www.aliyun.com/minisite/goods?userCode=brki8iof</el-link <p class="compare">较上月 <span class="up">+3<img src="@/assets/images/index/up.png"/></span></p>
> </div>
<br /> </div>
领取腾讯云通用云产品2860优惠券 <div class="item">
<br /> <img class="left" src="@/assets/images/index/icon2.png"/>
<el-link <div class="right">
href="https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console" <p class="title">重点关注项目</p>
type="primary" <p class="number">36</p>
target="_blank" <p class="compare">较上月 <span class="up">+3<img src="@/assets/images/index/up.png"/></span></p>
>https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console</el-link </div>
> </div>
<br /> <div class="item">
阿里云服务器折扣区 <img class="left" src="@/assets/images/index/icon3.png"/>
<el-link href="http://aly.ruoyi.vip" type="primary" target="_blank" <div class="right">
>>☛☛点我进入☚☚</el-link <p class="title">重点关注客户</p>
> <p class="number">36</p>
&nbsp;&nbsp;&nbsp; 腾讯云服务器秒杀区 <p class="compare">较上月 <span class="down">-3<img src="@/assets/images/index/down.png"/></span></p>
<el-link href="http://txy.ruoyi.vip" type="primary" target="_blank" </div>
>>☛☛点我进入☚☚</el-link </div>
><br /> <div class="item">
<h4 class="text-danger"> <img class="left" src="@/assets/images/index/icon4.png"/>
云产品通用红包,可叠加官网常规优惠使用。(仅限新用户) <div class="right">
</h4> <p class="title">储备合作客户</p>
</blockquote> <p class="number">36</p>
<p class="compare">较上月 <span class="up">+3<img src="@/assets/images/index/up.png"/></span></p>
<hr /> </div>
</el-col> </div>
</el-row> <div class="item add">
<el-row :gutter="20"> <span class="yd"><i></i><i></i><i></i><i></i><i></i><i></i></span>
<el-col :sm="24" :lg="12" style="padding-left: 20px"> <div class="btn"><i class="el-icon-plus"></i>新建待办任务</div>
<h2>央企后台经营管理框架</h2> </div>
<p>
一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了央企经营系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
</p>
<p>
<b>当前版本:</b> <span>v{{ version }}</span>
</p>
<p>
<el-tag type="danger">&yen;免费开源</el-tag>
</p>
<p>
<el-button
type="primary"
size="mini"
icon="el-icon-cloudy"
plain
@click="goTarget('https://gitee.com/y_project/RuoYi-Vue')"
>访问码云</el-button
>
<el-button
size="mini"
icon="el-icon-s-home"
plain
@click="goTarget('http://ruoyi.vip')"
>访问主页</el-button
>
</p>
</el-col>
<el-col :sm="24" :lg="12" style="padding-left: 50px">
<el-row>
<el-col :span="12">
<h2>技术选型</h2>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<h4>后端技术</h4>
<ul>
<li>SpringBoot</li>
<li>Spring Security</li>
<li>JWT</li>
<li>MyBatis</li>
<li>Druid</li>
<li>Fastjson</li>
<li>...</li>
</ul>
</el-col>
<el-col :span="6">
<h4>前端技术</h4>
<ul>
<li>Vue</li>
<li>Vuex</li>
<li>Element-ui</li>
<li>Axios</li>
<li>Sass</li>
<li>Quill</li>
<li>...</li>
</ul>
</el-col>
</el-row>
</el-col>
</el-row>
<el-divider />
<el-row :gutter="20">
<el-col :xs="24" :sm="24" :md="12" :lg="8">
<el-card class="update-log">
<div slot="header" class="clearfix">
<span>联系信息</span>
</div> </div>
<div class="body"> <!--经理视角-->
<p> <div v-if="user === 1" class="content-wrap">
<i class="el-icon-s-promotion"></i> 官网:<el-link <el-col :span="12">
href="http://www.ruoyi.vip" <div class="record">
target="_blank" <div class="flex-box query-box">
>http://www.ruoyi.vip</el-link <div class="flex-box query-params">
> <span class="common-title">跟进记录</span>
</p> </div>
<p> <div class="flex-box query-ability">
<i class="el-icon-user-solid"></i> QQ群:<s> 满937441 </s> <s> 满887144332 </s> <div class="area">西南地区<i class="el-icon-caret-bottom"></i></div>
<s> 满180251782 </s> <s> 满104180207 </s> <s> 满186866453 </s> <s> 满201396349 </s> <div class="month">不限<i class="el-icon-caret-bottom"></i></div>
<s> 满101456076 </s> <s> 满101539465 </s> <s> 满264312783 </s> <s> 满167385320 </s> </div>
<s> 满104748341 </s> <s> 满160110482 </s> <s> 满170801498 </s> <s> 满108482800 </s> </div>
<s> 满101046199 </s> <a href="https://jq.qq.com/?_wv=1027&k=tKEt51dz" target="_blank">136919097</a> <div class="list">
</p> <div class="item" v-for="(item,index) in gjjlData" :key="index">
<p> <h3>{{item.title}}</h3>
<i class="el-icon-chat-dot-round"></i> 微信:<a <p>
href="javascript:;" <span>跟进人:{{item.user}}</span>
>/ *若依</a <span>关联企业:{{item.name}}</span>
> </p>
</p> </div>
<p> </div>
<i class="el-icon-money"></i> 支付宝:<a <p class="more">更多跟进记录 ></p>
href="javascript:;" </div>
class="支付宝信息" </el-col>
>/ *若依</a <el-col :span="12">
> <div class="ranking">
</p> <div class="flex-box query-box">
<div class="flex-box query-params">
<span class="common-title">业绩排名</span>
</div>
<div class="flex-box query-ability">
<div class="area">西南地区<i class="el-icon-caret-bottom"></i></div>
<div class="month">不限<i class="el-icon-caret-bottom"></i></div>
</div>
</div>
<div class="main">
<div class="amount">
<p>
<span>产值目标(万元)</span>
<span>实际已完成(万元)</span>
</p>
<p>
<span class="money">359,800.00</span>
<span class="money">359,800.00</span>
</p>
<el-progress :text-inside="true" :stroke-width="10" :percentage="70"></el-progress>
</div>
<div style="background: #ffffff;margin: 0 12px 12px 12px;">
<div id="pm-echarts" style="height: 288px;"></div>
</div>
</div>
</div>
</el-col>
</div> </div>
</el-card> <div v-if="user === 1" class="analysis">
</el-col> <div class="flex-box query-box">
<el-col :xs="24" :sm="24" :md="12" :lg="8"> <div class="flex-box query-params">
<el-card class="update-log"> <span class="common-title">经营分析</span>
<div slot="header" class="clearfix"> </div>
<span>更新日志</span> <div class="flex-box query-ability">
<div class="tabs">
<div class="label" v-for="(item,index) in typeList" :class="typeIndex === index ? 'color':''" @click="handleClick(index)">{{item.name}}</div>
</div>
<div class="area">西南地区<i class="el-icon-caret-bottom"></i></div>
</div>
</div>
<div>
<div id="fx-echarts" style="height: 200px;"></div>
</div>
</div> </div>
<el-collapse accordion>
<el-collapse-item title="v3.8.5 - 2023-01-01">
<ol>
<li>定时任务违规的字符</li>
<li>重置时取消部门选中</li>
<li>新增返回警告消息提示</li>
<li>忽略不必要的属性数据返回</li>
<li>修改参数键名时移除前缓存配置</li>
<li>导入更新用户数据前校验数据权限</li>
<li>兼容Excel下拉框内容过多无法显示的问题</li>
<li>升级echarts到最新版本5.4.0</li>
<li>升级core-js到最新版本3.25.3</li>
<li>升级oshi到最新版本6.4.0</li>
<li>升级kaptcha到最新版2.3.3</li>
<li>升级druid到最新版本1.2.15</li>
<li>升级fastjson到最新版2.0.20</li>
<li>升级pagehelper到最新版1.4.6</li>
<li>优化弹窗内容过多展示不全问题</li>
<li>优化swagger-ui静态资源使用缓存</li>
<li>开启TopNav没有子菜单隐藏侧边栏</li>
<li>删除fuse无效选项maxPatternLength</li>
<li>优化导出对象的子列表为空会出现[]问题</li>
<li>优化编辑头像时透明部分会变成黑色问题</li>
<li>优化小屏幕上修改头像界面布局错位的问题</li>
<li>修复代码生成勾选属性无效问题</li>
<li>修复文件上传组件格式验证问题</li>
<li>修复回显数据字典数组异常问题</li>
<li>修复sheet超出最大行数异常问题</li>
<li>修复Log注解GET请求记录不到参数问题</li>
<li>修复调度日志点击多次数据不变化的问题</li>
<li>修复主题颜色在Drawer组件不会加载问题</li>
<li>修复文件名包含特殊字符的文件无法下载问题</li>
<li>修复table中更多按钮切换主题色未生效修复问题</li>
<li>修复某些特性的环境生成代码变乱码TXT文件问题</li>
<li>修复代码生成图片/文件/单选时选择必填无法校验问题</li>
<li>修复某些特性的情况用户编辑对话框中角色和部门无法修改问题</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.8.4 - 2022-09-26">
<ol>
<li>数据逻辑删除不进行唯一验证</li>
<li>Excel注解支持导出对象的子列表方法</li>
<li>Excel注解支持自定义隐藏属性列</li>
<li>Excel注解支持backgroundColor属性设置背景色</li>
<li>支持配置密码最大错误次数/锁定时间</li>
<li>登录日志新增解锁账户功能</li>
<li>通用下载方法新增config配置选项</li>
<li>支持多权限字符匹配角色数据权限</li>
<li>页面内嵌iframe切换tab不刷新数据</li>
<li>操作日志记录支持排除敏感属性字段</li>
<li>修复多文件上传报错出现的异常问题</li>
<li>修复图片预览组件src属性为null值控制台报错问题</li>
<li>升级oshi到最新版本6.2.2</li>
<li>升级fastjson到最新版2.0.14</li>
<li>升级pagehelper到最新版1.4.3</li>
<li>升级core-js到最新版本3.25.2</li>
<li>升级element-ui到最新版本2.15.10</li>
<li>优化任务过期不执行调度</li>
<li>优化字典数据使用store存取</li>
<li>优化修改资料头像被覆盖的问题</li>
<li>优化修改用户登录账号重复验证</li>
<li>优化代码生成同步后值NULL问题</li>
<li>优化定时任务支持执行父类方法</li>
<li>优化用户个人信息接口防止修改部门</li>
<li>优化布局设置使用el-drawer抽屉显示</li>
<li>优化没有权限的用户编辑部门缺少数据</li>
<li>优化日志注解记录限制请求地址的长度</li>
<li>优化excel/scale属性导出单元格数值类型</li>
<li>优化日志操作中重置按钮时重复查询的问题</li>
<li>优化多个相同角色数据导致权限SQL重复问题</li>
<li>优化表格上右侧工具条(搜索按钮显隐&右侧样式凸出)</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.8.3 - 2022-06-27">
<ol>
<li>新增缓存列表菜单功能</li>
<li>代码生成树表新增(展开/折叠)</li>
<li>Excel注解支持color字体颜色</li>
<li>新增Anonymous匿名访问不鉴权注解</li>
<li>用户头像上传限制只能为图片格式</li>
<li>接口使用泛型使其看到响应属性字段</li>
<li>检查定时任务bean所在包名是否为白名单配置</li>
<li>添加页签openPage支持传递参数</li>
<li>用户缓存信息添加部门ancestors祖级列表</li>
<li>升级element-ui到最新版本2.15.8</li>
<li>升级oshi到最新版本6.1.6</li>
<li>升级druid到最新版本1.2.11</li>
<li>升级fastjson到最新版2.0.8</li>
<li>升级spring-boot到最新版本2.5.14</li>
<li>降级jsencrypt版本兼容IE浏览器</li>
<li>删除多余的salt字段</li>
<li>新增获取不带后缀文件名称方法</li>
<li>新增获取配置文件中的属性值方法</li>
<li>新增内容编码/解码方便插件集成使用</li>
<li>字典类型必须以字母开头,且只能为(小写字母,数字,下滑线)</li>
<li>优化设置分页参数默认值</li>
<li>优化对空字符串参数处理的过滤</li>
<li>优化显示顺序orderNum类型为整型</li>
<li>优化表单构建按钮不显示正则校验</li>
<li>优化字典数据回显样式下拉框显示值</li>
<li>优化R响应成功状态码与全局保持一致</li>
<li>优化druid开启wall过滤器出现的异常问题</li>
<li>优化用户管理左侧树型组件增加选中高亮保持</li>
<li>优化新增用户与角色信息&用户与岗位信息逻辑</li>
<li>优化默认不启用压缩文件缓存防止node_modules过大</li>
<li>修复字典数据显示不全问题</li>
<li>修复操作日志查询类型条件为0时会查到所有数据</li>
<li>修复Excel注解prompt/combo同时使用不生效问题</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.8.2 - 2022-04-01">
<ol>
<li>前端支持设置是否需要防止数据重复提交</li>
<li>开启TopNav没有子菜单情况隐藏侧边栏</li>
<li>侧边栏菜单名称过长悬停显示标题</li>
<li>用户访问控制时校验数据权限,防止越权</li>
<li>导出Excel时屏蔽公式,防止CSV注入风险</li>
<li>组件ImagePreview支持多图预览显示</li>
<li>组件ImageUpload支持多图同时选择上传</li>
<li>组件FileUpload支持多文件同时选择上传</li>
<li>服务监控新增运行参数信息显示</li>
<li>定时任务目标字符串过滤特殊字符</li>
<li>定时任务目标字符串验证包名白名单</li>
<li>代码生成列表图片支持预览</li>
<li>代码生成编辑修改打开新页签</li>
<li>代码生成新增Java类型Boolean</li>
<li>代码生成子表支持日期/字典配置</li>
<li>代码生成同步保留必填/类型选项</li>
<li>升级oshi到最新版本6.1.2</li>
<li>升级fastjson到最新版1.2.80</li>
<li>升级pagehelper到最新版1.4.1</li>
<li>升级spring-boot到最新版本2.5.11</li>
<li>升级spring-boot-mybatis到最新版2.2.2</li>
<li>添加遗漏的分页参数合理化属性</li>
<li>修改npm即将过期的注册源地址</li>
<li>修复分页组件请求两次问题</li>
<li>修复通用文件下载接口跨域问题</li>
<li>修复Xss注解字段值为空时的异常问题</li>
<li>修复选项卡点击右键刷新丢失参数问题</li>
<li>修复表单清除元素位置未垂直居中问题</li>
<li>修复服务监控中运行参数显示条件错误</li>
<li>修复导入Excel时字典字段类型为Long转义为空问题</li>
<li>修复登录超时刷新页面跳转登录页面还提示重新登录问题</li>
<li>优化加载字典缓存数据</li>
<li>优化IP地址获取到多个的问题</li>
<li>优化任务队列满时任务拒绝策略</li>
<li>优化文件上传兼容Weblogic环境</li>
<li>优化定时任务默认保存到内存中执行</li>
<li>优化部门修改缩放后出现的错位问题</li>
<li>优化Excel格式化不同类型的日期对象</li>
<li>优化菜单表关键字导致的插件报错问题</li>
<li>优化Oracle用户头像列为空时不显示问题</li>
<li>优化页面若未匹配到字典标签则返回原字典值</li>
<li>优化修复登录失效后多次请求提示多次弹窗问题</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.8.1 - 2022-01-01">
<ol>
<li>新增Vue3前端代码生成模板</li>
<li>新增图片预览组件</li>
<li>新增压缩插件实现打包Gzip</li>
<li>自定义xss校验注解实现</li>
<li>自定义文字复制剪贴指令</li>
<li>代码生成预览支持复制内容</li>
<li>路由支持单独配置菜单或角色权限</li>
<li>用户管理部门查询选择节点后分页参数初始</li>
<li>修复用户分配角色属性错误</li>
<li>修复打包后字体图标偶现的乱码问题</li>
<li>修复菜单管理重置表单出现的错误</li>
<li>修复版本差异导致的懒加载报错问题</li>
<li>修复Cron组件中周回显问题</li>
<li>修复定时任务多参数逗号分隔的问题</li>
<li>修复根据ID查询列表可能出现的主键溢出问题</li>
<li>修复tomcat配置参数已过期问题</li>
<li>升级clipboard到最新版本2.0.8</li>
<li>升级oshi到最新版本v5.8.6</li>
<li>升级fastjson到最新版1.2.79</li>
<li>升级spring-boot到最新版本2.5.8</li>
<li>升级log4j2到2.17.1,防止漏洞风险</li>
<li>优化下载解析blob异常提示</li>
<li>优化代码生成字典组重复问题</li>
<li>优化查询用户的角色组&岗位组代码</li>
<li>优化定时任务cron表达式小时设置24</li>
<li>优化用户导入提示溢出则显示滚动条</li>
<li>优化防重复提交标识组合为(key+url+header)</li>
<li>优化分页方法设置成通用方便灵活调用</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.8.0 - 2021-12-01">
<ol>
<li>新增配套并同步的Vue3前端版本</li>
<li>新增通用方法简化模态/缓存/下载/权限/页签使用</li>
<li>优化导出数据/使用通用下载方法</li>
<li>Excel注解支持自定义数据处理器</li>
<li>Excel注解支持导入导出标题信息</li>
<li>Excel导入支持@Excels注解</li>
<li>新增组件data-dict,简化数据字典使用</li>
<li>新增Jaxb依赖,防止jdk8以上出现的兼容错误</li>
<li>生产环境使用路由懒加载提升页面响应速度</li>
<li>修复五级以上菜单出现的404问题</li>
<li>防重提交注解支持配置间隔时间/提示消息</li>
<li>日志注解新增是否保存响应参数</li>
<li>任务屏蔽违规字符&参数忽略双引号中的逗号</li>
<li>升级SpringBoot到最新版本2.5.6</li>
<li>升级pagehelper到最新版1.4.0</li>
<li>升级spring-boot-mybatis到最新版2.2.0</li>
<li>升级oshi到最新版本v5.8.2</li>
<li>升级druid到最新版1.2.8</li>
<li>升级velocity到最新版本2.3</li>
<li>升级fastjson到最新版1.2.78</li>
<li>升级axios到最新版本0.24.0</li>
<li>升级dart-sass到版本1.32.13</li>
<li>升级core-js到最新版本3.19.1</li>
<li>升级jsencrypt到最新版本3.2.1</li>
<li>升级js-cookie到最新版本3.0.1</li>
<li>升级file-saver到最新版本2.0.5</li>
<li>升级sass-loader到最新版本10.1.1</li>
<li>升级element-ui到最新版本2.15.6</li>
<li>新增sendGet无参请求方法</li>
<li>禁用el-tag组件的渐变动画</li>
<li>代码生成点击预览重置激活tab</li>
<li>AjaxResult重写put方法,以方便链式调用</li>
<li>优化登录/验证码请求headers不设置token</li>
<li>优化用户个人信息接口防止修改用户名</li>
<li>优化Cron表达式生成器关闭时销毁避免缓存</li>
<li>优化注册成功提示消息类型success</li>
<li>优化aop语法,使用spring自动注入注解</li>
<li>优化记录登录信息,移除不必要的修改</li>
<li>优化mybatis全局默认的执行器</li>
<li>优化Excel导入图片可能出现的异常</li>
<li>修复代码生成模板主子表删除缺少事务</li>
<li>修复日志记录可能出现的转换异常</li>
<li>修复代码生成复选框字典遗漏问题</li>
<li>修复关闭xss功能导致可重复读RepeatableFilter失效</li>
<li>修复字符串无法被反转义问题</li>
<li>修复后端主子表代码模板方法名生成错误问题</li>
<li>修复xss过滤后格式出现的异常</li>
<li>修复swagger没有指定dataTypeClass导致启动出现warn日志</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.7.0 - 2021-09-13">
<ol>
<li>参数管理支持配置验证码开关</li>
<li>新增是否开启用户注册功能</li>
<li>定时任务支持在线生成cron表达式</li>
<li>菜单管理支持配置路由参数</li>
<li>支持自定义注解实现接口限流</li>
<li>Excel注解支持Image图片导入</li>
<li>自定义弹层溢出滚动样式</li>
<li>自定义可拖动弹窗宽度指令</li>
<li>自定义可拖动弹窗高度指令</li>
<li>修复任意账户越权问题</li>
<li>修改时检查用户数据权限范围</li>
<li>修复保存配置主题颜色失效问题</li>
<li>新增暗色菜单风格主题</li>
<li>菜单&部门新增展开/折叠功能</li>
<li>页签新增关闭左侧&添加图标</li>
<li>顶部菜单排除隐藏的默认路由</li>
<li>顶部菜单同步系统主题样式</li>
<li>跳转路由高亮相对应的菜单栏</li>
<li>代码生成主子表多选行数据</li>
<li>日期范围支持添加多组</li>
<li>升级element-ui到最新版本2.15.5</li>
<li>升级oshi到最新版本v5.8.0</li>
<li>升级commons.io到最新版本v2.11.0</li>
<li>定时任务屏蔽ldap远程调用</li>
<li>定时任务屏蔽http(s)远程调用</li>
<li>补充定时任务表字段注释</li>
<li>定时任务对检查异常进行事务回滚</li>
<li>启用父部门状态排除顶级节点</li>
<li>富文本新增上传文件大小限制</li>
<li>默认首页使用keep-alive缓存</li>
<li>修改代码生成字典回显样式</li>
<li>自定义分页合理化传入参数</li>
<li>修复字典组件值为整形不显示问题</li>
<li>修复定时任务日志执行状态显示</li>
<li>角色&菜单新增字段属性提示信息</li>
<li>修复角色分配用户页面参数类型错误提醒</li>
<li>优化布局设置动画特效</li>
<li>优化异常处理信息</li>
<li>优化错误token导致的解析异常</li>
<li>密码框新增显示切换密码图标</li>
<li>定时任务新增更多操作</li>
<li>更多操作按钮添加权限控制</li>
<li>导入用户样式优化</li>
<li>提取通用方法到基类控制器</li>
<li>优化使用权限工具获取用户信息</li>
<li>优化用户不能删除自己</li>
<li>优化XSS跨站脚本过滤</li>
<li>优化代码生成模板</li>
<li>验证码默认20s超时</li>
<li>BLOB下载时清除URL对象引用</li>
<li>代码生成导入表按创建时间排序</li>
<li>修复代码生成页面数据编辑保存之后总是跳转第一页的问题</li>
<li>修复带safari浏览器无法格式化utc日期格式yyyy-MM-dd'T'HH:mm:ss.SSS问题</li>
<li>多图上传组件移除多余的api地址&验证失败导致图片删除问题&无法删除相应图片修复</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.6.0 - 2021-07-12">
<ol>
<li>角色管理新增分配用户功能</li>
<li>用户管理新增分配角色功能</li>
<li>日志列表支持排序操作</li>
<li>优化参数&字典缓存操作</li>
<li>系统布局配置支持动态标题开关</li>
<li>菜单路由配置支持内链访问</li>
<li>默认访问后端首页新增提示语</li>
<li>富文本默认上传返回url类型</li>
<li>新增自定义弹窗拖拽指令</li>
<li>全局注册常用通用组件</li>
<li>全局挂载字典标签组件</li>
<li>ImageUpload组件支持多图片上传</li>
<li>FileUpload组件支持多文件上传</li>
<li>文件上传组件添加数量限制属性</li>
<li>富文本编辑组件添加类型属性</li>
<li>富文本组件工具栏配置视频</li>
<li>封装通用iframe组件</li>
<li>限制超级管理员不允许操作</li>
<li>用户信息长度校验限制</li>
<li>分页组件新增pagerCount属性</li>
<li>添加bat脚本执行应用</li>
<li>升级oshi到最新版本v5.7.4</li>
<li>升级element-ui到最新版本2.15.2</li>
<li>升级pagehelper到最新版1.3.1</li>
<li>升级commons.io到最新版本v2.10.0</li>
<li>升级commons.fileupload到最新版本v1.4</li>
<li>升级swagger到最新版本v3.0.0</li>
<li>修复关闭confirm提示框控制台报错问题</li>
<li>修复存在的SQL注入漏洞问题</li>
<li>定时任务屏蔽rmi远程调用</li>
<li>修复用户搜索分页变量错误</li>
<li>修复导出角色数据范围翻译缺少仅本人</li>
<li>修复表单构建选择下拉选择控制台报错问题</li>
<li>优化图片工具类读取文件</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.5.0 - 2021-05-25">
<ol>
<li>新增菜单导航显示风格TopNav(false为左侧导航菜单,true为顶部导航菜单)</li>
<li>布局设置支持保存&重置配置</li>
<li>修复树表数据显示不全&加载慢问题</li>
<li>新增IE浏览器版本过低提示页面</li>
<li>用户登录后记录最后登录IP&时间</li>
<li>页面导出按钮点击之后添加遮罩</li>
<li>富文本编辑器支持自定义上传地址</li>
<li>富文本编辑组件新增readOnly属性</li>
<li>页签TagsView新增关闭右侧功能</li>
<li>显隐列组件加载初始默认隐藏列</li>
<li>关闭头像上传窗口还原默认图片</li>
<li>个人信息添加手机&邮箱重复验证</li>
<li>代码生成模板导出按钮点击后添加遮罩</li>
<li>代码生成模板树表操作列添加新增按钮</li>
<li>代码生成模板修复主子表字段重名问题</li>
<li>升级fastjson到最新版1.2.76</li>
<li>升级druid到最新版本v1.2.6</li>
<li>升级mybatis到最新版3.5.6 阻止远程代码执行漏洞</li>
<li>升级oshi到最新版本v5.6.0</li>
<li>velocity剔除commons-collections版本,防止3.2.1版本的反序列化漏洞</li>
<li>数据监控页默认账户密码防止越权访问</li>
<li>修复firefox下表单构建拖拽会新打卡一个选项卡</li>
<li>修正后端导入表权限标识</li>
<li>修正前端操作日志&登录日志权限标识</li>
<li>设置Redis配置HashKey序列化</li>
<li>删除操作日志记录信息</li>
<li>上传媒体类型添加视频格式</li>
<li>修复请求形参未传值记录日志异常问题</li>
<li>优化xss校验json请求条件</li>
<li>树级结构更新子节点使用replaceFirst</li>
<li>优化ExcelUtil空值处理</li>
<li>日志记录过滤BindingResult对象,防止异常</li>
<li>修改主题后mini类型按钮无效问题</li>
<li>优化通用下载完成后删除节点</li>
<li>通用Controller添加响应返回消息</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.4.0 - 2021-02-22">
<ol>
<li>代码生成模板支持主子表</li>
<li>表格右侧工具栏组件支持显隐列</li>
<li>图片组件添加预览&移除功能</li>
<li>Excel注解支持Image图片导出</li>
<li>操作按钮组调整为朴素按钮样式</li>
<li>代码生成支持文件上传组件</li>
<li>代码生成日期控件区分范围</li>
<li>代码生成数据库文本类型生成表单文本域</li>
<li>用户手机邮箱&菜单组件修改允许空字符串</li>
<li>升级SpringBoot到最新版本2.2.13 提升启动速度</li>
<li>升级druid到最新版本v1.2.4</li>
<li>升级fastjson到最新版1.2.75</li>
<li>升级element-ui到最新版本2.15.0</li>
<li>修复IE11浏览器报错问题</li>
<li>优化多级菜单之间切换无法缓存的问题</li>
<li>修复四级菜单无法显示问题</li>
<li>修正侧边栏静态路由丢失问题</li>
<li>修复角色管理-编辑角色-功能权限显示异常</li>
<li>配置文件新增redis数据库索引属性</li>
<li>权限工具类增加admin判断</li>
<li>角色非自定义权限范围清空选择值</li>
<li>修复导入数据为负浮点数时丢失精度问题</li>
<li>移除path-to-regexp正则匹配插件</li>
<li>修复生成树表代码异常</li>
<li>修改ip字段长度防止ipv6地址长度不够</li>
<li>防止get请求参数值为false或0等特殊值会导致无法正确的传参</li>
<li>登录后push添加catch防止出现检查错误</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.3.0 - 2020-12-14">
<ol>
<li>新增缓存监控功能</li>
<li>支持主题风格配置</li>
<li>修复多级菜单之间切换无法缓存的问题</li>
<li>多级菜单自动配置组件</li>
<li>代码生成预览支持高亮显示</li>
<li>支持Get请求映射Params参数</li>
<li>删除用户和角色解绑关联</li>
<li>去除用户手机邮箱部门必填验证</li>
<li>Excel支持注解align对齐方式</li>
<li>Excel支持导入Boolean型数据</li>
<li>优化头像样式,鼠标移入悬停遮罩</li>
<li>代码生成预览提供滚动机制</li>
<li>代码生成删除多余的数字float类型</li>
<li>修正转换字符串的目标字符集属性</li>
<li>回显数据字典防止空值报错</li>
<li>日志记录增加过滤多文件场景</li>
<li>修改缓存Set方法可能导致嵌套的问题</li>
<li>移除前端一些多余的依赖</li>
<li>防止安全扫描YUI出现的风险提示</li>
<li>修改node-sass为dart-sass</li>
<li>升级SpringBoot到最新版本2.1.18</li>
<li>升级poi到最新版本4.1.2</li>
<li>升级oshi到最新版本v5.3.6</li>
<li>升级bitwalker到最新版本1.21</li>
<li>升级axios到最新版本0.21.0</li>
<li>升级element-ui到最新版本2.14.1</li>
<li>升级vue到最新版本2.6.12</li>
<li>升级vuex到最新版本3.6.0</li>
<li>升级vue-cli到版本4.5.9</li>
<li>升级vue-router到最新版本3.4.9</li>
<li>升级vue-cli到最新版本4.4.6</li>
<li>升级vue-cropper到最新版本0.5.5</li>
<li>升级clipboard到最新版本2.0.6</li>
<li>升级core-js到最新版本3.8.1</li>
<li>升级echarts到最新版本4.9.0</li>
<li>升级file-saver到最新版本2.0.4</li>
<li>升级fuse.js到最新版本6.4.3</li>
<li>升级js-beautify到最新版本1.13.0</li>
<li>升级js-cookie到最新版本2.2.1</li>
<li>升级path-to-regexp到最新版本6.2.0</li>
<li>升级quill到最新版本1.3.7</li>
<li>升级screenfull到最新版本5.0.2</li>
<li>升级sortablejs到最新版本1.10.2</li>
<li>升级vuedraggable到最新版本2.24.3</li>
<li>升级chalk到最新版本4.1.0</li>
<li>升级eslint到最新版本7.15.0</li>
<li>升级eslint-plugin-vue到最新版本7.2.0</li>
<li>升级lint-staged到最新版本10.5.3</li>
<li>升级runjs到最新版本4.4.2</li>
<li>升级sass-loader到最新版本10.1.0</li>
<li>升级script-ext-html-webpack-plugin到最新版本2.1.5</li>
<li>升级svg-sprite-loader到最新版本5.1.1</li>
<li>升级vue-template-compiler到最新版本2.6.12</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.2.1 - 2020-11-18">
<ol>
<li>阻止任意文件下载漏洞</li>
<li>代码生成支持上传控件</li>
<li>新增图片上传组件</li>
<li>调整默认首页</li>
<li>升级druid到最新版本v1.2.2</li>
<li>mapperLocations配置支持分隔符</li>
<li>权限信息调整</li>
<li>调整sql默认时间</li>
<li>解决代码生成没有bit类型的问题</li>
<li>升级pagehelper到最新版1.3.0</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.2.0 - 2020-10-10">
<ol>
<li>升级springboot版本到2.1.17 提升安全性</li>
<li>升级oshi到最新版本v5.2.5</li>
<li>升级druid到最新版本v1.2.1</li>
<li>升级jjwt到版本0.9.1</li>
<li>升级fastjson到最新版1.2.74</li>
<li>修改sass为node-sass,避免el-icon图标乱码</li>
<li>代码生成支持同步数据库</li>
<li>代码生成支持富文本控件</li>
<li>代码生成页面时不忽略remark属性</li>
<li>代码生成添加select必填选项</li>
<li>Excel导出类型NUMERIC支持精度浮点类型</li>
<li>Excel导出targetAttr优化获取值,防止get方法不规范</li>
<li>Excel注解支持自动统计数据总和</li>
<li>Excel注解支持设置BigDecimal精度&舍入规则</li>
<li>菜单&数据权限新增(展开/折叠 全选/全不选 父子联动)</li>
<li>允许用户分配到部门父节点</li>
<li>菜单新增是否缓存keep-alive</li>
<li>表格操作列间距调整</li>
<li>限制系统内置参数不允许删除</li>
<li>富文本组件优化,支持自定义高度&图片冲突问题</li>
<li>富文本工具栏样式对齐</li>
<li>导入excel整形值校验优化</li>
<li>修复页签关闭所有时固定标签路由不刷新问题</li>
<li>表单构建布局型组件新增按钮</li>
<li>左侧菜单文字过长显示省略号</li>
<li>修正根节点为子部门时,树状结构显示问题</li>
<li>修正调用目标字符串最大长度</li>
<li>修正菜单提示信息错误</li>
<li>修正定时任务执行一次权限标识</li>
<li>修正数据库字符串类型nvarchar</li>
<li>优化递归子节点</li>
<li>优化数据权限判断</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v3.1.0 - 2020-08-13"> <!--员工视角-->
<ol> <div v-if="user === 2" class="content-db">
<li>表格工具栏右侧添加刷新&显隐查询组件</li> <div class="flex-box query-box">
<li>后端支持CORS跨域请求</li> <div class="flex-box query-params">
<li>代码生成支持选择上级菜单</li> <span class="common-title">待办</span>
<li>代码生成支持自定义路径</li> </div>
<li>代码生成支持复选框</li> <div class="flex-box query-ability"><span>9</span>全部待办 ></div>
<li>Excel导出导入支持dictType字典类型</li> </div>
<li>Excel支持分割字符串组内容</li> <div class="list">
<li>验证码类型支持(数组计算、字符验证)</li> <div class="item" v-for="(item,index) in gjjlData" :key="index">
<li>升级vue-cli版本到4.4.4</li> <h3>{{item.title}}</h3>
<li>修改 node-sass 为 dart-sass</li> <p>
<li>表单类型为Integer/Long设置整形默认值</li> <span>拜访时间:{{item.time}}</span>
<li>代码生成器默认mapper路径与默认mapperScan路径不一致</li> <span>关联企业:{{item.name}}</span>
<li>优化防重复提交拦截器</li> </p>
<li>优化上级菜单不能选择自己</li> <div class="btn">写跟进<i class="el-icon-edit"></i></div>
<li>修复角色的权限分配后,未实时生效问题</li> </div>
<li>修复在线用户日志记录类型</li> </div>
<li>修复富文本空格和缩进保存后不生效问题</li> </div>
<li>修复在线用户判断逻辑</li> <div v-if="user === 2" class="trends">
<li>唯一限制条件只返回单条数据</li> <el-tabs v-model="activeName" @tab-click="handleClickTab">
<li>添加获取当前的环境配置方法</li> <el-tab-pane label="甲方舆情" name="first">
<li>超时登录后页面跳转到首页</li> <el-timeline>
<li>全局异常状态汉化拦截处理</li> <el-timeline-item
<li>HTML过滤器改为将html转义</li> v-for="(item, index) in trendsList"
<li>检查字符支持小数点&降级改成异常提醒</li> :key="index"
<li>其他细节优化</li> icon="el-icon-time">
</ol> {{item.main}}
</el-collapse-item> </el-timeline-item>
</el-timeline>
<el-collapse-item title="v3.0.0 - 2020-07-20"> </el-tab-pane>
<ol> <el-tab-pane label="监控动态" name="second">监控动态</el-tab-pane>
<li>单应用调整为多模块项目</li> </el-tabs>
<li>升级element-ui版本到2.13.2</li> </div>
<li>删除babel,提高编译速度。</li> </div>
<li>新增菜单默认主类目</li>
<li>编码文件名修改为uuid方式</li>
<li>定时任务cron表达式验证</li>
<li>角色权限修改时已有权限未自动勾选异常修复</li>
<li>防止切换权限用户后登录出现404</li>
<li>Excel支持sort导出排序</li>
<li>创建用户不允许选择超级管理员角色</li>
<li>修复代码生成导入表结构出现异常页面不提醒问题</li>
<li>修复代码生成点击多次表修改数据不变化的问题</li>
<li>修复头像上传成功二次打开无法改变裁剪框大小和位置问题</li>
<li>修复布局为small者mini用户表单显示错位问题</li>
<li>修复热部署导致的强换异常问题</li>
<li>修改用户管理复选框宽度,防止部分浏览器出现省略号</li>
<li>IpUtils工具,清除Xss特殊字符,防止Xff注入攻击</li>
<li>生成domain 如果是浮点型 统一用BigDecimal</li>
<li>定时任务调整label-width,防止部署出现错位</li>
<li>调整表头固定列默认样式</li>
<li>代码生成模板调整,字段为String并且必填则加空串条件</li>
<li>代码生成字典Integer/Long使用parseInt</li>
<li>
修复dict_sort不可update为0的问题&查询返回增加dict_sort升序排序
</li>
<li>修正岗位导出权限注解</li>
<li>禁止加密密文返回前端</li>
<li>修复代码生成页面中的查询条件创建时间未生效的问题</li>
<li>修复首页搜索菜单外链无法点击跳转问题</li>
<li>修复菜单管理选择图标,backspace删除时不过滤数据</li>
<li>用户管理部门分支节点不可检查&显示计数</li>
<li>数据范围过滤属性调整</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v2.3.0 - 2020-06-01">
<ol>
<li>升级fastjson到最新版1.2.70 修复高危安全漏洞</li>
<li>dev启动默认打开浏览器</li>
<li>vue-cli使用默认source-map</li>
<li>slidebar eslint报错优化</li>
<li>当tags-view滚动关闭右键菜单</li>
<li>字典管理添加缓存读取</li>
<li>参数管理支持缓存操作</li>
<li>支持一级菜单(和主页同级)在main区域显示</li>
<li>限制外链地址必须以http(s)开头</li>
<li>tagview & sidebar 主题颜色与element ui(全局)同步</li>
<li>修改数据源类型优先级,先根据方法,再根据类</li>
<li>支持是否需要设置token属性,自定义返回码消息。</li>
<li>swagger请求前缀加入配置。</li>
<li>登录地点设置内容过长则隐藏显示</li>
<li>修复定时任务执行一次按钮后不提示消息问题</li>
<li>修改上级部门(选择项排除本身和下级)</li>
<li>通用http发送方法增加参数 contentType 编码类型</li>
<li>更换IP地址查询接口</li>
<li>修复页签变量undefined</li>
<li>添加校验部门包含未停用的子部门</li>
<li>修改定时任务详情下次执行时间日期显示错误</li>
<li>角色管理查询设置默认排序字段</li>
<li>swagger添加enable参数控制是否启用</li>
<li>只对json类型请求构建可重复读取inputStream的request</li>
<li>修改代码生成字典字段int类型没有自动选中问题</li>
<li>vuex用户名取值修正</li>
<li>表格树模板去掉多余的)</li>
<li>代码生成序号修正</li>
<li>全屏情况下不调整上外边距</li>
<li>代码生成Date字段添加默认格式</li>
<li>用户管理角色选择权限控制</li>
<li>修复路由懒加载报错问题</li>
<li>模板sql.vm添加菜单状态</li>
<li>设置用户名称不能修改</li>
<li>dialog添加append-to-body属性,防止ie遮罩</li>
<li>菜单区分状态和显示隐藏功能</li>
<li>升级fastjson到最新版1.2.68 修复安全加固</li>
<li>修复代码生成如果选择字典类型缺失逗号问题</li>
<li>登录请求params更换为data,防止暴露url</li>
<li>日志返回时间格式处理</li>
<li>添加handle控制允许拖动的元素</li>
<li>布局设置点击扩大范围</li>
<li>代码生成列属性排序查询</li>
<li>代码生成列支持拖动排序</li>
<li>修复时间格式不支持ios问题</li>
<li>表单构建添加父级class,防止冲突</li>
<li>定时任务并发属性修正</li>
<li>角色禁用&菜单隐藏不查询权限</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v2.2.0 - 2020-03-18">
<ol>
<li>系统监控新增定时任务功能</li>
<li>添加一个打包Web工程bat</li>
<li>修复页签鼠标滚轮按下的时候,可以关闭不可关闭的tag</li>
<li>修复点击退出登录有时会无提示问题</li>
<li>修复防重复提交注解无效问题</li>
<li>修复通知公告批量删除异常问题</li>
<li>添加菜单时路由地址必填限制</li>
<li>代码生成字段描述可编辑</li>
<li>修复用户修改个人信息导致缓存不过期问题</li>
<li>个人信息创建时间获取正确属性值</li>
<li>操作日志详细显示正确类型</li>
<li>导入表单击行数据时选中对应的复选框</li>
<li>批量替换表前缀逻辑调整</li>
<li>固定重定向路径表达式</li>
<li>升级element-ui版本到2.13.0</li>
<li>操作日志排序调整</li>
<li>修复charts切换侧边栏或者缩放窗口显示bug</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v2.1.0 - 2020-02-24">
<ol>
<li>新增表单构建</li>
<li>代码生成支持树表结构</li>
<li>新增用户导入</li>
<li>修复动态加载路由页面刷新问题</li>
<li>修复地址开关无效问题</li>
<li>汉化错误提示页面</li>
<li>代码生成已知问题修改</li>
<li>修复多数据源下配置关闭出现异常处理</li>
<li>添加HTML过滤器,用于去除XSS漏洞隐患</li>
<li>修复上传头像控制台出现异常</li>
<li>修改用户管理分页不正确的问题</li>
<li>修复验证码记录提示错误</li>
<li>修复request.js缺少Message引用</li>
<li>修复表格时间为空出现的异常</li>
<li>添加Jackson日期反序列化时区配置</li>
<li>调整根据用户权限加载菜单数据树形结构</li>
<li>调整成功登录不恢复按钮,防止多次点击</li>
<li>修改用户个人资料同步缓存信息</li>
<li>修复页面同时出现el-upload和Editor不显示处理</li>
<li>修复在角色管理页修改菜单权限偶尔未选中问题</li>
<li>配置文件新增redis密码属性</li>
<li>设置mybatis全局的配置文件</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v2.0.0 - 2019-12-02">
<ol>
<li>新增代码生成</li>
<li>新增@RepeatSubmit注解,防止重复提交</li>
<li>新增菜单主目录添加/删除操作</li>
<li>日志记录过滤特殊对象,防止转换异常</li>
<li>修改代码生成路由脚本错误</li>
<li>用户上传头像实时同步缓存,无需重新登录</li>
<li>调整切换页签后不重新加载数据</li>
<li>添加jsencrypt实现参数的前端加密</li>
<li>系统退出删除用户缓存记录</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v1.1.0 - 2019-11-11">
<ol>
<li>新增在线用户管理</li>
<li>新增按钮组功能实现(批量删除、导出、清空)</li>
<li>新增查询条件重置按钮</li>
<li>新增Swagger全局Token配置</li>
<li>新增后端参数校验</li>
<li>修复字典管理页面的日期查询异常</li>
<li>修改时间函数命名防止冲突</li>
<li>去除菜单上级校验,默认为顶级</li>
<li>修复用户密码无法修改问题</li>
<li>修复菜单类型为按钮时不显示权限标识</li>
<li>其他细节优化</li>
</ol>
</el-collapse-item>
<el-collapse-item title="v1.0.0 - 2019-10-08">
<ol>
<li>若依前后端分离系统正式发布</li>
</ol>
</el-collapse-item>
</el-collapse>
</el-card>
</el-col> </el-col>
<el-col :xs="24" :sm="24" :md="12" :lg="8"> <el-col :span="6">
<el-card class="update-log"> <div class="content-right">
<div slot="header" class="clearfix"> <div class="user">
<span>捐赠支持</span> <h3>刘毅<span>总经理</span></h3>
<p>您好,祝您工作顺利每一天</p>
</div> </div>
<div class="body"> <div class="search">
<img <span class="common-title">快捷搜索</span>
src="https://oscimg.oschina.net/oscnet/up-d6695f82666e5018f715c41cb7ee60d3b73.png" <el-input placeholder="找客户/找项目/找甲方">
alt="donate" <i slot="prefix" class="el-icon-search"></i>
width="100%" </el-input>
/> <span class="common-title" style="margin-bottom: 10px;">储备项目类</span>
<span style="display: inline-block; height: 30px; line-height: 30px" <div class="list">
>你可以请作者喝杯咖啡表示鼓励</span <div class="item">
> <img src="@/assets/images/index/cb_icon1.png"/>
<p>EPC项目</p>
</div>
<div class="item">
<img src="@/assets/images/index/cb_icon2.png"/>
<p>投资项目</p>
</div>
<div class="item">
<img src="@/assets/images/index/cb_icon3.png"/>
<p>房建项目</p>
</div>
</div>
<div class="list">
<div class="item">
<img src="@/assets/images/index/cb_icon4.png"/>
<p>电力项目</p>
</div>
<div class="item">
<img src="@/assets/images/index/cb_icon5.png"/>
<p>市政项目</p>
</div>
<div class="item">
<img src="@/assets/images/index/cb_icon6.png"/>
<p>水利项目</p>
</div>
</div>
</div> </div>
</el-card> <div class="zbgg">
<span class="common-title">招标公告</span>
<div class="list">
<div class="item">
<h3>太原市万柏林区2023年兴华街道老旧小区改造项目</h3>
<p>
<span>中标金额:4754.34</span>
<span>中标单位:中铁十二局集团</span>
</p>
</div>
<div class="item">
<h3>太原市万柏林区2023年兴华街道老旧小区改造项目</h3>
<p>
<span>中标金额:4754.34</span>
<span>中标单位:中铁十二局集团</span>
</p>
</div>
<div class="item">
<h3>太原市万柏林区2023年兴华街道老旧小区改造项目</h3>
<p>
<span>中标金额:4754.34</span>
<span>中标单位:中铁十二局集团</span>
</p>
</div>
<div class="item">
<h3>太原市万柏林区2023年兴华街道老旧小区改造项目</h3>
<p>
<span>中标金额:4754.34</span>
<span>中标单位:中铁十二局集团</span>
</p>
</div>
<div class="item">
<h3>太原市万柏林区2023年兴华街道老旧小区改造项目</h3>
<p>
<span>中标金额:4754.34</span>
<span>中标单位:中铁十二局集团</span>
</p>
</div>
</div>
</div>
</div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
</template> </template>
<script> <script>
import * as echarts from 'echarts';
export default { export default {
name: "Index", name: "Index",
data() { data() {
return { return {
// 版本号 // 版本号
version: "3.8.5" version: "3.8.5",
}; typeList:[
{name:'待成交项目数'},
{name:'待成交总金额'},
{name:'成交项目金额'},
{name:'成交项目总数'},
{name:'储备项目总数'},
{name:'储备项目总金额'},
],
typeIndex:0,
jyfxData:['1月','2月','3月','4月','5月','6月'],
jyfxData1:[103,256,132,186,210,95],
gjjlData:[
{
title:'今天拜访了重庆交通局杨科长,洽谈比较愉快,预计下月有项目招标,希望能有机会合作。',
user:'李婷婷',
name:'重庆机场集团',
time:'2023-04-12 14: 00'
},
{
title:'今天拜访了重庆机场集团董事长,下个月招标项目预计1.2个亿。争取能拿到项目。',
user:'李婷婷',
name:'重庆机场集团',
time:'2023-04-12 14: 00'
},
{
title:'5月27日早上劳动局去杨局长说希望我们把项目预算清单做出来看一下。',
user:'李婷婷',
name:'重庆机场集团',
time:'2023-04-12 14: 00'
},
{
title:'拜访了重庆交通局杨科长,洽谈比较愉快,预计下月有项目招标,希望能有机会合作。',
user:'李婷婷',
name:'重庆机场集团',
time:'2023-04-12 14: 00'
},
{
title:'5月27日早上劳动局去杨局长说希望我们把项目预算清单做出来看一下。',
user:'李婷婷',
name:'重庆机场集团',
time:'2023-04-12 14: 00'
},
{
title:'拜访了重庆交通局杨科长,洽谈比较愉快,预计下月有项目招标,希望能有机会合作。',
user:'李婷婷',
name:'重庆机场集团',
time:'2023-04-12 14: 00'
},
],
pmData:[
{
name:'朱博',
value:334,
value1:164,
},
{
name:'陈伟',
value:230,
value1:130,
},
{
name:'张天翼',
value:156,
value1:150,
},
{
name:'李晨旭',
value:112,
value1:130,
},
{
name:'徐阳',
value:110,
value1:90,
},
],
rankIconsSize:'24',
rankIcons:[// 排序图标
require('@/assets/images/index/1.png'),
require('@/assets/images/index/2.png'),
require('@/assets/images/index/3.png'),
require('@/assets/images/index/4.png'),
require('@/assets/images/index/5.png'),
],
user:1,
activeName:'first',
trendsList:[
{
time:'2018-04-03 10:20',
name:'重庆轨道交通集团有限公司',
main:'发布招标公告 重庆轨道交通环线鹅公岩轨道专用桥增设防船撞设施项目,项目地区是重庆市-江北区,项目类型为工程建设。'
},
{
time:'2018-04-03 10:20',
name:'重庆轨道交通集团有限公司',
main:'发布招标公告 重庆轨道交通环线鹅公岩轨道专用桥增设防船撞设施项目,项目地区是重庆市-江北区,项目类型为工程建设。'
},
{
time:'2018-04-03 10:20',
name:'重庆轨道交通集团有限公司',
main:'发布招标公告 重庆轨道交通环线鹅公岩轨道专用桥增设防船撞设施项目,项目地区是重庆市-江北区,项目类型为工程建设。'
},
{
time:'2018-04-03 10:20',
name:'重庆轨道交通集团有限公司',
main:'发布招标公告 重庆轨道交通环线鹅公岩轨道专用桥增设防船撞设施项目,项目地区是重庆市-江北区,项目类型为工程建设。'
},
]
};
},
created() {
if(this.user === 1){
this.$nextTick(()=>{
this.initChart()
this.initChart1()
})
}
}, },
methods: { methods: {
goTarget(href) { handleClick(index){
window.open(href, "_blank"); this.typeIndex=index;
},
initChart() {
let myChart = echarts.init(document.getElementById("fx-echarts"))
let option ={
tooltip: {
show:false
},
xAxis: {
type: 'category',
boundaryGap: false,
data: this.jyfxData,
},
yAxis: {
type: 'value',
},
grid: {
top:20,
left:30,
right:10,
bottom:20,
},
series: [
{
data: this.jyfxData1,
type: 'line',
smooth: true,
emphasis: {
disabled: true,
focus: 'none'
},
//设置折线颜色和粗细
lineStyle: {
width: 1,
color: "#0081FF",
},
itemStyle:{
color: "#4E8EFF",
},
//设置面积区域为渐变效果
areaStyle: {
color: echarts.graphic.LinearGradient(0, 1, 0, 0, [
{
offset: 0.2,
color: "#DFEAFF",
},
{
offset: 1,
color: "#5895FF",
},
]),
},
}
]
}
myChart.setOption(option);
},
initChart1(){
let myChart = echarts.init(document.getElementById("pm-echarts"))
let option ={
legend: {
show: true,
x:'center',
y:'bottom',
padding:[0,0,10,0],
},
yAxis: {
type: 'category',
inverse: true, // 反向坐标
data: this.pmData.map(item => item.name),
axisLine: {
show: false,
},
axisTick: {
show: false,
},
axisPointer: {
label: {
show: true,
margin: 30
}
},
axisLabel: {
color: '#232323',
margin: 50,
// formatter必须,配合rich使用
textStyle: {
align:'left',
},
rich: {
a1: {
backgroundColor: {image: this.rankIcons[0]},
width: this.rankIconsSize,
height: this.rankIconsSize,
align: "left",
// padding: [0, 0, 50, 100]
},
a2: {
backgroundColor: { image: this.rankIcons[1] },
width: this.rankIconsSize,
height: this.rankIconsSize,
align: "center",
},
a3: {
backgroundColor: { image: this.rankIcons[2] },
width: this.rankIconsSize,
height: this.rankIconsSize,
align: "center",
},
a4: {
backgroundColor: { image: this.rankIcons[3] },
width: this.rankIconsSize,
height: this.rankIconsSize,
align: "center",
},
a5: {
backgroundColor: { image: this.rankIcons[4] },
width: this.rankIconsSize,
height: this.rankIconsSize,
align: "center",
},
},
formatter: (params, index) => {
return [`{a${index + 1}|} ${params}`].join('\n')
},
},
},
xAxis: {
type: 'value',
},
grid: {
left: '22%',
top: 20,
right: 20,
bottom: 60,
},
tooltip: {
show: true,
backgroundColor: 'rgba(0,0,0,.7)',
borderWidth: 0,
textStyle: {
color: '#fff',
},
},
series: [
{
// realtimeSort: true,
name:'目标产值',
data: this.pmData.map(item => item.value),
type: 'bar',
stack: 'total',
emphasis: {
focus: 'series'
},
itemStyle:{
color: '#14C9C9',
},
barWidth: 16,
},
{
// realtimeSort: true,
name:'已完成产值',
data: this.pmData.map(item => item.value1),
type: 'bar',
stack: 'total',
emphasis: {
focus: 'series'
},
itemStyle:{
color: '#C3F6F6',
},
barWidth: 16,
},
],
}
myChart.setOption(option);
},
handleClickTab(){
} }
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.home { .app-container{
blockquote { padding: 0;
padding: 10px 20px;
margin: 0 0 20px;
font-size: 17.5px;
border-left: 5px solid #eee;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eee;
}
.col-item {
margin-bottom: 20px;
} }
p{
ul {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
.home {
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif; ::v-deep .el-row{
font-size: 13px; .el-col:nth-child(1){
color: #676a6c; padding-left: 0 !important;
overflow-x: hidden; padding-right: 0 !important;
}
ul { .el-col:nth-child(2){
list-style-type: none; padding-left: 16px !important;
} padding-right: 0 !important;
}
h4 {
margin-top: 0px;
}
h2 {
margin-top: 10px;
font-size: 26px;
font-weight: 100;
}
p {
margin-top: 10px;
b {
font-weight: 700;
} }
} .content-left{
.task-wrap{
height: 88px;
background: #FFFFFF;
border-radius: 4px;
margin-bottom: 12px;
display: flex;
justify-content: space-between;
.item{
width: 20%;
display: flex;
padding-left: 16px;
margin-right: 9px;
margin-top: 14px;
margin-bottom: 14px;
border-right: 1px solid #EFEFEF;
.left{
width: 48px;
height: 48px;
margin-right: 8px;
}
.right{
.title{
font-size: 12px;
color: #3D3D3D;
}
.number{
font-weight: bold;
color: #3D3D3D;
font-size: 18px;
padding: 4px 0;
}
.compare{
color: rgba(35,35,35,0.4);
font-size: 12px;
img{
width: 8px;
height: 10px;
margin-left: 4px;
margin-bottom: -1px;
}
.down{
color:#FF3C3C;
}
.up{
color:#0CBC6D;
}
}
}
}
.item:nth-child(4){
border-right: 0;
}
.item:last-child{
border-right: 0;
}
.add{
padding-left: 0;
.yd{
display: inline-block;
width: 5px;
margin-right: 10%;
i{
width: 5px;
height: 5px;
border-radius: 2px;
background: #E6E6E9;
margin-bottom: 6px;
display: block;
}
}
.btn{
width: 80%;
height: 64px;
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E6E6E9;
color:#0081FF;
line-height: 64px;
font-size: 14px;
margin-left: 0;
i{
margin-right: 4px;
}
}
}
}
.content-wrap{
margin-bottom: 12px;
height: 460px;
.record{
height: 460px;
background: #FFFFFF;
border-radius: 4px;
padding: 16px;
position: relative;
.list{
height: 375px;
overflow: hidden;
.item{
border-bottom: 1px solid #EEEEEE;
padding: 16px 0;
h3{
color: #232323;
font-size: 14px;
font-weight: 400;
margin: 0;
}
p{
color: rgba(35,35,35,0.4);
font-size: 14px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-top: 8px;
span{
margin-right: 15px;
}
}
}
.item:last-child{
border-bottom: 0;
}
}
.more{
text-align: center;
color: #0081FF;
font-size: 14px;
margin-top: 4px;
cursor: pointer;
position: absolute;
bottom:16px;
left: 50%;
margin-left: -48px;
}
}
.ranking{
height: 460px;
background: #FFFFFF;
border-radius: 4px;
padding: 16px;
.main{
background: url("../assets/images/index/yjpm_bg.png");
background-size: 100% 100%;
height: 399px;
margin-top: 10px;
}
.amount{
padding: 16px 24px;
p{
display: flex;
justify-content: space-between;
}
span{
font-weight: 400;
color: #184280;
font-size: 14px;
}
.money{
font-weight: 700;
color: #184280;
font-size: 18px;
margin-top: 8px;
}
::v-deep .el-progress-bar__outer{
border: 1px solid #A2E8E8;
background-color:#ffffff !important;
border-radius: 2px;
.el-progress-bar__inner{
background: linear-gradient(-270deg, #C3F6F6 0%, #14C9C9 100%);
border-radius:0;
.el-progress-bar__innerText{
color: #ffffff;
opacity: 0;
}
}
}
.update-log { }
ol { }
display: block; .area{
list-style-type: decimal; font-size: 14px;
margin-block-start: 1em; color: #232323;
margin-block-end: 1em; cursor: pointer;
margin-inline-start: 0; i{
margin-inline-end: 0; color:#A7A7A7;
padding-inline-start: 40px; }
}
.month{
font-size: 14px;
color: #232323;
margin-left: 16px;
cursor: pointer;
i{
color:#A7A7A7;
}
}
}
.content-db{
height: 263px;
background: #FFFFFF;
border-radius: 4px;
margin-bottom: 12px;
padding: 16px;
overflow: hidden;
.query-ability{
color: #0081FF;
font-size: 14px;
cursor: pointer;
span{
width: 16px;
height: 16px;
background: #FF3C3C;
display: inline-block;
color:#ffffff;
font-size: 12px;
border-radius: 50%;
line-height: 16px;
text-align: center;
margin-right: 4px;
}
}
.list{
margin-top: 16px;
}
.item{
min-height: 62px;
background: #F6F9FD;
border-radius: 6px;
margin-bottom: 8px;
position: relative;
padding: 10px 16px;
h3{
font-weight: 400;
color: #232323;
font-size: 14px;
margin: 0;
padding-bottom: 6px;
width: 85%;
}
p{
color: rgba(35,35,35,0.4);
font-size: 14px;
span{
margin-right: 24px;
}
}
.btn{
position: absolute;
right: 50px;
top:22px;
color: #0CBC6D;
font-size: 12px;
}
}
}
.analysis{
height: 242px;
background: #FFFFFF;
border-radius: 4px;
padding: 16px;
.tabs{
.label{
display: inline-block;
padding: 0 14px;
height: 22px;
color: rgba(35,35,35,0.8);
font-size: 12px;
line-height: 22px;
border-top: 1px solid #EFEFEF;
border-bottom: 1px solid #EFEFEF;
border-left: 1px solid #EFEFEF;
cursor: pointer;
}
.label:first-child{
border-radius: 2px 0px 0px 2px;
}
.label:last-child{
border-radius: 0px 2px 2px 0px;
border-right: 1px solid #EFEFEF;
}
.color{
background: #0081FF;
color: #FFFFFF;
}
}
.area{
font-size: 14px;
color: #232323;
margin-left: 16px;
cursor: pointer;
i{
color:#A7A7A7;
}
}
}
.trends{
background: #FFFFFF;
border-radius: 4px;
padding: 16px;
height: 440px;
}
}
.content-right{
.user{
height: 88px;
border-radius: 4px;
margin-bottom: 12px;
background-image: url("../assets/images/index/user_bg.png");
background-size: cover;
padding-left: 24px;
h3{
font-weight: 700;
color: #1C1C28;
font-size: 18px;
padding-top: 16px;
padding-bottom: 8px;
margin: 0px;
span{
height: 20px;
background: #FFF2E2;
display: inline-block;
border-radius: 11px;
border: 1px solid #FFB010;
color: #FFB010;
font-size: 12px;
line-height: 20px;
padding: 0 10px;
margin-left: 12px;
font-weight: 400;
}
}
p{
color: #666666;
font-size: 16px;
}
}
.search{
height: 322px;
background: #FFFFFF;
border-radius: 4px;
margin-bottom: 12px;
padding: 16px;
::v-deep .el-input{
height: 32px;
border-radius: 2px;
margin-bottom: 22px;
margin-top: 16px;
.el-input__inner{
height: 32px;
line-height: 32px;
background: #F3F3F4;
padding-left: 37px;
}
.el-icon-search{
font-size: 16px;
line-height: 32px;
color:#0081FF;
margin-left: 10px;
margin-right: 10px;
}
}
.list{
display: flex;
justify-content: space-between;
.item{
margin: 0 auto;
height: 94px;
text-align: center;
img{
width: 40px;
height: 40px;
margin-top: 16px;
}
p{
color: #3D3D3D;
font-size: 12px;
}
}
}
}
.zbgg{
height: 382px;
background: #FFFFFF;
border-radius: 4px;
padding: 16px;
.list{
margin-top: 16px;
}
.item{
border-bottom: 1px solid #EEEEEE;
padding: 10px 0;
h3{
font-weight: 400;
color: rgba(35,35,35,0.8);
font-size: 14px;
padding-bottom: 8px;
margin: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
p{
color: rgba(35,35,35,0.4);
font-size: 14px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
span{
margin-right: 15px;
}
}
}
.item:last-child{
border-bottom: 0;
}
}
} }
} }
}
</style> </style>
<template> <template>
<div class="login"> <div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">若依后台管理系统</h3> <h3 class="title"><img src="../assets/images/title_icon.png"/>欢迎登录系统</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input <el-input
v-model="loginForm.username" v-model="loginForm.username"
type="text" type="text"
auto-complete="off" auto-complete="off"
placeholder="账号" placeholder="请输入登录账号"
> >
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <img class="img" slot="prefix" src="../assets/images/user.png"/>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="password"> <el-form-item prop="password">
...@@ -17,33 +17,33 @@ ...@@ -17,33 +17,33 @@
v-model="loginForm.password" v-model="loginForm.password"
type="password" type="password"
auto-complete="off" auto-complete="off"
placeholder="密码" placeholder="请输入账号密码"
@keyup.enter.native="handleLogin" @keyup.enter.native="handleLogin"
> >
<svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" /> <img class="img" slot="prefix" src="../assets/images/password.png"/>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="code" v-if="captchaEnabled"> <el-form-item prop="code" v-if="captchaEnabled">
<el-input <el-input
v-model="loginForm.code" v-model="loginForm.code"
auto-complete="off" auto-complete="off"
placeholder="验证码" placeholder="请输入验证码"
style="width: 63%" style="width: 56%;float: left;"
@keyup.enter.native="handleLogin" @keyup.enter.native="handleLogin"
> >
<svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" /> <img class="img" slot="prefix" src="../assets/images/validCode.png"/>
</el-input> </el-input>
<div class="login-code"> <div class="login-code">
<img :src="codeUrl" @click="getCode" class="login-code-img"/> <img :src="codeUrl" @click="getCode" class="login-code-img"/>
</div> </div>
</el-form-item> </el-form-item>
<el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox> <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 48px;">记住密码</el-checkbox>
<el-form-item style="width:100%;"> <el-form-item style="width:100%;">
<el-button <el-button
:loading="loading" :loading="loading"
size="medium" size="medium"
type="primary" type="primary"
style="width:100%;" style="width:100%;height: 48px;border-radius: 4px;font-size: 16px;"
@click.native.prevent="handleLogin" @click.native.prevent="handleLogin"
> >
<span v-if="!loading">登 录</span> <span v-if="!loading">登 录</span>
...@@ -54,10 +54,6 @@ ...@@ -54,10 +54,6 @@
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- 底部 -->
<div class="el-login-footer">
<span>Copyright © 2018-2023 ruoyi.vip All Rights Reserved.</span>
</div>
</div> </div>
</template> </template>
...@@ -161,30 +157,53 @@ export default { ...@@ -161,30 +157,53 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 100%; height: 100%;
background-image: url("../assets/images/login_background.jpg"); background-image: url("../assets/images/login_bg.png");
background-size: cover; background-size: cover;
} }
.title { .title {
margin: 0px auto 30px auto; padding: 46px 0 32px 48px;
text-align: center; border-bottom: 1px solid #F0F0F0;
color: #707070; font-size: 22px;
color: #232323;
margin: 0 0 32px 0;
img{
width: 17px;
height: 17px;
margin-bottom: 3px;
}
} }
.login-form { .login-form {
border-radius: 6px; border-radius: 6px;
background: #ffffff; background: #ffffff;
width: 400px; width: 420px;
padding: 25px 25px 5px 25px; /*padding: 25px 25px 5px 25px;*/
.el-form-item{
padding: 0 48px;
margin-bottom:24px;
}
.el-input { .el-input {
height: 38px; width: 324px;
height: 48px;
background: #F2F4F9;
input { input {
height: 38px; height: 48px;
background: #F2F4F9;
font-size: 14px;
} }
.el-input__inner{
padding-left: 73px;
}
}
.el-input__prefix{
border-right: 1px solid #D8D8D8;
height: 24px;
margin: 12px 0;
} }
.input-icon { .img {
height: 39px; height: 24px;
width: 14px; width: 24px;
margin-left: 2px; margin: 0 14px 0 12px;
} }
} }
.login-tip { .login-tip {
...@@ -195,7 +214,8 @@ export default { ...@@ -195,7 +214,8 @@ export default {
.login-code { .login-code {
width: 33%; width: 33%;
height: 38px; height: 38px;
float: right; float: left;
margin-left: 16px;
img { img {
cursor: pointer; cursor: pointer;
vertical-align: middle; vertical-align: middle;
...@@ -214,6 +234,6 @@ export default { ...@@ -214,6 +234,6 @@ export default {
letter-spacing: 1px; letter-spacing: 1px;
} }
.login-code-img { .login-code-img {
height: 38px; height: 48px;
} }
</style> </style>
...@@ -164,16 +164,30 @@ export default { ...@@ -164,16 +164,30 @@ export default {
padding: 16px; padding: 16px;
.search{ .search{
::v-deep .el-cascader{ ::v-deep .el-cascader{
width: 130px; width: 180px;
margin-right: 12px; margin-right: 12px;
height: 32px; height: 32px;
.el-input{ .el-input{
width: 100%; width: 100%;
height: 32px;
.el-input__inner{
height: 32px !important;
}
}
.el-cascader__tags{
flex-wrap: inherit;
.el-tag{
max-width: 100px;
margin: 5px 0 2px 6px;
}
} }
} }
::v-deep .el-input{ ::v-deep .el-input{
width: 250px; width: 250px;
height: 32px; height: 32px;
.el-input__inner{
height: 32px;
}
.el-input-group__append{ .el-input-group__append{
width: 59px; width: 59px;
background: #F5F5F5; background: #F5F5F5;
......
...@@ -268,6 +268,14 @@ ...@@ -268,6 +268,14 @@
.el-form{ .el-form{
margin-left: 24px; margin-left: 24px;
} }
::v-deep .el-cascader{
.el-cascader__tags{
flex-wrap: inherit;
.el-tag{
max-width: 130px;
}
}
}
} }
} }
.content{ .content{
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
}, },
], ],
glData:['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'], glData:['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],
glData1:[103,156,132,186,203,143,189,301,211,195,132,176], glData1:[503,156,132,186,203,143,189,301,211,195,132,176],
tableData1:[ tableData1:[
{ {
area:'1月', area:'1月',
...@@ -263,6 +263,7 @@ export default { ...@@ -263,6 +263,7 @@ export default {
}, },
initChart1() { initChart1() {
let myChart = echarts.init(document.getElementById("gl-echarts")) let myChart = echarts.init(document.getElementById("gl-echarts"))
let dataList=this.glData1;
let option = { let option = {
tooltip: { tooltip: {
trigger: 'axis', //坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用 trigger: 'axis', //坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用
...@@ -287,17 +288,41 @@ export default { ...@@ -287,17 +288,41 @@ export default {
series: [ series: [
{ {
data: this.glData1, data: this.glData1,
markPoint:{ // markPoint:{
data:[ // data:[
{type:'max',name:'最大值'}, // {type:'max',name:'最大值'},
] // {type:'min',name:'最小值'},
}, // ]
// },
type: 'bar', type: 'bar',
barWidth: 20, barWidth: 20,
itemStyle: { itemStyle: {
normal: { normal: {
barBorderRadius: [4, 4, 0, 0], barBorderRadius: [4, 4, 0, 0],
color: '#2ECFCF', // color: '#2ECFCF',
color: function (params) {
var colorList = [] //定义一个存储颜色的数组
//更改前二位柱形颜色
//定义一个变量 保存柱形图数据 因为sort方法排序会改变原数组 使用JSON方法深拷贝 将原数值暂存
let companyValue1 = JSON.parse(JSON.stringify(dataList))
let arr = dataList.sort((a, b) => {
return b - a
})
//将原数组数据赋值回去 保持数据不变
dataList = JSON.parse(JSON.stringify(companyValue1))
//遍历数据 将原数组和排序后的数组比较
dataList.map(i => {
if (i == arr[0]) {
colorList.push('#F39F35')
} else if (i == arr[1]) {
colorList.push('#6675A5')
}else{
colorList.push('#2ECFCF')
}
})
//返回一个存储着颜色的数组根据数据index顺序渲染到页面
return colorList[params.dataIndex]
}
}, },
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
> >
<div class="poptitle"> <div class="poptitle">
<img src="@/assets/images/economies/icon.png"> <img src="@/assets/images/economies/icon.png">
<span>添加客户</span> <span>添加项目</span>
</div> </div>
<el-form class="popform j" :model="queryParam" :rules="rules" ref="ruleForm" label-width="130px"> <el-form class="popform j" :model="queryParam" :rules="rules" ref="ruleForm" label-width="130px">
<el-form-item label="项目名称:" class="row" prop="projectName"> <el-form-item label="项目名称:" class="row" prop="projectName">
......
<template>
<div class="uploadwin">
<div class="upload" v-if="addfile==false">
<div class="up_title">批量导入{{titletext}}</div>
<div class="up_box">
<el-upload :class="{'none':isUpload == true}"
class="upload-demo"
:action="action"
:multiple="false"
accept=".xls,.xlsx"
drag
ref="upload"
:auto-upload="false"
:file-list="fileList"
:on-change="handleFileListChange"
:headers="headers"
:on-success="onSuccess">
<img class="up_img" src="@/assets/images/project/upload.png">
<div class="up_text">点击选择或将文件(xls,xlsx)拖拽至此上传成员名录</div>
<div class="up_tip">导入的文件内容必须依照下载模板的要求填写</div>
<div class="up_tip">上传文件最大为2M,仅支持Excel表格文件(xls,xlsx)</div>
<div class="up_tip">导入已存在的客户将自动跳过</div>
</el-upload>
<div class="up_success" v-if="isUpload == true">
<img src="@/assets/images/project/success.png">上传成功
</div>
<div class="btn_download" v-if="isUpload == false" @click="downloadClick"><div class="img"></div>点击下载</div>
</div>
<div class="btns">
<div class="btn btn_primary btn_disabled h34" v-if="isUpload==false">确定导入</div>
<div class="btn btn_primary h34" @click="importConfirmClick" v-else>确定导入</div>
<div class="btn btn_default h34" @click="importCancel">取消</div>
</div>
</div>
<div class="success" v-if="addfile==true">
<div v-if="addsuccess==false">
<img class="img" src="@/assets/images/project/clock.png">
<div class="p1">查询客户中...</div>
<div class="p2">请耐心等待,过程大概30秒</div>
</div>
<div v-if="addsuccess == true">
<div class="p3">
<img src="@/assets/images/project/success.png">查询成功
</div>
<div class="p2">成功导入客户信息</div>
<div class="btns">
<div class="btn btn_primary h32" @click="getmsg">查看</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { getToken } from "@/utils/auth";
import "@/assets/styles/project.scss"
import {importData} from '@/api/custom/custom'
export default {
name: 'batchImport',
props:{
importtype:''
},
data(){
return{
isUpload:false,//有上传的文件
addfile:false,//已上传文件
addsuccess:false,//已成功加入数据
//批量导入
action:"",
fileList: [],
headers: {
Authorization: "Bearer " + getToken(),
},
downloadhref:'',//样例地址
titletext:'',
}
},
created(){
console.log(this.importtype )
if(this.importtype == 'project'){//项目管理
this.downloadhref = '/file/projectTemplate.xlsx'
this.titletext = '项目'
this.action = process.env.VUE_APP_BASE_API + '/business/info/upload'
}
if(this.importtype == 'custom'){//客户管理
this.downloadhref = '/file/Template.xlsx'
this.titletext = '客户'
this.action = process.env.VUE_APP_BASE_API + "/customer/importData"
}
},
methods:{
getmsg(){
this.$emit('getdatas')
},
handleFileListChange(file, fileList) {
if (fileList.length > 0) {
this.fileList = [fileList[fileList.length - 1]];
this.isUpload = true
}
},
onSuccess(res, file, fileList) {
if(res.code == 200 )
this.addsuccess = true
else
this.$message.error({message:res.msg,showClose:true})
},
downloadClick() {
let a = document.createElement("a");
a.setAttribute("href", this.downloadhref);
a.setAttribute("download", "批量导入模版.xlsx");
document.body.appendChild(a);
a.click();
},
// 批量导入
importConfirmClick() {
if (this.fileList.length > 0) {
this.$refs["upload"].submit();
this.addfile = true
} else {
this.$message("请先选择文件");
}
},
importCancel(){
this.addfile = false
this.isUpload = false
this.addsuccess = false
this.$emit('cancels')
},
}
}
</script>
<style scoped>
</style>
...@@ -9,26 +9,26 @@ ...@@ -9,26 +9,26 @@
<span>总投资额(万元) :</span> <span>总投资额(万元) :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 1"> <div class="flex" v-if="nowedit == 1">
<el-input placeholder="待添加" v-model="money" @input="number"></el-input> <el-input placeholder="待添加" v-model="investmentAmount" @input="number"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" style="width: 56px" @click="changes({'investmentAmount':investmentAmount})">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 1">待添加</span> <span :class="{'txt':!investmentAmount}" v-else @click="nowedit = 1">{{investmentAmount||'待添加'}}</span>
</div> </div>
</div> </div>
<div class="con i"> <div class="con i">
<span>资金来源 :</span> <span>资金来源 :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 2"> <div class="flex" v-if="nowedit == 2">
<el-input placeholder="待添加"></el-input> <el-input placeholder="待添加" v-model="amountSource"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'amountSource':amountSource})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 2">待添加</span> <span :class="{'txt':!amountSource}" v-else @click="nowedit = 2">{{amountSource||'待添加'}}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -37,27 +37,27 @@ ...@@ -37,27 +37,27 @@
<span>建设性质 :</span> <span>建设性质 :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 3"> <div class="flex" v-if="nowedit == 3">
<el-input placeholder="待添加"></el-input> <el-input placeholder="待添加" v-model="buildProperty"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'buildProperty':buildProperty})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 3">待添加</span> <span :class="{'txt':!buildProperty}" v-else @click="nowedit = 3">{{buildProperty||'待添加'}}</span>
</div> </div>
</div> </div>
<div class="con i"> <div class="con i">
<span>计划招标 :</span> <span>计划招标 :</span>
<div class="inputime"> <div class="inputime">
<div class="flex" style="opacity: 0;height: 0"> <div class="flex" style="">
<el-date-picker v-if="nowedit == 11" showWordLimit="true" <el-date-picker class="timeinput"
v-model="value1" v-model="planBidTime"
type="date" type="date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="待添加" @change="nowedit = -1"> placeholder="待添加" @change="changes({'planBidTime':planBidTime})">
</el-date-picker> </el-date-picker>
</div> </div>
<span :class="{'txt':!value1}" @click="nowedit = 11">{{value1||"待添加"}}<i class="el-icon-caret-bottom"></i></span> <span :class="{'txt':!planBidTime}">{{planBidTime||"待添加"}}<i class="el-icon-caret-bottom"></i></span>
</div> </div>
</div> </div>
</div> </div>
...@@ -66,28 +66,28 @@ ...@@ -66,28 +66,28 @@
<span>计划开工 :</span> <span>计划开工 :</span>
<div class="inputime"> <div class="inputime">
<div class="flex" style="opacity: 0;height: 0"> <div class="flex" style="opacity: 0;height: 0">
<el-date-picker v-if="nowedit == 12" showWordLimit="true" <el-date-picker class="timeinput"
v-model="value1" v-model="planStartTime"
type="date" type="date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="待添加" @change="nowedit = -1"> placeholder="待添加" @change="changes({'planStartTime':planStartTime})">
</el-date-picker> </el-date-picker>
</div> </div>
<span :class="{'txt':!value1}" @click="nowedit = 12">{{value1||"待添加"}}<i class="el-icon-caret-bottom"></i></span> <span :class="{'txt':!planStartTime}">{{planStartTime||"待添加"}}<i class="el-icon-caret-bottom"></i></span>
</div> </div>
</div> </div>
<div class="con i"> <div class="con i">
<span>计划竣工 :</span> <span>计划竣工 :</span>
<div class="inputime"> <div class="inputime">
<div class="flex" style="opacity: 0;height: 0"> <div class="flex" style="opacity: 0;height: 0">
<el-date-picker v-if="nowedit == 13" showWordLimit="true" <el-date-picker class="timeinput"
v-model="value1" v-model="planCompleteTime"
type="date" type="date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="待添加" @change="nowedit = -1"> placeholder="待添加" @change="changes({'planCompleteTime':planCompleteTime})">
</el-date-picker> </el-date-picker>
</div> </div>
<span :class="{'txt':!value1}" @click="nowedit = 13">{{value1||"待添加"}}<i class="el-icon-caret-bottom"></i></span> <span :class="{'txt':!planCompleteTime}">{{planCompleteTime||"待添加"}}<i class="el-icon-caret-bottom"></i></span>
</div> </div>
</div> </div>
</div> </div>
...@@ -96,10 +96,10 @@ ...@@ -96,10 +96,10 @@
<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">
<el-input v-model="textarea" @focus="nowedit = 9" class="textarea" type="textarea" placeholder="请输入项目概况与建设规模详细信息" maxlength="500" show-word-limit="true" ></el-input> <el-input v-model="projectDetails" @focus="nowedit = 9" class="textarea" type="textarea" placeholder="请输入项目概况与建设规模详细信息" maxlength="500" :show-word-limit="true" ></el-input>
<div class="flex btns" v-if="nowedit == 9"> <div class="flex btns" v-if="nowedit == 9">
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'projectDetails':projectDetails})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
...@@ -113,27 +113,27 @@ ...@@ -113,27 +113,27 @@
<span>评标办法 :</span> <span>评标办法 :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 4"> <div class="flex" v-if="nowedit == 4">
<el-input placeholder="待添加"></el-input> <el-input placeholder="待添加" v-model="evaluationBidWay"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'evaluationBidWay':evaluationBidWay})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 4">待添加</span> <span :class="{'txt':!evaluationBidWay}" v-else @click="nowedit = 4">{{evaluationBidWay||'待添加'}}</span>
</div> </div>
</div> </div>
<div class="con i"> <div class="con i">
<span>开标时间 :</span> <span>开标时间 :</span>
<div class="inputime"> <div class="inputime">
<div class="flex" style="opacity: 0;height: 0"> <div class="flex" style="opacity: 0;height: 0">
<el-date-picker v-if="nowedit == 14" showWordLimit="true" <el-date-picker class="timeinput"
v-model="value1" v-model="bidOpenTime"
type="date" type="date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="待添加" @change="nowedit = -1"> placeholder="待添加" @change="changes({'bidOpenTime':bidOpenTime})">
</el-date-picker> </el-date-picker>
</div> </div>
<span :class="{'txt':!value1}" @click="nowedit = 14">{{value1||"待添加"}}<i class="el-icon-caret-bottom"></i></span> <span :class="{'txt':!bidOpenTime}">{{bidOpenTime||"待添加"}}<i class="el-icon-caret-bottom"></i></span>
</div> </div>
</div> </div>
</div> </div>
...@@ -142,26 +142,26 @@ ...@@ -142,26 +142,26 @@
<span>保证金缴纳 :</span> <span>保证金缴纳 :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 5"> <div class="flex" v-if="nowedit == 5">
<el-input placeholder="待添加"></el-input> <el-input placeholder="待添加" v-model="earnestMoneyPay"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'earnestMoneyPay':earnestMoneyPay})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 5">待添加</span> <span :class="{'txt':!earnestMoneyPay}" v-else @click="nowedit = 5">{{earnestMoneyPay||'待添加'}}</span>
</div> </div>
</div> </div>
<div class="con i"> <div class="con i">
<span>保证金金额(万元) :</span> <span>保证金金额(万元) :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 6"> <div class="flex" v-if="nowedit == 6">
<el-input placeholder="待添加"></el-input> <el-input placeholder="待添加" v-model="earnestMoney"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'earnestMoney':earnestMoney})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 6">待添加</span> <span :class="{'txt':!earnestMoney}" v-else @click="nowedit = 6">{{earnestMoney||'待添加'}}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -170,26 +170,26 @@ ...@@ -170,26 +170,26 @@
<span>开标地点 :</span> <span>开标地点 :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 7"> <div class="flex" v-if="nowedit == 7">
<el-input placeholder="待添加"></el-input> <el-input placeholder="待添加" v-model="bidOpenPlace"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'bidOpenPlace':bidOpenPlace})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 7">待添加</span> <span :class="{'txt':!bidOpenPlace}" v-else @click="nowedit = 7">{{bidOpenPlace||'待添加'}}</span>
</div> </div>
</div> </div>
<div class="con i"> <div class="con i">
<span>评标委员会 :</span> <span>评标委员会 :</span>
<div class="inputxt"> <div class="inputxt">
<div class="flex" v-if="nowedit == 8"> <div class="flex" v-if="nowedit == 8">
<el-input placeholder="待添加"></el-input> <el-input placeholder="待添加" v-model="evaluationBidCouncil"></el-input>
<div class="flex"> <div class="flex">
<div class="btnsmall btn_primary h28" style="width: 56px">确定</div> <div class="btnsmall btn_primary h28" @click="changes({'evaluationBidCouncil':evaluationBidCouncil})" style="width: 56px">确定</div>
<div class="cancels h28" @click="nowedit = -1" style="">取消</div> <div class="cancels h28" @click="nowedit = -1" style="">取消</div>
</div> </div>
</div> </div>
<span class="txt" v-else @click="nowedit = 8">待添加</span> <span :class="{'txt':!evaluationBidCouncil}" v-else @click="nowedit = 8">{{evaluationBidCouncil||'待添加'}}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -200,28 +200,67 @@ ...@@ -200,28 +200,67 @@
<script> <script>
import "@/assets/styles/project.scss" import "@/assets/styles/project.scss"
import {getJSNR,editXMSL} from '@/api/project/project'
export default { export default {
name: 'jsnr', name: 'jsnr',
data(){ data(){
return{ return{
textarea:"",
nowedit:-1,//当前正在编辑的文本 nowedit:-1,//当前正在编辑的文本
value1:'', id:parseInt(this.$route.query.id),
money:'', investmentAmount: '',//总投资额
amountSource: '',//资金来源
buildProperty: '',//建设性质
planBidTime: '',//计划招标
planStartTime: '',//计划开工
planCompleteTime: '',//计划竣工
projectDetails: '',//项目概况与建设规模
evaluationBidWay: '',//评标办法
bidOpenTime: '',//开标时间
bidOpenPlace: '',//开标地点
earnestMoney: '',//保证金金额
earnestMoneyPay: '',//保证金缴纳
evaluationBidCouncil: '',//评标委员会
} }
}, },
watch:{ watch:{
// nowedit(oldvalue,newvalue){ },
// if (newvalue == 13){ created(){
// this.$ref.newvalue13.=true this.getJSNR()
// }
// }
}, },
methods:{ methods:{
getJSNR(){
getJSNR(this.id).then(result=>{
this.investmentAmount = result.data.investmentAmount//总投资额
this.amountSource = result.data.amountSource//资金来源
this.buildProperty = result.data.buildProperty//建设性质
this.planBidTime = result.data.planBidTime//计划招标
this.planStartTime = result.data.planStartTime//计划开工
this.planCompleteTime = result.data.planCompleteTime//计划竣工
this.projectDetails = result.data.projectDetails//项目概况与建设规模
this.evaluationBidWay = result.data.evaluationBidWay//评标办法
this.bidOpenTime = result.data.bidOpenTime//开标时间
this.bidOpenPlace = result.data.bidOpenPlace//开标地点
this.earnestMoney = result.data.earnestMoney//保证金金额
this.earnestMoneyPay = result.data.earnestMoneyPay//保证金缴纳
this.evaluationBidCouncil = result.data.evaluationBidCouncil//评标委员会
})
},
changes(str){
this.nowedit = -1
let param = str
param.id = this.id
editXMSL(param).then(result=>{
if(result.code == 200)
this.$message.success('修改成功')
else{
this.getJSNR()
}
})
},
//输入数字 //输入数字
number(value){ number(value){
console.log(value) console.log(value)
this.money = value.replace(/^\D*(\d*(?:\.\d{0,6})?).*$/g, '$1')//输入6位小数 this.investmentAmount = this.investmentAmount == ""||this.investmentAmount == null? value.replace(/^\D*(\d*(?:\.\d{0,6})?).*$/g, '$1'):null//输入6位小数
}, },
} }
} }
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
<div class="empty"> <div class="empty">
<img src="@/assets/images/project/empty.png"> <img src="@/assets/images/project/empty.png">
<div class="p1">暂无数据展示</div> <div class="p1">暂无数据展示</div>
<div class="p2">抱歉,你还未添加相关数据,快去添加吧</div> <div class="p2">抱歉你还未添加相关数据,快去添加吧</div>
<div class="btn btn_primary h36 w102" @click="opennew">新增联系人</div> <div class="btn btn_primary h36 w102" @click="opennew">新增联系人</div>
</div> </div>
</template> </template>
<el-table-column <el-table-column
prop="date" prop="name"
label="姓名" label="姓名"
width="113"> width="113">
</el-table-column> </el-table-column>
...@@ -27,34 +27,34 @@ ...@@ -27,34 +27,34 @@
label="操作" label="操作"
width="118"> width="118">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="edit"> <div class="edit" @click="getDetail(scope.row)">
<img src="@/assets/images/project/edit.png"> <img src="@/assets/images/project/edit.png">
<span>编辑</span> <span>编辑</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="role"
label="角色" label="角色"
sortable sortable
width="146"> width="146">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="address" prop="office"
label="公司/机关"> label="公司/机关">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="position"
label="职位" label="职位"
width="125"> width="125">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="phone"
label="联系方式" label="联系方式"
width="175"> width="175">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="accendant"
label="内部维护人" label="内部维护人"
width="146"> width="146">
</el-table-column> </el-table-column>
...@@ -63,11 +63,11 @@ ...@@ -63,11 +63,11 @@
<div class="btn btn_primary h28" @click="opennew"><div class="img img1"></div>新增联系人</div> <div class="btn btn_primary h28" @click="opennew"><div class="img img1"></div>新增联系人</div>
<el-pagination <el-pagination
background background
:page-size="20" :page-size="searchParam.pageSize"
:current-page="1" :current-page="searchParam.pageNum"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
layout="prev, pager, next" layout="prev, pager, next"
:total="1000"> :total="total">
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
...@@ -77,33 +77,30 @@ ...@@ -77,33 +77,30 @@
width="464px"> width="464px">
<div class="poptitle"> <div class="poptitle">
<img src="@/assets/images/economies/icon.png"> <img src="@/assets/images/economies/icon.png">
<span>重庆市轨道交通3号线二期工程4标段施工总承包</span> <span>{{projectname}}</span>
</div> </div>
<el-form class="popform" label-width="137px"> <el-form class="popform" label-width="137px">
<el-form-item label="联系人姓名:" class="row"> <el-form-item label="联系人姓名:" class="row">
<el-input type="text" placeholder="请输入"></el-input> <el-input type="text" v-model="queryParam.name" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="联系人角色:" class="row"> <el-form-item label="联系人角色:" class="row">
<el-select placeholder="请选择"> <el-input type="text" v-model="queryParam.role" placeholder="请输入"></el-input>
<el-option label="cccc" value="11"></el-option>
<el-option label="cccc" value="121"></el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="联系人职位:" class="row"> <el-form-item label="联系人职位:" class="row">
<el-input type="text" placeholder="请输入"></el-input> <el-input type="text" v-model="queryParam.position" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="联系人公司/机关:" class="row"> <el-form-item label="联系人公司/机关:" class="row">
<el-input type="text" placeholder="请输入"></el-input> <el-input type="text" v-model="queryParam.office" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="内部维护人:" class="row"> <el-form-item label="内部维护人:" class="row">
<el-input type="text" placeholder="请输入"></el-input> <el-input type="text" v-model="queryParam.accendant" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="联系方式:" class="row"> <el-form-item label="联系方式:" class="row">
<el-input type="text" placeholder="请输入"></el-input> <el-input type="text" v-model="queryParam.phone" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<div class="popbot"> <div class="popbot">
<div class="btn btn_cancel h32" @click="cancel">返回</div> <div class="btn btn_cancel h32" @click="cancel">返回</div>
<div class="btn btn_primary h32">保存</div> <div class="btn btn_primary h32" @click="save">保存</div>
</div> </div>
</el-form> </el-form>
</el-dialog> </el-dialog>
...@@ -113,40 +110,68 @@ ...@@ -113,40 +110,68 @@
<script> <script>
import "@/assets/styles/project.scss" import "@/assets/styles/project.scss"
import {getLXR,editLXR,addLXR} from '@/api/project/project'
export default { export default {
name: 'lxr', name: 'lxr',
data(){ data(){
return{ return{
dialogVisible:false, dialogVisible:false,
isnew:true,//是否新增
textarea:"", textarea:"",
nowedit:-1,//当前正在编辑的文本 nowedit:-1,//当前正在编辑的文本
tipslit:[],//项目标签 tipslit:[],//项目标签
tipsvalue:"",//标签填写内容 tipsvalue:"",//标签填写内容
tableData: [ tableData: [],
{ searchParam:{
date: '2016-05-02', pageNum:1,
name: '王小虎', pageSize:20,
address: '上海市普陀区金沙江路 1518 弄' businessId:this.$route.query.id
}, { },
date: '2016-05-04', id:this.$route.query.id,
name: '王小虎', total:0,
address: '上海市普陀区金沙江路 1517 弄' projectname:this.$route.query.projectname,
}, { queryParam:[],
date: '2016-05-01',
name: '王小虎',
address: '上海市普陀区金沙江路 1519 弄'
}, {
date: '2016-05-03',
name: '王小虎',
address: '上海市普陀区金沙江路 1516 弄'
}
]
} }
}, },
created(){
this.getList()
},
methods:{ methods:{
getDetail(item){
this.dialogVisible = true
this.queryParam = item
this.isnew = false
},
getList(){
getLXR(this.searchParam).then(result=>{
this.tableData = result.code == 200?result.rows:[]
this.total = result.code == 200?result.total:0
})
},
save(){
if(this.isnew == false){
editLXR(this.queryParam).then(result=>{
if(result.code == 200){
this.$message.success('保存成功!')
this.getList()
this.dialogVisible = false
}
})
}
if(this.isnew == true){
addLXR(this.queryParam).then(result=>{
if(result.code == 200){
this.$message.success('新增成功!')
this.getList()
this.dialogVisible = false
}
})
}
},
//翻页 //翻页
handleCurrentChange(val) { handleCurrentChange(val) {
console.log(`当前页: ${val}`); this.searchParam.pageNum = val
this.getList()
}, },
cancel(){ cancel(){
this.dialogVisible = false this.dialogVisible = false
...@@ -154,6 +179,16 @@ ...@@ -154,6 +179,16 @@
//打开新建窗口 //打开新建窗口
opennew(){ opennew(){
this.dialogVisible = true this.dialogVisible = true
this.isnew = true
this.queryParam = {
businessId:this.id,
name:"",
role:"",
office:"",
position:"",
phone:"",
accendant:"",
}
}, },
} }
} }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<div class="empty"> <div class="empty">
<img src="@/assets/images/project/empty.png"> <img src="@/assets/images/project/empty.png">
<div class="p1">暂无数据展示</div> <div class="p1">暂无数据展示</div>
<div class="p2">抱歉,你还未添加相关数据,快去添加吧</div> <div class="p2">抱歉你还未添加相关数据,快去添加吧</div>
<div class="btn btn_primary h36 w102" @click="opennew">新增联系人</div> <div class="btn btn_primary h36 w102" @click="opennew">新增联系人</div>
</div> </div>
</template> </template>
......
...@@ -169,8 +169,12 @@ ...@@ -169,8 +169,12 @@
<script> <script>
import "@/assets/styles/project.scss" import "@/assets/styles/project.scss"
import {getDictType,} from '@/api/main' import {getDictType,} from '@/api/main'
import {} from '@/api/project/project'
export default { export default {
name: 'xmsl', name: 'xmsl',
props:{
datas:'',
},
data(){ data(){
return{ return{
nowedit:-1,//当前正在编辑的文本 nowedit:-1,//当前正在编辑的文本
...@@ -178,10 +182,10 @@ ...@@ -178,10 +182,10 @@
tipsvalue:"",//标签填写内容 tipsvalue:"",//标签填写内容
xmjd:'待添加', xmjd:'待添加',
projectStage:[],//项目阶段 projectStage:[],//项目阶段
sldata:this.datas,
} }
}, },
created(){ created(){
//项目阶段 //项目阶段
getDictType('project_stage_type').then(result=>{ getDictType('project_stage_type').then(result=>{
this.projectStage = result.code == 200 ? result.data:[] this.projectStage = result.code == 200 ? result.data:[]
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<div class="empty"> <div class="empty">
<img src="@/assets/images/project/empty.png"> <img src="@/assets/images/project/empty.png">
<div class="p1">暂无数据展示</div> <div class="p1">暂无数据展示</div>
<div class="p2">抱歉,你还未添加相关数据,快去添加吧</div> <div class="p2">抱歉你还未添加相关数据,快去添加吧</div>
<div class="btn btn_primary h36 w102" @click="opennew">新增联系人</div> <div class="btn btn_primary h36 w102" @click="opennew">新增联系人</div>
</div> </div>
</template> </template>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</div> </div>
</el-card> </el-card>
<!--项目概览--> <!--项目概览-->
<xmsl v-if="thistag == 'xmsl'"></xmsl> <xmsl v-if="thistag == 'xmsl'" :datas="ProjectData"></xmsl>
<!--建设内容--> <!--建设内容-->
<jsnr v-if="thistag == 'jsnr'"></jsnr> <jsnr v-if="thistag == 'jsnr'"></jsnr>
<!--联系人--> <!--联系人-->
...@@ -132,6 +132,7 @@ ...@@ -132,6 +132,7 @@
import zlwd from './component/zlwd.vue' import zlwd from './component/zlwd.vue'
import xgqy from './component/xgqy.vue' import xgqy from './component/xgqy.vue'
import prvinceTree from '@/assets/json/provinceTree' import prvinceTree from '@/assets/json/provinceTree'
import {getXMSL} from '@/api/project/project'
export default { export default {
name: 'detail', name: 'detail',
components: {xmsl,jsnr,lxr,gjjl,gzdb,zlwd,xgqy}, components: {xmsl,jsnr,lxr,gjjl,gzdb,zlwd,xgqy},
...@@ -161,10 +162,13 @@ ...@@ -161,10 +162,13 @@
addressList:[], addressList:[],
domicile:[], domicile:[],
props:{ checkStrictly: true, expandTrigger: 'hover' }, props:{ checkStrictly: true, expandTrigger: 'hover' },
id:'',
ProjectData:null,
} }
}, },
created(){ created(){
this.prvinceTree() this.prvinceTree()
this.id = this.$route.query.id
//项目阶段 //项目阶段
getDictType('project_stage_type').then(result=>{ getDictType('project_stage_type').then(result=>{
this.projectStage = result.code == 200 ? result.data:[] this.projectStage = result.code == 200 ? result.data:[]
...@@ -177,6 +181,12 @@ ...@@ -177,6 +181,12 @@
getDictType('project_category').then(result=>{ getDictType('project_category').then(result=>{
this.projectCategory = result.code == 200 ? result.data:[] this.projectCategory = result.code == 200 ? result.data:[]
}) })
//获取基本信息
getXMSL(this.id).then(result=>{
this.ProjectData = result.code==200?result.data:[]
this.$route.query.projectname = result.data.projectName
})
}, },
methods: { methods: {
//地区 //地区
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-card class="box-card noborder"> <el-card class="box-card noborder">
<div class="btns"> <div class="btns">
<div class="btn btn_default h28" @click="addNew(true)"><div class="img img1"></div>新建项目商机</div> <div class="btn btn_default h28" @click="addNew(true)"><div class="img img1"></div>新建项目商机</div>
<div class="btn btn_primary h28"><div class="img img2"></div>批量导入</div> <div class="btn btn_primary h28" @click="pldrs"><div class="img img2"></div>批量导入</div>
</div> </div>
<el-tabs v-model="activeName" @tab-click="handleClick" class="tabpane w100"> <el-tabs v-model="activeName" @tab-click="handleClick" class="tabpane w100">
<el-tab-pane label="我参与的项目" name="first"></el-tab-pane> <el-tab-pane label="我参与的项目" name="first"></el-tab-pane>
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
地区团队 地区团队
</span> </span>
<div class="select-popper"> <div class="select-popper">
<span :class="{ color_text:searchParam.province.length ||searchParam.city.length ||searchParam.area.length,}"> <span :class="{ color_text:searchParam.provinceId.length ||searchParam.cityId.length ||searchParam.districtId.length,}">
项目地区{{searchParam.province.length ||searchParam.city.length ||searchParam.area.length? searchParam.province.length +searchParam.city.length +searchParam.area.length +"项": ""}} 项目地区{{searchParam.provinceId.length ||searchParam.cityId.length ||searchParam.districtId.length? searchParam.provinceId.length +searchParam.cityId.length +searchParam.districtId.length +"项": ""}}
<i class="el-icon-caret-bottom"></i> <i class="el-icon-caret-bottom"></i>
</span> </span>
<el-cascader class="cascader-region select-location" <el-cascader class="cascader-region select-location"
...@@ -98,14 +98,23 @@ ...@@ -98,14 +98,23 @@
<el-card class="box-card noborder overflows"> <el-card class="box-card noborder overflows">
<div class="titles">项目明细 <div class="titles">项目明细
<div class="dc"> <div class="dc">
<div class="total">126</div> <div class="total">{{total}}</div>
<div class="btn-export"><img src="@/assets/images/EXCEL.png">导出EXCEL</div> <div class="btn-export"><img src="@/assets/images/EXCEL.png">导出EXCEL</div>
</div> </div>
</div> </div>
<div class="tables" v-if="total == 0">
<div class="empty">
<img src="@/assets/images/project/empty.png">
<div class="p1">添加你的第一个项目吧</div>
<div class="p2">抱歉,你还未添加项目,快去添加吧</div>
<div class="btn btn_primary h36 w88" @click="addNew(true)">新建商机</div>
<div class="btn btn_primary btn_shallow h36 w88" @click="pldrs">批量导入</div>
</div>
</div>
<div class="datalist"> <div class="datalist">
<div class="datali"> <div class="datali" v-for="(item,index) in datalist">
<div class="det-title" @click="toDetail()">轨道交通13号线扩能提升工程<span class="people"><i>A</i>四川-李丽 <font color="#FA8A00">正在跟进</font></span></div> <div class="det-title" @click="toDetail(item.id)">{{item.projectName}}<span v-if="activeName!='first'" class="people"><i>A</i>四川-李丽 <font color="#FA8A00" v-if="activeName!='first'">正在跟进</font></span></div>
<div class="det-tips"><span class="tips tip1">轨道交通</span><span class="tips tip2">江西省-南昌市</span></div> <div class="det-tips"><span class="tips tip1" v-if="item.label">{{item.label}}</span><span v-if="item.address" class="tips tip2">{{item.address}}</span></div>
<div class="det-contets"> <div class="det-contets">
<div class="det-con"> <div class="det-con">
<span>项目类型:</span> <span>项目类型:</span>
...@@ -113,35 +122,48 @@ ...@@ -113,35 +122,48 @@
</div> </div>
<div class="det-con"> <div class="det-con">
<span>投资估算(万元):</span> <span>投资估算(万元):</span>
<span>21</span> <span>{{item.investmentAmount}}</span>
</div> </div>
<div class="det-con"> <div class="det-con">
<span>最后跟进时间:</span> <span>最后跟进时间:</span>
<span>2013-02-19</span> <span>{{item.followTime || '--'}}</span>
</div> </div>
<div class="det-con"> <div class="det-con">
<span>业主单位:</span> <span>业主单位:</span>
<span class="wordprimary">重庆市交通开发投资(集团)有限公司</span> <span class="wordprimary">{{item.ownerCompany}}</span>
</div> </div>
</div> </div>
<el-divider></el-divider> <el-divider></el-divider>
<div class="operates"> <div class="operates" v-if="activeName=='first'">
<div class="i1"><img src="@/assets/images/follow.png">跟进</div> <div class="i1"><img src="@/assets/images/follow.png">跟进</div>
<div class="i2"><img src="@/assets/images/edit.png">编辑</div> <div class="i2"><img src="@/assets/images/edit.png">编辑</div>
<div class="i3"><img src="@/assets/images/delete.png">删除</div> <div class="i3" @click="deldetail(index)"><img src="@/assets/images/delete.png">删除</div>
</div> </div>
<div class="delform"> <div class="delform" v-if="activeName=='first' && ondel == index">
<div class="words">是否将项目删除</div> <div class="words">是否将项目删除</div>
<div> <div>
<div class="btnsmall btn_primary h28">确定</div> <div class="btnsmall btn_primary h28" @click="deleteProject(item.id)">确定</div>
<div class="btnsmall btn_cancel h28">取消</div> <div class="btnsmall btn_cancel h28" @click="ondel = -1">取消</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="tables">
<div class="bottems" v-if="total>0">
<el-pagination
background
:page-size="searchParam.pageSize"
:current-page="searchParam.pageNum"
@current-change="handleCurrentChange"
layout="prev, pager, next"
:total="total">
</el-pagination>
</div>
</div>
</el-card> </el-card>
<addproject v-if="isshow" @addproject="add" @cancel="addNew"></addproject> <addproject v-if="isshow" @addproject="add" @cancel="addNew"></addproject>
<batchimport v-if="pldr" :importtype="types" @cancels="cancelimport" @getdatas="getdatas"></batchimport>
</div> </div>
</template> </template>
...@@ -149,18 +171,21 @@ ...@@ -149,18 +171,21 @@
import "@/assets/styles/project.scss" import "@/assets/styles/project.scss"
import "@/assets/styles/public.css" import "@/assets/styles/public.css"
import prvinceTree from '@/assets/json/provinceTree' import prvinceTree from '@/assets/json/provinceTree'
import {getProjectlist} from '@/api/project/project' import {getProjectlist,delProject} from '@/api/project/project'
import {getDictType,} from '@/api/main' import {getDictType,} from '@/api/main'
import addproject from './component/addProject' import addproject from './component/addProject'
import batchimport from './component/batchImport'
export default { export default {
name: 'ProjectList', name: 'ProjectList',
components:{addproject}, components:{addproject,batchimport},
data() { data() {
return { return {
types:'project',
props:{multiple: true}, props:{multiple: true},
activeName:'first', activeName:'first',
projectStage:[],//项目阶段 projectStage:[],//项目阶段
isshow:false,//新增商机 isshow:false,//新增商机
pldr:false,//批量导入
//项目地区 //项目地区
addressList:[], addressList:[],
addressType: [], addressType: [],
...@@ -168,6 +193,7 @@ export default { ...@@ -168,6 +193,7 @@ export default {
minAmount:'',//投资估算最小值 minAmount:'',//投资估算最小值
maxAmount:'',//投资估算最大值 maxAmount:'',//投资估算最大值
searchParam: { searchParam: {
userId:null,//个人项目需传,公司项目不传
projectName:'',//项目名称 projectName:'',//项目名称
ownerCompany:'',//业主单位 ownerCompany:'',//业主单位
projectType:'',//项目类型 projectType:'',//项目类型
...@@ -175,9 +201,9 @@ export default { ...@@ -175,9 +201,9 @@ export default {
minAmount:'',//投资估算最小值 minAmount:'',//投资估算最小值
maxAmount:'',//投资估算最大值 maxAmount:'',//投资估算最大值
Amount:'',//投资估算 Amount:'',//投资估算
province: [], provinceId: [],
city: [], cityId: [],
area: [], districtId: [],
pageNum:1, pageNum:1,
pageSize:10, pageSize:10,
}, },
...@@ -204,6 +230,9 @@ export default { ...@@ -204,6 +230,9 @@ export default {
], ],
contractSignTimeValue: "", contractSignTimeValue: "",
transactionPriceShowPopper: false, transactionPriceShowPopper: false,
datalist:[],//列表数据
ondel:-1,
total:0,
} }
}, },
created() { created() {
...@@ -223,17 +252,55 @@ export default { ...@@ -223,17 +252,55 @@ export default {
}) })
}, },
methods: { methods: {
deldetail(index){
this.ondel = index
},
deleteProject(id){
delProject(id).then(result =>{
if(result.code==200){
this.$message.success('删除成功!')
this.getList(1)
this.ondel = -1
}else{
this.$message.error(result.msg)
}
})
},
getdatas(){
this.getList(1)
},
cancelimport(){
this.pldr = false
},
pldrs(){
this.pldr = true
},
//获取商机列表 //获取商机列表
getList(pageNum){ getList(pageNum){
this.searchParam.pageNum = pageNum this.searchParam.pageNum = pageNum
console.log(this.searchParam) if(this.activeName == 'first'){
// return false this.searchParam.userId = this.$store.state.user.userId
}else{
this.searchParam.userId = null
}
getProjectlist(this.searchParam).then(result=>{ getProjectlist(this.searchParam).then(result=>{
console.log(result) if(result.code == 200){
this.datalist = result.rows
this.total = result.total
this.datalist.forEach(item=>{
let str = item.provinceName
if(item.cityName != "" && item.cityName != null)
str += '-' +item.cityName
if(item.districtName != ""&& item.districtName != null)
str += '-' +item.districtName
item.address = str
})
}
}) })
}, },
reset(){ reset(){
this.searchParam ={ this.searchParam ={
userId:null,
projectName:'',//项目名称 projectName:'',//项目名称
ownerCompany:'',//业主单位 ownerCompany:'',//业主单位
projectType:'',//项目类型 projectType:'',//项目类型
...@@ -241,9 +308,9 @@ export default { ...@@ -241,9 +308,9 @@ export default {
minAmount:'',//投资估算最小值 minAmount:'',//投资估算最小值
maxAmount:'',//投资估算最大值 maxAmount:'',//投资估算最大值
Amount:'',//投资估算 Amount:'',//投资估算
province: [], provinceId: [],
city: [], cityId: [],
area: [], districtId: [],
pageNum:1, pageNum:1,
pageSize:10, pageSize:10,
} }
...@@ -287,9 +354,8 @@ export default { ...@@ -287,9 +354,8 @@ export default {
this.isshow = false this.isshow = false
this.getList(1) this.getList(1)
}, },
toDetail(){ toDetail(id){
let Id = '111' this.$router.push({ path: '/project/projectList/detail', query: {id:id} });
this.$router.push({ path: '/project/projectList/detail', query: Id });
}, },
handleClick(){ handleClick(){
...@@ -299,27 +365,27 @@ export default { ...@@ -299,27 +365,27 @@ export default {
// var labelString = this.$refs.myCascader.getCheckedNodes()[0].pathLabels; // var labelString = this.$refs.myCascader.getCheckedNodes()[0].pathLabels;
let arr = this.$refs.myCascader.getCheckedNodes(); let arr = this.$refs.myCascader.getCheckedNodes();
// console.log(arr) // console.log(arr)
let province = [], let provinceId = [],
city = [], cityId = [],
area = []; districtId = [];
this.domicile = []; this.domicile = [];
for (var i in arr) { for (var i in arr) {
if (arr[i].parent) { if (arr[i].parent) {
if (!arr[i].parent.checked) { if (!arr[i].parent.checked) {
arr[i].hasChildren && city.push(arr[i].value); arr[i].hasChildren && cityId.push(arr[i].value);
arr[i].hasChildren && this.domicile.push(arr[i].label); arr[i].hasChildren && this.domicile.push(arr[i].label);
!arr[i].hasChildren && area.push(arr[i].value); !arr[i].hasChildren && districtId.push(arr[i].value);
!arr[i].hasChildren && this.domicile.push(arr[i].label); !arr[i].hasChildren && this.domicile.push(arr[i].label);
} }
} else { } else {
province.push(arr[i].value); provinceId.push(arr[i].value);
this.domicile.push(arr[i].label); this.domicile.push(arr[i].label);
} }
} }
var obj = JSON.parse(JSON.stringify(this.searchParam)); var obj = JSON.parse(JSON.stringify(this.searchParam));
obj.province = province; obj.provinceId = provinceId;
obj.city = city; obj.cityId = cityId;
obj.area = area; obj.districtId = districtId;
this.searchParam = obj; this.searchParam = obj;
}, },
...@@ -358,6 +424,11 @@ export default { ...@@ -358,6 +424,11 @@ export default {
this.searchParam = obj; this.searchParam = obj;
} }
}, },
//翻页
handleCurrentChange(val) {
this.getList(val)
},
} }
} }
</script> </script>
...@@ -542,4 +613,7 @@ export default { ...@@ -542,4 +613,7 @@ export default {
padding: 0; padding: 0;
} }
} }
.btn{
padding: 0 12px;
}
</style> </style>
<template>
<div class="app-container qyzx-details">
<div class="bottomlist">
<ul class="bottomlist-content">
<li class="bottomlist-list">
<p class="list-titel">
绿色节能型压缩机基础件、汽车零配件新建项目 (芜湖旭日机械制造有限公司)
</p>
<div class="list-content">
<p class="list-content-text">
<span>发布日期:</span>
<span>2014-05-12</span>
</p>
<p class="list-content-text">
<span>开标时间:</span>
<span class='text-red'>2014-05-12 9:00</span>
</p>
</div>
<div class="list-content-img" @mouseenter="showimg=false" @mouseleave="showimg=true">
<img v-if="showimg" src="@/assets/images/bxpro/original1.png">
<img v-else src="@/assets/images/bxpro/original.png">
<span>原文链接</span>
</div>
</li>
</ul>
</div>
<div class="content main3 main4">
<div class="common-title common-title1 clearfix">
<span class="common-title-span">附件下载</span>
<div class="common-title-list">
<p>
<img src="@/assets/images/bxpro/pdf.png" alt="">
<span>竞争对手</span>
</p>
<p>
<img src="@/assets/images/bxpro/pdf.png" alt="">
<span>项目简析</span>
</p>
<p>
<img src="@/assets/images/bxpro/pdf.png" alt="">
<span>成本分析</span>
</p>
<p>
<img src="@/assets/images/bxpro/pdf.png" alt="">
<span>招标文件</span>
</p>
</div>
</div>
</div>
<div class="content main3">
<div class="common-title">基本信息</div>
<div class="main3-box">
<p>
<label class="label">工程类型</label>
<span>1.36倍</span>
<label class="label">工程类别</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">项目投资额(万元)</label>
<span >1.36倍</span>
<label class="label">招标控制价/合同 估算价(万元)</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">建安费暂估(万元)</label>
<span >1.36倍</span>
<label class="label">勘察费暂估(万元)</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">设计费暂估(万元)</label>
<span>1.36倍</span>
<label class="label">投标保证金(万元)</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">计划工期</label>
<span>1.36倍</span>
<label class="label">项目属地</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">发布时间</label>
<span>1.36倍</span>
<label class="label">开标时间</label>
<span class="color1">1.36倍</span>
</p>
<p>
<label class="label">评标办法</label>
<span>1.36倍</span>
<label class="label">项目级别</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">建设规模</label>
<span class="span-one">1.36倍</span>
</p>
<p>
<label class="label">招标范围</label>
<span class="span-one">1.36倍</span>
</p>
<p>
<label class="label">保证金缴纳方式</label>
<span>1.36倍</span>
<label class="label">开标地点</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">建设地点</label>
<span>1.36倍</span>
<label class="label">资金来源</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">评标委员会</label>
<span class="span-one">1.36倍</span>
</p>
<p>
<label class="label">履约保证金 (形式 及金额)</label>
<span class="span-one">1.36倍</span>
</p>
</div>
</div>
<div class="content main3">
<div class="common-title">投标要求</div>
<div class="main3-box">
<p>
<label class="label">资质要求</label>
<span class="span-one">1.36倍</span>
</p>
<p>
<label class="label">业绩要求</label>
<span class="span-one">1.36倍</span>
</p>
<p>
<label class="label">项目负责人要求</label>
<span class="span-one">1.36倍</span>
</p>
</div>
</div>
<div class="content main3">
<div class="common-title">相关企业</div>
<div class="main3-box">
<p>
<label class="label">招标人</label>
<span class="color2">1.36倍</span>
<label class="label">代理机构</label>
<span class="color2">1.36倍</span>
</p>
<p>
<label class="label">招标人联系方式</label>
<span>1.36倍</span>
<label class="label">招标人联系地址</label>
<span>1.36倍</span>
</p>
<p>
<label class="label">代理机构联系方式</label>
<span>1.36倍</span>
<label class="label">代理机构联系地址</label>
<span>1.36倍</span>
</p>
</div>
</div>
</div>
</template>
<script>
import "@/assets/styles/public.css";
export default {
name: 'bxprozbggDetails',
data() {
return {
id: '',
tableData: [{
id: 0,
name: '20重庆债14(2005938)',
time: '2020-09-18',
gm: '285.24',
zj: '否',
}],
showimg:true,
}
},
created() {
console.log(this.$route.params)
this.id = this.$route.params.id
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.bottomlist {
width: 100%;
background-color: #FFFFFF;
border-radius: 4px 4px 4px 4px;
.bottomlist-title {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 12px;
padding: 16px;
border-bottom: 1px solid #EFEFEF;
.title-right {
display: flex;
align-items: center;
p:first-child {
font-size: 12px;
font-weight: 400;
color: #3D3D3D;
margin-right: 10px;
}
p:last-child {
display: flex;
align-items: center;
font-size: 14px;
font-weight: 400;
color: rgba(35, 35, 35, 0.8);
}
img {
width: 18px;
height: 18px;
}
}
}
.bottomlist-content {
padding-bottom: 0px;
}
.bottomlist-list {
padding: 16px;
font-size: 14px;
border-bottom: 1px solid #EFEFEF;
padding-bottom: 14px;
position: relative;
.list-titel {
font-size: 16px;
font-weight: 700;
color: #3D3D3D;
line-height: 19px;
.list-titel-a {
text-decoration: none;
color: #3D3D3D;
}
a:hover,
a:visited,
a:link,
a:active {
color: #3D3D3D;
}
}
.content-label {
margin-top: 7px;
.list-label {
background: #F3F3FF;
color: #8491E8;
border-radius: 1px 1px 1px 1px;
padding: 3px 7px;
font-size: 12px;
}
}
.list-content {
margin-top: 3px;
display: flex;
justify-content: start;
align-items: center;
.list-content-text {
margin-top: 7px;
display: flex;
justify-content: start;
align-items: center;
margin-right: 27px;
font-size: 14px;
span:first-child {
font-weight: 400;
color: rgba(35, 35, 35, 0.4);
line-height: 15px
}
span:last-child {
font-weight: 400;
color: rgba(35, 35, 35, 0.8);
line-height: 15px
}
.blue {
color: #0081FF !important;
cursor: pointer;
}
.text-red{
color: #FF3C3C !important;
}
}
}
.list-content-img{
position: absolute;
top: 16px;
right:14px ;
color: #0081FF;
display: flex;
align-items: center;
font-size: 14px;
cursor: pointer;
img{
width: 14px;
height: 14px;
margin-right: 4px;
}
}
.list-content-img:hover{
color: #0067CC;
}
.list-addree {
width: auto;
background: #F3F4F5;
display: inline-flex;
margin-top: 7px;
.list-content-text {
margin-top: 0px;
span {
line-height: 30px !important;
}
}
img {
width: 14px;
margin: 0 8px;
}
}
}
// .bottomlist-list:hover {
// background: #F6F9FC;
// cursor: pointer;
// }
.pagination {
padding: 14px;
.el-pagination {
float: right;
}
}
}
.app-container {
padding: 0;
}
.qyzx-details {
.tab {
font-size: 12px;
color: #A1A1A1;
span {
color: #232323;
}
}
.content {
margin-top: 16px;
background: #FFFFFF;
padding: 16px;
border-radius: 4px;
}
.common-title {
margin-bottom: 8px;
.common-title-span{
float: left;
line-height: 15px;
}
.common-title-list{
float: left;
margin-left: 80px;
top: 10px;
display: flex;
align-items: center;
p{
display: flex;
align-items: center;
font-size: 14px;
font-weight: 400;
color: rgba(35,35,35,0.8);
cursor: pointer;
margin-right: 30px;
img{
width: 14px;
margin-right: 4px;
}
}
p:hover{
color: #0081FF;
}
}
}
.common-title1{
margin-bottom: 0px;
}
.main3 {
.main3-box {
margin-top: 22px;
border-top: 1px solid #E6E9F0;
p {
display: flex;
margin: 0;
border: 1px solid #E6E9F0;
border-top: none;
.label {
width: 10%;
height: auto;
font-weight: 400;
font-size: 12px;
padding: 12px;
background: #F0F3FA;
display: flex;
align-items: center;
}
span {
display: flex;
align-items: center;
width: 40%;
color: #000;
padding: 12px;
font-size: 12px;
}
.span-one {
width: 90%;
}
.color1{
color: #FF3C3C;
}
.color2{
color: #0081FF;
cursor: pointer;
}
}
}
}
.main4{
background-image: url(../../../assets/images/bxpro/bgfdf.png);
background-size: 100% 100%;
background-repeat: no-repeat;
border: 2px dashed #888;
}
}
</style>
\ No newline at end of file
<template>
<div>
<div class="content">
<div class="content_item">
<div class="label">项目名称</div>
<div class="content_right">
<el-input class="ename_input" v-model="keyword"
placeholder="请输入项目名称、文章关键词,多关键词用空格隔开,如:房建 地基"></el-input>
</div>
</div>
<div class="content_item">
<div class="label">招采单位</div>
<div class="content_right">
<el-input v-model="jskBidQueryDto.companyName" clearable
class="land_ipt_470" placeholder="请输入招标采购单位名称"></el-input>
</div>
</div>
<div class="content_item">
<div class="label">招标代理</div>
<div class="content_right">
<el-input v-model="jskBidQueryDto.agency" clearable class="land_ipt_470"
placeholder="请输入招标代理机构名称"></el-input>
</div>
</div>
<div class="content_item">
<div class="label">阶段类型</div>
<div class="content_right">
<div class="select-popper">
<span :class="{ color_text: jskBidQueryDto.tenderStage.length }">
招采环节阶段{{jskBidQueryDto.tenderStage.length? jskBidQueryDto.tenderStage.length + "项": ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<el-select v-model="jskBidQueryDto.tenderStage" class="select-multiple" multiple placeholder="请选择">
<el-option v-for="(item, i) in tenderStageOptions" :key="i" :label="item.label":value="item.value">
</el-option>
</el-select>
</div>
<div class="select-popper">
<span :class="{ color_text: jskBidQueryDto.tenderingManner.length }">
招采交易类型{{jskBidQueryDto.tenderingManner.length? jskBidQueryDto.tenderingManner.length + "项" : ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<el-select v-model="jskBidQueryDto.tenderingManner" class="select-multiple" multiple placeholder="请选择">
<el-option v-for="(item, i) in tenderingMannerOptions" :key="i" :label="item.label":value="item.value">
</el-option>
</el-select>
</div>
</div>
</div>
<div class="content_item">
<div class="label">更多筛选</div>
<div class="content_right">
<div class="select-popper select-popper1">
<span :class="{color_text: jskBidQueryDto.province.length ||jskBidQueryDto.city.length ||jskBidQueryDto.county.length,}">
行政区划{{jskBidQueryDto.province.length ||jskBidQueryDto.city.length ||jskBidQueryDto.county.length?
jskBidQueryDto.province.length +jskBidQueryDto.city.length +jskBidQueryDto.county.length + "项": ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<el-cascader ref="address" class="cascader-region" v-model="addressType" :options="addressList":props="props" @change="domicileChange" collapse-tags clearable>
</el-cascader>
</div>
<el-dropdown @command="punishDatehandleCommand" trigger="click" ref="punishDateShowPopper":hide-on-click="false">
<span class="el-dropdown-link" :class="punishDateValue ? 'color_text' : ''">发布时间{{ punishDateValue ? " 1项" : ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<div>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item, i) in punishDateOptions" :class="punishDateValue && punishDateValue == item.value? 'color_text' : ''" :key="i" :command="item.value">
<div @mouseenter="hidePoper">{{ item.label }}</div>
</el-dropdown-item>
<el-dropdown-item command="自定义" style="padding: 0; text-indent: 20px">
<div @mouseenter="mouseenter">
<span :class="punishDateValue == '自定义' ? 'color_text' : ''">
自定义<i class="el-icon-arrow-right"></i>
</span>
<el-date-picker v-if="punishDateShowPopper" @change="changepunishDate"class="land_date_picker" v-model="punishDate" ref="datePicker"
value-format="yyyy-MM-dd" type="daterange" range-separator="至"
start-placeholder="开始日期" end-placeholder="结束日期">
</el-date-picker>
</div>
</el-dropdown-item>
</el-dropdown-menu>
</div>
</el-dropdown>
<div class="select-popper ">
<span :class="{ color_text: jskBidQueryDto.projectType.length }">
项目类别{{jskBidQueryDto.projectType.length? jskBidQueryDto.projectType.length + "项": ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<el-select v-model="jskBidQueryDto.projectType" class="select-multiple" multiple placeholder="请选择">
<el-option v-for="(item, i) in projectTypeOptions" :key="i" :label="item" :value="item">
</el-option>
</el-select>
</div>
<div class="select-popper">
<span :class="{ color_text: jskBidQueryDto.subjectMatter.length }">
招标采购分类{{jskBidQueryDto.subjectMatter.length? jskBidQueryDto.subjectMatter.length + "项": ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<el-select v-model="jskBidQueryDto.subjectMatter" class="select-multiple" multiple placeholder="请选择">
<el-option v-for="(item, i) in subjectMatterOptions" :key="i" :label="item" :value="item">
</el-option>
</el-select>
</div>
<el-dropdown @command="bidMoneyhandleCommand" trigger="click" ref="bidMoneyShowPopper":hide-on-click="false">
<span class="el-dropdown-link" :class=" jskBidQueryDto.startBidMoney || jskBidQueryDto.endBidMoney? 'color_text' : ''">
预算金额{{jskBidQueryDto.startBidMoney || jskBidQueryDto.endBidMoney? " 1项": ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="(item, i) in bidMoneyOptions" :class="jskBidQueryDto.startBidMoney == item.value[0] &&jskBidQueryDto.endBidMoney == item.value[1] &&
!startBidMoney &&!endBidMoney? 'color_text': ''" :key="i" :command="item.value">
{{ item.label }}
</el-dropdown-item>
<el-dropdown-item command="" style="padding: 0; text-indent: 20px">
<div @mouseenter="bidMoneyShowPopper = true" @mouseleave="bidMoneyShowPopper = false">
<span :class="(startBidMoney || endBidMoney) &&jskBidQueryDto.startBidMoney == startBidMoney &&jskBidQueryDto.endBidMoney == endBidMoney? 'color_text' : ''">
自定义<i class="el-icon-arrow-right"></i>
</span>
<div class="jabph_popper_box" style="position: absolute" v-if="bidMoneyShowPopper">
<div class="jabph_popper_wrap">
<el-input class="jabph_popper_input" v-limit-num clearable v-model="startBidMoney"></el-input>
</div>
<div class="jabph_popper_wrap">
<el-input class="jabph_popper_input" v-limit-num clearable v-model="endBidMoney"></el-input>
</div>
<div style="">
<el-button size="mini" @click="bidMoneyCancel">取消</el-button>
<el-button type="primary" size="mini" @click="bidMoneyPopperConfirm">确定
</el-button>
</div>
</div>
</div>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<div class="select-popper">
<span :class="{ color_text: jskBidQueryDto.source.length }">
源网站{{jskBidQueryDto.source.length? jskBidQueryDto.source.length + "项": ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<!-- <Select ref="sourceNameSelect" @getSelectValue="getSourceName" /> -->
</div>
<div class="select-popper">
<span :class="{ color_text: jskBidQueryDto.phonePoint.length }">
有无联系电话{{jskBidQueryDto.phonePoint.length? jskBidQueryDto.phonePoint.length + "项": ""}}
<i class="el-icon-caret-bottom"></i>
</span>
<el-select v-model="jskBidQueryDto.phonePoint" class="select-multiple" multiple placeholder="请选择" @change="phonePointBtn">
<el-option v-for="(item, i) in phonePointType" :key="i" :label="item.label":value="item.value">
</el-option>
</el-select>
</div>
</div>
</div>
<div class="content_item content_item_padding0">
<div class="geduan">
</div>
</div>
<div class="content_item content_item_padding0">
<div class="search-new">
<span @click="search()">查询</span>
<span @click="reset">重置</span>
</div>
</div>
</div>
<div id="tender_wrap">
<div class="data_list" v-if="false">
<div style="height: 16px;width: 1200px;background:#F7F9FC;margin-left: -16px;"></div>
<div class="data_list_head">
共为您找到<span class="data_list_count"> {{ total }} </span>条相关结果
<div class="bottom-toolbar-right float_right" style="position:relative;top:1px;">
<el-popover v-model="fieldshow" placement="bottom-end" trigger="click"
popper-class="viewlist-el-popover">
<ul class="pup_list">
<li v-for="(itme,i) in fieldOptions" :class="itme.status?'active':''"
@click="handsequencingList(i)" :key="i">
{{itme.value}}
</li>
</ul>
<span slot="reference" class="toolbar-right-download"
style="width: auto;padding: 0px 8px;margin-right:4px;">
{{fieldText}}<i class="el-icon-caret-bottom"
:style="{transform:fieldshow?'rotate(180deg)':''}"></i>
</span>
</el-popover>
<span size="small" class="toolbar-right-download toolbar-right-download1"
@click="search('','','isExport')">
导出数据
</span>
</div>
</div>
<div style="border-top:1px solid #efefef;padding-bottom:1px;width: 1200px;margin-left: -16px;"
v-if="total<1">
<div class="search_empty_wrap">
<ul>
<li class="search_empty_wrap_li search_empty_wrap_li1">没有找到相关数据,您可尝试:</li>
<li class="search_empty_wrap_li"><i class="disc"></i>输入更准确的关键词,重新搜索</li>
<li class="search_empty_wrap_li"><i class="disc"></i>尝试减少输入的关键词,增加搜索范围</li>
<li class="search_empty_wrap_li"><i class="disc"></i>更换筛选条件,重新搜索</li>
<li class="search_empty_wrap_li"><i
class="disc"></i>联系客服进行反馈<span>400-023-5755</span>(工作日09:00-18:00)或<span><nuxt-link
title="意见反馈" :to="`/feedback/`" target="_blank">意见反馈</nuxt-link></span></li>
</ul>
</div>
</div>
<div v-else>
<div v-for="(item, index) in tableData" class="data_list_item" :key="index">
<nuxt-link class="data_list_h1 data_list_h1_1" :to="`/biz/bx/${deleteChar(item.id)}.html`"
target="_blank"
:title="item.projectName.replace(/<font color='#FF204E'>/g,'').replace(/<\/font>/g,'')"
v-if="item.id && item.projectName" v-html="item.projectName"></nuxt-link>
<div class="data_list_h1" v-else-if="item.projectName" v-html="item.projectName"></div>
<div class="label_box" v-if="
item.tenderStage ||
item.domicile ||
item.tenderingManner ||
item.projectType
">
<span class="label_span label_span1"
v-if="item.tenderStage&&item.tenderStage!='其他'&&item.tenderStage!='空白'">{{
item.tenderStage
}}</span>
<span class="label_span label_span2" v-if="item.domicile">{{
item.domicile
}}</span>
<span class="label_span label_span3"
v-if="item.tenderingManner&&item.tenderingManner!='其他'&&item.tenderingManner!='空白'">{{
item.tenderingManner
}}</span>
<span class="label_span label_span3"
v-if="item.projectType&&item.projectType!='其他'&&item.projectType!='空白'">{{
item.projectType
}}</span>
</div>
<div class="label_wrap" v-if="item.companyName || item.agency">
<template v-if="item.companyName">
<span class="label_item">招采单位:</span>
</template>
<template v-if="item.agency">
<span class="label_item">代理单位:</span>
</template>
</div>
<div class="label_wrap" v-if="item.bidMoney || item.agencyContactTel || item.contactTel">
<template v-if="item.bidMoney">
<span class="label_item">预算金额:</span><span
class="label_con">{{ item.bidMoney }}万元</span>
</template>
<template v-if="item.contactTel || item.agencyContactTel">
<span class="label_item">联系方式:</span><span class="label_con">
<template v-if="item.contactTel">招采单位 {{ item.contact }} {{ item.contactTel
}}{{
item.contactTel && item.agencyContactTel ? ";" : ""
}}</template>
<template v-if="item.agencyContactTel">代理单位 {{ item.agencyContact }}
{{ item.agencyContactTel }}</template>
</span>
</template>
</div>
<div class="label_wrap" v-if="item.contentInfo">
<span class="label_item" style="position:relative;top:-4px;">正文内容:</span><span
class="label_con label_con1" v-html="item.contentInfo"></span>
</div>
<div class="label_wrap" v-if="item.punishDate || item.overTime">
<template v-if="item.punishDate">
<span class="label_item">发布时间:</span><span
class="label_con">{{ item.punishDate }}</span>
</template>
<template v-if="item.overTime">
<span class="label_item">报名截止日期:</span><span
class="label_con">{{ item.overTime }}</span>
</template>
<template v-if="item.source">
<span class="label_item">来源网站:</span>
<span class="label_con">{{ item.source }}</span>
<!--<el-popover
placement="bottom"
trigger="hover"
:content="item.otherSourceText">
<span slot="reference" class="label_con label_con2" >
<template v-for="(item1,index) in item.otherSource" >
{{item1.sourceName}}{{index == item.otherSource.length - 1 ?"":"、"}}
</template>
</span>
</el-popover>-->
</template>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
// import Select from "@/components/businessOpportunities/Select.vue";
import jsk_data from '../../../../../public/jsk.json';
export default {
name: 'Tender',
components: {
// Select
},
data() {
return {
//有无联系方式
phonePointType: [{
value: '',
label: '不限'
},
{
value: 'hasPhone',
label: '有联系电话'
},
{
value: 'hasContactTel',
label: '有招标单位联系电话'
},
{
value: 'hasAgencyTel',
label: '有代理机构联系电话'
},
{
value: 'noPhone',
label: '无联系电话'
}
],
phonePointList: [],
punishDateOptions: [{
label: "不限",
value: "",
},
{
label: "今天",
value: "今天",
},
{
label: "近3日",
value: "近3日",
},
{
label: "近7日",
value: "近7日",
},
{
label: "近1个月",
value: "近1个月",
},
{
label: "近3个月",
value: "近3个月",
},
{
label: "近半年",
value: "近半年",
},
{
label: "近1年",
value: "近1年",
},
],
addressList: [],
addressType: [],
props: {
multiple: true,
expandTrigger: "hover",
value: "id",
},
keyword: "",
keywordNot: "",
tenderType: "",
tenderTypeOptions: [{
value: "不限",
key: "",
status: true,
},
{
value: "招标采购信息",
key: "招标采购信息",
status: false,
},
{
value: "中标、成交信息",
key: "中标、成交信息",
status: false,
},
{
value: "参投信息",
key: "参投信息",
status: false,
},
],
tenderStageOptions: [{
value: "招标公告",
label: "招标公告",
},
{
value: "招标计划",
label: "招标计划",
},
{
value: "补充公告",
label: "补充公告",
},
{
value: "终止公告",
label: "终止公告",
},
{
value: "废标公告",
label: "废标公告",
},
{
value: "流标公告",
label: "流标公告",
},
{
value: "重新招标",
label: "重新招标",
},
{
value: "更正公告",
label: "更正公告",
},
{
value: "资格预审公告",
label: "资格预审公告",
},
{
value: "澄清公告",
label: "澄清公告",
},
{
value: "答疑补遗公告",
label: "答疑补遗公告",
}
],
tenderStageOptions2: [{
value: "中标公示",
label: "中标公示",
},
{
value: "中标公告",
label: "中标公告",
},
{
value: "成交",
label: "成交",
},
{
value: "终止",
label: "终止",
},
{
value: "非标",
label: "非标",
},
{
value: "流标",
label: "流标",
},
{
value: "合同及验收",
label: "合同及验收",
},
],
tenderStageOptions3: [{
value: "开标",
label: "开标",
},
{
value: "参投记录",
label: "参投记录",
},
],
tenderingMannerOptions: [{
value: "询价",
label: "询价",
},
{
value: "比选",
label: "比选",
},
{
value: "邀请",
label: "邀请",
},
{
value: "竞争性谈判",
label: "竞争性谈判",
},
{
value: "竞争性磋商",
label: "竞争性磋商",
},
{
value: "单一来源",
label: "单一来源",
},
{
value: "直接发包",
label: "直接发包",
},
{
value: "竞价",
label: "竞价",
},
{
value: "公开招标",
label: "公开招标",
},
{
value: "其他",
label: "其他",
},
],
scopeOptions: [{
value: "contentInfo",
label: "正文",
},
{
value: "companyName",
label: "企业名称",
},
{
value: "projectName",
label: "项目名称",
},
],
selectedHeight: 64,
projectTypeOptions: [],
contactOptions: [{
value: "不限",
label: "不限",
},
{
value: "有招采单位联系人",
label: "有招采单位联系人",
},
{
value: "有中标单位联系人",
label: "有中标单位联系人",
},
{
value: "有招标代理机构联系人",
label: "有招标代理机构联系人",
},
],
subjectMatterOptions: [
],
jskBidQueryDto: {
province: [],
city: [],
county: [],
tenderStage: [],
tenderingManner: [],
queryScope: [],
projectType: [],
subjectMatter: [],
source: [],
phonePoint: [],
},
page: 1,
limit: 20,
pageFlag: true,
punishDate: "",
punishDateShowPopper: false,
punishDateValue: "",
startBidMoney: "",
endBidMoney: "",
bidMoneyShowPopper: false,
bidMoneyOptions: [{
value: "不限",
label: "不限",
},
{
value: [0, 100],
label: "100万元以下",
},
{
value: [100, 300],
label: "100万-300万元",
},
{
value: [300, 1000],
label: "300万-1000万元",
},
{
value: [1000, 5000],
label: "1000万-5000万元",
},
{
value: [5000, 20000],
label: "5000万-2亿元",
},
{
value: [20000, ""],
label: "2亿元以上",
},
],
fieldshow: false,
fieldText: '默认排序',
field: '', //查询结果排序方式
fieldOptions: [{
key: "",
value: "默认排序",
status: true,
},
{
key: "punishDate",
value: "发布日期从晚到早",
status: false,
},
{
key: "projectAmount",
value: "预算金额从大到小",
status: false,
},
{
key: "overTime",
value: "报名截止日期从晚到早",
status: false,
},
],
domicile: [],
conditionsArr: [],
total: 6000,
page: 1,
pageSize: 20
};
},
computed: {
checkjskBidQueryDto() {
let arr = [];
let flag = false;
let data = {};
let keyid, value, title;
if (this.domicile.length > 0) {
data = {
title: "行政区划:",
value: this.domicile.join(","),
}
arr.push(data)
}
if (this.keyword) {
data = {
title: "项目包含:",
value: this.keyword,
}
arr.push(data)
flag = true;
}
if (this.keywordNot) {
data = {
title: "项目排除:",
value: this.keywordNot,
}
arr.push(data)
flag = true;
}
if (this.punishDateValue == "自定义") {
data = {
title: "发布时间:",
value: this.jskBidQueryDto.startPunishDate + "~" + this.jskBidQueryDto.endPunishDate,
}
arr.push(data)
}
if (this.punishDateValue && this.punishDateValue != "自定义") {
data = {
title: "发布时间:",
value: this.punishDateValue,
}
arr.push(data)
}
for (var i in this.jskBidQueryDto) {
if (this.jskBidQueryDto[i]) {
keyid = i;
value = this.jskBidQueryDto[i];
if (
Object.prototype.toString.call(this.jskBidQueryDto[i]) ===
"[object Array]"
) {
if (this.jskBidQueryDto[i].length > 0) {
flag = true;
switch (i) {
case 'tenderStage':
title = "招采环节阶段:";
break;
case 'tenderingManner':
title = "招采交易类型:";
break;
case 'projectType':
title = "项目类别:";
break;
case 'subjectMatter':
title = "招标采购分类:";
break;
case 'source':
title = "来源网站:";
break;
case 'phonePoint':
title = "有无联系方式:";
break;
default:
title = "";
break;
}
} else {
title = ""
}
} else {
title = ""
flag = true;
}
if (title) {
data = {
keyid: keyid,
value: value,
title: title,
key: value
}
arr.push(data)
}
}
}
this.conditionsArr = arr
return flag;
},
},
created() {
// this.$axios.get('https://files.jiansheku.com/file/json/common/searchDic.json').then(res => {
// if (res && res.status == 200) {
// this.projectTypeOptions = res.data.projectType;
// this.subjectMatterOptions = res.data.subjectMatter
// }
// }).catch(error=>{
//   
// });
},
mounted() {
this.addressListfn();
},
methods: {
//有无联系方式
phonePointBtn(e) {
for (var i = 0; e.length > i; i++) {
if (!e[i]) {
this.jskBidQueryDto.phonePoint = []
}
}
},
// 返回单条权限
permissionsJudge(permission, field, pilist) {
return permissionsJudge(permission, field, pilist);
},
goThrough(el, data) {
return goThrough(el, data, this);
},
permissionsField(tagName, permission) {
return permissionsField(tagName, permission);
},
refresh(value) {
if (value) {
this.$router.go(0)
}
},
search(page, limit, exportFlag) {
if (!page) {
this.page = 1;
}
if (!limit) {
this.limit = 20;
}
if (!page && !limit) {
this.reloadPage();
}
var data = JSON.parse(JSON.stringify(this.jskBidQueryDto));
data.province = data.province.join(",");
data.city = data.city.join(",");
data.county = data.county.join(",");
data.tenderStage = data.tenderStage.join(",");
data.tenderingManner = data.tenderingManner.join(",");
data.queryScope = data.queryScope.join(",");
data.projectType = data.projectType.join(",");
data.subjectMatter = data.subjectMatter.join(",");
data.source = data.source.join(",");
data.phonePoint = data.phonePoint.join(",");
let params = {
page: {
page: this.page,
limit: this.limit,
field: this.field,
},
jskBidQueryDto: data,
};
params.keyword = this.keyword;
params.keywordNot = this.keywordNot;
this.$emit("search", params)
},
selectedHeightfn() {
if (this.selectedHeight == 64) {
this.selectedHeight = 'auto'
} else {
this.selectedHeight = 64;
}
},
reset() {
Object.assign(this.$data, this.$options.data.call(this)); //重置data
this.$refs.sourceNameSelect.selectValue = []
this.addressListfn();
this.$axios.get('https://files.jiansheku.com/file/json/common/searchDic.json').then(res => {
if (res && res.status == 200) {
this.projectTypeOptions = res.data.projectType;
this.subjectMatterOptions = res.data.subjectMatter
}
}).catch(error => {
});
this.search();
this.$emit("reset");
},
handsequencingList(index) {
this.fieldshow = false;
this.field = this.fieldOptions[index].key;
for (let i = 0; i < this.fieldOptions.length; i++) {
this.fieldOptions[i].status = false;
}
this.fieldText = this.fieldOptions[index].value;
this.fieldOptions[index].status = true;
this.search();
},
reloadPage() {
this.pageFlag = false;
this.$nextTick(() => {
this.pageFlag = true;
});
},
handleCurrentChange(page) {
this.page = page;
this.search(page, this.limit);
},
handleSizeChange(limit) {
this.limit = limit;
this.search(this.page, limit);
},
addressListfn() {
var str = [];
for (let x = 0; x < 3; x++) {
for (let i = 0; i < jsk_data.length; i++) {
if (jsk_data[i].regionLevel == x + 1 && x + 1 == 1) {
str.push({
id: jsk_data[i].id,
label: jsk_data[i].regionName,
short: jsk_data[i].short,
value: jsk_data[i].parentId,
children: jsk_data[i].id == 900000 ? undefined : [],
});
} else if (jsk_data[i].regionLevel == x + 1 && x + 1 == 2 && str) {
for (let j = 0; j < str.length; j++) {
if (str[j].id == jsk_data[i].parentId) {
str[j].children.push({
id: jsk_data[i].id,
label: jsk_data[i].regionName,
short: jsk_data[i].short,
value: jsk_data[i].parentId,
children: [],
});
}
}
} else if (jsk_data[i].regionLevel == x + 1 && x + 1 == 3) {
for (let j = 0; j < str.length; j++) {
if (str[j].children) {
for (let k = 0; k < str[j].children.length; k++) {
if (str[j].children[k].id == jsk_data[i].parentId) {
str[j].children[k].children.push({
id: jsk_data[i].id,
label: jsk_data[i].regionName,
short: jsk_data[i].short,
value: jsk_data[i].parentId,
});
}
}
}
}
}
}
}
this.addressList = str;
},
deleteDomicile() {
this.$refs.address.handleClear();
},
domicileChange() {
let arr = this.$refs.address.getCheckedNodes();
let province = [],
city = [],
county = [];
this.domicile = [];
for (var i in arr) {
if (arr[i].parent) {
if (!arr[i].parent.checked) {
arr[i].hasChildren && city.push(arr[i].value);
arr[i].hasChildren && this.domicile.push(arr[i].label);
!arr[i].hasChildren && county.push(arr[i].value);
!arr[i].hasChildren && this.domicile.push(arr[i].label);
}
} else {
province.push(arr[i].value);
this.domicile.push(arr[i].label);
}
}
var obj = JSON.parse(JSON.stringify(this.jskBidQueryDto));
obj.province = province;
obj.city = city;
obj.county = county;
this.jskBidQueryDto = obj;
},
bidMoneyhandleCommand(command) {
if (command) {
this.$refs.bidMoneyShowPopper.hide();
var obj = JSON.parse(JSON.stringify(this.jskBidQueryDto));
this.startBidMoney = "";
this.endBidMoney = "";
if (command == "不限") {
obj.startBidMoney = "";
obj.endBidMoney = "";
} else {
obj.startBidMoney = command[0];
obj.endBidMoney = command[1];
}
this.jskBidQueryDto = obj;
}
},
bidMoneyPopperConfirm() {
if (
this.startBidMoney &&
this.endBidMoney &&
!(Number(this.endBidMoney) > Number(this.startBidMoney))
) {
return this.$message.warning("最小值必须小于最大值,请重新输入!");
}
this.bidMoneyShowPopper = false;
var obj = JSON.parse(JSON.stringify(this.jskBidQueryDto));
obj.startBidMoney = this.startBidMoney;
obj.endBidMoney = this.endBidMoney;
this.jskBidQueryDto = obj;
this.$refs.bidMoneyShowPopper.hide();
},
bidMoneyCancel() {
this.bidMoneyShowPopper = false;
this.$refs.bidMoneyShowPopper.hide();
},
punishDatehandleCommand(command) {
var obj = JSON.parse(JSON.stringify(this.jskBidQueryDto));
if (command && command != "自定义") {
this.punishDateValue = command;
this.$refs.punishDateShowPopper.hide();
const datetime = new Date();
var startTime, endTime, Year, Month, Day;
Year = datetime.getFullYear();
Month = datetime.getMonth() + 1;
Day = datetime.getDate();
switch (command) {
case "今天":
startTime = Year + "-" + Month + "-" + Day;
endTime = Year + "-" + Month + "-" + Day;
break;
case "近3日":
var newTime = datetime.getTime() - 3 * 24 * 60 * 60 * 1000;
startTime =
new Date(newTime).getFullYear() +
"-" +
(new Date(newTime).getMonth() + 1) +
"-" +
new Date(newTime).getDate();
endTime = Year + "-" + Month + "-" + Day;
break;
case "近7日":
var newTime = datetime.getTime() - 7 * 24 * 60 * 60 * 1000;
startTime =
new Date(newTime).getFullYear() +
"-" +
(new Date(newTime).getMonth() + 1) +
"-" +
new Date(newTime).getDate();
endTime = Year + "-" + Month + "-" + Day;
break;
case "近1个月":
if (Month > 1) {
startTime = Year + "-" + (Month - 1) + "-1";
} else {
startTime = Year - 1 + "-" + (12 + Month - 1) + "-1";
}
endTime = Year + "-" + Month + "-" + Day;
break;
case "近3个月":
if (Month > 3) {
startTime = Year + "-" + (Month - 3) + "-1";
} else {
startTime = Year - 1 + "-" + (12 + Month - 3) + "-1";
}
endTime = Year + "-" + Month + "-" + Day;
break;
case "近半年":
if (Month > 6) {
startTime = Year + "-" + (Month - 6) + "-1";
} else {
startTime = Year - 1 + "-" + (12 + Month - 6) + "-1";
}
endTime = Year + "-" + Month + "-" + Day;
break;
case "近1年":
startTime = Year - 1 + "-" + Month + "-" + Day;
endTime = Year + "-" + Month + "-" + Day;
break;
case "近3年":
startTime = Year - 3 + "-" + Month + "-" + Day;
endTime = Year + "-" + Month + "-" + Day;
break;
case "自定义":
if (!this.punishDate) {
this.punishDateValue = "";
}
break;
}
if (startTime) {
var start = startTime.split('-');
startTime = start.map((item) => {
if (item.length == 1) {
return '0' + item
} else {
return item
}
})
startTime = startTime.join('-')
}
if (endTime) {
var end = endTime.split('-');
endTime = end.map((item) => {
if (item.length == 1) {
return '0' + item
} else {
return item
}
})
endTime = endTime.join('-')
}
obj.startPunishDate = startTime;
obj.endPunishDate = endTime;
} else if (command == "自定义") {
this.$refs.datePicker.pickerVisible = true;
} else {
this.$refs.punishDateShowPopper.hide();
this.punishDateValue = "";
this.punishDate = "";
obj.startPunishDate = "";
obj.endPunishDate = "";
}
this.jskBidQueryDto = obj;
},
clearContractSignTime() {
this.punishDate = "";
this.punishDateValue = "";
var obj = JSON.parse(JSON.stringify(this.jskBidQueryDto));
obj.startPunishDate = "";
obj.endPunishDate = "";
this.jskBidQueryDto = obj;
},
changepunishDate() {
if (this.punishDate) {
this.punishDateValue = "自定义";
var obj = JSON.parse(JSON.stringify(this.jskBidQueryDto));
obj.startPunishDate = this.punishDate[0];
obj.endPunishDate = this.punishDate[1];
this.jskBidQueryDto = obj;
}
},
hidePoper() {
if (this.$refs.datePicker) {
this.$refs.datePicker.pickerVisible = false;
}
},
mouseenter() {
this.punishDateShowPopper = true;
if (this.punishDateValue == '自定义') {
this.$nextTick(() => {
//this.$refs.datePicker.focus()
this.$refs.datePicker.pickerVisible = true;
});
}
},
tenderTypeClick(index) {
this.tenderTypeOptions.map((item) => {
item.status = false;
});
if (index == 2) {
this.tenderStageOptions = this.tenderStageOptions2;
}
if (index == 3) {
this.tenderStageOptions = this.tenderStageOptions3;
}
this.tenderTypeOptions[index].status = true;
},
getSourceName(arr) {
for (var a in arr) {
if (arr[a] == "不限") {
this.jskBidQueryDto.source = [];
this.$refs.sourceNameSelect.selectValue = [];
this.$refs.sourceNameSelect.$refs.select.blur();
} else {
this.jskBidQueryDto.source = arr;
}
}
},
},
};
</script>
<style lang="scss" scoped>
.content {
padding: 0px 16px;
border-radius: 4px 4px 4px 4px;
background: #FFFFFF;
.content_item {
padding-top: 12px;
display: flex;
align-items: center;
.label {
width: 84px;
font-size: 14px;
font-weight: 400;
color: rgba(35, 35, 35, 0.8);
}
.content_right {
.ename_input {
width: 640px;
margin-right: 20px;
}
.land_ipt_470 {
width: 640px;
}
}
.item_ckquery_list {
display: flex;
}
.item_ckquery_list .el-input__icon {
position: relative;
top: 1px;
}
.ckquery_list_right {
width: 640px;
}
.register_count_ipt {
margin-left: 0px;
}
.register_count_ipt .el-input__inner {
width: 174px;
}
::v-deep .el-input-group__prepend {
padding: 0 8px;
}
.content-projecttype {
display: flex;
align-items: center;
justify-content: center;
.projecttype {
font-weight: 400;
color: #232323;
padding: 1px 5px;
margin-right: 4px;
cursor: pointer;
border-radius: 3px 3px 3px 3px;
font-size: 14px;
}
.projecttype:first-child {
padding-left: 0px;
}
.projecttype:hover {
background: #F3F4F5;
padding: 1px 5px;
}
.activetype {
background: #F3F4F5;
padding: 1px 5px !important;
}
}
}
.content_item_padding0 {
padding: 0;
}
}
.bottomlist {
width: 100%;
background-color: #FFFFFF;
border-radius: 4px 4px 4px 4px;
.bottomlist-title {
display: flex;
justify-content: end;
align-items: center;
margin-top: 12px;
padding: 24px;
border-bottom: 1px solid #EFEFEF;
p:first-child {
font-size: 12px;
font-weight: 400;
color: #3D3D3D;
margin-right: 10px;
}
p:last-child {
font-size: 14px;
font-weight: 400;
color: rgba(35, 35, 35, 0.8);
}
img {
width: 18px;
height: 18px;
}
}
.bottomlist-content {
padding-bottom: 0px;
}
.bottomlist-list {
padding: 14px;
font-size: 14px;
border-bottom: 1px solid #EFEFEF;
padding-bottom: 14px;
.list-titel {
font-size: 16px;
font-weight: 700;
color: #3D3D3D;
line-height: 19px;
.list-titel-a {
text-decoration: none;
color: #3D3D3D;
}
a:hover,
a:visited,
a:link,
a:active {
color: #3D3D3D;
}
}
.content-label {
margin-top: 7px;
.list-label {
background: #F3F3FF;
color: #8491E8;
border-radius: 1px 1px 1px 1px;
padding: 3px 7px;
font-size: 12px;
}
}
.list-content {
margin-top: 3px;
display: flex;
justify-content: start;
align-items: center;
.list-content-text {
margin-top: 7px;
display: flex;
justify-content: start;
align-items: center;
margin-right: 27px;
font-size: 14px;
span:first-child {
font-weight: 400;
color: rgba(35, 35, 35, 0.4);
line-height: 15px
}
span:last-child {
font-weight: 400;
color: rgba(35, 35, 35, 0.8);
line-height: 15px
}
.blue {
color: #0081FF !important;
cursor: pointer;
}
}
}
}
.bottomlist-list:hover {
background: #F6F9FC;
cursor: pointer;
}
.pagination {
padding: 14px;
.el-pagination {
float: right;
}
}
}
</style>
<style lang="scss" scoped>
#tender_wrap {
padding: 0 16px;
font-size: 14px;
.tender_content_wrap {
display: flex;
.tender_content_wrap_label {
color: #666666;
margin-right: 4px;
}
.tender_content_wrap_item {
display: inline-block;
height: 28px;
line-height: 28px;
padding: 0 12px;
margin-right: 24px;
color: #333333;
cursor: pointer;
&:hover {
background: #e5f2ff;
color: #0081ff;
border-radius: 2px 2px 2px 2px;
}
}
.tender_content_wrap_item_active {
background: #0081ff;
color: #ffffff;
border-radius: 2px 2px 2px 2px;
}
}
.tender_content_wrap1 {
margin-bottom: -2.5px;
}
.data_list {
width: 1200px;
margin: 0 auto;
margin-left: -16px;
padding: 0 16px;
box-sizing: border-box;
.data_list_head {
height: 50px;
line-height: 50px;
color: #666666;
.data_list_count {
color: #ff2a00;
font-weight: bold;
}
}
.data_list_item {
border-top: 1px solid #efefef;
padding: 24px 16px;
padding-left: 16px;
margin-left: -16px;
width: 1200px;
&:hover {
background: #f5faff;
}
.data_list_h1 {
width: 1168px;
font-size: 18px;
font-weight: bold;
color: #333333;
line-height: 24px;
margin-bottom: 10px;
word-break: break-all;
display: inline-block;
}
.data_list_h1_1 {
cursor: pointer;
}
.label_box {
padding-bottom: 6px;
display: flex;
.label_span {
padding: 0 8px;
display: inline-block;
height: 22px;
line-height: 22px;
border-radius: 2px 2px 2px 2px;
margin-right: 8px;
font-size: 12px;
}
.label_span1 {
background: #e4f3fd;
color: #41A1FD;
}
.label_span2 {
background: #f3f3ff;
color: #8491e8;
}
.label_span3 {
background: #e8f7f0;
color: #38c8bf;
}
}
.label_wrap {
font-size: 14px;
margin-top: 10px;
line-height: 18px;
display: flex;
.label_item {
color: #999999;
}
.company {
color: #0081ff;
cursor: pointer;
margin-right: 20px;
}
.label_con {
color: #333333;
margin-right: 20px;
}
.label_con1 {
width: 1095px;
margin: 0;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
overflow: hidden;
}
.label_con2 {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 560px;
display: inline-block;
}
}
}
}
.content_li {
padding: 16px 0;
display: flex;
align-items: center;
position: relative;
.content_item {
.include-keywords {
display: flex;
align-items: center;
position: relative;
.lefttltel {
display: inline-block;
background: #f5f5f5;
color: #333;
border: 1px solid #efefef;
border-right: none;
opacity: 1;
width: 71px;
height: 40px;
text-align: center;
line-height: 40px;
}
.el-input {
line-height: 40px;
border-radius: 0;
.el-input__inner {
width: 100%;
height: 40px;
line-height: 40px;
border-radius: 0;
}
}
.commonly-input {
.el-input__inner {
padding-right: 100px;
}
}
.commonly {
position: absolute;
top: 10px;
right: 16px;
font-size: 14px;
font-weight: 400;
color: #0081ff;
cursor: pointer;
}
}
}
}
}
</style>
\ No newline at end of file
<template> <template>
<!-- 招标公告 --> <!-- 标讯pro -->
<div > <div >
<div class="content"> <div class="content">
<div class="content_item"> <div class="content_item">
...@@ -41,11 +40,21 @@ ...@@ -41,11 +40,21 @@
<div class="content_item"> <div class="content_item">
<div class="label">项目名称</div> <div class="label">项目名称</div>
<div class="content_right"> <div class="content_right content_right1">
<el-input class="ename_input" <div class="include-keywords">
placeholder="请输入项目名称关键字" v-model="keyword" ></el-input> <span class="lefttltel" style=" border-radius: 1px 0px 0px 1px;">包含</span>
<el-input class="commonly-input" v-model="keyword" style="width: 660px;"placeholder="多个关键词用空格隔开,如:市政 园林" />
<span class="commonly" @click="cliclikeywoder()">推荐关键词</span>
</div>
<div class="include-keywords">
<span class="lefttltel" style=" border-radius: 1px 0px 0px 1px;">排除</span>
<el-input style="width: 472px;" v-model="keywordNot" placeholder="多个关键词用空格隔开,如:市政 园林" />
</div>
</div> </div>
</div> </div>
<div class="content_item"> <div class="content_item">
<div class="label">项目名称</div> <div class="label">项目名称</div>
<div class="content_right"> <div class="content_right">
...@@ -160,13 +169,13 @@ ...@@ -160,13 +169,13 @@
</div> </div>
</div> </div>
<div class="content_item"> <div class="content_item">
<div class="label">项目</div> <div class="label">项目投资</div>
<div class="content_right content_right1"> <div class="content_right content_right1">
<div class="land_content_wrap-flex"> <div class="land_content_wrap-flex">
<div class="land_content_wrap_label" > <!-- <div class="land_content_wrap_label" >
项目投资额
</div> </div> -->
<el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectAmount','endProjectAmount')" v-limit-num clearable <el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectAmount','endProjectAmount')" v-limit-num clearable
v-model="jskBidNewsDto.startProjectAmount"></el-input> v-model="jskBidNewsDto.startProjectAmount"></el-input>
<span class="other_label_span"></span> <span class="other_label_span"></span>
...@@ -204,352 +213,196 @@ ...@@ -204,352 +213,196 @@
</div> </div>
</div> </div>
<div class="content_item">
<div class="label">建安费暂估</div>
<div class="content_right content_right1">
<div class="land_content_wrap-flex">
<el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectSafeAmount','endProjectSafeAmount')" v-limit-num clearable
v-model="jskBidNewsDto.startProjectSafeAmount"></el-input>
<span class="other_label_span"></span>
<el-input placeholder="输入最高金额" @change="changeMoney('end','startProjectSafeAmount','endProjectSafeAmount')" v-limit-num
v-model="jskBidNewsDto.endProjectSafeAmount" clearable class="other_ipt other_ipt1">
<el-button slot="append" type="primary">万元</el-button>
</el-input>
</div>
<div class="land_content_wrap-flex">
<div class="land_content_wrap_label" >勘察费暂估
</div>
<el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectSurveyAmount','endProjectSurveyAmount')" v-limit-num clearable
v-model="jskBidNewsDto.startProjectSurveyAmount"></el-input>
<span class="other_label_span"></span>
<el-input placeholder="输入最高金额" @change="changeMoney('end','startProjectSurveyAmount','endProjectSurveyAmount')" v-limit-num
v-model="jskBidNewsDto.endProjectSurveyAmount" clearable class="other_ipt other_ipt1">
<el-button slot="append" type="primary">万元</el-button>
</el-input>
</div>
<div class="land_content_wrap-flex">
<div class="land_content_wrap_label" >设计费暂估
</div>
<el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectDesignAmount','endProjectDesignAmount')" v-limit-num clearable
v-model="jskBidNewsDto.startProjectDesignAmount"></el-input>
<span class="other_label_span"></span>
<el-input placeholder="输入最高金额" @change="changeMoney('end','startProjectDesignAmount','endProjectDesignAmount')" v-limit-num
v-model="jskBidNewsDto.endProjectDesignAmount" clearable class="other_ipt other_ipt1">
<el-button slot="append" type="primary">万元</el-button>
</el-input>
</div>
</div>
</div>
<div class="content_item">
<div class="label">资质要求</div>
<div class="content_right">
<el-input class="ename_input"
placeholder="请输入关键词句,如:施工总承包三级" v-model="jskBidNewsDto.qualiLimit" ></el-input>
<span class="land_content_wrap_label_tipspan">
<el-tooltip popper-class="explain_tooltip" content="根据输入的关键词全称进行匹配"
placement="bottom" effect="light">
<img class="tip_svg" src="@/assets/images/bxpro/tipf.png" >
</el-tooltip>
</span>
</div>
</div>
<div class="content_item">
<div class="label">业绩要求</div>
<div class="content_right">
<el-input class="ename_input"
placeholder="请输入关键词句,如:建筑工程" v-model="jskBidNewsDto.projectLimit" ></el-input>
<span class="land_content_wrap_label_tipspan">
<el-tooltip popper-class="explain_tooltip" content="根据输入的关键词全称进行匹配"
placement="bottom" effect="light">
<img class="tip_svg" src="@/assets/images/bxpro/tipf.png" >
</el-tooltip>
</span>
</div>
</div>
<div class="content_item">
<div class="label">人员要求</div>
<div class="content_right">
<el-input class="ename_input"
placeholder="请输入关键词句,如:建筑工程" v-model="jskBidNewsDto.personLimit" ></el-input>
<span class="land_content_wrap_label_tipspan">
<el-tooltip popper-class="explain_tooltip" content="根据输入的关键词全称进行匹配"
placement="bottom" effect="light">
<img class="tip_svg" src="@/assets/images/bxpro/tipf.png" >
</el-tooltip>
</span>
</div>
</div>
<div class="content_item content_item_padding0">
<div class="geduan">
</div>
</div>
<div class="content_item content_item_padding0">
<div class="label">招标人</div>
<div class="content_right content_right1">
<div class="content_right1-flex">
<el-input style="width: 520px;" v-model="jskBidNewsDto.tenderee"clearable placeholder="请输入关键字"/>
</div>
<div class="content_right1-flex" style="margin-left: 106px;">
<div class="label-zi" >
代理机构
</div>
<el-input style="width: 520px;" v-model="jskBidNewsDto.agency" clearable placeholder="请输入关键字"/>
</div>
</div>
</div>
<div class="content_item content_item_padding0">
<div class="geduan">
</div>
</div>
<div class="content_item content_item_padding0">
<div class="search-new">
<span @click="search()">查询</span>
<span @click="reset">重置</span>
</div>
</div>
</div> </div>
<div class="content"> <div class="bottomlist">
<!--条件--> <div class="bottomlist-title">
<div id="tender_wrap" class="content_wrap"> <div></div>
<template> <div class="title-right">
<p>共有{{total}}条</p>
<p>
<div class="land_content_wrap "> <img src="@/assets/images/EXCEL.png" alt="">
<span>导出EXCEL</span>
</p>
</div>
</div>
<div class="table-item">
<el-table :data="tableData" element-loading-text="Loading" border fit highlight-current-row>
<el-table-column label="序号" width="60">
<template slot-scope="scope">
1
</template>
</div> </el-table-column>
<el-table-column label="发布日期" width="160" >
<div v-show="selectedHeights"> <template slot-scope="scope">
<div class="land_content_wrap "> 通过
<div class="land_content_wrap-flex"> </template>
<div class="land_content_wrap_label" >建安费暂估 </el-table-column>
<el-table-column label="项目名称" >
</div> <template slot-scope="scope">
<el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectSafeAmount','endProjectSafeAmount')" v-limit-num clearable <router-link :to="'/radar/bxprozbgg/details/'+ 1" tag="a" class="list-titel-a" >绿色节能型压缩机基础件、汽车零配件新建项目 (芜湖旭日机械制造有限公司)</router-link>
v-model="jskBidNewsDto.startProjectSafeAmount"></el-input> </template>
<span class="land_content_wrap_label_span"></span>
<el-input placeholder="输入最高金额" @change="changeMoney('end','startProjectSafeAmount','endProjectSafeAmount')" v-limit-num </el-table-column>
v-model="jskBidNewsDto.endProjectSafeAmount" clearable class="other_ipt other_ipt1"> <el-table-column label="工程用途" width="200" >
<el-button slot="append" type="primary">万元</el-button> <template slot-scope="scope">
</el-input> --
</div> </template>
<div class="land_content_wrap-flex">
<div class="land_content_wrap_label" >勘察费暂估 </el-table-column>
<el-table-column prop="zj" label="项目金额" width="200" >
</div> <template slot-scope="scope">
<el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectSurveyAmount','endProjectSurveyAmount')" v-limit-num clearable 2022-08-28
v-model="jskBidNewsDto.startProjectSurveyAmount"></el-input> </template>
<span class="land_content_wrap_label_span"></span>
<el-input placeholder="输入最高金额" @change="changeMoney('end','startProjectSurveyAmount','endProjectSurveyAmount')" v-limit-num </el-table-column>
v-model="jskBidNewsDto.endProjectSurveyAmount" clearable class="other_ipt other_ipt1"> </el-table>
<el-button slot="append" type="primary">万元</el-button> </div>
</el-input>
</div>
<div class="land_content_wrap-flex">
<div class="land_content_wrap_label" >设计费暂估
</div> <div class="pagination clearfix" v-show="total>0">
<el-input class="other_ipt" placeholder="输入最低金额" @change="changeMoney('start','startProjectDesignAmount','endProjectDesignAmount')" v-limit-num clearable <el-pagination
v-model="jskBidNewsDto.startProjectDesignAmount"></el-input> background
<span class="land_content_wrap_label_span"></span> :page-size="pageSize"
<el-input placeholder="输入最高金额" @change="changeMoney('end','startProjectDesignAmount','endProjectDesignAmount')" v-limit-num :current-page="page"
v-model="jskBidNewsDto.endProjectDesignAmount" clearable class="other_ipt other_ipt1"> @current-change="handleCurrentChange"
<el-button slot="append" type="primary">万元</el-button> layout="prev, pager, next"
</el-input> :total="total">
</div> </el-pagination>
</div> </div>
<div class="land_content_wrap" style="margin-top: 16px"> </div>
<span class="land_content_wrap_label" style="">资质要求</span>
<el-input <!-- 关键词弹窗 -->
style="margin-left:12px;" <Keyword ref="keyword" @keywordClick="keywordClick" />
v-model="jskBidNewsDto.qualiLimit"
clearable
placeholder="请输入关键词句,如:施工总承包三级"
>
</el-input>
<span class="land_content_wrap_label_tipspan">
<el-tooltip popper-class="explain_tooltip" content="根据输入的关键词全称进行匹配"
placement="bottom" effect="light">
<img class="tip_svg" src="@/assets/images/bxpro/tipf.png" alt="排除资质-建设库">
</el-tooltip>
</span>
<span class="land_content_wrap_label" style="margin-left: 24px;margin-right:16px;width: 58px;">业绩要求</span>
<el-input
style="margin-left:12px;"
v-model="jskBidNewsDto.projectLimit"
clearable
placeholder="请输入关键词句,如:建筑工程"
>
</el-input>
<span class="land_content_wrap_label_tipspan">
<el-tooltip popper-class="explain_tooltip" content="根据输入的关键词全称进行匹配"
placement="bottom" effect="light">
<img class="tip_svg" src="@/assets/images/bxpro/tipf.png" alt="排除资质-建设库">
</el-tooltip>
</span>
</div>
<div class="land_content_wrap">
<span class="land_content_wrap_label" style="line-height:34px;">人员要求</span>
<el-input
style="margin-left:12px;"
v-model="jskBidNewsDto.personLimit"
clearable
placeholder="请输入关键词句,如:一级建造师"
>
</el-input>
<span class="land_content_wrap_label_tipspan">
<el-tooltip popper-class="explain_tooltip" content="根据输入的关键词全称进行匹配"
placement="bottom" effect="light">
<img class="tip_svg" src="@/assets/images/bxpro/tipf.png" alt="排除资质-建设库">
</el-tooltip>
</span>
</div>
<div class="line"></div>
<div class="land_content_wrap" style="margin-top: 16px">
<span class="land_content_wrap_label" style="margin-left: 14px;">招标人
</span>
<el-input
style="margin-left:12px;"
v-model="jskBidNewsDto.tenderee"
clearable
placeholder="请输入关键字"
>
</el-input>
<span class="land_content_wrap_label" style="margin-left: 24px;margin-right:16px;width: 58px;">代理机构
</span>
<el-input
v-model="jskBidNewsDto.agency"
clearable
placeholder="请输入关键字"
></el-input>
</div>
</div>
<div class="search-new" style="padding: 0px 0px 16px 76px !important;border: 0;margin: 0;">
<span @click="bxproggSearch()">查询</span>
<span @click="reset1">重置</span>
</div>
</template>
<div class="data_list" v-if="showList">
<div style="height: 16px;width: 1200px;background: #F7F9FC;margin-left: -16px;"></div>
<div class="data_list_head">
共为您找到<span class="data_list_count"> {{ total }} </span>条相关结果
<div class="bottom-toolbar-right float_right" style="padding-top: 1px;">
<span size="small" class="toolbar-right-download toolbar-right-download1" style="margin-right:0;" @click="bxproggSearch('','','isExport')">
导出数据
</span>
</div>
<div class="bottom-toolbar-right float_right" style="position:relative;top:1px;">
<el-popover v-model="fieldshow" placement="bottom-end" trigger="click" popper-class="viewlist-el-popover">
<ul class="pup_list">
<li v-for="(itme,i) in fieldOptions" :class="itme.status?'active':''"
@click="handsequencingList(i)" :key="i">
<div style="position: relative;">
{{itme.value}}
</div>
</li>
</ul>
<span slot="reference" class="toolbar-right-download" style="width: auto;padding: 0px 8px;" >
{{fieldText}}<i class="el-icon-caret-bottom" :style="{transform:fieldshow?'rotate(180deg)':''}"></i>
</span>
</el-popover>
</div>
<div class="data_list_btn float_right">
<el-checkbox-group v-model="checkList" @change="lowerRateClick()">
<el-checkbox :label="item.value" v-for="(item, index) in checkType" :key="index">{{item.name}}</el-checkbox>
</el-checkbox-group>
<!-- <el-checkbox @change="lowerRateClick()" v-model="checked">只看有符合企业的项目</el-checkbox>-->
<!--<div @click="lowerRateClick(0)" :class="activeIndex==0?'data_list_btn_active':''">只看有符合企业的项目</div>-->
<!--<div @click="lowerRateClick(1)" :class="[activeIndex==1?'data_list_btn_active':'']">按符合企业</div>-->
</div>
</div>
<div v-if="total > 0" class="bxpro_list">
<div style="border-top:1px solid #efefef;padding-top: 25px">
<el-table
:data="tableData"
border
max-height="608"
ref="multipleTable"
style="width: 100%;">
<el-table-column
:resizable="false"
label="发布日期"
width="112">
<template slot-scope="scope">
{{ scope.row.pubdate ? scope.row.pubdate : '--' }}
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="项目名称"
min-width="186">
<template slot-scope="scope">
<span class="bxpro_list_titles" v-if="!scope.row.id && scope.row.projectName" v-html="scope.row.projectName"></span>
<span class="bxpro_list_titles" v-html="scope.row.projectName"></span>
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="工程用途"
width="115">
<template slot-scope="scope">
<span v-if="scope.row.projectPurposes">{{scope.row.projectPurposes}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="项目金额"
width="190">
<template slot-scope="scope">
<ul class="bxpro_list_money">
<template v-if="scope.row.projectInvestmentAmount ||
scope.row.projectContractAmount ||
scope.row.projectSafeAmount ||
scope.row.projectSurveyAmount ||
scope.row.projectDesignAmount">
<li v-if="scope.row.projectInvestmentAmount">
<span >
<span >投资额:{{ scope.row.projectInvestmentAmount }}万元</span>
</span>
</li>
<li v-if="scope.row.projectContractAmount">
<span >
<span >控制价:{{ scope.row.projectContractAmount }}万元</span>
</span>
</li>
<li v-if="scope.row.projectSafeAmount">
<span >
<span >建安费:{{ scope.row.projectSafeAmount }}万元</span>
</span>
</li>
<li v-if="scope.row.projectSurveyAmount">
<span >
<span >勘察费:{{ scope.row.projectSurveyAmount }}万元</span>
</span>
</li>
<li v-if="scope.row.projectDesignAmount">
<span >
<span >设计费:{{ scope.row.projectDesignAmount }}万元</span>
</span>
</li>
</template>
<li v-else>--</li>
</ul>
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="投标保证金"
width="128">
<template slot-scope="scope">
<ul class="bxpro_list_money">
<template v-if="scope.row.projectEnsureAmount">
<li>
<span >
<span >{{ scope.row.projectEnsureAmount }}万元</span>
</span>
</li>
</template>
<li v-else>--</li>
</ul>
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="评标办法"
width="105">
<template slot-scope="scope">
<span v-if="scope.row.bidAssessmentWay">{{scope.row.bidAssessmentWay}}</span>
<span v-else>--</span>
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="评标委员会有无业主代表"
width="105">
<template slot-scope="scope">
<span v-if="scope.row.bidMettingHasProjectUnit == 0">未公示</span>
<span v-if="scope.row.bidMettingHasProjectUnit == 1"></span>
<span v-if="scope.row.bidMettingHasProjectUnit == 2"></span>
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="有无预付款"
width="102">
<template slot-scope="scope">
<span v-if="scope.row.hasAdvanceAmount == 0">未公示</span>
<span v-if="scope.row.hasAdvanceAmount == 1"></span>
<span v-if="scope.row.hasAdvanceAmount == 2"></span>
</template>
</el-table-column>
<el-table-column
:resizable="false"
label="招标人"
width="200">
<template slot-scope="scope">
<ul class="bxpro_list_money">
<li>
<div v-if="!scope.row.tendereeId && scope.row.tenderee">{{scope.row.tenderee}}</div>
<div v-else>--</div>
</li>
</ul>
</template>
</el-table-column>
</el-table>
</div>
</div>
<div v-else style="border-top:1px solid #efefef;padding-bottom:1px;width: 1200px;margin-left: -16px;" >
<div class="search_empty_wrap">
<ul>
<li class="search_empty_wrap_li search_empty_wrap_li1">没有找到相关数据,您可尝试:</li>
<li class="search_empty_wrap_li"><i class="disc"></i>输入更准确的关键词,重新搜索</li>
<li class="search_empty_wrap_li"><i class="disc"></i>尝试减少输入的关键词,增加搜索范围</li>
<li class="search_empty_wrap_li"><i class="disc"></i>更换筛选条件,重新搜索</li>
<li class="search_empty_wrap_li"><i class="disc"></i>联系客服进行反馈<span>023-62798729</span>(工作日09:00-18:00)或<span><nuxt-link title="意见反馈" :to="`/feedback/`" target="_blank">意见反馈</nuxt-link></span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div> </div>
</template> </template>
<script> <script>
import jsk_data from '../../../../../public/jsk.json'; import jsk_data from '../../../../../public/jsk.json';
import Keyword from "@/components/Keyword";
export default { export default {
name: "bxprozbgg", name: "bxprozbgg",
components: { components: {
Keyword
}, },
data(){ data(){
return{ return{
...@@ -897,10 +750,20 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -897,10 +750,20 @@ import jsk_data from '../../../../../public/jsk.json';
projectLevel: [], projectLevel: [],
}, },
tableData: [],
id:"", id:"",
companyName1:"", companyName1:"",
type:"", type:"",
tableData: [{
id: 0,
name: '20重庆债14(2005938)',
time: '2020-09-18',
gm: '285.24',
zj: '否',
}],
total:6000,
page:1,
pageSize:20,
permissions:{ permissions:{
"search": [ "search": [
{ {
...@@ -1984,7 +1847,7 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -1984,7 +1847,7 @@ import jsk_data from '../../../../../public/jsk.json';
}); });
}, },
reset1(){ reset(){
Object.assign(this.$data, this.$options.data.call(this)); //重置data Object.assign(this.$data, this.$options.data.call(this)); //重置data
// this.clickProvince(0,1); // this.clickProvince(0,1);
this.bxproggSearch(); this.bxproggSearch();
...@@ -2115,6 +1978,52 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -2115,6 +1978,52 @@ import jsk_data from '../../../../../public/jsk.json';
} }
} }
} }
.include-keywords {
display: flex;
align-items: center;
position: relative;
.lefttltel {
display: inline-block;
background: #F3F4F5;
color: #333;
border: 1px solid #F3F4F5;
border-right: none;
opacity: 1;
width: 44px;
height: 34px;
text-align: center;
line-height: 34px;
}
.el-input {
line-height: 34px;
border-radius: 0;
::v-deep .el-input__inner {
height: 34px;
line-height:34px;
border-radius: 0;
}
}
.commonly-input {
::v-deep .el-input__inner {
padding-right: 100px;
}
}
.commonly {
position: absolute;
top: 8px;
right: 16px;
font-size: 14px;
font-weight: 400;
color: #0081ff;
cursor: pointer;
}
}
.ename_input{ .ename_input{
width: 640px; width: 640px;
...@@ -2125,8 +2034,8 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -2125,8 +2034,8 @@ import jsk_data from '../../../../../public/jsk.json';
} }
.land_content_wrap-flex{ .land_content_wrap-flex{
display: flex; display: flex;
line-height: 34px; line-height: 28px;
margin-right: 33px; margin-right: 102px;
} }
.land_content_wrap-flex:last-child{ .land_content_wrap-flex:last-child{
margin-right: 0; margin-right: 0;
...@@ -2140,9 +2049,11 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -2140,9 +2049,11 @@ import jsk_data from '../../../../../public/jsk.json';
.other_ipt { .other_ipt {
width: 104px; width: 104px;
height: 34px; height: 28px;
line-height: 28px;
::v-deep .el-input__inner { ::v-deep .el-input__inner {
width: 104px; height: 28px;
line-height: 28px;
padding: 0 8px; padding: 0 8px;
} }
...@@ -2155,7 +2066,13 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -2155,7 +2066,13 @@ import jsk_data from '../../../../../public/jsk.json';
span{ span{
color: #333333; color: #333333;
} }
.el-button{
height: 26px;
line-height: 26px;
}
width: 49px; width: 49px;
height: 26px;
line-height: 26px;
padding: 0 8px; padding: 0 8px;
} }
} }
...@@ -2166,10 +2083,30 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -2166,10 +2083,30 @@ import jsk_data from '../../../../../public/jsk.json';
font-weight: 400; font-weight: 400;
color: #232323; color: #232323;
} }
.land_content_wrap_label_tipspan{
display: inline-block;
line-height: 34px;
position: relative;
.tip_svg{
width: 16px;
height: 16px;
margin-left: 4px;
}
}
} }
.content_right1{ .content_right1{
display: flex; display: flex;
.content_right1-flex{
align-items: center;
display: flex;
.label-zi{
font-size: 14px;
font-weight: 400;
color: rgba(35, 35, 35, 0.8);
margin-right:24px ;
}
}
} }
.item_ckquery_list { .item_ckquery_list {
...@@ -2239,7 +2176,6 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -2239,7 +2176,6 @@ import jsk_data from '../../../../../public/jsk.json';
align-items: center; align-items: center;
margin-top: 12px; margin-top: 12px;
padding: 16px ; padding: 16px ;
border-bottom: 1px solid #EFEFEF;
.title-right{ .title-right{
display: flex; display: flex;
...@@ -2264,491 +2200,25 @@ import jsk_data from '../../../../../public/jsk.json'; ...@@ -2264,491 +2200,25 @@ import jsk_data from '../../../../../public/jsk.json';
} }
} }
.bottomlist-content{ .table-item{
padding:0px 16px;
padding-bottom: 0px; .list-titel-a{
} color:#0081FF;
.bottomlist-list{
padding: 16px;
font-size: 14px;
border-bottom: 1px solid #EFEFEF;
padding-bottom: 14px;
.list-titel{
font-size: 16px;
font-weight: 700;
color: #3D3D3D;
line-height: 19px;
.list-titel-a{
text-decoration: none;
color:#3D3D3D;
}
a:hover, a:visited, a:link, a:active{
color:#3D3D3D;
}
}
.content-label{
margin-top: 7px;
.list-label{
background: #F3F3FF;
color: #8491E8;
border-radius: 1px 1px 1px 1px;
padding: 3px 7px;
font-size: 12px;
}
} }
.list-content{
margin-top: 3px;
display: flex;
justify-content: start;
align-items: center;
.list-content-text{
margin-top: 7px;
display: flex;
justify-content: start;
align-items: center;
margin-right: 27px;
font-size: 14px;
span:first-child{
font-weight: 400;
color: rgba(35,35,35,0.4);
line-height: 15px
}
span:last-child{
font-weight: 400;
color: rgba(35,35,35,0.8);
line-height: 15px
}
.blue{
color: #0081FF !important;
cursor: pointer;
}
}
}
.list-addree{
width: auto;
background: #F3F4F5;
display: inline-flex;
margin-top: 7px;
.list-content-text{
margin-top: 0px;
span{
line-height: 30px!important;
}
}
img{
width: 14px;
margin: 0 8px;
}
}
} }
.bottomlist-list:hover{ .bottomlist-content{
background: #F6F9FC;
cursor: pointer; padding-bottom: 0px;
} }
.pagination{ .pagination{
padding: 14px ; padding: 14px ;
.el-pagination{ .el-pagination{
float: right; float: right;
margin-right:-8px;
} }
} }
} }
</style> </style>
<style lang="scss" scoped>
.report_wrap{
position: fixed;
bottom: 56px;
left: 24px;
.report_img{
width: 183px;
height: 249px;
}
.to_library{
width: 104px;
height: 32px;
display: block;
line-height: 32px;
text-align: center;
font-size: 14px;
margin: 16px auto;
color: #FFFFFF;
background: #0081FF;
border-radius: 5px 5px 5px 5px;
cursor: pointer;
&:hover{
background: #185ECA;
}
}
.close_img{
position: absolute;
right: -26px;
top: -12px;
width: 21px;
height: 20px;
cursor: pointer;
}
}
#tender_wrap {
//padding: 0 16px;
font-size: 14px;
.data_list_btn {
margin: 9px 16px 0 0;
height: 32px;
line-height: 32px;
border-radius: 2px 2px 2px 2px;
opacity: 1;
color: #333333;
box-sizing: border-box;
position: relative;
div {
text-align: center;
display: inline-block;
cursor: pointer;
//padding: 0 6px;
box-sizing: border-box;
}
::v-deep .el-checkbox__label{
padding-left:4px;
}
.data_list_btn_active {
height: 32px;
line-height: 32px;
}
}
.land_content_wrap{
margin-bottom: 16px;
}
.tender_content_wrap{
margin-top: 16px;
}
.content_li {
padding: 16px 0;
display: flex;
align-items: center;
position: relative;
.content_item {
.include-keywords {
display: flex;
align-items: center;
position: relative;
.lefttltel {
display: inline-block;
background: #f5f5f5;
color: #333;
border: 1px solid #efefef;
border-right: none;
opacity: 1;
width: 44px;
height: 40px;
text-align: center;
line-height: 40px;
}
.el-input {
line-height: 40px;
border-radius: 0;
::v-deep .el-input__inner {
width: 100%;
height: 40px;
line-height: 40px;
border-radius: 0;
}
}
.commonly-input {
::v-deep .el-input__inner {
padding-right: 100px;
}
}
.commonly {
position: absolute;
top: 10px;
right: 16px;
font-size: 14px;
font-weight: 400;
color: #0081ff;
cursor: pointer;
}
}
}
}
.data_list_head {
height: 50px;
line-height: 50px;
color: #666666;
.data_list_count {
color: #ff2a00;
font-weight: bold;
}
}
}
.dropdown_item:hover{
background-color: #F4F6F9;
color: #0081FF;
}
#search-bxprozbgg {
.businessOpportunities_box{
position: relative;
.businessOpportunities_dow{
position: absolute;
top: 12px;
right: 15px;
.dow-dropdown-link{
display: block;
width: 138px;
height: 32px;
line-height: 32px;
background: #FFFFFF;
border-radius: 2px 2px 2px 2px;
border: 1px solid #0081FF;
text-align: center;
font-size: 14px;
color: #0081FF;
}
::v-deep .el-select{
width: 90px;
height: 32px;
line-height: 32px;
background: #FFFFFF;
border-radius: 2px 2px 2px 2px;
text-align: center;
margin: 0;
font-size: 14px;
color: #0081FF;
position: absolute;
left: -96px;
top: -1px;
.el-input{
width: 100%;
height: 32px;
line-height: 32px;
}
.el-input__inner{
width: 100%;
height: 32px;
line-height: 32px;
border: 1px solid #0081FF;
color: #0081FF;
}
.el-input__inner::-webkit-input-placeholder {
color: #0081FF !important;
}
.el-input__inner::-moz-placeholder {
color: #0081FF !important;
}
.el-select__caret{
color: #0081FF;
}
}
}
}
.land_content_wrap_label_tipspan{
display: inline-block;
line-height: 34px;
position: relative;
.tip_svg{
width: 16px;
height: 16px;
margin-left: 4px;
}
}
}
.tip_svg-popper-img{
position: absolute;
top: -7px;
right: 4px;
}
.activeTab {
font-weight: bold;
color: #333333;
border-bottom: 2px solid #0081FF;
}
.lowerRate_img{
position: absolute;
top: 7px;
right: -30px;
width: 36px;
height: 14px;
}
.bxpro_list{
::v-deep .el-table{
th{
line-height: 23px;
color: #999;
background: #f2f9fc;
.cell{
overflow: unset;
color: #999999;
font-weight: 400;
}
}
.cell{
font-size: 14px;
color: #333333;
}
}
.bxpro_list_title{
font-weight: 400;
color: #0081FF;
line-height: 18px;
//margin-bottom: 10px;
}
.bxpro_list_titles{
display: block;
max-height: 55px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
}
.bxpro_list_fl{
overflow: hidden;
span{
float: left;
padding: 4px 8px;
font-size: 12px;
line-height: 12px;
color: #41A1FD;
background: #E4F3FD;
margin-right: 12px;
margin-top: 4px;
&:last-child{
margin-right: 0;
}
}
}
.bxpro_list_money{
li{
margin-bottom: 8px;
line-height: 18px;
display: flex;
&:last-child{
margin-bottom: 0;
}
}
}
.bxpro_list_yjhq{
display: block;
text-align: center;
width: 100%;
//height: 28px;
//line-height: 28px;
//border-radius: 2px 2px 2px 2px;
font-size: 14px;
margin: 0 auto;
cursor:pointer;
}
.bxpro_list_yjhq1{
&:hover{
color: #0081FF;
}
}
.bxpro_list_yjhq_ns{
color: #333333;
//border: 1px solid #0081FF;
}
.bxpro_list_yjhq_hs{
color: #999999;
//background: #C8C8C8;
}
.tip_svg{
margin-right: 6px;
position: relative;
top: -1px;
}
}
.bxprozbgg_yjlq{
.bxprozbgg_yjlq_h1{
font-weight: 400;
color: #3D3D3D;
line-height: 22px;
font-size:16px;
}
.bxprozbgg_yjlq_p{
p{
font-weight: 400;
color: #666666;
line-height: 22px;
}
}
}
.bxpro_list_ellipsis{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
.pup_list .pup_list_svip_img {
position: absolute;
top: 0;
right: -10px;
width: 24px;
}
.el-popover .pup_list li div{
display: inline-block;
}
.content .content_wrap .content_item{
padding: 0 !important;
}
.bxprozbsh{
max-height: 70px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3; // 控制多行的行数
-webkit-box-orient: vertical;
}
::v-deep .el-table__fixed-right{
height: 100% !important;
}
::v-deep .el-table__fixed{
height: 100% !important;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar{
height:10px;
width: 10px;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar-track{
background-color:#FFFFFF;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb{
background-color:#E1E1E1;
}
</style>
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
<div class="content_item content_item_padding0"> <div class="content_item content_item_padding0">
<div class="search-new"> <div class="search-new">
<span>查询</span> <span @click="search()">查询</span>
<span>重置</span> <span @click="reset">重置</span>
</div> </div>
</div> </div>
...@@ -448,6 +448,12 @@ ...@@ -448,6 +448,12 @@
}, },
handleCurrentChange(val){ handleCurrentChange(val){
},
search(){
},
reset(){
} }
} }
} }
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
<Establishment v-if="personnelHerf=='Establishment'" /> <Establishment v-if="personnelHerf=='Establishment'" />
<!-- 标讯pro --> <!-- 标讯pro -->
<bxprozbgg v-if="personnelHerf=='bxprozbgg'" /> <bxprozbgg v-if="personnelHerf=='bxprozbgg'" />
<!-- 公招标讯 -->
<Tender v-if="personnelHerf=='Tender'" />
</div> </div>
...@@ -30,10 +33,12 @@ ...@@ -30,10 +33,12 @@
import Land from "./components/Land/index.vue"; import Land from "./components/Land/index.vue";
import Establishment from "./components/Establishment/index.vue"; import Establishment from "./components/Establishment/index.vue";
import bxprozbgg from "./components/bxprozbgg/index.vue"; import bxprozbgg from "./components/bxprozbgg/index.vue";
import Tender from "./components/Tender/index.vue";
import "@/assets/styles/public.css"; import "@/assets/styles/public.css";
export default { export default {
name: 'radar', name: 'radar',
components: { debtProject,Land,Establishment,bxprozbgg }, components: { debtProject,Land,Establishment,bxprozbgg,Tender },
data() { data() {
return { return {
// tablist // tablist
...@@ -68,7 +73,7 @@ ...@@ -68,7 +73,7 @@
}, },
{ {
key: 'KeyPersonnel', key: 'Tender',
status: false, status: false,
value: '公招标讯', value: '公招标讯',
......
...@@ -19,7 +19,7 @@ public class CustomerBusinessListVo implements Serializable { ...@@ -19,7 +19,7 @@ public class CustomerBusinessListVo implements Serializable {
/** /**
* 项目名称 * 项目名称
*/ */
private String projcetName; private String projectName;
/** /**
* 项目阶段 * 项目阶段
*/ */
......
...@@ -107,13 +107,13 @@ public class EnterpriseProjectService { ...@@ -107,13 +107,13 @@ public class EnterpriseProjectService {
public TableDataInfo bidPlanPage(Object body) throws Exception { public TableDataInfo bidPlanPage(Object body) throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBodyLocal("/operate/enterpriseProject/bidPlanPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidPlanPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R bidPlanDetail(Object body) throws Exception { public R bidPlanDetail(Object body) throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBodyLocal("/operate/enterpriseProject/bidPlanDetail", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidPlanDetail", BeanUtil.beanToMap(body, false, false));
Map data = MapUtils.getMap(map, "data", null); Map data = MapUtils.getMap(map, "data", null);
String contentId = MapUtils.getString(data, "contentId"); String contentId = MapUtils.getString(data, "contentId");
if (ObjectUtil.isEmpty(contentId)) { if (ObjectUtil.isEmpty(contentId)) {
......
...@@ -2,16 +2,24 @@ package com.dsk.system.dskService; ...@@ -2,16 +2,24 @@ package com.dsk.system.dskService;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.map.MapUtil; import cn.hutool.core.map.MapUtil;
import cn.hutool.json.JSONUtil;
import com.dsk.acc.openapi.client.util.CommonUtils;
import com.dsk.common.core.domain.R; import com.dsk.common.core.domain.R;
import com.dsk.common.core.domain.model.*; import com.dsk.common.core.domain.model.*;
import com.dsk.common.core.page.TableDataInfo; import com.dsk.common.core.page.TableDataInfo;
import com.dsk.common.utils.DskOpenApiUtil; import com.dsk.common.utils.DskOpenApiUtil;
import com.dsk.system.domain.customer.vo.CustomerStatusListVo;
import com.dsk.system.service.ICustomerService;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.collections4.MapUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List;
import java.util.Map; import java.util.Map;
/** /**
...@@ -29,6 +37,9 @@ public class EnterpriseService { ...@@ -29,6 +37,9 @@ public class EnterpriseService {
@Autowired @Autowired
private DskOpenApiUtil dskOpenApiUtil; private DskOpenApiUtil dskOpenApiUtil;
@Autowired
ICustomerService iCustomerService;
public R infoHeader(EnterpriseInfoHeaderBody body) throws Exception { public R infoHeader(EnterpriseInfoHeaderBody body) throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBody("/api/jsk/enterprise/infoHeader", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/api/jsk/enterprise/infoHeader", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
...@@ -136,4 +147,45 @@ public class EnterpriseService { ...@@ -136,4 +147,45 @@ public class EnterpriseService {
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/getUipId", params); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/getUipId", params);
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public TableDataInfo uipSerach(EnterpriseUipSearchBody body) throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/uipSerach", BeanUtil.beanToMap(body, false, false));
Integer code = MapUtils.getInteger(map, "code", 300);
if (200 != code) throw new RuntimeException();
Map data = MapUtils.getMap(map, "data", null);
List<Object> list = CommonUtils.assertAsArray(MapUtils.getObject(data, "list", ""));
if (CollectionUtils.isEmpty(list)) {
return new TableDataInfo(list, 0);
}
ArrayList<String> uipIds = new ArrayList<>();
for (Object dataMap : list) {
uipIds.add(MapUtils.getString(CommonUtils.assertAsMap(dataMap), "uipId"));
}
List<CustomerStatusListVo> claimStatusList = iCustomerService.selectStatusList(uipIds);
//按照城投企业id合并两个list
for (Object companyObj : list) {
Map<String, Object> companyMap = CommonUtils.assertAsMap(companyObj);
String uipId = MapUtils.getString(companyMap, "uipId");
if (CollectionUtils.isEmpty(claimStatusList)) {
companyMap.put("claimStatus", 0);
}
for (CustomerStatusListVo vo : claimStatusList) {
if (uipId.equals(vo.getUipId())) {
companyMap.put("claimStatus", 1);
}
}
}
return new TableDataInfo(list, MapUtils.getInteger(data, "totalCount", 0));
}
public R uipGroupData() throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/uipGroupData", null);
return BeanUtil.toBean(map, R.class);
}
} }
...@@ -90,7 +90,13 @@ public interface BusinessInfoMapper extends BaseMapper<BusinessInfo> ...@@ -90,7 +90,13 @@ public interface BusinessInfoMapper extends BaseMapper<BusinessInfo>
*/ */
BusinessBrowseVo selectTotal(Integer business); BusinessBrowseVo selectTotal(Integer business);
/**
* 查询项目名称是否存在
* @param projectName
* @param userId
* @return
*/
int isRepetitionProjectName(@Param("projectName") String projectName,@Param("userId") Integer userId);
int selectCountByStatusAndCustomerId(@Param("status") Integer status,@Param("customerId") String customerId); int selectCountByStatusAndCustomerId(@Param("status") Integer status,@Param("customerId") String customerId);
......
...@@ -61,7 +61,7 @@ public interface IBusinessInfoService ...@@ -61,7 +61,7 @@ public interface IBusinessInfoService
/** /**
* 项目批量导入 * 项目批量导入
*/ */
AjaxResult batchUpload(MultipartFile file, HttpServletResponse response); AjaxResult batchUpload(MultipartFile file);
/** /**
* 新增项目详情 * 新增项目详情
......
...@@ -6,6 +6,7 @@ import java.util.stream.Collectors; ...@@ -6,6 +6,7 @@ import java.util.stream.Collectors;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.dsk.common.constant.HttpStatus; import com.dsk.common.constant.HttpStatus;
import com.dsk.common.core.domain.AjaxResult; import com.dsk.common.core.domain.AjaxResult;
...@@ -13,6 +14,7 @@ import com.dsk.common.core.domain.entity.BusinessInfo; ...@@ -13,6 +14,7 @@ import com.dsk.common.core.domain.entity.BusinessInfo;
import com.dsk.common.core.domain.entity.BusinessLabel; import com.dsk.common.core.domain.entity.BusinessLabel;
import com.dsk.common.core.domain.entity.BusinessRelateCompany; import com.dsk.common.core.domain.entity.BusinessRelateCompany;
import com.dsk.common.core.domain.entity.BusinessUser; import com.dsk.common.core.domain.entity.BusinessUser;
import com.dsk.common.exception.base.BaseException;
import com.dsk.common.utils.DateUtils; import com.dsk.common.utils.DateUtils;
import com.dsk.common.utils.SecurityUtils; import com.dsk.common.utils.SecurityUtils;
import com.dsk.system.domain.BusinessExcelDto; import com.dsk.system.domain.BusinessExcelDto;
...@@ -28,6 +30,7 @@ import com.dsk.system.mapper.BusinessRelateCompanyMapper; ...@@ -28,6 +30,7 @@ import com.dsk.system.mapper.BusinessRelateCompanyMapper;
import com.dsk.system.mapper.BusinessUserMapper; import com.dsk.system.mapper.BusinessUserMapper;
import com.dsk.system.service.IBusinessInfoService; import com.dsk.system.service.IBusinessInfoService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
...@@ -79,6 +82,11 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService { ...@@ -79,6 +82,11 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
*/ */
@Override @Override
public List<BusinessListVo> selectBusinessInfoList(BusinessListDto dto) { public List<BusinessListVo> selectBusinessInfoList(BusinessListDto dto) {
if (dto.getUserId() == null) {
Long deptId = SecurityUtils.getLoginUser().getDeptId();
if (deptId == null) throw new BaseException("请登录");
dto.setDeptId(deptId.intValue());
}
return businessInfoMapper.selectBusinessInfoList(dto); return businessInfoMapper.selectBusinessInfoList(dto);
} }
...@@ -87,7 +95,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService { ...@@ -87,7 +95,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
BusinessBrowseVo businessBrowseVo = new BusinessBrowseVo(); BusinessBrowseVo businessBrowseVo = new BusinessBrowseVo();
//查询项目基本信息 //查询项目基本信息
BusinessInfo businessInfo = businessInfoMapper.selectBusinessInfoById(businessId); BusinessInfo businessInfo = businessInfoMapper.selectBusinessInfoById(businessId);
BeanUtil.copyProperties(businessInfo,businessBrowseVo); BeanUtil.copyProperties(businessInfo, businessBrowseVo);
//查询项目标签 //查询项目标签
businessBrowseVo.setLabelList(businessLabelMapper.selectBusinessLabelList(new BusinessLabel(businessId)).stream().map(p -> p.getLabel()).collect(Collectors.toList())); businessBrowseVo.setLabelList(businessLabelMapper.selectBusinessLabelList(new BusinessLabel(businessId)).stream().map(p -> p.getLabel()).collect(Collectors.toList()));
//查询关键企业 //查询关键企业
...@@ -106,34 +114,37 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService { ...@@ -106,34 +114,37 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
} }
@Override @Override
public AjaxResult batchUpload(MultipartFile file, HttpServletResponse response) { public AjaxResult batchUpload(MultipartFile file) {
int row=3;//起始行数 //获取当前登录用户id
int rowSuccess=0;//成功条数 Long userId = SecurityUtils.getLoginUser().getUserId();
Integer errorCount=0;//失败条数 // Long userId = 103L;
if (userId == null) return AjaxResult.error("请登录");
int row = 3;//起始行数
int rowSuccess = 0;//成功条数
Integer errorCount = 0;//失败条数
List<String> result = new LinkedList();//导入结果汇总 List<String> result = new LinkedList();//导入结果汇总
List<BusinessExcelDto> businessInfoList = readBusinessInfoExcel.getExcelInfo(file); List<BusinessExcelDto> businessInfoList = readBusinessInfoExcel.getExcelInfo(file);
for (BusinessExcelDto businessInfo : businessInfoList) { for (BusinessExcelDto businessInfo : businessInfoList) {
//查询已有的项目名称 //查询已有的项目名称
Integer count = businessInfoMapper.selectCount(Wrappers.<BusinessInfo>lambdaQuery().eq(BusinessInfo::getProjectName, businessInfo.getProjectName())); Integer count = businessInfoMapper.isRepetitionProjectName(businessInfo.getProjectName(), userId.intValue());
row++; row++;
if(count > 0){ if (count > 0) {
//如果存在,跳过该项目,不保存 //如果存在,跳过该项目,不保存
result.add("第"+row+"行的"+businessInfo.getProjectName()+"的项目已存在,跳过该项目,保存下一条"); result.add("第" + row + "行的" + businessInfo.getProjectName() + "的项目已存在,跳过该项目,保存下一条");
errorCount++; errorCount++;
}else { } else {
//保存到数据库 //保存到数据库
BusinessAddDto businessAddDto = new BusinessAddDto(); BusinessAddDto businessAddDto = new BusinessAddDto();
BeanUtil.copyProperties(businessInfo,businessAddDto); BeanUtil.copyProperties(businessInfo, businessAddDto);
//获取当前登录用户id businessAddDto.setUserId(userId.intValue());
businessAddDto.setUserId(SecurityUtils.getLoginUser().getUserId().intValue());
businessAddDto.setCompanyId(0); businessAddDto.setCompanyId(0);
AjaxResult add = insertBusinessInfo(businessAddDto); AjaxResult add = insertBusinessInfo(businessAddDto);
if(add.get("code").equals(HttpStatus.SUCCESS))rowSuccess++; if (add.get("code").equals(HttpStatus.SUCCESS)) rowSuccess++;
} }
} }
result.add("导入项目成功条数"+rowSuccess); result.add("导入项目成功条数" + rowSuccess);
result.add("导入项目失败条件"+errorCount); result.add("导入项目失败条数" + errorCount);
return errorCount == businessInfoList.size() ? AjaxResult.error(String.join("\n",result),response) : AjaxResult.success(String.join("\n",result),response); return errorCount == businessInfoList.size() ? AjaxResult.error(String.join(",", result)) : AjaxResult.success(String.join(",", result));
} }
/** /**
...@@ -146,8 +157,8 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService { ...@@ -146,8 +157,8 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
@Transactional @Transactional
public AjaxResult insertBusinessInfo(BusinessAddDto dto) { public AjaxResult insertBusinessInfo(BusinessAddDto dto) {
//新增前查询是否已存在 //新增前查询是否已存在
BusinessInfo selectOne = businessInfoMapper.selectOne(Wrappers.<BusinessInfo>lambdaQuery().eq(BusinessInfo::getProjectName, dto.getProjectName())); int count = businessInfoMapper.isRepetitionProjectName(dto.getProjectName(), dto.getUserId());
if(ObjectUtil.isNotEmpty(selectOne)) return AjaxResult.error("项目名称已存在"); if (count > 0) return AjaxResult.error("项目名称已存在");
//新增项目主信息 //新增项目主信息
BusinessInfo businessInfo = new BusinessInfo(); BusinessInfo businessInfo = new BusinessInfo();
BeanUtil.copyProperties(dto, businessInfo); BeanUtil.copyProperties(dto, businessInfo);
...@@ -174,8 +185,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService { ...@@ -174,8 +185,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
*/ */
@Override @Override
@Transactional @Transactional
public int updateBusinessInfo(BusinessInfo businessInfo) public int updateBusinessInfo(BusinessInfo businessInfo) {
{
businessInfo.setUpdateTime(DateUtils.getNowDate()); businessInfo.setUpdateTime(DateUtils.getNowDate());
return businessInfoMapper.updateBusinessInfo(businessInfo); return businessInfoMapper.updateBusinessInfo(businessInfo);
} }
......
...@@ -108,7 +108,8 @@ public class ReadBusinessInfoExcel { ...@@ -108,7 +108,8 @@ public class ReadBusinessInfoExcel {
// List<Map<String, Object>> list = new ArrayList<Map<String, Object>>(); // List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
ArrayList<BusinessExcelDto> list = new ArrayList<>(); ArrayList<BusinessExcelDto> list = new ArrayList<>();
//循环Excel行数 //循环Excel行数
for (int r = 1; r < totalRows; r++) { //
for (int r = 3; r < totalRows; r++) {
Row row = sheet.getRow(r); Row row = sheet.getRow(r);
if (row == null) { if (row == null) {
continue; continue;
...@@ -116,7 +117,7 @@ public class ReadBusinessInfoExcel { ...@@ -116,7 +117,7 @@ public class ReadBusinessInfoExcel {
//循环Excel的列 //循环Excel的列
// Map<String, Object> map = new HashMap<String, Object>(); // Map<String, Object> map = new HashMap<String, Object>();
BusinessExcelDto businessExcelDto = new BusinessExcelDto(); BusinessExcelDto businessExcelDto = new BusinessExcelDto();
for (int c = 3; c < this.totalCells; c++) { for (int c = 0; c < this.totalCells; c++) {
Cell cell = row.getCell(c); Cell cell = row.getCell(c);
if (null != cell) { if (null != cell) {
if (c == 0) { if (c == 0) {
...@@ -147,6 +148,7 @@ public class ReadBusinessInfoExcel { ...@@ -147,6 +148,7 @@ public class ReadBusinessInfoExcel {
//添加到list //添加到list
list.add(businessExcelDto); list.add(businessExcelDto);
} }
log.info("项目批量导入Excel数据,{}",list);
return list; return list;
} }
......
...@@ -29,7 +29,12 @@ ...@@ -29,7 +29,12 @@
<result property="createTime" column="create_time"/> <result property="createTime" column="create_time"/>
<result property="updateTime" column="update_time"/> <result property="updateTime" column="update_time"/>
<result property="status" column="status"/> <result property="status" column="status"/>
<result property="customerId" column="customer_id"/> <result property="evaluationBidWay" column="evaluation_bid_way"/>
<result property="bidOpenTime" column="bid_open_time"/>
<result property="bidOpenPlace" column="bid_open_place"/>
<result property="earnestMoneyPay" column="earnest_money_pay"/>
<result property="earnestMoney" column="earnest_money"/>
<result property="evaluationBidCouncil" column="evaluation_bid_council"/>
</resultMap> </resultMap>
<sql id="selectBusinessInfoVo"> <sql id="selectBusinessInfoVo">
...@@ -57,7 +62,13 @@ ...@@ -57,7 +62,13 @@
create_time, create_time,
update_time, update_time,
status, status,
customer_id customer_id,
evaluation_bid_way,
bid_open_time,
bid_open_place,
earnest_money_pay,
earnest_money,
evaluation_bid_council
from business_info from business_info
</sql> </sql>
...@@ -240,7 +251,12 @@ ...@@ -240,7 +251,12 @@
<if test="createTime != null">create_time,</if> <if test="createTime != null">create_time,</if>
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
<if test="status != null">status,</if> <if test="status != null">status,</if>
<if test="customerId != null">customer_id,</if> <if test="evaluationBidWay != null">evaluation_bid_way,</if>
<if test="bidOpenTime != null">bid_open_time,</if>
<if test="bidOpenPlace != null">bid_open_place,</if>
<if test="earnestMoneyPay != null">earnest_money_pay,</if>
<if test="earnestMoney != null">earnest_money,</if>
<if test="evaluationBidCouncil != null">evaluation_bid_council,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="projectName != null">#{projectName},</if> <if test="projectName != null">#{projectName},</if>
...@@ -267,6 +283,12 @@ ...@@ -267,6 +283,12 @@
<if test="updateTime != null">#{updateTime},</if> <if test="updateTime != null">#{updateTime},</if>
<if test="status != null">#{status},</if> <if test="status != null">#{status},</if>
<if test="customerId != null">#{customerId},</if> <if test="customerId != null">#{customerId},</if>
<if test="evaluationBidWay != null">#{evaluationBidWay},</if>
<if test="bidOpenTime != null">#{bidOpenTime},</if>
<if test="bidOpenPlace != null">#{bidOpenPlace},</if>
<if test="earnestMoneyPay != null">#{earnestMoneyPay},</if>
<if test="earnestMoney != null">#{earnestMoney},</if>
<if test="evaluationBidCouncil != null">#{evaluationBidCouncil},</if>
</trim> </trim>
</insert> </insert>
...@@ -297,6 +319,12 @@ ...@@ -297,6 +319,12 @@
<if test="updateTime != null">update_time = #{updateTime},</if> <if test="updateTime != null">update_time = #{updateTime},</if>
<if test="status != null">status = #{status},</if> <if test="status != null">status = #{status},</if>
<if test="customerId != null">customer_id = #{customerId},</if> <if test="customerId != null">customer_id = #{customerId},</if>
<if test="evaluationBidWay != null">evaluation_bid_way = #{evaluationBidWay},</if>
<if test="bidOpenTime != null">bid_open_time = #{bidOpenTime},</if>
<if test="bidOpenPlace != null">bid_open_place = #{bidOpenPlace},</if>
<if test="earnestMoneyPay != null">earnest_money_pay = #{earnestMoneyPay},</if>
<if test="earnestMoney != null">earnest_money = #{earnestMoney},</if>
<if test="evaluationBidCouncil != null">evaluation_bid_council = #{evaluationBidCouncil},</if>
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>
...@@ -340,8 +368,21 @@ ...@@ -340,8 +368,21 @@
plan_start_time, plan_start_time,
plan_complete_time, plan_complete_time,
build_property, build_property,
project_details project_details,
evaluation_bid_way,
bid_open_time,
bid_open_place,
earnest_money_pay,
earnest_money,
evaluation_bid_council
from business_info from business_info
where id = #{id} where id = #{id}
</select> </select>
<select id="isRepetitionProjectName" resultType="java.lang.Integer">
select count(i.id)
from business_info i
inner join business_user u on u.business_id = i.id
where i.project_name = #{projectName}
and u.user_id = #{userId}
</select>
</mapper> </mapper>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
from customer ct from customer ct
join customer_user ctu on ct.customer_id = ctu.customer_id join customer_user ctu on ct.customer_id = ctu.customer_id
where ctu.user_id = #{userId} and ct.uip_id in where ctu.user_id = #{userId} and ct.uip_id in
<foreach collection="uipIds" item="uipId" open="(" separator="," close=","> <foreach collection="uipIds" item="uipId" open="(" separator="," close=")">
#{uipId} #{uipId}
</foreach> </foreach>
</select> </select>
......
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