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
6a8ded58
Commit
6a8ded58
authored
Jul 31, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
4610a4a3
1b011c57
Changes
40
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
376 additions
and
115 deletions
+376
-115
BusinessBacklogController.java
...sk/web/controller/business/BusinessBacklogController.java
+3
-2
CacheConstants.java
...src/main/java/com/dsk/common/constant/CacheConstants.java
+6
-0
UrbanInvestmentPlatformSubjectLevelDto.java
...k/common/dtos/UrbanInvestmentPlatformSubjectLevelDto.java
+43
-0
index.vue
dsk-operate-ui/src/views/custom/customList/index.vue
+1
-1
bidagency.vue
...perate-ui/src/views/detail/party-a/dealings/bidagency.vue
+4
-1
bidrecords.vue
...erate-ui/src/views/detail/party-a/dealings/bidrecords.vue
+4
-1
custom.vue
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
+4
-1
hiscontract.vue
...rate-ui/src/views/detail/party-a/dealings/hiscontract.vue
+4
-1
supplier.vue
...operate-ui/src/views/detail/party-a/dealings/supplier.vue
+4
-1
index.vue
dsk-operate-ui/src/views/detail/party-a/financial/index.vue
+20
-6
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+4
-1
mixin.js
dsk-operate-ui/src/views/detail/party-a/mixins/mixin.js
+4
-1
administrative.vue
...ate-ui/src/views/detail/party-a/opport/administrative.vue
+7
-1
announcement.vue
...erate-ui/src/views/detail/party-a/opport/announcement.vue
+7
-1
biddingplan.vue
...perate-ui/src/views/detail/party-a/opport/biddingplan.vue
+7
-1
bond.vue
dsk-operate-ui/src/views/detail/party-a/opport/bond.vue
+7
-1
landtransaction.vue
...te-ui/src/views/detail/party-a/opport/landtransaction.vue
+7
-1
proposed.vue
dsk-operate-ui/src/views/detail/party-a/opport/proposed.vue
+8
-2
tencent.vue
dsk-operate-ui/src/views/detail/party-a/opport/tencent.vue
+8
-2
bidding.vue
...i/src/views/detail/party-a/overview/component/bidding.vue
+12
-3
busclue.vue
...i/src/views/detail/party-a/overview/component/busclue.vue
+7
-2
finance.vue
...i/src/views/detail/party-a/overview/component/finance.vue
+7
-2
operations.vue
...rc/views/detail/party-a/overview/component/operations.vue
+8
-3
relationship.vue
.../views/detail/party-a/overview/component/relationship.vue
+7
-2
senior.vue
...ui/src/views/detail/party-a/overview/component/senior.vue
+7
-3
tender.vue
...ui/src/views/detail/party-a/overview/component/tender.vue
+16
-6
overview.vue
...operate-ui/src/views/detail/party-a/overview/overview.vue
+4
-2
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+4
-4
gzdb.vue
...erate-ui/src/views/project/projectList/component/gzdb.vue
+1
-0
xgqy.vue
...erate-ui/src/views/project/projectList/component/xgqy.vue
+5
-2
BusinessBacklog.java
.../java/com/dsk/system/domain/business/BusinessBacklog.java
+5
-1
BusinessBacklogListDto.java
...sk/system/domain/business/dto/BusinessBacklogListDto.java
+31
-0
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+19
-14
BusinessBacklogMapper.java
...ain/java/com/dsk/system/mapper/BusinessBacklogMapper.java
+2
-4
IBusinessBacklogService.java
.../java/com/dsk/system/service/IBusinessBacklogService.java
+2
-4
BusinessBacklogServiceImpl.java
...m/dsk/system/service/impl/BusinessBacklogServiceImpl.java
+21
-4
CustomerServiceImpl.java
...java/com/dsk/system/service/impl/CustomerServiceImpl.java
+15
-3
EconomicServiceImpl.java
...java/com/dsk/system/service/impl/EconomicServiceImpl.java
+17
-1
UrbanInvestmentPlatformServiceImpl.java
...stem/service/impl/UrbanInvestmentPlatformServiceImpl.java
+29
-24
BusinessBacklogMapper.xml
.../main/resources/mapper/business/BusinessBacklogMapper.xml
+5
-6
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessBacklogController.java
View file @
6a8ded58
...
@@ -4,6 +4,7 @@ import com.dsk.common.core.controller.BaseController;
...
@@ -4,6 +4,7 @@ import com.dsk.common.core.controller.BaseController;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.domain.business.dto.BusinessBacklogListDto
;
import
com.dsk.system.service.IBusinessBacklogService
;
import
com.dsk.system.service.IBusinessBacklogService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -31,10 +32,10 @@ public class BusinessBacklogController extends BaseController
...
@@ -31,10 +32,10 @@ public class BusinessBacklogController extends BaseController
*/
*/
// @PreAuthorize("@ss.hasPermi('system:backlog:list')")
// @PreAuthorize("@ss.hasPermi('system:backlog:list')")
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
BusinessBacklog
businessBacklog
)
public
TableDataInfo
list
(
BusinessBacklog
ListDto
dto
)
{
{
startPage
();
startPage
();
return
getDataTable
(
businessBacklogService
.
selectBusinessBacklogList
(
businessBacklog
));
return
getDataTable
(
businessBacklogService
.
selectBusinessBacklogList
(
dto
));
}
}
/**
/**
...
...
dsk-common/src/main/java/com/dsk/common/constant/CacheConstants.java
View file @
6a8ded58
...
@@ -58,5 +58,11 @@ public class CacheConstants
...
@@ -58,5 +58,11 @@ public class CacheConstants
public
static
final
String
DATA_FINANCIAL
=
"data:financial"
;
public
static
final
String
DATA_FINANCIAL
=
"data:financial"
;
/**
* 全国经济大全-默认
*/
public
static
final
String
DATA_ECONOMIC
=
"data:economic"
;
}
}
dsk-common/src/main/java/com/dsk/common/dtos/UrbanInvestmentPlatformSubjectLevelDto.java
0 → 100644
View file @
6a8ded58
package
com
.
dsk
.
common
.
dtos
;
import
lombok.Data
;
import
java.util.Objects
;
/**
* @ClassName UrbanInvestmentPlatformSubjectLevelDto
* @Description 信用评级
* @Author Dgm
* @Date 2023/5/23 14:05
* @Version
*/
@Data
public
class
UrbanInvestmentPlatformSubjectLevelDto
{
/**
* 企业Id
*/
private
Long
companyId
;
/**
* 主体评级
*/
private
String
bratingSubjectLevel
;
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
{
return
true
;
}
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
{
return
false
;
}
UrbanInvestmentPlatformSubjectLevelDto
that
=
(
UrbanInvestmentPlatformSubjectLevelDto
)
o
;
return
Objects
.
equals
(
companyId
,
that
.
companyId
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
companyId
);
}
}
dsk-operate-ui/src/views/custom/customList/index.vue
View file @
6a8ded58
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
width=
"316"
>
width=
"316"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"ps1"
>
<div
class=
"ps1"
>
<div
class=
"wordprimary ps2"
@
click=
"toDetail(scope.row,'')"
>
{{
scope
.
row
.
companyName
}}
</div>
<div
class=
"wordprimary ps2"
@
click=
"toDetail(scope.row,'')"
v-html=
"scope.row.companyName"
>
</div>
<div
class=
"ps3"
>
<div
class=
"ps3"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"写跟进"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"写跟进"
placement=
"top"
>
<div
@
click=
"toDetail(scope.row,'gjjl')"
><img
class=
"i"
src=
"@/assets/images/project/edit_1.png"
><img
class=
"o"
src=
"@/assets/images/project/edit_11.png"
></div>
<div
@
click=
"toDetail(scope.row,'gjjl')"
><img
class=
"i"
src=
"@/assets/images/project/edit_1.png"
><img
class=
"o"
src=
"@/assets/images/project/edit_11.png"
></div>
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/bidagency.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -81,11 +82,13 @@ export default {
...
@@ -81,11 +82,13 @@ 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
oftenAgencyPage
(
param
)
let
res
=
await
oftenAgencyPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
.
map
((
item
)
=>
{
this
.
tableData
=
res
.
rows
.
map
((
item
)
=>
{
item
.
projectInfo
=
typeof
item
.
projectInfo
==
'string'
?
JSON
.
parse
(
item
.
projectInfo
)
:
item
.
projectInfo
item
.
projectInfo
=
typeof
item
.
projectInfo
==
'string'
?
JSON
.
parse
(
item
.
projectInfo
)
:
item
.
projectInfo
return
item
return
item
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/bidrecords.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
...
@@ -70,11 +71,13 @@ export default {
...
@@ -70,11 +71,13 @@ 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
tenderPage
(
param
)
let
res
=
await
tenderPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -83,11 +84,13 @@ export default {
...
@@ -83,11 +84,13 @@ 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
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
if
(
this
.
tableData
&&
this
.
tableData
.
length
>
0
){
if
(
this
.
tableData
&&
this
.
tableData
.
length
>
0
){
this
.
tableData
.
forEach
(
item
=>
{
this
.
tableData
.
forEach
(
item
=>
{
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/hiscontract.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -93,11 +94,13 @@ export default {
...
@@ -93,11 +94,13 @@ export default {
},
},
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
historySendPage
(
param
)
let
res
=
await
historySendPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/supplier.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -83,11 +84,13 @@ export default {
...
@@ -83,11 +84,13 @@ 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
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
if
(
this
.
tableData
&&
this
.
tableData
.
length
>
0
){
if
(
this
.
tableData
&&
this
.
tableData
.
length
>
0
){
this
.
tableData
.
forEach
(
item
=>
{
this
.
tableData
.
forEach
(
item
=>
{
...
...
dsk-operate-ui/src/views/detail/party-a/financial/index.vue
View file @
6a8ded58
...
@@ -2,7 +2,9 @@
...
@@ -2,7 +2,9 @@
<div
class=
"app-container part-container"
>
<div
class=
"app-container part-container"
>
<div
class=
"financial-header"
>
<div
class=
"financial-header"
>
<div
class=
"common-title"
>
财务简析
</div>
<div
class=
"common-title"
>
财务简析
</div>
<div
class=
"flex-box header-box"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"flex-box header-box"
v-else
>
<div
class=
"header-item"
>
总资产
<div
class=
"header-item-amount"
><template
v-if=
"financialDetail.totalAssets"
><span>
{{
saveFixed
(
financialDetail
.
totalAssets
)
}}
</span>
亿元
</
template
><
template
v-else
>
--
</
template
></div><img
src=
"@/assets/images/detail/financial/financial_header01_ico.png"
></div>
<div
class=
"header-item"
>
总资产
<div
class=
"header-item-amount"
><template
v-if=
"financialDetail.totalAssets"
><span>
{{
saveFixed
(
financialDetail
.
totalAssets
)
}}
</span>
亿元
</
template
><
template
v-else
>
--
</
template
></div><img
src=
"@/assets/images/detail/financial/financial_header01_ico.png"
></div>
<div
class=
"header-item"
>
净资产
<div
class=
"header-item-amount"
><
template
v-if=
"financialDetail.belongNetAssets"
><span>
{{
saveFixed
(
financialDetail
.
belongNetAssets
)
}}
</span>
亿元
</
template
><
template
v-else
>
--
</
template
></div><img
src=
"@/assets/images/detail/financial/financial_header02_ico.png"
></div>
<div
class=
"header-item"
>
净资产
<div
class=
"header-item-amount"
><
template
v-if=
"financialDetail.belongNetAssets"
><span>
{{
saveFixed
(
financialDetail
.
belongNetAssets
)
}}
</span>
亿元
</
template
><
template
v-else
>
--
</
template
></div><img
src=
"@/assets/images/detail/financial/financial_header02_ico.png"
></div>
<div
class=
"header-item"
>
营业收入
<div
class=
"header-item-amount"
><
template
v-if=
"financialDetail.operatingIncome"
><span>
{{
saveFixed
(
financialDetail
.
operatingIncome
)
}}
</span>
亿元
</
template
><
template
v-else
>
--
</
template
></div><img
src=
"@/assets/images/detail/financial/financial_header03_ico.png"
></div>
<div
class=
"header-item"
>
营业收入
<div
class=
"header-item-amount"
><
template
v-if=
"financialDetail.operatingIncome"
><span>
{{
saveFixed
(
financialDetail
.
operatingIncome
)
}}
</span>
亿元
</
template
><
template
v-else
>
--
</
template
></div><img
src=
"@/assets/images/detail/financial/financial_header03_ico.png"
></div>
...
@@ -11,7 +13,9 @@
...
@@ -11,7 +13,9 @@
</div>
</div>
<div
class=
"financial-zcqk"
>
<div
class=
"financial-zcqk"
>
<div
class=
"common-title"
>
资产情况
</div>
<div
class=
"common-title"
>
资产情况
</div>
<ul
class=
"zcqk-list"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<ul
class=
"zcqk-list"
v-else
>
<li
v-for=
"(item, index) in zcqkList"
:key=
"index"
:style=
"zcqkList.length==1?'border-right: 0;':''"
>
<li
v-for=
"(item, index) in zcqkList"
:key=
"index"
:style=
"zcqkList.length==1?'border-right: 0;':''"
>
<div
class=
"zcqk-list-box"
:style=
"(parity(zcqkList) && index==zcqkList.length-2) || (index == zcqkList.length-1)?'border-bottom: 0':''"
>
<div
class=
"zcqk-list-box"
:style=
"(parity(zcqkList) && index==zcqkList.length-2) || (index == zcqkList.length-1)?'border-bottom: 0':''"
>
<div
class=
"flex-box zcqk-list-line"
><span
class=
"flex-box"
><img
:src=
"item.ico"
>
{{item.name}}
</span><span
v-if=
"item.amount"
><i>
{{saveFixed(item.amount)}}
</i>
{{item.unit}}
</span><span
v-else
>
--
</span></div>
<div
class=
"flex-box zcqk-list-line"
><span
class=
"flex-box"
><img
:src=
"item.ico"
>
{{item.name}}
</span><span
v-if=
"item.amount"
><i>
{{saveFixed(item.amount)}}
</i>
{{item.unit}}
</span><span
v-else
>
--
</span></div>
...
@@ -22,7 +26,9 @@
...
@@ -22,7 +26,9 @@
</div>
</div>
<div
class=
"financial-ylnl"
>
<div
class=
"financial-ylnl"
>
<div
class=
"common-title"
>
盈利能力
</div>
<div
class=
"common-title"
>
盈利能力
</div>
<ul
class=
"flex-box ylnl-list"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<ul
class=
"flex-box ylnl-list"
v-else
>
<li
v-for=
"(item, index) in ylnlList"
:key=
"index"
:style=
"index===0?'border-left: 0;':''"
>
<li
v-for=
"(item, index) in ylnlList"
:key=
"index"
:style=
"index===0?'border-left: 0;':''"
>
<div
class=
"ylnl-amount"
><
template
v-if=
"item.amount"
><span>
{{
saveFixed
(
item
.
amount
)
}}
</span>
{{
item
.
unit
}}
</
template
><
template
v-else
>
--
</
template
></div>
<div
class=
"ylnl-amount"
><
template
v-if=
"item.amount"
><span>
{{
saveFixed
(
item
.
amount
)
}}
</span>
{{
item
.
unit
}}
</
template
><
template
v-else
>
--
</
template
></div>
<div
class=
"ylnl-title"
>
{{item.name}}
</div>
<div
class=
"ylnl-title"
>
{{item.name}}
</div>
...
@@ -31,7 +37,9 @@
...
@@ -31,7 +37,9 @@
</div>
</div>
<div
class=
"financial-zwqk"
>
<div
class=
"financial-zwqk"
>
<div
class=
"common-title"
>
负债情况及偿债能力
</div>
<div
class=
"common-title"
>
负债情况及偿债能力
</div>
<div
class=
"flex-box zwqk-box"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"flex-box zwqk-box"
v-else
>
<div
class=
"zwqk-info"
>
<div
class=
"zwqk-info"
>
<div
class=
"zwqk-title"
>
总负债
</div>
<div
class=
"zwqk-title"
>
总负债
</div>
<div
class=
"zwqk-amount"
><
template
v-if=
"financialDetail.totalLiabilities"
><span>
{{
saveFixed
(
financialDetail
.
totalLiabilities
)
}}
</span>
亿元
</
template
><
template
v-else
><span>
--
</span></
template
></div>
<div
class=
"zwqk-amount"
><
template
v-if=
"financialDetail.totalLiabilities"
><span>
{{
saveFixed
(
financialDetail
.
totalLiabilities
)
}}
</span>
亿元
</
template
><
template
v-else
><span>
--
</span></
template
></div>
...
@@ -53,7 +61,9 @@
...
@@ -53,7 +61,9 @@
</div>
</div>
<div
class=
"financial-zcqk"
>
<div
class=
"financial-zcqk"
>
<div
class=
"common-title"
>
资金情况
</div>
<div
class=
"common-title"
>
资金情况
</div>
<ul
class=
"zcqk-list"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<ul
class=
"zcqk-list"
v-else
>
<li
v-for=
"(item, index) in zjqkList"
:key=
"index"
:style=
"zjqkList.length==1?'border-right: 0;':''"
>
<li
v-for=
"(item, index) in zjqkList"
:key=
"index"
:style=
"zjqkList.length==1?'border-right: 0;':''"
>
<div
class=
"zcqk-list-box"
:style=
"(parity(zjqkList) && index==zjqkList.length-2) || (index == zjqkList.length-1)?'border-bottom: 0':''"
>
<div
class=
"zcqk-list-box"
:style=
"(parity(zjqkList) && index==zjqkList.length-2) || (index == zjqkList.length-1)?'border-bottom: 0':''"
>
<div
class=
"flex-box zcqk-list-line"
><span
class=
"flex-box"
><img
:src=
"item.ico"
>
{{item.name}}
</span><span
v-if=
"item.amount"
><i>
{{saveFixed(item.amount)}}
</i>
{{item.unit}}
</span></div>
<div
class=
"flex-box zcqk-list-line"
><span
class=
"flex-box"
><img
:src=
"item.ico"
>
{{item.name}}
</span><span
v-if=
"item.amount"
><i>
{{saveFixed(item.amount)}}
</i>
{{item.unit}}
</span></div>
...
@@ -69,15 +79,17 @@
...
@@ -69,15 +79,17 @@
import
{
saveFixed
}
from
"@/assets/js/common"
import
{
saveFixed
}
from
"@/assets/js/common"
import
{
financial
}
from
'@/api/detail/party-a/financial'
import
{
financial
}
from
'@/api/detail/party-a/financial'
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
NoData
from
'../component/noData'
import
NoData
from
'../component/noData'
export
default
{
export
default
{
name
:
'Financial'
,
name
:
'Financial'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
saveFixed
,
saveFixed
,
financialDetail
:
{},
financialDetail
:
{},
// 资产情况
// 资产情况
...
@@ -138,10 +150,12 @@ export default {
...
@@ -138,10 +150,12 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
()
{
async
handleQuery
()
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
res
=
await
financial
({
cid
:
this
.
companyId
})
let
res
=
await
financial
({
cid
:
this
.
companyId
})
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
&&
res
.
data
){
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
isSkeleton
=
false
;
this
.
financialDetail
=
res
.
data
this
.
financialDetail
=
res
.
data
//资产情况
//资产情况
let
{
totalAssets
,
belongNetAssets
,
monetaryFunds
,
accountsReceivable
,
landAssets
,
otherReceivable
,
restrictedAssets
,
receivableFromGovRatio
,
govSubsidy
}
=
this
.
financialDetail
let
{
totalAssets
,
belongNetAssets
,
monetaryFunds
,
accountsReceivable
,
landAssets
,
otherReceivable
,
restrictedAssets
,
receivableFromGovRatio
,
govSubsidy
}
=
this
.
financialDetail
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
6a8ded58
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
id=
"partBox"
v-if=
"companyId"
>
<div
id=
"partBox"
v-if=
"companyId"
>
<template
v-if=
"isCompany"
>
<template
v-if=
"isCompany"
>
<!-- 企业概览 -->
<!-- 企业概览 -->
<Overview
v-if=
"currentPath.pathName=='overview'"
:company-id=
"companyId"
:companyInfo=
"companyInfo"
/>
<Overview
v-if=
"currentPath.pathName=='overview'"
:company-id=
"companyId"
:
isSkeleton=
"isSkeleton"
:
companyInfo=
"companyInfo"
/>
<Businfo
v-if=
"currentPath.pathName=='businfo'"
:company-id=
"companyId"
/>
<Businfo
v-if=
"currentPath.pathName=='businfo'"
:company-id=
"companyId"
/>
<Holderinfo
v-if=
"currentPath.pathName=='holderinfo'"
:company-id=
"companyId"
/>
<Holderinfo
v-if=
"currentPath.pathName=='holderinfo'"
:company-id=
"companyId"
/>
<Execuinfo
v-if=
"currentPath.pathName=='execuinfo'"
:company-id=
"companyId"
/>
<Execuinfo
v-if=
"currentPath.pathName=='execuinfo'"
:company-id=
"companyId"
/>
...
@@ -150,6 +150,7 @@ export default {
...
@@ -150,6 +150,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
companyInfo
:
{},
companyInfo
:
{},
customerInfo
:
{},
customerInfo
:
{},
companyId
:
''
,
//企业Id(测试默认3068)
companyId
:
''
,
//企业Id(测试默认3068)
...
@@ -250,8 +251,10 @@ export default {
...
@@ -250,8 +251,10 @@ export default {
}
}
},
},
async
handleQuery
()
{
async
handleQuery
()
{
this
.
isSkeleton
=
true
;
let
res
=
await
infoHeader
({
companyId
:
this
.
companyId
})
let
res
=
await
infoHeader
({
companyId
:
this
.
companyId
})
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
companyInfo
=
res
.
data
||
{}
this
.
companyInfo
=
res
.
data
||
{}
let
data
=
{
let
data
=
{
pageNum
:
1
,
pageNum
:
1
,
...
...
dsk-operate-ui/src/views/detail/party-a/mixins/mixin.js
View file @
6a8ded58
import
{
encodeStr
}
from
"@/assets/js/common"
import
{
encodeStr
}
from
"@/assets/js/common"
import
HeadForm
from
"../component/HeadForm"
import
HeadForm
from
"../component/HeadForm"
import
Tables
from
"../component/Tables"
import
Tables
from
"../component/Tables"
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
components
:
{
components
:
{
HeadForm
,
HeadForm
,
Tables
Tables
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
encodeStr
encodeStr
}
}
},
},
...
...
dsk-operate-ui/src/views/detail/party-a/opport/administrative.vue
View file @
6a8ded58
...
@@ -7,8 +7,9 @@
...
@@ -7,8 +7,9 @@
:total=
"tableDataTotal"
:total=
"tableDataTotal"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
...
@@ -33,15 +34,18 @@
...
@@ -33,15 +34,18 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
{
creditXzxkPage
}
from
'@/api/detail/party-a/opport'
import
{
creditXzxkPage
}
from
'@/api/detail/party-a/opport'
export
default
{
export
default
{
name
:
'Administrative'
,
name
:
'Administrative'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
queryParams
:
{
queryParams
:
{
cid
:
this
.
companyId
,
cid
:
this
.
companyId
,
pageNum
:
1
,
pageNum
:
1
,
...
@@ -79,11 +83,13 @@ export default {
...
@@ -79,11 +83,13 @@ 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
creditXzxkPage
(
param
)
let
res
=
await
creditXzxkPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
res
.
rows
.
forEach
(
item
=>
{
res
.
rows
.
forEach
(
item
=>
{
item
.
smallContent
=
item
.
content
.
replace
(
/<.*
?
>/ig
,
""
)
item
.
smallContent
=
item
.
content
.
replace
(
/<.*
?
>/ig
,
""
)
...
...
dsk-operate-ui/src/views/detail/party-a/opport/announcement.vue
View file @
6a8ded58
...
@@ -9,8 +9,9 @@
...
@@ -9,8 +9,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -35,15 +36,18 @@
...
@@ -35,15 +36,18 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
{
bidNoticeArea
,
bidNoticeTenderStage
,
bidNoticePage
}
from
'@/api/detail/party-a/opport'
import
{
bidNoticeArea
,
bidNoticeTenderStage
,
bidNoticePage
}
from
'@/api/detail/party-a/opport'
export
default
{
export
default
{
name
:
'Announcement'
,
name
:
'Announcement'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
}
,
}
,
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
queryParams
:
{
queryParams
:
{
cid
:
this
.
companyId
,
cid
:
this
.
companyId
,
sort
:
3
,
sort
:
3
,
...
@@ -119,11 +123,13 @@ export default {
...
@@ -119,11 +123,13 @@ export default {
}
}
}
,
}
,
async
handleQuery
(
params
)
{
async
handleQuery
(
params
)
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
this
.
getAreaList
(
params
||
this
.
queryParams
)
let
param
=
this
.
getAreaList
(
params
||
this
.
queryParams
)
let
res
=
await
bidNoticePage
(
param
)
let
res
=
await
bidNoticePage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/opport/biddingplan.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
:total=
"tableDataTotal"
:total=
"tableDataTotal"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -35,14 +36,17 @@
...
@@ -35,14 +36,17 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
{
bidPlanPage
,
bidPlanProjectType
}
from
'@/api/detail/party-a/opport'
import
{
bidPlanPage
,
bidPlanProjectType
}
from
'@/api/detail/party-a/opport'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Biddingplan'
,
name
:
'Biddingplan'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
}
,
}
,
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
queryParams
:
{
queryParams
:
{
cid
:
this
.
companyId
,
cid
:
this
.
companyId
,
sort
:
3
,
sort
:
3
,
...
@@ -88,11 +92,13 @@ export default {
...
@@ -88,11 +92,13 @@ export default {
}
}
}
,
}
,
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
bidPlanPage
(
param
)
let
res
=
await
bidPlanPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/opport/bond.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -32,14 +33,17 @@
...
@@ -32,14 +33,17 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
{
specialDebtProjectPage
}
from
'@/api/detail/party-a/opport'
import
{
specialDebtProjectPage
}
from
'@/api/detail/party-a/opport'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Bond'
,
name
:
'Bond'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
queryParams
:
{
queryParams
:
{
cid
:
this
.
companyId
,
cid
:
this
.
companyId
,
sort
:
1
,
sort
:
1
,
...
@@ -69,11 +73,13 @@ export default {
...
@@ -69,11 +73,13 @@ 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
specialDebtProjectPage
(
param
)
let
res
=
await
specialDebtProjectPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/opport/landtransaction.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -32,14 +33,17 @@
...
@@ -32,14 +33,17 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
{
landUse
,
landTransactionPage
}
from
'@/api/detail/party-a/opport'
import
{
landUse
,
landTransactionPage
}
from
'@/api/detail/party-a/opport'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Landtransaction'
,
name
:
'Landtransaction'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
queryParams
:
{
queryParams
:
{
cid
:
this
.
companyId
,
cid
:
this
.
companyId
,
sort
:
3
,
sort
:
3
,
...
@@ -86,11 +90,13 @@ export default {
...
@@ -86,11 +90,13 @@ export default {
}
}
},
},
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
landTransactionPage
(
param
)
let
res
=
await
landTransactionPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
if
(
this
.
tableData
.
length
>
0
){
if
(
this
.
tableData
.
length
>
0
){
this
.
tableData
.
map
(
item
=>
{
this
.
tableData
.
map
(
item
=>
{
...
...
dsk-operate-ui/src/views/detail/party-a/opport/proposed.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
...
@@ -35,11 +36,13 @@
...
@@ -35,11 +36,13 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
{
approvalProjectPage
}
from
'@/api/detail/party-a/opport'
import
{
approvalProjectPage
}
from
'@/api/detail/party-a/opport'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Proposed'
,
name
:
'Proposed'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -66,7 +69,8 @@ export default {
...
@@ -66,7 +69,8 @@ export default {
//列表
//列表
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
tableDataTotal
:
0
,
isSkeleton
:
true
,
}
}
},
},
computed
:
{
computed
:
{
...
@@ -76,11 +80,13 @@ export default {
...
@@ -76,11 +80,13 @@ 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
approvalProjectPage
(
param
)
let
res
=
await
approvalProjectPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/opport/tencent.vue
View file @
6a8ded58
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-else
:indexFixed=
"true"
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
...
@@ -40,12 +41,14 @@
...
@@ -40,12 +41,14 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
{
bidNoticeProProjectType
,
bidNoticeProProjectPurposes
,
bidNoticeProAssessmentWay
,
bidNoticeProPage
}
from
'@/api/detail/party-a/opport'
import
{
bidNoticeProProjectType
,
bidNoticeProProjectPurposes
,
bidNoticeProAssessmentWay
,
bidNoticeProPage
}
from
'@/api/detail/party-a/opport'
export
default
{
export
default
{
name
:
'Tencent'
,
name
:
'Tencent'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -86,7 +89,8 @@ export default {
...
@@ -86,7 +89,8 @@ export default {
//列表
//列表
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
tableDataTotal
:
0
,
isSkeleton
:
true
,
}
}
}
,
}
,
computed
:
{
computed
:
{
...
@@ -125,11 +129,13 @@ export default {
...
@@ -125,11 +129,13 @@ export default {
}
}
}
,
}
,
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
bidNoticeProPage
(
param
)
let
res
=
await
bidNoticeProPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
if
(
this
.
tableData
&&
this
.
tableData
.
length
>
0
){
if
(
this
.
tableData
&&
this
.
tableData
.
length
>
0
){
this
.
tableData
.
forEach
(
item
=>
{
this
.
tableData
.
forEach
(
item
=>
{
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/bidding.vue
View file @
6a8ded58
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"flex-box app-container part-container"
>
<div
class=
"flex-box app-container part-container"
>
<div
class=
"bid-zbph"
>
<div
class=
"bid-zbph"
>
<div
class=
"common-title"
>
招标偏好
</div>
<div
class=
"common-title"
>
招标偏好
</div>
<template
v-if=
"dataAll.totalCount||dataAll.lastYearCount||dataAll.bidAmount||this.dtdata.length>0"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<template
v-if=
"(dataAll.totalCount||dataAll.lastYearCount||dataAll.bidAmount||this.dtdata.length>0)&& !isSkeleton"
>
<div
class=
"flex-box zbph-item"
>
<div
class=
"flex-box zbph-item"
>
<div>
历史招标总数
<div>
历史招标总数
<el-popover
<el-popover
...
@@ -45,9 +46,10 @@
...
@@ -45,9 +46,10 @@
</div>
</div>
<div
class=
"bid-ywwl"
>
<div
class=
"bid-ywwl"
>
<div
class=
"common-title"
>
业务往来供应商TOP5
</div>
<div
class=
"common-title"
>
业务往来供应商TOP5
</div>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton1"
></skeleton>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<el-table
<el-table
v-if=
"tableData.length>0"
v-if=
"tableData.length>0
&& !isSkeleton1
"
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%"
style=
"width: 100%"
>
>
...
@@ -96,15 +98,18 @@ import {encodeStr} from "@/assets/js/common"
...
@@ -96,15 +98,18 @@ import {encodeStr} from "@/assets/js/common"
import
{
bidDataGroup
,
supplierPage
}
from
'@/api/detail/party-a/overview'
import
{
bidDataGroup
,
supplierPage
}
from
'@/api/detail/party-a/overview'
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
NoData
from
'../../component/noData'
import
NoData
from
'../../component/noData'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Bidding'
,
name
:
'Bidding'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
encodeStr
,
encodeStr
,
isSkeleton
:
true
,
isSkeleton1
:
true
,
datatype
:
'1'
,
//切换类型
datatype
:
'1'
,
//切换类型
dataAll
:
{},
dataAll
:
{},
dtdata
:[],
//数据
dtdata
:[],
//数据
...
@@ -121,8 +126,10 @@ export default {
...
@@ -121,8 +126,10 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleBid
(){
async
handleBid
(){
this
.
isSkeleton
=
true
;
let
res
=
await
bidDataGroup
({
cid
:
this
.
companyId
,
spanId
:
this
.
datatype
})
let
res
=
await
bidDataGroup
({
cid
:
this
.
companyId
,
spanId
:
this
.
datatype
})
if
(
res
.
code
==
200
&&
res
.
data
){
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
isSkeleton
=
false
;
let
{
totalCount
,
lastYearCount
,
bidAmount
}
=
res
.
data
let
{
totalCount
,
lastYearCount
,
bidAmount
}
=
res
.
data
this
.
dataAll
=
{
totalCount
,
lastYearCount
,
bidAmount
}
this
.
dataAll
=
{
totalCount
,
lastYearCount
,
bidAmount
}
this
.
dtdata
=
res
.
data
.
groupCount
.
map
(
item
=>
{
this
.
dtdata
=
res
.
data
.
groupCount
.
map
(
item
=>
{
...
@@ -139,8 +146,10 @@ export default {
...
@@ -139,8 +146,10 @@ export default {
}
}
},
},
async
handleSupplier
()
{
async
handleSupplier
()
{
this
.
isSkeleton1
=
true
;
let
res
=
await
supplierPage
({
cid
:
this
.
companyId
,
sort
:
1
,
pageNum
:
1
,
pageSize
:
5
})
let
res
=
await
supplierPage
({
cid
:
this
.
companyId
,
sort
:
1
,
pageNum
:
1
,
pageSize
:
5
})
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton1
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
.
amount
=
item
.
amount
?
parseFloat
(
item
.
amount
.
toFixed
(
6
)):
0
item
.
amount
=
item
.
amount
?
parseFloat
(
item
.
amount
.
toFixed
(
6
)):
0
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/busclue.vue
View file @
6a8ded58
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
<el-tab-pane
label=
"按金额"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"按金额"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"按项目"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"按项目"
name=
"1"
></el-tab-pane>
</el-tabs>
</el-tabs>
<div
class=
"flex-box clue-box"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"flex-box clue-box"
v-else
>
<div
class=
"clue-echarts"
v-if=
"viewData.length>0"
><div
id=
"echartsClue"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"clue-echarts"
v-if=
"viewData.length>0"
><div
id=
"echartsClue"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"table-item"
v-if=
"viewData.length>0"
>
<div
class=
"table-item"
v-if=
"viewData.length>0"
>
...
@@ -43,6 +44,7 @@
...
@@ -43,6 +44,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
{
projectTenderDataGroup
}
from
'@/api/detail/party-a/overview'
import
{
projectTenderDataGroup
}
from
'@/api/detail/party-a/overview'
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
{
changePath
}
from
"@/assets/js/common"
import
{
changePath
}
from
"@/assets/js/common"
...
@@ -51,11 +53,12 @@ export default {
...
@@ -51,11 +53,12 @@ export default {
name
:
'Busclue'
,
name
:
'Busclue'
,
props
:
[
'companyId'
,
'statistic'
],
props
:
[
'companyId'
,
'statistic'
],
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
viewData
:[],
viewData
:[],
isSkeleton
:
true
,
activeIndex
:
0
,
activeIndex
:
0
,
typeList
:[
typeList
:[
{
name
:
'土地交易'
,
pathName
:
'landtransaction'
,
ico
:
require
(
"@/assets/images/detail/overview/clue_ico1.png"
),
count
:
0
,
category
:
'global'
,
field
:
'landInfo'
,
dis_ico
:
require
(
"@/assets/images/detail/overview/clue_dis_ico1.png"
)},
{
name
:
'土地交易'
,
pathName
:
'landtransaction'
,
ico
:
require
(
"@/assets/images/detail/overview/clue_ico1.png"
),
count
:
0
,
category
:
'global'
,
field
:
'landInfo'
,
dis_ico
:
require
(
"@/assets/images/detail/overview/clue_dis_ico1.png"
)},
...
@@ -75,8 +78,10 @@ export default {
...
@@ -75,8 +78,10 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(){
async
handleQuery
(){
this
.
isSkeleton
=
true
;
let
res
=
await
projectTenderDataGroup
({
cid
:
this
.
companyId
,
type
:
this
.
activeIndex
})
let
res
=
await
projectTenderDataGroup
({
cid
:
this
.
companyId
,
type
:
this
.
activeIndex
})
if
(
res
.
code
==
200
&&
res
.
data
){
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
)
this
.
viewData
=
data
.
map
(
item
=>
{
this
.
viewData
=
data
.
map
(
item
=>
{
let
it
=
{
name
:
item
.
name
,
value
:
item
.
value
,
percent
:
parseFloat
(
Number
(
Number
(
item
.
value
)
/
Number
(
totalVal
)
*
100
).
toFixed
(
2
))}
let
it
=
{
name
:
item
.
name
,
value
:
item
.
value
,
percent
:
parseFloat
(
Number
(
Number
(
item
.
value
)
/
Number
(
totalVal
)
*
100
).
toFixed
(
2
))}
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/finance.vue
View file @
6a8ded58
...
@@ -12,7 +12,8 @@
...
@@ -12,7 +12,8 @@
<el-tab-pane
label=
"总资产"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"总资产"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"净资产"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"净资产"
name=
"3"
></el-tab-pane>
</el-tabs>
</el-tabs>
<div
class=
"flex-box finance-box"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"flex-box finance-box"
v-else
>
<div
class=
"finance-echarts"
v-if=
"viewData.length>0"
><div
id=
"echartsFinance"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"finance-echarts"
v-if=
"viewData.length>0"
><div
id=
"echartsFinance"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"finance-no-data"
v-else
>
<div
class=
"finance-no-data"
v-else
>
<no-data
/>
<no-data
/>
...
@@ -61,6 +62,7 @@
...
@@ -61,6 +62,7 @@
</template>
</template>
<
script
>
<
script
>
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
{
financialData
}
from
'@/api/detail/party-a/overview'
import
{
financialData
}
from
'@/api/detail/party-a/overview'
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
NoData
from
'../../component/noData'
import
NoData
from
'../../component/noData'
...
@@ -68,11 +70,12 @@ export default {
...
@@ -68,11 +70,12 @@ export default {
name
:
'Finance'
,
name
:
'Finance'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
viewData
:[],
viewData
:[],
isSkeleton
:
true
,
activeIndex
:
0
,
activeIndex
:
0
,
vals
:[
'operatingIncome'
,
'netProfit'
,
'totalAssets'
,
'netAssets'
],
vals
:[
'operatingIncome'
,
'netProfit'
,
'totalAssets'
,
'netAssets'
],
names
:[
'营业收入(亿)'
,
'净利润(亿)'
,
'总资产(亿)'
,
'净资产(亿)'
],
names
:[
'营业收入(亿)'
,
'净利润(亿)'
,
'总资产(亿)'
,
'净资产(亿)'
],
...
@@ -85,8 +88,10 @@ export default {
...
@@ -85,8 +88,10 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(
val
){
async
handleQuery
(
val
){
this
.
isSkeleton
=
true
;
let
res
=
await
financialData
({
cid
:
this
.
companyId
})
let
res
=
await
financialData
({
cid
:
this
.
companyId
})
if
(
res
.
code
==
200
&&
res
.
data
){
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
isSkeleton
=
false
;
this
.
viewData
=
res
.
data
this
.
viewData
=
res
.
data
if
(
this
.
viewData
.
length
>
0
){
if
(
this
.
viewData
.
length
>
0
){
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/operations.vue
View file @
6a8ded58
<
template
>
<
template
>
<div
class=
"app-container operations-container"
>
<div
class=
"app-container operations-container"
>
<div
class=
"common-title"
>
公司经营
</div>
<div
class=
"common-title"
>
公司经营
</div>
<div
class=
"part-swiper"
v-if=
"operList.length>0"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"part-swiper"
v-if=
"operList.length>0&&!isSkeleton"
>
<div
class=
"swiper-containers swiper-oper"
:style=
"operList.length
<
=
6
?'
margin-left:0px
;
width:
100
%;'
:
''"
>
<div
class=
"swiper-containers swiper-oper"
:style=
"operList.length
<
=
6
?'
margin-left:0px
;
width:
100
%;'
:
''"
>
<ul
class=
"swiper-wrapper"
>
<ul
class=
"swiper-wrapper"
>
<li
class=
"swiper-slide"
v-for=
"(item, index) in operList"
:key=
"index"
>
<li
class=
"swiper-slide"
v-for=
"(item, index) in operList"
:key=
"index"
>
...
@@ -18,7 +19,7 @@
...
@@ -18,7 +19,7 @@
<div
class=
"swiper-button-prev swiper-oper-prev"
slot=
"button-prev"
style=
"left: 0;"
><i
class=
"el-icon-arrow-left"
></i></div>
<div
class=
"swiper-button-prev swiper-oper-prev"
slot=
"button-prev"
style=
"left: 0;"
><i
class=
"el-icon-arrow-left"
></i></div>
<div
class=
"swiper-button-next swiper-oper-next"
slot=
"button-next"
style=
"right: 0"
><i
class=
"el-icon-arrow-right"
></i></div>
<div
class=
"swiper-button-next swiper-oper-next"
slot=
"button-next"
style=
"right: 0"
><i
class=
"el-icon-arrow-right"
></i></div>
</div>
</div>
<div
class=
"part-swiper"
v-
else
>
<div
class=
"part-swiper"
v-
if=
"operList.length==0&&!isSkeleton"
>
<no-data
/>
<no-data
/>
</div>
</div>
<div
class=
"flex-box operations-list"
>
<div
class=
"flex-box operations-list"
>
...
@@ -33,17 +34,19 @@
...
@@ -33,17 +34,19 @@
<
script
>
<
script
>
import
{
bondCreditRating
}
from
'@/api/detail/party-a/overview'
import
{
bondCreditRating
}
from
'@/api/detail/party-a/overview'
var
Swiper
=
require
(
'@/assets/lib/swiper/swiper-bundle.min.js'
)
var
Swiper
=
require
(
'@/assets/lib/swiper/swiper-bundle.min.js'
)
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
"@/assets/lib/swiper/swiper-bundle.css"
import
"@/assets/lib/swiper/swiper-bundle.css"
import
NoData
from
'../../component/noData'
import
NoData
from
'../../component/noData'
export
default
{
export
default
{
name
:
'Overview'
,
name
:
'Overview'
,
props
:
[
'companyId'
,
'financial'
],
props
:
[
'companyId'
,
'financial'
],
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
operList
:
[],
operList
:
[],
isSkeleton
:
true
,
gsjyList
:
[
gsjyList
:
[
{
name
:
'总资产'
,
ico
:
require
(
'@/assets/images/detail/overview/gsjy_ico1.png'
),
amount
:
''
},
{
name
:
'总资产'
,
ico
:
require
(
'@/assets/images/detail/overview/gsjy_ico1.png'
),
amount
:
''
},
{
name
:
'净资产'
,
ico
:
require
(
'@/assets/images/detail/overview/gsjy_ico2.png'
),
amount
:
''
},
{
name
:
'净资产'
,
ico
:
require
(
'@/assets/images/detail/overview/gsjy_ico2.png'
),
amount
:
''
},
...
@@ -71,8 +74,10 @@ export default {
...
@@ -71,8 +74,10 @@ export default {
})
})
},
},
async
handleQuery
()
{
async
handleQuery
()
{
this
.
isSkeleton
=
true
;
let
res
=
await
bondCreditRating
({
cid
:
this
.
companyId
})
let
res
=
await
bondCreditRating
({
cid
:
this
.
companyId
})
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
operList
=
res
.
data
||
[]
this
.
operList
=
res
.
data
||
[]
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
companySwiper
()
this
.
companySwiper
()
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/relationship.vue
View file @
6a8ded58
...
@@ -6,7 +6,8 @@
...
@@ -6,7 +6,8 @@
<el-tab-pane
label=
"对外投资"
:disabled=
"shipTotal
<1
"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"对外投资"
:disabled=
"shipTotal
<1
"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"分支机构"
:disabled=
"affiliatesTotal
<1
"
name=
"third"
></el-tab-pane>
<el-tab-pane
label=
"分支机构"
:disabled=
"affiliatesTotal
<1
"
name=
"third"
></el-tab-pane>
</el-tabs>
</el-tabs>
<div
class=
"table-item"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"table-item"
v-else
>
<div
class=
"rela-person"
v-show=
"activeName=='first'"
>
实际控制人:
{{
financial
&&
financial
.
actualController
||
'--'
}}
</div>
<div
class=
"rela-person"
v-show=
"activeName=='first'"
>
实际控制人:
{{
financial
&&
financial
.
actualController
||
'--'
}}
</div>
<el-table
:data=
"holderData"
border
style=
"width: 100%"
v-show=
"activeName=='first'"
>
<el-table
:data=
"holderData"
border
style=
"width: 100%"
v-show=
"activeName=='first'"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"left"
fixed
>
<el-table-column
label=
"序号"
width=
"55"
align=
"left"
fixed
>
...
@@ -103,14 +104,16 @@
...
@@ -103,14 +104,16 @@
import
{
encodeStr
,
changePath
}
from
"@/assets/js/common"
import
{
encodeStr
,
changePath
}
from
"@/assets/js/common"
import
{
bestStockPage
,
investment
,
affiliates
}
from
'@/api/detail/party-a/overview'
import
{
bestStockPage
,
investment
,
affiliates
}
from
'@/api/detail/party-a/overview'
import
NoData
from
'../../component/noData'
import
NoData
from
'../../component/noData'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Relationship'
,
name
:
'Relationship'
,
props
:
[
'companyId'
,
'financial'
],
props
:
[
'companyId'
,
'financial'
],
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
encodeStr
,
encodeStr
,
activeName
:
'first'
,
activeName
:
'first'
,
//表格数据
//表格数据
...
@@ -147,8 +150,10 @@ export default {
...
@@ -147,8 +150,10 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(){
async
handleQuery
(){
this
.
isSkeleton
=
true
;
let
res
=
await
bestStockPage
(
this
.
holderParams
)
let
res
=
await
bestStockPage
(
this
.
holderParams
)
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
res
.
rows
.
forEach
(
item
=>
{
res
.
rows
.
forEach
(
item
=>
{
item
.
stockPercent
?
item
.
stockPercent
=
parseFloat
(
Number
(
item
.
stockPercent
*
100
).
toFixed
(
4
))
+
'%'
:
''
item
.
stockPercent
?
item
.
stockPercent
=
parseFloat
(
Number
(
item
.
stockPercent
*
100
).
toFixed
(
4
))
+
'%'
:
''
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/senior.vue
View file @
6a8ded58
<
template
>
<
template
>
<div
class=
"app-container rela-container"
>
<div
class=
"app-container rela-container"
>
<div
class=
"common-title"
>
高管
</div>
<div
class=
"common-title"
>
高管
</div>
<div
class=
"table-item"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"table-item"
v-else
>
<el-table
<el-table
v-if=
"tableData.length>0"
v-if=
"tableData.length>0"
:data=
"tableData"
:data=
"tableData"
...
@@ -36,12 +37,13 @@
...
@@ -36,12 +37,13 @@
<
script
>
<
script
>
import
{
keymembers
}
from
"@/api/detail/party-a/overview"
import
{
keymembers
}
from
"@/api/detail/party-a/overview"
import
NoData
from
'../../component/noData'
import
NoData
from
'../../component/noData'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Senior'
,
name
:
'Senior'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
queryParams
:
{
queryParams
:
{
cid
:
this
.
companyId
,
cid
:
this
.
companyId
,
pageNum
:
1
,
pageNum
:
1
,
...
@@ -52,7 +54,7 @@ export default {
...
@@ -52,7 +54,7 @@ export default {
}
}
},
},
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
created
()
{
created
()
{
this
.
handleQuery
()
this
.
handleQuery
()
...
@@ -61,8 +63,10 @@ export default {
...
@@ -61,8 +63,10 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(){
async
handleQuery
(){
this
.
isSkeleton
=
true
;
let
res
=
await
keymembers
(
this
.
queryParams
)
let
res
=
await
keymembers
(
this
.
queryParams
)
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
let
tempRows
=
[]
let
tempRows
=
[]
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
let
arrLength
=
res
.
rows
.
length
%
2
==
0
?(
res
.
rows
.
length
/
2
):(
Math
.
floor
(
res
.
rows
.
length
/
2
)
+
1
)
let
arrLength
=
res
.
rows
.
length
%
2
==
0
?(
res
.
rows
.
length
/
2
):(
Math
.
floor
(
res
.
rows
.
length
/
2
)
+
1
)
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/tender.vue
View file @
6a8ded58
<
template
>
<
template
>
<div
class=
"flex-box app-container part-container"
>
<div
class=
"flex-box app-container part-container"
>
<div
class=
"tender-list"
ref=
"zbggScroll"
@
scroll=
"scrollbottom()"
>
<div
class=
"tender-list"
ref=
"zbggScroll"
@
scroll=
"scrollbottom()"
>
<div
class=
"common-title"
>
招标公告
</div>
<div
class=
"common-title"
>
招标公告
</div>
<template
v-if=
"zbggList.length>0"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<template
v-if=
"zbggList.length>0&&!isSkeleton"
>
<div
class=
"tender-item"
v-for=
"(item, index) in zbggList"
:key=
"index"
>
<div
class=
"tender-item"
v-for=
"(item, index) in zbggList"
:key=
"index"
>
<div
class=
"flex-box tender-title"
><div
class=
"text-cl2"
:title=
"item.projectName"
><router-link
:to=
"'/radar/Notice/details/'+item.bid"
tag=
"a"
class=
"a-link"
>
{{
item
.
projectName
}}
</router-link></div><span
:class=
"item.projectCategory=='项目动态'?'style2':item.tag=='招投标'?'style4':'style1'"
v-if=
"item.projectCategory"
>
{{
item
.
projectCategory
}}
</span></div>
<div
class=
"flex-box tender-title"
><div
class=
"text-cl2"
:title=
"item.projectName"
><router-link
:to=
"'/radar/Notice/details/'+item.bid"
tag=
"a"
class=
"a-link"
>
{{
item
.
projectName
}}
</router-link></div><span
:class=
"item.projectCategory=='项目动态'?'style2':item.tag=='招投标'?'style4':'style1'"
v-if=
"item.projectCategory"
>
{{
item
.
projectCategory
}}
</span></div>
<span
class=
"tender-time"
><span
@
click=
"handleUrl(item.url)"
style=
"cursor: pointer;"
>
{{
item
.
dataSource
}}
</span>
{{
item
.
issueTime
}}
</span>
<span
class=
"tender-time"
><span
@
click=
"handleUrl(item.url)"
style=
"cursor: pointer;"
>
{{
item
.
dataSource
}}
</span>
{{
item
.
issueTime
}}
</span>
</div>
</div>
</
template
>
</
template
>
<div
class=
"tender-no-data"
v-
else
>
<div
class=
"tender-no-data"
v-
if=
"zbggList.length==0&&!isSkeleton"
>
<no-data
/>
<no-data
/>
</div>
</div>
</div>
</div>
<div
class=
"tender-list"
ref=
"trendScroll"
@
scroll=
"scrollbottom(true)"
>
<div
class=
"tender-list"
ref=
"trendScroll"
@
scroll=
"scrollbottom(true)"
>
<div
class=
"common-title"
>
企业动态
</div>
<div
class=
"common-title"
>
企业动态
</div>
<
template
v-if=
"trendList.length>0"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton1"
></skeleton>
<
template
v-if=
"trendList.length>0&&!isSkeleton1"
>
<div
class=
"tender-item"
v-for=
"(item, index) in trendList"
:key=
"index"
>
<div
class=
"tender-item"
v-for=
"(item, index) in trendList"
:key=
"index"
>
<div
class=
"flex-box tender-title"
><div
class=
"text-cl2"
:title=
"tendTitle(item.details)"
>
{{
tendTitle
(
item
.
details
)
}}
</div><span
:class=
"item.parentDimension=='新增分支机构'?'style2':item.parentDimension=='新增施工工法'?'style3':'style1'"
>
{{
item
.
parentDimension
}}
</span></div>
<div
class=
"flex-box tender-title"
><div
class=
"text-cl2"
:title=
"tendTitle(item.details)"
>
{{
tendTitle
(
item
.
details
)
}}
</div><span
:class=
"item.parentDimension=='新增分支机构'?'style2':item.parentDimension=='新增施工工法'?'style3':'style1'"
>
{{
item
.
parentDimension
}}
</span></div>
<span
class=
"tender-time"
>
{{
item
.
createTime
}}
</span>
<span
class=
"tender-time"
>
{{
item
.
createTime
}}
</span>
</div>
</div>
</
template
>
</
template
>
<div
class=
"tender-no-data"
v-
else
>
<div
class=
"tender-no-data"
v-
if=
"trendList.length==0&&!isSkeleton1"
>
<no-data
/>
<no-data
/>
</div>
</div>
</div>
</div>
...
@@ -30,14 +33,17 @@
...
@@ -30,14 +33,17 @@
<
script
>
<
script
>
import
{
bidNoticePage
,
dynamicPage
}
from
"@/api/detail/party-a/overview"
import
{
bidNoticePage
,
dynamicPage
}
from
"@/api/detail/party-a/overview"
import
NoData
from
'../../component/noData'
import
NoData
from
'../../component/noData'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Tender'
,
name
:
'Tender'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
components
:
{
components
:
{
NoData
NoData
,
skeleton
},
},
data
()
{
data
()
{
return
{
return
{
isSkeleton
:
true
,
isSkeleton1
:
true
,
zbggParams
:
{
zbggParams
:
{
cid
:
this
.
companyId
,
cid
:
this
.
companyId
,
sort
:
3
,
sort
:
3
,
...
@@ -81,15 +87,19 @@ export default {
...
@@ -81,15 +87,19 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
()
{
async
handleQuery
()
{
this
.
isSkeleton
=
true
;
this
.
isSkeleton1
=
true
;
let
[
notice
,
namic
]
=
await
Promise
.
all
([
let
[
notice
,
namic
]
=
await
Promise
.
all
([
bidNoticePage
(
this
.
zbggParams
),
bidNoticePage
(
this
.
zbggParams
),
dynamicPage
(
this
.
trendParams
)
dynamicPage
(
this
.
trendParams
)
])
])
if
(
notice
.
code
==
200
){
if
(
notice
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
zbggList
=
notice
.
rows
;
this
.
zbggList
=
notice
.
rows
;
this
.
zbggTotal
=
notice
.
total
;
this
.
zbggTotal
=
notice
.
total
;
}
}
if
(
namic
.
code
==
200
){
if
(
namic
.
code
==
200
){
this
.
isSkeleton1
=
false
;
this
.
trendList
=
namic
.
rows
;
this
.
trendList
=
namic
.
rows
;
this
.
trendTotal
=
namic
.
total
;
this
.
trendTotal
=
namic
.
total
;
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/overview/overview.vue
View file @
6a8ded58
<
template
>
<
template
>
<div
class=
"app-container part-container"
>
<div
class=
"app-container part-container"
>
<div
class=
"view-content"
><
Infoheader
:companyId=
"companyId"
:companyInfo=
"companyInfo"
:statistic=
"statistic"
/></div>
<!-- 企业信息 -->
<div
class=
"view-content"
><
skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton><Infoheader
v-else
:companyId=
"companyId"
:companyInfo=
"companyInfo"
:statistic=
"statistic"
/></div>
<!-- 企业信息 -->
<div
class=
"view-content"
><Operations
:companyId=
"companyId"
:financial=
"financial"
/></div>
<!-- 公司经营 -->
<div
class=
"view-content"
><Operations
:companyId=
"companyId"
:financial=
"financial"
/></div>
<!-- 公司经营 -->
<div
class=
"view-content"
><Bidding
:companyId=
"companyId"
/></div>
<!--招标偏好、业务往来-->
<div
class=
"view-content"
><Bidding
:companyId=
"companyId"
/></div>
<!--招标偏好、业务往来-->
<div
class=
"view-content"
><Busclue
:companyId=
"companyId"
:statistic=
"statistic"
/></div>
<!--商机线索-->
<div
class=
"view-content"
><Busclue
:companyId=
"companyId"
:statistic=
"statistic"
/></div>
<!--商机线索-->
...
@@ -23,10 +23,11 @@ import Finance from './component/finance'
...
@@ -23,10 +23,11 @@ import Finance from './component/finance'
import
Relationship
from
'./component/relationship'
import
Relationship
from
'./component/relationship'
import
Senior
from
'./component/senior'
import
Senior
from
'./component/senior'
import
Risk
from
'./component/risk'
import
Risk
from
'./component/risk'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
import
Tender
from
"./component/tender"
import
Tender
from
"./component/tender"
export
default
{
export
default
{
name
:
'Overview'
,
name
:
'Overview'
,
props
:
[
'companyId'
,
'companyInfo'
],
props
:
[
'companyId'
,
'companyInfo'
,
'isSkeleton'
],
components
:
{
components
:
{
Infoheader
,
Infoheader
,
Operations
,
Operations
,
...
@@ -36,6 +37,7 @@ export default {
...
@@ -36,6 +37,7 @@ export default {
Senior
,
Senior
,
Risk
,
Risk
,
Finance
,
Finance
,
skeleton
,
Tender
Tender
},
},
data
()
{
data
()
{
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
6a8ded58
...
@@ -742,7 +742,7 @@ export default {
...
@@ -742,7 +742,7 @@ export default {
},
},
cancelClaim
(
companyName
){
cancelClaim
(
companyName
){
this
.
dialogVisible1
=
true
;
this
.
dialogVisible1
=
true
;
this
.
companyName
=
companyName
;
this
.
companyName
=
companyName
.
replace
(
/<
[^
>
]
+>/g
,
''
)
;
},
},
confirm
(){
confirm
(){
api
.
cancelClaim
(
this
.
companyName
).
then
(
res
=>
{
api
.
cancelClaim
(
this
.
companyName
).
then
(
res
=>
{
...
@@ -762,7 +762,7 @@ export default {
...
@@ -762,7 +762,7 @@ export default {
},
},
handleClick
(
item
){
handleClick
(
item
){
this
.
companyId
=
item
.
companyId
;
this
.
companyId
=
item
.
companyId
;
this
.
companyName
=
item
.
companyName
;
this
.
companyName
=
item
.
companyName
.
replace
(
/<
[^
>
]
+>/g
,
''
)
;
infoHeader
({
companyId
:
this
.
companyId
}).
then
(
res
=>
{
infoHeader
({
companyId
:
this
.
companyId
}).
then
(
res
=>
{
if
(
res
.
code
===
200
){
if
(
res
.
code
===
200
){
let
registerAddress
=
res
.
data
.
provinceName
let
registerAddress
=
res
.
data
.
provinceName
...
@@ -774,7 +774,7 @@ export default {
...
@@ -774,7 +774,7 @@ export default {
}
}
let
params
=
{
let
params
=
{
uipId
:
item
.
uipId
,
uipId
:
item
.
uipId
,
companyName
:
item
.
companyName
,
companyName
:
item
.
companyName
.
replace
(
/<
[^
>
]
+>/g
,
''
)
,
companyId
:
item
.
companyId
,
companyId
:
item
.
companyId
,
creditLevel
:
item
.
bratingSubjectLevel
,
creditLevel
:
item
.
bratingSubjectLevel
,
legalPerson
:
res
.
data
.
corporatePerson
,
legalPerson
:
res
.
data
.
corporatePerson
,
...
@@ -785,7 +785,7 @@ export default {
...
@@ -785,7 +785,7 @@ export default {
registerAddress
:
registerAddress
,
registerAddress
:
registerAddress
,
creditCode
:
res
.
data
.
creditCode
,
creditCode
:
res
.
data
.
creditCode
,
}
}
customerStatus
(
item
.
companyName
).
then
(
res
=>
{
customerStatus
(
item
.
companyName
.
replace
(
/<
[^
>
]
+>/g
,
''
)
).
then
(
res
=>
{
if
(
res
.
data
===
1
){
if
(
res
.
data
===
1
){
this
.
claimVisible1
=
true
;
this
.
claimVisible1
=
true
;
}
else
{
}
else
{
...
...
dsk-operate-ui/src/views/project/projectList/component/gzdb.vue
View file @
6a8ded58
...
@@ -140,6 +140,7 @@
...
@@ -140,6 +140,7 @@
this
.
value
=
""
this
.
value
=
""
},
},
add
(){
add
(){
// if(this.queryParam.task == '' || this.queryParam.dueTime == '')
// if(this.queryParam.task == '' || this.queryParam.dueTime == '')
if
(
this
.
queryParam
.
task
==
''
)
if
(
this
.
queryParam
.
task
==
''
)
return
this
.
$message
.
warning
(
'时间和内容需填写完整!'
)
return
this
.
$message
.
warning
(
'时间和内容需填写完整!'
)
...
...
dsk-operate-ui/src/views/project/projectList/component/xgqy.vue
View file @
6a8ded58
...
@@ -301,8 +301,11 @@
...
@@ -301,8 +301,11 @@
})
})
},
},
addqy
(){
addqy
(){
if
(
this
.
queryParam
.
companyName
===
''
&&
this
.
queryParam
.
companyRole
===
''
){
if
(
this
.
queryParam
.
companyName
===
''
){
return
this
.
$message
.
warning
(
'企业角色和企业名称需填写完整!'
)
return
this
.
$message
.
warning
(
'企业名称需填写完整!'
)
}
if
(
this
.
queryParam
.
companyRole
===
''
){
return
this
.
$message
.
warning
(
'企业角色称需填写完整!'
)
}
}
addXGQY
(
this
.
queryParam
).
then
(
res
=>
{
addXGQY
(
this
.
queryParam
).
then
(
res
=>
{
this
.
hzhbVisible
=
false
this
.
hzhbVisible
=
false
...
...
dsk-system/src/main/java/com/dsk/system/domain/business/BusinessBacklog.java
View file @
6a8ded58
...
@@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
...
@@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @date 2023-05-17
* @date 2023-05-17
*/
*/
@Data
@Data
public
class
BusinessBacklog
extends
BaseEntity
public
class
BusinessBacklog
{
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
@@ -49,4 +49,8 @@ public class BusinessBacklog extends BaseEntity
...
@@ -49,4 +49,8 @@ public class BusinessBacklog extends BaseEntity
@Excel
(
name
=
"状态 0:进行中 1:已到期"
)
@Excel
(
name
=
"状态 0:进行中 1:已到期"
)
private
Integer
state
;
private
Integer
state
;
private
Date
createTime
;
private
Date
updateTime
;
}
}
dsk-system/src/main/java/com/dsk/system/domain/business/dto/BusinessBacklogListDto.java
0 → 100644
View file @
6a8ded58
package
com
.
dsk
.
system
.
domain
.
business
.
dto
;
import
com.dsk.common.annotation.Excel
;
import
com.dsk.common.core.domain.BaseEntity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
java.util.Date
;
/**
* 项目工作待办对象 business_backlog
*
* @author lxl
* @date 2023-05-17
*/
@Data
public
class
BusinessBacklogListDto
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 项目id */
private
Integer
businessId
;
/** 状态 (0进行中 1已完成 2逾期) */
private
Integer
state
;
private
Date
startTime
;
private
Date
endTime
;
}
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
6a8ded58
...
@@ -71,17 +71,10 @@ public class EnterpriseService {
...
@@ -71,17 +71,10 @@ public class EnterpriseService {
Map
uipData
=
MapUtils
.
getMap
(
uipMap
,
"data"
,
new
HashMap
<>());
Map
uipData
=
MapUtils
.
getMap
(
uipMap
,
"data"
,
new
HashMap
<>());
String
uipId
=
MapUtils
.
getString
(
uipData
,
"uipId"
,
null
);
String
uipId
=
MapUtils
.
getString
(
uipData
,
"uipId"
,
null
);
companyData
.
put
(
"uipId"
,
uipId
);
companyData
.
put
(
"uipId"
,
uipId
);
if
(!
ObjectUtil
.
isEmpty
(
uipId
))
{
Integer
status
=
iCustomerService
.
status
(
companyName
);
ArrayList
<
String
>
uipIds
=
new
ArrayList
<>();
if
(
ObjectUtil
.
isNotEmpty
(
status
))
{
uipIds
.
add
(
uipId
);
companyData
.
put
(
"claimStatus"
,
status
.
equals
(
0
)
?
1
:
0
);
companyData
.
put
(
"claimStatus"
,
CollectionUtils
.
isEmpty
(
iCustomerService
.
selectStatusList
(
uipIds
))
?
0
:
1
);
}
else
{
Integer
status
=
iCustomerService
.
status
(
companyName
);
if
(
ObjectUtil
.
isNotEmpty
(
status
))
{
companyData
.
put
(
"claimStatus"
,
status
.
equals
(
0
)
?
1
:
0
);
}
}
}
Map
<
String
,
Object
>
bondCreditRatingMap
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/bondCreditRating"
,
map
);
Map
<
String
,
Object
>
bondCreditRatingMap
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/bondCreditRating"
,
map
);
Integer
bondCreditRatingCode
=
MapUtils
.
getInteger
(
bondCreditRatingMap
,
"code"
,
300
);
Integer
bondCreditRatingCode
=
MapUtils
.
getInteger
(
bondCreditRatingMap
,
"code"
,
300
);
if
(
200
!=
bondCreditRatingCode
)
return
R
.
ok
(
companyData
);
if
(
200
!=
bondCreditRatingCode
)
return
R
.
ok
(
companyData
);
...
@@ -249,14 +242,21 @@ public class EnterpriseService {
...
@@ -249,14 +242,21 @@ public class EnterpriseService {
return
new
TableDataInfo
(
list
,
0
);
return
new
TableDataInfo
(
list
,
0
);
}
}
ArrayList
<
String
>
uipId
s
=
new
ArrayList
<>();
ArrayList
<
String
>
companyName
s
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
for
(
Object
dataMap
:
list
)
{
for
(
Object
dataMap
:
list
)
{
uipIds
.
add
(
MapUtils
.
getString
(
CommonUtils
.
assertAsMap
(
dataMap
),
"uipId"
));
String
name
=
MapUtils
.
getString
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyName"
);
if
(
ObjectUtil
.
isNotEmpty
(
name
)
&&
ObjectUtil
.
isNotEmpty
(
body
.
getKeys
()))
{
name
=
name
.
replaceAll
(
"<font color='red'>"
,
""
);
name
=
name
.
replaceAll
(
"</font>"
,
""
);
companyNames
.
add
(
name
);
}
else
{
companyNames
.
add
(
name
);
}
cIds
.
add
(
MapUtils
.
getLong
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyId"
));
cIds
.
add
(
MapUtils
.
getLong
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyId"
));
}
}
List
<
CustomerStatusListVo
>
claimStatusList
=
iCustomerService
.
selectStatusList
(
uipId
s
);
List
<
CustomerStatusListVo
>
claimStatusList
=
iCustomerService
.
selectStatusList
ByCompanyName
(
companyName
s
);
Map
<
String
,
Object
>
bondCreditRatingBatchMap
=
new
HashMap
<>(
1
);
Map
<
String
,
Object
>
bondCreditRatingBatchMap
=
new
HashMap
<>(
1
);
bondCreditRatingBatchMap
.
put
(
"cIds"
,
cIds
);
bondCreditRatingBatchMap
.
put
(
"cIds"
,
cIds
);
...
@@ -275,6 +275,11 @@ public class EnterpriseService {
...
@@ -275,6 +275,11 @@ public class EnterpriseService {
Map
<
String
,
Object
>
companyMap
=
CommonUtils
.
assertAsMap
(
companyObj
);
Map
<
String
,
Object
>
companyMap
=
CommonUtils
.
assertAsMap
(
companyObj
);
companyMap
.
put
(
"bratingSubjectLevel"
,
null
);
companyMap
.
put
(
"bratingSubjectLevel"
,
null
);
String
uipId
=
MapUtils
.
getString
(
companyMap
,
"uipId"
);
String
uipId
=
MapUtils
.
getString
(
companyMap
,
"uipId"
);
String
companyName
=
MapUtils
.
getString
(
companyMap
,
"companyName"
,
""
);
if
(
ObjectUtil
.
isNotEmpty
(
companyName
)
&&
ObjectUtil
.
isNotEmpty
(
body
.
getKeys
()))
{
companyName
=
companyName
.
replace
(
"<font color='red'>"
,
""
);
companyName
=
companyName
.
replace
(
"</font>"
,
""
);
}
Long
companyId
=
MapUtils
.
getLong
(
companyMap
,
"companyId"
);
Long
companyId
=
MapUtils
.
getLong
(
companyMap
,
"companyId"
);
companyMap
.
put
(
"bondBalance"
,
MapUtils
.
getDouble
(
companyMap
,
"bondBalance"
)==
null
?
null
:
String
.
format
(
"%.2f"
,
MapUtils
.
getDouble
(
companyMap
,
"bondBalance"
)));
companyMap
.
put
(
"bondBalance"
,
MapUtils
.
getDouble
(
companyMap
,
"bondBalance"
)==
null
?
null
:
String
.
format
(
"%.2f"
,
MapUtils
.
getDouble
(
companyMap
,
"bondBalance"
)));
companyMap
.
put
(
"totalAssets"
,
MapUtils
.
getDouble
(
companyMap
,
"totalAssets"
)==
null
?
null
:
String
.
format
(
"%.2f"
,
MapUtils
.
getDouble
(
companyMap
,
"totalAssets"
)));
companyMap
.
put
(
"totalAssets"
,
MapUtils
.
getDouble
(
companyMap
,
"totalAssets"
)==
null
?
null
:
String
.
format
(
"%.2f"
,
MapUtils
.
getDouble
(
companyMap
,
"totalAssets"
)));
...
@@ -314,7 +319,7 @@ public class EnterpriseService {
...
@@ -314,7 +319,7 @@ public class EnterpriseService {
companyMap
.
put
(
"claimStatus"
,
0
);
companyMap
.
put
(
"claimStatus"
,
0
);
for
(
CustomerStatusListVo
vo
:
claimStatusList
)
{
for
(
CustomerStatusListVo
vo
:
claimStatusList
)
{
if
(
uipId
.
equals
(
vo
.
getUipId
()))
{
if
(
companyName
.
equals
(
vo
.
getCompanyName
()))
{
companyMap
.
put
(
"claimStatus"
,
1
);
companyMap
.
put
(
"claimStatus"
,
1
);
}
}
}
}
...
...
dsk-system/src/main/java/com/dsk/system/mapper/BusinessBacklogMapper.java
View file @
6a8ded58
package
com
.
dsk
.
system
.
mapper
;
package
com
.
dsk
.
system
.
mapper
;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.system.domain.business.dto.BusinessBacklogListDto
;
import
com.dsk.system.domain.business.vo.BusinessBacklogListVo
;
import
com.dsk.system.domain.business.vo.BusinessBacklogListVo
;
import
java.util.List
;
import
java.util.List
;
...
@@ -23,11 +24,8 @@ public interface BusinessBacklogMapper
...
@@ -23,11 +24,8 @@ public interface BusinessBacklogMapper
/**
/**
* 查询项目工作待办列表
* 查询项目工作待办列表
*
* @param businessBacklog 项目工作待办
* @return 项目工作待办集合
*/
*/
public
List
<
BusinessBacklogListVo
>
selectBusinessBacklogList
(
BusinessBacklog
businessBacklog
);
public
List
<
BusinessBacklogListVo
>
selectBusinessBacklogList
(
BusinessBacklog
ListDto
dto
);
/**
/**
* 新增项目工作待办
* 新增项目工作待办
...
...
dsk-system/src/main/java/com/dsk/system/service/IBusinessBacklogService.java
View file @
6a8ded58
package
com
.
dsk
.
system
.
service
;
package
com
.
dsk
.
system
.
service
;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.system.domain.business.dto.BusinessBacklogListDto
;
import
com.dsk.system.domain.business.vo.BusinessBacklogListVo
;
import
com.dsk.system.domain.business.vo.BusinessBacklogListVo
;
import
java.util.List
;
import
java.util.List
;
...
@@ -23,11 +24,8 @@ public interface IBusinessBacklogService
...
@@ -23,11 +24,8 @@ public interface IBusinessBacklogService
/**
/**
* 查询项目工作待办列表
* 查询项目工作待办列表
*
* @param businessBacklog 项目工作待办
* @return 项目工作待办集合
*/
*/
public
List
<
BusinessBacklogListVo
>
selectBusinessBacklogList
(
BusinessBacklog
businessBacklog
);
public
List
<
BusinessBacklogListVo
>
selectBusinessBacklogList
(
BusinessBacklog
ListDto
dto
);
/**
/**
* 新增项目工作待办
* 新增项目工作待办
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/BusinessBacklogServiceImpl.java
View file @
6a8ded58
...
@@ -5,6 +5,7 @@ import cn.hutool.core.util.ObjectUtil;
...
@@ -5,6 +5,7 @@ import cn.hutool.core.util.ObjectUtil;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.system.domain.business.BusinessBacklog
;
import
com.dsk.common.exception.base.BaseException
;
import
com.dsk.common.exception.base.BaseException
;
import
com.dsk.common.utils.DateUtils
;
import
com.dsk.common.utils.DateUtils
;
import
com.dsk.system.domain.business.dto.BusinessBacklogListDto
;
import
com.dsk.system.domain.business.vo.BusinessBacklogListVo
;
import
com.dsk.system.domain.business.vo.BusinessBacklogListVo
;
import
com.dsk.system.mapper.BusinessBacklogMapper
;
import
com.dsk.system.mapper.BusinessBacklogMapper
;
import
com.dsk.system.service.IBusinessBacklogService
;
import
com.dsk.system.service.IBusinessBacklogService
;
...
@@ -43,15 +44,31 @@ public class BusinessBacklogServiceImpl implements IBusinessBacklogService {
...
@@ -43,15 +44,31 @@ public class BusinessBacklogServiceImpl implements IBusinessBacklogService {
/**
/**
* 查询项目工作待办列表
* 查询项目工作待办列表
*
*
* @param
businessBacklog
项目工作待办
* @param
dto
项目工作待办
* @return 项目工作待办
* @return 项目工作待办
*/
*/
@Override
@Override
public
List
<
BusinessBacklogListVo
>
selectBusinessBacklogList
(
BusinessBacklog
businessBacklog
)
{
public
List
<
BusinessBacklogListVo
>
selectBusinessBacklogList
(
BusinessBacklog
ListDto
dto
)
{
if
(
ObjectUtil
.
isEmpty
(
businessBacklog
.
getBusinessId
()))
{
if
(
ObjectUtil
.
isEmpty
(
dto
.
getBusinessId
()))
{
throw
new
BeanException
(
"项目id不能为空!"
);
throw
new
BeanException
(
"项目id不能为空!"
);
}
}
return
businessBacklogMapper
.
selectBusinessBacklogList
(
businessBacklog
);
if
(
ObjectUtil
.
isEmpty
(
dto
.
getState
()))
{
throw
new
BeanException
(
"工作代办状态不能为空!"
);
}
switch
(
dto
.
getState
()){
case
0
:
dto
.
setStartTime
(
new
Date
());
break
;
case
1
:
break
;
case
2
:
dto
.
setState
(
0
);
dto
.
setEndTime
(
new
Date
());
break
;
default
:
throw
new
BeanException
(
"工作代办状态参数错误!"
);
}
return
businessBacklogMapper
.
selectBusinessBacklogList
(
dto
);
}
}
/**
/**
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/CustomerServiceImpl.java
View file @
6a8ded58
...
@@ -5,6 +5,7 @@ import cn.hutool.core.bean.BeanUtil;
...
@@ -5,6 +5,7 @@ import cn.hutool.core.bean.BeanUtil;
import
cn.hutool.core.map.MapUtil
;
import
cn.hutool.core.map.MapUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.dsk.common.annotation.DataScope
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.utils.SecurityUtils
;
import
com.dsk.common.utils.SecurityUtils
;
...
@@ -27,6 +28,7 @@ import org.springframework.transaction.annotation.Transactional;
...
@@ -27,6 +28,7 @@ import org.springframework.transaction.annotation.Transactional;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -52,6 +54,7 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -52,6 +54,7 @@ public class CustomerServiceImpl implements ICustomerService {
private
BusinessOpportunityRadarService
opportunityRadarService
;
private
BusinessOpportunityRadarService
opportunityRadarService
;
@Override
@Override
// @DataScope(deptAlias = "d", userAlias = "u")
public
List
<
CustomerListVo
>
selectList
(
CustomerSearchDto
dto
)
{
public
List
<
CustomerListVo
>
selectList
(
CustomerSearchDto
dto
)
{
dto
.
setUserId
(
SecurityUtils
.
getUserId
());
dto
.
setUserId
(
SecurityUtils
.
getUserId
());
dto
.
setStatus
(
ObjectUtils
.
isEmpty
(
dto
.
getStatus
())
?
0
:
dto
.
getStatus
());
dto
.
setStatus
(
ObjectUtils
.
isEmpty
(
dto
.
getStatus
())
?
0
:
dto
.
getStatus
());
...
@@ -74,9 +77,18 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -74,9 +77,18 @@ public class CustomerServiceImpl implements ICustomerService {
dealWithcustomerData
(
customer
);
dealWithcustomerData
(
customer
);
if
(
ObjectUtils
.
isEmpty
(
customer
.
getUipId
()))
{
if
(
ObjectUtils
.
isEmpty
(
customer
.
getUipId
()))
{
try
{
try
{
R
res
=
enterpriseService
.
getUipId
(
customer
.
getCompanyName
());
List
<
Integer
>
list
=
new
ArrayList
<>();
if
(!
ObjectUtils
.
isEmpty
(
res
.
getData
()))
{
list
.
add
(
customer
.
getCompanyId
());
customer
.
setUipId
(
MapUtil
.
getStr
(
BeanUtil
.
beanToMap
(
res
.
getData
()),
"uipId"
));
R
res
=
enterpriseService
.
getUipIdByCid
(
list
);
if
(!
ObjectUtils
.
isEmpty
(
res
.
getData
())){
List
<
Map
<
String
,
Object
>>
data
=
(
List
<
Map
<
String
,
Object
>>)
res
.
getData
();
customer
.
setUipId
(
MapUtil
.
getStr
(
BeanUtil
.
beanToMap
(
data
.
get
((
0
))),
"uipId"
));
}
if
(
ObjectUtils
.
isEmpty
(
customer
.
getUipId
())){
res
=
enterpriseService
.
getUipId
(
customer
.
getCompanyName
());
if
(!
ObjectUtils
.
isEmpty
(
res
.
getData
()))
{
customer
.
setUipId
(
MapUtil
.
getStr
(
BeanUtil
.
beanToMap
(
res
.
getData
()),
"uipId"
));
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"获取城投平台企业id错误!error:{}"
,
e
.
getMessage
());
log
.
error
(
"获取城投平台企业id错误!error:{}"
,
e
.
getMessage
());
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/EconomicServiceImpl.java
View file @
6a8ded58
...
@@ -2,6 +2,7 @@ package com.dsk.system.service.impl;
...
@@ -2,6 +2,7 @@ package com.dsk.system.service.impl;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.dsk.acc.openapi.client.util.CommonUtils
;
import
com.dsk.common.constant.CacheConstants
;
import
com.dsk.common.constant.CacheConstants
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.redis.RedisCache
;
import
com.dsk.common.core.redis.RedisCache
;
...
@@ -15,7 +16,6 @@ import org.springframework.http.HttpStatus;
...
@@ -15,7 +16,6 @@ import org.springframework.http.HttpStatus;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -40,7 +40,23 @@ public class EconomicServiceImpl implements EconomicService {
...
@@ -40,7 +40,23 @@ public class EconomicServiceImpl implements EconomicService {
if
(
ObjectUtil
.
isEmpty
(
dto
.
getYear
()))
{
if
(
ObjectUtil
.
isEmpty
(
dto
.
getYear
()))
{
dto
.
setYear
(
DateUtils
.
getYear
()
-
1
);
dto
.
setYear
(
DateUtils
.
getYear
()
-
1
);
}
}
String
redisKey
=
CacheConstants
.
DATA_ECONOMIC
+
dto
.
getYear
()
+
dto
.
getProvinceIds
()
+
dto
.
getCityIds
()
+
dto
.
getAreaIds
();
Map
<
String
,
Object
>
cacheMap
=
redisCache
.
getCacheObject
(
redisKey
);
if
(
ObjectUtil
.
isNotEmpty
(
cacheMap
))
{
return
BeanUtil
.
toBean
(
cacheMap
,
AjaxResult
.
class
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/economic/national/nationalPage"
,
BeanUtil
.
beanToMap
(
dto
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/economic/national/nationalPage"
,
BeanUtil
.
beanToMap
(
dto
,
false
,
false
));
Integer
code
=
MapUtils
.
getInteger
(
map
,
"code"
,
300
);
if
(!
code
.
equals
(
HttpStatus
.
OK
.
value
()))
{
throw
new
RuntimeException
();
}
Map
data
=
MapUtils
.
getMap
(
map
,
"data"
,
null
);
List
<
Object
>
list
=
CommonUtils
.
assertAsArray
(
MapUtils
.
getObject
(
data
,
"list"
,
""
));
if
(
ObjectUtil
.
isNotEmpty
(
list
))
{
if
(
ObjectUtil
.
isEmpty
(
dto
.
getProvinceIds
())
&&
ObjectUtil
.
isEmpty
(
dto
.
getCityIds
())
&&
ObjectUtil
.
isEmpty
(
dto
.
getAreaIds
()))
{
redisCache
.
setCacheObject
(
redisKey
,
map
);
}
}
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/UrbanInvestmentPlatformServiceImpl.java
View file @
6a8ded58
...
@@ -5,6 +5,7 @@ import cn.hutool.core.util.ObjectUtil;
...
@@ -5,6 +5,7 @@ import cn.hutool.core.util.ObjectUtil;
import
com.dsk.acc.openapi.client.util.CommonUtils
;
import
com.dsk.acc.openapi.client.util.CommonUtils
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.dtos.UrbanInvestmentPlatformDto
;
import
com.dsk.common.dtos.UrbanInvestmentPlatformDto
;
import
com.dsk.common.dtos.UrbanInvestmentPlatformSubjectLevelDto
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
com.dsk.system.domain.customer.vo.CustomerStatusListVo
;
import
com.dsk.system.domain.customer.vo.CustomerStatusListVo
;
import
com.dsk.system.service.ICustomerService
;
import
com.dsk.system.service.ICustomerService
;
...
@@ -15,10 +16,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -15,10 +16,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.http.HttpStatus
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
import
java.util.*
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @ClassName EconomicServiceImpl
* @ClassName EconomicServiceImpl
...
@@ -49,14 +47,20 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
...
@@ -49,14 +47,20 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
ArrayList
<
String
>
uipId
s
=
new
ArrayList
<>();
ArrayList
<
String
>
companyName
s
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
for
(
Object
dataMap
:
list
)
{
for
(
Object
dataMap
:
list
)
{
uipIds
.
add
(
MapUtils
.
getString
(
CommonUtils
.
assertAsMap
(
dataMap
),
"uipId"
));
String
name
=
MapUtils
.
getString
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyName"
);
if
(
ObjectUtil
.
isNotEmpty
(
name
)
&&
ObjectUtil
.
isNotEmpty
(
pageDto
.
getKeyword
()))
{
name
=
name
.
replace
(
"<font color='red'>"
,
""
);
name
=
name
.
replace
(
"</font>"
,
""
);
companyNames
.
add
(
name
);
}
else
{
companyNames
.
add
(
name
);
}
cIds
.
add
(
MapUtils
.
getLong
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyId"
));
cIds
.
add
(
MapUtils
.
getLong
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyId"
));
}
}
// List<String> claimStatusList = iCustomerService.selectUipIdList(uipIds);
List
<
CustomerStatusListVo
>
customerStatusListVos
=
iCustomerService
.
selectStatusListByCompanyName
(
companyNames
);
List
<
CustomerStatusListVo
>
customerStatusListVos
=
iCustomerService
.
selectStatusList
(
uipIds
);
Map
<
String
,
Object
>
bondCreditRatingBatchMap
=
new
HashMap
<>(
1
);
Map
<
String
,
Object
>
bondCreditRatingBatchMap
=
new
HashMap
<>(
1
);
bondCreditRatingBatchMap
.
put
(
"cIds"
,
cIds
);
bondCreditRatingBatchMap
.
put
(
"cIds"
,
cIds
);
...
@@ -76,33 +80,34 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
...
@@ -76,33 +80,34 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
Map
<
String
,
Object
>
companyMap
=
CommonUtils
.
assertAsMap
(
companyObj
);
Map
<
String
,
Object
>
companyMap
=
CommonUtils
.
assertAsMap
(
companyObj
);
Long
companyId
=
MapUtils
.
getLong
(
companyMap
,
"companyId"
);
Long
companyId
=
MapUtils
.
getLong
(
companyMap
,
"companyId"
);
String
uipId
=
MapUtils
.
getString
(
companyMap
,
"uipId"
);
String
uipId
=
MapUtils
.
getString
(
companyMap
,
"uipId"
);
String
companyName
=
MapUtils
.
getString
(
companyMap
,
"companyName"
,
""
);
if
(
ObjectUtil
.
isNotEmpty
(
companyName
)
&&
ObjectUtil
.
isNotEmpty
(
pageDto
.
getKeyword
()))
{
companyName
=
companyName
.
replace
(
"<font color='red'>"
,
""
);
companyName
=
companyName
.
replace
(
"</font>"
,
""
);
}
companyMap
.
put
(
"claimStatus"
,
0
);
companyMap
.
put
(
"claimStatus"
,
0
);
companyMap
.
put
(
"bratingSubjectLevel"
,
null
);
companyMap
.
put
(
"bratingSubjectLevel"
,
null
);
for
(
CustomerStatusListVo
vo
:
customerStatusListVos
)
{
for
(
CustomerStatusListVo
vo
:
customerStatusListVos
)
{
if
(
uipId
.
equals
(
vo
.
getUipId
()))
{
if
(
companyName
.
equals
(
vo
.
getCompanyName
()))
{
companyMap
.
put
(
"claimStatus"
,
1
);
companyMap
.
put
(
"claimStatus"
,
1
);
}
}
}
}
// 去除重复的数据
Set
<
UrbanInvestmentPlatformSubjectLevelDto
>
subjectLevelDtoSet
=
new
HashSet
<>();
for
(
Map
<
String
,
Object
>
m
:
objArrayList
)
{
for
(
Map
<
String
,
Object
>
m
:
objArrayList
)
{
UrbanInvestmentPlatformSubjectLevelDto
dto
=
new
UrbanInvestmentPlatformSubjectLevelDto
();
Long
companyIdCredit
=
MapUtils
.
getLong
(
m
,
"companyId"
,
0L
);
Long
companyIdCredit
=
MapUtils
.
getLong
(
m
,
"companyId"
,
0L
);
if
(
companyIdCredit
.
equals
(
companyId
))
{
String
rate
=
MapUtils
.
getString
(
m
,
"bratingSubjectLevel"
);
companyMap
.
put
(
"bratingSubjectLevel"
,
m
.
get
(
"bratingSubjectLevel"
));
dto
.
setCompanyId
(
companyIdCredit
);
dto
.
setBratingSubjectLevel
(
rate
);
subjectLevelDtoSet
.
add
(
dto
);
}
for
(
UrbanInvestmentPlatformSubjectLevelDto
dto
:
subjectLevelDtoSet
)
{
if
(
dto
.
getCompanyId
().
equals
(
companyId
))
{
companyMap
.
put
(
"bratingSubjectLevel"
,
dto
.
getBratingSubjectLevel
());
}
}
}
}
}
}
// for (Object companyObj : list) {
// Map<String, Object> companyMap = CommonUtils.assertAsMap(companyObj);
// String uipId = MapUtils.getString(companyMap, "uipId","uipId");
// if (CollectionUtils.isEmpty(claimStatusList)) {
// companyMap.put("claimStatus", 0);
// } else if (claimStatusList.contains(uipId)) {
// companyMap.put("claimStatus", 1);
// } else {
// companyMap.put("claimStatus", 0);
// }
// }
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
...
...
dsk-system/src/main/resources/mapper/business/BusinessBacklogMapper.xml
View file @
6a8ded58
...
@@ -28,14 +28,13 @@
...
@@ -28,14 +28,13 @@
from business_backlog
from business_backlog
</sql>
</sql>
<select
id=
"selectBusinessBacklogList"
parameterType=
"com.dsk.system.domain.business.
vo.BusinessBacklogListV
o"
<select
id=
"selectBusinessBacklogList"
parameterType=
"com.dsk.system.domain.business.
dto.BusinessBacklogListDt
o"
result
Map=
"BusinessBacklogResult
"
>
result
Type=
"com.dsk.system.domain.business.vo.BusinessBacklogListVo
"
>
<include
refid=
"selectBusinessBacklogVo"
/>
<include
refid=
"selectBusinessBacklogVo"
/>
where business_id = #{businessId}
where business_id = #{businessId}
<if
test=
"target != null and target != ''"
>
and target = #{target}
</if>
<if
test=
"state != null "
>
and state = #{state}
</if>
<if
test=
"task != null and task != ''"
>
and task = #{task}
</if>
<if
test=
"startTime != null "
>
and(due_time
>
= #{startTime} or due_time is null)
</if>
<if
test=
"finishTime != null "
>
and finish_time = #{finishTime}
</if>
<if
test=
"endTime != null "
>
and due_time
<
= #{endTime}
</if>
<if
test=
"state != null "
>
and state = #{state}
</if>
ORDER BY create_time DESC
ORDER BY 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