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
26fe8fee
Commit
26fe8fee
authored
Jun 07, 2023
by
caixingbing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.60.201/root/dsk-operate-sys
parents
2fdc90b6
38f65077
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
413 additions
and
263 deletions
+413
-263
BusinessBacklogController.java
...sk/web/controller/business/BusinessBacklogController.java
+6
-19
BusinessContactsController.java
...k/web/controller/business/BusinessContactsController.java
+6
-18
BusinessFileController.java
...m/dsk/web/controller/business/BusinessFileController.java
+48
-17
BusinessFollowRecordController.java
...b/controller/business/BusinessFollowRecordController.java
+6
-18
BusinessInfoController.java
...m/dsk/web/controller/business/BusinessInfoController.java
+4
-14
BusinessLabelController.java
.../dsk/web/controller/business/BusinessLabelController.java
+2
-14
BusinessRelateCompanyController.java
.../controller/business/BusinessRelateCompanyController.java
+6
-18
MarketAnalysisController.java
...ontroller/search/controller/MarketAnalysisController.java
+4
-4
MarketAnalysisService.java
.../web/controller/search/service/MarketAnalysisService.java
+2
-2
MarketAnalysisServiceImpl.java
...roller/search/service/impl/MarketAnalysisServiceImpl.java
+4
-4
application-dev.yml
dsk-admin/src/main/resources/application-dev.yml
+3
-2
FileUtils.java
...on/src/main/java/com/dsk/common/utils/file/FileUtils.java
+56
-39
urbanLnvestment.js
dsk-operate-ui/src/api/detail/party-a/urbanLnvestment.js
+8
-0
Tables.vue
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
+1
-1
businessAnomaly.vue
.../views/detail/party-a/riskInformation/businessAnomaly.vue
+0
-2
openacourtsessionNotice.vue
...etail/party-a/riskInformation/openacourtsessionNotice.vue
+0
-2
regionalEconomies.vue
...iews/detail/party-a/urbanLnvestment/regionalEconomies.vue
+11
-0
sameRegion.vue
...i/src/views/detail/party-a/urbanLnvestment/sameRegion.vue
+147
-51
xgqy.vue
...erate-ui/src/views/project/projectList/component/xgqy.vue
+91
-37
xmsl.vue
...erate-ui/src/views/project/projectList/component/xmsl.vue
+1
-1
vue.config.js
dsk-operate-ui/vue.config.js
+2
-0
BusinessIdDto.java
...em/src/main/java/com/dsk/system/domain/BusinessIdDto.java
+5
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessBacklogController.java
View file @
26fe8fee
package
com
.
dsk
.
web
.
controller
.
business
;
import
java.util.List
;
import
javax.annotation.PostConstruct
;
import
javax.servlet.http.HttpServletResponse
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.entity.BusinessBacklog
;
import
com.dsk.common.
utils.poi.ExcelUtil
;
import
com.dsk.common.
core.page.TableDataInfo
;
import
com.dsk.system.service.IBusinessBacklogService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.dsk.common.annotation.Log
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.enums.BusinessType
;
import
com.dsk.common.core.page.TableDataInfo
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 项目工作待办Controller
...
...
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessContactsController.java
View file @
26fe8fee
package
com
.
dsk
.
web
.
controller
.
business
;
import
java.util.List
;
import
javax.servlet.http.HttpServletResponse
;
import
com.dsk.common.core.domain.entity.BusinessContacts
;
import
com.dsk.common.utils.poi.ExcelUtil
;
import
com.dsk.system.service.IBusinessContactsService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.dsk.common.annotation.Log
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.
enums.BusinessType
;
import
com.dsk.common.
core.domain.entity.BusinessContacts
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.service.IBusinessContactsService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 项目联系人Controller
...
...
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessFileController.java
View file @
26fe8fee
...
...
@@ -3,13 +3,17 @@ package com.dsk.web.controller.business;
import
com.dsk.common.config.RuoYiConfig
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.file.FileUploadUtils
;
import
com.dsk.common.utils.file.FileUtils
;
import
com.dsk.framework.config.ServerConfig
;
import
com.dsk.system.domain.BusinessIdDto
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletRequest
;
import
java.io.IOException
;
import
java.util.List
;
...
...
@@ -23,8 +27,8 @@ import java.util.List;
@RequestMapping
(
"/business/file"
)
public
class
BusinessFileController
extends
BaseController
{
// 本地资源路径
p
ublic
static
final
String
LOCALPATH
=
RuoYiConfig
.
getProfile
()
;
@Autowired
p
rivate
ServerConfig
serverConfig
;
/**
* 新建文件夹
...
...
@@ -33,36 +37,63 @@ public class BusinessFileController extends BaseController {
// @Log(title = "项目资料文档", businessType = BusinessType.INSERT)
@GetMapping
(
"/new/{filePath}"
)
public
AjaxResult
newFolder
(
@PathVariable
String
filePath
)
{
return
FileUtils
.
newFolder
(
LOCALPATH
+
filePath
)
?
AjaxResult
.
success
()
:
AjaxResult
.
error
();
return
FileUtils
.
newFolder
(
RuoYiConfig
.
getProfile
()
+
filePath
)
?
AjaxResult
.
success
()
:
AjaxResult
.
error
();
}
/**
* 删除某个文件或整个文件夹
*/
@GetMapping
(
"/remove/{filePath}"
)
public
AjaxResult
removeFile
(
@PathVariable
String
filePath
)
{
boolean
deleteFile
=
FileUtils
.
deleteFile
(
LOCALPATH
+
filePath
);
return
deleteFile
?
AjaxResult
.
success
()
:
AjaxResult
.
error
();
@PostMapping
(
"/remove"
)
public
AjaxResult
removeFile
(
@RequestBody
(
required
=
false
)
BusinessIdDto
folderPath
)
{
return
FileUtils
.
delFolder
(
RuoYiConfig
.
getProfile
()
+
folderPath
.
getFolderPath
())
?
AjaxResult
.
success
()
:
AjaxResult
.
error
();
}
/**
* 分页查询项目的所有文件
* 获取文件夹中所有文件
*/
@GetMapping
(
"/all/{folderPath}"
)
public
AjaxResult
getAllFiles
(
@PathVariable
String
folderPath
)
{
List
<
String
>
allFiles
=
FileUtils
.
getAllFiles
(
LOCALPATH
+
folderPath
);
return
AjaxResult
.
success
(
allFiles
);
@GetMapping
(
value
=
"/list"
)
public
TableDataInfo
getAllFiles
(
@RequestBody
(
required
=
false
)
BusinessIdDto
folderPath
)
{
startPage
();
List
<
String
>
allFiles
=
FileUtils
.
getAllFiles
(
RuoYiConfig
.
getProfile
()
+
folderPath
.
getFolderPath
());
return
getDataTable
(
allFiles
);
}
/**
/* */
/**
* 上传文件及文件夹
* @param url
* @param folderPath
* @return
*/
*/
/*
@GetMapping("/upload/{url}/{folderPath}")
public AjaxResult uploadFolder(@PathVariable("url") String url,@PathVariable("folderPath") String folderPath) throws IOException {
return toAjax(FileUtils.uploadFolder(url, LOCALPATH + folderPath));
}*/
/**
* 上传文件及文件夹
* @param file 文件流
* @param request 请求头参数
* @return
*/
@PostMapping
(
"/upload/"
)
public
AjaxResult
uploadFolder
(
@RequestPart
(
"file"
)
MultipartFile
file
,
HttpServletRequest
request
){
try
{
String
businessFileName
=
request
.
getParameter
(
"filePath"
);
// 上传文件路径
String
filePath
=
RuoYiConfig
.
getUploadPath
()+
businessFileName
;
// 上传并返回新文件名称
String
fileName
=
FileUploadUtils
.
upload
(
filePath
,
file
);
String
url
=
serverConfig
.
getUrl
()
+
fileName
;
AjaxResult
ajax
=
AjaxResult
.
success
();
ajax
.
put
(
"url"
,
url
);
ajax
.
put
(
"fileName"
,
fileName
);
ajax
.
put
(
"newFileName"
,
FileUtils
.
getName
(
fileName
));
ajax
.
put
(
"originalFilename"
,
file
.
getOriginalFilename
());
return
ajax
;
}
catch
(
IOException
e
)
{
return
AjaxResult
.
error
(
e
.
getMessage
());
}
}
/**
...
...
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessFollowRecordController.java
View file @
26fe8fee
package
com
.
dsk
.
web
.
controller
.
business
;
import
java.util.List
;
import
javax.servlet.http.HttpServletResponse
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.entity.BusinessFollowRecord
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.domain.BusinessIdDto
;
import
com.dsk.system.service.IBusinessFollowRecordService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.dsk.common.annotation.Log
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.enums.BusinessType
;
import
com.dsk.common.utils.poi.ExcelUtil
;
import
com.dsk.common.core.page.TableDataInfo
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 项目跟进记录Controller
...
...
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessInfoController.java
View file @
26fe8fee
package
com
.
dsk
.
web
.
controller
.
business
;
import
java.util.List
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.entity.BusinessInfo
;
import
com.dsk.common.dtos.BusinessInfoDto
;
import
com.dsk.common.exception.base.BaseException
;
import
com.dsk.common.utils.CheckUtils
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.domain.BusinessAddDto
;
import
com.dsk.system.domain.BusinessListDto
;
import
com.dsk.system.domain.vo.BusinessBrowseVo
;
import
com.dsk.system.domain.vo.BusinessListVo
;
import
com.dsk.system.service.IBusinessInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
com.dsk.common.annotation.Log
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.enums.BusinessType
;
import
com.dsk.common.core.page.TableDataInfo
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 项目详情Controller
...
...
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessLabelController.java
View file @
26fe8fee
package
com
.
dsk
.
web
.
controller
.
business
;
import
java.util.List
;
import
javax.servlet.http.HttpServletResponse
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.entity.BusinessLabel
;
import
com.dsk.common.utils.poi.ExcelUtil
;
import
com.dsk.system.domain.BusinessIdDto
;
import
com.dsk.system.service.IBusinessLabelService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.dsk.common.annotation.Log
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.enums.BusinessType
;
import
com.dsk.common.core.page.TableDataInfo
;
/**
* 项目标签Controller
...
...
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessRelateCompanyController.java
View file @
26fe8fee
package
com
.
dsk
.
web
.
controller
.
business
;
import
java.util.List
;
import
javax.servlet.http.HttpServletResponse
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.entity.BusinessRelateCompany
;
import
com.dsk.common.
utils.poi.ExcelUtil
;
import
com.dsk.common.
core.page.TableDataInfo
;
import
com.dsk.system.domain.BusinessIdDto
;
import
com.dsk.system.service.IBusinessRelateCompanyService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.dsk.common.annotation.Log
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.enums.BusinessType
;
import
com.dsk.common.core.page.TableDataInfo
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 项目关联单位Controller
...
...
dsk-admin/src/main/java/com/dsk/web/controller/search/controller/MarketAnalysisController.java
View file @
26fe8fee
...
...
@@ -82,15 +82,15 @@ public class MarketAnalysisController {
* 中标数量按省份分组
*/
@RequestMapping
(
"/countGroupByProvince"
)
public
AjaxResult
countGroupByProvince
(
@RequestBody
ComposeQueryDto
compose
)
{
return
marketAnalysisService
.
countGroupByProvince
(
compose
);
public
AjaxResult
countGroupByProvince
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
countGroupByProvince
(
object
);
}
/*
* 中标数量按月份分组
*/
@RequestMapping
(
"/countGroupByMonth"
)
public
AjaxResult
countGroupByMonth
(
@RequestBody
ComposeQueryDto
compose
)
{
return
marketAnalysisService
.
countGroupByMonth
(
compose
);
public
AjaxResult
countGroupByMonth
()
{
return
marketAnalysisService
.
countGroupByMonth
();
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/service/MarketAnalysisService.java
View file @
26fe8fee
...
...
@@ -17,9 +17,9 @@ public interface MarketAnalysisService {
AjaxResult
certGroupByMajorProvinceLevel
();
AjaxResult
countGroupByProvince
(
ComposeQueryDto
compose
);
AjaxResult
countGroupByProvince
(
JSONObject
object
);
AjaxResult
countGroupByMonth
(
ComposeQueryDto
compose
);
AjaxResult
countGroupByMonth
();
AjaxResult
bidMoneyGroupByProjectType
(
JSONObject
object
);
...
...
dsk-admin/src/main/java/com/dsk/web/controller/search/service/impl/MarketAnalysisServiceImpl.java
View file @
26fe8fee
...
...
@@ -56,14 +56,14 @@ public class MarketAnalysisServiceImpl implements MarketAnalysisService {
}
@Override
public
AjaxResult
countGroupByProvince
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/marketAnalysis/countGroupByProvince"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
)
);
public
AjaxResult
countGroupByProvince
(
JSONObject
object
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/marketAnalysis/countGroupByProvince"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
@Override
public
AjaxResult
countGroupByMonth
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/marketAnalysis/countGroupBy
Date"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
)
);
public
AjaxResult
countGroupByMonth
()
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/marketAnalysis/countGroupBy
Month"
,
null
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
dsk-admin/src/main/resources/application-dev.yml
View file @
26fe8fee
...
...
@@ -8,8 +8,9 @@ ruoyi:
copyrightYear
:
2023
# 实例演示开关
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile
:
D:/dsk-operate-sys/uploadPath/
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/server/dsk-operate-sys/uploadPath)
# profile: D:/dsk-operate-sys/uploadPath/
profile
:
/home/server/dsk-operate-sys/uploadPath/
# 获取ip地址开关
addressEnabled
:
false
# 验证码类型 math 数组计算 char 字符验证
...
...
dsk-common/src/main/java/com/dsk/common/utils/file/FileUtils.java
View file @
26fe8fee
package
com
.
dsk
.
common
.
utils
.
file
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.FileNotFoundException
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.io.OutputStream
;
import
java.io.UnsupportedEncodingException
;
import
java.net.HttpURLConnection
;
import
java.net.URL
;
import
java.net.URLEncoder
;
import
java.nio.charset.StandardCharsets
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.zip.ZipEntry
;
import
java.util.zip.ZipInputStream
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
com.dsk.common.config.RuoYiConfig
;
import
com.dsk.common.exception.base.BaseException
;
import
com.dsk.common.utils.DateUtils
;
import
com.dsk.common.utils.StringUtils
;
import
com.dsk.common.utils.uuid.IdUtils
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.io.FilenameUtils
;
import
org.apache.commons.io.IOUtils
;
import
org.apache.commons.lang3.ArrayUtils
;
import
com.dsk.common.config.RuoYiConfig
;
import
com.dsk.common.utils.uuid.IdUtils
;
import
org.apache.commons.io.FilenameUtils
;
import
org.apache.http.HttpEntity
;
import
org.apache.http.HttpResponse
;
import
org.apache.http.client.methods.HttpPost
;
...
...
@@ -35,6 +18,18 @@ import org.apache.http.entity.mime.content.FileBody;
import
org.apache.http.impl.client.CloseableHttpClient
;
import
org.apache.http.impl.client.HttpClients
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.*
;
import
java.net.HttpURLConnection
;
import
java.net.URL
;
import
java.net.URLEncoder
;
import
java.nio.charset.StandardCharsets
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.zip.ZipEntry
;
import
java.util.zip.ZipInputStream
;
/**
* 文件处理工具类
*
...
...
@@ -46,6 +41,10 @@ public class FileUtils
public
static
String
FILENAME_PATTERN
=
"[a-zA-Z0-9_\\-\\|\\.\\u4e00-\\u9fa5]+"
;
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
RuoYiConfig
.
getProfile
());
}
/**
* 检查目录是否存在,如果不存在,则创建目录,如果创建失败则返回false
*
...
...
@@ -57,8 +56,10 @@ public class FileUtils
if
(!
file
.
exists
())
{
boolean
isSuccess
=
file
.
mkdir
();
if
(!
isSuccess
)
if
(!
file
.
exists
())
{
file
.
mkdirs
();
return
!
isSuccess
;
}
return
isSuccess
;
}
else
{
return
true
;
}
...
...
@@ -160,12 +161,12 @@ public class FileUtils
return
FileUploadUtils
.
getPathFileName
(
uploadDir
,
pathName
);
}
/*
*//*
*
/**
* 删除文件
*
* @param filePath 文件
* @return
*/
/*
*/
public
static
boolean
deleteFile
(
String
filePath
)
{
boolean
flag
=
false
;
...
...
@@ -176,22 +177,20 @@ public class FileUtils
flag
=
file
.
delete
();
}
return
flag
;
}
*/
}
/**
* 删除整个文件夹或者文某个文件
*
* @param filePath 文件
* @return
*/
public
static
boolean
del
eteFile
(
String
filePath
)
{
public
static
boolean
del
Folder
(
String
filePath
)
{
try
{
if
(
StringUtils
.
isNotEmpty
(
delAllFile
(
filePath
)))
return
false
;
delAllFile
(
filePath
);
// 删除里面的所有文件
File
file
=
new
File
(
filePath
);
return
file
.
delete
();
return
file
.
delete
();
// 删除空文件夹
}
catch
(
Exception
e
)
{
log
.
info
(
"删除文件失败"
);
e
.
printStackTrace
();
return
false
;
throw
new
BaseException
(
"删除文件夹失败"
,
e
.
getMessage
());
}
}
...
...
@@ -200,32 +199,50 @@ public class FileUtils
*
* @param path 文件夹路径
*/
public
static
String
delAllFile
(
String
path
)
{
public
static
void
delAllFile
(
String
path
)
{
String
hint
=
"这是一个根目录,请更换目录!"
;
File
file
=
new
File
(
path
);
if
(!
file
.
exists
())
{
return
hint
;
throw
new
BaseException
(
"文件不存在"
)
;
}
// if (!file.isDirectory()) {
// return false;
// }
if
(
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/"
))
{
return
hint
;
throw
new
BaseException
(
hint
)
;
}
if
(
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/root"
))
{
return
hint
;
throw
new
BaseException
(
hint
)
;
}
if
(
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/usr"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/opt"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/bin"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/sbin"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/etc"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/selinux"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/sys"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/var"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/home"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"/net"
))
{
return
hint
;
throw
new
BaseException
(
hint
)
;
}
if
(
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"C://"
)
||
file
.
getAbsolutePath
().
equalsIgnoreCase
(
"C:\\\\"
))
{
return
hint
;
throw
new
BaseException
(
hint
);
}
String
[]
tempList
=
file
.
list
();
File
temp
;
if
(
tempList
==
null
)
{
return
;
}
for
(
String
aTempList
:
tempList
)
{
if
(
path
.
endsWith
(
File
.
separator
))
{
temp
=
new
File
(
path
+
aTempList
);
}
else
{
temp
=
new
File
(
path
+
File
.
separator
+
aTempList
);
}
if
(
temp
.
isFile
())
{
temp
.
delete
();
}
if
(
temp
.
isDirectory
())
{
delAllFile
(
path
+
"/"
+
aTempList
);
// 删除里面的所有文件
delFolder
(
path
+
"/"
+
aTempList
);
// 删除空文件夹
}
}
return
""
;
}
...
...
dsk-operate-ui/src/api/detail/party-a/urbanLnvestment.js
View file @
26fe8fee
...
...
@@ -32,3 +32,11 @@ export function urbanInvestmentPage(data) {
data
})
}
// 同地区城投-查询选项
export
function
uipGroupData
(
data
)
{
return
request
({
url
:
'/enterprise/uipGroupData'
,
method
:
'post'
,
data
})
}
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
View file @
26fe8fee
...
...
@@ -28,7 +28,7 @@
:min-width=
"item.minWidth"
:align=
"item.align?item.align:'left'"
:fixed=
"item.fixed"
:sortable=
"item.sortable"
:sortable=
"item.sortable
? 'custom' : false
"
:resizable=
"false"
>
<template
v-if=
"item.slotHeader"
slot=
"header"
>
<slot
:name=
"item.slotName"
></slot>
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/businessAnomaly.vue
View file @
26fe8fee
...
...
@@ -60,8 +60,6 @@ export default {
//列表
tableLoading
:
false
,
tableData
:[],
pageIndex
:
1
,
pageSize
:
10
,
tableDataTotal
:
0
,
}
},
...
...
dsk-operate-ui/src/views/detail/party-a/riskInformation/openacourtsessionNotice.vue
View file @
26fe8fee
...
...
@@ -75,8 +75,6 @@ export default {
//列表
tableLoading
:
false
,
tableData
:[],
pageIndex
:
1
,
pageSize
:
10
,
tableDataTotal
:
0
,
}
},
...
...
dsk-operate-ui/src/views/detail/party-a/urbanLnvestment/regionalEconomies.vue
View file @
26fe8fee
...
...
@@ -4,6 +4,7 @@
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
区域经济
</span>
</div>
<div
class=
"params-dw"
><img
src=
"@/assets/images/addree.png"
/>
广东省-广州市
</div>
</div>
<div
class=
"table-item"
>
<el-table
...
...
@@ -253,6 +254,16 @@ export default {
}
.query-box
{
margin
:
10px
0
20px
;
.params-dw
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#0081FF
;
img
{
width
:
14px
;
height
:
14px
;
margin-right
:
5px
;
}
}
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/urbanLnvestment/sameRegion.vue
View file @
26fe8fee
...
...
@@ -10,79 +10,79 @@
>
<template
slot=
"slot"
>
<div
class=
"search-box"
>
<span
style=
"cursor: pointer;"
@
click=
"handleSearch"
>
筛选
<i
class=
"el-icon-caret-bottom"
style=
"color:rgba(35,35,35,0.4);margin-left: 5px"
></i></span>
<span
class=
"search-box-t"
:class=
"queryParams.uipExecutiveLevel ||
queryParams.uipBusinessType.length > 0 ||
queryParams.bratingSubjectLevel.length > 0 ||
queryParams.shareholderBg.length > 0 ||
queryParams.equityRelationship.length > 0 ||
queryParams.platformImportance.length > 0 ||
queryParams.developmentZone.length > 0 ? 'search-box-ta' : ''"
@
click=
"handleSearch1"
>
筛选
<i
:class=
"searchState ? 'el-icon-caret-top' : 'el-icon-caret-bottom'"
></i></span>
<div
v-show=
"searchState"
ref=
"showContent"
class=
"search-main"
>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
行政等级
</span>
<div
class=
"item_ckquery"
>
<span
:class=
"
{color_text:
xzdjCalss
== ''}" @click="changeXZDJ('')">全部
</span>
<span
:class=
"
{color_text:
queryParams.uipExecutiveLevel
== ''}" @click="changeXZDJ('')">全部
</span>
<template
v-for=
"(item,index) in xzdj"
>
<span
:class=
"
{color_text:i
ndex+1 === xzdjCalss}" @click="changeXZDJ(index+1)">
{{
item
.
name
}}
</span>
<span
:class=
"
{color_text:i
tem == queryParams.uipExecutiveLevel}" @click="changeXZDJ(item)">
{{
item
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
城投业务类型
</span>
<div
class=
"item_ckquery"
>
<span>
全部
</span>
<
template
v-for=
"(item,index) in
typeList
"
>
<span>
{{
item
}}
</span>
<span
:class=
"{color_text:queryParams.uipBusinessType.length == 0}"
@
click=
"changeBeCurrent('','uipBusinessType')"
>
全部
</span>
<
template
v-for=
"(item,index) in
uipGroupDatalist.uipBusinessType
"
>
<span
:class=
"
{color_text:queryParams.uipBusinessType.includes(item)}" @click="changeBeCurrent(item,'uipBusinessType')"
>
{{
item
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
主体评级
</span>
<div
class=
"item_ckquery"
>
<span>
全部
</span>
<
template
v-for=
"(item,index) in
ztpj
"
>
<span>
{{
item
}}
</span>
<span
:class=
"{color_text:queryParams.bratingSubjectLevel.length == 0}"
@
click=
"changeBeCurrent('','bratingSubjectLevel')"
>
全部
</span>
<
template
v-for=
"(item,index) in
uipGroupDatalist.bratingSubjectLevel
"
>
<span
:class=
"
{color_text:queryParams.bratingSubjectLevel.includes(item)}" @click="changeBeCurrent(item,'bratingSubjectLevel')"
>
{{
item
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
股东背景
</span>
<div
class=
"item_ckquery"
>
<span>
全部
</span>
<
template
v-for=
"(item,index) in
gdbj
"
>
<span>
{{
item
}}
</span>
<span
:class=
"{color_text:queryParams.shareholderBg.length == 0}"
@
click=
"changeBeCurrent('','shareholderBg')"
>
全部
</span>
<
template
v-for=
"(item,index) in
uipGroupDatalist.shareholderBg
"
>
<span
:class=
"
{color_text:queryParams.shareholderBg.includes(item)}" @click="changeBeCurrent(item,'shareholderBg')"
>
{{
item
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
股权关系
</span>
<div
class=
"item_ckquery"
>
<span>
全部
</span>
<
template
v-for=
"(item,index) in
gqgx
"
>
<span>
{{
item
}}
</span>
<span
:class=
"{color_text:queryParams.equityRelationship.length == 0}"
@
click=
"changeBeCurrent('','equityRelationship')"
>
全部
</span>
<
template
v-for=
"(item,index) in
uipGroupDatalist.equityRelationship
"
>
<span
:class=
"
{color_text:queryParams.equityRelationship.includes(item)}" @click="changeBeCurrent(item,'equityRelationship')"
>
{{
item
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
平台重要性
</span>
<div
class=
"item_ckquery"
>
<span>
全部
</span>
<
template
v-for=
"(item,index) in
pt
"
>
<span>
{{
item
}}
</span>
<span
:class=
"{color_text:queryParams.platformImportance.length == 0}"
@
click=
"changeBeCurrent('','platformImportance')"
>
全部
</span>
<
template
v-for=
"(item,index) in
uipGroupDatalist.platformImportance
"
>
<span
:class=
"
{color_text:queryParams.platformImportance.includes(item)}" @click="changeBeCurrent(item,'platformImportance')"
>
{{
item
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
style=
"width: 78px;"
>
开发区类别
</span>
<span
class=
"wrap_label"
>
开发区类别
</span>
<div
class=
"item_ckquery"
>
<span>
全部
</span>
<span
:class=
"{color_text:queryParams.developmentZone.length == 0}"
@
click=
"changeBeCurrent('','developmentZone')"
>
全部
</span>
<
template
v-for=
"(item,index) in lfqType"
>
<span>
{{
item
}}
</span>
<span
:class=
"
{color_text:queryParams.developmentZone.includes(item)}" @click="changeBeCurrent(item,'developmentZone')"
>
{{
item
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
更多筛选
</span>
<div
class=
"item_ckquery"
>
<span
:class=
"addresslength>0?'select-active':''"
>
注册地区{{addresslength>0?(addresslength+'项'):''}}
</span>
<el-cascader
ref=
"address"
class=
"cascader-region"
popper-class=
'cascader-region-addd'
@
input=
"addressListbtn"
v-model=
"addressType"
:options=
"addressList"
:props=
"props"
collapse-tags
></el-cascader>
</div>
</div>
</div>
</div>
</template>
...
...
@@ -109,7 +109,8 @@
import
mixin
from
'../mixins/mixin'
import
dataRegion
from
'@/assets/json/dataRegion'
import
{
urbanInvestmentPage
urbanInvestmentPage
,
uipGroupData
}
from
'@/api/detail/party-a/urbanLnvestment'
export
default
{
name
:
'SameRegion'
,
...
...
@@ -122,12 +123,22 @@ export default {
queryParams
:
{
provinceId
:
500000
,
cityId
:
500100
,
uipExecutiveLevel
:
''
,
uipBusinessType
:
[],
bratingSubjectLevel
:
[],
shareholderBg
:
[],
equityRelationship
:
[],
platformImportance
:
[],
developmentZone
:
[],
pageNum
:
1
,
pageSize
:
15
},
forData
:
[
{
label
:
'企业名称'
,
prop
:
'companyName'
,
width
:
'369'
,
slot
:
true
},
{
label
:
'区域'
,
prop
:
'area'
,
width
:
'100'
},
{
label
:
'招标数量'
,
prop
:
'biddingCount'
,
width
:
'100'
,
sortable
:
true
},
{
label
:
'城投拿地'
,
prop
:
'landInfoCount'
,
width
:
'100'
,
sortable
:
true
},
{
label
:
'供应商'
,
prop
:
'supplierCount'
,
width
:
'100'
,
sortable
:
true
},
{
label
:
'主体评级'
,
prop
:
'bratingSubjectLevel'
,
width
:
'110'
},
{
label
:
'债劵余额(亿元)'
,
prop
:
'bondBalance'
,
width
:
'130'
},
{
label
:
'行政级别'
,
prop
:
'uipExecutiveLevel'
,
width
:
'120'
},
...
...
@@ -153,22 +164,9 @@ export default {
],
formData
:
[
{
type
:
0
,
fieldName
:
'penalizeReasonType'
,
value
:
''
,
placeholder
:
'筛选'
,
options
:
[]},
{
type
:
3
,
fieldName
:
'keys'
,
value
:
''
,
placeholder
:
'请输入关键词'
,
options
:
[]},
],
xzdj
:[
{
name
:
'省级'
,
key
:
1
,
},
{
name
:
'地级市'
,
key
:
2
,
},
{
name
:
'区县级'
,
key
:
3
,
}
{
type
:
3
,
fieldName
:
'keyword'
,
value
:
''
,
placeholder
:
'请输入关键词'
,
options
:
[]},
],
xzdj
:[
'省级'
,
'地级市'
,
'区县级'
],
selected
:[],
xzdjCalss
:
''
,
typeList
:[
'土地开发整理'
,
'基础设施建设'
,
'棚改保障房建设'
,
'公用事业'
,
'文化旅游'
,
'交通建设运营'
,
'产投平台'
],
...
...
@@ -185,6 +183,7 @@ export default {
addressType
:
[],
addresslength
:
0
,
searchState
:
false
,
uipGroupDatalist
:[],
//列表
tableLoading
:
false
,
tableData
:[],
...
...
@@ -193,6 +192,7 @@ export default {
},
created
()
{
this
.
handleQuery
()
this
.
getScreen
()
},
computed
:
{
...
...
@@ -250,8 +250,8 @@ export default {
}
this
.
addressList
=
str
;
},
handleSearch
(
event
){
// 筛选
handleSearch
1
(
event
){
// this.searchState=!this.searchState;
let
dom
=
this
.
$refs
.
showContent
;
if
(
!
dom
.
contains
(
event
.
target
))
{
...
...
@@ -259,8 +259,43 @@ export default {
document
.
removeEventListener
(
'click'
,
this
.
handleSearch
);
}
},
// 请求筛选条件
getScreen
(){
uipGroupData
().
then
(
res
=>
{
this
.
uipGroupDatalist
=
res
.
data
})
},
changeXZDJ
(
index
)
{
this
.
xzdjCalss
=
index
;
this
.
queryParams
.
uipExecutiveLevel
=
index
;
this
.
changes
()
},
changeBeCurrent
(
index
,
name
)
{
if
(
index
){
let
i
=
this
.
queryParams
[
name
].
indexOf
(
index
)
if
(
i
==
-
1
){
this
.
queryParams
[
name
].
push
(
index
);
}
else
{
this
.
queryParams
[
name
].
splice
(
i
,
1
);
}
}
else
{
this
.
queryParams
[
name
]
=
[]
}
this
.
changes
()
this
.
$forceUpdate
();
},
changes
(){
let
params
=
this
.
formParams
()
params
.
pageNum
=
1
this
.
queryParams
.
pageNum
=
1
params
.
uipExecutiveLevel
=
this
.
queryParams
.
uipExecutiveLevel
params
.
uipBusinessType
=
this
.
queryParams
.
uipBusinessType
params
.
bratingSubjectLevel
=
this
.
queryParams
.
bratingSubjectLevel
params
.
shareholderBg
=
this
.
queryParams
.
shareholderBg
params
.
equityRelationship
=
this
.
queryParams
.
equityRelationship
params
.
platformImportance
=
this
.
queryParams
.
platformImportance
params
.
developmentZone
=
this
.
queryParams
.
developmentZone
this
.
handleQuery
(
params
)
},
addressListbtn
()
{
let
arr
=
this
.
$refs
.
address
.
getCheckedNodes
();
...
...
@@ -290,7 +325,50 @@ export default {
this
.
tableDataTotal
=
res
.
data
.
totalCount
this
.
tableLoading
=
false
})
},
//排序
sortChange
(
e
){
if
(
e
.
order
==
'ascending'
){
this
.
queryParams
.
field
=
e
.
prop
this
.
queryParams
.
order
=
'asc'
}
else
if
(
e
.
order
==
'descending'
){
this
.
queryParams
.
field
=
e
.
prop
this
.
queryParams
.
order
=
'desc'
}
else
{
delete
this
.
queryParams
.
field
delete
this
.
queryParams
.
order
}
this
.
handleSearch
();
},
// attr 参数表示当前点击的是哪一列,传进来的是点击列的标识
// rev 参数表示的是点击当前列表头之后是升序降序或者null,三种值分别是['ascending', 'descending', null]
sortFun
(
attr
,
rev
){
if
(
rev
===
'ascending'
)
{
rev
=
1
}
else
if
(
rev
===
'descending'
)
{
rev
=
-
1
}
else
{
rev
=
0
}
return
function
(
x
,
y
)
{
let
a
=
x
[
attr
]
let
b
=
y
[
attr
]
if
(
!
a
)
{
a
=
""
}
if
(
!
b
)
{
b
=
""
}
if
(
a
<
b
)
{
return
rev
*
-
1
}
if
(
a
>
b
)
{
return
rev
*
1
}
return
0
}
}
}
}
</
script
>
...
...
@@ -304,10 +382,26 @@ export default {
}
.search-box
{
display
:
inline-block
;
margin-right
:
32px
;
/*cursor: pointer;*/
color
:
#232323
;
position
:
relative
;
.search-box-t
{
font-size
:
14px
;
font-weight
:
400
;
line-height
:
32px
;
color
:
#232323
;
margin-right
:
8px
;
cursor
:
pointer
;
i
{
color
:rgba
(
35
,
35
,
35
,
0
.4
)
;
margin-left
:
5px
}
}
.search-box-ta
{
color
:
#0081FF
;
i
{
color
:
#0081FF
;
}
}
.search-main
{
background
:
#ffffff
;
box-shadow
:
0px
4px
10px
0px
rgba
(
0
,
0
,
0
,
0
.1
);
...
...
@@ -331,11 +425,13 @@ export default {
}
.item_ckquery
{
position
:
relative
;
flex
:
1
;
span
{
color
:
#232323
;
padding
:
5px
12
px
;
padding
:
5px
6
px
;
display
:
inline-block
;
cursor
:
pointer
;
margin-right
:
8px
;
}
.color_text
{
background
:
#F3F4F5
;
...
...
dsk-operate-ui/src/views/project/projectList/component/xgqy.vue
View file @
26fe8fee
...
...
@@ -5,19 +5,19 @@
<div
class=
"cardtitles"
>
相关企业
</div>
<div
class=
"searchbtns"
>
<el-select
class=
"select"
placeholder=
"企业类型"
>
<el-select
placeholder=
"请选择"
>
<el-select
placeholder=
"请选择"
v-model=
"searchParam.companyType"
>
<el-option
v-for=
"(item,index) in companytype"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-select>
<div
class=
"searchInput"
>
<el-input
type=
"text"
placeholder=
"输入关键词查询"
></el-input>
<div
class=
"btn"
>
搜索
</div>
<el-input
type=
"text"
placeholder=
"输入关键词查询"
v-model=
"searchParam.companyName"
></el-input>
<div
class=
"btn"
@
click=
"handleCurrentChange(1)"
>
搜索
</div>
</div>
<div
class=
"btn btn_primary h32 b3"
@
click=
"opennew"
><div
class=
"img img1"
></div>
添加相关企业
</div>
</div>
<div
class=
"document"
>
<el-table
:data=
"tableData"
:data=
"tableData
.rows
"
style=
"width: 100%"
>
<template
slot=
"empty"
>
...
...
@@ -29,26 +29,26 @@
</div>
</
template
>
<el-table-column
prop=
"
dat
e"
prop=
"
companyNam
e"
label=
"企业名称"
>
<
template
slot-scope=
"scope"
>
<div
class=
"wordprimary"
>
集团投标常用资料
</div>
<div
class=
"wordprimary"
>
{{
scope
.
row
.
companyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"
name
"
label=
"对接深度"
prop=
"
depth
"
label=
"对接深度
/竞争力度
"
>
</el-table-column>
<el-table-column
prop=
"
nam
e"
prop=
"
companyRol
e"
label=
"企业角色"
sortable
width=
""
>
</el-table-column>
<el-table-column
prop=
"
name
"
prop=
"
responsiblePerson
"
label=
"负责人"
width=
""
>
</el-table-column>
...
...
@@ -59,21 +59,21 @@
width=
""
>
<
template
slot-scope=
"scope"
>
<div
class=
"hoverbtn"
>
<div
class=
"sc"
>
删除
</div>
<div
class=
"sc"
@
click=
"delQY(scope.row.id)"
>
删除
</div>
</div>
</
template
>
</el-table-column>
</el-table>
<div
class=
"tables"
>
<div
class=
"tables"
v-if=
"tableData.total > searchParam.pageSize"
>
<div
class=
"bottems"
>
<el-pagination
background
:page-size=
"
20
"
:current-page=
"
1
"
:page-size=
"
searchParam.pageSize
"
:current-page=
"
searchParam.pageNum
"
@
current-change=
"handleCurrentChange"
layout=
"prev, pager, next"
:total=
"
1000
"
>
:total=
"
tableData.total
"
>
</el-pagination>
</div>
</div>
...
...
@@ -87,12 +87,12 @@
<span>
新建相关企业
</span>
</div>
<div
class=
"types"
>
<div
v-for=
"(item,index) in companytype"
:class=
"{'on':types==item.dictValue}"
@
click=
"t
ypes=item.dictLabel
"
><i></i>
{{item.dictLabel}}
</div>
<div
v-for=
"(item,index) in companytype"
:class=
"{'on':types==item.dictValue}"
@
click=
"t
otype(item.dictValue)
"
><i></i>
{{item.dictLabel}}
</div>
</div>
<div
class=
"popform"
>
<div
class=
"popbot"
style=
"padding-right: 0"
>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel"
>
返回
</div>
<div
class=
"btn btn_primary h32"
@
click=
"
hzhbVisible=tru
e"
>
下一步
</div>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel
(0)
"
>
返回
</div>
<div
class=
"btn btn_primary h32"
@
click=
"
gettyp
e"
>
下一步
</div>
</div>
</div>
</el-dialog>
...
...
@@ -105,29 +105,23 @@
<span>
新建相关企业-{{types}}
</span>
</div>
<el-form
class=
"popform i"
label-width=
"85px"
:rules=
"rules"
ref=
"ruleForm"
>
<el-form-item
label=
"企业名称:"
prop=
"projectName"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
v-if=
"types == companytype[0].dictValue"
label=
"对接深度:"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
v-if=
"types == companytype[1].dictValue"
label=
"合作阶段:"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
<el-form-item
label=
"企业名称:"
prop=
"companyName"
class=
"row"
>
<el-input
type=
"text"
v-model=
"queryParam.companyName"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
v-if=
"types == companytype[2].dictValue"
label=
"竞争力度:
"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
<el-form-item
:label=
"typename
"
class=
"row"
>
<el-input
type=
"text"
v-model=
"queryParam.depth"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
label=
"企业角色:"
class=
"row"
>
<el-select
placeholder=
"请选择"
>
<el-select
placeholder=
"请选择"
v-model=
"queryParam.companyRole"
>
<el-option
v-for=
"(item,index) in companyrole"
:key=
"index"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"负责人:"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
<el-input
type=
"text"
v-model=
"queryParam.responsiblePerson"
placeholder=
"请输入"
></el-input>
</el-form-item>
<div
class=
"popbot"
>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel"
>
返回
</div>
<div
class=
"btn btn_primary h32"
>
添加
</div>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel
(1)
"
>
返回
</div>
<div
class=
"btn btn_primary h32"
@
click=
"addqy"
>
添加
</div>
</div>
</el-form>
</el-dialog>
...
...
@@ -169,12 +163,29 @@
address
:
'上海市普陀区金沙江路 1516 弄'
}
],
typelist
:[
'对接深度:'
,
'合作阶段:'
,
'竞争力度:'
],
typename
:
""
,
rules
:{
project
Name
:[{
required
:
true
,
message
:
'请输入非空格字符!'
,
trigger
:
'blur'
},],
company
Name
:[{
required
:
true
,
message
:
'请输入非空格字符!'
,
trigger
:
'blur'
},],
},
companytype
:[],
companyrole
:[],
queryParam
:{
businessId
:
this
.
$route
.
query
.
id
,
companyId
:
''
,
companyName
:
''
,
companyRole
:
''
,
companyType
:
''
,
responsiblePerson
:
''
,
depth
:
''
,
},
searchParam
:{
pageSize
:
20
,
pageNum
:
1
,
businessId
:
this
.
$route
.
query
.
id
,
companyType
:
""
,
companyName
:
''
,
},
}
},
created
(){
...
...
@@ -189,16 +200,59 @@
})
},
methods
:{
delQY
(
id
){
},
addqy
(){
addXGQY
(
this
.
queryParam
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
$message
.
success
(
'添加成功!'
)
this
.
getlist
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
},
getlist
(){
getXGQY
(
this
.
searchParam
).
then
(
result
=>
{
this
.
tableData
=
result
.
data
})
},
//翻页
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
searchParam
.
pageNum
=
val
this
.
getlist
()
},
cancel
(){
cancel
(
type
){
if
(
type
==
0
)
this
.
dialogVisible
=
false
else
this
.
hzhbVisible
=
false
},
totype
(
value
){
this
.
types
=
value
},
gettype
(){
this
.
queryParam
.
companyType
=
this
.
types
this
.
companytype
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
dictValue
==
this
.
types
){
this
.
typename
=
this
.
typelist
[
index
]
}
})
this
.
hzhbVisible
=
true
},
//打开新建窗口
opennew
(){
this
.
dialogVisible
=
true
this
.
queryParam
=
{
businessId
:
this
.
$route
.
query
.
id
,
companyId
:
''
,
companyName
:
''
,
companyRole
:
''
,
companyType
:
''
,
responsiblePerson
:
''
,
depth
:
''
,
}
},
}
}
...
...
dsk-operate-ui/src/views/project/projectList/component/xmsl.vue
View file @
26fe8fee
...
...
@@ -26,7 +26,7 @@
{{
xmjd
}}
<i
class=
"el-icon-caret-bottom"
></i>
</span>
<el-select
v-model=
"xmjd"
class=
"select-multiple"
placeholder=
"请选择"
@
c
lick
=
"editXMSL(
{projectStage:xmjd})">
<el-select
v-model=
"xmjd"
class=
"select-multiple"
placeholder=
"请选择"
@
c
hange
=
"editXMSL(
{projectStage:xmjd})">
<el-option
v-for=
"(item,index) in projectStage"
:key=
"index"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</div>
...
...
dsk-operate-ui/vue.config.js
View file @
26fe8fee
...
...
@@ -35,6 +35,8 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://122.9.160.122:9011`
,
// target: `http://192.168.60.126:9011`,
// target: `http://192.168.60.27:8766`,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
dsk-system/src/main/java/com/dsk/system/domain/BusinessIdDto.java
View file @
26fe8fee
...
...
@@ -19,4 +19,9 @@ public class BusinessIdDto {
* 项目标签名称
*/
private
String
label
;
/**
* 文件路径
*/
private
String
folderPath
;
}
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