Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fulixin
dsk-operate-sys-cscec
Commits
af3fd4d7
Commit
af3fd4d7
authored
Dec 19, 2023
by
liuChang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'V20231129-中建一局二公司' of 192.168.60.201:root/dsk-operate-sys into V20231129-中建一局二公司
parents
4c9b6f4f
877250af
Changes
61
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
61 changed files
with
2056 additions
and
916 deletions
+2056
-916
SysUserController.java
...java/com/dsk/web/controller/system/SysUserController.java
+2
-0
TableDataInfo.java
...src/main/java/com/dsk/common/core/page/TableDataInfo.java
+25
-0
AdvisoryBodyManageController.java
...om/dsk/cscec/controller/AdvisoryBodyManageController.java
+12
-20
AdvisoryBodyProjectController.java
...m/dsk/cscec/controller/AdvisoryBodyProjectController.java
+0
-82
CustomerInfoController.java
...java/com/dsk/cscec/controller/CustomerInfoController.java
+13
-1
DCustomerController.java
...in/java/com/dsk/cscec/controller/DCustomerController.java
+18
-1
CustomerCooperationBo.java
...n/java/com/dsk/cscec/domain/bo/CustomerCooperationBo.java
+44
-0
ProjectDetailBo.java
...rc/main/java/com/dsk/cscec/domain/bo/ProjectDetailBo.java
+24
-0
CustomerCooperationVo.java
...n/java/com/dsk/cscec/domain/vo/CustomerCooperationVo.java
+73
-0
DCustomerListVo.java
...rc/main/java/com/dsk/cscec/domain/vo/DCustomerListVo.java
+171
-0
ProjectDetailVo.java
...rc/main/java/com/dsk/cscec/domain/vo/ProjectDetailVo.java
+11
-2
AdvisoryBodyMapper.java
...rc/main/java/com/dsk/cscec/mapper/AdvisoryBodyMapper.java
+2
-2
AdvisoryBodyProjectMapper.java
.../java/com/dsk/cscec/mapper/AdvisoryBodyProjectMapper.java
+10
-0
DCustomerMapper.java
...i/src/main/java/com/dsk/cscec/mapper/DCustomerMapper.java
+2
-1
DSubcontractMapper.java
...rc/main/java/com/dsk/cscec/mapper/DSubcontractMapper.java
+15
-0
AdvisoryBodyService.java
.../main/java/com/dsk/cscec/service/AdvisoryBodyService.java
+12
-1
ICustomerInfoService.java
...main/java/com/dsk/cscec/service/ICustomerInfoService.java
+10
-0
IDCustomerService.java
...rc/main/java/com/dsk/cscec/service/IDCustomerService.java
+6
-1
IDProjectService.java
...src/main/java/com/dsk/cscec/service/IDProjectService.java
+3
-22
AdvisoryBodyServiceImpl.java
...a/com/dsk/cscec/service/impl/AdvisoryBodyServiceImpl.java
+86
-1
CustomerInfoServiceImpl.java
...a/com/dsk/cscec/service/impl/CustomerInfoServiceImpl.java
+15
-0
DCustomerServiceImpl.java
...java/com/dsk/cscec/service/impl/DCustomerServiceImpl.java
+28
-4
IDProjectServiceImpl.java
...java/com/dsk/cscec/service/impl/IDProjectServiceImpl.java
+39
-109
UrbanInvestmentPlatformController.java
...dsk/jsk/controller/UrbanInvestmentPlatformController.java
+65
-0
MonitorController.java
...in/java/com/dsk/monitor/controlelr/MonitorController.java
+12
-0
PushMonitorRules.java
...ain/java/com/dsk/monitor/domain/dto/PushMonitorRules.java
+2
-2
ConditionVo.java
.../src/main/java/com/dsk/monitor/domain/vo/ConditionVo.java
+13
-6
MonitorQueryMonitorCompanyPageVo.java
...k/monitor/domain/vo/MonitorQueryMonitorCompanyPageVo.java
+24
-0
PushScheduling.java
...api/src/main/java/com/dsk/monitor/job/PushScheduling.java
+50
-50
MonitorService.java
...src/main/java/com/dsk/monitor/service/MonitorService.java
+11
-0
MonitorServiceImpl.java
...java/com/dsk/monitor/service/impl/MonitorServiceImpl.java
+20
-1
AdvisoryBodyMapper.xml
...pi/src/main/resources/mapper/cscec/AdvisoryBodyMapper.xml
+22
-21
AdvisoryBodyProjectMapper.xml
...main/resources/mapper/cscec/AdvisoryBodyProjectMapper.xml
+9
-0
DCustomerMapper.xml
...z-api/src/main/resources/mapper/cscec/DCustomerMapper.xml
+4
-3
DSubcontractMapper.xml
...pi/src/main/resources/mapper/cscec/DSubcontractMapper.xml
+39
-0
index.html
dsk-operate-ui/public/index.html
+1
-1
riskInformation.js
dsk-operate-ui/src/api/detail/party-a/riskInformation.js
+47
-33
monitoring.js
dsk-operate-ui/src/api/monitoring/monitoring.js
+8
-0
supplier.js
dsk-operate-ui/src/api/supplier/supplier.js
+9
-0
index.scss
dsk-operate-ui/src/assets/styles/index.scss
+0
-1
supplierlist.scss
dsk-operate-ui/src/assets/styles/supplierlist.scss
+1
-0
index.js
dsk-operate-ui/src/utils/index.js
+48
-8
detailsOfCooperation.vue
...components/EnterpriseList/detail/detailsOfCooperation.vue
+12
-12
index.vue
...nsultingOrgManagement/components/EnterpriseList/index.vue
+6
-1
HeadFormNew.vue
...ate-ui/src/views/detail/party-a/component/HeadFormNew.vue
+6
-5
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+89
-161
Tables.vue
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
+2
-2
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+82
-84
businfo.vue
dsk-operate-ui/src/views/detail/party-a/overview/businfo.vue
+2
-1
busclue.vue
...i/src/views/detail/party-a/overview/component/busclue.vue
+1
-1
equityFreezing.vue
...c/views/detail/party-a/riskInformation/equityFreezing.vue
+163
-0
limitHighConsumption.vue
...s/detail/party-a/riskInformation/limitHighConsumption.vue
+125
-0
EnterpriseMonitoring.vue
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
+173
-111
MonitorSettings.vue
dsk-operate-ui/src/views/monitoring/MonitorSettings.vue
+81
-53
MonitoringDynamics.vue
dsk-operate-ui/src/views/monitoring/MonitoringDynamics.vue
+91
-37
MonitoringReport.vue
dsk-operate-ui/src/views/monitoring/MonitoringReport.vue
+43
-8
MonitoringReportDetails.vue
...erate-ui/src/views/monitoring/MonitoringReportDetails.vue
+83
-46
ledger.vue
dsk-operate-ui/src/views/supplier/supplierlist/ledger.vue
+36
-4
index.vue
dsk-operate-ui/src/views/system/supplierBad/index.vue
+35
-16
vue.config.js
dsk-operate-ui/vue.config.js
+1
-1
DskOpenApiUtil.java
...em/src/main/java/com/dsk/system/utils/DskOpenApiUtil.java
+19
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/system/SysUserController.java
View file @
af3fd4d7
...
...
@@ -9,6 +9,7 @@ import cn.hutool.core.lang.tree.Tree;
import
cn.hutool.core.util.ArrayUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.dsk.common.annotation.Log
;
import
com.dsk.common.annotation.RepeatSubmit
;
import
com.dsk.common.constant.GlobalConstants
;
import
com.dsk.common.constant.TenantConstants
;
import
com.dsk.common.core.controller.BaseController
;
...
...
@@ -187,6 +188,7 @@ public class SysUserController extends BaseController {
/**
* 新增用户
*/
@RepeatSubmit
@SaCheckPermission
(
"system:user:add"
)
@Log
(
title
=
"用户管理"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
...
...
dsk-common/src/main/java/com/dsk/common/core/page/TableDataInfo.java
View file @
af3fd4d7
...
...
@@ -24,6 +24,11 @@ public class TableDataInfo<T> implements Serializable {
*/
private
long
total
;
/**
* 当前页
*/
private
long
currentPage
;
/**
* 列表数据
*/
...
...
@@ -39,6 +44,11 @@ public class TableDataInfo<T> implements Serializable {
*/
private
String
msg
;
/**
* object
*/
private
Object
object
;
/**
* 分页
*
...
...
@@ -52,12 +62,27 @@ public class TableDataInfo<T> implements Serializable {
this
.
msg
=
"查询成功"
;
}
/**
* 分页
*
* @param list 列表数据
* @param total 总记录数
*/
public
TableDataInfo
(
List
<
T
>
list
,
long
total
,
Object
object
)
{
this
.
rows
=
list
;
this
.
object
=
object
;
this
.
total
=
total
;
this
.
code
=
HttpStatus
.
HTTP_OK
;
this
.
msg
=
"查询成功"
;
}
public
static
<
T
>
TableDataInfo
<
T
>
build
(
IPage
<
T
>
page
)
{
TableDataInfo
<
T
>
rspData
=
new
TableDataInfo
<>();
rspData
.
setCode
(
HttpStatus
.
HTTP_OK
);
rspData
.
setMsg
(
"查询成功"
);
rspData
.
setRows
(
page
.
getRecords
());
rspData
.
setTotal
(
page
.
getTotal
());
rspData
.
setCurrentPage
(
page
.
getCurrent
());
return
rspData
;
}
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/controller/AdvisoryBodyManageController.java
View file @
af3fd4d7
...
...
@@ -5,23 +5,23 @@ import com.dsk.common.core.controller.BaseController;
import
com.dsk.common.core.domain.PageQuery
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.cscec.domain.AdvisoryBody
;
import
com.dsk.cscec.domain.bo.AdvisoryBodySearchBo
;
import
com.dsk.cscec.domain.bo.CooperateProjectDetailSearchBo
;
import
com.dsk.cscec.domain.bo.ProjectDetailBo
;
import
com.dsk.cscec.domain.bo.ProjectSearchBo
;
import
com.dsk.cscec.domain.vo.AdvisoryBodySearchVo
;
import
com.dsk.cscec.domain.vo.CooperateProjectDetailSearchVo
;
import
com.dsk.cscec.domain.vo.ProjectDetailVo
;
import
com.dsk.cscec.domain.vo.ProjectSearchVo
;
import
com.dsk.cscec.service.AdvisoryBodyProjectService
;
import
com.dsk.cscec.service.AdvisoryBodyService
;
import
com.dsk.cscec.service.IDProjectService
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.validation.constraints.NotNull
;
/**
* 咨询机构管理控制层
...
...
@@ -33,11 +33,12 @@ import javax.validation.constraints.NotNull;
@RestController
@RequestMapping
(
"advisory/body"
)
public
class
AdvisoryBodyManageController
extends
BaseController
{
/**
* 服务对象
*/
@Resource
private
IDProjectService
baseService
;
@Resource
private
AdvisoryBodyService
advisoryBodyService
;
@Resource
private
AdvisoryBodyProjectService
advisoryBodyProjectService
;
/**
* 获取所有项目列表数据
...
...
@@ -52,7 +53,7 @@ public class AdvisoryBodyManageController extends BaseController {
*/
@GetMapping
(
"/getAdvisoryBodyList"
)
public
TableDataInfo
<
AdvisoryBodySearchVo
>
getAdvisoryBodyList
(
AdvisoryBodySearchBo
advisoryBodySearchBo
,
PageQuery
pageQuery
)
{
return
base
Service
.
queryAdvisoryBodyList
(
advisoryBodySearchBo
,
pageQuery
);
return
advisoryBody
Service
.
queryAdvisoryBodyList
(
advisoryBodySearchBo
,
pageQuery
);
}
/**
...
...
@@ -66,17 +67,8 @@ public class AdvisoryBodyManageController extends BaseController {
/**
* 根据项目主键查询项目详情
*/
@GetMapping
(
"/getProjectDetail
/{projectKey}
"
)
public
R
<
ProjectDetailVo
>
getProjectDetail
(
@NotNull
(
message
=
"项目主键不能为空"
)
@PathVariable
Long
projectKey
)
{
return
R
.
ok
(
baseService
.
queryProjectDetail
(
project
Key
));
@GetMapping
(
"/getProjectDetail"
)
public
R
<
ProjectDetailVo
>
getProjectDetail
(
ProjectDetailBo
projectDetailBo
)
{
return
R
.
ok
(
baseService
.
queryProjectDetail
(
project
DetailBo
));
}
/**
* 根据咨询机构ID查询咨询机构详情
*/
@GetMapping
(
"/getAdvisoryBodyDetail/{advisoryBodyId}"
)
public
R
<
AdvisoryBody
>
getAdvisoryBodyDetail
(
@NotNull
(
message
=
"咨询机构ID不能为空"
)
@PathVariable
Long
advisoryBodyId
)
{
return
R
.
ok
(
baseService
.
queryAdvisoryBodyDetail
(
advisoryBodyId
));
}
}
}
\ No newline at end of file
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/controller/AdvisoryBodyProjectController.java
deleted
100644 → 0
View file @
4c9b6f4f
package
com
.
dsk
.
cscec
.
controller
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.cscec.service.AdvisoryBodyProjectService
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
/**
* 咨询机构和项目关联表(AdvisoryBodyProject)表控制层
*
* @author sxk
* @since 2023-12-15 15:57:54
*/
@RestController
@RequestMapping
(
"advisoryBodyProject"
)
public
class
AdvisoryBodyProjectController
extends
BaseController
{
/**
* 服务对象
*/
@Resource
private
AdvisoryBodyProjectService
advisoryBodyProjectService
;
///**
// * 分页查询所有数据
// *
// * @param page 分页对象
// * @param advisoryBodyProject 查询实体
// * @return 所有数据
// */
//@GetMapping
//public R selectAll(Page<AdvisoryBodyProject> page, AdvisoryBodyProject advisoryBodyProject) {
// return success(this.advisoryBodyProjectService.page(page, new QueryWrapper<>(advisoryBodyProject)));
//}
//
///**
// * 通过主键查询单条数据
// *
// * @param id 主键
// * @return 单条数据
// */
//@GetMapping("{id}")
//public R selectOne(@PathVariable Serializable id) {
// return success(this.advisoryBodyProjectService.getById(id));
//}
//
///**
// * 新增数据
// *
// * @param advisoryBodyProject 实体对象
// * @return 新增结果
// */
//@PostMapping
//public R insert(@RequestBody AdvisoryBodyProject advisoryBodyProject) {
// return success(this.advisoryBodyProjectService.save(advisoryBodyProject));
//}
//
///**
// * 修改数据
// *
// * @param advisoryBodyProject 实体对象
// * @return 修改结果
// */
//@PutMapping
//public R update(@RequestBody AdvisoryBodyProject advisoryBodyProject) {
// return success(this.advisoryBodyProjectService.updateById(advisoryBodyProject));
//}
//
///**
// * 删除数据
// *
// * @param idList 主键结合
// * @return 删除结果
// */
//@DeleteMapping
//public R delete(@RequestParam("idList") List<Long> idList) {
// return success(this.advisoryBodyProjectService.removeByIds(idList));
//}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/controller/CustomerInfoController.java
View file @
af3fd4d7
...
...
@@ -7,9 +7,11 @@ import com.dsk.common.core.domain.R;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.poi.ExcelUtil
;
import
com.dsk.cscec.domain.bo.AdvisoryBodyBo
;
import
com.dsk.cscec.domain.bo.CustomerCooperationBo
;
import
com.dsk.cscec.domain.bo.CustomerInfoBo
;
import
com.dsk.cscec.domain.vo.AdvisoryBodyVo
;
import
com.dsk.cscec.domain.vo.CustomerApproveVo
;
import
com.dsk.cscec.domain.vo.CustomerCooperationVo
;
import
com.dsk.cscec.domain.vo.CustomerInfoVo
;
import
com.dsk.cscec.service.ICustomerInfoService
;
import
lombok.RequiredArgsConstructor
;
...
...
@@ -63,10 +65,20 @@ public class CustomerInfoController extends BaseController {
/**
* 合作记录-供应商准入情况
*/
@GetMapping
(
"/
getA
pproveInfo"
)
@GetMapping
(
"/
a
pproveInfo"
)
public
R
<
CustomerApproveVo
>
getApproveInfo
(
CustomerInfoBo
bo
)
{
return
R
.
ok
(
iCustomerInfoService
.
queryApproveByBo
(
bo
));
}
/**
* 内部合作-供应商合作记录
*/
@GetMapping
(
"/cooperationList"
)
public
TableDataInfo
<
CustomerCooperationVo
>
cooperationList
(
@Validated
CustomerCooperationBo
bo
,
PageQuery
query
)
{
return
iCustomerInfoService
.
queryCooperationList
(
bo
,
query
);
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/controller/DCustomerController.java
View file @
af3fd4d7
...
...
@@ -5,12 +5,19 @@ import com.dsk.common.core.controller.BaseController;
import
com.dsk.common.core.domain.PageQuery
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.excel.ExcelUtils
;
import
com.dsk.cscec.domain.DCustomer
;
import
com.dsk.cscec.domain.bo.DCustomerSearchBo
;
import
com.dsk.cscec.domain.vo.DCustomerListVo
;
import
com.dsk.cscec.service.IDCustomerService
;
import
com.dsk.jsk.domain.JskCombineSearchDto
;
import
com.dsk.jsk.domain.vo.JskCombineWinBidProjectExportVo
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 组织维表(DCustomer)表控制层
*
...
...
@@ -30,7 +37,7 @@ public class DCustomerController extends BaseController {
* 供应商总台账筛选
*/
@PostMapping
(
"/all/searchList"
)
public
TableDataInfo
<
DCustomer
>
allSearchList
(
@RequestBody
DCustomerSearchBo
bo
,
@RequestBody
PageQuery
query
)
{
public
TableDataInfo
<
DCustomer
ListVo
>
allSearchList
(
@RequestBody
DCustomerSearchBo
bo
,
@RequestBody
PageQuery
query
)
{
return
baseService
.
allSearchList
(
bo
,
query
);
}
...
...
@@ -42,6 +49,16 @@ public class DCustomerController extends BaseController {
return
R
.
ok
(
baseService
.
getById
(
customerKey
));
}
/**
* 供应商信息
*/
@PostMapping
(
"/export"
)
public
void
export
(
@RequestBody
DCustomerSearchBo
bo
,
HttpServletResponse
response
)
{
List
<
DCustomerListVo
>
list
=
baseService
.
exportList
(
bo
);
ExcelUtils
<
DCustomerListVo
>
util
=
new
ExcelUtils
<>(
DCustomerListVo
.
class
);
util
.
exportExcel
(
response
,
list
,
"sheet1"
,
"大数据经营管理支撑服务平台供应商导出"
,
true
);
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/bo/CustomerCooperationBo.java
0 → 100644
View file @
af3fd4d7
package
com
.
dsk
.
cscec
.
domain
.
bo
;
import
lombok.Data
;
import
java.util.List
;
/**
* 供应商合作记录
*
* @author
* @since 2023-12-18
*/
@Data
public
class
CustomerCooperationBo
{
/**
* 签订单位ID
*/
private
String
signOrgId
;
/**
* 签订单位名称
*/
private
String
signOrgName
;
/**
* 供应商ID
*/
private
String
customerId
;
/**
* 供应商名称
*/
private
String
customerName
;
/**
* 区域名称
*/
private
List
<
String
>
areaName
;
/**
* 省份名称
*/
private
List
<
String
>
provinceName
;
/**
* 城市名称
*/
private
List
<
String
>
cityName
;
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/bo/ProjectDetailBo.java
0 → 100644
View file @
af3fd4d7
package
com
.
dsk
.
cscec
.
domain
.
bo
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
/**
* @author sxk
* @date 2023.12.18
* @time 17:43
*/
@Data
public
class
ProjectDetailBo
{
/**
* 项目主键
*/
@NotNull
(
message
=
"项目主键不能为空"
)
private
Long
projectKey
;
/**
* 咨询机构Cid
*/
@NotNull
(
message
=
"咨询机构Cid不能为空"
)
private
Long
advisoryBodyCid
;
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/vo/CustomerCooperationVo.java
0 → 100644
View file @
af3fd4d7
package
com
.
dsk
.
cscec
.
domain
.
vo
;
import
lombok.Data
;
/**
* 供应商合作记录
*
* @author
* @since 2023-12-18
*/
@Data
public
class
CustomerCooperationVo
{
/**
* 分包合同主键
*/
private
Long
subcontractKey
;
/**
* 分包合同ID
*/
private
String
subcontractId
;
/**
* 项目名称
*/
private
String
projectName
;
/**
* 分包合同金额
*/
private
Double
subcontractValue
;
/**
* 签订单位ID
*/
private
String
signOrgId
;
/**
* 签订单位名称
*/
private
String
signOrgName
;
/**
* 合同签订日期
*/
private
String
signDate
;
/**
* 分包范围
*/
private
String
jobScope
;
/**
* 结算价
*/
private
Double
settleValue
;
/**
* 区域名称
*/
private
String
areaName
;
/**
* 省份名称
*/
private
String
provinceName
;
/**
* 城市名称
*/
private
String
cityName
;
/**
* 项目经理名称
*/
private
String
projectManagerName
;
/**
* 项目经理电话
*/
private
String
projectManagerPhone
;
/**
* 工程类型名称
*/
private
String
projectType2
;
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/vo/DCustomerListVo.java
0 → 100644
View file @
af3fd4d7
package
com
.
dsk
.
cscec
.
domain
.
vo
;
import
com.dsk.common.annotation.Excel
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Author lcl
* @Data 2023/12/18 14:14
*/
@Data
public
class
DCustomerListVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Excel
(
name
=
"序号"
,
width
=
6
)
private
Integer
num
;
/**
* jsk企业id
*/
private
Integer
companyId
;
/**
* 客商主键
*/
private
Long
customerKey
;
/**
* ipm供应商id
*/
private
String
customerId
;
/**
* 税号
*/
private
String
taxNumber
;
/**
* 供应商名称
*/
@Excel
(
name
=
"供应商名称"
,
width
=
30
)
private
String
customerName
;
/**
* 供应商编号
*/
@Excel
(
name
=
"供应商编号"
,
width
=
15
)
private
String
customerCode
;
/**
* 推荐公司
*/
@Excel
(
name
=
"推荐单位"
,
width
=
30
)
private
String
recommendOrg
;
/**
* 注册地区域
*/
@Excel
(
name
=
"公司注册区域"
,
width
=
10
)
private
String
registerRegion
;
/**
* 省份
*/
@Excel
(
name
=
"公司注册省"
,
width
=
10
)
private
String
registerProvince
;
/**
* 城市
*/
@Excel
(
name
=
"公司注册市"
,
width
=
10
)
private
String
registerCity
;
/**
* 供应商类别
*/
@Excel
(
name
=
"供应商类别"
,
width
=
10
)
private
String
customerClass
;
/**
* 集团专业类别
*/
@Excel
(
name
=
"专业类别"
,
width
=
20
)
private
String
groupSpecialty
;
/**
* 纳税人身份
*/
@Excel
(
name
=
"纳税人身份"
,
width
=
10
)
private
String
paytaxType
;
/**
* 纳税人税率
*/
@Excel
(
name
=
"纳税人税率"
,
width
=
10
)
private
String
taxRate
;
/**
* 供应商状态
*/
@Excel
(
name
=
"状态"
,
width
=
10
)
private
String
customerState
;
/**
* 限用/禁用状态
*/
@Excel
(
name
=
"限用/禁用状态"
,
width
=
10
)
private
String
badnessState
;
/**
* 队长名称
*/
@Excel
(
name
=
"劳务队长"
,
width
=
10
)
private
String
leaderName
;
/**
* 劳务队长联系电话
*/
@Excel
(
name
=
"队长联系电话"
,
width
=
10
)
private
String
laborCaptainPhone
;
/**
* 劳务队长身份证号
*/
@Excel
(
name
=
"队长身份证号"
,
width
=
10
)
private
String
laborCaptainIdcard
;
/**
* 队伍规模人数
*/
@Excel
(
name
=
"队伍规模"
,
width
=
10
)
private
Double
serviceTeamPersonnum
;
/**
* 专业特长
*/
@Excel
(
name
=
"专业特长"
,
width
=
10
)
private
String
serviceTeamSpeciality
;
/**
* 施工承包范围
*/
@Excel
(
name
=
"施工承包范围"
,
width
=
25
)
private
String
constructJobScope
;
/**
* 资质等级
*/
@Excel
(
name
=
"资质等级"
,
width
=
10
)
private
String
credential
;
/**
* 注册资金
*/
@Excel
(
name
=
"注册资金(万元)"
,
width
=
10
)
private
Double
registerCapital
;
/**
* 联系人
*/
@Excel
(
name
=
"公司联系人"
,
width
=
10
)
private
String
contactPerson
;
/**
* 电话
*/
@Excel
(
name
=
"联系人电话"
,
width
=
10
)
private
String
contactPhone
;
/**
* 准入时间
*/
@Excel
(
name
=
"准入时间"
,
width
=
10
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
approveDate2
;
/**
* 企业合作数量
*/
@Excel
(
name
=
"公司合作数量"
,
width
=
10
)
private
Integer
enterpriseCooperationCount
;
/**
* 项目合作数量
*/
@Excel
(
name
=
"合作项目数量"
,
width
=
10
)
private
Integer
projectCooperationCount
;
/**
* 考评等级
*/
@Excel
(
name
=
"分包商等级"
,
width
=
10
)
private
String
creditLevel
;
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/vo/ProjectDetailVo.java
View file @
af3fd4d7
package
com
.
dsk
.
cscec
.
domain
.
vo
;
import
com.dsk.cscec.domain.AdvisoryBody
;
import
com.dsk.cscec.domain.DProject
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
...
...
@@ -17,7 +18,15 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
public
class
ProjectDetailVo
extends
DProject
{
/**
* 咨询机构
名称
* 咨询机构
*/
private
String
advisoryBodyName
;
private
AdvisoryBody
advisoryBody
;
/**
* 法定代表人
*/
private
String
corporatePerson
;
/**
* 注册地址
*/
private
String
regAddress
;
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/mapper/AdvisoryBodyMapper.java
View file @
af3fd4d7
...
...
@@ -34,11 +34,11 @@ public interface AdvisoryBodyMapper extends BaseMapper<AdvisoryBody> {
Page
<
AdvisoryBodyVo
>
queryListByBo
(
IPage
<
AdvisoryBodyBo
>
build
,
@Param
(
"bo"
)
AdvisoryBodyBo
bo
);
/**
* 根据咨询机构名称查询
对应的项目ID
s
* 根据咨询机构名称查询
咨询机构Cid
s
* @param advisoryBodyName 咨询机构名称
* @return 项目IDs
*/
List
<
Long
>
select
ProjectIdsByAdvisoryBod
yName
(
@Param
(
"advisoryBodyName"
)
String
advisoryBodyName
);
List
<
Long
>
select
AdvisoryBodyCidsB
yName
(
@Param
(
"advisoryBodyName"
)
String
advisoryBodyName
);
/**
* 根据项目主键查询咨询机构
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/mapper/AdvisoryBodyProjectMapper.java
View file @
af3fd4d7
...
...
@@ -2,6 +2,9 @@ package com.dsk.cscec.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.dsk.cscec.domain.AdvisoryBodyProject
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 咨询机构和项目关联表(AdvisoryBodyProject)表数据库访问层
...
...
@@ -11,5 +14,12 @@ import com.dsk.cscec.domain.AdvisoryBodyProject;
*/
public
interface
AdvisoryBodyProjectMapper
extends
BaseMapper
<
AdvisoryBodyProject
>
{
/**
* 根据咨询机构Cids查询项目Keys
*
* @param advisoryBodyCids 咨询机构Cids
* @return 项目Keys
*/
List
<
Long
>
selectProjectKeysByAdvisoryBodyCids
(
@Param
(
"advisoryBodyCids"
)
List
<
Long
>
advisoryBodyCids
);
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/mapper/DCustomerMapper.java
View file @
af3fd4d7
...
...
@@ -8,6 +8,7 @@ import com.dsk.cscec.domain.DCustomer;
import
com.dsk.cscec.domain.bo.CustomerInfoBo
;
import
com.dsk.cscec.domain.bo.DCustomerSearchBo
;
import
com.dsk.cscec.domain.vo.CustomerInfoVo
;
import
com.dsk.cscec.domain.vo.DCustomerListVo
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
...
...
@@ -20,7 +21,7 @@ import java.util.List;
*/
public
interface
DCustomerMapper
extends
BaseMapper
<
DCustomer
>
{
Page
<
DCustomer
>
allSearchList
(
IPage
<
DCustomerSearchBo
>
build
,
@Param
(
"bo"
)
DCustomerSearchBo
bo
);
Page
<
DCustomer
ListVo
>
allSearchList
(
IPage
<
DCustomerSearchBo
>
build
,
@Param
(
"bo"
)
DCustomerSearchBo
bo
);
/**
* 分类查询供应商列表
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/mapper/DSubcontractMapper.java
View file @
af3fd4d7
...
...
@@ -2,7 +2,13 @@ package com.dsk.cscec.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.dsk.cscec.domain.DSubcontract
;
import
com.dsk.cscec.domain.vo.DCustomerListVo
;
import
com.dsk.cscec.domain.bo.CustomerCooperationBo
;
import
com.dsk.cscec.domain.vo.CustomerCooperationVo
;
import
org.apache.ibatis.annotations.Param
;
/**
* 分包分供合同(DSubcontract)表数据库访问层
...
...
@@ -16,5 +22,14 @@ public interface DSubcontractMapper extends BaseMapper<DSubcontract> {
Integer
selectProjectCountByCustomerId
(
String
customerId
);
DCustomerListVo
selectStatisticByCustomerId
(
String
customerId
);
/**
* 供应商合作记录
* @param build
* @param bo
* @return
*/
Page
<
CustomerCooperationVo
>
selectCooperationList
(
IPage
<
CustomerCooperationBo
>
build
,
@Param
(
"bo"
)
CustomerCooperationBo
bo
);
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/AdvisoryBodyService.java
View file @
af3fd4d7
package
com
.
dsk
.
cscec
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.dsk.common.core.domain.PageQuery
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.cscec.domain.AdvisoryBody
;
import
com.dsk.cscec.domain.bo.AdvisoryBodySearchBo
;
import
com.dsk.cscec.domain.vo.AdvisoryBodySearchVo
;
/**
* 咨询机构(SysAdvisoryBody)表服务接口
...
...
@@ -10,6 +14,13 @@ import com.dsk.cscec.domain.AdvisoryBody;
* @since 2023-12-12 10:12:09
*/
public
interface
AdvisoryBodyService
extends
IService
<
AdvisoryBody
>
{
/**
* 获取所有企业列表(咨询机构)数据
*
* @param advisoryBodySearchBo 查询实体
* @param pageQuery 分页对象
* @return 所有数据
*/
TableDataInfo
<
AdvisoryBodySearchVo
>
queryAdvisoryBodyList
(
AdvisoryBodySearchBo
advisoryBodySearchBo
,
PageQuery
pageQuery
);
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/ICustomerInfoService.java
View file @
af3fd4d7
...
...
@@ -5,9 +5,11 @@ import com.dsk.common.core.domain.PageQuery;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.cscec.domain.DCustomer
;
import
com.dsk.cscec.domain.bo.AdvisoryBodyBo
;
import
com.dsk.cscec.domain.bo.CustomerCooperationBo
;
import
com.dsk.cscec.domain.bo.CustomerInfoBo
;
import
com.dsk.cscec.domain.vo.AdvisoryBodyVo
;
import
com.dsk.cscec.domain.vo.CustomerApproveVo
;
import
com.dsk.cscec.domain.vo.CustomerCooperationVo
;
import
com.dsk.cscec.domain.vo.CustomerInfoVo
;
/**
...
...
@@ -23,4 +25,12 @@ public interface ICustomerInfoService extends IService<DCustomer> {
CustomerApproveVo
queryApproveByBo
(
CustomerInfoBo
bo
);
TableDataInfo
<
AdvisoryBodyVo
>
queryAdvisoryList
(
AdvisoryBodyBo
bo
,
PageQuery
query
);
/**
* 供应商合作记录
* @param bo
* @param query
* @return
*/
TableDataInfo
<
CustomerCooperationVo
>
queryCooperationList
(
CustomerCooperationBo
bo
,
PageQuery
query
);
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/IDCustomerService.java
View file @
af3fd4d7
...
...
@@ -5,6 +5,9 @@ import com.dsk.common.core.domain.PageQuery;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.cscec.domain.DCustomer
;
import
com.dsk.cscec.domain.bo.DCustomerSearchBo
;
import
com.dsk.cscec.domain.vo.DCustomerListVo
;
import
java.util.List
;
/**
* 组织维表(DCustomer)表服务接口
...
...
@@ -14,7 +17,9 @@ import com.dsk.cscec.domain.bo.DCustomerSearchBo;
*/
public
interface
IDCustomerService
extends
IService
<
DCustomer
>
{
TableDataInfo
<
DCustomer
>
allSearchList
(
DCustomerSearchBo
bo
,
PageQuery
query
);
TableDataInfo
<
DCustomerListVo
>
allSearchList
(
DCustomerSearchBo
bo
,
PageQuery
query
);
List
<
DCustomerListVo
>
exportList
(
DCustomerSearchBo
bo
);
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/IDProjectService.java
View file @
af3fd4d7
...
...
@@ -3,12 +3,10 @@ package com.dsk.cscec.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.dsk.common.core.domain.PageQuery
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.cscec.domain.AdvisoryBody
;
import
com.dsk.cscec.domain.DProject
;
import
com.dsk.cscec.domain.bo.AdvisoryBodySearchBo
;
import
com.dsk.cscec.domain.bo.CooperateProjectDetailSearchBo
;
import
com.dsk.cscec.domain.bo.ProjectDetailBo
;
import
com.dsk.cscec.domain.bo.ProjectSearchBo
;
import
com.dsk.cscec.domain.vo.AdvisoryBodySearchVo
;
import
com.dsk.cscec.domain.vo.CooperateProjectDetailSearchVo
;
import
com.dsk.cscec.domain.vo.ProjectDetailVo
;
import
com.dsk.cscec.domain.vo.ProjectSearchVo
;
...
...
@@ -29,15 +27,6 @@ public interface IDProjectService extends IService<DProject> {
*/
TableDataInfo
<
ProjectSearchVo
>
queryProjectList
(
ProjectSearchBo
projectSearchBo
,
PageQuery
pageQuery
);
/**
* 获取所有企业列表(咨询机构)数据
*
* @param advisoryBodySearchBo 查询实体
* @param pageQuery 分页对象
* @return 所有数据
*/
TableDataInfo
<
AdvisoryBodySearchVo
>
queryAdvisoryBodyList
(
AdvisoryBodySearchBo
advisoryBodySearchBo
,
PageQuery
pageQuery
);
/**
* 获取合作项目明细
*
...
...
@@ -50,17 +39,9 @@ public interface IDProjectService extends IService<DProject> {
/**
* 根据项目主键查询项目详情
*
* @param project
Key 项目主键
* @param project
DetailBo 查询实体
* @return 项目详情
*/
ProjectDetailVo
queryProjectDetail
(
Long
projectKey
);
/**
* 根据咨询机构ID查询咨询机构详情
*
* @param advisoryBodyId 咨询机构ID
* @return 咨询机构详情
*/
AdvisoryBody
queryAdvisoryBodyDetail
(
Long
advisoryBodyId
);
ProjectDetailVo
queryProjectDetail
(
ProjectDetailBo
projectDetailBo
);
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/impl/AdvisoryBodyServiceImpl.java
View file @
af3fd4d7
package
com
.
dsk
.
cscec
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.dsk.cscec.mapper.AdvisoryBodyMapper
;
import
com.dsk.common.core.domain.PageQuery
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.StringUtils
;
import
com.dsk.cscec.domain.AdvisoryBody
;
import
com.dsk.cscec.domain.AdvisoryBodyProject
;
import
com.dsk.cscec.domain.bo.AdvisoryBodySearchBo
;
import
com.dsk.cscec.domain.vo.AdvisoryBodySearchVo
;
import
com.dsk.cscec.mapper.AdvisoryBodyMapper
;
import
com.dsk.cscec.mapper.AdvisoryBodyProjectMapper
;
import
com.dsk.cscec.service.AdvisoryBodyService
;
import
com.dsk.jsk.domain.EnterpriseInfoHeaderBody
;
import
com.dsk.system.utils.DskOpenApiUtil
;
import
org.apache.commons.collections4.MapUtils
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.Map
;
/**
* 咨询机构(SysAdvisoryBody)表服务实现类
*
...
...
@@ -14,6 +34,71 @@ import org.springframework.stereotype.Service;
*/
@Service
(
"advisoryBodyService"
)
public
class
AdvisoryBodyServiceImpl
extends
ServiceImpl
<
AdvisoryBodyMapper
,
AdvisoryBody
>
implements
AdvisoryBodyService
{
@Resource
private
AdvisoryBodyMapper
baseMapper
;
@Resource
private
DskOpenApiUtil
dskOpenApiUtil
;
@Resource
private
AdvisoryBodyProjectMapper
advisoryBodyProjectMapper
;
/**
* 获取所有企业列表(咨询机构)数据
*
* @param advisoryBodySearchBo 查询实体
* @param pageQuery 分页对象
* @return 所有数据
*/
@Override
public
TableDataInfo
<
AdvisoryBodySearchVo
>
queryAdvisoryBodyList
(
AdvisoryBodySearchBo
advisoryBodySearchBo
,
PageQuery
pageQuery
)
{
//先按照分页要求从咨询机构表中查出分页数据
QueryWrapper
<
AdvisoryBody
>
wrapper
=
Wrappers
.
query
();
wrapper
.
like
(
StringUtils
.
isNotBlank
(
advisoryBodySearchBo
.
getAdvisoryBodyName
()),
"advisory_body_name"
,
advisoryBodySearchBo
.
getAdvisoryBodyName
())
.
between
(
ObjectUtil
.
isNotNull
(
advisoryBodySearchBo
.
getMinLastCooperateDate
())
&&
ObjectUtil
.
isNotNull
(
advisoryBodySearchBo
.
getMaxLastCooperateDate
()),
"create_time"
,
advisoryBodySearchBo
.
getMinLastCooperateDate
(),
advisoryBodySearchBo
.
getMaxLastCooperateDate
())
.
like
(
StringUtils
.
isNotBlank
(
advisoryBodySearchBo
.
getBusinessScope
()),
"business_scope"
,
advisoryBodySearchBo
.
getBusinessScope
());
Page
<
AdvisoryBodySearchVo
>
page
=
baseMapper
.
selectPageAdvisoryBodyList
(
pageQuery
.
build
(),
wrapper
);
//根据咨询机构cid查询对应的企业信息
for
(
AdvisoryBodySearchVo
advisoryBodySearchVo
:
page
.
getRecords
())
{
EnterpriseInfoHeaderBody
infoHeaderBody
=
new
EnterpriseInfoHeaderBody
();
//有Cid的才去建设库查数据
if
(
ObjectUtil
.
isNotNull
(
advisoryBodySearchVo
.
getAdvisoryBodyCid
()))
{
infoHeaderBody
.
setCompanyId
(
Math
.
toIntExact
(
advisoryBodySearchVo
.
getAdvisoryBodyCid
()));
}
else
{
continue
;
}
Map
<
String
,
Object
>
companyMap
=
dskOpenApiUtil
.
requestBody
(
"/api/jsk/enterprise/infoHeader"
,
BeanUtil
.
beanToMap
(
infoHeaderBody
,
false
,
false
));
Map
companyData
=
MapUtils
.
getMap
(
companyMap
,
"data"
,
null
);
//最近一次合作时间
List
<
AdvisoryBodyProject
>
advisoryBodyProjectList
=
advisoryBodyProjectMapper
.
selectList
(
new
LambdaQueryWrapper
<
AdvisoryBodyProject
>()
.
select
(
AdvisoryBodyProject:
:
getCreateTime
)
.
eq
(
AdvisoryBodyProject:
:
getAdvisoryBodyCid
,
advisoryBodySearchVo
.
getAdvisoryBodyCid
())
.
orderByDesc
(
AdvisoryBodyProject:
:
getCreateTime
));
if
(
ObjectUtil
.
isNotNull
(
advisoryBodyProjectList
)
&&
!
advisoryBodyProjectList
.
isEmpty
())
{
advisoryBodySearchVo
.
setLastCooperateTime
(
advisoryBodyProjectList
.
get
(
0
).
getCreateTime
());
}
//经营范围
advisoryBodySearchVo
.
setBusinessStatus
(
MapUtils
.
getString
(
companyData
,
"businessStatus"
,
""
));
//法人
advisoryBodySearchVo
.
setCorporatePerson
(
MapUtils
.
getString
(
companyData
,
"corporatePerson"
,
""
));
//注册资本
advisoryBodySearchVo
.
setRegCapital
(
MapUtils
.
getString
(
companyData
,
"regCapital"
,
""
));
//拼接地区
String
provinceName
=
MapUtils
.
getString
(
companyData
,
"provinceName"
,
""
);
String
cityName
=
MapUtils
.
getString
(
companyData
,
"cityName"
,
""
);
String
districtName
=
MapUtils
.
getString
(
companyData
,
"districtName"
,
""
);
advisoryBodySearchVo
.
setRegArea
(
provinceName
+
"-"
+
cityName
+
"-"
+
districtName
);
//成立日期
advisoryBodySearchVo
.
setRegisteredDate
(
MapUtils
.
getString
(
companyData
,
"registeredDate"
,
""
));
//经营范围
advisoryBodySearchVo
.
setBusinessScope
(
MapUtils
.
getString
(
companyData
,
"businessScope"
,
""
));
//合作项目数量
advisoryBodySearchVo
.
setCooperateProjectCount
(
advisoryBodyProjectMapper
.
selectCount
(
new
LambdaQueryWrapper
<
AdvisoryBodyProject
>()
.
eq
(
AdvisoryBodyProject:
:
getAdvisoryBodyCid
,
advisoryBodySearchVo
.
getAdvisoryBodyCid
())));
}
return
TableDataInfo
.
build
(
page
);
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/impl/CustomerInfoServiceImpl.java
View file @
af3fd4d7
...
...
@@ -14,9 +14,11 @@ import com.dsk.common.core.page.TableDataInfo;
import
com.dsk.cscec.constant.QueryConstants
;
import
com.dsk.cscec.domain.DCustomer
;
import
com.dsk.cscec.domain.bo.AdvisoryBodyBo
;
import
com.dsk.cscec.domain.bo.CustomerCooperationBo
;
import
com.dsk.cscec.domain.bo.CustomerInfoBo
;
import
com.dsk.cscec.domain.vo.AdvisoryBodyVo
;
import
com.dsk.cscec.domain.vo.CustomerApproveVo
;
import
com.dsk.cscec.domain.vo.CustomerCooperationVo
;
import
com.dsk.cscec.domain.vo.CustomerInfoVo
;
import
com.dsk.cscec.mapper.AdvisoryBodyMapper
;
import
com.dsk.cscec.mapper.DCustomerMapper
;
...
...
@@ -48,6 +50,9 @@ public class CustomerInfoServiceImpl extends ServiceImpl<DCustomerMapper, DCusto
@Autowired
private
AdvisoryBodyMapper
advisoryBodyMapper
;
@Autowired
private
DSubcontractMapper
dSubcontractMapper
;
@Override
public
TableDataInfo
<
CustomerInfoVo
>
queryPageList
(
CustomerInfoBo
bo
,
PageQuery
query
)
{
if
(
"劳务分包"
.
equals
(
bo
.
getCustomerClass
())){
...
...
@@ -101,4 +106,14 @@ public class CustomerInfoServiceImpl extends ServiceImpl<DCustomerMapper, DCusto
Page
<
AdvisoryBodyVo
>
page
=
advisoryBodyMapper
.
queryListByBo
(
query
.
build
(),
bo
);
return
TableDataInfo
.
build
(
page
);
}
@Override
public
TableDataInfo
<
CustomerCooperationVo
>
queryCooperationList
(
CustomerCooperationBo
bo
,
PageQuery
query
)
{
if
(
StringUtil
.
isBlank
(
bo
.
getCustomerId
())
&&
StringUtil
.
isBlank
(
bo
.
getCustomerName
())){
Assert
.
isTrue
(
false
,
"供应商不能为空"
);
}
bo
.
setSignOrgId
(
QueryConstants
.
LEVEL1_COMPANY_ID
);
Page
<
CustomerCooperationVo
>
page
=
dSubcontractMapper
.
selectCooperationList
(
query
.
build
(),
bo
);
return
TableDataInfo
.
build
(
page
);
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/impl/DCustomerServiceImpl.java
View file @
af3fd4d7
...
...
@@ -7,8 +7,10 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.dsk.common.core.domain.PageQuery
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.StringUtils
;
import
com.dsk.cscec.domain.DCustomer
;
import
com.dsk.cscec.domain.bo.DCustomerSearchBo
;
import
com.dsk.cscec.domain.vo.DCustomerListVo
;
import
com.dsk.cscec.mapper.DCustomerMapper
;
import
com.dsk.cscec.mapper.DSubcontractMapper
;
import
com.dsk.cscec.service.IDCustomerService
;
...
...
@@ -39,15 +41,20 @@ public class DCustomerServiceImpl extends ServiceImpl<DCustomerMapper, DCustomer
private
BusinessOpportunityRadarService
opportunityRadarService
;
@Override
public
TableDataInfo
<
DCustomer
>
allSearchList
(
DCustomerSearchBo
bo
,
PageQuery
query
)
{
public
TableDataInfo
<
DCustomer
ListVo
>
allSearchList
(
DCustomerSearchBo
bo
,
PageQuery
query
)
{
dealWithCustomerClass
(
bo
);
Page
<
DCustomer
>
page
=
baseMapper
.
allSearchList
(
query
.
build
(),
bo
);
Page
<
DCustomer
ListVo
>
page
=
baseMapper
.
allSearchList
(
query
.
build
(),
bo
);
if
(
CollectionUtils
.
isNotEmpty
(
page
.
getRecords
()))
{
page
.
getRecords
().
parallelStream
().
forEach
(
item
->{
DCustomerListVo
vo
=
subcontractMapper
.
selectStatisticByCustomerId
(
item
.
getCustomerId
());
//企业合作数量
item
.
setEnterpriseCooperationCount
(
subcontractMapper
.
selectEnterpriseCountByCustomerId
(
item
.
getCustomerId
()
));
item
.
setEnterpriseCooperationCount
(
vo
.
getEnterpriseCooperationCount
(
));
//项目合作数量
item
.
setProjectCooperationCount
(
subcontractMapper
.
selectProjectCountByCustomerId
(
item
.
getCustomerId
()));
item
.
setProjectCooperationCount
(
vo
.
getProjectCooperationCount
());
//关键字标红
if
(!
ObjectUtils
.
isEmpty
(
bo
.
getCustomerName
())){
item
.
setCustomerName
(
StringUtils
.
markInRed
(
item
.
getCustomerName
(),
bo
.
getCustomerName
()));
}
try
{
Map
<
String
,
Object
>
map
=
opportunityRadarService
.
enterpriseByName
(
item
.
getCustomerName
());
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"data"
)))
{
...
...
@@ -63,6 +70,23 @@ public class DCustomerServiceImpl extends ServiceImpl<DCustomerMapper, DCustomer
return
TableDataInfo
.
build
(
page
);
}
@Override
public
List
<
DCustomerListVo
>
exportList
(
DCustomerSearchBo
bo
)
{
dealWithCustomerClass
(
bo
);
PageQuery
query
=
new
PageQuery
();
List
<
DCustomerListVo
>
records
=
baseMapper
.
allSearchList
(
query
.
build
(),
bo
).
getRecords
();
if
(
CollectionUtils
.
isNotEmpty
(
records
)){
records
.
parallelStream
().
forEach
(
item
->{
DCustomerListVo
vo
=
subcontractMapper
.
selectStatisticByCustomerId
(
item
.
getCustomerId
());
//企业合作数量
item
.
setEnterpriseCooperationCount
(
vo
.
getEnterpriseCooperationCount
());
//项目合作数量
item
.
setProjectCooperationCount
(
vo
.
getProjectCooperationCount
());
});
}
return
records
;
}
private
void
dealWithCustomerClass
(
DCustomerSearchBo
bo
)
{
if
(!
ObjectUtils
.
isEmpty
(
bo
.
getCustomerClass
()))
{
List
<
String
>
list
=
new
ArrayList
<>();
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/impl/IDProjectServiceImpl.java
View file @
af3fd4d7
This diff is collapsed.
Click to expand it.
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/controller/UrbanInvestmentPlatformController.java
0 → 100644
View file @
af3fd4d7
package
com
.
dsk
.
jsk
.
controller
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.jsk.domain.bo.UrbanInvestmentPlatformDto
;
import
com.dsk.jsk.service.service.UrbanInvestmentPlatformService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
/**
* @ClassName UrbanInvestmentPlatformController
* @Description 城投平台
* @Author Dgm
* @Date 2023/12/18 10:09
* @Version 1.0.0
*/
@RestController
@RequestMapping
(
value
=
"/urbanInvestment"
)
public
class
UrbanInvestmentPlatformController
{
@Autowired
private
UrbanInvestmentPlatformService
urbanInvestmentPlatformService
;
/***
*@Description: 城投平台分页列表
*@Param:
*@return: com.dsk.common.core.domain.AjaxResult
*@Author: Dgm
*@date: 2023/5/18 10:29
*/
@PostMapping
(
"/page"
)
public
AjaxResult
page
(
@RequestBody
UrbanInvestmentPlatformDto
dto
)
{
return
urbanInvestmentPlatformService
.
page
(
dto
);
}
/***
*@Description: 城投平台详情
*@Param:
*@return: com.dsk.common.core.domain.AjaxResult
*@Author: Dgm
*@date: 2023/5/18 10:29
*/
@PostMapping
(
"/details/{id}"
)
public
AjaxResult
details
(
@PathVariable
(
"id"
)
String
id
)
{
return
urbanInvestmentPlatformService
.
details
(
id
);
}
/***
*@Description: 城投平台统计
*@Param:
*@return: com.dsk.common.core.domain.AjaxResult
*@Author: Dgm
*@date: 2023/5/18 10:29
*/
@PostMapping
(
"/statistics"
)
public
AjaxResult
statistics
(
@RequestBody
UrbanInvestmentPlatformDto
dto
)
{
return
urbanInvestmentPlatformService
.
statistics
(
dto
);
}
@PostMapping
(
"/export/pre"
)
public
AjaxResult
exportPre
(
@RequestBody
UrbanInvestmentPlatformDto
dto
)
{
return
urbanInvestmentPlatformService
.
esportPre
(
dto
);
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/monitor/controlelr/MonitorController.java
View file @
af3fd4d7
...
...
@@ -107,6 +107,18 @@ public class MonitorController {
return
monitorService
.
companyPage
(
pageVo
);
}
/***
*@Description: 添加企业监控列表 分页
*@Param:
*@return: com.dsk.common.core.domain.R
*@Author: Dgm
*@date: 2023/12/9 9:29
*/
@PostMapping
(
value
=
"system/queryMonitorCompany"
)
public
TableDataInfo
queryMonitorCompany
(
@RequestBody
MonitorQueryMonitorCompanyPageVo
pageVo
)
throws
Exception
{
return
monitorService
.
queryMonitorCompany
(
pageVo
);
}
/***
*@Description: 添加监控
*@Param:
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/monitor/domain/dto/PushMonitorRules.java
View file @
af3fd4d7
...
...
@@ -42,12 +42,12 @@ public class PushMonitorRules implements Serializable {
/**
* 推送时段-起
*/
private
Integer
timePeriodStart
;
private
String
timePeriodStart
;
/**
* 推送时段-止
*/
private
Integer
timePeriodEnd
;
private
String
timePeriodEnd
;
/**
* 接收方式 手机:0 PC:1
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/monitor/domain/vo/ConditionVo.java
View file @
af3fd4d7
...
...
@@ -2,6 +2,8 @@ package com.dsk.monitor.domain.vo;
import
lombok.Data
;
import
java.util.List
;
/**
* @ClassName ConditionVo
* @Description 共用条件
...
...
@@ -18,7 +20,7 @@ public class ConditionVo {
/**
* 条件查询企业id
*/
private
Integer
company
Orstaff
Id
;
private
Integer
companyId
;
/**
* 条件查询企业名称(模糊查询)
*/
...
...
@@ -26,15 +28,15 @@ public class ConditionVo {
/**
* 条件查询风险等级:正向,负向,中立,警示
*/
private
String
riskLevel
;
private
List
<
String
>
riskLevel
;
/**
* 条件查询监控维度
子级名称
* 条件查询监控维度
父级名称数组
*/
private
String
dimensionId
;
private
List
<
String
>
parentDimension
;
/**
* 条件查询监控维度
父级名称
* 条件查询监控维度
子级名称数组
*/
private
String
parentId
;
private
List
<
String
>
dimension
;
/**
* 条件查询开始时间
*/
...
...
@@ -49,4 +51,9 @@ public class ConditionVo {
*/
private
Integer
reportType
;
/**
* 系统来源(ZJYJ)
*/
private
String
sysType
=
"ZJYJ"
;
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/monitor/domain/vo/MonitorQueryMonitorCompanyPageVo.java
0 → 100644
View file @
af3fd4d7
package
com
.
dsk
.
monitor
.
domain
.
vo
;
import
com.dsk.jsk.domain.BasePage
;
import
lombok.Data
;
/**
* @ClassName PushMonitorRulesVo
* @Description 添加企业监控列表 分页
* @Author Dgm
* @Date 2023/12/9 11:05
* @Version
*/
@Data
public
class
MonitorQueryMonitorCompanyPageVo
extends
BasePage
{
/**
* 查询条件
*/
private
String
companyName
;
/**
* 用户id
*/
private
Long
userId
=
7324L
;
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/monitor/job/PushScheduling.java
View file @
af3fd4d7
package
com
.
dsk
.
monitor
.
job
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.dsk.common.utils.DateUtils
;
import
com.dsk.monitor.domain.dto.PushMonitorRules
;
import
com.dsk.monitor.mapper.PushMonitorInfoMapper
;
import
com.dsk.monitor.mapper.PushMonitorRulesMapper
;
import
com.dsk.monitor.util.SendMessageUtil
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
javax.annotation.Resource
;
/**
* @ClassName PushScheduling
* @Description 发送短信
* @Author Dgm
* @Date 2023/12/9 13:51
* @Version
*/
public
class
PushScheduling
{
@Resource
private
PushMonitorInfoMapper
monitorInfoMapper
;
@Resource
private
PushMonitorRulesMapper
rulesMapper
;
@Scheduled
(
cron
=
"0 0 5 * * * ?"
)
public
void
receiveModePhone
()
{
// 获取当前整点时间
Integer
concurrentHour
=
DateUtils
.
getHour
();
QueryWrapper
queryWrapper
=
new
QueryWrapper
();
PushMonitorRules
detail
=
rulesMapper
.
selectOne
(
queryWrapper
);
// 推送时段-起
Integer
timePeriodStart
=
detail
.
getTimePeriodStart
();
// 推送时段-止
Integer
timePeriodEnd
=
detail
.
getTimePeriodEnd
();
if
(
concurrentHour
>
timePeriodStart
&&
concurrentHour
<
timePeriodEnd
)
{
QueryWrapper
monitorInfoWrapper
=
new
QueryWrapper
();
// 风险类型
monitorInfoWrapper
.
in
(
"risk_type"
,
detail
.
getRiskType
());
// 监控维度
monitorInfoWrapper
.
in
(
"dimension"
,
detail
.
getDimension
());
Long
count
=
monitorInfoMapper
.
selectCount
(
monitorInfoWrapper
);
if
(
count
>
0
)
{
SendMessageUtil
.
sendMessage
(
detail
.
getPhones
(),
count
.
toString
());
}
}
}
}
//
package com.dsk.monitor.job;
//
//
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//
import com.dsk.common.utils.DateUtils;
//
import com.dsk.monitor.domain.dto.PushMonitorRules;
//
import com.dsk.monitor.mapper.PushMonitorInfoMapper;
//
import com.dsk.monitor.mapper.PushMonitorRulesMapper;
//
import com.dsk.monitor.util.SendMessageUtil;
//
import org.springframework.scheduling.annotation.Scheduled;
//
//
import javax.annotation.Resource;
//
/
//
**
//
* @ClassName PushScheduling
//
* @Description 发送短信
//
* @Author Dgm
//
* @Date 2023/12/9 13:51
//
* @Version
//
*/
//
public class PushScheduling {
//
//
@Resource
//
private PushMonitorInfoMapper monitorInfoMapper;
//
//
@Resource
//
private PushMonitorRulesMapper rulesMapper;
//
//
@Scheduled(cron = "0 0 5 * * * ?")
//
public void receiveModePhone() {
//
// 获取当前整点时间
//
Integer concurrentHour = DateUtils.getHour();
//
QueryWrapper queryWrapper = new QueryWrapper();
//
PushMonitorRules detail = rulesMapper.selectOne(queryWrapper);
//
// 推送时段-起
//
Integer timePeriodStart = detail.getTimePeriodStart();
//
// 推送时段-止
//
Integer timePeriodEnd = detail.getTimePeriodEnd();
//
if (concurrentHour > timePeriodStart && concurrentHour < timePeriodEnd) {
//
QueryWrapper monitorInfoWrapper = new QueryWrapper();
//
// 风险类型
//
monitorInfoWrapper.in("risk_type", detail.getRiskType());
//
// 监控维度
//
monitorInfoWrapper.in("dimension", detail.getDimension());
//
Long count = monitorInfoMapper.selectCount(monitorInfoWrapper);
//
if (count >0 ) {
//
SendMessageUtil.sendMessage(detail.getPhones(), count.toString());
//
}
//
}
//
}
//
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/monitor/service/MonitorService.java
View file @
af3fd4d7
...
...
@@ -79,6 +79,17 @@ public interface MonitorService {
TableDataInfo
companyPage
(
PushMonitorCompanyPageVo
pageVo
)
throws
Exception
;
/***
*@Description: 企业监控列表 分页
*@Param: pageVo 信息
*@return: R
*@Author: Dgm
*@date: 2023/12/9 10:03
*/
TableDataInfo
queryMonitorCompany
(
MonitorQueryMonitorCompanyPageVo
pageVo
)
throws
Exception
;
/***
*@Description: 添加监控
*@Param: addVo 信息
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/monitor/service/impl/MonitorServiceImpl.java
View file @
af3fd4d7
...
...
@@ -92,13 +92,15 @@ public class MonitorServiceImpl implements MonitorService {
@Override
public
TableDataInfo
companyDynamicPage
(
PushMonitorDynamicPageVo
pageVo
)
throws
Exception
{
pageVo
.
setPageSize
(
3
);
Long
userId
=
LoginHelper
.
getUserId
();
if
(
ObjectUtil
.
isNotEmpty
(
userId
))
{
pageVo
.
setUserId
(
userId
);
pageVo
.
getCondition
().
setUserId
(
userId
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/monitor/company/info/companyDynamicList"
,
BeanUtil
.
beanToMap
(
pageVo
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
log
.
info
(
"companyDynamicPage=============================>"
+
map
);
return
dskOpenApiUtil
.
responsePageT
(
map
);
}
@Override
...
...
@@ -123,6 +125,16 @@ public class MonitorServiceImpl implements MonitorService {
return
dskOpenApiUtil
.
responsePage
(
map
);
}
@Override
public
TableDataInfo
queryMonitorCompany
(
MonitorQueryMonitorCompanyPageVo
pageVo
)
throws
Exception
{
Long
userId
=
LoginHelper
.
getUserId
();
if
(
ObjectUtil
.
isNotEmpty
(
userId
))
{
pageVo
.
setUserId
(
userId
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/monitor/company/supplier/system/queryCancelMonitorCompany"
,
BeanUtil
.
beanToMap
(
pageVo
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
@Override
public
R
systemAdd
(
PushMonitorCompanyAddVo
addVo
)
{
Long
userId
=
LoginHelper
.
getUserId
();
...
...
@@ -248,6 +260,13 @@ public class MonitorServiceImpl implements MonitorService {
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
/***
*@Description: 参数处理
*@Param:
*@return: com.dsk.monitor.domain.vo.PushMonitorSystemDetailVo
*@Author: Dgm
*@date: 2023/12/15 15:43
*/
public
PushMonitorSystemDetailVo
getDetailVo
(
PushMonitorSystemDetailVo
detailVo
)
{
String
value1
=
null
;
String
value2
=
null
;
...
...
dsk-module/dsk-biz-api/src/main/resources/mapper/cscec/AdvisoryBodyMapper.xml
View file @
af3fd4d7
...
...
@@ -5,14 +5,14 @@
<mapper
namespace=
"com.dsk.cscec.mapper.AdvisoryBodyMapper"
>
<select
id=
"selectPageAdvisoryBodyList"
resultType=
"com.dsk.cscec.domain.vo.AdvisoryBodySearchVo"
>
select
<include
refid=
"allColumn
OfAdvisoryBody
"
></include>
from advisory_body ${ew.getCustomSqlSegment}
<include
refid=
"allColumn"
></include>
from advisory_body
ab
${ew.getCustomSqlSegment}
</select>
<select
id=
"queryListByBo"
resultType=
"com.dsk.cscec.domain.vo.AdvisoryBodyVo"
>
select abp.advisory_body_id,abp.advisory_body_cid,abp.project_key,abp.project_leader,abp.project_leader_major,
abp.project_leader_phone,
ab.advisory_body_name,
abp.project_leader_phone,
ab.advisory_body_name,
dp.project_name,dp.project_code,dp.province_name,dp.city_name,dp.isinvestproject,dp.project_type1,
dp.project_type,dp.contract_orig_value,dp.owner_name,dp.contract_org_name,dp.load_time
from advisory_body_project abp
...
...
@@ -62,33 +62,34 @@
order by dp.load_time desc
</select>
<select
id=
"select
ProjectIdsByAdvisoryBod
yName"
resultType=
"java.lang.Long"
>
<select
id=
"select
AdvisoryBodyCidsB
yName"
resultType=
"java.lang.Long"
>
select
<include
refid=
"allColumnOfAdvisoryBody"
></include>
from advisory_body
where
<if
test=
"advisoryBodyName != null"
>
and advisory_body_name like concat('%',#{advisoryBodyName},'%')
</if>
ab.advisory_body_cid
from advisory_body ab
<where>
<if
test=
"advisoryBodyName != null"
>
advisory_body_name like concat('%',#{advisoryBodyName},'%')
</if>
</where>
</select>
<select
id=
"queryAdvisoryBodyByProjectKey"
resultType=
"com.dsk.cscec.domain.AdvisoryBody"
>
select
<include
refid=
"allColumn
OfAdvisoryBody
"
></include>
<include
refid=
"allColumn"
></include>
from advisory_body ab
left join advisory_body_project abp
on abp.advisory_body_cid = ab.advisory_body_cid
where abp.project_key = ${projectKey};
</select>
<sql
id=
"allColumn
OfAdvisoryBody
"
>
advisory_body_id,
advisory_body_cid,
advisory_body_name,
business_scope,
create_by,
create_time,
update_by,
update_time
<sql
id=
"allColumn"
>
a
b.a
dvisory_body_id,
ab.
advisory_body_cid,
ab.
advisory_body_name,
ab.
business_scope,
ab.
create_by,
ab.
create_time,
ab.
update_by,
ab.
update_time
</sql>
</mapper>
\ No newline at end of file
dsk-module/dsk-biz-api/src/main/resources/mapper/cscec/AdvisoryBodyProjectMapper.xml
View file @
af3fd4d7
...
...
@@ -4,4 +4,13 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.dsk.cscec.mapper.AdvisoryBodyProjectMapper"
>
<select
id=
"selectProjectKeysByAdvisoryBodyCids"
resultType=
"java.lang.Long"
>
select abp.project_key
from advisory_body_project abp
<where>
<if
test=
"advisoryBodyCids != null"
>
abp.advisory_body_cid = #{advisoryBodyCids}
</if>
</where>
</select>
</mapper>
\ No newline at end of file
dsk-module/dsk-biz-api/src/main/resources/mapper/cscec/DCustomerMapper.xml
View file @
af3fd4d7
...
...
@@ -4,12 +4,13 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.dsk.cscec.mapper.DCustomerMapper"
>
<select
id=
"allSearchList"
resultType=
"com.dsk.cscec.domain.
DCustomer
"
>
<select
id=
"allSearchList"
resultType=
"com.dsk.cscec.domain.
vo.DCustomerListVo
"
>
select
@row_number:=@row_number + 1 AS num,
customer_key, customer_id, customer_code, customer_name, recommend_org, register_region, register_province, register_city, customer_class, primary_business,
paytax_type, tax_rate, customer_state, leader_name, labor_captain_phone, labor_captain_idcard, service_team_personnum, service_team_speciality,
construct_job_scope, credential, register_capital, contact_person, contact_phone, approve_date2, credit_level, group_specialty
from d_customer
from d_customer
, (SELECT @row_number:=0) AS t
where recommend_org_id = 'F17305B4EA4444CBAB12892C7B99E475'
<if
test=
"bo.customerName != null and bo.customerName != '' "
>
and customer_name like concat('%',#{bo.customerName},'%')
</if>
<if
test=
"bo.province != null and bo.province.size > 0 and (bo.city == null or bo.city.size == 0) "
>
...
...
@@ -61,7 +62,7 @@
</if>
<if
test=
"bo.approveDateBegion != null and bo.approveDateBegion != '' "
>
and approve_date2
>
= #{bo.approveDateBegion}
</if>
<if
test=
"bo.approveDateEnd != null and bo.approveDateEnd != '' "
>
and approve_date2
<
= #{bo.approveDateBegion}
</if>
<if
test=
"bo.isTeam != null"
>
and leader_name is
<if
test=
"bo.isTeam ==
0
"
>
not
</if>
null
</if>
<if
test=
"bo.isTeam != null"
>
and leader_name is
<if
test=
"bo.isTeam ==
1
"
>
not
</if>
null
</if>
order by approve_date2 desc
</select>
...
...
dsk-module/dsk-biz-api/src/main/resources/mapper/cscec/DSubcontractMapper.xml
View file @
af3fd4d7
...
...
@@ -17,4 +17,43 @@
) a
</select>
<select
id=
"selectStatisticByCustomerId"
resultType=
"com.dsk.cscec.domain.vo.DCustomerListVo"
>
select
count(DISTINCT org.customer_id) enterpriseCooperationCount,
count(DISTINCT project.customer_id) projectCooperationCount
from d_customer dc
left join d_subcontract org on org.customer_id = dc.customer_id
left join d_subcontract project on project.customer_id = dc.customer_id
where dc.customer_id = #{customerId}
</select>
<select
id=
"selectCooperationList"
resultType=
"com.dsk.cscec.domain.vo.CustomerCooperationVo"
>
select ds.subcontract_key,ds.subcontract_id,ds.project_name,ds.sign_org_name,ds.sign_date,ds.subcontract_value,ds.settle_value,ds.job_scope,
dp.area_name,dp.province_name,dp.city_name,dp.project_manager_name,dp.project_manager_phone,dp.project_type2
from d_subcontract ds
left join d_project dp on dp.project_id = ds.project_id
<where>
<if
test=
"bo.signOrgId != null and bo.signOrgId != ''"
>
and ds.sign_org_id =#{bo.signOrgId}
</if>
<if
test=
"bo.signOrgName != null and bo.signOrgName != ''"
>
and ds.sign_org_name =#{bo.signOrgName}
</if>
<if
test=
"bo.customerId != null and bo.customerId != ''"
>
and ds.customer_id =#{bo.customerId}
</if>
<if
test=
"bo.customerName != null and bo.customerName != ''"
>
and ds.customer_name =#{bo.customerName}
</if>
<if
test=
"bo.areaName != null and bo.areaName.size > 0"
>
and (
ds.areaName in
<foreach
collection=
"bo.areaName"
item=
"areaName"
open=
"("
close=
")"
separator=
","
>
#{areaName}
</foreach>
)
</if>
</where>
order by ds.sign_date desc
</select>
</mapper>
\ No newline at end of file
dsk-operate-ui/public/index.html
View file @
af3fd4d7
...
...
@@ -202,7 +202,7 @@
<div
id=
"loader"
></div>
<div
class=
"loader-section section-left"
></div>
<div
class=
"loader-section section-right"
></div>
<div
class=
"load_title"
>
正在加载
央企数字化经营管理系统
</div>
<div
class=
"load_title"
>
正在加载
大数据经营管理支撑服务平台
</div>
</div>
</div>
</body>
...
...
dsk-operate-ui/src/api/detail/party-a/riskInformation.js
View file @
af3fd4d7
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
;
// 行政处罚列表
export
function
penalizePage
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/penalizePage'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 行政处罚类型
export
function
penalizeReasonType
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/penalizeReasonType'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 经营异常列表
...
...
@@ -22,16 +22,16 @@ export function abnormalPage(data) {
return
request
({
url
:
'/enterpriseCredit/abnormalPage'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 经营异常年份
export
function
abnormalYears
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/abnormalYears'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 被执行人列表
...
...
@@ -39,8 +39,8 @@ export function executedPersonsPage(data) {
return
request
({
url
:
'/enterpriseCredit/executedPersonsPage'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 失信被执行人列表
...
...
@@ -48,8 +48,8 @@ export function executedPage(data) {
return
request
({
url
:
'/enterpriseCredit/executedPage'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 裁判文书列表
...
...
@@ -57,24 +57,24 @@ export function lawsuitsPage(data) {
return
request
({
url
:
'/enterpriseCredit/lawsuitsPage'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 裁判文书案由
export
function
lawsuitsCauseAction
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/lawsuitsCauseAction'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 裁判文书身份
export
function
lawsuitsRole
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/lawsuitsRole'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 法院公告列表
...
...
@@ -82,32 +82,32 @@ export function noticesPage(data) {
return
request
({
url
:
'/enterpriseCredit/noticesPage'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 法院公告类型
export
function
noticesType
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/noticesType'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 法院公告身份
export
function
noticesRole
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/noticesRole'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 法院公告案由
export
function
noticesCaseReason
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/noticesCaseReason'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 开庭公告列表
...
...
@@ -115,23 +115,37 @@ export function kaitingPage(data) {
return
request
({
url
:
'/enterpriseCredit/kaitingPage'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 开庭公告案由
export
function
kaitingCauseAction
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/kaitingCauseAction'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 开庭公告当事人身份
export
function
kaitingPureRole
(
data
)
{
return
request
({
url
:
'/enterpriseCredit/kaitingPureRole'
,
method
:
'post'
,
data
:
data
})
data
:
data
})
;
}
// 风险信息 限制高消费
export
const
getLimitHighConsumptionApi
=
(
data
)
=>
request
({
url
:
"/enterpriseCredit/restrictedConsumerPage"
,
method
:
"post"
,
data
});
// 风险信息 股权冻结
export
const
getEquityFreezingApi
=
(
data
)
=>
request
({
url
:
"/enterpriseCredit/judicialFreezesPage"
,
method
:
"post"
,
data
})
dsk-operate-ui/src/api/monitoring/monitoring.js
View file @
af3fd4d7
...
...
@@ -42,6 +42,14 @@ export function companyAdd(data) {
data
:
data
})
}
// 获取监控推荐企业
export
function
queryMonitorCompany
(
data
)
{
return
request
({
url
:
'/monitor/system/queryMonitorCompany'
,
method
:
'post'
,
data
:
data
})
}
// 取消监控企业
export
function
companyCancel
(
data
)
{
return
request
({
...
...
dsk-operate-ui/src/api/supplier/supplier.js
View file @
af3fd4d7
...
...
@@ -15,6 +15,15 @@ export function customerAll(param) {
method
:
'POSt'
,
});
}
//总台账导出
export
function
customerExport
(
param
)
{
return
request
({
url
:
'/customer/export'
,
method
:
'post'
,
data
:
param
,
responseType
:
'blob'
});
}
//专业类别选项列表
export
function
bizDictData
()
{
return
request
({
...
...
dsk-operate-ui/src/assets/styles/index.scss
View file @
af3fd4d7
...
...
@@ -311,7 +311,6 @@ li {
.table-item
{
width
:
100%
;
height
:
100%
;
.el-table
{
width
:
100%
;
height
:
100%
;
...
...
dsk-operate-ui/src/assets/styles/supplierlist.scss
View file @
af3fd4d7
...
...
@@ -81,6 +81,7 @@
}
.total-dc
{
float
:
right
;
cursor
:
pointer
;
img
{
width
:
18px
;
margin-right
:
6px
;
...
...
dsk-operate-ui/src/utils/index.js
View file @
af3fd4d7
...
...
@@ -836,15 +836,55 @@ export function generateDirectSubtreeAndRemove(targetIds, tree, idKey = "id") {
return
result
?
JSON
.
parse
(
JSON
.
stringify
({
...
result
,
children
:
result
.
children
[
0
]?.
children
||
[]
}))
:
null
;
}
// 甲方详情左侧菜单映射
// 甲方详情左侧菜单映射
key 服务器返回字段 value 菜单 pathName
export
const
detailSideBar
=
new
Map
([
// 企业
速览
[
"
holderinfo"
,
"ownershipStructure
"
],
// 高管信息
[
"
execuinfo"
,
"leadingMember
"
],
// 对外投资
[
"o
verseas"
,
"outboundInvestment
"
],
// 分支机构
// 企业
概要 股东信息
[
"
ownershipStructure"
,
"holderinfo
"
],
//
企业概要
高管信息
[
"
leadingMember"
,
"execuinfo
"
],
//
企业概要
对外投资
[
"o
utboundInvestment"
,
"overseas
"
],
//
企业概要
分支机构
[
"branch"
,
"branch"
],
// 项目商机 重点项目
[
"importantBusiness"
,
"majorProject"
],
// 项目商机 土地交易 城投分析 城投拿地
[
"landInfo"
,
[
"landtransaction"
,
"landAcquisition"
]],
// 拟建项目
[
"busProposedProjectV1"
,
"proposed"
],
// 专项债项目
[
"specialDebt"
,
"bond"
],
// 招标计划
[
"bidPlan"
,
"biddingplan"
],
// 招标公告
[
"biddingAnnouncement"
,
"announcement"
],
// 标讯Pro
[
"proBiddingAnnouncement"
,
"tencent"
],
// 行政许可
[
"adminLicensing"
,
"administrative"
],
// 业务往来 客户
[
"customerV1"
,
"custom"
],
// 业务往来 供应商
[
"supplierV1"
,
"supplier"
],
// 业务往来 招标代理
[
"coopBiddingAgency"
,
"bidagency"
],
// 业务往来 历史发包
[
"historySend"
,
"hiscontract"
],
// 开标记录
[
"tenderRecordV1"
,
"bidrecords"
],
// 风险信息 行政处罚
[
"adminSanction"
,
"punish"
],
// 风险信息 经营异常
[
"abnormalOperation"
,
"businessAnomaly"
],
// 风险信息 被执行人
[
"dishonestExecutee"
,
"ifThePerson"
],
// 风险信息 失信被执行人
[
"dishonestExecutor"
,
"dishonesty"
],
// 风险信息 裁判文书
[
"adjudicativeDoc"
,
"judgment"
],
// 风险信息 法院公告
[
"courtAnnouncement"
,
"courtNotice"
],
// 风险信息 开庭公告
[
"openAnnouncement"
,
"openacourtsessionNotice"
]
])
dsk-operate-ui/src/views/consultingOrgManagement/components/EnterpriseList/detail/detailsOfCooperation.vue
View file @
af3fd4d7
...
...
@@ -96,21 +96,21 @@ export default {
// 列表表头
formColum
:
[
{
label
:
'序号'
,
prop
:
"staticSerialNumber"
,
type
:
"index"
,
lock
:
true
,
fixed
:
false
,
uid
:
v4
()
},
{
label
:
'
咨询机构名称'
,
prop
:
'advisoryBodyName'
,
width
:
"198
px"
,
lock
:
true
,
fixed
:
false
,
slot
:
true
,
uid
:
v4
(),
showOverflowTooltip
:
true
},
{
label
:
'
最近一次合作时间'
,
prop
:
'lastCooperateTime'
,
width
:
"201
px"
,
uid
:
v4
()
},
{
label
:
'
经营状态'
,
prop
:
'businessStatus'
,
width
:
"74
px"
,
uid
:
v4
()
},
{
label
:
'
法定代表人'
,
prop
:
'corporatePerson'
,
width
:
"86
px"
,
uid
:
v4
()
},
{
label
:
'
注册资本'
,
prop
:
'regCapital'
,
width
:
"107
px"
,
uid
:
v4
()
},
{
label
:
'
注册地区'
,
prop
:
'regArea'
,
width
:
"149
px"
,
uid
:
v4
()
},
{
label
:
'
成立日期'
,
prop
:
'registeredDate'
,
width
:
"97
px"
,
uid
:
v4
()
},
{
label
:
'
经营范围'
,
prop
:
'businessScope'
,
width
:
"417
px"
,
uid
:
v4
()
},
{
label
:
'
合作项目数量'
,
prop
:
'cooperateProjectCount'
,
width
:
"98px"
,
uid
:
v4
(),
slot
:
true
},
{
label
:
'
项目列表'
,
prop
:
'projectName'
,
width
:
"222
px"
,
lock
:
true
,
fixed
:
false
,
slot
:
true
,
uid
:
v4
(),
showOverflowTooltip
:
true
},
{
label
:
'
合同编码'
,
prop
:
'projectCode'
,
width
:
"123
px"
,
uid
:
v4
()
},
{
label
:
'
省市'
,
prop
:
'provinceName'
,
width
:
"102
px"
,
uid
:
v4
()
},
{
label
:
'
项目承接类型'
,
prop
:
'isinvestproject'
,
width
:
"102
px"
,
uid
:
v4
()
},
{
label
:
'
工程基础大类'
,
prop
:
'projectType1'
,
width
:
"98
px"
,
uid
:
v4
()
},
{
label
:
'
工程类别明细'
,
prop
:
'projectType'
,
width
:
"98
px"
,
uid
:
v4
()
},
{
label
:
'
项目负责人姓名'
,
prop
:
'projectLeader'
,
width
:
"110
px"
,
uid
:
v4
()
},
{
label
:
'
项目负责人专业'
,
prop
:
'projectLeaderMajor'
,
width
:
"110
px"
,
uid
:
v4
()
},
{
label
:
'
项目负责人联系电话'
,
prop
:
'projectLeaderPhone'
,
width
:
"134px"
,
uid
:
v4
()
},
],
queryParams
:
{
pageSize
:
20
,
pageNum
:
1
,
// 咨询机构ID
advisoryBody
I
d
:
""
,
advisoryBody
Ci
d
:
""
,
},
tableDataList
:
[],
total
:
0
,
...
...
@@ -164,8 +164,8 @@ export default {
methods
:
{
async
init
()
{
try
{
// if (!this.$routes?.params?.advisoryBodyI
d) return this.$message.error("缺少咨询机构Id");
// this.queryParams.advisoryBodyId = !this.$routes?.params?.advisoryBodyI
d;
if
(
!
this
.
$routes
?.
params
?.
advisoryBodyCi
d
)
return
this
.
$message
.
error
(
"缺少咨询机构Id"
);
this
.
queryParams
.
advisoryBodyCid
=
!
this
.
$routes
?.
params
?.
advisoryBodyCi
d
;
await
this
.
getList
(
this
.
queryParams
);
}
catch
(
error
)
{
...
...
dsk-operate-ui/src/views/consultingOrgManagement/components/EnterpriseList/index.vue
View file @
af3fd4d7
...
...
@@ -44,7 +44,8 @@
</
template
>
<!-- 合作项目数量 -->
<
template
slot=
"cooperateProjectCount"
slot-scope=
"{data,row}"
>
<div
v-if=
"row.cooperateProjectCount"
class=
"no-line-feed "
>
{{
row
.
cooperateProjectCount
}}
</div>
<div
v-if=
"row.cooperateProjectCount"
class=
"no-line-feed"
@
click=
"toCooperateDetail(row)"
>
{{
row
.
cooperateProjectCount
}}
</div>
<span
v-else
>
-
</span>
</
template
>
</table-list-com>
...
...
@@ -125,6 +126,10 @@ export default {
}
},
toCooperateDetail
(
row
)
{
if
(
!
row
.
advisoryBodyCid
)
return
this
.
$message
.
warning
(
"缺少咨询机构id"
);
this
.
$tab
.
openPage
(
`
${
row
.
advisoryBodyName
}
合作明细`
,
`/consultingOrgManagement/detailsOfCooperation/
${
row
.
advisoryBodyCid
}
`
);
},
// 创建最终查询条件
mergeCondition
()
{
const
_queryParams
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryParams
));
...
...
dsk-operate-ui/src/views/detail/party-a/component/HeadFormNew.vue
View file @
af3fd4d7
...
...
@@ -27,8 +27,8 @@
<transition
name=
"fade-position"
appear
mode=
"out-in"
>
<span
v-if=
"!form.hover && !form.value"
>
搜索
</span>
<el-input
v-model=
"form.value"
:placeholder=
"form.placeholder ? form.placeholder : '输入关键词查询'"
:style=
"form.width?'width:'+form.width+'px':'width:238px'"
@
focus
.
stop=
"searchFocus($event,form)"
@
blur
.
stop=
"searchBlur($event,form)"
@
input=
"value => searchInput(value,form)"
v-else
@
keydown
.
native
.
enter=
"changeSelect"
>
:style=
"form.width?'width:'+form.width+'px':'width:238px'"
@
focus
.
stop=
"searchFocus($event,form)"
@
blur
.
stop=
"searchBlur($event,form)"
@
input=
"value => searchInput(value,form)"
v-else
@
keydown
.
native
.
enter=
"changeSelect"
>
<template
slot=
"suffix"
>
<transition
mode=
"out-in"
appear
name=
"fade"
>
<img
src=
"@/assets/images/enterprise/search-input-clear-icon.svg"
@
click
.
stop=
"form.value = '';changeSelect()"
...
...
@@ -78,8 +78,8 @@
</
template
>
<div
v-else
class=
"flex-box"
>
<span
class=
"flex-box ability-total"
v-if=
"isTotal"
>
共有{{ total }}条
</span>
<span
class=
"flex-box ability-excel"
v-hasPermi=
"['combine:info:export:win:bid','combine:info:export:bid']"
v-if=
"isExcel && title ==='集团业绩'|| title ==='集团招标' "
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
<span
class=
"flex-box ability-excel"
v-hasPermi=
"['combine:info:export:win:bid','combine:info:export:bid']"
v-if=
"isExcel && title ==='集团业绩'|| title ==='集团招标' "
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
<span
class=
"flex-box ability-excel"
v-else
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
</div>
</div>
...
...
@@ -283,7 +283,8 @@ export default {
textContainer
.
style
.
setProperty
(
"box-sizing"
,
"border-box"
);
textContainer
.
textContent
=
iptChild
.
value
?
iptChild
.
value
:
iptChild
.
getAttribute
(
"placeholder"
);
document
.
body
.
append
(
textContainer
);
let
containerWidth
=
textContainer
.
offsetWidth
+
12
+
8
;
// 1px 误差
let
containerWidth
=
textContainer
.
offsetWidth
+
12
+
8
+
1
;
textContainer
.
remove
();
dom
.
style
.
setProperty
(
"width"
,
`
${
containerWidth
}
px`
);
}
...
...
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
af3fd4d7
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
View file @
af3fd4d7
...
...
@@ -47,7 +47,7 @@
<slot
:name=
"cld.prop"
:row=
"cldscope.row"
:data=
"cld"
></slot>
</
template
>
<
template
v-else
>
<span>
{{
cldscope
.
row
[
cld
.
prop
]
||
'-
-
'
}}
</span>
<span>
{{
cldscope
.
row
[
cld
.
prop
]
||
'-'
}}
</span>
</
template
>
</template>
</el-table-column>
...
...
@@ -58,7 +58,7 @@
<
template
slot-scope=
"scope"
>
<slot
v-if=
"item.slot"
:name=
"item.prop"
:row=
"scope.row"
:index=
"scope.$index"
:data=
"item"
></slot>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
||
'-
-
'
}}
{{
scope
.
row
[
item
.
prop
]
||
'-'
}}
</span>
</
template
>
</el-table-column>
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
af3fd4d7
...
...
@@ -41,9 +41,13 @@
<BusinessAnomaly
v-if=
"currentPath.pathName=='businessAnomaly'"
:company-id=
"companyId"
/>
<IfThePerson
v-if=
"currentPath.pathName=='ifThePerson'"
:company-id=
"companyId"
/>
<Dishonesty
v-if=
"currentPath.pathName=='dishonesty'"
:company-id=
"companyId"
/>
<Judgment
v-if=
"currentPath.pathName=='judgment'"
:company-id=
"companyId"
/>
<!-- 限制高消费 -->
<limit-high-consumption
v-if=
"currentPath.pathName=='limitHighConsumption'"
:company-id=
"companyId"
></limit-high-consumption>
<!-- 股权冻结 -->
<equity-freezing
v-if=
"currentPath.pathName=='equityFreezing'"
:company-id=
"companyId"
></equity-freezing>
<!--
<Judgment
v-if=
"currentPath.pathName=='judgment'"
:company-id=
"companyId"
/>
<CourtNotice
v-if=
"currentPath.pathName=='courtNotice'"
:company-id=
"companyId"
/>
<OpenacourtsessionNotice
v-if=
"currentPath.pathName=='openacourtsessionNotice'"
:company-id=
"companyId"
/>
<OpenacourtsessionNotice
v-if=
"currentPath.pathName=='openacourtsessionNotice'"
:company-id=
"companyId"
/>
-->
</
template
>
<
template
v-if=
"customerId && isCustomer"
>
<!-- 商务信息 -->
...
...
@@ -101,6 +105,8 @@ import Punish from "./riskInformation/punish"; //风险信息-行政处罚
import
BusinessAnomaly
from
"./riskInformation/businessAnomaly"
;
//风险信息-经营异常
import
IfThePerson
from
"./riskInformation/ifThePerson"
;
//风险信息-被执行人
import
Dishonesty
from
"./riskInformation/dishonesty"
;
//风险信息-失信被执行
import
LimitHighConsumption
from
"./riskInformation/limitHighConsumption"
;
//风险信息-限制高消费
import
EquityFreezing
from
"./riskInformation/equityFreezing"
;
//风险信息-股权冻结
import
Judgment
from
"./riskInformation/judgment"
;
//风险信息-判决文书
import
CourtNotice
from
"./riskInformation/courtNotice"
;
//风险信息-法院公告
import
OpenacourtsessionNotice
from
"./riskInformation/openacourtsessionNotice"
;
//风险信息-开庭公告
...
...
@@ -145,6 +151,8 @@ export default {
BusinessAnomaly
,
IfThePerson
,
Dishonesty
,
LimitHighConsumption
,
EquityFreezing
,
Judgment
,
CourtNotice
,
OpenacourtsessionNotice
,
...
...
@@ -166,7 +174,18 @@ export default {
currentPath
:
{
pathName
:
'overview'
//默认展示页
},
statisticObj
:
{},
statisticObj
:
{
basic
:
{},
behavior
:
{},
business
:
{},
combineMember
:
{},
credit
:
{},
evaluation
:
{},
global
:
{},
performance
:
{},
personnel
:
{},
qualification
:
{}
},
partBoxHeight
:
null
,
cooDetail
:
false
};
...
...
@@ -218,28 +237,25 @@ export default {
}
}
},
beforeRouteLeave
(
to
,
from
,
next
)
{
next
(
vm
=>
{
});
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
});
},
created
()
{
if
(
this
.
$route
.
params
.
id
)
{
// 获取companyId
let
companyId
=
this
.
$route
.
params
.
id
;
this
.
getCompanyId
(
companyId
);
}
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
;
}
this
.
init
();
},
mounted
()
{
},
methods
:
{
async
init
()
{
try
{
if
(
this
.
$route
.
params
.
id
)
{
// 获取companyId
let
companyId
=
this
.
$route
.
params
.
id
;
await
this
.
getCompanyId
(
companyId
);
}
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
;
}
}
catch
(
error
)
{
console
.
log
(
error
);
}
},
showPartPage
(
e
)
{
this
.
currentPath
=
e
;
},
...
...
@@ -248,19 +264,18 @@ export default {
let
{
data
}
=
await
idRemark
({
mark
:
companyId
});
if
(
data
)
{
this
.
companyId
=
data
;
this
.
$nextTick
(()
=>
{
this
.
listenSider
();
});
this
.
getStatistic
();
this
.
handleQuery
();
this
.
association
(
this
.
$route
.
query
.
customerId
);
await
this
.
$nextTick
();
this
.
listenSider
();
await
this
.
getStatistic
();
await
this
.
handleQuery
();
await
this
.
association
(
this
.
$route
.
query
.
customerId
);
this
.
$refs
.
sidebar
.
financial
(
data
);
}
},
async
getStatistic
()
{
let
res
=
await
statistic
({
companyId
:
this
.
companyId
});
if
(
res
.
code
==
200
)
{
this
.
statisticObj
=
res
.
data
;
this
.
statisticObj
=
{
...
this
.
statisticObj
,
...
res
.
data
}
;
}
},
async
handleQuery
()
{
...
...
@@ -275,27 +290,21 @@ export default {
provinceIds
:
[
this
.
companyInfo
.
provinceId
],
cityIds
:
[
this
.
companyInfo
.
cityId
],
};
urbanInvestmentPage
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
totalCount
<
1
)
{
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
$refs
.
sidebar
.
sideRoute
));
arr
[
4
].
children
[
2
].
disabled
=
true
;
this
.
$refs
.
sidebar
.
sideRoute
=
arr
;
}
const
result
=
await
urbanInvestmentPage
(
data
);
if
(
result
.
code
==
200
)
{
if
(
result
.
data
.
totalCount
<
1
)
{
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
$refs
.
sidebar
.
sideRoute
));
arr
[
4
].
children
[
2
].
disabled
=
true
;
this
.
$refs
.
sidebar
.
sideRoute
=
arr
;
}
}
);
}
if
(
this
.
companyInfo
&&
this
.
companyInfo
.
companyName
)
{
this
.
$nextTick
(()
=>
{
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
companyInfo
.
companyName
;
// let lists = this.$store.state.tagsView.visitedViews
// lists.forEach(item=>{
// if(item.fullPath == this.$route.fullPath){
let
titlename
=
document
.
getElementById
(
'tagTitles'
);
if
(
titlename
)
{
titlename
.
innerText
=
this
.
companyInfo
.
companyName
;
}
// }
// })
});
}
}
...
...
@@ -313,60 +322,49 @@ export default {
this
.
cooDetail
=
false
;
},
// 判断客户是否关联显示修改
association
(
id
)
{
as
ync
as
sociation
(
id
)
{
if
(
id
)
{
customerInfo
(
id
).
then
(
res
=>
{
try
{
const
res
=
await
customerInfo
(
id
);
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
userId
==
this
.
$store
.
state
.
user
.
userId
)
{
this
.
$nextTick
(()
=>
{
this
.
customerInfo
=
res
.
data
;
this
.
customerId
=
res
.
data
.
customerId
;
});
await
this
.
$nextTick
();
this
.
customerInfo
=
res
.
data
;
this
.
customerId
=
res
.
data
.
customerId
;
if
(
res
.
data
.
companyId
==
this
.
companyId
)
{
this
.
$nextTick
(()
=>
{
this
.
isCustomer
=
true
;
this
.
isCompany
=
true
;
});
await
this
.
$nextTick
();
this
.
isCustomer
=
true
;
this
.
isCompany
=
true
;
}
else
{
this
.
$nextTick
(()
=>
{
this
.
isCustomer
=
true
;
this
.
isCompany
=
false
;
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
||
'business'
;
this
.
companyInfo
=
{
companyName
:
this
.
customerInfo
.
companyName
};
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
customerInfo
.
companyName
;
// let lists = this.$store.state.tagsView.visitedViews
// lists.forEach(item=>{
// if(item.fullPath == this.$route.fullPath){
let
titlename
=
document
.
getElementById
(
'tagTitles'
);
if
(
titlename
)
{
titlename
.
innerText
=
this
.
customerInfo
.
companyName
;
}
// }
// })
});
await
this
.
$nextTick
();
this
.
isCustomer
=
true
;
this
.
isCompany
=
false
;
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
||
'business'
;
this
.
companyInfo
=
{
companyName
:
this
.
customerInfo
.
companyName
};
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
customerInfo
.
companyName
;
let
titlename
=
document
.
getElementById
(
'tagTitles'
);
if
(
titlename
)
{
titlename
.
innerText
=
this
.
customerInfo
.
companyName
;
}
}
}
else
{
this
.
$nextTick
(()
=>
{
this
.
isCustomer
=
true
;
this
.
isCompany
=
true
;
this
.
currentPath
.
pathName
=
'overview'
;
});
await
this
.
$nextTick
();
this
.
isCustomer
=
true
;
this
.
isCompany
=
true
;
this
.
currentPath
.
pathName
=
'overview'
;
}
}
}).
catch
(
err
=>
{
this
.
$nextTick
(()
=>
{
this
.
currentPath
.
pathName
=
'overview'
;
this
.
isCompany
=
true
;
});
});
}
else
{
this
.
$nextTick
(()
=>
{
}
catch
(
err
)
{
await
this
.
$nextTick
();
this
.
currentPath
.
pathName
=
'overview'
;
this
.
isCompany
=
true
;
// this.currentPath.pathName = 'overview';
this
.
currentPath
.
pathName
=
this
.
$routes
.
query
.
path
;
});
}
}
else
{
await
this
.
$nextTick
();
this
.
isCompany
=
true
;
this
.
currentPath
.
pathName
=
'overview'
;
}
},
...
...
dsk-operate-ui/src/views/detail/party-a/overview/businfo.vue
View file @
af3fd4d7
...
...
@@ -95,7 +95,8 @@ export default {
this
.
handleQuery1
();
}
,
methods
:
{
handleClick
()
{
handleClick
(
v
)
{
if
(
v
.
name
==
this
.
activeName
)
return
;
if
(
this
.
activeName
==
'first'
)
{
this
.
handleQuery
();
}
else
{
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/busclue.vue
View file @
af3fd4d7
...
...
@@ -72,7 +72,7 @@ export default {
let
res
=
await
projectTenderDataGroup
({
cid
:
this
.
companyId
,
type
:
this
.
activeIndex
});
if
(
res
.
code
==
200
&&
res
.
data
)
{
this
.
isSkeleton
=
false
;
let
data
=
res
.
data
,
totalVal
=
data
.
map
(
item
=>
item
.
value
).
reduce
((
prev
,
cur
)
=>
prev
+
cur
);
let
data
=
res
.
data
,
totalVal
=
data
.
map
(
item
=>
item
.
value
).
reduce
((
prev
,
cur
)
=>
{
prev
+
cur
},
0
);
this
.
viewData
=
data
.
map
(
item
=>
{
let
it
=
{
name
:
item
.
name
,
value
:
item
.
value
,
percent
:
parseFloat
(
Number
(
Number
(
item
.
value
)
/
Number
(
totalVal
)
*
100
).
toFixed
(
2
))
};
return
it
;
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/equityFreezing.vue
0 → 100644
View file @
af3fd4d7
<
template
>
<div
class=
"equity-freezing-container"
>
<el-tabs
v-model=
"queryParams.type"
@
tab-click=
"handleClick"
class=
"detail-tab"
>
<el-tab-pane
label=
"股权冻结"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"历史股权冻结"
:disabled=
"tableDataTotal==0"
name=
"1"
></el-tab-pane>
</el-tabs>
<head-form-new
ref=
"headFormNew"
title=
""
:form-data=
"formData"
:query-params=
"queryParams"
:total=
"tableDataTotal"
:isExcel=
"true"
@
handle-search=
"handleSearch"
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
v-if=
"!isSkeleton"
:indexFixed=
"true"
:tableData=
"tableData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:queryParams=
"queryParams"
@
handle-current-change=
"handleCurrentChange"
>
<template
slot=
"operation-table"
slot-scope=
"scope"
>
<span
style=
"color: #0081FF;cursor: pointer;"
@
click=
"viewDetail(scope.row)"
>
操作
</span>
</
template
>
</tables>
</div>
</template>
<
script
>
import
skeleton
from
'../component/skeleton'
;
import
mixin
from
'@/views/detail/party-a/mixins/mixin'
;
import
{
getEquityFreezingApi
}
from
"@/api/detail/party-a/riskInformation"
;
export
default
{
name
:
"equityFreezingContainer"
,
mixins
:
[
mixin
],
components
:
{
skeleton
},
props
:
[
'companyId'
],
data
()
{
return
{
queryParams
:
{
cid
:
this
.
companyId
,
pageNum
:
1
,
pageSize
:
10
,
type
:
"0"
},
forData
:
[
{
label
:
'执行通知书文号'
,
prop
:
'name'
,
width
:
'164'
},
{
label
:
'被执行人'
,
prop
:
'companyName'
,
minWidth
:
'146'
},
{
label
:
'股权数额'
,
prop
:
'executionApplicant'
,
width
:
'113'
},
{
label
:
'执行法院'
,
prop
:
'court'
,
minWidth
:
'146'
},
{
label
:
'状态'
,
prop
:
'releaseDate'
,
width
:
'50'
},
{
label
:
'冻结起止日期'
,
prop
:
'source'
,
width
:
'171'
},
{
label
:
'公式时间'
,
prop
:
'source'
,
width
:
'93'
},
{
label
:
'操作'
,
prop
:
'operation-table'
,
width
:
'50'
,
slot
:
true
},
],
formData
:
[
{
type
:
5
,
fieldName
:
'time'
,
value
:
''
,
placeholder
:
'选择日期'
,
startTime
:
'dateFrom'
,
endTime
:
'dateTo'
,
uid
:
this
.
getUid
()
},
],
//列表
tableLoading
:
false
,
tableData
:
[],
tableDataTotal
:
0
,
showList
:
[],
isSkeleton
:
true
,
resetStatus
:
false
};
},
//可访问data属性
created
()
{
this
.
initDetail
();
},
//计算集
computed
:
{
},
//方法集
methods
:
{
async
initDetail
()
{
try
{
await
this
.
handleQuery
();
}
catch
(
error
)
{
}
},
resetQueryParams
()
{
const
data
=
this
.
$options
.
data
.
call
(
this
);
this
.
queryParams
=
{
...
data
.
queryParams
,
type
:
this
.
queryParams
.
type
};
this
.
formData
[
0
].
value
=
""
;
},
async
handleQuery
(
params
)
{
try
{
let
data
=
params
?
params
:
this
.
queryParams
;
this
.
isSkeleton
=
true
;
const
res
=
await
getEquityFreezingApi
(
data
);
this
.
tableData
=
res
.
rows
?
res
.
rows
:
[];
this
.
tableDataTotal
=
res
.
total
?
res
.
total
:
0
;
}
catch
(
error
)
{
console
.
log
(
error
);
}
finally
{
this
.
isSkeleton
=
false
;
}
},
handleClick
(
v
)
{
if
(
v
.
name
==
this
.
queryParams
.
type
)
return
;
this
.
resetQueryParams
();
this
.
handleQuery
();
},
// 查看详情
viewDetail
(
row
)
{
}
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.equity-freezing-container
{
padding
:
16px
;
background
:
#ffffff
;
border-radius
:
4px
;
input
{
border
:
1px
solid
#efefef
;
}
::v-deep
.el-form-item
{
margin-right
:
8px
!
important
;
}
.query-box
{
margin
:
10px
0
20px
;
}
.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
;
}
}
.detail-tab
{
margin
:
0
0
0
-16px
;
::v-deep
.el-tabs__nav-wrap
::after
{
display
:
none
;
}
::v-deep
.el-tabs__item
{
font-size
:
16px
;
height
:
30px
;
line-height
:
30px
;
padding
:
0
16px
;
&
.is-active
{
font-weight
:
bold
;
}
}
}
@import
"@/assets/styles/search-common.scss"
;
}
</
style
>
dsk-operate-ui/src/views/detail/party-a/riskInformation/limitHighConsumption.vue
0 → 100644
View file @
af3fd4d7
<
template
>
<div
class=
"limit-high-consumption-container"
>
<head-form-new
title=
"限制高消费"
:form-data=
"formData"
:query-params=
"queryParams"
:total=
"tableDataTotal"
:isExcel=
"true"
@
handle-search=
"handleSearch"
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
v-if=
"!isSkeleton"
:indexFixed=
"true"
:tableData=
"tableData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:queryParams=
"queryParams"
@
handle-current-change=
"handleCurrentChange"
>
<template
slot=
"source"
slot-scope=
"scope"
>
<span
v-if=
"scope.row.source"
style=
"color: #0081FF;cursor: pointer;"
@
click=
"viewOriginalArticle(scope.row)"
>
查看原文
</span>
<span
v-else
>
-
</span>
</
template
>
</tables>
</div>
</template>
<
script
>
import
skeleton
from
'../component/skeleton'
;
import
mixin
from
'@/views/detail/party-a/mixins/mixin'
;
import
{
getLimitHighConsumptionApi
}
from
"@/api/detail/party-a/riskInformation"
;
export
default
{
name
:
"limitHighConsumptionContainer"
,
mixins
:
[
mixin
],
components
:
{
skeleton
},
props
:
[
'companyId'
],
data
()
{
return
{
queryParams
:
{
cid
:
this
.
companyId
,
pageNum
:
1
,
pageSize
:
10
},
forData
:
[
{
label
:
'限消令对象'
,
prop
:
'name'
,
width
:
'215'
},
{
label
:
'关联对象'
,
prop
:
'companyName'
,
minWidth
:
'136'
},
{
label
:
'申请执行人'
,
prop
:
'executionApplicant'
,
width
:
'136'
},
{
label
:
'执行法院'
,
prop
:
'court'
,
minWidth
:
'171'
},
{
label
:
'发布日期'
,
prop
:
'releaseDate'
,
width
:
'136'
},
{
label
:
'原文'
,
prop
:
'source'
,
width
:
'136'
,
slot
:
true
},
],
formData
:
[
{
type
:
5
,
fieldName
:
'time'
,
value
:
''
,
placeholder
:
'发布日期'
,
startTime
:
'dateFrom'
,
endTime
:
'dateTo'
,
uid
:
this
.
getUid
()
},
],
//列表
tableLoading
:
false
,
tableData
:
[],
tableDataTotal
:
0
,
showList
:
[],
isSkeleton
:
true
};
},
//可访问data属性
created
()
{
this
.
initDetail
();
},
//计算集
computed
:
{
},
//方法集
methods
:
{
async
initDetail
()
{
try
{
await
this
.
handleQuery
();
}
catch
(
error
)
{
}
},
async
handleQuery
(
params
)
{
try
{
let
data
=
params
?
params
:
this
.
queryParams
;
this
.
isSkeleton
=
true
;
const
res
=
await
getLimitHighConsumptionApi
(
data
);
this
.
tableData
=
res
.
rows
?
res
.
rows
:
[];
this
.
tableDataTotal
=
res
.
total
?
res
.
total
:
0
;
}
catch
(
error
)
{
console
.
log
(
error
);
}
finally
{
this
.
isSkeleton
=
false
;
}
},
// 查看原文
viewOriginalArticle
(
row
)
{
}
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.limit-high-consumption-container
{
background
:
#ffffff
;
border-radius
:
4px
;
padding
:
16px
;
input
{
border
:
1px
solid
#efefef
;
}
::v-deep
.el-form-item
{
margin-right
:
8px
!
important
;
}
.query-box
{
margin
:
10px
0
20px
;
}
.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
;
}
}
@import
"@/assets/styles/search-common.scss"
;
}
</
style
>
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
View file @
af3fd4d7
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/monitoring/MonitorSettings.vue
View file @
af3fd4d7
...
...
@@ -9,18 +9,22 @@
<div
class=
"main-right"
>
<div
class=
"select-popper"
>
<span
:class=
"
{ color_text: sffx.length }">司法风险
{{
sffx
.
length
>
0
?
sffx
.
length
:
''
}}
<i
class=
"el-icon-caret-bottom"
></i></span>
<el-select
ref=
"tenderTypeSelect"
v-model=
"sffx"
class=
"select-multiple"
collapse-tags
@
change=
"handleSelect"
multiple
placeholder=
"请选择"
>
<el-option
v-for=
"(i,index) in selectList"
:key=
"index"
:label=
"i.dimensionName"
:value=
"i.dimensionName"
>
<el-checkbox
style=
"width: 100%;"
:label=
"i.dimensionName"
@
change=
"changeSffx(i)"
>
{{
i
.
dimensionName
}}
</el-checkbox>
</el-option>
<el-select
ref=
"tenderTypeSelect"
v-model=
"sffx"
class=
"select-multiple"
collapse-tags
multiple
@
change=
"handleSelect"
placeholder=
"请选择"
>
<el-checkbox-group
v-model=
"sffx"
>
<el-option
v-for=
"(i,index) in selectList"
:key=
"index"
:label=
"i.dimensionName"
:value=
"i.dimensionName"
>
<el-checkbox
style=
"width: 100%;"
:label=
"i.dimensionName"
@
change=
"changeSffx(i)"
>
{{
i
.
dimensionName
}}
</el-checkbox>
</el-option>
</el-checkbox-group>
</el-select>
</div>
<div
class=
"select-popper"
>
<span
:class=
"
{ color_text: gsfx.length }">工商风险
{{
gsfx
.
length
>
0
?
gsfx
.
length
:
''
}}
<i
class=
"el-icon-caret-bottom"
></i></span>
<el-select
ref=
"tenderTypeSelect"
v-model=
"gsfx"
class=
"select-multiple"
collapse-tags
@
change=
"handleSelect"
multiple
placeholder=
"请选择"
>
<el-option
v-for=
"(i,index) in selectList1"
:key=
"index"
:label=
"i.dimensionName"
:value=
"i.dimensionName"
>
<el-checkbox
style=
"width: 100%;"
:label=
"i.dimensionName"
@
change=
"changeGsfx(i)"
>
{{
i
.
dimensionName
}}
</el-checkbox>
</el-option>
<el-select
ref=
"tenderTypeSelect"
v-model=
"gsfx"
class=
"select-multiple"
collapse-tags
multiple
placeholder=
"请选择"
>
<el-checkbox-group
v-model=
"gsfx"
>
<el-option
v-for=
"(i,index) in selectList1"
:key=
"index"
:label=
"i.dimensionName"
@
change=
"handleSelect1"
:value=
"i.dimensionName"
>
<el-checkbox
style=
"width: 100%;"
:label=
"i.dimensionName"
@
change=
"changeGsfx(i)"
>
{{
i
.
dimensionName
}}
</el-checkbox>
</el-option>
</el-checkbox-group>
</el-select>
</div>
</div>
...
...
@@ -36,17 +40,29 @@
</div>
<div
class=
"main-item"
style=
"line-height: 32px;"
>
<div
class=
"label"
>
推送时段
</div>
<el-time-picker
is-range
class=
"timePicker"
v-model=
"time"
:picker-options=
"
{ step: '01:00' }"
@change="changeTime"
range-separator="至"
start-placeholder="开始时间"
end-placeholder="结束时间"
placeholder="选择时间范围">
</el-time-picker>
<el-time-select
placeholder=
"起始时间"
v-model=
"startTime"
@
change=
"startChangeTime"
:clearable=
"false"
:picker-options=
"
{
start: '00:00',
step: '01:00',
end: '22:00'
}">
</el-time-select>
<span
style=
"margin:0 8px;"
>
至
</span>
<el-time-select
placeholder=
"结束时间"
v-model=
"endTime"
:clearable=
"false"
:picker-options=
"
{
start: '00:00',
step: '01:00',
end: '23:00',
minTime: startTime
}">
</el-time-select>
</div>
</div>
<div
class=
"m-title"
>
监控接收方式
</div>
...
...
@@ -79,18 +95,19 @@
return
{
selectList
:[],
selectList1
:[],
arr
:[],
sffx
:[],
gsfx
:[],
checkFx
:
true
,
checkJkwd
:
true
,
queryParams
:{
fxType
:[],
jkwdType
:[],
pushFrequency
:
'0'
,
receiveMode
:
'0'
,
phones
:
''
},
time
:
''
startTime
:
''
,
endTime
:
''
,
detail
:{}
}
},
created
()
{
...
...
@@ -98,16 +115,35 @@
this
.
selectList
=
res
.
data
;
for
(
let
i
in
res
.
data
){
if
(
res
.
data
[
i
].
dimensionName
===
'司法风险'
){
this
.
selectList
=
res
.
data
[
i
].
children
this
.
selectList
=
res
.
data
[
i
].
children
;
for
(
let
i
=
0
;
i
<
this
.
selectList
.
length
;
i
++
){
this
.
arr
.
push
(
this
.
selectList
[
i
].
dimensionName
)
}
}
if
(
res
.
data
[
i
].
dimensionName
===
'工商风险'
){
this
.
selectList1
=
res
.
data
[
i
].
children
}
}
rulesDetail
({}).
then
(
res
=>
{
console
.
log
(
res
)
let
dimension
=
res
.
data
.
dimension
.
split
(
','
);
this
.
queryParams
=
{
pushFrequency
:
res
.
data
.
pushFrequency
.
toString
(),
receiveMode
:
res
.
data
.
receiveMode
.
toString
(),
phones
:
res
.
data
.
phones
}
this
.
startTime
=
res
.
data
.
timePeriodStart
this
.
endTime
=
res
.
data
.
timePeriodEnd
for
(
let
item
in
dimension
){
if
(
this
.
arr
.
indexOf
(
dimension
[
item
])
==
-
1
)
{
this
.
gsfx
.
push
(
dimension
[
item
])
}
else
{
this
.
sffx
.
push
(
dimension
[
item
])
}
}
})
})
rulesDetail
({}).
then
(
res
=>
{
console
.
log
(
res
)
})
},
methods
:
{
changeSffx
(
val
)
{
...
...
@@ -125,7 +161,14 @@
}
},
handleSelect
(
val
)
{
// console.log(val)
},
handleSelect1
(
val
)
{
},
// 开始时间改变
startChangeTime
(
value
){
this
.
endTime
=
""
},
handleAdd
(){
let
params
=
{
...
...
@@ -147,38 +190,20 @@
params
.
riskType
=
'工商风险'
params
.
dimension
=
this
.
gsfx
.
join
()
}
if
(
this
.
time
.
length
>
0
){
params
.
timePeriodStart
=
this
.
time
[
0
]
params
.
timePeriodEnd
=
this
.
time
[
1
]
if
(
this
.
startTime
){
params
.
timePeriodStart
=
this
.
startTime
}
if
(
this
.
endTime
){
params
.
timePeriodEnd
=
this
.
endTime
}
console
.
log
(
params
)
insertOrUpdate
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
$modal
.
success
(
res
.
msg
);
})
},
changeTime
(
val
){
console
.
log
(
val
)
},
checkFx1Btn
(
val
){
console
.
log
(
val
)
if
(
val
.
length
>
0
)
{
this
.
checkFx
=
false
;
}
else
if
(
val
.
length
==
0
)
{
this
.
checkFx
=
true
;
}
},
checkJkwdBtn
(
val
)
{
this
.
queryParams
.
jkwdType
=
[];
this
.
checkJkwd
=
true
;
},
checkJkwd1Btn
(
val
){
console
.
log
(
val
)
if
(
val
.
length
>
0
)
{
this
.
checkJkwd
=
false
;
}
else
if
(
val
.
length
==
0
)
{
this
.
checkJkwd
=
true
;
}
},
}
}
</
script
>
...
...
@@ -265,9 +290,12 @@
}
}
}
::v-deep
.
timePicker
{
width
:
228
px
;
::v-deep
.
el-date-editor.el-input
{
width
:
160
px
;
height
:
32px
;
.el-input__inner
{
height
:
32px
;
}
.el-range__icon
{
line-height
:
27px
;
}
...
...
dsk-operate-ui/src/views/monitoring/MonitoringDynamics.vue
View file @
af3fd4d7
...
...
@@ -67,42 +67,53 @@
<div
class=
"content"
>
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"table-item"
>
<el-table
class=
"fixed-table"
:data=
"tableData"
element-loading-text=
"Loading"
border
highlight-current-row
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
fixed
>
<template
slot-scope=
"scope"
>
{{
queryParams
.
pageNum
*
queryParams
.
pageSize
-
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
label=
"监控对象"
prop=
"companyName"
align=
"left"
width=
"250"
></el-table-column>
<el-table-column
label=
"风险级别"
prop=
"riskLevel"
align=
"left"
width=
"120"
></el-table-column>
<el-table-column
label=
"监控类型"
prop=
"parentName"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"动态内容"
prop=
"details"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(item,index) in scope.row.Array"
:key=
"index"
>
<div>
<span
style=
"color: #999;"
>
{{
item
.
key
}}
:
</span>
<span>
{{
item
.
value
}}
</span>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"更新时间"
prop=
"createTime"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"150"
class-name=
"small-padding fixed-width"
fixed=
"right"
<div
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
<el-table
class=
"fixed-table"
:data=
"tableData"
element-loading-text=
"Loading"
border
highlight-current-row
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;"
@
click=
"handleDetail"
>
查看详情
</span>
</
template
>
</el-table-column>
</el-table>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
fixed
>
<template
slot-scope=
"scope"
>
{{
queryParams
.
pageNum
*
queryParams
.
pageSize
-
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
label=
"监控对象"
prop=
"companyName"
align=
"left"
width=
"250"
></el-table-column>
<el-table-column
label=
"风险级别"
prop=
"riskLevel"
align=
"left"
width=
"120"
></el-table-column>
<el-table-column
label=
"监控类型"
prop=
"parentName"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"动态内容"
prop=
"details"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(item,index) in scope.row.Array"
:key=
"index"
>
<div>
<span
style=
"color: #999;"
>
{{
item
.
key
}}
:
</span>
<span>
{{
item
.
value
}}
</span>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"更新时间"
prop=
"createTime"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"150"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;"
@
click=
"handleDetail"
>
查看详情
</span>
</
template
>
</el-table-column>
</el-table>
</div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
>
<el-pagination
background
:current-page=
"queryParams.pageNum"
:page-size=
"queryParams.pageSize"
:total=
"tableDataTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
</div>
</div>
<el-dialog
:visible
.
sync=
"dialogVisible"
custom-class=
'dialog-claim'
:title=
"title"
width=
"720px"
>
...
...
@@ -149,17 +160,23 @@
import
{
changeTime
}
from
"@/assets/js/common.js"
import
{
dynamicPage
,
companyDetail
,
rulesSelect
}
from
'@/api/monitoring/monitoring'
import
InfoTable
from
'../detail/party-a/component/infoTable'
;
import
skeleton
from
'../component/skeleton'
export
default
{
name
:
'MonitoringDynamics'
,
components
:
{
InfoTable
InfoTable
,
skeleton
},
data
()
{
return
{
changeTime
,
radio
:
1
,
isSkeleton
:
true
,
radio
:
null
,
date
:
''
,
radioList
:[
{
type
:
null
,
label
:
'全部'
},
{
type
:
1
,
label
:
'今天'
...
...
@@ -333,6 +350,7 @@
this
.
queryParams
.
condition
.
fxjbType
=
this
.
riskLevel
.
join
()
}
dynamicPage
(
this
.
queryParams
).
then
(
res
=>
{
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
;
this
.
tableDataTotal
=
res
.
total
;
this
.
tableData
.
forEach
(
el
=>
{
...
...
@@ -423,9 +441,24 @@
this
.
date
=
[]
break
;
default
:
this
.
queryParams
.
condition
.
beginTime
=
''
this
.
queryParams
.
condition
.
endTime
=
''
this
.
querySubmit
()
break
;
}
},
// 重置页数
handleSizeChange
(
val
)
{
this
.
queryParams
.
pageNum
=
1
this
.
queryParams
.
pageSize
=
val
this
.
querySubmit
()
},
// 跳转指定页数
handleCurrentChange
(
val
)
{
this
.
queryParams
.
pageNum
=
val
this
.
querySubmit
()
window
.
scrollTo
(
0
,
0
);
},
// 时间选择改变后的回调
changePicker
(
value
)
{
if
(
value
&&
value
.
length
)
{
...
...
@@ -696,6 +729,27 @@
margin-right
:
4px
;
}
}
.empty
{
margin
:
0
auto
;
height
:
550px
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
width
:
108px
;
height
:
108px
;
margin-bottom
:
24px
;
margin-top
:
150px
;
}
.p1
{
color
:
#333333
;
font-size
:
16px
;
}
.p2
{
color
:
#999999
;
font-size
:
14px
;
margin-top
:
8px
;
}
}
}
::v-deep
.dialog-claim
{
.el-dialog__header
{
...
...
dsk-operate-ui/src/views/monitoring/MonitoringReport.vue
View file @
af3fd4d7
...
...
@@ -9,14 +9,14 @@
</el-tabs>
</div>
<div
class=
"report-content"
>
<div
class=
"list"
v-for=
"item in dataList"
>
<div
class=
"list"
v-
if=
"tableDataTotal > 0 && !isSkeleton"
v-
for=
"item in dataList"
>
<div
class=
"list-title"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
{{
item
.
period
}}
</span>
</div>
<div
class=
"flex-box query-ability"
>
共
<span
style=
"color:#0081FF;padding: 0 4px;"
>
13
</span>
家企业发生
<span
style=
"color:#F7965B;padding: 0 4px;"
>
651
</span>
条动态信息
共
<span
style=
"color:#0081FF;padding: 0 4px;"
>
{{
item
.
companyNum
}}
</span>
家企业发生
<span
style=
"color:#F7965B;padding: 0 4px;"
>
{{
item
.
dynamicNum
}}
</span>
条动态信息
</div>
</div>
</div>
...
...
@@ -33,28 +33,39 @@
<span
class=
"right-label"
>
提示:
</span>
<span
class=
"right-color color1"
>
{{
i
.
promptCount
}}
</span>
<span
class=
"right-label"
>
正向:
</span>
<span
class=
"right-color color
1
"
>
{{
i
.
positiveCount
}}
</span>
<span
class=
"right-color color
2
"
>
{{
i
.
positiveCount
}}
</span>
<span
class=
"right-label"
>
低风险:
</span>
<span
class=
"right-color color
1
"
>
{{
i
.
lowRiskCount
}}
</span>
<span
class=
"right-color color
3
"
>
{{
i
.
lowRiskCount
}}
</span>
<span
class=
"right-label"
>
中风险:
</span>
<span
class=
"right-color color
1
"
>
{{
i
.
middleRiskCount
}}
</span>
<span
class=
"right-color color
4
"
>
{{
i
.
middleRiskCount
}}
</span>
<span
class=
"right-label"
>
高风险:
</span>
<span
class=
"right-color color
1
"
>
{{
i
.
highRiskCount
}}
</span>
<span
class=
"right-color color
5
"
>
{{
i
.
highRiskCount
}}
</span>
</p>
<div
class=
"tips"
>
新增
<span
style=
"color:#0081FF;padding: 0 4px;"
>
{{
i
.
dynamicTotal
}}
</span>
条动态信息
</div>
</div>
</div>
</div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
reportPage
}
from
'@/api/monitoring/monitoring'
import
skeleton
from
'../component/skeleton'
export
default
{
name
:
'MonitoringReport'
,
components
:
{
skeleton
},
data
()
{
return
{
isSkeleton
:
true
,
activeName
:
'1'
,
dataList
:[
{
...
...
@@ -68,7 +79,8 @@
condition
:{
reportType
:
1
}
}
},
tableDataTotal
:
0
,
}
},
created
()
{
...
...
@@ -78,7 +90,9 @@
async
querySubmit
()
{
reportPage
(
this
.
queryParams
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
dataList
=
res
.
rows
this
.
isSkeleton
=
false
;
this
.
dataList
=
res
.
rows
;
this
.
tableDataTotal
=
res
.
total
})
},
handleClick
()
{
...
...
@@ -217,6 +231,27 @@
border-bottom
:
0
;
}
}
.empty
{
margin
:
0
auto
;
height
:
550px
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
width
:
108px
;
height
:
108px
;
margin-bottom
:
24px
;
margin-top
:
150px
;
}
.p1
{
color
:
#333333
;
font-size
:
16px
;
}
.p2
{
color
:
#999999
;
font-size
:
14px
;
margin-top
:
8px
;
}
}
}
}
</
style
>
dsk-operate-ui/src/views/monitoring/MonitoringReportDetails.vue
View file @
af3fd4d7
...
...
@@ -74,42 +74,53 @@
<div
class=
"content"
>
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"table-item"
>
<el-table
class=
"fixed-table"
:data=
"tableData"
element-loading-text=
"Loading"
border
highlight-current-row
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
fixed
>
<template
slot-scope=
"scope"
>
{{
queryParams
.
pageNum
*
queryParams
.
pageSize
-
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
label=
"监控对象"
prop=
"companyName"
align=
"left"
width=
"250"
></el-table-column>
<el-table-column
label=
"风险级别"
prop=
"riskLevel"
align=
"left"
width=
"120"
></el-table-column>
<el-table-column
label=
"监控类型"
prop=
"parentName"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"动态内容"
prop=
"details"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(item,index) in scope.row.Array"
:key=
"index"
>
<div>
<span
style=
"color: #999;"
>
{{
item
.
key
}}
:
</span>
<span>
{{
item
.
value
}}
</span>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"更新时间"
prop=
"createTime"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"150"
class-name=
"small-padding fixed-width"
fixed=
"right"
<div
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
<el-table
class=
"fixed-table"
:data=
"tableData"
element-loading-text=
"Loading"
border
highlight-current-row
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;"
@
click=
"handleDetail"
>
查看详情
</span>
</
template
>
</el-table-column>
</el-table>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
fixed
>
<template
slot-scope=
"scope"
>
{{
queryParams
.
pageNum
*
queryParams
.
pageSize
-
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
label=
"监控对象"
prop=
"companyName"
align=
"left"
width=
"250"
></el-table-column>
<el-table-column
label=
"风险级别"
prop=
"riskLevel"
align=
"left"
width=
"120"
></el-table-column>
<el-table-column
label=
"监控类型"
prop=
"parentName"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"动态内容"
prop=
"details"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(item,index) in scope.row.Array"
:key=
"index"
>
<div>
<span
style=
"color: #999;"
>
{{
item
.
key
}}
:
</span>
<span>
{{
item
.
value
}}
</span>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"更新时间"
prop=
"createTime"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"150"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;"
@
click=
"handleDetail"
>
查看详情
</span>
</
template
>
</el-table-column>
</el-table>
</div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
>
<el-pagination
background
:current-page=
"queryParams.pageNum"
:page-size=
"queryParams.pageSize"
:total=
"tableDataTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
</div>
</div>
<el-dialog
:visible
.
sync=
"dialogVisible"
custom-class=
'dialog-claim'
:title=
"title"
width=
"720px"
>
...
...
@@ -142,14 +153,16 @@
import
{
dynamicPage
,
rulesSelect
,
companyDetail
}
from
'@/api/monitoring/monitoring'
import
InfoTable
from
'../detail/party-a/component/infoTable'
;
import
{
changeTime
}
from
"@/assets/js/common.js"
import
skeleton
from
'../component/skeleton'
export
default
{
name
:
'MonitoringDynamics'
,
components
:
{
InfoTable
InfoTable
,
skeleton
},
data
()
{
return
{
changeTime
,
isSkeleton
:
true
,
radio
:
0
,
date
:
''
,
radioList
:[
...
...
@@ -194,16 +207,6 @@
],
checkFx
:
true
,
fxlxType
:[],
jkType
:[
{
value
:
'1'
,
label
:
'司法风险'
},
{
value
:
'2'
,
label
:
'工商变更'
},
],
selectList
:[],
selectList1
:[],
sffx
:[],
...
...
@@ -337,6 +340,7 @@
this
.
queryParams
.
condition
.
fxjbType
=
this
.
riskLevel
.
join
()
}
dynamicPage
(
this
.
queryParams
).
then
(
res
=>
{
this
.
isSkeleton
=
false
;
this
.
object
=
res
.
object
;
this
.
tableData
=
res
.
rows
;
this
.
tableDataTotal
=
res
.
total
;
...
...
@@ -377,6 +381,18 @@
handleDetail
(){
this
.
dialogVisible
=
true
;
},
// 重置页数
handleSizeChange
(
val
)
{
this
.
queryParams
.
pageNum
=
1
this
.
queryParams
.
pageSize
=
val
this
.
querySubmit
()
},
// 跳转指定页数
handleCurrentChange
(
val
)
{
this
.
queryParams
.
pageNum
=
val
this
.
querySubmit
()
window
.
scrollTo
(
0
,
0
);
},
// 时间格式化
formatDate
(
timeStr
)
{
let
date
=
new
Date
(
Number
(
timeStr
));
...
...
@@ -643,6 +659,27 @@
margin-right
:
4px
;
}
}
.empty
{
margin
:
0
auto
;
height
:
550px
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
width
:
108px
;
height
:
108px
;
margin-bottom
:
24px
;
margin-top
:
150px
;
}
.p1
{
color
:
#333333
;
font-size
:
16px
;
}
.p2
{
color
:
#999999
;
font-size
:
14px
;
margin-top
:
8px
;
}
}
}
::v-deep
.dialog-claim
{
.el-dialog__header
{
...
...
dsk-operate-ui/src/views/supplier/supplierlist/ledger.vue
View file @
af3fd4d7
...
...
@@ -70,9 +70,9 @@
<div
class=
"table-supplier"
>
<div
class=
"total-title"
>
<div
class=
"totals"
>
共
{{
total
}}
条
</div>
<p
class=
"total-dc"
>
<p
class=
"total-dc"
@
click=
"customerExport"
>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<span
class=
"excel"
@
click=
"$message(
{message: '功能正在开发中',type: 'warning'})"
>导出EXCEL
</span>
<span
class=
"excel"
>
导出EXCEL
</span>
</p>
</div>
<div
class=
"table-item-jf table-item-jf1 empty-table"
v-if=
"total == 0 && !isSkeleton"
>
...
...
@@ -174,7 +174,7 @@
</el-table-column>
<el-table-column
label=
"队伍规模"
min-width=
"120"
:resizable=
"false"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
legalPerson
||
"--"
}}
{{
scope
.
row
.
serviceTeamPersonnum
||
"--"
}}
</
template
>
</el-table-column>
<el-table-column
label=
"专业特长"
min-width=
"120"
:resizable=
"false"
>
...
...
@@ -293,7 +293,7 @@
import
"@/assets/styles/public.scss"
;
import
"@/assets/styles/supplierlist.scss"
;
import
skeleton
from
'@/views/project/projectList/component/skeleton'
;
import
{
customerAll
,
areaAll
}
from
'@/api/supplier/supplier'
;
import
{
customerAll
,
areaAll
,
customerExport
}
from
'@/api/supplier/supplier'
;
import
{
getDicts
}
from
"@/api/system/dict/data"
;
export
default
{
name
:
'ledger'
,
...
...
@@ -367,6 +367,38 @@
this
.
litigationstatus
=
res
.
data
})
},
customerExport
(){
let
param
=
this
.
formdata
if
(
param
.
times
){
param
.
approveDateBegion
=
param
.
times
[
0
]
param
.
approveDateEnd
=
param
.
times
[
1
]
}
else
{
param
.
approveDateBegion
=
''
param
.
approveDateEnd
=
''
}
if
(
param
.
areas
){
let
province
=
[]
let
city
=
[]
param
.
areas
.
forEach
(
item
=>
{
if
(
item
.
length
==
3
){
//到市
if
(
item
[
1
].
indexOf
(
'重庆'
)
>-
1
||
item
[
1
].
indexOf
(
'北京'
)
>-
1
||
item
[
1
].
indexOf
(
'天津'
)
>-
1
||
item
[
1
].
indexOf
(
'上海'
)
>-
1
){
province
.
push
(
item
[
1
])
}
else
{
city
.
push
(
item
[
2
])
}
}
})
param
.
province
=
province
param
.
city
=
city
}
else
{
param
.
province
=
[]
param
.
city
=
[]
}
// this.download('/customer/export', param, `type_${new Date().getTime()}.xlsx`)
customerExport
(
param
).
then
(
blob
=>
{
this
.
$download
.
saveAs
(
blob
,
`type_
${
new
Date
().
getTime
()}
.xlsx`
)
})
},
getSearch
(){
this
.
formdata
.
pageNum
=
1
this
.
customerAll
()
...
...
dsk-operate-ui/src/views/system/supplierBad/index.vue
View file @
af3fd4d7
...
...
@@ -53,18 +53,31 @@
</div>
<div
class=
"main-item"
style=
"line-height: 32px;"
>
<div
class=
"label"
>
推送时段
</div>
<el-time-picker
is-range
class=
"timePicker"
v-model=
"time"
value-format=
"HH:mm:ss"
@
change=
"changeTime"
range-separator=
"至"
start-placeholder=
"开始时间"
end-placeholder=
"结束时间"
placeholder=
"选择时间范围"
>
</el-time-picker>
<el-time-select
placeholder=
"起始时间"
v-model=
"startTime"
@
change=
"startChangeTime"
:clearable=
"false"
:picker-options=
"{
start: '00:00',
step: '01:00',
end: '22:00'
}"
>
</el-time-select>
<span
style=
"margin:0 8px;"
>
至
</span>
<el-time-select
placeholder=
"结束时间"
v-model=
"endTime"
:clearable=
"false"
:picker-options=
"{
start: '00:00',
step: '01:00',
end: '23:00',
minTime: startTime
}"
>
</el-time-select>
</div>
<el-button
type=
"primary"
@
click=
"handleSave"
>
保存
</el-button>
</div>
</div>
<el-dialog
:visible
.
sync=
"visible"
custom-class=
'dialog-claim'
title=
"新增推送人信息"
width=
"480px"
>
...
...
@@ -127,7 +140,8 @@
tableData
:[],
visible
:
false
,
radioTime
:
'0'
,
time
:[],
startTime
:
''
,
endTime
:
''
,
tableDataTotal
:
0
,
pageSize
:
10
,
pageNum
:
1
,
...
...
@@ -145,7 +159,9 @@
this
.
radioTime
=
response
.
data
.
configValue
});
configKey
(
"customer-badness-time-frame"
).
then
(
response
=>
{
this
.
time
=
[
this
.
converTime
(
response
.
data
.
configValue
.
split
(
'-'
)[
0
]),
this
.
converTime
(
response
.
data
.
configValue
.
split
(
'-'
)[
1
])]
let
times
=
response
.
data
.
configValue
.
split
(
"-"
);
this
.
startTime
=
times
[
0
].
length
<
2
?
'0'
+
times
[
0
]
+
':00'
:
times
[
0
]
this
.
endTime
=
times
[
1
].
length
<
2
?
'0'
+
times
[
1
]
+
':00'
:
times
[
1
]
});
this
.
getList
()
},
...
...
@@ -178,6 +194,10 @@
}
this
.
id
=
item
.
id
},
// 开始时间改变
startChangeTime
(
value
){
this
.
endTime
=
""
},
handleAdd
(){
let
params
=
{
pushTypeCode
:
'custoemr-badness'
,
...
...
@@ -214,9 +234,8 @@
this
.
getList
()
})
},
changeTime
(
val
){
console
.
log
(
val
)
let
time
=
val
[
0
]
+
'-'
+
val
[
1
]
handleSave
(){
let
time
=
this
.
startTime
.
substring
(
0
,
2
)
+
'-'
+
this
.
endTime
.
substring
(
0
,
2
)
configUpdate
({
configKey
:
'customer-badness-time-frame'
,
configValue
:
time
}).
then
(
res
=>
{
this
.
$modal
.
success
(
res
.
msg
);
});
...
...
dsk-operate-ui/vue.config.js
View file @
af3fd4d7
...
...
@@ -38,7 +38,7 @@ module.exports = {
// target: `http://47.104.91.229:9099/prod-api`,//测试-旧
target
:
`http://111.204.34.146:9099/prod-api`
,
//测试
// target: `http://192.168.60.5:9098`,//陈跃方
// target: `http://192.168.60.27:9098`,//邓
// target: `http://122.9.160.122:9011`, //线上
// target: `http://192.168.0.165:9098`,//施-无线
// target: `http://192.168.60.46:9098`,//施-有线
...
...
dsk-system/src/main/java/com/dsk/system/utils/DskOpenApiUtil.java
View file @
af3fd4d7
...
...
@@ -125,6 +125,25 @@ public class DskOpenApiUtil {
return
new
TableDataInfo
((
List
<?>)
list
,
count
);
}
/***
*@Description: 特殊返回
*@Param:
*@return: com.dsk.common.core.page.TableDataInfo
*@Author: Dgm
*@date: 2023/12/15 15:04
*/
public
TableDataInfo
responsePageT
(
Map
<
String
,
Object
>
resMap
)
throws
Exception
{
Integer
code
=
MapUtils
.
getInteger
(
resMap
,
"code"
,
300
);
Map
data
=
MapUtils
.
getMap
(
resMap
,
"data"
,
null
);
if
(
200
!=
code
)
{
throw
new
RuntimeException
();
}
Integer
count
=
MapUtils
.
getInteger
(
data
,
"totalCount"
,
0
);
Object
list
=
MapUtils
.
getObject
(
data
,
"list"
,
""
);
Object
object
=
MapUtils
.
getObject
(
data
,
"obj"
,
""
);
return
new
TableDataInfo
((
List
<?>)
list
,
count
,
object
);
}
private
void
initApiConfig
()
{
TenantHelper
.
ignore
(()
->
{
SysConfig
accessKeyId
=
sysConfigMapper
.
selectOne
(
Wrappers
.<
SysConfig
>
lambdaQuery
().
eq
(
SysConfig:
:
getTenantId
,
TenantConstants
.
DEFAULT_TENANT_ID
).
eq
(
SysConfig:
:
getConfigKey
,
"dsk-Appkey"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment