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
63a3ebc2
Commit
63a3ebc2
authored
Sep 13, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zuhuduan' of
http://192.168.60.201/root/dsk-operate-sys
into zuhuduan
parents
e090e8ab
5085b88f
Changes
31
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
251 additions
and
80 deletions
+251
-80
BusinessFollowRecordController.java
...om/dsk/biz/controller/BusinessFollowRecordController.java
+2
-2
BusinessFollowRecord.java
...rc/main/java/com/dsk/biz/domain/BusinessFollowRecord.java
+1
-1
BusinessExcelDto.java
...src/main/java/com/dsk/biz/domain/bo/BusinessExcelDto.java
+4
-0
BusinessFollowRecordMapper.java
...n/java/com/dsk/biz/mapper/BusinessFollowRecordMapper.java
+2
-2
IBusinessFollowRecordService.java
...ava/com/dsk/biz/service/IBusinessFollowRecordService.java
+2
-2
BusinessFollowRecordServiceImpl.java
...dsk/biz/service/impl/BusinessFollowRecordServiceImpl.java
+2
-2
BusinessInfoServiceImpl.java
...ava/com/dsk/biz/service/impl/BusinessInfoServiceImpl.java
+8
-1
JskCombineInfoController.java
...java/com/dsk/jsk/controller/JskCombineInfoController.java
+12
-0
EnterpriseProjectBidPlanPageBody.java
.../com/dsk/jsk/domain/EnterpriseProjectBidPlanPageBody.java
+2
-1
EnterpriseService.java
.../src/main/java/com/dsk/jsk/service/EnterpriseService.java
+13
-10
JskCombineInfoService.java
.../main/java/com/dsk/jsk/service/JskCombineInfoService.java
+29
-0
common.js
dsk-operate-ui/src/api/common.js
+8
-0
groupAccount.js
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
+17
-0
index.js
dsk-operate-ui/src/api/index.js
+8
-0
Navbar.vue
dsk-operate-ui/src/layout/components/Navbar.vue
+2
-2
index.vue
dsk-operate-ui/src/layout/components/TagsView/index.vue
+10
-6
index.vue
dsk-operate-ui/src/layout/index.vue
+3
-4
permission.js
dsk-operate-ui/src/permission.js
+1
-0
request.js
dsk-operate-ui/src/utils/request.js
+1
-0
Sidebar.vue
...te-ui/src/views/detail/groupAccount/component/Sidebar.vue
+40
-2
members.vue
...te-ui/src/views/detail/groupAccount/component/members.vue
+2
-0
index.vue
dsk-operate-ui/src/views/detail/groupAccount/index.vue
+20
-5
index.vue
...te-ui/src/views/enterpriseData/components/Group/index.vue
+6
-6
index.vue
dsk-operate-ui/src/views/index.vue
+10
-2
localEconomy.vue
...e-ui/src/views/macro/economies/component/localEconomy.vue
+1
-1
index.vue
dsk-operate-ui/src/views/macro/enterprises/index.vue
+1
-1
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+1
-1
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+1
-1
gjjl.vue
...erate-ui/src/views/project/projectList/component/gjjl.vue
+22
-14
zlwd.vue
...erate-ui/src/views/project/projectList/component/zlwd.vue
+19
-13
SysMenuServiceImpl.java
.../java/com/dsk/system/service/impl/SysMenuServiceImpl.java
+1
-1
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/controller/BusinessFollowRecordController.java
View file @
63a3ebc2
...
@@ -34,7 +34,7 @@ public class BusinessFollowRecordController extends BaseController
...
@@ -34,7 +34,7 @@ public class BusinessFollowRecordController extends BaseController
* 查询关联项目
* 查询关联项目
*/
*/
@GetMapping
(
"/relate/project/{userId}"
)
@GetMapping
(
"/relate/project/{userId}"
)
public
R
<
List
<
BusinessListVo
>>
selectRelateProject
(
@PathVariable
(
"userId"
)
Integer
userId
)
public
R
<
List
<
BusinessListVo
>>
selectRelateProject
(
@PathVariable
(
"userId"
)
Long
userId
)
{
{
return
R
.
ok
(
businessFollowRecordService
.
selectRelateProject
(
userId
));
return
R
.
ok
(
businessFollowRecordService
.
selectRelateProject
(
userId
));
}
}
...
@@ -43,7 +43,7 @@ public class BusinessFollowRecordController extends BaseController
...
@@ -43,7 +43,7 @@ public class BusinessFollowRecordController extends BaseController
* 查询关联业主企业
* 查询关联业主企业
*/
*/
@GetMapping
(
"/relate/company/{userId}"
)
@GetMapping
(
"/relate/company/{userId}"
)
public
R
<
List
<
String
>>
selectRelateCompany
(
@PathVariable
(
"userId"
)
Integer
userId
)
public
R
<
List
<
String
>>
selectRelateCompany
(
@PathVariable
(
"userId"
)
Long
userId
)
{
{
return
R
.
ok
(
businessFollowRecordService
.
selectRelateCompany
(
userId
));
return
R
.
ok
(
businessFollowRecordService
.
selectRelateCompany
(
userId
));
}
}
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/domain/BusinessFollowRecord.java
View file @
63a3ebc2
...
@@ -34,7 +34,7 @@ public class BusinessFollowRecord extends BaseEntity
...
@@ -34,7 +34,7 @@ public class BusinessFollowRecord extends BaseEntity
private
Integer
businessId
;
private
Integer
businessId
;
/** 用户id */
/** 用户id */
private
Integer
userId
;
private
Long
userId
;
/** 用户昵称 */
/** 用户昵称 */
private
String
nickName
;
private
String
nickName
;
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/domain/bo/BusinessExcelDto.java
View file @
63a3ebc2
package
com
.
dsk
.
biz
.
domain
.
bo
;
package
com
.
dsk
.
biz
.
domain
.
bo
;
import
com.dsk.common.annotation.Excel
;
import
lombok.Data
;
import
lombok.Data
;
/**
/**
...
@@ -13,13 +14,16 @@ public class BusinessExcelDto {
...
@@ -13,13 +14,16 @@ public class BusinessExcelDto {
/**
/**
* 项目名称
* 项目名称
*/
*/
@Excel
(
name
=
"项目名称(必填)"
)
private
String
projectName
;
private
String
projectName
;
/**
/**
* 投资估算(万元)
* 投资估算(万元)
*/
*/
@Excel
(
name
=
"投资估算(万元)"
)
private
String
investmentAmount
;
private
String
investmentAmount
;
/**
/**
* 业主单位
* 业主单位
*/
*/
@Excel
(
name
=
"业主单位(必填)"
)
private
String
ownerCompany
;
private
String
ownerCompany
;
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/mapper/BusinessFollowRecordMapper.java
View file @
63a3ebc2
...
@@ -27,14 +27,14 @@ public interface BusinessFollowRecordMapper
...
@@ -27,14 +27,14 @@ public interface BusinessFollowRecordMapper
* @param userId
* @param userId
* @return
* @return
*/
*/
List
<
BusinessListVo
>
selectRelateProject
(
Integer
userId
);
List
<
BusinessListVo
>
selectRelateProject
(
Long
userId
);
/**
/**
* 查询关联业主企业
* 查询关联业主企业
* @param userId
* @param userId
* @return
* @return
*/
*/
List
<
String
>
selectRelateCompany
(
Integer
userId
);
List
<
String
>
selectRelateCompany
(
Long
userId
);
/**
/**
* 查询项目跟进记录
* 查询项目跟进记录
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/service/IBusinessFollowRecordService.java
View file @
63a3ebc2
...
@@ -63,14 +63,14 @@ public interface IBusinessFollowRecordService
...
@@ -63,14 +63,14 @@ public interface IBusinessFollowRecordService
* @param userId
* @param userId
* @return
* @return
*/
*/
List
<
BusinessListVo
>
selectRelateProject
(
Integer
userId
);
List
<
BusinessListVo
>
selectRelateProject
(
Long
userId
);
/**
/**
* 查询关联业主企业
* 查询关联业主企业
* @param userId
* @param userId
* @return
* @return
*/
*/
List
<
String
>
selectRelateCompany
(
Integer
userId
);
List
<
String
>
selectRelateCompany
(
Long
userId
);
/**
/**
* 修改项目跟进记录
* 修改项目跟进记录
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/service/impl/BusinessFollowRecordServiceImpl.java
View file @
63a3ebc2
...
@@ -77,12 +77,12 @@ public class BusinessFollowRecordServiceImpl implements IBusinessFollowRecordSer
...
@@ -77,12 +77,12 @@ public class BusinessFollowRecordServiceImpl implements IBusinessFollowRecordSer
}
}
@Override
@Override
public
List
<
BusinessListVo
>
selectRelateProject
(
Integer
userId
)
{
public
List
<
BusinessListVo
>
selectRelateProject
(
Long
userId
)
{
return
businessFollowRecordMapper
.
selectRelateProject
(
userId
);
return
businessFollowRecordMapper
.
selectRelateProject
(
userId
);
}
}
@Override
@Override
public
List
<
String
>
selectRelateCompany
(
Integer
userId
)
{
public
List
<
String
>
selectRelateCompany
(
Long
userId
)
{
return
businessFollowRecordMapper
.
selectRelateCompany
(
userId
);
return
businessFollowRecordMapper
.
selectRelateCompany
(
userId
);
}
}
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/service/impl/BusinessInfoServiceImpl.java
View file @
63a3ebc2
...
@@ -11,6 +11,7 @@ import com.dsk.biz.domain.bo.BusinessExcelDto;
...
@@ -11,6 +11,7 @@ import com.dsk.biz.domain.bo.BusinessExcelDto;
import
com.dsk.biz.domain.bo.BusinessListDto
;
import
com.dsk.biz.domain.bo.BusinessListDto
;
import
com.dsk.biz.domain.bo.CustomerBusinessSearchDto
;
import
com.dsk.biz.domain.bo.CustomerBusinessSearchDto
;
import
com.dsk.biz.domain.vo.*
;
import
com.dsk.biz.domain.vo.*
;
import
com.dsk.biz.utils.ExcelUtils
;
import
com.dsk.common.annotation.DataColumn
;
import
com.dsk.common.annotation.DataColumn
;
import
com.dsk.common.annotation.DataPermission
;
import
com.dsk.common.annotation.DataPermission
;
import
com.dsk.jsk.service.EnterpriseService
;
import
com.dsk.jsk.service.EnterpriseService
;
...
@@ -185,7 +186,13 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -185,7 +186,13 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
int
rowSuccess
=
0
;
//成功条数
int
rowSuccess
=
0
;
//成功条数
Integer
errorCount
=
0
;
//失败条数
Integer
errorCount
=
0
;
//失败条数
List
<
String
>
result
=
new
LinkedList
();
//导入结果汇总
List
<
String
>
result
=
new
LinkedList
();
//导入结果汇总
List
<
BusinessExcelDto
>
businessInfoList
=
readBusinessInfoExcel
.
getExcelInfo
(
file
);
List
<
BusinessExcelDto
>
businessInfoList
=
null
;
try
{
businessInfoList
=
new
ExcelUtils
<>(
BusinessExcelDto
.
class
).
importExcel
(
file
.
getInputStream
(),
2
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
// List<BusinessExcelDto> businessInfoList = readBusinessInfoExcel.getExcelInfo(file);
if
(
CollectionUtil
.
isEmpty
(
businessInfoList
))
return
AjaxResult
.
error
(
"文档中无项目信息,请按照模板文档格式上传"
);
if
(
CollectionUtil
.
isEmpty
(
businessInfoList
))
return
AjaxResult
.
error
(
"文档中无项目信息,请按照模板文档格式上传"
);
for
(
BusinessExcelDto
businessInfo
:
businessInfoList
)
{
for
(
BusinessExcelDto
businessInfo
:
businessInfoList
)
{
//查询已有的项目名称
//查询已有的项目名称
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/controller/JskCombineInfoController.java
View file @
63a3ebc2
...
@@ -219,4 +219,16 @@ public class JskCombineInfoController extends BaseController {
...
@@ -219,4 +219,16 @@ public class JskCombineInfoController extends BaseController {
public
R
combineMemberLogo
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
{
public
R
combineMemberLogo
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
{
return
baseService
.
combineMemberLogo
(
paramMap
);
return
baseService
.
combineMemberLogo
(
paramMap
);
}
}
/***
*@Description: 集团统计展示调用允许
*@Param:
*@return: com.dsk.common.core.domain.R
*@Author: Dgm
*@date: 2023/9/12 16:05
*/
@RequestMapping
(
value
=
"/memberCount"
,
method
=
RequestMethod
.
POST
)
public
R
memberCount
(
@RequestBody
JskCombineSearchDto
dto
)
throws
Exception
{
return
baseService
.
memberCount
(
dto
);
}
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/domain/EnterpriseProjectBidPlanPageBody.java
View file @
63a3ebc2
...
@@ -6,6 +6,7 @@ import lombok.NoArgsConstructor;
...
@@ -6,6 +6,7 @@ import lombok.NoArgsConstructor;
import
lombok.ToString
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
@Data
@Data
@ToString
@ToString
...
@@ -26,7 +27,7 @@ public class EnterpriseProjectBidPlanPageBody extends BasePage {
...
@@ -26,7 +27,7 @@ public class EnterpriseProjectBidPlanPageBody extends BasePage {
/**
/**
* 项目类型
* 项目类型
*/
*/
private
String
buildingProjectType
;
private
List
<
String
>
buildingProjectType
;
/*
/*
* 排序字段:1金额倒序,2金额正序,3发布时间倒序,4发布时间正序,15预计招标时间倒序,16预计招标时间正序
* 排序字段:1金额倒序,2金额正序,3发布时间倒序,4发布时间正序,15预计招标时间倒序,16预计招标时间正序
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/service/EnterpriseService.java
View file @
63a3ebc2
...
@@ -408,21 +408,24 @@ public class EnterpriseService {
...
@@ -408,21 +408,24 @@ public class EnterpriseService {
if
(
body
.
isValidateCid
())
{
if
(
body
.
isValidateCid
())
{
return
R
.
ok
();
return
R
.
ok
();
}
}
String
redisKey
=
CacheConstants
.
DATA_FINANCIAL
+
body
.
getCid
();
// TODO 缓存需要
List
cacheMap
=
RedisUtils
.
getCacheList
(
redisKey
);
// String redisKey = CacheConstants.DATA_FINANCIAL + body.getCid();
if
(
ObjectUtil
.
isNotEmpty
(
cacheMap
))
{
// List cacheMap = RedisUtils.getCacheList(redisKey);
return
R
.
ok
(
cacheMap
);
// if (ObjectUtil.isNotEmpty(cacheMap)) {
}
// return R.ok(cacheMap);
// }
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/financialData"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/financialData"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Integer
code
=
MapUtils
.
getInteger
(
map
,
"code"
,
300
);
Integer
code
=
MapUtils
.
getInteger
(
map
,
"code"
,
300
);
if
(!
code
.
equals
(
HttpStatus
.
OK
.
value
()))
{
if
(!
code
.
equals
(
HttpStatus
.
OK
.
value
()))
{
throw
new
RuntimeException
();
throw
new
RuntimeException
();
}
}
Object
data
=
map
.
get
(
"data"
);
if
(
ObjectUtil
.
isNotEmpty
(
data
))
{
// Object data = map.get("data");
RedisUtils
.
setCacheList
(
redisKey
,
(
List
)
data
);
// if (ObjectUtil.isNotEmpty(data)) {
RedisUtils
.
expire
(
redisKey
,
Duration
.
ofHours
(
24
));
// RedisUtils.setCacheList(redisKey, (List) data);
}
// RedisUtils.expire(redisKey, Duration.ofHours(24));
// }
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/service/JskCombineInfoService.java
View file @
63a3ebc2
...
@@ -17,6 +17,7 @@ import com.dsk.jsk.domain.vo.JskCombineWinBidProjectExportVo;
...
@@ -17,6 +17,7 @@ import com.dsk.jsk.domain.vo.JskCombineWinBidProjectExportVo;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections4.MapUtils
;
import
org.apache.commons.collections4.MapUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
...
@@ -227,4 +228,32 @@ public class JskCombineInfoService {
...
@@ -227,4 +228,32 @@ public class JskCombineInfoService {
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/combineMemberLogo"
,
object
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/combineMemberLogo"
,
object
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
/***
*@Description: 集团统计展示调用允许
*@Param:
*@return: com.dsk.common.core.domain.R
*@Author: Dgm
*@date: 2023/9/12 16:05
*/
public
R
memberCount
(
JskCombineSearchDto
dto
)
{
Map
<
String
,
Object
>
paramsMap
=
BeanUtil
.
beanToMap
(
dto
,
false
,
false
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/combine/memberCount"
,
paramsMap
);
if
(
ObjectUtil
.
isNotEmpty
(
map
.
get
(
"data"
)))
{
Map
<
String
,
Object
>
data
=
BeanUtil
.
beanToMap
(
map
.
get
(
"data"
));
data
.
put
(
"performance"
,
businessCount
(
paramsMap
));
}
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
Integer
businessCount
(
Map
<
String
,
Object
>
paramsMap
)
{
Integer
performance
=
0
;
Map
<
String
,
Object
>
resMap
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/project/combine/projectList"
,
paramsMap
);
Integer
code
=
MapUtils
.
getInteger
(
resMap
,
"code"
,
300
);
Map
data
=
MapUtils
.
getMap
(
resMap
,
"data"
,
null
);
if
(
code
.
equals
(
HttpStatus
.
OK
.
value
()))
{
performance
=
MapUtils
.
getInteger
(
data
,
"totalCount"
,
0
);
}
return
performance
;
}
}
}
dsk-operate-ui/src/api/common.js
View file @
63a3ebc2
...
@@ -24,3 +24,11 @@ export const historyClaim= function historyClaim(name) {
...
@@ -24,3 +24,11 @@ export const historyClaim= function historyClaim(name) {
method
:
'Put'
,
method
:
'Put'
,
})
})
}
}
//获取大司空open 插件访问token
export
function
dskAccessToken
()
{
return
request
({
url
:
'/system/config/dsk/accessToken'
,
method
:
'get'
,
})
}
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
View file @
63a3ebc2
import
request
from
"@/utils/request"
;
import
request
from
"@/utils/request"
;
//企业数据统计
export
function
statistic
(
data
)
{
return
request
({
url
:
'/enterprise/statistic'
,
method
:
'post'
,
data
:
data
})
}
// 集团logo
export
function
combineMemberLogo
(
data
)
{
return
request
({
url
:
'/combine/info/combineMemberLogo'
,
method
:
'post'
,
data
:
data
})
}
// 集团成员列表
// 集团成员列表
export
function
memberList
(
data
)
{
export
function
memberList
(
data
)
{
return
request
({
return
request
({
...
...
dsk-operate-ui/src/api/index.js
View file @
63a3ebc2
import
request
from
"@/utils/request"
;
import
request
from
"@/utils/request"
;
// 获取用户详细信息
export
function
getInfo
()
{
return
request
({
url
:
'/getInfo'
,
method
:
'get'
})
}
// 集团中标统计
// 集团中标统计
export
function
countByCompany
(
data
)
{
export
function
countByCompany
(
data
)
{
return
request
({
return
request
({
...
...
dsk-operate-ui/src/layout/components/Navbar.vue
View file @
63a3ebc2
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
$store
.
dispatch
(
'LogOut'
).
then
(()
=>
{
this
.
$store
.
dispatch
(
'LogOut'
).
then
(()
=>
{
local
Storage
.
removeItem
(
'views'
)
//清空导航栏上的数据
session
Storage
.
removeItem
(
'views'
)
//清空导航栏上的数据
location
.
href
=
'/index'
;
location
.
href
=
'/index'
;
})
})
}).
catch
(()
=>
{});
}).
catch
(()
=>
{});
...
@@ -111,7 +111,7 @@ export default {
...
@@ -111,7 +111,7 @@ export default {
setToken
(
res
.
data
.
token
)
setToken
(
res
.
data
.
token
)
setTenantid
(
id
)
setTenantid
(
id
)
store
.
commit
(
'SET_TOKEN'
,
res
.
data
.
token
)
store
.
commit
(
'SET_TOKEN'
,
res
.
data
.
token
)
local
Storage
.
removeItem
(
'views'
)
//清空导航栏上的数据
session
Storage
.
removeItem
(
'views'
)
//清空导航栏上的数据
if
(
this
.
$route
.
path
==
'/index'
){
if
(
this
.
$route
.
path
==
'/index'
){
location
.
reload
();
location
.
reload
();
}
else
{
}
else
{
...
...
dsk-operate-ui/src/layout/components/TagsView/index.vue
View file @
63a3ebc2
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
<!--
<i
class=
"el-icon-arrow-down"
v-if=
"!showall"
></i>
<i
class=
"el-icon-arrow-up"
v-if=
"showall"
></i>
-->
<!--
<i
class=
"el-icon-arrow-down"
v-if=
"!showall"
></i>
<i
class=
"el-icon-arrow-up"
v-if=
"showall"
></i>
-->
</div>
</div>
<el-collapse-transition>
<el-collapse-transition>
<div
class=
"tagslist"
v-if=
"showall"
>
<div
class=
"tagslist"
:class=
"
{'noshow':!showall}">
<draggable
v-model=
"visitedViews"
:options=
"dragOptions"
@
end=
"end"
>
<router-link
<router-link
v-for=
"(tag, index) in visitedViews"
v-for=
"(tag, index) in visitedViews"
ref=
"tag"
ref=
"tag"
...
@@ -22,12 +21,10 @@
...
@@ -22,12 +21,10 @@
>
>
<div
@
click=
"changetags"
>
<div
@
click=
"changetags"
>
<i
class=
"el-icon-check"
></i>
<i
class=
"el-icon-check"
></i>
<span
:id=
"isActive(tag)?'tagTitle':''"
>
{{
tag
.
title
}}
</span>
<span
:id=
"isActive(tag)?'tagTitle
s
':''"
>
{{
tag
.
title
}}
</span>
</div>
</div>
</router-link>
</router-link>
<div
class=
"clasall"
@
click=
"closeAllTag(selectedTag)"
>
关闭全部标签
</div>
<div
class=
"clasall"
@
click=
"closeAllTag(selectedTag)"
>
关闭全部标签
</div>
</draggable>
</div>
</div>
</el-collapse-transition>
</el-collapse-transition>
</div>
</div>
...
@@ -154,7 +151,7 @@ export default {
...
@@ -154,7 +151,7 @@ export default {
// li.matched = view.matched //此条数据放出会报错
// li.matched = view.matched //此条数据放出会报错
viewlist
.
push
(
li
)
viewlist
.
push
(
li
)
})
})
local
Storage
.
setItem
(
"views"
,
JSON
.
stringify
(
viewlist
))
session
Storage
.
setItem
(
"views"
,
JSON
.
stringify
(
viewlist
))
},
},
changetags
(){
changetags
(){
this
.
showall
=
false
this
.
showall
=
false
...
@@ -463,6 +460,8 @@ export default {
...
@@ -463,6 +460,8 @@ export default {
height
:
24px
;
height
:
24px
;
}
}
.tagslist
{
.tagslist
{
transition
:
all
0
.2s
;
display
:
block
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
32px
;
top
:
32px
;
...
@@ -517,6 +516,11 @@ export default {
...
@@ -517,6 +516,11 @@ export default {
}
}
}
}
}
}
.noshow
{
display
:
none
;
opacity
:
0
;
/*height: 0;*/
}
}
}
}
}
</
style
>
</
style
>
...
...
dsk-operate-ui/src/layout/index.vue
View file @
63a3ebc2
...
@@ -63,11 +63,10 @@ export default {
...
@@ -63,11 +63,10 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
listenSider
()
this
.
listenSider
()
})
})
// console.log(9999)
let
views
=
sessionStorage
.
getItem
(
'views'
)
let
views
=
localStorage
.
getItem
(
'views'
)
if
(
views
!=
null
){
if
(
views
!=
null
){
this
.
$store
.
state
.
tagsView
.
visitedViews
=
JSON
.
parse
(
views
)
this
.
$store
.
state
.
tagsView
.
visitedViews
=
JSON
.
parse
(
views
)
local
Storage
.
removeItem
(
'views'
)
// session
Storage.removeItem('views')
}
}
},
},
methods
:
{
methods
:
{
...
...
dsk-operate-ui/src/permission.js
View file @
63a3ebc2
...
@@ -32,6 +32,7 @@ router.beforeEach((to, from, next) => {
...
@@ -32,6 +32,7 @@ router.beforeEach((to, from, next) => {
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
store
.
dispatch
(
'LogOut'
).
then
(()
=>
{
store
.
dispatch
(
'LogOut'
).
then
(()
=>
{
Message
.
error
(
err
)
Message
.
error
(
err
)
sessionStorage
.
removeItem
(
'views'
)
next
({
path
:
'/'
})
next
({
path
:
'/'
})
})
})
})
})
...
...
dsk-operate-ui/src/utils/request.js
View file @
63a3ebc2
...
@@ -107,6 +107,7 @@ service.interceptors.response.use(res => {
...
@@ -107,6 +107,7 @@ service.interceptors.response.use(res => {
MessageBox
.
confirm
(
'登录状态已过期,您可以继续留在该页面,或者重新登录'
,
'系统提示'
,
{
confirmButtonText
:
'重新登录'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
MessageBox
.
confirm
(
'登录状态已过期,您可以继续留在该页面,或者重新登录'
,
'系统提示'
,
{
confirmButtonText
:
'重新登录'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
isRelogin
.
show
=
false
;
isRelogin
.
show
=
false
;
store
.
dispatch
(
'LogOut'
).
then
(()
=>
{
store
.
dispatch
(
'LogOut'
).
then
(()
=>
{
sessionStorage
.
removeItem
(
'views'
)
location
.
href
=
'/index'
;
location
.
href
=
'/index'
;
})
})
}).
catch
(()
=>
{
}).
catch
(()
=>
{
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/Sidebar.vue
View file @
63a3ebc2
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
@
open=
"handleOpen"
>
@
open=
"handleOpen"
>
<template
v-for=
"(item, index) in sideRoute"
>
<template
v-for=
"(item, index) in sideRoute"
>
<template>
<template>
<el-menu-item
:index=
"index.toString()"
@
click=
"handleItem(item)"
>
{{
item
.
title
}}
</el-menu-item>
<el-menu-item
:index=
"index.toString()"
:disabled=
"item.disabled"
@
click=
"handleItem(item)"
>
{{
item
.
title
}}
</el-menu-item>
</
template
>
</
template
>
</template>
</template>
</el-menu>
</el-menu>
...
@@ -45,6 +45,10 @@ export default {
...
@@ -45,6 +45,10 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
},
},
statisticObj
:{
type
:
Object
,
default
:
{}
},
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -85,7 +89,41 @@ export default {
...
@@ -85,7 +89,41 @@ export default {
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
},
},
watch
:{
watch
:{
statisticObj
:{
handler
(
val
)
{
this
.
sideRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultRoute
))
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
for
(
var
i
in
arr
){
for
(
var
j
in
arr
[
i
]){
// switch (j) {
// case 'ownershipStructure':
// if(arr[i][j]
<
1
){
// this.sideRoute[0].disabled = true;
// }
// break;
// case 'qualification':
// if(arr[i][j]
<
1
){
// this.sideRoute[1].disabled = true;
// }
// break;
// case 'performance':
// if(arr[i][j]
<
1
){
// this.sideRoute[2].disabled = true;
// }
// break;
// case 'biddingAnnouncement':
// if(arr[i][j]
<
1
){
// this.sideRoute[3].disabled = true;
// }
// break;
// default:
// break;
// }
}
}
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
}
},
},
},
methods
:
{
methods
:
{
handleOpen
(
key
,
keyPath
)
{
handleOpen
(
key
,
keyPath
)
{
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/members.vue
View file @
63a3ebc2
...
@@ -341,6 +341,8 @@
...
@@ -341,6 +341,8 @@
}
else
{
}
else
{
this
.
cgblName
=
name
;
this
.
cgblName
=
name
;
}
}
this
.
queryParams
.
maxStockPercent
=
''
this
.
paramsData
.
maxStockPercent
=
''
if
(
this
.
cgblName
){
if
(
this
.
cgblName
){
if
(
name
===
'100%'
){
if
(
name
===
'100%'
){
this
.
queryParams
.
minStockPercent
=
1
this
.
queryParams
.
minStockPercent
=
1
...
...
dsk-operate-ui/src/views/detail/groupAccount/index.vue
View file @
63a3ebc2
<
template
>
<
template
>
<div
class=
"app-container group-container"
>
<div
class=
"app-container group-container"
>
<div
class=
"header-container"
>
<div
class=
"header-container"
ref=
"header"
>
<div
class=
"flex-box part-header"
>
<div
class=
"flex-box part-header"
>
<img
class=
"header-logo"
:src=
"require('@/assets/images/detail/company_logo.png')"
>
<img
class=
"header-logo"
:src=
"require('@/assets/images/detail/company_logo.png')"
>
{{
name
||
'--'
}}
{{
name
||
'--'
}}
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</div>
</div>
<div
class=
"flex-box group-main"
ref=
"contentData"
>
<div
class=
"flex-box group-main"
ref=
"contentData"
>
<div
class=
"group-left"
>
<div
class=
"group-left"
>
<side-bar
ref=
"sidebar"
@
currentPath=
"showPartPage"
:pathName=
"currentPath.pathName"
:customerId=
"customerId"
/>
<side-bar
ref=
"sidebar"
:statisticObj=
"statisticObj"
@
currentPath=
"showPartPage"
:pathName=
"currentPath.pathName"
:customerId=
"customerId"
/>
</div>
</div>
<div
class=
"group-right"
>
<div
class=
"group-right"
>
<div
id=
"groupBox"
v-if=
"customerId"
>
<div
id=
"groupBox"
v-if=
"customerId"
>
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
import
Performance
from
"./component/performance"
import
Performance
from
"./component/performance"
import
Zhaobiao
from
"./component/zhaobiao"
import
Zhaobiao
from
"./component/zhaobiao"
import
{
infoHeader
}
from
'@/api/detail/party-a/index'
import
{
infoHeader
}
from
'@/api/detail/party-a/index'
import
{
combineMemberLogo
,
statistic
}
from
'@/api/detail/groupAccount/groupAccount'
import
elementResizeDetectorMaker
from
"element-resize-detector"
import
elementResizeDetectorMaker
from
"element-resize-detector"
export
default
{
export
default
{
name
:
'GroupAccount'
,
name
:
'GroupAccount'
,
...
@@ -40,19 +41,29 @@
...
@@ -40,19 +41,29 @@
return
{
return
{
customerId
:
''
,
//集团Id(测试默认'81de7ca2a967d91c2afad9cb5fc30e6d')
customerId
:
''
,
//集团Id(测试默认'81de7ca2a967d91c2afad9cb5fc30e6d')
companyInfo
:
{},
companyInfo
:
{},
statisticObj
:
{},
cooDetail
:
{},
cooDetail
:
{},
currentPath
:
{
currentPath
:
{
pathName
:
'members'
//默认展示页
pathName
:
'members'
//默认展示页
},
},
isCompany
:
false
,
isCompany
:
false
,
isSkeleton
:
false
,
isSkeleton
:
false
,
name
:
''
name
:
''
,
}
}
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
params
.
id
)
{
// customerId
if
(
this
.
$route
.
params
.
id
)
{
// customerId
this
.
customerId
=
this
.
$route
.
params
.
id
this
.
customerId
=
this
.
$route
.
params
.
id
}
}
combineMemberLogo
({
combineId
:
this
.
customerId
}).
then
(
res
=>
{
console
.
log
(
res
.
data
)
})
statistic
({
companyId
:
this
.
$route
.
query
.
cid
}).
then
(
res
=>
{
console
.
log
(
res
.
data
)
if
(
res
.
code
==
200
){
this
.
statisticObj
=
res
.
data
}
})
// if (this.$route.query.path) { // 获取跳转对应板块
// if (this.$route.query.path) { // 获取跳转对应板块
// this.currentPath.pathName = this.$route.query.path
// this.currentPath.pathName = this.$route.query.path
// }
// }
...
@@ -60,6 +71,8 @@
...
@@ -60,6 +71,8 @@
this
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
'中建集团'
this
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
'中建集团'
},
},
mounted
(){
mounted
(){
// this.mainWidth=this.$refs.header.offsetWidth;
// this.width=this.$refs.contentData.offsetWidth -160;
},
},
methods
:
{
methods
:
{
showPartPage
(
e
){
showPartPage
(
e
){
...
@@ -80,8 +93,9 @@
...
@@ -80,8 +93,9 @@
}
}
.group-main
{
.group-main
{
margin-top
:
12px
;
margin-top
:
12px
;
position
:
fixed
;
/*position: fixed;*/
width
:
calc
(
100%
-
192px
);
width
:
100%
;
/*width: calc(100% - 192px);*/
height
:
calc
(
100vh
-
155px
);
height
:
calc
(
100vh
-
155px
);
overflow-y
:
auto
;
overflow-y
:
auto
;
align-items
:
initial
;
align-items
:
initial
;
...
@@ -91,6 +105,7 @@
...
@@ -91,6 +105,7 @@
padding-bottom
:
16px
;
padding-bottom
:
16px
;
position
:
fixed
;
position
:
fixed
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
width
:
144px
;
}
}
.group-right
{
.group-right
{
min-width
:
1088px
;
min-width
:
1088px
;
...
...
dsk-operate-ui/src/views/enterpriseData/components/Group/index.vue
View file @
63a3ebc2
...
@@ -377,13 +377,13 @@ export default {
...
@@ -377,13 +377,13 @@ export default {
return
this
.
$message
.
warning
(
"抱歉,没找到相关数据,建议调整关键词或筛选条件,重新搜索"
)
return
this
.
$message
.
warning
(
"抱歉,没找到相关数据,建议调整关键词或筛选条件,重新搜索"
)
}
}
let
item
=
this
.
searchList
[
0
]
let
item
=
this
.
searchList
[
0
]
this
.
$router
.
push
({
path
:
`/groupAccount/
${
item
.
combineId
}
?name=
${
item
.
combineName
.
replace
(
new
RegExp
(
"<font color='#FF204E'>"
,
'g'
),
''
).
replace
(
new
RegExp
(
"</font>"
,
'g'
),
''
)}
`
})
this
.
$router
.
push
({
path
:
`/groupAccount/
${
item
.
combineId
}
?name=
${
item
.
combineName
.
replace
(
new
RegExp
(
"<font color='#FF204E'>"
,
'g'
),
''
).
replace
(
new
RegExp
(
"</font>"
,
'g'
),
''
)}
&cid=
${
item
.
combineMemberCid
}
`
})
},
},
selCompany
(
item
=
this
.
searchList
[
0
]){
selCompany
(
item
=
this
.
searchList
[
0
]){
if
(
!
item
){
if
(
!
item
){
return
this
.
$message
.
warning
(
"抱歉,没找到相关数据,建议调整关键词或筛选条件,重新搜索"
)
return
this
.
$message
.
warning
(
"抱歉,没找到相关数据,建议调整关键词或筛选条件,重新搜索"
)
}
}
this
.
$router
.
push
({
path
:
`/groupAccount/
${
item
.
combineId
}
?name=
${
item
.
combineName
.
replace
(
new
RegExp
(
"<font color='#FF204E'>"
,
'g'
),
''
).
replace
(
new
RegExp
(
"</font>"
,
'g'
),
''
)}
`
})
this
.
$router
.
push
({
path
:
`/groupAccount/
${
item
.
combineId
}
?name=
${
item
.
combineName
.
replace
(
new
RegExp
(
"<font color='#FF204E'>"
,
'g'
),
''
).
replace
(
new
RegExp
(
"</font>"
,
'g'
),
''
)}
&cid=
${
item
.
combineMemberCid
}
`
})
},
},
}
}
}
}
...
...
dsk-operate-ui/src/views/index.vue
View file @
63a3ebc2
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"user"
@
click=
"handleChange"
>
<div
class=
"user"
@
click=
"handleChange"
>
<h3>
刘毅
<span>
总经理
</span></h3>
<h3>
{{
nickName
}}
<span>
总经理
</span></h3>
<p>
您好,祝您工作顺利每一天
</p>
<p>
您好,祝您工作顺利每一天
</p>
</div>
</div>
</el-col>
</el-col>
...
@@ -478,7 +478,7 @@
...
@@ -478,7 +478,7 @@
import
CustomTimeSelect
from
'./component/CustomTimeSelect'
import
CustomTimeSelect
from
'./component/CustomTimeSelect'
import
CustomMoneySelect
from
'./component/CustomMoneySelect'
import
CustomMoneySelect
from
'./component/CustomMoneySelect'
import
skeleton
from
'./component/skeleton'
import
skeleton
from
'./component/skeleton'
import
{
countByCompany
,
bidRank
,
bigWinningBidsPage
,
bigBidPage
}
from
'@/api/index'
import
{
countByCompany
,
bidRank
,
bigWinningBidsPage
,
bigBidPage
,
getInfo
}
from
'@/api/index'
import
{
getUipIdByCid
}
from
'@/api/macro/macro'
import
{
getUipIdByCid
}
from
'@/api/macro/macro'
import
api
from
'@/api/radar/radar.js'
;
import
api
from
'@/api/radar/radar.js'
;
export
default
{
export
default
{
...
@@ -694,10 +694,12 @@ export default {
...
@@ -694,10 +694,12 @@ export default {
timePlaceholder
:
'中标日期'
,
timePlaceholder
:
'中标日期'
,
show_page
:
true
,
show_page
:
true
,
MaxPage
:
500
,
MaxPage
:
500
,
nickName
:
''
};
};
},
},
created
()
{
created
()
{
this
.
searchDic
()
this
.
searchDic
()
this
.
getInfo
()
this
.
dataRegion
()
this
.
dataRegion
()
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
getCountByCompany
()
this
.
getCountByCompany
()
...
@@ -713,6 +715,12 @@ export default {
...
@@ -713,6 +715,12 @@ export default {
this
.
projectType
=
res
.
projectType
;
this
.
projectType
=
res
.
projectType
;
}).
catch
(
error
=>
{});
}).
catch
(
error
=>
{});
},
},
getInfo
(){
getInfo
().
then
(
res
=>
{
console
.
log
(
res
)
this
.
nickName
=
res
.
data
.
user
.
nickName
}).
catch
(
error
=>
{});
},
getCountByCompany
(){
getCountByCompany
(){
let
params
=
{};
let
params
=
{};
if
(
this
.
queryParams
.
time
.
length
>
1
){
if
(
this
.
queryParams
.
time
.
length
>
1
){
...
...
dsk-operate-ui/src/views/macro/economies/component/localEconomy.vue
View file @
63a3ebc2
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,7 @@ export default {
tableData
:[],
tableData
:[],
tableLoading
:
false
,
tableLoading
:
false
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
tableDataTotal
:
0
,
tableDataTotal
:
0
,
show_page
:
true
,
show_page
:
true
,
MaxPage
:
500
,
MaxPage
:
500
,
...
...
dsk-operate-ui/src/views/macro/enterprises/index.vue
View file @
63a3ebc2
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
tableData
:
[],
tableData
:
[],
tableLoading
:
false
,
tableLoading
:
false
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
tableDataTotal
:
null
,
tableDataTotal
:
null
,
aptitudeCodeList
:[],
aptitudeCodeList
:[],
aptitudeType
:
''
,
aptitudeType
:
''
,
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
63a3ebc2
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
tableData
:
[],
tableData
:
[],
tableLoading
:
false
,
tableLoading
:
false
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
tableDataTotal
:
null
,
tableDataTotal
:
null
,
show_page
:
true
,
show_page
:
true
,
MaxPage
:
500
,
MaxPage
:
500
,
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
63a3ebc2
...
@@ -314,7 +314,7 @@ export default {
...
@@ -314,7 +314,7 @@ export default {
tableData
:[],
tableData
:[],
tableLoading
:
false
,
tableLoading
:
false
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
tableDataTotal
:
null
,
tableDataTotal
:
null
,
selected
:[],
selected
:[],
xzdjCalss
:
''
,
xzdjCalss
:
''
,
...
...
dsk-operate-ui/src/views/project/projectList/component/gjjl.vue
View file @
63a3ebc2
...
@@ -125,6 +125,13 @@
...
@@ -125,6 +125,13 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"tables"
style=
"margin-top: 0"
v-if=
"recordlist.rows && recordlist.rows.length == 0"
>
<div
class=
"empty"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,您还未添加跟进动态
</div>
</div>
</div>
<div
class=
"tables"
v-if=
"recordlist.total>pageSize"
>
<div
class=
"tables"
v-if=
"recordlist.total>pageSize"
>
<div
class=
"bottems"
>
<div
class=
"bottems"
>
<el-pagination
<el-pagination
...
@@ -144,11 +151,12 @@
...
@@ -144,11 +151,12 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
"@/assets/styles/project.scss"
import
'@/assets/styles/project.scss'
import
{
getFollowList
,
addFollowRecord
,
getUserList
,
delFollowRecord
}
from
'@/api/custom/custom'
import
{
addFollowRecord
,
delFollowRecord
,
getFollowList
,
getUserList
}
from
'@/api/custom/custom'
import
{
getGJJL
,
addGJJL
,
delGJJL
,
relateProject
,
allRecord
}
from
'@/api/project/project'
import
{
addGJJL
,
allRecord
,
delGJJL
,
getGJJL
,
relateProject
}
from
'@/api/project/project'
import
{
getEnterprise
,
getDictType
,
}
from
'@/api/main'
import
{
getDictType
,
getEnterprise
}
from
'@/api/main'
import
skeleton
from
'./skeleton'
import
skeleton
from
'./skeleton'
export
default
{
export
default
{
components
:{
skeleton
},
components
:{
skeleton
},
props
:{
props
:{
...
...
dsk-operate-ui/src/views/project/projectList/component/zlwd.vue
View file @
63a3ebc2
...
@@ -203,21 +203,27 @@
...
@@ -203,21 +203,27 @@
},
},
getList
(){
getList
(){
this
.
isSkeleton
=
true
this
.
isSkeleton
=
true
getZLWD
(
this
.
param
).
then
(
res
=>
{
getZLWD
(
this
.
param
).
then
(
res
=>
{
this
.
fileDatas
=
res
this
.
isSkeleton
=
false
this
.
isSkeleton
=
false
if
(
this
.
fileDatas
.
rows
!=
null
&&
this
.
fileDatas
.
rows
.
length
>
0
){
if
(
res
.
code
==
200
)
{
this
.
fileDatas
.
rows
.
forEach
(
item
=>
{
this
.
fileDatas
=
res
if
(
this
.
fileDatas
.
rows
!=
null
&&
this
.
fileDatas
.
rows
.
length
>
0
)
{
this
.
fileDatas
.
rows
.
forEach
(
item
=>
{
let
names
=
item
.
filePath
.
split
(
'/'
)
let
names
=
item
.
filePath
.
split
(
'/'
)
item
.
name
=
names
[
names
.
length
-
1
]
item
.
name
=
names
[
names
.
length
-
1
]
let
types
=
item
.
name
.
split
(
'.'
)
let
types
=
item
.
name
.
split
(
'.'
)
item
.
type
=
types
.
length
>
1
?
types
[
1
]:
'file'
item
.
type
=
types
.
length
>
1
?
types
[
1
]
:
'file'
if
(
item
.
type
==
'xls'
||
item
.
type
==
'xlsx'
)
if
(
item
.
type
==
'xls'
||
item
.
type
==
'xlsx'
)
{
item
.
type
=
'excel'
item
.
type
=
'excel'
if
(
item
.
type
==
'doc'
||
item
.
type
==
'docx'
)
}
if
(
item
.
type
==
'doc'
||
item
.
type
==
'docx'
)
{
item
.
type
=
'word'
item
.
type
=
'word'
}
})
})
}
}
}
else
{
this
.
fileDatas
.
total
=
0
}
})
})
},
},
getFile
(
row
){
getFile
(
row
){
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/SysMenuServiceImpl.java
View file @
63a3ebc2
...
@@ -72,7 +72,7 @@ public class SysMenuServiceImpl implements ISysMenuService {
...
@@ -72,7 +72,7 @@ public class SysMenuServiceImpl implements ISysMenuService {
QueryWrapper
<
SysMenu
>
wrapper
=
Wrappers
.
query
();
QueryWrapper
<
SysMenu
>
wrapper
=
Wrappers
.
query
();
wrapper
.
eq
(
"sur.user_id"
,
userId
)
wrapper
.
eq
(
"sur.user_id"
,
userId
)
.
like
(
StringUtils
.
isNotBlank
(
menu
.
getMenuName
()),
"m.menu_name"
,
menu
.
getMenuName
())
.
like
(
StringUtils
.
isNotBlank
(
menu
.
getMenuName
()),
"m.menu_name"
,
menu
.
getMenuName
())
.
eq
(
"m.visible"
,
0
)
//
.eq("m.visible", 0)
.
eq
(
"m.status"
,
0
)
.
eq
(
"m.status"
,
0
)
.
orderByAsc
(
"m.parent_id"
)
.
orderByAsc
(
"m.parent_id"
)
.
orderByAsc
(
"m.order_num"
);
.
orderByAsc
(
"m.order_num"
);
...
...
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