Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
f7ca5734
Commit
f7ca5734
authored
Aug 18, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev20230707' into dev20230707
parents
b89588b1
307272c0
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
214 additions
and
191 deletions
+214
-191
application-pre.yml
dsk-admin/src/main/resources/application-pre.yml
+23
-22
supplierDetail.vue
...iews/detail/party-a/dealings/component/supplierDetail.vue
+28
-39
custom.vue
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
+0
-1
supplier.vue
...operate-ui/src/views/detail/party-a/dealings/supplier.vue
+0
-1
infoheader.vue
...rc/views/detail/party-a/overview/component/infoheader.vue
+2
-2
index.vue
...te-ui/src/views/enterpriseData/components/Group/index.vue
+147
-121
CustomerFollowRecordSearchDto.java
...em/domain/customer/dto/CustomerFollowRecordSearchDto.java
+8
-1
CustomerFollowRecordMapper.java
...ava/com/dsk/system/mapper/CustomerFollowRecordMapper.java
+1
-1
CustomerFollowRecordMapper.xml
...ces/mapper/system/customer/CustomerFollowRecordMapper.xml
+5
-3
No files found.
dsk-admin/src/main/resources/application-pre.yml
View file @
f7ca5734
...
@@ -9,12 +9,12 @@ shuzhihua:
...
@@ -9,12 +9,12 @@ shuzhihua:
# 实例演示开关
# 实例演示开关
demoEnabled
:
true
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/dsk/uploadPath,Linux配置 /home/server/dsk-operate-sys/uploadPath)
# 文件路径 示例( Windows配置D:/dsk/uploadPath,Linux配置 /home/server/dsk-operate-sys/uploadPath)
# profile: D:/dsk-operate-sys/uploadPath/
# profile: D:/dsk-operate-sys/uploadPath/
profile
:
/home/server/dsk-operate-sys/uploadPath/
profile
:
/home/server/dsk-operate-sys/uploadPath/
# 获取ip地址开关
# 获取ip地址开关
addressEnabled
:
false
addressEnabled
:
false
# 验证码类型 math 数组计算 char 字符验证
# 验证码类型 math 数组计算 char 字符验证
captchaType
:
math
captchaType
:
char
# 开发环境配置
# 开发环境配置
server
:
server
:
...
@@ -56,9 +56,9 @@ spring:
...
@@ -56,9 +56,9 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://
47.104.91.22
9:3306/dsk-operate-sys?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://
192.168.0.7
9:3306/dsk-operate-sys?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
dev
username
:
dev
password
:
zfTFIJjaN#6xB83r
password
:
8AXjjCHZ666!
# 从库数据源
# 从库数据源
# slave:
# slave:
# # 从数据源开关/默认关闭
# # 从数据源开关/默认关闭
...
@@ -113,8 +113,8 @@ spring:
...
@@ -113,8 +113,8 @@ spring:
messages
:
messages
:
# 国际化资源文件路径
# 国际化资源文件路径
basename
:
i18n/messages
basename
:
i18n/messages
# profiles:
# profiles:
# active: druid
# active: druid
# 文件上传
# 文件上传
servlet
:
servlet
:
multipart
:
multipart
:
...
@@ -130,7 +130,8 @@ spring:
...
@@ -130,7 +130,8 @@ spring:
# redis 配置
# redis 配置
redis
:
redis
:
# 地址
# 地址
host
:
47.104.91.229
# host: 139.9.157.49
host
:
192.168.0.79
# 端口,默认为6379
# 端口,默认为6379
port
:
6379
port
:
6379
# 数据库索引
# 数据库索引
...
@@ -194,10 +195,10 @@ xss:
...
@@ -194,10 +195,10 @@ xss:
dsk
:
dsk
:
open
:
open
:
# endPoint: 120.27.13.145:8865
# endPoint: 120.27.13.145:8865
# accessKeyId: aec7b3ff2y2q8x6t49a7e2c463ce21912
# accessKeyId: aec7b3ff2y2q8x6t49a7e2c463ce21912
# accessKeySecret: ee8a53c7ea04eb3ac311406c8f56f95b
# accessKeySecret: ee8a53c7ea04eb3ac311406c8f56f95b
# protocol: http
# protocol: http
endPoint
:
openapi.jiansheku.com
endPoint
:
openapi.jiansheku.com
accessKeyId
:
aec7b3ff2y2q8x6t49a7e2c463ce21912
accessKeyId
:
aec7b3ff2y2q8x6t49a7e2c463ce21912
accessKeySecret
:
ee8a53c7ea04eb3ac311406c8f56f95b
accessKeySecret
:
ee8a53c7ea04eb3ac311406c8f56f95b
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/component/supplierDetail.vue
View file @
f7ca5734
<
template
>
<
template
>
<div
class=
"client-details"
>
<div
class=
"client-details"
>
<el-d
ialog
<el-d
rawer
:visible
.
sync=
"drawer"
:visible
.
sync=
"drawer"
size=
"80%"
size=
"60%"
:title=
"title"
custom-class=
"client-drawer"
custom-class=
"client-dialog"
:with-header=
"false"
:with-header=
"false"
@
closed=
"cancel"
>
@
closed=
"cancel"
>
<head-detail-form
<head-detail-form
:title=
"title"
:form-data=
"formData"
:form-data=
"formData"
:query-params=
"queryParams"
:query-params=
"queryParams"
:total=
"
data.t
otal"
:total=
"
tableDataT
otal"
:amountTotal=
"amountTotal"
:amountTotal=
"amountTotal"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
...
@@ -19,18 +19,25 @@
...
@@ -19,18 +19,25 @@
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"
data.t
otal"
:tableDataTotal=
"
tableDataT
otal"
:queryParams=
"queryParams"
:queryParams=
"queryParams"
@
handle-current-change=
"handleCurrentChange"
@
handle-current-change=
"handleCurrentChange"
style=
"margin: 12px;"
>
>
<template
slot=
"
sourceTyp
e"
slot-scope=
"scope"
>
<template
slot=
"
projectAllNam
e"
slot-scope=
"scope"
>
<div
class=
"flex-box"
>
<div
class=
"flex-box"
>
<
div
class=
"a-link"
@
click=
"linkTo(scope)"
v-if=
"scope.row.sourceId&&scope.row.sourceType=='中标业绩'"
v-html=
"scope.row.sourceType"
style=
"cursor: pointer"
></div
>
<
img
class=
"tip-img"
src=
"@/assets/images/detail/ico_pdf.png"
v-if=
"scope.row.snapshootPic"
@
click=
"handlePic(scope.row.snapshootPic, true)"
/
>
<
span
v-else
v-html=
"scope.row.sourceTyp
e || '--'"
></span>
<
div
class=
"a-link"
@
click=
"linkTo(scope)"
v-if=
"scope.row.id&&scope.row.projectAllName"
v-html=
"scope.row.projectAllName"
style=
"cursor: pointer"
></div>
<span
v-else
v-html=
"scope.row.projectAllNam
e || '--'"
></span>
</div>
</div>
</
template
>
</
template
>
<
template
slot=
"province"
slot-scope=
"scope"
>
{{
scope
.
row
.
province
}}{{
`${scope.row.city?'-'+scope.row.city:''
}
`
}}
<
/template
>
<
template
slot
=
"lowerRate"
slot
-
scope
=
"scope"
>
<
span
>
{{
scope
.
row
.
lowerRate
?
scope
.
row
.
lowerRate
+
'%'
:
'--'
}}
<
/span
>
<
/template
>
<
/tables
>
<
/tables
>
</el-d
ialog
>
<
/el-d
rawer
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
...
@@ -53,21 +60,22 @@ export default {
...
@@ -53,21 +60,22 @@ export default {
return
{
return
{
drawer
:
false
,
drawer
:
false
,
queryParams
:
{
queryParams
:
{
c
ompanyI
d
:
this
.
data
.
companyId
,
c
i
d
:
this
.
data
.
companyId
,
ci
d
:
this
.
companyId
,
unitI
d
:
this
.
companyId
,
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
20
pageSize
:
20
}
,
}
,
formData
:
[
formData
:
[
{
type
:
6
,
fieldName
:
'money'
,
value
:
''
,
placeholder
:
'合同金额'
,
startMoney
:
'amountMin'
,
endMoney
:
'amountMax'
},
{
type
:
3
,
fieldName
:
'keys'
,
value
:
''
,
placeholder
:
'输入合作项目/工程名称查询'
,
options
:
[],
width
:
260
}
,
{
type
:
3
,
fieldName
:
'keys'
,
value
:
''
,
placeholder
:
'输入合作项目/工程名称查询'
,
options
:
[],
width
:
260
}
,
],
],
forData
:
[
forData
:
[
{
label
:
'项目名称'
,
prop
:
'projectName'
,
fixed
:
true
},
{
label
:
'合作项目/工程名称'
,
prop
:
'projectAllName'
,
width
:
'720'
,
fixed
:
true
,
slot
:
true
}
,
{
label
:
'公布时间'
,
prop
:
'time'
,
width
:
'100'
},
{
label
:
'项目/工程金额(万元)'
,
prop
:
'winBidAmount'
,
width
:
'160'
}
,
{
label
:
'本次合同金额(万元)'
,
prop
:
'amount'
,
width
:
'160'
},
{
label
:
'合作时间'
,
prop
:
'winBidTime'
,
width
:
'100'
}
,
{
label
:
'项目类型'
,
prop
:
'projectType'
,
width
:
'130'
},
{
label
:
'项目地区'
,
prop
:
'province'
,
width
:
'160'
,
slot
:
true
}
,
{
label
:
'数据来源'
,
prop
:
'sourceType'
,
width
:
'90'
,
slot
:
true
}
{
label
:
'项目类型'
,
prop
:
'boundType'
,
width
:
'130'
}
,
{
label
:
'工期(天)'
,
prop
:
'period'
,
width
:
'90'
}
,
{
label
:
'下浮率'
,
prop
:
'lowerRate'
,
width
:
'90'
,
slot
:
true
}
],
],
//列表
//列表
tableLoading
:
false
,
tableLoading
:
false
,
...
@@ -100,7 +108,7 @@ export default {
...
@@ -100,7 +108,7 @@ export default {
}
,
}
,
linkTo
(
scope
){
linkTo
(
scope
){
this
.
drawer
=
false
this
.
drawer
=
false
this
.
$router
.
push
(
`/biddetail/
${
scope
.
row
.
sourceI
d
}
`
)
this
.
$router
.
push
(
`/biddetail/${scope.row.
i
d
}
`
)
}
,
}
,
cancel
()
{
cancel
()
{
this
.
$emit
(
'cancel'
)
this
.
$emit
(
'cancel'
)
...
@@ -111,27 +119,8 @@ export default {
...
@@ -111,27 +119,8 @@ export default {
<
style
lang
=
"scss"
scoped
>
<
style
lang
=
"scss"
scoped
>
.
client
-
details
{
.
client
-
details
{
::v-deep
.client-dialog
{
::
v
-
deep
.
client
-
drawer
{
width
:
80%
;
min-width
:
900px
;
background
:
#
FFFFFF
;
background
:
#
FFFFFF
;
.el-dialog__body
{
padding-top
:
0
;
}
.fixed-table
{
.el-table__header-wrapper
,
.el-table__fixed-header-wrapper
{
top
:
0
;
}
}
.el-dialog__header
{
border-bottom
:
1px
solid
#E1E1E1
;
}
.el-dialog__title
{
font-size
:
16px
;
color
:
#232323
;
font-weight
:
bold
;
margin-right
:
4px
;
}
}
}
.
tip
-
img
{
.
tip
-
img
{
width
:
14
px
;
width
:
14
px
;
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
View file @
f7ca5734
...
@@ -84,7 +84,6 @@ export default {
...
@@ -84,7 +84,6 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(
params
)
{
async
handleQuery
(
params
)
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
params
?
params
:
this
.
queryParams
let
param
=
params
?
params
:
this
.
queryParams
let
res
=
await
clientPage
(
param
)
let
res
=
await
clientPage
(
param
)
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/supplier.vue
View file @
f7ca5734
...
@@ -84,7 +84,6 @@ export default {
...
@@ -84,7 +84,6 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(
params
)
{
async
handleQuery
(
params
)
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
params
?
params
:
this
.
queryParams
let
param
=
params
?
params
:
this
.
queryParams
let
res
=
await
supplierPage
(
param
)
let
res
=
await
supplierPage
(
param
)
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/infoheader.vue
View file @
f7ca5734
...
@@ -98,14 +98,14 @@
...
@@ -98,14 +98,14 @@
<div
class=
"swiper-containers swiper-info"
:style=
"graphList.length<=6?'margin-left:0px; width: 100%;':''"
>
<div
class=
"swiper-containers swiper-info"
:style=
"graphList.length<=6?'margin-left:0px; width: 100%;':''"
>
<ul
class=
"swiper-wrapper"
>
<ul
class=
"swiper-wrapper"
>
<li
class=
"swiper-slide"
v-if=
"statistic.combineMember"
>
<li
class=
"swiper-slide"
v-if=
"statistic.combineMember"
>
<div
class=
"flex-box"
>
<div
class=
"flex-box"
@
click=
"linkTo(statistic.combineMember)"
>
<img
src=
"@/assets/images/detail/overview/company_ssjt.png"
alt=
"所属集团"
title=
"所属集团"
class=
"swiper-img"
>
<img
src=
"@/assets/images/detail/overview/company_ssjt.png"
alt=
"所属集团"
title=
"所属集团"
class=
"swiper-img"
>
<div
class=
"swiper-item"
>
<div
class=
"swiper-item"
>
<span
class=
"swiper-name"
>
<span
class=
"swiper-name"
>
所属集团-{{statistic.combineMember.companyName}}
所属集团-{{statistic.combineMember.companyName}}
</span>
</span>
<div
>
<div
>
<span
>
集团成员:
</span><i
class=
"num"
@
click=
"linkTo(statistic.combineMember)"
>
{{statistic.combineMember.memberNum}}
</i>
<span
>
集团成员:
</span><i
class=
"num"
>
{{statistic.combineMember.memberNum}}
</i>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
dsk-operate-ui/src/views/enterpriseData/components/Group/index.vue
View file @
f7ca5734
<
template
>
<
template
>
<!--
<div
style=
"width:calc(100% - 100px);"
@
click=
"showlist = false"
>
-->
<!--
<div
style=
"width:calc(100% - 100px);"
@
click=
"showlist = false"
>
-->
<div
@
click=
"showlist = false"
>
<div
@
click=
"showlist = false"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"content_item"
>
<div
class=
"content_item"
>
<div
class=
"content_right"
>
<div
class=
"content_right"
>
<el-input
type=
"text"
class=
"ename_input"
placeholder=
"请输入集团名称查询"
clearable
v-model=
"companyName"
@
input=
"search(1)"
><div
slot=
"append"
class=
"btn-search"
@
click=
"selCompany
()"
>
搜索
</div></el-input>
<el-input
type=
"text"
class=
"ename_input"
placeholder=
"请输入集团名称查询"
clearable
v-model=
"companyName"
@
input=
"search(1)"
><div
slot=
"append"
class=
"btn-search"
@
click=
"searchClick
()"
>
搜索
</div></el-input>
<div
class=
"infinite-list"
v-if=
"showlist"
id=
"box"
v-infinite-scroll=
"load"
style=
"overflow:auto"
>
<div
class=
"infinite-list"
v-if=
"showlist"
id=
"box"
v-infinite-scroll=
"load"
style=
"overflow:auto"
>
<div
class=
"empty"
v-if=
"searchList.length
<1
"
>
<div
class=
"empty"
v-if=
"searchList.length
<1
"
>
<img
src=
"@/assets/images/kong.png"
alt=
""
>
<img
src=
"@/assets/images/kong.png"
alt=
""
>
...
@@ -25,7 +26,9 @@
...
@@ -25,7 +26,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
style=
"position: relative;"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
v-else
style=
"position: relative;"
>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<template
v-if=
"activeIndex==0"
>
<template
v-if=
"activeIndex==0"
>
<div
class=
"count"
>
共
{{
total
}}
条
</div>
<div
class=
"count"
>
共
{{
total
}}
条
</div>
...
@@ -141,10 +144,16 @@
...
@@ -141,10 +144,16 @@
<
script
>
<
script
>
import
api
from
'@/api/enterpriseData/enterpriseData.js'
;
import
api
from
'@/api/enterpriseData/enterpriseData.js'
;
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Group'
,
name
:
'Group'
,
components
:
{
skeleton
},
data
(){
data
(){
return
{
return
{
isSkeleton
:
true
,
childList
:[],
childList
:[],
localList
:{},
localList
:{},
localListPage
:
1
,
localListPage
:
1
,
...
@@ -191,6 +200,7 @@ export default {
...
@@ -191,6 +200,7 @@ export default {
}
}
api
.
centralEnterprseChildPage
(
data
).
then
(
res
=>
{
api
.
centralEnterprseChildPage
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
childList
[
index
].
list
.
push
(...
res
.
data
.
list
)
this
.
childList
[
index
].
list
.
push
(...
res
.
data
.
list
)
}
}
})
})
...
@@ -204,6 +214,7 @@ export default {
...
@@ -204,6 +214,7 @@ export default {
}
}
api
.
centralEnterprselocalPage
(
data
).
then
(
res
=>
{
api
.
centralEnterprselocalPage
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
localList1
[
index
].
result
.
push
(...
res
.
data
.
list
)
this
.
localList1
[
index
].
result
.
push
(...
res
.
data
.
list
)
}
}
})
})
...
@@ -217,6 +228,7 @@ export default {
...
@@ -217,6 +228,7 @@ export default {
}
}
api
.
centralEnterprsesocialPage
(
data
).
then
(
res
=>
{
api
.
centralEnterprsesocialPage
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
childList
[
index
].
list
.
push
(...
res
.
data
.
list
)
this
.
childList
[
index
].
list
.
push
(...
res
.
data
.
list
)
}
}
})
})
...
@@ -228,10 +240,12 @@ export default {
...
@@ -228,10 +240,12 @@ export default {
},
},
groupClick
(
index
){
groupClick
(
index
){
this
.
activeIndex
=
index
;
this
.
activeIndex
=
index
;
this
.
isSkeleton
=
true
;
if
(
index
==
1
){
if
(
index
==
1
){
this
.
listenerFunction
();
this
.
listenerFunction
();
api
.
centralEnterprseChild
().
then
(
res
=>
{
api
.
centralEnterprseChild
().
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
if
(
res
.
data
.
list
.
length
>
0
){
if
(
res
.
data
.
list
.
length
>
0
){
res
.
data
.
list
.
map
(
item
=>
{
res
.
data
.
list
.
map
(
item
=>
{
item
.
page
=
1
item
.
page
=
1
...
@@ -249,6 +263,7 @@ export default {
...
@@ -249,6 +263,7 @@ export default {
provinceId
:
this
.
provinceId
provinceId
:
this
.
provinceId
}
}
api
.
centralEnterprselocal
(
data
).
then
(
res
=>
{
api
.
centralEnterprselocal
(
data
).
then
(
res
=>
{
this
.
isSkeleton
=
false
;
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
localList
=
res
.
data
.
localList
;
this
.
localList
=
res
.
data
.
localList
;
this
.
localListPage
=
1
;
this
.
localListPage
=
1
;
...
@@ -267,8 +282,9 @@ export default {
...
@@ -267,8 +282,9 @@ export default {
api
.
centralEnterprsesocial
().
then
(
res
=>
{
api
.
centralEnterprsesocial
().
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
if
(
res
.
data
.
length
>
0
){
this
.
isSkeleton
=
false
;
res
.
data
.
map
(
item
=>
{
if
(
res
.
data
.
list
.
length
>
0
){
res
.
data
.
list
.
map
(
item
=>
{
item
.
page
=
1
item
.
page
=
1
})
})
}
}
...
@@ -276,6 +292,8 @@ export default {
...
@@ -276,6 +292,8 @@ export default {
this
.
childListTotal
=
res
.
data
.
total
;
this
.
childListTotal
=
res
.
data
.
total
;
}
}
})
})
}
else
{
this
.
getCompany
()
}
}
},
},
...
@@ -317,6 +335,7 @@ export default {
...
@@ -317,6 +335,7 @@ export default {
getCompany
(){
getCompany
(){
api
.
centralEnterprse
().
then
(
res
=>
{
api
.
centralEnterprse
().
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
companData
=
res
.
data
.
list
;
this
.
companData
=
res
.
data
.
list
;
this
.
total
=
res
.
data
.
total
this
.
total
=
res
.
data
.
total
}
}
...
@@ -350,10 +369,17 @@ export default {
...
@@ -350,10 +369,17 @@ export default {
this
.
search
(
this
.
page
)
this
.
search
(
this
.
page
)
}
}
},
},
se
lCompany
(
item
=
this
.
searchList
[
0
]
){
se
archClick
(
){
if
(
!
this
.
companyName
){
if
(
!
this
.
companyName
){
return
this
.
$message
.
warning
(
"抱歉,没找到相关数据,建议调整关键词或筛选条件,重新搜索"
)
return
this
.
$message
.
warning
(
"抱歉,没找到相关数据,建议调整关键词或筛选条件,重新搜索"
)
}
}
let
item
=
this
.
searchList
[
0
]
this
.
$router
.
push
({
path
:
`/groupAccount/
${
item
.
combineId
}
?name=
${
item
.
combineName
.
replace
(
new
RegExp
(
"<font color='#FF204E'>"
,
'g'
),
''
).
replace
(
new
RegExp
(
"</font>"
,
'g'
),
''
)}
`
})
},
selCompany
(
item
=
this
.
searchList
[
0
]){
if
(
!
item
){
return
this
.
$message
.
warning
(
"抱歉,没找到相关数据,建议调整关键词或筛选条件,重新搜索"
)
}
this
.
$router
.
push
({
path
:
`/groupAccount/
${
item
.
combineId
}
?name=
${
item
.
combineName
.
replace
(
new
RegExp
(
"<font color='#FF204E'>"
,
'g'
),
''
).
replace
(
new
RegExp
(
"</font>"
,
'g'
),
''
)}
`
})
this
.
$router
.
push
({
path
:
`/groupAccount/
${
item
.
combineId
}
?name=
${
item
.
combineName
.
replace
(
new
RegExp
(
"<font color='#FF204E'>"
,
'g'
),
''
).
replace
(
new
RegExp
(
"</font>"
,
'g'
),
''
)}
`
})
},
},
}
}
...
...
dsk-system/src/main/java/com/dsk/system/domain/customer/dto/CustomerFollowRecordSearchDto.java
View file @
f7ca5734
...
@@ -4,7 +4,6 @@ import com.dsk.common.core.domain.BaseEntity;
...
@@ -4,7 +4,6 @@ import com.dsk.common.core.domain.BaseEntity;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Map
;
/**
/**
* 客户跟进记录筛选对象
* 客户跟进记录筛选对象
...
@@ -23,4 +22,12 @@ public class CustomerFollowRecordSearchDto extends BaseEntity implements Seriali
...
@@ -23,4 +22,12 @@ public class CustomerFollowRecordSearchDto extends BaseEntity implements Seriali
* 用户id
* 用户id
*/
*/
private
Long
userId
;
private
Long
userId
;
/**
* 开始时间
*/
private
String
startTime
;
/**
* 结束时间
*/
private
String
endTime
;
}
}
dsk-system/src/main/java/com/dsk/system/mapper/CustomerFollowRecordMapper.java
View file @
f7ca5734
...
@@ -19,7 +19,7 @@ import java.util.List;
...
@@ -19,7 +19,7 @@ import java.util.List;
@Mapper
@Mapper
public
interface
CustomerFollowRecordMapper
extends
BaseMapper
<
CustomerFollowRecord
>
{
public
interface
CustomerFollowRecordMapper
extends
BaseMapper
<
CustomerFollowRecord
>
{
List
<
CustomerFollowRecordListVo
>
selectAuthList
(
@Param
(
"dto"
)
CustomerFollowRecordSearchDto
dto
);
List
<
CustomerFollowRecordListVo
>
selectAuthList
(
CustomerFollowRecordSearchDto
dto
);
}
}
dsk-system/src/main/resources/mapper/system/customer/CustomerFollowRecordMapper.xml
View file @
f7ca5734
...
@@ -16,10 +16,12 @@
...
@@ -16,10 +16,12 @@
join sys_user u on u.user_id = cfr.user_id
join sys_user u on u.user_id = cfr.user_id
left join sys_dept d on d.dept_id = u.dept_id
left join sys_dept d on d.dept_id = u.dept_id
<where>
<where>
<if
test=
"dto.userId != null "
>
and cfr.user_id = #{dto.userId}
</if>
<if
test=
"userId != null "
>
and cfr.user_id = #{userId}
</if>
<if
test=
"dto.customerId != null and dto.customerId != '' "
>
and cfr.customer_id = #{dto.customerId}
</if>
<if
test=
"customerId != null and customerId != '' "
>
and cfr.customer_id = #{customerId}
</if>
<if
test=
"startTime != null and startTime != '' "
>
and cfr.visit_time
>
= #{startTime}
</if>
<if
test=
"endTime != null and endTime != '' "
>
and cfr.visit_time
<
= #{endTime}
</if>
<!-- 数据范围过滤 -->
<!-- 数据范围过滤 -->
<if
test=
"
dto.params.dataScope != null and dto.params.dataScope != '' "
>
${dto.
params.dataScope}
</if>
<if
test=
"
params.dataScope != null and params.dataScope != '' "
>
${
params.dataScope}
</if>
</where>
</where>
order by cfr.create_time desc
order by cfr.create_time desc
</select>
</select>
...
...
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