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
563d64b9
Commit
563d64b9
authored
Jul 31, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
f30fcd45
a9c26765
Changes
39
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
1354 additions
and
293 deletions
+1354
-293
BusinessBacklogController.java
...sk/web/controller/business/BusinessBacklogController.java
+3
-2
BusinessInfoController.java
...m/dsk/web/controller/business/BusinessInfoController.java
+1
-2
SysUser.java
.../main/java/com/dsk/common/core/domain/entity/SysUser.java
+12
-0
UrbanInvestmentPlatformSubjectLevelDto.java
...k/common/dtos/UrbanInvestmentPlatformSubjectLevelDto.java
+43
-0
index.vue
...operate-ui/src/views/custom/historicalCustomers/index.vue
+1
-1
skeleton.vue
...perate-ui/src/views/detail/party-a/component/skeleton.vue
+29
-0
businessAnomaly.vue
.../views/detail/party-a/riskInformation/businessAnomaly.vue
+7
-5
courtNotice.vue
.../src/views/detail/party-a/riskInformation/courtNotice.vue
+7
-5
dishonesty.vue
...i/src/views/detail/party-a/riskInformation/dishonesty.vue
+7
-5
ifThePerson.vue
.../src/views/detail/party-a/riskInformation/ifThePerson.vue
+7
-5
judgment.vue
...-ui/src/views/detail/party-a/riskInformation/judgment.vue
+7
-5
openacourtsessionNotice.vue
...etail/party-a/riskInformation/openacourtsessionNotice.vue
+7
-5
punish.vue
...te-ui/src/views/detail/party-a/riskInformation/punish.vue
+7
-5
landAcquisition.vue
.../views/detail/party-a/urbanLnvestment/landAcquisition.vue
+7
-4
regionalEconomies.vue
...iews/detail/party-a/urbanLnvestment/regionalEconomies.vue
+8
-5
sameRegion.vue
...i/src/views/detail/party-a/urbanLnvestment/sameRegion.vue
+7
-4
comparison.vue
...ate-ui/src/views/macro/economies/component/comparison.vue
+5
-1
industrialStructure.vue
...c/views/macro/economies/component/industrialStructure.vue
+67
-12
localEconomy.vue
...e-ui/src/views/macro/economies/component/localEconomy.vue
+10
-3
regionalEconomy.vue
...i/src/views/macro/economies/component/regionalEconomy.vue
+111
-91
jzqyfx.vue
...ui/src/views/macro/nationalEconomies/component/jzqyfx.vue
+848
-0
sjxmfx.vue
...ui/src/views/macro/nationalEconomies/component/sjxmfx.vue
+0
-0
index.vue
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
+9
-6
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+5
-5
gzdb.vue
...erate-ui/src/views/project/projectList/component/gzdb.vue
+0
-2
index.vue
dsk-operate-ui/src/views/project/projectList/index.vue
+5
-5
BusinessBacklog.java
.../java/com/dsk/system/domain/business/BusinessBacklog.java
+5
-1
BusinessBacklogListDto.java
...sk/system/domain/business/dto/BusinessBacklogListDto.java
+31
-0
BusinessListDto.java
...a/com/dsk/system/domain/business/dto/BusinessListDto.java
+6
-6
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+12
-1
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
BusinessInfoServiceImpl.java
.../com/dsk/system/service/impl/BusinessInfoServiceImpl.java
+6
-15
CustomerServiceImpl.java
...java/com/dsk/system/service/impl/CustomerServiceImpl.java
+1
-0
UrbanInvestmentPlatformServiceImpl.java
...stem/service/impl/UrbanInvestmentPlatformServiceImpl.java
+25
-8
BusinessBacklogMapper.xml
.../main/resources/mapper/business/BusinessBacklogMapper.xml
+5
-6
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+9
-64
SysUserMapper.xml
...system/src/main/resources/mapper/system/SysUserMapper.xml
+9
-2
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessBacklogController.java
View file @
563d64b9
...
@@ -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-admin/src/main/java/com/dsk/web/controller/business/BusinessInfoController.java
View file @
563d64b9
...
@@ -52,8 +52,7 @@ public class BusinessInfoController extends BaseController
...
@@ -52,8 +52,7 @@ public class BusinessInfoController extends BaseController
public
TableDataInfo
list
(
BusinessListDto
dto
)
public
TableDataInfo
list
(
BusinessListDto
dto
)
{
{
startPage
();
startPage
();
List
<
BusinessListVo
>
list
=
businessInfoService
.
selectBusinessInfoList
(
dto
);
return
getDataTable
(
businessInfoService
.
selectBusinessInfoList
(
dto
));
return
getDataTable
(
list
);
}
}
/**
/**
...
...
dsk-common/src/main/java/com/dsk/common/core/domain/entity/SysUser.java
View file @
563d64b9
...
@@ -69,6 +69,9 @@ public class SysUser extends BaseEntity
...
@@ -69,6 +69,9 @@ public class SysUser extends BaseEntity
@Excel
(
name
=
"最后登录时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd HH:mm:ss"
,
type
=
Excel
.
Type
.
EXPORT
)
@Excel
(
name
=
"最后登录时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd HH:mm:ss"
,
type
=
Excel
.
Type
.
EXPORT
)
private
Date
loginDate
;
private
Date
loginDate
;
//是否体验用户 0否 1是
private
Integer
isExperience
;
/** 部门对象 */
/** 部门对象 */
@Excels
({
@Excels
({
@Excel
(
name
=
"部门名称"
,
targetAttr
=
"deptName"
,
type
=
Excel
.
Type
.
EXPORT
),
@Excel
(
name
=
"部门名称"
,
targetAttr
=
"deptName"
,
type
=
Excel
.
Type
.
EXPORT
),
...
@@ -296,6 +299,14 @@ public class SysUser extends BaseEntity
...
@@ -296,6 +299,14 @@ public class SysUser extends BaseEntity
this
.
roleId
=
roleId
;
this
.
roleId
=
roleId
;
}
}
public
Integer
getIsExperience
()
{
return
isExperience
;
}
public
void
setIsExperience
(
Integer
isExperience
)
{
this
.
isExperience
=
isExperience
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
@@ -312,6 +323,7 @@ public class SysUser extends BaseEntity
...
@@ -312,6 +323,7 @@ public class SysUser extends BaseEntity
.
append
(
"delFlag"
,
getDelFlag
())
.
append
(
"delFlag"
,
getDelFlag
())
.
append
(
"loginIp"
,
getLoginIp
())
.
append
(
"loginIp"
,
getLoginIp
())
.
append
(
"loginDate"
,
getLoginDate
())
.
append
(
"loginDate"
,
getLoginDate
())
.
append
(
"isExperience"
,
getIsExperience
())
.
append
(
"createBy"
,
getCreateBy
())
.
append
(
"createBy"
,
getCreateBy
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateBy"
,
getUpdateBy
())
...
...
dsk-common/src/main/java/com/dsk/common/dtos/UrbanInvestmentPlatformSubjectLevelDto.java
0 → 100644
View file @
563d64b9
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/historicalCustomers/index.vue
View file @
563d64b9
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,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=
"toRL(scope.row)"
><img
class=
"i"
src=
"@/assets/images/project/khrl1.png"
><img
class=
"o"
src=
"@/assets/images/project/khrl2.png"
></div>
<div
@
click=
"toRL(scope.row)"
><img
class=
"i"
src=
"@/assets/images/project/khrl1.png"
><img
class=
"o"
src=
"@/assets/images/project/khrl2.png"
></div>
...
...
dsk-operate-ui/src/views/detail/party-a/component/skeleton.vue
0 → 100644
View file @
563d64b9
<
template
>
<el-skeleton
animated
>
<template
slot=
"template"
>
<el-skeleton-item
variant=
"text"
style=
"width: 60%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 60%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
</
template
>
</el-skeleton>
</template>
<
script
>
export
default
{
name
:
'skeleton'
}
</
script
>
<
style
lang=
"scss"
scoped
>
.el-skeleton__item
{
height
:
20px
;
border-radius
:
0
;
margin
:
9px
0
;
background
:
#f0f0f0
;
}
</
style
>
dsk-operate-ui/src/views/detail/party-a/riskInformation/businessAnomaly.vue
View file @
563d64b9
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
:tableLoading=
"tableLoading
"
v-if=
"!isSkeleton
"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:tableDataTotal=
"tableDataTotal"
...
@@ -27,11 +27,12 @@ import {
...
@@ -27,11 +27,12 @@ import {
abnormalYears
abnormalYears
}
from
'@/api/detail/party-a/riskInformation'
}
from
'@/api/detail/party-a/riskInformation'
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'BusinessAnomaly'
,
name
:
'BusinessAnomaly'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -56,6 +57,7 @@ export default {
...
@@ -56,6 +57,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -68,11 +70,11 @@ export default {
...
@@ -68,11 +70,11 @@ export default {
methods
:
{
methods
:
{
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
abnormalPage
(
data
).
then
(
res
=>
{
abnormalPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
},
},
years
(){
years
(){
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/courtNotice.vue
View file @
563d64b9
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
:tableLoading=
"tableLoading
"
v-if=
"!isSkeleton
"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:tableDataTotal=
"tableDataTotal"
...
@@ -29,11 +29,12 @@ import {
...
@@ -29,11 +29,12 @@ import {
noticesCaseReason
noticesCaseReason
}
from
'@/api/detail/party-a/riskInformation'
}
from
'@/api/detail/party-a/riskInformation'
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'CourtNotice'
,
name
:
'CourtNotice'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -60,6 +61,7 @@ export default {
...
@@ -60,6 +61,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -74,11 +76,11 @@ export default {
...
@@ -74,11 +76,11 @@ export default {
methods
:
{
methods
:
{
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
noticesPage
(
data
).
then
(
res
=>
{
noticesPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
},
},
// 公告
// 公告
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/dishonesty.vue
View file @
563d64b9
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
:isExcel=
"false"
:isExcel=
"false"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
v-if=
"!isSkeleton"
:index-fixed=
"true"
:index-fixed=
"true"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:tableDataTotal=
"tableDataTotal"
...
@@ -27,11 +27,12 @@ import {
...
@@ -27,11 +27,12 @@ import {
executedPage
executedPage
}
from
'@/api/detail/party-a/riskInformation'
}
from
'@/api/detail/party-a/riskInformation'
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'Dishonesty'
,
name
:
'Dishonesty'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -56,6 +57,7 @@ export default {
...
@@ -56,6 +57,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -67,11 +69,11 @@ export default {
...
@@ -67,11 +69,11 @@ export default {
methods
:
{
methods
:
{
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
executedPage
(
data
).
then
(
res
=>
{
executedPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
}
}
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/ifThePerson.vue
View file @
563d64b9
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
:isExcel=
"false"
:isExcel=
"false"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
:tableLoading=
"tableLoading
"
v-if=
"!isSkeleton
"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:tableDataTotal=
"tableDataTotal"
...
@@ -26,11 +26,12 @@ import {
...
@@ -26,11 +26,12 @@ import {
executedPersonsPage
executedPersonsPage
}
from
'@/api/detail/party-a/riskInformation'
}
from
'@/api/detail/party-a/riskInformation'
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'IfThePerson'
,
name
:
'IfThePerson'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -53,6 +54,7 @@ export default {
...
@@ -53,6 +54,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -64,11 +66,11 @@ export default {
...
@@ -64,11 +66,11 @@ export default {
methods
:
{
methods
:
{
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
executedPersonsPage
(
data
).
then
(
res
=>
{
executedPersonsPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
}
}
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/judgment.vue
View file @
563d64b9
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
:isExcel=
"false"
:isExcel=
"false"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
:tableLoading=
"tableLoading
"
v-if=
"!isSkeleton
"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:tableDataTotal=
"tableDataTotal"
...
@@ -35,11 +35,12 @@ import {
...
@@ -35,11 +35,12 @@ import {
lawsuitsRole
lawsuitsRole
}
from
'@/api/detail/party-a/riskInformation'
}
from
'@/api/detail/party-a/riskInformation'
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'Judgment'
,
name
:
'Judgment'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -68,6 +69,7 @@ export default {
...
@@ -68,6 +69,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -81,14 +83,14 @@ export default {
...
@@ -81,14 +83,14 @@ export default {
methods
:
{
methods
:
{
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
lawsuitsPage
(
data
).
then
(
res
=>
{
lawsuitsPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
for
(
var
i
=
0
;
i
<
this
.
tableData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
this
.
tableData
.
length
;
i
++
){
this
.
tableData
[
i
].
relatedCompanies
=
JSON
.
parse
(
this
.
tableData
[
i
].
relatedCompanies
)
this
.
tableData
[
i
].
relatedCompanies
=
JSON
.
parse
(
this
.
tableData
[
i
].
relatedCompanies
)
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
},
},
lawsuitsCauseActions
(){
lawsuitsCauseActions
(){
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/openacourtsessionNotice.vue
View file @
563d64b9
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
:isExcel=
"false"
:isExcel=
"false"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
:index-fixed=
"true"
:index-fixed=
"true"
:tableLoading=
"tableLoading
"
v-if=
"!isSkeleton
"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:tableDataTotal=
"tableDataTotal"
...
@@ -35,11 +35,12 @@ import {
...
@@ -35,11 +35,12 @@ import {
kaitingPureRole
kaitingPureRole
}
from
'@/api/detail/party-a/riskInformation'
}
from
'@/api/detail/party-a/riskInformation'
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'OpenacourtsessionNotice'
,
name
:
'OpenacourtsessionNotice'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -71,6 +72,7 @@ export default {
...
@@ -71,6 +72,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -88,14 +90,14 @@ export default {
...
@@ -88,14 +90,14 @@ export default {
},
},
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
kaitingPage
(
data
).
then
(
res
=>
{
kaitingPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
for
(
var
i
=
0
;
i
<
this
.
tableData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
this
.
tableData
.
length
;
i
++
){
this
.
tableData
[
i
].
relatedCompanies
=
JSON
.
parse
(
this
.
tableData
[
i
].
relatedCompanies
)
this
.
tableData
[
i
].
relatedCompanies
=
JSON
.
parse
(
this
.
tableData
[
i
].
relatedCompanies
)
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
},
},
kaitingCauseActions
(){
kaitingCauseActions
(){
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/punish.vue
View file @
563d64b9
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
v-if=
"!isSkeleton"
:indexFixed=
"true"
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:tableDataTotal=
"tableDataTotal"
...
@@ -35,11 +35,12 @@ import {
...
@@ -35,11 +35,12 @@ import {
penalizePage
,
penalizePage
,
penalizeReasonType
penalizeReasonType
}
from
'@/api/detail/party-a/riskInformation'
}
from
'@/api/detail/party-a/riskInformation'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'Punish'
,
name
:
'Punish'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -66,6 +67,7 @@ export default {
...
@@ -66,6 +67,7 @@ export default {
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
showList
:[],
showList
:[],
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -78,11 +80,11 @@ export default {
...
@@ -78,11 +80,11 @@ export default {
methods
:
{
methods
:
{
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
penalizePage
(
data
).
then
((
res
)
=>
{
penalizePage
(
data
).
then
((
res
)
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
},
},
penalizeReasonTypeData
(){
penalizeReasonTypeData
(){
...
...
dsk-operate-ui/src/views/detail/party-a/urbanLnvestment/landAcquisition.vue
View file @
563d64b9
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
:isExcel=
"true"
:isExcel=
"true"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
/>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
v-if=
"!isSkeleton"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
...
@@ -32,11 +33,12 @@ import {
...
@@ -32,11 +33,12 @@ import {
landUse
landUse
}
from
'@/api/detail/party-a/urbanLnvestment'
}
from
'@/api/detail/party-a/urbanLnvestment'
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
export
default
{
export
default
{
name
:
'landAcquisition'
,
name
:
'landAcquisition'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
],
props
:
[
'companyId'
],
data
()
{
data
()
{
...
@@ -66,6 +68,7 @@ export default {
...
@@ -66,6 +68,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -78,11 +81,11 @@ export default {
...
@@ -78,11 +81,11 @@ export default {
methods
:
{
methods
:
{
handleQuery
(
params
)
{
handleQuery
(
params
)
{
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
landTransactionPage
(
data
).
then
(
res
=>
{
landTransactionPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
},
},
//土地用途
//土地用途
...
...
dsk-operate-ui/src/views/detail/party-a/urbanLnvestment/regionalEconomies.vue
View file @
563d64b9
...
@@ -6,7 +6,8 @@
...
@@ -6,7 +6,8 @@
</div>
</div>
<div
class=
"params-dw"
><img
src=
"@/assets/images/addree.png"
/>
{{
addressList
}}
</div>
<div
class=
"params-dw"
><img
src=
"@/assets/images/addree.png"
/>
{{
addressList
}}
</div>
</div>
</div>
<div
class=
"table-item"
>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"table-item"
v-if=
"!isSkeleton"
>
<el-table
<el-table
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
:data=
"getValues"
:data=
"getValues"
...
@@ -29,13 +30,14 @@
...
@@ -29,13 +30,14 @@
<
script
>
<
script
>
import
dataRegion
from
'@/assets/json/dataRegion'
import
dataRegion
from
'@/assets/json/dataRegion'
import
skeleton
from
'../component/skeleton'
import
{
import
{
regionalEconomy
regionalEconomy
}
from
'@/api/detail/party-a/urbanLnvestment'
}
from
'@/api/detail/party-a/urbanLnvestment'
export
default
{
export
default
{
name
:
'regionalEconomies'
,
name
:
'regionalEconomies'
,
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
,
'companyInfo'
],
props
:
[
'companyId'
,
'companyInfo'
],
data
()
{
data
()
{
...
@@ -209,7 +211,8 @@ export default {
...
@@ -209,7 +211,8 @@ export default {
label
:
'债务率-宽口径(%)'
,
label
:
'债务率-宽口径(%)'
,
},
},
],
],
tableLoading
:
true
tableLoading
:
true
,
isSkeleton
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -228,11 +231,11 @@ export default {
...
@@ -228,11 +231,11 @@ export default {
methods
:
{
methods
:
{
//地区
//地区
regionalEconomys
()
{
regionalEconomys
()
{
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
if
(
this
.
companyInfo
){
if
(
this
.
companyInfo
){
regionalEconomy
(
this
.
params
).
then
(
res
=>
{
regionalEconomy
(
this
.
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
this
.
tableData
=
res
.
data
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
this
.
dataRegion
(
this
.
companyInfo
.
provinceId
,
this
.
companyInfo
.
cityId
)
this
.
dataRegion
(
this
.
companyInfo
.
provinceId
,
this
.
companyInfo
.
cityId
)
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/urbanLnvestment/sameRegion.vue
View file @
563d64b9
...
@@ -87,8 +87,9 @@
...
@@ -87,8 +87,9 @@
</div>
</div>
</template>
</template>
</head-form>
</head-form>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<tables
<tables
v-if=
"!isSkeleton"
:tableLoading=
"tableLoading"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:tableData=
"tableData"
:forData=
"forData"
:forData=
"forData"
...
@@ -118,6 +119,7 @@
...
@@ -118,6 +119,7 @@
<
script
>
<
script
>
import
mixin
from
'../mixins/mixin'
import
mixin
from
'../mixins/mixin'
import
skeleton
from
'../component/skeleton'
import
dataRegion
from
'@/assets/json/dataRegion'
import
dataRegion
from
'@/assets/json/dataRegion'
import
{
import
{
urbanInvestmentPage
,
urbanInvestmentPage
,
...
@@ -127,7 +129,7 @@ export default {
...
@@ -127,7 +129,7 @@ export default {
name
:
'SameRegion'
,
name
:
'SameRegion'
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
components
:
{
components
:
{
skeleton
},
},
props
:
[
'companyId'
,
'companyInfo'
],
props
:
[
'companyId'
,
'companyInfo'
],
data
()
{
data
()
{
...
@@ -200,6 +202,7 @@ export default {
...
@@ -200,6 +202,7 @@ export default {
tableLoading
:
false
,
tableLoading
:
false
,
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
}
}
},
},
watch
:{
watch
:{
...
@@ -338,12 +341,12 @@ export default {
...
@@ -338,12 +341,12 @@ export default {
},
},
handleQuery
(
params
){
handleQuery
(
params
){
this
.
tableLoading
=
true
this
.
isSkeleton
=
true
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
urbanInvestmentPage
(
data
).
then
(
res
=>
{
urbanInvestmentPage
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
this
.
tableDataTotal
=
res
.
data
.
totalCount
this
.
tableDataTotal
=
res
.
data
.
totalCount
this
.
tableLoading
=
false
this
.
isSkeleton
=
false
})
})
},
},
//排序
//排序
...
...
dsk-operate-ui/src/views/macro/economies/component/comparison.vue
View file @
563d64b9
...
@@ -108,6 +108,9 @@
...
@@ -108,6 +108,9 @@
export
default
{
export
default
{
name
:
'comparison'
,
name
:
'comparison'
,
props
:[
'dataQuery'
,
'provinceId'
],
props
:[
'dataQuery'
,
'provinceId'
],
components
:
{
},
data
()
{
data
()
{
return
{
return
{
queryParams
:
{
queryParams
:
{
...
@@ -292,7 +295,8 @@ export default {
...
@@ -292,7 +295,8 @@ export default {
regionData
:[],
regionData
:[],
compareList
:[{},{},{},{},{}],
compareList
:[{},{},{},{},{}],
fixed
:
false
,
fixed
:
false
,
StyWidth
:
null
StyWidth
:
null
,
isSkeleton
:
true
}
}
},
},
watch
:
{
watch
:
{
...
...
dsk-operate-ui/src/views/macro/economies/component/industrialStructure.vue
View file @
563d64b9
<
template
>
<
template
>
<div
class=
"regionalEconomy"
>
<div
class=
"regionalEconomy"
>
<div
class=
"flex-box query-box"
>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
v-if=
"!isSkeleton"
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
主要指标
</span>
<span
class=
"common-title"
>
主要指标
</span>
<el-form
ref=
"queryForm"
:model=
"queryParams"
:inline=
"true"
size=
"small"
>
<el-form
ref=
"queryForm"
:model=
"queryParams"
:inline=
"true"
size=
"small"
>
...
@@ -15,7 +16,7 @@
...
@@ -15,7 +16,7 @@
<span
class=
"flex-box"
@
click=
"handleMessage"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
<span
class=
"flex-box"
@
click=
"handleMessage"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
</div>
</div>
</div>
</div>
<div
class=
"content"
>
<div
v-if=
"!isSkeleton"
class=
"content"
>
<div
class=
"content-left"
>
<div
class=
"content-left"
>
<div
id=
"echarts"
style=
"height: 400px"
></div>
<div
id=
"echarts"
style=
"height: 400px"
></div>
<p
class=
"tips"
>
注:数据均来源于统计公报、统计年鉴,实际披露中由于部分地区最新年度数据不全,导致年份间数据差距较大
</p>
<p
class=
"tips"
>
注:数据均来源于统计公报、统计年鉴,实际披露中由于部分地区最新年度数据不全,导致年份间数据差距较大
</p>
...
@@ -29,18 +30,19 @@
...
@@ -29,18 +30,19 @@
highlight-current-row
highlight-current-row
:summary-method=
"getSummaries"
:summary-method=
"getSummaries"
show-summary
show-summary
@
sort-change=
"sortChange"
>
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
2
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
2
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"产业类型"
prop=
"projectType"
></el-table-column>
<el-table-column
label=
"产业类型"
prop=
"projectType"
></el-table-column>
<el-table-column
:label=
"oneYear"
>
<el-table-column
:label=
"oneYear"
>
<el-table-column
prop=
"money"
label=
"金额(亿元)"
sortable
></el-table-column>
<el-table-column
prop=
"money"
label=
"金额(亿元)"
sortable
=
"custom"
:formatter=
"formatStatus"
></el-table-column>
<el-table-column
prop=
"rate"
label=
"占比(%)"
>
</el-table-column>
<el-table-column
prop=
"rate"
label=
"占比(%)"
sortable
>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"twoYear"
>
<el-table-column
:label=
"twoYear"
>
<el-table-column
prop=
"lastMoney"
label=
"金额(亿元)"
sortable
>
</el-table-column>
<el-table-column
prop=
"lastMoney"
label=
"金额(亿元)"
sortable
=
"custom"
:formatter=
"formatStatus"
>
</el-table-column>
<el-table-column
prop=
"lastRate"
label=
"占比(%)"
>
</el-table-column>
<el-table-column
prop=
"lastRate"
label=
"占比(%)"
sortable
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
...
@@ -57,9 +59,13 @@
...
@@ -57,9 +59,13 @@
<
script
>
<
script
>
import
*
as
echarts
from
'echarts'
;
import
*
as
echarts
from
'echarts'
;
import
{
bidGroupCountByProjectType
,
bidMoneyGroupByProjectType
,
getYears
}
from
'@/api/macro/macro'
import
{
bidGroupCountByProjectType
,
bidMoneyGroupByProjectType
,
getYears
}
from
'@/api/macro/macro'
import
skeleton
from
'../../component/skeleton'
export
default
{
export
default
{
name
:
'industrialStructure'
,
name
:
'industrialStructure'
,
props
:[
'dataQuery'
,
'provinceId'
],
props
:[
'dataQuery'
,
'provinceId'
],
components
:
{
skeleton
},
data
()
{
data
()
{
return
{
return
{
queryParams
:
{
queryParams
:
{
...
@@ -68,11 +74,13 @@ export default {
...
@@ -68,11 +74,13 @@ export default {
},
},
yearOptions
:
[],
yearOptions
:
[],
tableData
:[],
tableData
:[],
tabData
:[],
tableLoading
:
false
,
tableLoading
:
false
,
data
:[],
data
:[],
oneYear
:
''
,
oneYear
:
''
,
twoYear
:
''
,
twoYear
:
''
,
state
:
false
state
:
false
,
isSkeleton
:
true
}
}
},
},
watch
:
{
watch
:
{
...
@@ -86,11 +94,11 @@ export default {
...
@@ -86,11 +94,11 @@ export default {
this
.
yearOptions
=
res
.
data
.
reverse
();
this
.
yearOptions
=
res
.
data
.
reverse
();
this
.
queryParams
.
year
=
this
.
yearOptions
[
0
].
year
;
this
.
queryParams
.
year
=
this
.
yearOptions
[
0
].
year
;
})
})
this
.
getData
()
this
.
getGroupCount
()
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
getData
()
this
.
getGroupCount
()
})
})
},
},
methods
:
{
methods
:
{
...
@@ -112,6 +120,7 @@ export default {
...
@@ -112,6 +120,7 @@ export default {
if
(
this
.
provinceId
.
length
>=
2
){
if
(
this
.
provinceId
.
length
>=
2
){
params
.
county
=
this
.
provinceId
[
2
]
params
.
county
=
this
.
provinceId
[
2
]
}
}
bidMoneyGroupByProjectType
(
params
).
then
(
res
=>
{
bidMoneyGroupByProjectType
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
length
>
0
){
if
(
res
.
data
.
length
>
0
){
let
list
=
[]
let
list
=
[]
...
@@ -133,16 +142,18 @@ export default {
...
@@ -133,16 +142,18 @@ export default {
}
}
}
}
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
){
list
[
i
].
money
=
list
[
i
].
money
?
Number
(
list
[
i
].
money
).
toFixed
(
2
)
:
'-'
;
//
list[i].money=list[i].money ? Number(list[i].money).toFixed(2) : '-';
list
[
i
].
rate
=
list
[
i
].
rate
?
Number
(
list
[
i
].
rate
).
toFixed
(
2
)
:
'-'
;
list
[
i
].
rate
=
list
[
i
].
rate
?
Number
(
list
[
i
].
rate
).
toFixed
(
2
)
:
'-'
;
list
[
i
].
lastMoney
=
list
[
i
].
lastMoney
?
Number
(
list
[
i
].
lastMoney
).
toFixed
(
2
)
:
'-'
;
//
list[i].lastMoney=list[i].lastMoney ? Number(list[i].lastMoney).toFixed(2) : '-';
list
[
i
].
lastRate
=
list
[
i
].
lastRate
?
Number
(
list
[
i
].
lastRate
).
toFixed
(
2
)
:
'-'
;
list
[
i
].
lastRate
=
list
[
i
].
lastRate
?
Number
(
list
[
i
].
lastRate
).
toFixed
(
2
)
:
'-'
;
}
}
this
.
tableData
=
list
.
reverse
()
this
.
tableData
=
list
.
reverse
()
this
.
tabData
=
list
.
reverse
()
}
}
})
})
},
},
getGroupCount
(){
getGroupCount
(){
this
.
isSkeleton
=
true
let
mydate
=
new
Date
();
let
mydate
=
new
Date
();
let
startTime
=
''
let
startTime
=
''
let
endTime
=
''
let
endTime
=
''
...
@@ -164,6 +175,7 @@ export default {
...
@@ -164,6 +175,7 @@ export default {
params
.
county
=
this
.
provinceId
[
2
]
params
.
county
=
this
.
provinceId
[
2
]
}
}
bidGroupCountByProjectType
(
params
).
then
(
res
=>
{
bidGroupCountByProjectType
(
params
).
then
(
res
=>
{
this
.
isSkeleton
=
false
if
(
res
.
code
===
200
){
if
(
res
.
code
===
200
){
let
list
=
[]
let
list
=
[]
for
(
let
i
=
0
;
i
<
res
.
data
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
res
.
data
.
length
;
i
++
){
...
@@ -174,7 +186,9 @@ export default {
...
@@ -174,7 +186,9 @@ export default {
}
}
this
.
data
=
list
;
this
.
data
=
list
;
// if(list.length > 0){
// if(list.length > 0){
this
.
$nextTick
(()
=>
{
this
.
initChart
()
this
.
initChart
()
})
// }
// }
}
}
})
})
...
@@ -270,6 +284,47 @@ export default {
...
@@ -270,6 +284,47 @@ export default {
});
});
return
sums
;
return
sums
;
},
},
sortChange
(
column
)
{
if
(
column
.
order
!==
null
&&
column
.
prop
)
{
let
data1
=
[];
let
data2
=
[];
for
(
let
i
=
0
;
i
<
this
.
tableData
.
length
;
i
++
)
{
this
.
tableData
[
i
].
money
=
this
.
tableData
[
i
].
money
?
Number
(
this
.
tableData
[
i
].
money
)
:
0
this
.
tableData
[
i
].
lastMoney
=
Number
(
this
.
tableData
[
i
].
lastMoney
)
let
temp
=
null
;
temp
=
this
.
tableData
[
i
][
column
.
prop
];
if
(
temp
===
null
||
typeof
temp
==
"undefined"
)
{
data2
.
push
(
this
.
tableData
[
i
]);
}
else
{
data1
.
push
(
this
.
tableData
[
i
]);
}
}
if
(
column
.
order
===
"ascending"
)
{
data1
=
data1
.
sort
(
this
.
compare
(
column
.
prop
,
"ascending"
));
}
else
{
data1
=
data1
.
sort
(
this
.
compare
(
column
.
prop
,
"descending"
));
}
this
.
$nextTick
(()
=>
{
this
.
tableData
=
data1
.
concat
(
data2
);
});
}
if
(
column
.
order
===
null
)
{
this
.
tableData
=
this
.
tabData
;
// tabData存放的是list副本,不排序时恢复到初始状态
}
this
.
$forceUpdate
()
},
compare
(
property
,
type
,
prop
)
{
return
function
(
obj1
,
obj2
)
{
if
(
type
===
"ascending"
)
{
return
obj1
[
property
]
-
obj2
[
property
];
}
else
{
return
obj2
[
property
]
-
obj1
[
property
];
}
};
},
formatStatus
:
function
(
row
,
column
,
cellValue
)
{
return
cellValue
?
Number
(
cellValue
).
toFixed
(
2
)
:
'-'
},
}
}
}
}
...
...
dsk-operate-ui/src/views/macro/economies/component/localEconomy.vue
View file @
563d64b9
<
template
>
<
template
>
<div
class=
"regionalEconomy"
>
<div
class=
"regionalEconomy"
>
<div
class=
"content"
>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
v-if=
"!isSkeleton"
class=
"content"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
经济数据
</span>
<span
class=
"common-title"
>
经济数据
</span>
...
@@ -52,15 +53,18 @@
...
@@ -52,15 +53,18 @@
<el-pagination
background
:current-page=
"pageIndex"
:page-size=
"pageSize"
:total=
"tableDataTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
<el-pagination
background
:current-page=
"pageIndex"
:page-size=
"pageSize"
:total=
"tableDataTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
nationalPage
,
getYears
}
from
'@/api/macro/macro'
import
{
nationalPage
,
getYears
}
from
'@/api/macro/macro'
import
skeleton
from
'../../component/skeleton'
export
default
{
export
default
{
name
:
'localEconomy'
,
name
:
'localEconomy'
,
props
:[
'dataQuery'
,
'provinceId'
],
props
:[
'dataQuery'
,
'provinceId'
],
components
:
{
skeleton
},
data
()
{
data
()
{
return
{
return
{
queryParams
:
{
queryParams
:
{
...
@@ -74,7 +78,8 @@ export default {
...
@@ -74,7 +78,8 @@ export default {
pageSize
:
20
,
pageSize
:
20
,
tableDataTotal
:
0
,
tableDataTotal
:
0
,
show_page
:
true
,
show_page
:
true
,
MaxPage
:
500
MaxPage
:
500
,
isSkeleton
:
true
}
}
},
},
watch
:
{
watch
:
{
...
@@ -95,6 +100,7 @@ export default {
...
@@ -95,6 +100,7 @@ export default {
},
},
methods
:
{
methods
:
{
getData
(){
getData
(){
this
.
isSkeleton
=
true
const
params
=
{
pageNum
:
this
.
pageIndex
,
pageSize
:
this
.
pageSize
,
year
:
this
.
queryParams
.
year
,
type
:
2
}
const
params
=
{
pageNum
:
this
.
pageIndex
,
pageSize
:
this
.
pageSize
,
year
:
this
.
queryParams
.
year
,
type
:
2
}
if
(
this
.
queryParams
.
field
){
if
(
this
.
queryParams
.
field
){
params
.
field
=
this
.
queryParams
.
field
params
.
field
=
this
.
queryParams
.
field
...
@@ -113,6 +119,7 @@ export default {
...
@@ -113,6 +119,7 @@ export default {
}
}
// params.provinceIds=[this.dataQuery.provinceId]
// params.provinceIds=[this.dataQuery.provinceId]
nationalPage
(
params
).
then
(
res
=>
{
nationalPage
(
params
).
then
(
res
=>
{
this
.
isSkeleton
=
false
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
this
.
tableDataTotal
=
res
.
data
.
totalCount
this
.
tableDataTotal
=
res
.
data
.
totalCount
})
})
...
...
dsk-operate-ui/src/views/macro/economies/component/regionalEconomy.vue
View file @
563d64b9
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/macro/nationalEconomies/component/jzqyfx.vue
0 → 100644
View file @
563d64b9
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/macro/nationalEconomies/component/
zhaobiao
.vue
→
dsk-operate-ui/src/views/macro/nationalEconomies/component/
sjxmfx
.vue
View file @
563d64b9
File moved
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
View file @
563d64b9
...
@@ -3,25 +3,28 @@
...
@@ -3,25 +3,28 @@
<div
class=
"header"
>
<div
class=
"header"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"全国经济大全"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"全国经济大全"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"全国
招标市场
分析"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"全国
商机项目
分析"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"全国中标市场分析"
name=
"third"
></el-tab-pane>
<el-tab-pane
label=
"全国中标市场分析"
name=
"third"
></el-tab-pane>
<el-tab-pane
label=
"全国建筑企业分析"
name=
"fourth"
></el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
<Economic
v-if=
"activeName === 'first'"
></Economic>
<Economic
v-if=
"activeName === 'first'"
></Economic>
<ZhaoBiao
v-if=
"activeName === 'second'"
></ZhaoBiao>
<Sjxmfx
v-if=
"activeName === 'second'"
></Sjxmfx>
<ZhongBiao
v-if=
"activeName === 'third'"
></ZhongBiao>
<Zhongbiao
v-if=
"activeName === 'third'"
></Zhongbiao>
<Jzqyfx
v-if=
"activeName === 'fourth'"
></Jzqyfx>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Economic
from
'./component/qgjjdq'
import
Economic
from
'./component/qgjjdq'
import
ZhaoBiao
from
'./component/zhaobiao'
import
Sjxmfx
from
'./component/sjxmfx'
import
ZhongBiao
from
'./component/zhongbiao'
import
Jzqyfx
from
'./component/jzqyfx'
import
Zhongbiao
from
'./component/zhongbiao'
export
default
{
export
default
{
name
:
'NationalEconomies'
,
name
:
'NationalEconomies'
,
components
:
{
components
:
{
Economic
,
ZhaoBiao
,
ZhongB
iao
Economic
,
Sjxmfx
,
Jzqyfx
,
Zhongb
iao
},
},
data
()
{
data
()
{
return
{
return
{
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
563d64b9
...
@@ -99,35 +99,35 @@
...
@@ -99,35 +99,35 @@
<div
class=
"list-box"
>
<div
class=
"list-box"
>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"left"
>
<div
class=
"left"
>
<p>
{{statistics.count}}
<span>
家
</span></p>
<p>
{{statistics.count
? statistics.count:'-'
}}
<span>
家
</span></p>
<span>
平台家数
</span>
<span>
平台家数
</span>
</div>
</div>
<img
src=
"@/assets/images/urban/img1.png"
>
<img
src=
"@/assets/images/urban/img1.png"
>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"left"
>
<div
class=
"left"
>
<p>
{{statistics.creditBalance}}
<span>
亿元
</span></p>
<p>
{{statistics.creditBalance
? statistics.creditBalance:'-'
}}
<span>
亿元
</span></p>
<span>
授信余额
</span>
<span>
授信余额
</span>
</div>
</div>
<img
src=
"@/assets/images/urban/img2.png"
>
<img
src=
"@/assets/images/urban/img2.png"
>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"left"
>
<div
class=
"left"
>
<p>
{{statistics.totalAssets}}
<span>
亿元
</span></p>
<p>
{{statistics.totalAssets
? statistics.totalAssets:'-'
}}
<span>
亿元
</span></p>
<span>
资产总额
</span>
<span>
资产总额
</span>
</div>
</div>
<img
src=
"@/assets/images/urban/img3.png"
>
<img
src=
"@/assets/images/urban/img3.png"
>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"left"
>
<div
class=
"left"
>
<p>
{{statistics.accountsReceivable}}
<span>
亿元
</span></p>
<p>
{{statistics.accountsReceivable
? statistics.accountsReceivable:'-'
}}
<span>
亿元
</span></p>
<span>
应收账款
</span>
<span>
应收账款
</span>
</div>
</div>
<img
src=
"@/assets/images/urban/img4.png"
>
<img
src=
"@/assets/images/urban/img4.png"
>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"left"
>
<div
class=
"left"
>
<p>
{{statistics.nonStandardBalance}}
<span>
亿元
</span></p>
<p>
{{statistics.nonStandardBalance
? statistics.nonStandardBalance:'-'
}}
<span>
亿元
</span></p>
<span>
非标余额
</span>
<span>
非标余额
</span>
</div>
</div>
<img
src=
"@/assets/images/urban/img5.png"
>
<img
src=
"@/assets/images/urban/img5.png"
>
...
...
dsk-operate-ui/src/views/project/projectList/component/gzdb.vue
View file @
563d64b9
...
@@ -128,7 +128,6 @@
...
@@ -128,7 +128,6 @@
}
}
getGZDB
(
params
).
then
(
result
=>
{
getGZDB
(
params
).
then
(
result
=>
{
this
.
datalist
=
result
.
code
==
200
?
result
:[]
this
.
datalist
=
result
.
code
==
200
?
result
:[]
console
.
log
(
this
.
datalist
.
rows
)
if
(
this
.
datalist
){
if
(
this
.
datalist
){
this
.
yqnum
=
`已逾期
${
this
.
datalist
.
rows
.
length
}
条`
;
this
.
yqnum
=
`已逾期
${
this
.
datalist
.
rows
.
length
}
条`
;
}
}
...
@@ -140,7 +139,6 @@
...
@@ -140,7 +139,6 @@
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/index.vue
View file @
563d64b9
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
<div
class=
"datalist"
v-if=
"!isSkeleton"
>
<div
class=
"datalist"
v-if=
"!isSkeleton"
>
<div
class=
"datali"
v-for=
"(item,index) in datalist"
>
<div
class=
"datali"
v-for=
"(item,index) in datalist"
>
<div
class=
"det-title"
@
click=
"toDetail(item.id,'xmsl')"
>
<div
class=
"det-title"
@
click=
"toDetail(item.id,'xmsl')"
>
{{
item
.
projectName
}}
<span
v-if=
"activeName!='first' && item.followTime"
class=
"people"
><i>
{{
item
.
nickName1
}}
</i>
<span
v-html=
"item.projectName"
></span>
<span
v-if=
"activeName!='first' && item.followTime"
class=
"people"
><i>
{{
item
.
nickName1
}}
</i>
<span
v-if=
"item.provinceName != '' && item.provinceName!==null"
>
{{
item
.
provinceName
}}
-
</span>
<span
v-if=
"item.provinceName != '' && item.provinceName!==null"
>
{{
item
.
provinceName
}}
-
</span>
{{
item
.
nickName
}}
<font
color=
"#FA8A00"
>
正在跟进
</font></span></div>
{{
item
.
nickName
}}
<font
color=
"#FA8A00"
>
正在跟进
</font></span></div>
<div
class=
"det-tips"
>
<div
class=
"det-tips"
>
...
@@ -206,7 +206,7 @@ export default {
...
@@ -206,7 +206,7 @@ export default {
minAmount
:
''
,
//投资估算最小值
minAmount
:
''
,
//投资估算最小值
maxAmount
:
''
,
//投资估算最大值
maxAmount
:
''
,
//投资估算最大值
searchParam
:
{
searchParam
:
{
userId
:
null
,
//个人项目需传,公司项目不传
isPrivate
:
1
,
//0 公司 1 个人
projectName
:
''
,
//项目名称
projectName
:
''
,
//项目名称
ownerCompany
:
''
,
//业主单位
ownerCompany
:
''
,
//业主单位
projectType
:
''
,
//项目类型
projectType
:
''
,
//项目类型
...
@@ -299,9 +299,9 @@ export default {
...
@@ -299,9 +299,9 @@ export default {
this
.
isSkeleton
=
true
this
.
isSkeleton
=
true
this
.
searchParam
.
pageNum
=
pageNum
this
.
searchParam
.
pageNum
=
pageNum
if
(
this
.
activeName
==
'first'
){
if
(
this
.
activeName
==
'first'
){
this
.
searchParam
.
userId
=
this
.
$store
.
state
.
user
.
userId
this
.
searchParam
.
isPrivate
=
1
}
else
{
}
else
{
this
.
searchParam
.
userId
=
null
this
.
searchParam
.
isPrivate
=
0
}
}
this
.
searchParam
.
ownerCompany
=
this
.
searchParam
.
projectName
this
.
searchParam
.
ownerCompany
=
this
.
searchParam
.
projectName
getProjectlist
(
this
.
searchParam
).
then
(
result
=>
{
getProjectlist
(
this
.
searchParam
).
then
(
result
=>
{
...
@@ -332,7 +332,7 @@ export default {
...
@@ -332,7 +332,7 @@ export default {
this
.
$refs
.
myCascader
.
$refs
.
panel
.
activePath
=
[]
this
.
$refs
.
myCascader
.
$refs
.
panel
.
activePath
=
[]
})
})
this
.
searchParam
=
{
this
.
searchParam
=
{
userId
:
null
,
isPrivate
:
1
,
projectName
:
''
,
//项目名称
projectName
:
''
,
//项目名称
ownerCompany
:
''
,
//业主单位
ownerCompany
:
''
,
//业主单位
projectType
:
''
,
//项目类型
projectType
:
''
,
//项目类型
...
...
dsk-system/src/main/java/com/dsk/system/domain/business/BusinessBacklog.java
View file @
563d64b9
...
@@ -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 @
563d64b9
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/domain/business/dto/BusinessListDto.java
View file @
563d64b9
...
@@ -11,6 +11,11 @@ import java.util.List;
...
@@ -11,6 +11,11 @@ import java.util.List;
**/
**/
@Data
@Data
public
class
BusinessListDto
{
public
class
BusinessListDto
{
/**
* 是否私人数据 0:否 1:是
*/
private
Integer
isPrivate
;
/**
/**
* 项目名称
* 项目名称
*/
*/
...
@@ -19,12 +24,7 @@ public class BusinessListDto {
...
@@ -19,12 +24,7 @@ public class BusinessListDto {
/**
/**
* 用户id
* 用户id
*/
*/
private
Integer
userId
;
private
Long
userId
;
/**
* 用户查看全部他人可见项目标示
*/
private
Long
others
;
/**
/**
* 省id
* 省id
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
563d64b9
...
@@ -245,7 +245,14 @@ public class EnterpriseService {
...
@@ -245,7 +245,14 @@ public class EnterpriseService {
ArrayList
<
String
>
companyNames
=
new
ArrayList
<>();
ArrayList
<
String
>
companyNames
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
for
(
Object
dataMap
:
list
)
{
for
(
Object
dataMap
:
list
)
{
companyNames
.
add
(
MapUtils
.
getString
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyName"
));
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"
));
}
}
...
@@ -269,6 +276,10 @@ public class EnterpriseService {
...
@@ -269,6 +276,10 @@ public class EnterpriseService {
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"
,
""
);
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"
)));
...
...
dsk-system/src/main/java/com/dsk/system/mapper/BusinessBacklogMapper.java
View file @
563d64b9
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 @
563d64b9
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 @
563d64b9
...
@@ -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/BusinessInfoServiceImpl.java
View file @
563d64b9
...
@@ -9,10 +9,7 @@ import com.dsk.acc.openapi.client.util.CommonUtils;
...
@@ -9,10 +9,7 @@ import com.dsk.acc.openapi.client.util.CommonUtils;
import
com.dsk.common.config.RuoYiConfig
;
import
com.dsk.common.config.RuoYiConfig
;
import
com.dsk.common.constant.HttpStatus
;
import
com.dsk.common.constant.HttpStatus
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.entity.BusinessInfo
;
import
com.dsk.common.core.domain.entity.*
;
import
com.dsk.common.core.domain.entity.BusinessLabel
;
import
com.dsk.common.core.domain.entity.BusinessRelateCompany
;
import
com.dsk.common.core.domain.entity.BusinessUser
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.exception.base.BaseException
;
import
com.dsk.common.exception.base.BaseException
;
import
com.dsk.common.utils.*
;
import
com.dsk.common.utils.*
;
...
@@ -95,18 +92,12 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -95,18 +92,12 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
*/
*/
@Override
@Override
public
List
<
BusinessListVo
>
selectBusinessInfoList
(
BusinessListDto
dto
)
{
public
List
<
BusinessListVo
>
selectBusinessInfoList
(
BusinessListDto
dto
)
{
List
<
BusinessListVo
>
othersList
=
new
ArrayList
<>();
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
//userId不传值,就查询全部他人可见项目+自己的
dto
.
setUserId
(
user
.
getUserId
());
if
(
dto
.
getUserId
()
==
null
)
{
if
(
user
.
getIsExperience
()
==
1
){
dto
.
setOthers
(
SecurityUtils
.
getUserId
());
dto
.
setIsPrivate
(
1
);
//查询他人可见项目
}
othersList
=
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
return
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
}
dto
.
setOthers
(
null
);
//查询自己参与的项目
List
<
BusinessListVo
>
businessList
=
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
businessList
.
addAll
(
othersList
);
return
businessList
;
}
}
@Override
@Override
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/CustomerServiceImpl.java
View file @
563d64b9
...
@@ -7,6 +7,7 @@ import cn.hutool.core.util.ObjectUtil;
...
@@ -7,6 +7,7 @@ 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.annotation.DataScope
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.entity.SysUser
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.utils.SecurityUtils
;
import
com.dsk.common.utils.SecurityUtils
;
import
com.dsk.common.utils.StringUtils
;
import
com.dsk.common.utils.StringUtils
;
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/UrbanInvestmentPlatformServiceImpl.java
View file @
563d64b9
...
@@ -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
...
@@ -52,7 +50,14 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
...
@@ -52,7 +50,14 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
ArrayList
<
String
>
companyNames
=
new
ArrayList
<>();
ArrayList
<
String
>
companyNames
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
ArrayList
<
Long
>
cIds
=
new
ArrayList
<>();
for
(
Object
dataMap
:
list
)
{
for
(
Object
dataMap
:
list
)
{
companyNames
.
add
(
MapUtils
.
getString
(
CommonUtils
.
assertAsMap
(
dataMap
),
"companyName"
));
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
<
CustomerStatusListVo
>
customerStatusListVos
=
iCustomerService
.
selectStatusListByCompanyName
(
companyNames
);
List
<
CustomerStatusListVo
>
customerStatusListVos
=
iCustomerService
.
selectStatusListByCompanyName
(
companyNames
);
...
@@ -76,6 +81,10 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
...
@@ -76,6 +81,10 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
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"
,
""
);
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
)
{
...
@@ -83,11 +92,19 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
...
@@ -83,11 +92,19 @@ public class UrbanInvestmentPlatformServiceImpl implements UrbanInvestmentPlatfo
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
());
}
}
}
}
}
}
...
...
dsk-system/src/main/resources/mapper/business/BusinessBacklogMapper.xml
View file @
563d64b9
...
@@ -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>
...
...
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
563d64b9
...
@@ -105,9 +105,12 @@
...
@@ -105,9 +105,12 @@
LEFT JOIN business_label l on l.business_id = i.id
LEFT JOIN business_label l on l.business_id = i.id
LEFT JOIN sys_user u on u.user_id = bu.user_id
LEFT JOIN sys_user u on u.user_id = bu.user_id
<where>
<where>
<if
test=
"
userId != null
"
>
<if
test=
"
isPrivate == 1
"
>
and bu.user_id = #{userId}
and bu.user_id = #{userId}
</if>
</if>
<if
test=
"isPrivate == 0 "
>
and (bu.user_id = #{userId} or i.is_private = 1)
</if>
<if
test=
"projectType != null and projectType != ''"
>
<if
test=
"projectType != null and projectType != ''"
>
and i.project_type in
and i.project_type in
<foreach
collection=
"projectType"
item=
"projectType"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"projectType"
item=
"projectType"
open=
"("
separator=
","
close=
")"
>
...
@@ -123,85 +126,27 @@
...
@@ -123,85 +126,27 @@
</foreach>
</foreach>
</if>
</if>
<if
test=
"projectName != null and projectName != ''"
>
<if
test=
"projectName != null and projectName != ''"
>
and i.project_name like concat('%',#{projectName},'%')
and ( i.project_name like concat('%',#{projectName},'%')
</if>
or i.construction_unit like concat('%',#{projectName},'%') )
<if
test=
"ownerCompany != null and ownerCompany != ''"
>
or i.construction_unit like concat('%',#{ownerCompany},'%')
</if>
<if
test=
"others != null"
>
and bu.user_id != #{others} and i.is_private = 1
</if>
</if>
<if
test=
"provinceId != null and provinceId.size > 0 "
>
<if
test=
"provinceId != null and provinceId.size > 0 and cityId == null and districtId == null"
>
and i.province_id in
and i.province_id in
<foreach
collection=
"provinceId"
item=
"provinceId"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"provinceId"
item=
"provinceId"
open=
"("
separator=
","
close=
")"
>
#{provinceId}
#{provinceId}
</foreach>
</foreach>
</if>
</if>
<if
test=
"cityId != null and cityId.size > 0
and provinceId == null and districtId == null
"
>
<if
test=
"cityId != null and cityId.size > 0 "
>
and i.city_id in
and i.city_id in
<foreach
collection=
"cityId"
item=
"cityId"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"cityId"
item=
"cityId"
open=
"("
separator=
","
close=
")"
>
#{cityId}
#{cityId}
</foreach>
</foreach>
</if>
</if>
<if
test=
"districtId != null and districtId.size > 0
and provinceId == null and cityId == null
"
>
<if
test=
"districtId != null and districtId.size > 0"
>
and i.district_id in
and i.district_id in
<foreach
collection=
"districtId"
item=
"districtId"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"districtId"
item=
"districtId"
open=
"("
separator=
","
close=
")"
>
#{districtId}
#{districtId}
</foreach>
</foreach>
</if>
</if>
<if
test=
"provinceId != null and provinceId.size > 0 and cityId != null and cityId.size > 0 and districtId == null"
>
and (
i.province_id in
<foreach
collection=
"provinceId"
item=
"provinceId"
open=
"("
separator=
","
close=
")"
>
#{provinceId}
</foreach>
or i.city_id in
<foreach
collection=
"cityId"
item=
"cityId"
open=
"("
separator=
","
close=
")"
>
#{cityId}
</foreach>
)
</if>
<if
test=
"provinceId != null and provinceId.size > 0 and districtId != null and districtId.size > 0 and cityId == null"
>
and (
i.province_id in
<foreach
collection=
"provinceId"
item=
"provinceId"
open=
"("
separator=
","
close=
")"
>
#{provinceId}
</foreach>
or i.district_id in
<foreach
collection=
"districtId"
item=
"districtId"
open=
"("
separator=
","
close=
")"
>
#{districtId}
</foreach>
)
</if>
<if
test=
"cityId != null and cityId.size > 0 and districtId != null and districtId.size > 0 and provinceId ==null"
>
and (
i.city_id in
<foreach
collection=
"cityId"
item=
"cityId"
open=
"("
separator=
","
close=
")"
>
#{cityId}
</foreach>
or i.district_id in
<foreach
collection=
"districtId"
item=
"districtId"
open=
"("
separator=
","
close=
")"
>
#{districtId}
</foreach>
)
</if>
<if
test=
"provinceId != null and provinceId.size > 0 and cityId != null and cityId.size > 0 and districtId != null and districtId.size > 0"
>
and (
i.province_id in
<foreach
collection=
"provinceId"
item=
"provinceId"
open=
"("
separator=
","
close=
")"
>
#{provinceId}
</foreach>
or i.city_id in
<foreach
collection=
"cityId"
item=
"cityId"
open=
"("
separator=
","
close=
")"
>
#{cityId}
</foreach>
or i.district_id in
<foreach
collection=
"districtId"
item=
"districtId"
open=
"("
separator=
","
close=
")"
>
#{districtId}
</foreach>
)
</if>
</where>
</where>
GROUP BY i.id
GROUP BY i.id
ORDER BY i.create_time DESC
ORDER BY i.create_time DESC
...
...
dsk-system/src/main/resources/mapper/system/SysUserMapper.xml
View file @
563d64b9
...
@@ -18,6 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -18,6 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"loginIp"
column=
"login_ip"
/>
<result
property=
"loginIp"
column=
"login_ip"
/>
<result
property=
"loginDate"
column=
"login_date"
/>
<result
property=
"loginDate"
column=
"login_date"
/>
<result
property=
"isExperience"
column=
"is_experience"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
...
@@ -47,7 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -47,7 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
</resultMap>
<sql
id=
"selectUserVo"
>
<sql
id=
"selectUserVo"
>
select u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.avatar, u.phonenumber, u.password, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark,
select u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.avatar, u.phonenumber,
u.password, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.is_experience, u.create_by, u.create_time, u.remark,
d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.status as dept_status,
d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.status as dept_status,
r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.status as role_status
r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.status as role_status
from sys_user u
from sys_user u
...
@@ -57,7 +59,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -57,7 +59,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql>
</sql>
<select
id=
"selectUserList"
parameterType=
"SysUser"
resultMap=
"SysUserResult"
>
<select
id=
"selectUserList"
parameterType=
"SysUser"
resultMap=
"SysUserResult"
>
select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark, d.dept_name, d.leader from sys_user u
select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber, u.sex, u.status,
u.del_flag, u.login_ip, u.login_date, u.is_experience, u.create_by, u.create_time, u.remark, d.dept_name, d.leader
from sys_user u
left join sys_dept d on u.dept_id = d.dept_id
left join sys_dept d on u.dept_id = d.dept_id
where u.del_flag = '0'
where u.del_flag = '0'
<if
test=
"userId != null and userId != 0"
>
<if
test=
"userId != null and userId != 0"
>
...
@@ -154,6 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -154,6 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"sex != null and sex != ''"
>
sex,
</if>
<if
test=
"sex != null and sex != ''"
>
sex,
</if>
<if
test=
"password != null and password != ''"
>
password,
</if>
<if
test=
"password != null and password != ''"
>
password,
</if>
<if
test=
"status != null and status != ''"
>
status,
</if>
<if
test=
"status != null and status != ''"
>
status,
</if>
<if
test=
"isExperience != null "
>
is_experience,
</if>
<if
test=
"createBy != null and createBy != ''"
>
create_by,
</if>
<if
test=
"createBy != null and createBy != ''"
>
create_by,
</if>
<if
test=
"remark != null and remark != ''"
>
remark,
</if>
<if
test=
"remark != null and remark != ''"
>
remark,
</if>
create_time
create_time
...
@@ -168,6 +173,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -168,6 +173,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"sex != null and sex != ''"
>
#{sex},
</if>
<if
test=
"sex != null and sex != ''"
>
#{sex},
</if>
<if
test=
"password != null and password != ''"
>
#{password},
</if>
<if
test=
"password != null and password != ''"
>
#{password},
</if>
<if
test=
"status != null and status != ''"
>
#{status},
</if>
<if
test=
"status != null and status != ''"
>
#{status},
</if>
<if
test=
"isExperience != null "
>
#{isExperience},
</if>
<if
test=
"createBy != null and createBy != ''"
>
#{createBy},
</if>
<if
test=
"createBy != null and createBy != ''"
>
#{createBy},
</if>
<if
test=
"remark != null and remark != ''"
>
#{remark},
</if>
<if
test=
"remark != null and remark != ''"
>
#{remark},
</if>
sysdate()
sysdate()
...
@@ -188,6 +194,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -188,6 +194,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"status != null and status != ''"
>
status = #{status},
</if>
<if
test=
"status != null and status != ''"
>
status = #{status},
</if>
<if
test=
"loginIp != null and loginIp != ''"
>
login_ip = #{loginIp},
</if>
<if
test=
"loginIp != null and loginIp != ''"
>
login_ip = #{loginIp},
</if>
<if
test=
"loginDate != null"
>
login_date = #{loginDate},
</if>
<if
test=
"loginDate != null"
>
login_date = #{loginDate},
</if>
<if
test=
"isExperience != null"
>
is_experience = #{isExperience},
</if>
<if
test=
"updateBy != null and updateBy != ''"
>
update_by = #{updateBy},
</if>
<if
test=
"updateBy != null and updateBy != ''"
>
update_by = #{updateBy},
</if>
<if
test=
"remark != null"
>
remark = #{remark},
</if>
<if
test=
"remark != null"
>
remark = #{remark},
</if>
update_time = sysdate()
update_time = sysdate()
...
...
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