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
e4f10c0e
Commit
e4f10c0e
authored
Jul 27, 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
f7341815
d23becf8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
16 deletions
+53
-16
BusinessOpportunityRadarController.java
...search/controller/BusinessOpportunityRadarController.java
+12
-0
CheckUtils.java
...common/src/main/java/com/dsk/common/utils/CheckUtils.java
+2
-2
bidding.vue
...i/src/views/detail/party-a/overview/component/bidding.vue
+1
-1
index.vue
dsk-operate-ui/src/views/project/projectList/index.vue
+4
-3
details.vue
dsk-operate-ui/src/views/radar/BidRecord/details.vue
+1
-1
BusinessOpportunityRadarService.java
...system/searchService/BusinessOpportunityRadarService.java
+5
-0
BusinessInfoServiceImpl.java
.../com/dsk/system/service/impl/BusinessInfoServiceImpl.java
+28
-9
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/search/controller/BusinessOpportunityRadarController.java
View file @
e4f10c0e
...
@@ -85,6 +85,18 @@ public class BusinessOpportunityRadarController {
...
@@ -85,6 +85,18 @@ public class BusinessOpportunityRadarController {
return
opportunityRadarService
.
jskBidNewsPage
(
object
);
return
opportunityRadarService
.
jskBidNewsPage
(
object
);
}
}
/*
* 标讯pro 商机项目关联查询
*/
@RequestMapping
(
"/jskBidNewsPage/findByName"
)
public
AjaxResult
findByName
(
@RequestBody
JSONObject
object
)
{
ComposeQueryDto
compose
=
JSONObject
.
parseObject
(
object
.
toJSONString
(),
ComposeQueryDto
.
class
);
if
(
PageQueryLimit
.
pageLimit
(
compose
.
getPage
())){
return
AjaxResult
.
error
(
"翻页已达到上限"
);
}
return
opportunityRadarService
.
findByName
(
object
);
}
/*
/*
* 专项债查询
* 专项债查询
...
...
dsk-common/src/main/java/com/dsk/common/utils/CheckUtils.java
View file @
e4f10c0e
...
@@ -52,7 +52,7 @@ public class CheckUtils {
...
@@ -52,7 +52,7 @@ public class CheckUtils {
* @return
* @return
*/
*/
public
static
int
checkIntegerPlaces
(
Double
number
)
{
public
static
int
checkIntegerPlaces
(
Double
number
)
{
BigDecimal
bigDecimal
=
new
BigDecimal
(
number
);
BigDecimal
bigDecimal
=
new
BigDecimal
(
String
.
valueOf
(
number
)
);
String
strNumber
=
bigDecimal
.
toString
();
String
strNumber
=
bigDecimal
.
toString
();
int
integerPlaces
=
strNumber
.
indexOf
(
'.'
);
int
integerPlaces
=
strNumber
.
indexOf
(
'.'
);
if
(
integerPlaces
==
-
1
)
{
if
(
integerPlaces
==
-
1
)
{
...
@@ -68,7 +68,7 @@ public class CheckUtils {
...
@@ -68,7 +68,7 @@ public class CheckUtils {
* @return
* @return
*/
*/
public
static
int
checkDecimalPlaces
(
Double
number
)
{
public
static
int
checkDecimalPlaces
(
Double
number
)
{
BigDecimal
bigDecimal
=
new
BigDecimal
(
number
);
BigDecimal
bigDecimal
=
new
BigDecimal
(
String
.
valueOf
(
number
)
);
String
strNumber
=
bigDecimal
.
toString
();
String
strNumber
=
bigDecimal
.
toString
();
int
decimalPlaces
=
0
;
int
decimalPlaces
=
0
;
int
index
=
strNumber
.
indexOf
(
'.'
);
int
index
=
strNumber
.
indexOf
(
'.'
);
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/bidding.vue
View file @
e4f10c0e
...
@@ -168,7 +168,7 @@ export default {
...
@@ -168,7 +168,7 @@ export default {
grid
:{
grid
:{
left
:
'5%'
,
left
:
'5%'
,
top
:
'8%'
,
top
:
'8%'
,
right
:
'
5
%'
,
right
:
'
8
%'
,
bottom
:
'8%'
,
bottom
:
'8%'
,
containLabel
:
true
containLabel
:
true
},
},
...
...
dsk-operate-ui/src/views/project/projectList/index.vue
View file @
e4f10c0e
...
@@ -139,7 +139,8 @@
...
@@ -139,7 +139,8 @@
</div>
</div>
<div
class=
"det-con"
v-if=
"item.ownerCompany "
>
<div
class=
"det-con"
v-if=
"item.ownerCompany "
>
<span>
业主单位:
</span>
<span>
业主单位:
</span>
<span
class=
"wordprimary"
@
click=
"toEnterprise(item)"
>
{{
item
.
ownerCompany
}}
</span>
<span
class=
"wordprimary"
v-if=
"item.ownerCompanyCid||item.ownerCompanyUipId"
@
click=
"toEnterprise(item)"
>
{{
item
.
ownerCompany
}}
</span>
<span
v-else
>
{{
item
.
ownerCompany
}}
</span>
</div>
</div>
</div>
</div>
<el-divider
v-if=
"index != datalist.length-1"
></el-divider>
<el-divider
v-if=
"index != datalist.length-1"
></el-divider>
...
@@ -391,8 +392,8 @@ export default {
...
@@ -391,8 +392,8 @@ export default {
},
},
toEnterprise
(
item
){
toEnterprise
(
item
){
if
(
item
.
ownerCompanyUipId
){
if
(
item
.
ownerCompanyUipId
){
this
.
$router
.
push
({
path
:
'/enterprise/'
+
this
.
encodeStr
(
item
.
ownerCompany
UipI
d
)});
this
.
$router
.
push
({
path
:
'/enterprise/'
+
this
.
encodeStr
(
item
.
ownerCompany
Ci
d
)});
}
else
{
}
else
if
(
item
.
ownerCompanyCid
)
{
this
.
$router
.
push
({
path
:
'/company/'
+
this
.
encodeStr
(
item
.
ownerCompanyCid
)});
this
.
$router
.
push
({
path
:
'/company/'
+
this
.
encodeStr
(
item
.
ownerCompanyCid
)});
}
}
},
},
...
...
dsk-operate-ui/src/views/radar/BidRecord/details.vue
View file @
e4f10c0e
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<el-table-column
label=
"企业名称"
>
<el-table-column
label=
"企业名称"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<router-link
v-if=
"scope.row.uipId||scope.row.companyId"
:to=
"scope.row.uipId?'/enterprise/' + encodeStr(scope.row.
uip
Id) :'/company/' + encodeStr(scope.row.companyId) "
tag=
"a"
class=
"list-titel-a blue"
v-html=
"scope.row.companyName"
></router-link>
<router-link
v-if=
"scope.row.uipId||scope.row.companyId"
:to=
"scope.row.uipId?'/enterprise/' + encodeStr(scope.row.
company
Id) :'/company/' + encodeStr(scope.row.companyId) "
tag=
"a"
class=
"list-titel-a blue"
v-html=
"scope.row.companyName"
></router-link>
<span
v-else
>
{{
scope
.
row
.
companyName
||
'--'
}}
</span>
<span
v-else
>
{{
scope
.
row
.
companyName
||
'--'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
dsk-system/src/main/java/com/dsk/system/searchService/BusinessOpportunityRadarService.java
View file @
e4f10c0e
...
@@ -26,6 +26,11 @@ public class BusinessOpportunityRadarService {
...
@@ -26,6 +26,11 @@ public class BusinessOpportunityRadarService {
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
public
AjaxResult
findByName
(
JSONObject
object
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBid/news/findByName"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
jskBidTenderPage
(
JSONObject
object
)
{
public
AjaxResult
jskBidTenderPage
(
JSONObject
object
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBidTender/page"
,
object
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBidTender/page"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/BusinessInfoServiceImpl.java
View file @
e4f10c0e
...
@@ -43,10 +43,7 @@ import org.springframework.transaction.annotation.Transactional;
...
@@ -43,10 +43,7 @@ import org.springframework.transaction.annotation.Transactional;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.*
;
import
java.util.LinkedList
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 项目详情Service业务层处理
* 项目详情Service业务层处理
...
@@ -143,14 +140,36 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -143,14 +140,36 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
@Override
@Override
public
List
<
BusinessLikeProjectNameListVo
>
selectProjectName
(
BusinessListDto
dto
)
{
public
List
<
BusinessLikeProjectNameListVo
>
selectProjectName
(
BusinessListDto
dto
)
{
List
<
BusinessLikeProjectNameListVo
>
vos
=
businessInfoMapper
.
selectProjectName
(
dto
);
List
<
BusinessLikeProjectNameListVo
>
vos
=
businessInfoMapper
.
selectProjectName
(
dto
);
if
(!
CollectionUtils
.
isEmpty
(
vos
))
{
// List<BusinessLikeProjectNameListVo> vos = new ArrayList<>();
for
(
BusinessLikeProjectNameListVo
vo
:
vos
)
{
// Map<String, Object> result = dskOpenApiUtil.requestBody("/company/bidding/newZhaoBiao/list", toRequestMap(dto));
vo
.
setProjectName
(
vo
.
getProjectName
().
replace
(
dto
.
getProjectName
(),
"<font color='#FF204E'>"
+
dto
.
getProjectName
()
+
"</font>"
));
// if ("200".equals(result.get("code")) && ObjectUtil.isNotEmpty(result.get("data"))
}
// && ObjectUtil.isNotEmpty(BeanUtil.beanToMap(result.get("data")).get("list"))) {
}
// List<Map<String, Object>> list = (List<Map<String, Object>>) BeanUtil.beanToMap(result.get("data")).get("list");
// if (!CollectionUtils.isEmpty(list)) {
// for (Map<String, Object> map : list) {
// BusinessLikeProjectNameListVo vo = new BusinessLikeProjectNameListVo();
// vo.setProjectName(MapUtil.getStr(map, "projectName").replace(dto.getProjectName(), "<font color='#FF204E'>" + dto.getProjectName() + "</font>"));
// vo.setInvestmentAmount(MapUtil.getDouble(map, "bidMoney"));
// vo.setProjectLevel(MapUtil.getStr(map, "bidMoney"));
// vo.setProjectStage(MapUtil.getStr(map, "tenderStage"));
// vo.setProjectType(MapUtil.getStr(map, "projectType"));
// vo.setProjectCategory(MapUtil.getStr(map, "projectType"));
// }
// }
// }
return
vos
;
return
vos
;
}
}
private
Map
<
String
,
Object
>
toRequestMap
(
BusinessListDto
dto
)
{
Map
<
String
,
Object
>
page
=
new
HashMap
<>();
page
.
put
(
"page"
,
1
);
page
.
put
(
"limit"
,
20
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"keyword"
,
dto
.
getProjectName
());
map
.
put
(
"page"
,
page
);
return
map
;
}
@Override
@Override
public
AjaxResult
batchUpload
(
MultipartFile
file
)
{
public
AjaxResult
batchUpload
(
MultipartFile
file
)
{
//获取当前登录用户id
//获取当前登录用户id
...
...
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