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
80fe72e9
Commit
80fe72e9
authored
Aug 25, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
e2416687
275cbff4
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
97 additions
and
56 deletions
+97
-56
EnterpriseBussinessSupplierProjectPageBody.java
...ain/model/EnterpriseBussinessSupplierProjectPageBody.java
+1
-1
china.js
dsk-operate-ui/src/assets/lib/china.js
+27
-0
index.vue
dsk-operate-ui/src/layout/components/TagsView/index.vue
+2
-3
customDetail.vue
.../views/detail/party-a/dealings/component/customDetail.vue
+6
-1
supplierDetail.vue
...iews/detail/party-a/dealings/component/supplierDetail.vue
+6
-1
custom.vue
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
+1
-1
supplier.vue
...operate-ui/src/views/detail/party-a/dealings/supplier.vue
+1
-1
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+27
-0
index.vue
dsk-operate-ui/src/views/project/overview/index.vue
+16
-6
index.vue
dsk-operate-ui/src/views/radar/components/Land/index.vue
+1
-9
BusinessSearchDto.java
...com/dsk/system/domain/business/dto/BusinessSearchDto.java
+2
-13
CustomerSearchDto.java
...com/dsk/system/domain/customer/dto/CustomerSearchDto.java
+2
-14
BusinessFollowRecordMapper.xml
.../resources/mapper/business/BusinessFollowRecordMapper.xml
+3
-3
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+1
-2
CustomerFollowRecordMapper.xml
...ces/mapper/system/customer/CustomerFollowRecordMapper.xml
+1
-1
No files found.
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessSupplierProjectPageBody.java
View file @
80fe72e9
...
...
@@ -30,7 +30,7 @@ public class EnterpriseBussinessSupplierProjectPageBody extends BasePage {
* 供应商企业
*/
@NotNull
(
message
=
"企业不能为空"
)
private
Integer
companyName
;
private
String
companyName
;
/**
* 查询关键字
...
...
dsk-operate-ui/src/assets/lib/china.js
0 → 100644
View file @
80fe72e9
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/layout/components/TagsView/index.vue
View file @
80fe72e9
...
...
@@ -30,7 +30,7 @@
</ul>
<div
class=
"alltags"
v-if=
"visitedViews.length > 0"
>
<div
class=
""
@
click=
"closeall"
><i
class=
"el-icon-arrow-down"
v-if=
"!showall"
></i>
<i
class=
"el-icon-arrow-up"
v-if=
"showall"
></i></div>
<div
class=
"tagslist"
v-
if
=
"showall"
>
<div
class=
"tagslist"
v-
show
=
"showall"
>
<!--
<div
v-for=
"(tag, index) in visitedViews"
--
>
<!--:key="tag.path"-->
<!--:class="isActive(tag)?'active':''"-->
...
...
@@ -50,7 +50,7 @@
>
<div
@
click=
"changetags"
>
<i
class=
"el-icon-check"
></i>
<span
:id=
"isActive(tag)?'tagTitle':''"
>
{{
tag
.
title
}}
</span>
<span
:id=
"isActive(tag)?'tagTitle
s
':''"
>
{{
tag
.
title
}}
</span>
</div>
</router-link>
<div
class=
"clasall"
@
click=
"closeAllTag(selectedTag)"
>
关闭全部标签
</div>
...
...
@@ -120,7 +120,6 @@ export default {
},
methods
:
{
changetags
(){
console
.
log
(
88
)
this
.
showall
=
false
},
closeall
(){
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/component/customDetail.vue
View file @
80fe72e9
...
...
@@ -14,7 +14,9 @@
:amountTotal=
"amountTotal"
@
handle-search=
"handleSearch"
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
v-else
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
...
...
@@ -39,6 +41,7 @@
import
mixin
from
'../../mixins/mixin'
import
{
clientProjectPage
,
getSelect
,
bidWinMergeDetail
}
from
'@/api/detail/party-a/dealings'
import
HeadDetailForm
from
"../../component/HeadDetailForm"
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
props
:
[
...
...
@@ -47,12 +50,13 @@ export default {
'title'
],
components
:
{
HeadDetailForm
HeadDetailForm
,
skeleton
},
mixins
:
[
mixin
],
data
()
{
return
{
drawer
:
false
,
isSkeleton
:
true
,
queryParams
:
{
cid
:
this
.
companyId
,
companyId
:
this
.
data
.
companyId
,
...
...
@@ -113,6 +117,7 @@ export default {
if
(
res
.
code
==
200
){
this
.
tableData
=
res
.
rows
}
this
.
isSkeleton
=
false
;
this
.
tableDataTotal
=
res
.
total
this
.
amountTotal
=
res
.
totalAmount
},
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/component/supplierDetail.vue
View file @
80fe72e9
...
...
@@ -14,7 +14,9 @@
:amountTotal=
"amountTotal"
@
handle-search=
"handleSearch"
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
v-else
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
...
...
@@ -39,6 +41,7 @@
import
mixin
from
'../../mixins/mixin'
import
{
supplierProjectPage
,
getSelect
,
bidWinMergeDetail
}
from
'@/api/detail/party-a/dealings'
import
HeadDetailForm
from
"../../component/HeadDetailForm"
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
props
:
[
...
...
@@ -47,11 +50,12 @@ export default {
'title'
],
components
:
{
HeadDetailForm
HeadDetailForm
,
skeleton
},
mixins
:
[
mixin
],
data
()
{
return
{
isSkeleton
:
true
,
drawer
:
false
,
queryParams
:
{
companyId
:
this
.
data
.
companyId
,
...
...
@@ -113,6 +117,7 @@ export default {
if
(
res
.
code
==
200
){
this
.
tableData
=
res
.
rows
}
this
.
isSkeleton
=
false
;
this
.
tableDataTotal
=
res
.
total
this
.
amountTotal
=
res
.
totalAmount
},
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
View file @
80fe72e9
...
...
@@ -130,7 +130,7 @@ export default {
handleClick
(
e
,
data
)
{
this
.
rowData
=
data
this
.
isDetails
=
true
;
this
.
title
=
'与客户'
+
data
.
companyName
+
'合作记录'
this
.
title
=
'与客户'
+
data
.
companyName
.
replace
(
/<font color='red'>/g
,
''
).
replace
(
/<
\/
font>/g
,
''
)
+
'合作记录'
},
handleDetail
(
row
){
if
(
row
.
sourceUrl
){
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/supplier.vue
View file @
80fe72e9
...
...
@@ -124,7 +124,7 @@ export default {
handleClick
(
e
,
data
)
{
this
.
rowData
=
data
this
.
isDetails
=
true
this
.
title
=
'与供应商'
+
data
.
companyName
+
'合作记录'
this
.
title
=
'与供应商'
+
data
.
companyName
.
replace
(
/<font color='red'>/g
,
''
).
replace
(
/<
\/
font>/g
,
''
)
+
'合作记录'
},
handleDetail
(
row
){
if
(
row
.
sourceUrl
){
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
80fe72e9
...
...
@@ -188,6 +188,15 @@ export default {
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
}
// }
// })
})
}
}
...
...
@@ -273,6 +282,15 @@ export default {
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,6 +331,15 @@ export default {
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
}
// }
// })
})
}
}
else
{
...
...
dsk-operate-ui/src/views/project/overview/index.vue
View file @
80fe72e9
...
...
@@ -342,6 +342,7 @@
import
*
as
echarts
from
'echarts'
import
addproject
from
'../projectList/component/addProject'
import
NoData
from
'../../component/noData'
import
'@/assets/lib/china.js'
export
default
{
name
:
'Overview'
,
...
...
@@ -473,9 +474,11 @@ export default {
countGroupByProvince
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
viewData4
=
res
.
data
;
console
.
log
(
this
.
viewData4
)
if
(
this
.
viewData4
.
length
>
0
){
res
.
data
.
map
(
item
=>
{
this
.
viewData4
.
map
(
item
=>
{
item
.
name
=
item
.
type
item
.
value
=
{
count
:
item
.
count
}
item
.
select
=
{
itemStyle
:{
areaColor
:
'#0081FF'
,
...
...
@@ -486,9 +489,11 @@ export default {
}
}
})
let
chartDom1
=
document
.
getElementById
(
"drawChinese"
)
this
.
myChart4
=
echarts
.
init
(
chartDom1
)
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
viewData4
)
this
.
initChart4
()
})
}
}
})
...
...
@@ -722,15 +727,18 @@ export default {
},
//中国地图
initChart4
(){
let
chartDom1
=
document
.
getElementById
(
"drawChinese"
)
this
.
myChart4
=
echarts
.
init
(
chartDom1
)
let
_this
=
this
// 指定图表的配置项和数据
// 绘制图表
let
options
=
{
tooltip
:
{
trigger
:
'item'
,
show
:
fals
e
,
show
:
tru
e
,
formatter
:
function
(
params
)
{
return
params
.
type
+
':'
+
params
.
count
console
.
dir
(
params
)
return
`
${
params
.
value
}
`
}
},
// 左侧小导航图标
...
...
@@ -749,6 +757,7 @@ export default {
mapType
:
'china'
,
roam
:
false
,
zoom
:
1.2
,
label
:
{
normal
:
{
show
:
false
,
// 省份名称
...
...
@@ -1183,6 +1192,7 @@ export default {
height
:
360px
;
margin-top
:
-30px
;
position
:
relative
;
margin
:
0
auto
;
.nhzd
{
width
:
50px
;
height
:
auto
;
...
...
dsk-operate-ui/src/views/radar/components/Land/index.vue
View file @
80fe72e9
...
...
@@ -282,15 +282,7 @@
<img
src=
"@/assets/images/addree.png"
alt=
""
>
<p
class=
"list-content-text"
v-if=
"item.province||item.city||item.area"
>
<span>
行政区划:
</span>
<span
>
{{
item
.
province
}}
<template
v-if=
"item.city"
>
-
{{
item
.
city
}}
</
template
>
<
template
v-if=
"item.area"
>
-
{{
item
.
area
}}
</
template
>
</span>
<span
>
{{
item
.
province
}}
<template
v-if=
"item.city"
>
-
{{
item
.
city
}}
</
template
><
template
v-if=
"item.area"
>
-
{{
item
.
area
}}
</
template
></span>
</p>
<p
class=
"list-content-text"
v-if=
"item.landAddr"
>
<span>
土地坐落:
</span>
...
...
dsk-system/src/main/java/com/dsk/system/domain/business/dto/BusinessSearchDto.java
View file @
80fe72e9
package
com
.
dsk
.
system
.
domain
.
business
.
dto
;
import
com.dsk.common.core.domain.BaseEntity
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
...
...
@@ -14,7 +15,7 @@ import java.util.Map;
*/
@Data
@NoArgsConstructor
public
class
BusinessSearchDto
implements
Serializable
{
public
class
BusinessSearchDto
extends
BaseEntity
implements
Serializable
{
/**
* 用户id
*/
...
...
@@ -24,18 +25,6 @@ public class BusinessSearchDto implements Serializable {
*/
private
Integer
status
;
/**
* 数据权限
*/
private
Map
<
String
,
Object
>
params
;
public
Map
<
String
,
Object
>
getParams
()
{
if
(
params
==
null
)
{
params
=
new
HashMap
<>();
}
return
params
;
}
public
BusinessSearchDto
(
Long
userId
)
{
this
.
userId
=
userId
;
}
...
...
dsk-system/src/main/java/com/dsk/system/domain/customer/dto/CustomerSearchDto.java
View file @
80fe72e9
package
com
.
dsk
.
system
.
domain
.
customer
.
dto
;
import
com.dsk.common.core.domain.BaseEntity
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
...
...
@@ -14,7 +15,7 @@ import java.util.Map;
*/
@Data
@NoArgsConstructor
public
class
CustomerSearchDto
implements
Serializable
{
public
class
CustomerSearchDto
extends
BaseEntity
implements
Serializable
{
/**
* 企业id
*/
...
...
@@ -67,17 +68,4 @@ public class CustomerSearchDto implements Serializable {
* 信资等级
*/
private
List
<
String
>
creditLevels
;
/**
* 数据权限
*/
private
Map
<
String
,
Object
>
params
;
public
Map
<
String
,
Object
>
getParams
()
{
if
(
params
==
null
)
{
params
=
new
HashMap
<>();
}
return
params
;
}
}
dsk-system/src/main/resources/mapper/business/BusinessFollowRecordMapper.xml
View file @
80fe72e9
...
...
@@ -71,11 +71,11 @@
left join sys_dept d on u.dept_id = d.dept_id
<where>
<if
test=
"userId != null"
>
and (f.user_id = #{userId} or i.is_private = 1)
</if>
<if
test=
"startTime != null and startTime != '' "
>
and f.
crea
t_time
>
= #{startTime}
</if>
<if
test=
"endTime != null and endTime != '' "
>
and f.
crea
t_time
<
= #{endTime}
</if>
<if
test=
"startTime != null and startTime != '' "
>
and f.
visi
t_time
>
= #{startTime}
</if>
<if
test=
"endTime != null and endTime != '' "
>
and f.
visi
t_time
<
= #{endTime}
</if>
${params.dataScope}
</where>
ORDER BY f.
crea
t_time DESC
ORDER BY f.
visi
t_time DESC
</select>
<select
id=
"selectRelateProject"
resultType=
"com.dsk.system.domain.business.vo.BusinessListVo"
>
select i.id,i.project_name as projectName
...
...
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
80fe72e9
...
...
@@ -314,10 +314,9 @@
</delete>
<delete
id=
"deleteBusinessInfoByIds"
parameterType=
"Long"
>
delete i,b,
co,
f,l,r,u
delete i,b,f,l,r,u
from business_info i
left join business_backlog b on b.business_id = i.id
left join business_contacts co on co.business_id = i.id
left join business_follow_record f on f.business_id = i.id
left join business_label l on l.business_id = i.id
left join business_relate_company r on r.business_id = i.id
...
...
dsk-system/src/main/resources/mapper/system/customer/CustomerFollowRecordMapper.xml
View file @
80fe72e9
...
...
@@ -23,7 +23,7 @@
<!-- 数据范围过滤 -->
<if
test=
"params.dataScope != null and params.dataScope != '' "
>
${params.dataScope}
</if>
</where>
order by cfr.
create
_time desc
order by cfr.
visit
_time desc
</select>
</mapper>
...
...
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