Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
2b8622dd
提交
2b8622dd
authored
4月 07, 2020
作者:
thy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
选项修改
上级
4e6cf3b4
隐藏空白字符变更
内嵌
并排
正在显示
33 个修改的文件
包含
429 行增加
和
452 行删除
+429
-452
912功能文档-crs.docx
912功能文档-crs.docx
+0
-0
config.js
config.js
+1
-1
package-lock.json
package-lock.json
+30
-11
UnDependence.vue
src/components/UnDependenceDispose/UnDependence.vue
+4
-6
imgs.vue
src/components/XCalliance/XCalliance/imgs.vue
+0
-2
dynamicList.vue
src/components/XCalliance/dynamicList/dynamicList.vue
+1
-2
company.vue
src/components/admittance/company/company.vue
+1
-2
product.vue
src/components/admittance/product/product.vue
+1
-2
technical.vue
src/components/admittance/technical/technical.vue
+1
-2
homeDetailcopy.vue
src/components/assessment/homeDetailcopy.vue
+3
-0
company.vue
src/components/basicInformation/company/company.vue
+1
-2
person.vue
src/components/basicInformation/person/person.vue
+2
-4
product.vue
src/components/basicInformation/product/product.vue
+1
-2
authority.vue
src/components/basicInformation/role/authority.vue
+29
-19
role.vue
src/components/basicInformation/role/role.vue
+1
-2
complaint.vue
src/components/complaint/complaint/complaint.vue
+1
-2
complaintManagement.vue
...nts/complaint/complaintManagement/complaintManagement.vue
+1
-2
evaluationReport.vue
src/components/evaluationReport/evaluationReport.vue
+40
-45
header.vue
src/components/header/header.vue
+20
-8
home.vue
src/components/home/home.vue
+45
-81
PC.png
src/components/home/img/PC.png
+0
-0
dynamicList.vue
src/components/integration/dynamicList/dynamicList.vue
+1
-2
keyTechnology.vue
src/components/keyTechnology/keyTechnology.vue
+1
-2
parameterConfiguration.vue
...ponents/parameterConfiguration/parameterConfiguration.vue
+1
-8
document.vue
src/components/projectManagement/document/document.vue
+1
-1
projectManagement.vue
...omponents/projectManagement/project/projectManagement.vue
+1
-2
projectDetails.vue
...nents/projectManagement/projectDetails/projectDetails.vue
+1
-1
projectInformation.vue
...ojectManagement/projectInformation/projectInformation.vue
+16
-8
reportAssess.vue
src/components/reportAssess/reportAssess.vue
+120
-106
addRole.vue
src/components/roleDispose/addRole.vue
+2
-2
roleDispose.vue
src/components/roleDispose/roleDispose.vue
+2
-3
sidebar.vue
src/components/sidebar/sidebar.vue
+65
-84
server.js
src/services/server.js
+35
-38
没有找到文件。
912功能文档-crs.docx
0 → 100644
浏览文件 @
2b8622dd
File added
config.js
浏览文件 @
2b8622dd
...
...
@@ -4,7 +4,7 @@
// 服务地址
const
IP
=
'http://120.55.57.35'
;
// 刘杰
// const IP = 'http://
localhost
'; // 刘杰
// const IP = 'http://
192.168.0.114
'; // 刘杰
// 请求目标服务器域名配置
const
DOMAIN_NAME
=
{
...
...
package-lock.json
浏览文件 @
2b8622dd
...
...
@@ -5261,7 +5261,8 @@
"ansi-regex"
:
{
"version"
:
"2.1.1"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"aproba"
:
{
"version"
:
"1.2.0"
,
...
...
@@ -5282,12 +5283,14 @@
"balanced-match"
:
{
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"brace-expansion"
:
{
"version"
:
"1.1.11"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"balanced-match"
:
"^1.0.0"
,
"concat-map"
:
"0.0.1"
...
...
@@ -5302,17 +5305,20 @@
"code-point-at"
:
{
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"concat-map"
:
{
"version"
:
"0.0.1"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"console-control-strings"
:
{
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"core-util-is"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -5429,7 +5435,8 @@
"inherits"
:
{
"version"
:
"2.0.4"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"ini"
:
{
"version"
:
"1.3.5"
,
...
...
@@ -5441,6 +5448,7 @@
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"number-is-nan"
:
"^1.0.0"
}
...
...
@@ -5455,6 +5463,7 @@
"version"
:
"3.0.4"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"brace-expansion"
:
"^1.1.7"
}
...
...
@@ -5462,12 +5471,14 @@
"minimist"
:
{
"version"
:
"0.0.8"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"minipass"
:
{
"version"
:
"2.9.0"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"safe-buffer"
:
"^5.1.2"
,
"yallist"
:
"^3.0.0"
...
...
@@ -5486,6 +5497,7 @@
"version"
:
"0.5.1"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"minimist"
:
"0.0.8"
}
...
...
@@ -5575,7 +5587,8 @@
"number-is-nan"
:
{
"version"
:
"1.0.1"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"object-assign"
:
{
"version"
:
"4.1.1"
,
...
...
@@ -5587,6 +5600,7 @@
"version"
:
"1.4.0"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"wrappy"
:
"1"
}
...
...
@@ -5672,7 +5686,8 @@
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"safer-buffer"
:
{
"version"
:
"2.1.2"
,
...
...
@@ -5708,6 +5723,7 @@
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"code-point-at"
:
"^1.0.0"
,
"is-fullwidth-code-point"
:
"^1.0.0"
,
...
...
@@ -5727,6 +5743,7 @@
"version"
:
"3.0.1"
,
"bundled"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^2.0.0"
}
...
...
@@ -5770,12 +5787,14 @@
"wrappy"
:
{
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
"yallist"
:
{
"version"
:
"3.1.1"
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
}
}
},
...
...
src/components/UnDependenceDispose/UnDependence.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
未知依赖配置
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -71,7 +70,7 @@ export default {
tableData
:
[],
tablePageSize
:
0
,
myPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
pageSize
:
9
,
// 每页个数
openModel
:
false
,
components
:
''
,
technologyId
:
'内部依赖(未知)'
,
...
...
@@ -89,7 +88,7 @@ export default {
technologyName
:
this
.
technologyId
,
target
:
this
.
input2
}
this
.
$server
.
getConfigPageList
(
this
.
myPage
,
8
,
obj
).
then
(
res
=>
{
this
.
$server
.
getConfigPageList
(
this
.
myPage
,
this
.
pageSize
,
obj
).
then
(
res
=>
{
console
.
log
(
res
);
this
.
tableData
=
res
.
data
.
objects
;
this
.
tablePageSize
=
res
.
data
.
totalElement
;
...
...
@@ -100,7 +99,7 @@ export default {
let
obj
=
{
technologyName
:
this
.
technologyId
}
this
.
$server
.
getConfigPageList
(
this
.
myPage
,
8
,
obj
).
then
(
res
=>
{
this
.
$server
.
getConfigPageList
(
this
.
myPage
,
this
.
pageSize
,
obj
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
objects
;
this
.
tablePageSize
=
res
.
data
.
totalElement
;
});
...
...
@@ -245,4 +244,4 @@ export default {
background-color
:
#ffffff
;
color
:
#4877e6
;
}
</
style
>
\ No newline at end of file
</
style
>
src/components/XCalliance/XCalliance/imgs.vue
浏览文件 @
2b8622dd
...
...
@@ -28,7 +28,6 @@ export default {
created
()
{
},
mounted
(){
this
.
imgload
();
window
.
addEventListener
(
'resize'
,()
=>
{
this
.
height
=
this
.
$refs
.
height
[
0
].
height
;
this
.
imgload
();
...
...
@@ -38,7 +37,6 @@ export default {
imgload
()
{
this
.
$nextTick
(()
=>
{
this
.
height
=
this
.
$refs
.
height
[
0
].
height
;
console
.
log
(
this
.
$refs
.
height
[
0
].
height
);
})
}
},
...
...
src/components/XCalliance/dynamicList/dynamicList.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
最新动态
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -76,7 +75,7 @@ export default {
return
{
searchVal
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
8
,
// 获取后台传的所有数据的长度
allData
:[
{
...
...
src/components/admittance/company/company.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
单位管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
单位名称:
</span>
...
...
@@ -78,7 +77,7 @@ export default {
return
{
totalLength
:
0
,
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
pageSize
:
9
,
// 每页个数
searchName
:
''
,
openModel
:
false
,
// 弹框开关
components
:
''
,
// 当前弹框内容
...
...
src/components/admittance/product/product.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
产品管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
产品名称:
</span>
...
...
@@ -95,7 +94,7 @@ export default {
return
{
totalLength
:
0
,
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
pageSize
:
9
,
// 每页个数
formValue
:
''
,
name
:
''
,
formList
:
[{
form
:
1
},{
form
:
2
},{
form
:
3
},{
form
:
4
},{
form
:
5
},{
form
:
6
}],
...
...
src/components/admittance/technical/technical.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
技术路线管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
技术路线名称:
</span>
...
...
@@ -88,7 +87,7 @@ export default {
data
()
{
return
{
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
openModel
:
false
,
// 弹框开关
components
:
''
,
// 当前弹框内容
...
...
src/components/assessment/homeDetailcopy.vue
浏览文件 @
2b8622dd
...
...
@@ -1645,6 +1645,9 @@ export default {
e
===
this
[
objKey
][
objName
]
?
(
this
[
objKey
][
objName
]
=
""
)
:
(
this
[
objKey
][
objName
]
=
e
);
if
(
objKey
===
'browser'
&&
objName
!==
'plugInUnit'
){
this
.
browser
.
plugInUnit
=
1
}
},
addZip
(
name
,
file
,
git
)
{
this
.
loading
=
false
;
...
...
src/components/basicInformation/company/company.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
单位管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
单位名称:
</span>
...
...
@@ -94,7 +93,7 @@ export default {
return
{
totalLength
:
0
,
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
pageSize
:
9
,
// 每页个数
searchName
:
''
,
openModel
:
false
,
// 弹框开关
components
:
''
,
// 当前弹框内容
...
...
src/components/basicInformation/person/person.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
人员管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
姓名:
</span>
...
...
@@ -94,7 +93,7 @@ export default {
data
()
{
return
{
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
openModel
:
false
,
// 弹框开关
components
:
''
,
// 当前弹框内容
...
...
@@ -133,9 +132,8 @@ export default {
}
let
val
=
{
name
:
'基础资料管理'
,
index
:
11
,
childPath
:
'person'
,
child
Index
:
2
child
Name
:
'人员管理'
}
this
.
$store
.
commit
(
'changeJumpOther'
,
val
);
this
.
init
()
...
...
src/components/basicInformation/product/product.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
产品管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
产品名称:
</span>
...
...
@@ -111,7 +110,7 @@ export default {
return
{
totalLength
:
0
,
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
pageSize
:
9
,
// 每页个数
formValue
:
''
,
name
:
''
,
formList
:
[{
form
:
1
},{
form
:
2
},{
form
:
3
},{
form
:
4
},{
form
:
5
},{
form
:
6
}],
...
...
src/components/basicInformation/role/authority.vue
浏览文件 @
2b8622dd
...
...
@@ -14,14 +14,19 @@
<span>
角色权限:
</span>
<span
style=
"margin-left: 180px;"
>
<span
class=
"selected"
@
click=
"selected"
>
<span
class=
"img"
></span>
<span
class=
"val"
>
全选
</span>
</span>
</span>
</p>
<p
class=
"authorityList"
>
<span
v-for=
"(item,index) of authority"
@
click=
"clickList(index,item)"
><span
class=
"author"
></span>
{{
item
.
name
}}
</span>
</p>
<div
class=
"authorityAll"
>
<el-scrollbar
style=
"height: 100%"
>
<p
class=
"authorityList"
>
<span
v-for=
"(item,index) of authority"
@
click=
"clickList(index,item)"
>
<span
class=
"author"
></span>
{{
item
.
name
}}
</span>
</p>
</el-scrollbar>
</div>
</div>
<p
class=
"line"
></p>
<p
class=
"buttonClick"
>
...
...
@@ -66,8 +71,16 @@ export default {
}
setTimeout
(()
=>
{
for
(
let
item
of
this
.
allAuthority
)
{
let
val
=
'.authorityList>span:nth('
+
(
item
-
1
)
+
')'
;
$
(
val
).
addClass
(
'authorityListClick'
)
for
(
let
arr
of
this
.
authority
)
{
if
(
item
===
arr
.
id
)
{
for
(
let
i
=
0
;
i
<
$
(
'.authorityList>span'
).
length
;
i
++
)
{
if
(
$
(
'.authorityList>span'
)[
i
].
innerText
===
arr
.
name
)
{
let
val
=
'.authorityList>span:nth('
+
i
+
')'
;
$
(
val
).
addClass
(
'authorityListClick'
)
}
}
}
}
}
},
300
)
...
...
@@ -120,7 +133,6 @@ export default {
if
(
this
.
clickAll
===
false
)
{
$
(
'.selected'
).
addClass
(
'selectedClick'
);
$
(
'.authorityList>span'
).
addClass
(
'authorityListClick'
);
$
(
'.selected .img'
).
addClass
(
'noClick'
)
$
(
'.val'
).
html
(
'全不选'
)
this
.
allAuthority
=
[];
for
(
let
item
of
this
.
authority
)
{
...
...
@@ -128,7 +140,6 @@ export default {
}
this
.
clickAll
=
true
;
}
else
{
$
(
'.selected .img'
).
removeClass
(
'noClick'
)
$
(
'.selected'
).
removeClass
(
'selectedClick'
);
$
(
'.val'
).
html
(
'全选'
)
this
.
allAuthority
=
[];
...
...
@@ -199,27 +210,23 @@ export default {
cursor
:
pointer
;
color
:
#4877e6
;
}
.authority
.img
{
display
:
inline-block
;
width
:
19px
;
height
:
19px
;
background
:
url("./img/selected.png")
;
}
.authority
.noClick
{
background
:
url("./img/selectedN.png")
;
.authority
.authorityAll
{
width
:
340px
;
height
:
160px
;
margin
:
10px
0
0
305px
;
text-align
:
center
;
}
.authority
.authorityList
{
width
:
280px
;
display
:
flex
;
flex-wrap
:
wrap
;
margin
:
10px
0
0
305px
;
}
.authority
.authorityList
>
span
{
margin-left
:
25px
;
margin-top
:
10px
;
display
:
inline-block
;
width
:
1
0
0px
;
width
:
1
4
0px
;
cursor
:
pointer
;
text-align
:
left
;
}
.authority
.author
{
margin-right
:
5px
;
...
...
@@ -232,4 +239,7 @@ export default {
.authority
.authorityListClick
>
span
{
background
:
url("./img/click.png")
;
}
.authority
.authorityAll
>>>
.el-scrollbar__wrap
{
overflow-x
:
hidden
;
}
</
style
>
src/components/basicInformation/role/role.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
角色管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -74,7 +73,7 @@ export default {
return
{
searchVal
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
openModel
:
false
,
// 弹框开关
components
:
''
,
// 当前弹框内容
...
...
src/components/complaint/complaint/complaint.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
意见建议
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -88,7 +87,7 @@ export default {
return
{
searchVal
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
allData
:[]
// 列表内容
}
...
...
src/components/complaint/complaintManagement/complaintManagement.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
投诉管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -89,7 +88,7 @@ export default {
return
{
searchVal
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
allData
:[]
// 列表内容
}
...
...
src/components/evaluationReport/evaluationReport.vue
浏览文件 @
2b8622dd
...
...
@@ -4,7 +4,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
评估报告管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -67,13 +66,13 @@
<
script
>
import
$
from
'jquery'
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
export
default
{
data
()
{
return
{
searchVal
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
allData
:[]
// 列表内容
}
...
...
@@ -86,7 +85,14 @@ export default {
methods
:
{
add
(){
console
.
log
(
this
.
$store
.
state
.
userData
.
userName
)
this
.
$router
.
push
({
name
:
'assessmentReport'
,
query
:
{
username
:
this
.
$store
.
state
.
userData
.
userName
,
authority
:
this
.
$store
.
state
.
userData
.
type
,
id
:
null
,
}
});
// let Logistics= this.$router.resolve({
// path:'/assessmentReport',
// query:{
...
...
@@ -96,23 +102,15 @@ export default {
// }
// })
// window.open(Logistics.href)
this
.
$router
.
push
({
name
:
"assessmentReport"
,
query
:
{
username
:
this
.
$store
.
state
.
userData
.
userName
,
authority
:
this
.
$store
.
state
.
userData
.
type
,
id
:
null
,
}
});
},
// 初始请求
init
()
{
var
username
=
''
if
(
this
.
$store
.
state
.
userData
.
userName
!
=
'admin'
){
username
=
this
.
$store
.
state
.
userData
.
userName
let
username
=
''
if
(
this
.
$store
.
state
.
userData
.
userName
!=
=
'admin'
){
username
=
this
.
$store
.
state
.
userData
.
userName
}
let
val
=
{
'username'
:
username
,
'username'
:
username
,
'projectName'
:
this
.
searchVal
,
}
this
.
$server
.
getEvaluationList
(
this
.
currentPage
,
this
.
pagesize
,
val
).
then
(
res
=>
{
...
...
@@ -145,6 +143,11 @@ export default {
evaluation
(
row
)
{
console
.
log
(
row
)
console
.
log
(
this
.
$store
.
state
.
userData
)
this
.
$router
.
push
({
name
:
'assessmentReport'
,
query
:
{
username
:
row
.
username
,
id
:
row
.
id
,
authority
:
this
.
$store
.
state
.
userData
.
type
}})
// // return
// let Logistics= this.$router.resolve({
// path:'/assessmentReport',
...
...
@@ -155,15 +158,11 @@ export default {
// }
// })
// window.open(Logistics.href)
this
.
$router
.
push
({
name
:
'assessmentReport'
,
query
:
{
username
:
row
.
username
,
id
:
row
.
id
,
authority
:
this
.
$store
.
state
.
userData
.
type
}})
// this.$router.push({name: 'complaintManagementDetail',params:{'value': row}});
},
// 报告
report
(
row
)
{
console
.
log
(
row
)
// console.log(row)
// let Logistics= this.$router.resolve({
// path:'/reportAssess',
...
...
@@ -174,11 +173,11 @@ export default {
// }
// })
// window.open(Logistics.href)
this
.
$router
.
push
({
name
:
'reportAssess'
,
query
:
{
this
.
$router
.
push
({
name
:
'reportAssess'
,
query
:
{
username
:
row
.
username
,
id
:
row
.
id
,
authority
:
this
.
$store
.
state
.
userData
.
type
,
}})
}})
},
// 删除
del
(
row
)
{
...
...
@@ -207,33 +206,29 @@ export default {
},
// 时间换算
time
(
value
)
{
// console.log(timestamp)
// value = value.replace(/-/g, '/').replace('T', ' ').replace('.000+0000', '')
if
(
value
!==
undefined
&&
value
!==
null
)
{
let
date
=
new
Date
(
value
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
var
day
=
moment
(
value
).
format
(
'YYYY-MM-DD HH:mm:ss'
);
var
day2
=
moment
(
day
).
utc
().
format
()
// console.log(day)
// console.log(timestamp.length)
return
day
}
else
{
return
''
}
value
=
value
.
replace
(
/-/g
,
'/'
).
replace
(
'T'
,
' '
).
replace
(
'.000+0000'
,
''
)
if
(
value
!==
undefined
&&
value
!==
null
)
{
let
date
=
new
Date
(
value
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
let
day
=
moment
(
value
).
format
(
'YYYY-MM-DD HH:mm:ss'
);
let
day2
=
moment
(
day
).
utc
().
format
()
return
day
}
else
{
return
''
}
}
},
components
:
{
},
computed
:
{
listData
()
{
return
this
.
$store
.
state
.
routeClick
;
}
},
computed
:
{
listData
()
{
return
this
.
$store
.
state
.
routeClick
;
}
},
watch
:
{
'$store.state.routeClick'
:
function
(
newFlag
,
oldFlag
){
// 需要执行的代码
console
.
log
(
'vuex=========='
,
newFlag
,
oldFlag
)
}
'$store.state.routeClick'
:
function
(
newFlag
,
oldFlag
){
// 需要执行的代码
console
.
log
(
'vuex=========='
,
newFlag
,
oldFlag
)
}
}
}
</
script
>
...
...
src/components/header/header.vue
浏览文件 @
2b8622dd
...
...
@@ -29,7 +29,7 @@
<div
style=
"height: 40px;background: #fff;"
v-if=
" $route.name == 'assessmentReport'?false:$route.name == 'reportAssess'?false:$route.path == '/firstHome'?false:true"
>
<p
class=
"list"
>
<span
class=
"menuTitle goTitle"
@
click=
"go"
>
{{
sidebar
.
name
}}
</span>
<span
v-for=
"(item,index) of sidebar.menu"
:key=
"index"
class=
"listVal"
@
click=
"jump(item.path, index)"
>
<span
v-for=
"(item,index) of sidebar.menu"
:key=
"index"
class=
"listVal"
@
click=
"jump(item.path, index)"
v-if=
"getUserData.authorityCode.indexOf(item.code) !== -1"
>
<span>
{{
item
.
name
}}
</span>
<img
src=
"./img/line.png"
v-show=
"index !== sidebar.menu.length - 1"
>
</span>
...
...
@@ -105,7 +105,7 @@ export default {
}
},
computed
:
{
...
mapGetters
([
'getSidebar'
,
'getJumpOther'
])
...
mapGetters
([
'getSidebar'
,
'getJumpOther'
,
'getUserData'
])
},
components
:
{
},
...
...
@@ -113,8 +113,8 @@ export default {
'getSidebar'
:
{
// 监听侧边栏点击
handler
:
function
(
val
)
{
this
.
sidebar
=
val
;
if
(
val
.
path
!==
this
.
$store
.
getters
.
getNowPath
&&
val
.
menu
!==
undefined
)
{
// 判断是否显示首页
for
(
let
i
=
0
;
i
<
val
.
menu
.
length
;
i
++
)
{
//
没有显示首页,轮询子菜单对比名称
if
(
val
.
menu
!==
undefined
)
{
for
(
let
i
=
0
;
i
<
val
.
menu
.
length
;
i
++
)
{
//
当前页与子菜单进行对比
if
(
val
.
menu
[
i
].
path
===
this
.
$store
.
getters
.
getNowPath
)
{
// 判断子菜单path与当前path
$
(
'.listVal>span'
).
removeClass
(
'menuClick'
)
// 修改样式
$
(
'.menuTitle'
).
removeClass
(
'goTitle'
)
...
...
@@ -131,12 +131,18 @@ export default {
getJumpOther
:
{
handler
:
function
(
val
)
{
if
(
val
!==
''
)
{
let
index
;
for
(
let
i
=
0
;
i
<
$
(
'.sidebar div'
).
length
;
i
++
)
{
if
(
val
.
name
===
$
(
'.sidebar div'
)[
i
].
innerText
)
{
index
=
i
+
1
;
}
}
$
(
'.sidebar .menu'
).
removeClass
(
'click'
);
// 样式修改
$
(
'.sidebar .font'
).
removeClass
(
'fontClick'
);
$
(
'.sidebar .line'
).
removeClass
(
'lineClick'
);
let
menu
=
'.sidebar>div:nth-child('
+
val
.
index
+
') .menu'
;
let
font
=
'.sidebar>div:nth-child('
+
val
.
index
+
') .font'
;
let
line
=
'.sidebar>div:nth-child('
+
val
.
index
+
') .line'
;
let
menu
=
'.sidebar>div:nth-child('
+
index
+
') .menu'
;
let
font
=
'.sidebar>div:nth-child('
+
index
+
') .font'
;
let
line
=
'.sidebar>div:nth-child('
+
index
+
') .line'
;
$
(
menu
).
addClass
(
'click'
);
$
(
font
).
addClass
(
'fontClick'
);
$
(
line
).
addClass
(
'lineClick'
);
...
...
@@ -148,7 +154,13 @@ export default {
$
(
'.listVal>span'
).
removeClass
(
'menuClick'
)
// 修改样式
$
(
'.menuTitle'
).
removeClass
(
'goTitle'
)
setTimeout
(()
=>
{
// 新增样式,vux更新延迟,需要加延时
let
va
=
'.list>span:nth-child('
+
(
val
.
childIndex
+
2
)
+
')>span'
;
let
childIndex
;
for
(
let
i
=
0
;
i
<
$
(
'.listVal'
).
length
;
i
++
)
{
if
(
val
.
childName
===
$
(
'.listVal'
)[
i
].
innerText
)
{
childIndex
=
i
;
}
}
let
va
=
'.list>span:nth-child('
+
(
childIndex
+
2
)
+
')>span'
;
$
(
va
).
addClass
(
'menuClick'
)
this
.
$store
.
commit
(
'changeJumpOther'
,
''
);
},
50
)
...
...
src/components/home/home.vue
浏览文件 @
2b8622dd
...
...
@@ -4,91 +4,82 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"menu"
>
<p
class=
"bg"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000200') !== -1"
>
<img
src=
"./img/JD.png"
>
<span>
基地建设
</span>
</p>
<p
class=
"bg"
@
click=
"jump('XCalliance',
9,'XX联盟')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<p
class=
"bg"
@
click=
"jump('XCalliance',
'XX联盟')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000300') !== -
1"
>
<img
src=
"./img/XC.png"
>
<span>
XX联盟
</span>
</p>
<p
class=
"bg"
@
click=
"jump('integration',
10,'XXX一体化')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<p
class=
"bg"
@
click=
"jump('integration',
'XXX一体化')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000400') !== -
1"
>
<img
src=
"./img/ZQ.png"
>
<span>
XXX一体化
</span>
</p>
<p
class=
"bg"
@
click=
"jump('XCalliance',5,'XX联盟')"
v-if=
"this.$store.getters.getUserData.type !== 1"
>
<img
src=
"./img/XC.png"
>
<span>
XX联盟
</span>
</p>
<p
class=
"bg"
@
click=
"jump('integration',6,'XXX一体化')"
v-if=
"this.$store.getters.getUserData.type !== 1"
>
<img
src=
"./img/ZQ.png"
>
<span>
XXX一体化
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
@
click=
"jump('company',7,'国家名录')"
>
<p
class=
"bg"
@
click=
"jump('company','国家名录')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001500') !== -1"
>
<img
src=
"./img/GJ.png"
>
<span>
国家名录
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
@
click=
"jump('product',8,'市级名录')
"
>
<p
class=
"bg"
@
click=
"jump('product','市级名录')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001600') !== -1
"
>
<img
src=
"./img/SJ.png"
>
<span>
市级名录
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('company',11,'基础资料管理')
"
>
<p
class=
"bg"
@
click=
"jump('company','基础资料管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000500') !== -1
"
>
<img
src=
"./img/GJ.png"
>
<span>
基础资料管理
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('product',12,'市级准入管理')
"
>
<p
class=
"bg"
@
click=
"jump('product','市级准入管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000600') !== -1
"
>
<img
src=
"./img/SJ.png"
>
<span>
市级准入管理
</span>
</p>
<p
class=
"bg"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000700') !== -1"
>
<img
src=
"./img/KT.png"
>
<span>
课题攻关
</span>
</p>
</div>
<div
class=
"menu"
>
<p
class=
"bg"
@
click=
"jump('evaluationReport',
1,'评估报告管理')
"
>
<p
class=
"bg"
@
click=
"jump('evaluationReport',
'评估报告管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000800') !== -1
"
>
<img
src=
"./img/PG.png"
>
<span>
评估报告管理
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
@
click=
"jump('projectManagement',2,'我的项目')"
>
<p
class=
"bg"
@
click=
"otherJump"
>
<img
src=
"./img/PC.png"
>
<span>
评测报告管理
</span>
</p>
<p
class=
"bg"
@
click=
"jump('projectManagement','我的项目')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001800') !== -1"
>
<img
src=
"./img/WD.png"
>
<span>
我的项目
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('projectManagement',2,'项目管理')
"
>
<p
class=
"bg"
@
click=
"jump('projectManagement','项目管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000900') !== -1
"
>
<img
src=
"./img/WD.png"
>
<span>
项目管理
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
@
click=
"jump('complaint',3,'意见建议')
"
>
<p
class=
"bg"
@
click=
"jump('complaint','意见建议')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001900') !== -1
"
>
<img
src=
"./img/TS.png"
>
<span>
意见建议
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('complaintManagement',3,'投诉管理')
"
>
<p
class=
"bg"
@
click=
"jump('complaintManagement','投诉管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001000') !== -1
"
>
<img
src=
"./img/TS.png"
>
<span>
投诉管理
</span>
</p>
<p
class=
"blank"
></p>
<p
class=
"blank"
></p>
<p
class=
"blank"
></p>
</div>
<div
class=
"menu"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('keyTechnology',4,'关键技术管理')
"
>
<div
class=
"menu"
>
<p
class=
"bg"
@
click=
"jump('keyTechnology','关键技术管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001100') !== -1
"
>
<img
src=
"./img/GJJS.png"
>
<span>
关键技术管理
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('roleDispose',5,'规则配置')
"
>
<p
class=
"bg"
@
click=
"jump('roleDispose','规则配置')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001200') !== -1
"
>
<img
src=
"./img/GZ.png"
>
<span>
规则配置
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('parameterConfiguration',6,'参数配置')
"
>
<p
class=
"bg"
@
click=
"jump('parameterConfiguration','参数配置')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001300') !== -1
"
>
<img
src=
"./img/CS.png"
>
<span>
参数配置
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('UnDependence',7,'未知依赖配置')
"
>
<p
class=
"bg"
@
click=
"jump('UnDependence','未知依赖配置')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001400') !== -1
"
>
<img
src=
"./img/WZ.png"
>
<span>
未知依赖配置
</span>
</p>
<p
class=
"blank"
></p>
<p
class=
"blank"
></p>
</div>
</el-col>
</el-row>
...
...
@@ -96,36 +87,48 @@
</
template
>
<
script
>
import
$
from
'jquery'
;
export
default
{
data
()
{
return
{
}
},
created
()
{
},
mounted
(){
this
.
init
(
1
);
this
.
init
(
2
);
this
.
init
(
3
);
},
methods
:
{
// 页面布局
init
(
val
)
{
let
one
=
'.menu:nth-child('
+
val
+
')>p'
;
if
(
$
(
one
).
length
<
6
)
{
let
i
=
6
-
$
(
one
).
length
;
for
(
let
a
=
0
;
a
<
i
;
a
++
)
{
let
html
=
$
(
'<p class="blank"></p>'
);
let
other
=
'.menu:nth-child('
+
val
+
')'
;
$
(
other
).
append
(
html
)
$
(
'.blank'
).
css
(
'width'
,
'180px'
);
$
(
'.blank'
).
css
(
'height'
,
'180px'
);
}
}
},
// 跳转
jump
(
path
,
index
,
title
)
{
jump
(
path
,
title
)
{
let
val
=
{
name
:
path
,
index
:
index
,
title
:
title
}
this
.
$store
.
commit
(
'changeHomeClick'
,
val
);
// 传给导航进行样式定位和点击事件
this
.
$store
.
commit
(
'changeNowPath'
,
path
);
// 当前path传给header作比对
this
.
$router
.
push
({
name
:
path
});
},
// 跳转到其他页面
goOther
(
path
)
{
if
(
this
.
$store
.
getters
.
getUserData
.
type
!==
1
)
{
let
val
=
path
+
'?username='
+
this
.
$store
.
getters
.
getUserData
.
userName
+
'&authority=0'
;
window
.
open
(
val
);
}
else
if
(
this
.
$store
.
getters
.
getUserData
.
type
===
1
)
{
let
val
=
path
+
'?username='
+
this
.
$store
.
getters
.
getUserData
.
userName
+
'&authority=1'
;
window
.
open
(
val
);
}
// 链接到其他页面
otherJump
()
{
window
.
open
(
'http://120.55.57.35:8080/auto-test/#/AssessmentUser'
)
}
},
components
:
{
...
...
@@ -154,10 +157,6 @@ export default {
.firstHome
.bg
:hover
{
box-shadow
:
rgba
(
72
,
119
,
230
,
0.2
)
7px
7px
5px
;
}
.firstHome
.blank
{
width
:
170px
;
height
:
170px
;
}
.firstHome
.bg
>
img
{
margin-top
:
35px
;
height
:
67px
;
...
...
@@ -173,39 +172,4 @@ export default {
justify-content
:
space-between
;
margin-bottom
:
88px
;
}
.firstHome
.XC
{
margin
:
48px
0
32px
0
;
}
.firstHome
.XCmenu
{
display
:
flex
;
}
.firstHome
.XCmenu
>
p
{
width
:
328px
;
height
:
160px
;
line-height
:
160px
;
display
:
inline-block
;
background
:
#fff
;
text-align
:
center
;
font-size
:
18px
;
color
:
#333
;
position
:
relative
;
cursor
:
pointer
;
transition
:
all
0.5s
;
}
.firstHome
.XCmenu
>
p
:hover
{
background
:
rgba
(
228
,
231
,
237
,
0.7
);
border-radius
:
10px
;
}
.firstHome
.XCmenu
img
{
margin-right
:
15px
;
}
.firstHome
.XCmenu
.line
{
display
:
inline-block
;
position
:
absolute
;
top
:
15px
;
right
:
0px
;
height
:
130px
;
width
:
1px
;
background
:
#4877e6
;
}
</
style
>
src/components/home/img/PC.png
0 → 100644
浏览文件 @
2b8622dd
892 Bytes
src/components/integration/dynamicList/dynamicList.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
最新动态
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -76,7 +75,7 @@ export default {
return
{
searchVal
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
8
,
// 获取后台传的所有数据的长度
allData
:[
{
...
...
src/components/keyTechnology/keyTechnology.vue
浏览文件 @
2b8622dd
...
...
@@ -4,7 +4,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
关键技术管理
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -93,7 +92,7 @@ export default {
return
{
searchVal
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
allData
:[],
// 列表内容
openModel
:
false
,
// 弹框开关
...
...
src/components/parameterConfiguration/parameterConfiguration.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
人员信息
</p>
<p
class=
"buttonP"
@
click=
"change"
>
<span
class=
"button"
title=
"编辑"
><span></span></span>
</p>
...
...
@@ -159,14 +158,8 @@ export default {
background
:
#fff
;
overflow
:
hidden
;
}
.parameter
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
position
:
relative
;
}
.parameter
.content
.buttonP
{
padding
:
1
0px
70px
40px
0px
;
padding
:
3
0px
70px
40px
0px
;
text-align
:
right
;
}
.parameter
.content
.button
{
...
...
src/components/projectManagement/document/document.vue
浏览文件 @
2b8622dd
...
...
@@ -84,7 +84,7 @@ export default {
data
()
{
return
{
searchVal
:
''
,
allData
:
[
{
name
:
'1'
,
roleName
:
'123'
,
unitName
:
'1'
,
number
:
'1'
}
],
allData
:
[],
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
totalLength
:
0
,
// 获取后台传的所有数据的长度
...
...
src/components/projectManagement/project/projectManagement.vue
浏览文件 @
2b8622dd
...
...
@@ -4,7 +4,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
{{
pageName
}}
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -92,7 +91,7 @@ export default {
allData
:
[],
pageName
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
pagesize
:
9
,
// 每页个数
totleLength
:
0
// 获取后台传的所有数据的长度
}
},
...
...
src/components/projectManagement/projectDetails/projectDetails.vue
浏览文件 @
2b8622dd
...
...
@@ -4,7 +4,7 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"contentAll"
>
<p
class=
"title"
>
项目管理
<p
class=
"title"
>
<span
class=
"back"
@
click=
"back"
title=
"返回"
></span>
</p>
<p
class=
"titleList"
>
...
...
src/components/projectManagement/projectInformation/projectInformation.vue
浏览文件 @
2b8622dd
...
...
@@ -150,8 +150,8 @@ export default {
time
:
'2020-03-02'
}
],
now
:
3
,
// 当前进度
forecase
:
2
// 预计进度
now
:
0
,
// 当前进度
forecase
:
0
// 预计进度
}
},
created
()
{
...
...
@@ -204,12 +204,20 @@ export default {
$
(
'.trasLine'
).
css
(
'opacity'
,
'0'
)
}
if
(
this
.
now
===
4
)
{
// 终验
$
(
'.blueLine'
).
css
(
'width'
,
''
);
$
(
'.trasLine'
).
css
(
'opacity'
,
'0'
)
$
(
'.processAll>p:nth-child(1) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(2) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(3) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(4) .processList'
).
addClass
(
'blue'
)
if
(
this
.
now
===
4
&&
this
.
forecase
===
4
)
{
// 判断当前进度和期望进度都是终验
$
(
'.blueLine'
).
css
(
'width'
,
''
);
$
(
'.trasLine'
).
css
(
'opacity'
,
'0'
)
$
(
'.processAll>p:nth-child(1) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(2) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(3) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(4) .processList'
).
addClass
(
'blue'
)
}
else
{
// 判断期望进度不是终验
$
(
'.blueLine'
).
css
(
'width'
,
''
);
$
(
'.processAll>p:nth-child(1) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(2) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(3) .processList'
).
addClass
(
'blue'
);
$
(
'.processAll>p:nth-child(4) .processList'
).
addClass
(
'blue'
)
}
}
else
if
(
this
.
now
===
3
)
{
// 试运行阶段
$
(
'.blueLine'
).
css
(
'width'
,
'80%'
);
$
(
'.processAll>p:nth-child(1) .processList'
).
addClass
(
'blue'
);
...
...
src/components/reportAssess/reportAssess.vue
浏览文件 @
2b8622dd
...
...
@@ -13,11 +13,11 @@
<!--
<p
v-if=
"picture"
style=
"color:red"
>
本评估报告不适用于C/S架构的应用系统,不适用于非Java体系下开发的应用系统。
</p>
-->
<p
v-if=
"picture"
>
不支持此类系统的评估
</p>
<div
v-if=
"picture"
class=
"firstBtn"
@
click=
"reback"
><span>
改造替换
</span></div>
</div>
</div>
<!-- 声明 -->
<!-- 声明 -->
<!-- 概要 -->
<div
class=
"my-box"
v-if=
"!picture"
>
<div
class=
"one"
>
...
...
@@ -84,7 +84,7 @@
</el-row>
<el-row>
<el-col
:span=
"8"
>
<div
style=
"padding-left:35px;"
>
建议:
<span
>
<div
style=
"padding-left:35px;"
>
建议:
<span
>
{{
this
.
type
===
1
?
'修改'
:
(
this
.
type
===
2
&&
this
.
language
===
1
&&
this
.
framework
===
1
)
?
'修改'
:
'重构'
}}
</span>
...
...
@@ -126,7 +126,7 @@
</div>
</div>
<div
class=
"six"
>
<div
class=
"six"
v-if=
"this.$route.query.authority === 1"
>
<div
class=
"oneTitle"
>
<!--
<div
@
click=
"openMenuFour"
>
-->
<!--<!–
<img
src=
"../assets/img/tab.png"
alt=
""
>
–>
-->
...
...
@@ -195,7 +195,7 @@
<div
style=
"height: 20px"
></div>
</div>
<div
class=
"seven"
>
<div
class=
"seven"
v-if=
"this.$route.query.authority !== 1"
>
<div
class=
"oneTitle"
>
<i></i>
评估建议
</div>
<!-- 评估建议各项 -->
<div
class=
"seven-title"
>
...
...
@@ -676,7 +676,7 @@
<el-col
:span=
"6"
>
<p
v-if=
"this.newDifficuty.databaseDifficulty"
>
<p
style=
"margin-top:8px;float:left;"
>
其他内容:
</p>
<span
>
{{
this
.
newDifficuty
.
databaseDifficulty
.
otherContent
}}
</span>
...
...
@@ -748,6 +748,17 @@
</div>
<div
class=
"seven"
v-if=
"this.$route.query.authority === 1"
>
<div
class=
"oneTitle"
>
<i></i>
评估建议
</div>
<p
class=
"otherTitle"
>
1、关键技术及替换策略建议
</p>
<p
class=
"bird"
>
{{
this
.
firstDetial
.
des
}}
</p>
<p
class=
"otherTitle"
>
2、工作量评估
</p>
<p
class=
"bird"
>
{{
this
.
newWork
.
des
}}
</p>
<p
class=
"otherTitle"
>
3、额外依赖服务申请
</p>
<p
class=
"bird"
>
额外依赖服务申请费用
<span></span>
{{
this
.
newApply
.
cost
===
-
1
?
'无'
:
this
.
newApply
.
cost
}}
</p>
<p
class=
"otherTitle"
>
4、适配难度评估
</p>
<p
class=
"bird"
>
{{
this
.
newDifficuty
.
des
}}
</p>
</div>
...
...
@@ -762,20 +773,20 @@
</el-scrollbar>
</div>
</
template
>
<
script
>
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》';
//
这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//
例如:import 《组件名称》 from '《组件路径》';
export
default
{
name
:
'reportAssess'
,
//import引入的组件需要注入到对象中才能使用
//
import引入的组件需要注入到对象中才能使用
components
:
{
},
data
()
{
//这里存放数据
//
这里存放数据
return
{
orgName
:
''
,
sysName
:
''
,
...
...
@@ -831,34 +842,34 @@ export default {
};
},
//监听属性 类似于data概念
//
监听属性 类似于data概念
// computed: {},
computed
:
{
sumAmount
(){
if
(
this
.
newCost
==
''
){
if
(
this
.
newCost
=
==
''
){
return
0
}
else
{
}
else
{
return
Number
(
this
.
newCost
.
artificial
.
calculation
)
+
Number
(
this
.
popp
.
basic
)
}
},
sumAmount1
(){
if
(
this
.
newCost
==
''
){
if
(
this
.
newCost
=
==
''
){
return
0
}
else
if
(
this
.
isAgree
){
}
else
if
(
this
.
isAgree
){
return
(
(
(
Number
(
this
.
newCost
.
artificial
.
calculation
)
+
Number
(
this
.
popp
.
basic
))
*
Number
(
this
.
newCost
.
workLoad
.
calculation
)
)
+
Number
(
this
.
newCost
.
apply
.
calculation
)
).
toFixed
(
3
)
}
else
{
return
(
(
Number
(
this
.
newCost
.
artificial
.
calculation
)
+
Number
(
this
.
popp
.
basic
))
*
Number
(
this
.
newCost
.
workLoad
.
calculation
)
).
toFixed
(
3
)
return
(
(
Number
(
this
.
newCost
.
artificial
.
calculation
)
+
Number
(
this
.
popp
.
basic
))
*
Number
(
this
.
newCost
.
workLoad
.
calculation
)
).
toFixed
(
3
)
}
},
},
//监控data中的数据变化
//
监控data中的数据变化
watch
:
{
// popp: {
// handler (val, oldVal) {
...
...
@@ -870,33 +881,32 @@ export default {
// deep: true
// }
},
//方法集合
//
方法集合
methods
:
{
goBackprev
(){
this
.
$router
.
push
({
name
:
'evaluationReport'
,
query
:{
username
:
this
.
$route
.
query
.
username
,
id
:
this
.
$route
.
query
.
id
,
authority
:
this
.
$route
.
query
.
authority
,
}})
// if(this.$route.query.authority == 0){
// console.log("执行")
// this.$router.push({name:'AssessmentUser', query: {
// username: this.$route.query.username,
// id: this.$route.query.id,
// authority: this.$route.query.authority,
// }})
// }else if (this.$route.query.authority == 1){
// console.log("执行")
// this.$router.push({name:'Assessment', query: {
// username: this.$route.query.username,
// id: this.$route.query.id,
// authority: this.$route.query.authority,
// }})
// }
this
.
$router
.
push
({
name
:
'evaluationReport'
,
query
:{
username
:
this
.
$route
.
query
.
username
,
id
:
this
.
$route
.
query
.
id
,
authority
:
this
.
$route
.
query
.
authority
,
}})
// if(this.$route.query.authority == 0){
// console.log("执行")
// this.$router.push({name:'AssessmentUser', query: {
// username: this.$route.query.username,
// id: this.$route.query.id,
// authority: this.$route.query.authority,
// }})
// }else if (this.$route.query.authority == 1){
// console.log("执行")
// this.$router.push({name:'Assessment', query: {
// username: this.$route.query.username,
// id: this.$route.query.id,
// authority: this.$route.query.authority,
// }})
// }
},
openMenu
()
{
//展开
openMenu
()
{
//
展开
this
.
isShow
=
!
this
.
isShow
;
},
// tear() {
...
...
@@ -914,16 +924,16 @@ export default {
tableShow
()
{
this
.
isTableShow
=
!
this
.
isTableShow
;
},
openMenuOne
()
{
//展开
openMenuOne
()
{
//
展开
this
.
isShowOne
=
!
this
.
isShowOne
;
},
openMenuTwo
()
{
//展开
openMenuTwo
()
{
//
展开
this
.
isShowTwo
=
!
this
.
isShowTwo
;
},
openMenuThree
()
{
//展开
openMenuThree
()
{
//
展开
this
.
isShowThree
=
!
this
.
isShowThree
;
},
openMenuFour
()
{
//展开
openMenuFour
()
{
//
展开
this
.
isShowFour
=
!
this
.
isShowFour
;
},
...
...
@@ -960,7 +970,7 @@ export default {
this
.
$server
.
getTechnology
(
name
).
then
(
res
=>
{
console
.
log
(
'数据请求结果'
,
res
.
data
)
if
(
res
.
data
==
500
)
{
if
(
res
.
data
=
==
500
)
{
this
.
picture
=
true
// this.orgName = res.data.orgName
...
...
@@ -969,7 +979,7 @@ export default {
// this.difficulty = res.data.difficulty
// this.type = res.data.type
}
else
{
}
else
{
this
.
orgName
=
res
.
data
.
orgName
this
.
sysName
=
res
.
data
.
sysName
...
...
@@ -987,7 +997,7 @@ export default {
console
.
log
(
'3333'
,
this
.
tableData
)
console
.
log
(
'type'
,
this
.
type
)
//technologyReports 技术和替换策略建议
//
technologyReports 技术和替换策略建议
// 循环表格
this
.
table1Data
=
res
.
data
.
technologyList
.
technologyReports
...
...
@@ -1017,76 +1027,76 @@ export default {
// 中间件
//系统部署架构难度
//
系统部署架构难度
this
.
newDifficuty
.
frameDifficulty
.
details
===
1
?
this
.
newDifficuty
.
frameDifficulty
.
details
=
'混合'
:
this
.
newDifficuty
.
frameDifficulty
.
details
===
2
?
this
.
newDifficuty
.
frameDifficulty
.
details
=
'前后端分离'
:
this
.
newDifficuty
.
frameDifficulty
.
details
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
details
=
'-'
:
''
this
.
newDifficuty
.
frameDifficulty
.
details
=
'前后端分离'
:
this
.
newDifficuty
.
frameDifficulty
.
details
=
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
details
=
'-'
:
''
this
.
newDifficuty
.
frameDifficulty
.
distributed
===
1
?
this
.
newDifficuty
.
frameDifficulty
.
distributed
=
'是'
:
this
.
newDifficuty
.
frameDifficulty
.
distributed
===
2
?
this
.
newDifficuty
.
frameDifficulty
.
distributed
=
'否'
:
this
.
newDifficuty
.
frameDifficulty
.
distributed
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
distributed
=
'-'
:
''
this
.
newDifficuty
.
frameDifficulty
.
distributed
=
'否'
:
this
.
newDifficuty
.
frameDifficulty
.
distributed
=
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
distributed
=
'-'
:
''
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
===
1
?
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
=
'是'
:
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
===
2
?
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
=
'否'
:
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
=
'-'
:
''
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
=
'否'
:
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
=
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
loadBalance
=
'-'
:
''
this
.
newDifficuty
.
frameDifficulty
.
disaster
===
1
?
this
.
newDifficuty
.
frameDifficulty
.
disaster
=
'分布式'
:
this
.
newDifficuty
.
frameDifficulty
.
disaster
===
2
?
this
.
newDifficuty
.
frameDifficulty
.
disaster
=
'否'
:
this
.
newDifficuty
.
frameDifficulty
.
disaster
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
disaster
=
'-'
:
''
this
.
newDifficuty
.
frameDifficulty
.
disaster
=
'否'
:
this
.
newDifficuty
.
frameDifficulty
.
disaster
=
==
-
1
?
this
.
newDifficuty
.
frameDifficulty
.
disaster
=
'-'
:
''
//系统部署架构难度
//
系统部署架构难度
//中间件难度
//
中间件难度
this
.
newDifficuty
.
middlewareDifficulty
.
web
===
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
web
=
'是'
:
this
.
newDifficuty
.
middlewareDifficulty
.
web
===
2
?
this
.
newDifficuty
.
middlewareDifficulty
.
web
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
web
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
web
=
'-'
:
''
this
.
newDifficuty
.
middlewareDifficulty
.
web
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
web
=
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
web
=
'-'
:
''
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
===
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
=
'是'
:
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
===
2
?
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
=
'-'
:
''
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
=
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
jndi
=
'-'
:
''
this
.
newDifficuty
.
middlewareDifficulty
.
jms
===
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
jms
=
'是'
:
this
.
newDifficuty
.
middlewareDifficulty
.
jms
===
2
?
this
.
newDifficuty
.
middlewareDifficulty
.
jms
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
jms
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
jms
=
'-'
:
''
this
.
newDifficuty
.
middlewareDifficulty
.
jms
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
jms
=
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
jms
=
'-'
:
''
this
.
newDifficuty
.
middlewareDifficulty
.
route
===
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
route
=
'是'
:
this
.
newDifficuty
.
middlewareDifficulty
.
route
===
2
?
this
.
newDifficuty
.
middlewareDifficulty
.
route
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
route
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
route
=
'-'
:
''
this
.
newDifficuty
.
middlewareDifficulty
.
route
=
'否'
:
this
.
newDifficuty
.
middlewareDifficulty
.
route
=
==
-
1
?
this
.
newDifficuty
.
middlewareDifficulty
.
route
=
'-'
:
''
//中间件难度
//
中间件难度
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
===
1
?
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
=
'否'
:
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
===
2
?
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
=
'主备'
:
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
===
3
?
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
=
'分布式'
:
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
===
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
=
'-'
:
''
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
=
'主备'
:
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
===
3
?
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
=
'分布式'
:
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
===
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
disasterTolerance
=
'-'
:
''
//数据库难度
//
数据库难度
this
.
newDifficuty
.
databaseDifficulty
.
safe
===
1
?
this
.
newDifficuty
.
databaseDifficulty
.
safe
=
'是'
:
this
.
newDifficuty
.
databaseDifficulty
.
safe
===
2
?
this
.
newDifficuty
.
databaseDifficulty
.
safe
=
'否'
:
this
.
newDifficuty
.
databaseDifficulty
.
safe
==
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
safe
=
'-'
:
''
this
.
newDifficuty
.
databaseDifficulty
.
safe
=
'否'
:
this
.
newDifficuty
.
databaseDifficulty
.
safe
=
==
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
safe
=
'-'
:
''
this
.
newDifficuty
.
databaseDifficulty
.
separate
===
1
?
this
.
newDifficuty
.
databaseDifficulty
.
separate
=
'是'
:
this
.
newDifficuty
.
databaseDifficulty
.
separate
===
2
?
this
.
newDifficuty
.
databaseDifficulty
.
separate
=
'否'
:
this
.
newDifficuty
.
databaseDifficulty
.
separate
==
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
separate
=
'-'
:
''
this
.
newDifficuty
.
databaseDifficulty
.
separate
=
'否'
:
this
.
newDifficuty
.
databaseDifficulty
.
separate
=
==
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
separate
=
'-'
:
''
this
.
newDifficuty
.
databaseDifficulty
.
performance
===
1
?
this
.
newDifficuty
.
databaseDifficulty
.
performance
=
'是'
:
this
.
newDifficuty
.
databaseDifficulty
.
performance
===
2
?
this
.
newDifficuty
.
databaseDifficulty
.
performance
=
'不'
:
this
.
newDifficuty
.
databaseDifficulty
.
performance
==
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
performance
=
'-'
:
''
this
.
newDifficuty
.
databaseDifficulty
.
performance
=
'不'
:
this
.
newDifficuty
.
databaseDifficulty
.
performance
=
==
-
1
?
this
.
newDifficuty
.
databaseDifficulty
.
performance
=
'-'
:
''
//数据库难度
//
数据库难度
// console.log('适配难度评估',this.newDifficuty)
// 系统部署架构难度
...
...
@@ -1114,10 +1124,10 @@ export default {
reback
()
{
// 改造替换
this
.
$router
.
push
({
name
:
'assessmentReport'
,
query
:
{
username
:
this
.
$route
.
query
.
username
,
id
:
this
.
$route
.
query
.
id
,
authority
:
this
.
$route
.
query
.
authority
,
}})
username
:
this
.
$route
.
query
.
username
,
id
:
this
.
$route
.
query
.
id
,
authority
:
this
.
$route
.
query
.
authority
,
}})
},
// close() { // 关闭
...
...
@@ -1133,9 +1143,9 @@ export default {
//
backTop
()
{
console
.
log
(
11
)
document
.
getElementById
(
"isFlag"
).
scrollIntoView
({
behavior
:
"smooth"
,
// 平滑过渡
block
:
"start"
// 上边框与视窗顶部平齐。默认值
document
.
getElementById
(
'isFlag'
).
scrollIntoView
({
behavior
:
'smooth'
,
// 平滑过渡
block
:
'start'
// 上边框与视窗顶部平齐。默认值
});
},
...
...
@@ -1144,7 +1154,7 @@ export default {
timeFilter
(
timestamp
)
{
// 时间戳转为yyyy-mm-dd hh:mm:ss
// console.log(timestamp)
if
(
timestamp
!==
undefined
&&
timestamp
!==
null
)
{
let
date
=
new
Date
(
timestamp
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
let
Y
=
date
.
getFullYear
()
+
'-'
;
let
M
=
(
date
.
getMonth
()
+
1
<
10
?
'0'
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
'-'
;
...
...
@@ -1159,16 +1169,16 @@ export default {
},
},
//生命周期 - 创建完成(可以访问当前this实例)
//
生命周期 - 创建完成(可以访问当前this实例)
created
()
{
// this.getTechnology()
},
//生命周期 - 挂载完成(可以访问DOM元素)
//
生命周期 - 挂载完成(可以访问DOM元素)
mounted
()
{
console
.
log
(
'传参的name'
,
this
.
$route
.
query
.
username
)
console
.
log
(
'传参的id'
,
this
.
$route
.
query
.
id
)
var
obj
=
{
let
obj
=
{
name
:
this
.
$route
.
query
.
username
,
id
:
this
.
$route
.
query
.
id
}
...
...
@@ -1187,13 +1197,13 @@ export default {
destroyed
()
{
// 销毁监听事件,当我们离开这个页面的时候,便会调用这个函数
window
.
removeEventListener
(
'scroll'
,
this
.
showBtn
)
},
beforeCreate
()
{},
//生命周期 - 创建之前
beforeMount
()
{},
//生命周期 - 挂载之前
beforeUpdate
()
{},
//生命周期 - 更新之前
updated
()
{},
//生命周期 - 更新之后
beforeDestroy
()
{},
//生命周期 - 销毁之前
destroyed
()
{},
//生命周期 - 销毁完成
activated
()
{}
//如果页面有keep-alive缓存功能,这个函数会触发
beforeCreate
()
{},
//
生命周期 - 创建之前
beforeMount
()
{},
//
生命周期 - 挂载之前
beforeUpdate
()
{},
//
生命周期 - 更新之前
updated
()
{},
//
生命周期 - 更新之后
beforeDestroy
()
{},
//
生命周期 - 销毁之前
destroyed
()
{},
//
生命周期 - 销毁完成
activated
()
{}
//
如果页面有keep-alive缓存功能,这个函数会触发
}
</
script
>
...
...
@@ -1206,11 +1216,11 @@ export default {
padding
:
0
45px
0
45px
;
color
:
black
;
/* padding-top: 30px; */
}
.scrollbar
{
height
:
97vh
;
}
.bigTitle
{
text-align
:
center
;
...
...
@@ -1409,7 +1419,7 @@ export default {
}
.snack
div
span
{
color
:
#333
;
display
:
inline-block
;
width
:
200px
;
height
:
36px
;
...
...
@@ -1418,7 +1428,7 @@ export default {
border-radius
:
2px
;
line-height
:
36px
;
padding
:
0
12px
}
.snack
div
span
i
{
color
:
#41ba87
;
...
...
@@ -1740,4 +1750,9 @@ export default {
}
/*20200308*/
</
style
>
\ No newline at end of file
.otherTitle
{
color
:
#000
;
font-size
:
18px
;
margin-top
:
30px
;
}
</
style
>
src/components/roleDispose/addRole.vue
浏览文件 @
2b8622dd
...
...
@@ -141,7 +141,7 @@ export default {
font-size
:
18px
;
color
:
#666
;
text-align
:
center
;
margin-top
:
40
px
;
margin-top
:
25
px
;
}
.add-role
.addVal
>
span
{
width
:
160px
;
...
...
@@ -157,7 +157,7 @@ export default {
.add-role
.buttonClick
{
display
:
flex
;
justify-content
:
space-evenly
;
margin-top
:
3
0
px
;
margin-top
:
3
6
px
;
}
.add-role
.company-content
>>>
.el-radio
{
margin-right
:
30px
;
...
...
src/components/roleDispose/roleDispose.vue
浏览文件 @
2b8622dd
...
...
@@ -3,7 +3,6 @@
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
规则配置
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span>
查询:
</span>
...
...
@@ -78,7 +77,7 @@ export default {
input2
:
''
,
tableData
:
[],
tablePageSize
:
0
,
pageSize
:
8
,
// 每页个数
pageSize
:
9
,
// 每页个数
openModel
:
false
,
components
:
''
,
myPage
:
1
,
...
...
@@ -96,7 +95,7 @@ export default {
let
obj
=
{
technologyName
:
this
.
input2
}
this
.
$server
.
getConfigPageList
(
this
.
myPage
,
8
,
obj
).
then
(
res
=>
{
this
.
$server
.
getConfigPageList
(
this
.
myPage
,
this
.
pageSize
,
obj
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
objects
;
this
.
tablePageSize
=
res
.
data
.
totalElement
;
})
...
...
src/components/sidebar/sidebar.vue
浏览文件 @
2b8622dd
<
template
>
<div
class=
"sidebarAll"
>
<div
class=
"sidebar"
v-if=
"this.$store.getters.getUserData.type !== 1"
>
<div
@
click=
"clickMenu('evaluationReport',
1,'评估报告管理')
"
>
<div
class=
"sidebar"
>
<div
@
click=
"clickMenu('evaluationReport',
'评估报告管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000800') !== -1
"
>
<p
class=
"menu"
>
<span
class=
"font"
>
评估报告管理
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('projectManagement',2,'我的项目')"
v-if=
"this.$store.getters.getUserData.type !==
1"
>
<div
@
click=
"clickMenu('projectManagement','项目管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000900') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
我的项目
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('complaint',3,'意见建议')"
v-if=
"this.$store.getters.getUserData.type !== 1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
意见建议
</span>
<span
class=
"line"
></span>
</p>
</div>
<div>
<p
class=
"menu"
>
<span
class=
"font"
>
基地建设
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('XCalliance',5,'XX联盟')"
>
<p
class=
"menu"
>
<span
class=
"font"
>
XX联盟
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('integration',6,'XXX一体化')"
>
<p
class=
"menu"
>
<span
class=
"font"
>
XXX一体化
</span>
<span
class=
"font"
>
项目管理
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('',7,'国家名录')"
v-if=
"this.$store.getters.getUserData.type !==
1"
>
<div
@
click=
"clickMenu('projectManagement','我的项目')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001800') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
国家名录
</span>
<span
class=
"font"
>
我的项目
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
',8,'市级名录')"
v-if=
"this.$store.getters.getUserData.type !==
1"
>
<div
@
click=
"clickMenu('
complaintManagement','投诉管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001000') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
市级名录
</span>
<span
class=
"font"
>
投诉管理
</span>
<span
class=
"line"
></span>
</p>
</div>
<div>
<div
@
click=
"clickMenu('complaint','意见建议')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001900') !== -1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
课题攻关
</span>
<span
class=
"line"
></span>
</p>
</div>
</div>
<div
class=
"sidebar"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<div
@
click=
"clickMenu('evaluationReport',1,'评估报告管理')"
>
<p
class=
"menu"
>
<span
class=
"font"
>
评估报告管理
</span>
<span
class=
"font"
>
意见建议
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
projectManagement',2,'项目管理')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
@
click=
"clickMenu('
keyTechnology','关键技术管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001100') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
项目
管理
</span>
<span
class=
"font"
>
关键技术
管理
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
complaintManagement',3,'投诉管理')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
@
click=
"clickMenu('
roleDispose','规则配置')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001200') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
投诉管理
</span>
<span
class=
"font"
>
规则配置
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
keyTechnology',4,'关键技术管理')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
@
click=
"clickMenu('
parameterConfiguration','参数配置')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001300') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
关键技术管理
</span>
<span
class=
"font"
>
参数配置
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
roleDispose',5,'规则配置')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
@
click=
"clickMenu('
UnDependence','未知依赖配置')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001400') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
规则
配置
</span>
<span
class=
"font"
>
未知依赖
配置
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('parameterConfiguration',6,'参数配置')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000200') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
参数配置
</span>
<span
class=
"font"
>
基地建设
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
UnDependence',7,'未知依赖配置')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
@
click=
"clickMenu('
XCalliance','XX联盟')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000300') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
未知依赖配置
</span>
<span
class=
"font"
>
XX联盟
</span>
<span
class=
"line"
></span>
</p>
</div>
<div>
<div
@
click=
"clickMenu('integration','XXX一体化')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000400') !== -1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
基地建设
</span>
<span
class=
"font"
>
XXX一体化
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
XCalliance',9,'XX联盟')
"
>
<div
@
click=
"clickMenu('
','基础资料管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000500') !== -1
"
>
<p
class=
"menu"
>
<span
class=
"font"
>
XX联盟
</span>
<span
class=
"font"
>
基础资料管理
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('
integration',10,'XXX一体化')
"
>
<div
@
click=
"clickMenu('
','市级准入管理')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000600') !== -1
"
>
<p
class=
"menu"
>
<span
class=
"font"
>
XXX一体化
</span>
<span
class=
"font"
>
市级准入管理
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('',
11,'基础资料管理')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
@
click=
"clickMenu('',
'国家名录')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001500') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
基础资料管理
</span>
<span
class=
"font"
>
国家名录
</span>
<span
class=
"line"
></span>
</p>
</div>
<div
@
click=
"clickMenu('',
12,'市级准入管理')"
v-if=
"this.$store.getters.getUserData.type ===
1"
>
<div
@
click=
"clickMenu('',
'市级名录')"
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('0001600') !== -
1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
市级
准入管理
</span>
<span
class=
"font"
>
市级
名录
</span>
<span
class=
"line"
></span>
</p>
</div>
<div>
<div
v-if=
"this.$store.getters.getUserData.authorityCode.indexOf('000700') !== -1"
>
<p
class=
"menu"
>
<span
class=
"font"
>
课题攻关
</span>
<span
class=
"line"
></span>
</p>
</div>
</div>
</div>
</
template
>
...
...
@@ -189,19 +152,23 @@ export default {
menuList
:
[
{
name
:
'单位管理'
,
path
:
'company'
path
:
'company'
,
code
:
'000501'
},
{
name
:
'产品管理'
,
path
:
'basisProduct'
path
:
'basisProduct'
,
code
:
'000502'
},
{
name
:
'人员管理'
,
path
:
'person'
path
:
'person'
,
code
:
'000503'
},
{
name
:
'角色管理'
,
path
:
'role'
path
:
'role'
,
code
:
'000504'
}
]
},
...
...
@@ -210,15 +177,18 @@ export default {
menuList
:
[
{
name
:
'产品管理'
,
path
:
'product'
path
:
'product'
,
code
:
'000601'
},
{
name
:
'单位管理'
,
path
:
'admittanceCompany'
path
:
'admittanceCompany'
,
code
:
'000602'
},
{
name
:
'技术路线'
,
path
:
'technical'
path
:
'technical'
,
code
:
'000603'
}
]
},
...
...
@@ -227,11 +197,13 @@ export default {
menuList
:
[
{
name
:
'单位名录'
,
path
:
'company'
path
:
'company'
,
code
:
'0001502'
},
{
name
:
'产品名录'
,
path
:
'basisProduct'
path
:
'basisProduct'
,
code
:
'0001501'
}
]
},
...
...
@@ -241,15 +213,18 @@ export default {
{
name
:
'产品管理'
,
path
:
'product'
path
:
'product'
,
code
:
'0001601'
},
{
name
:
'单位管理'
,
path
:
'admittanceCompany'
path
:
'admittanceCompany'
,
code
:
'0001602'
},
{
name
:
'技术路线'
,
path
:
'technical'
path
:
'technical'
,
code
:
'0001603'
}
]
},
...
...
@@ -290,11 +265,17 @@ export default {
},
mounted
(){
// home点击过来,定位到对应导航
this
.
clickMenu
(
this
.
$store
.
getters
.
getHomeClick
.
name
,
this
.
$store
.
getters
.
getHomeClick
.
index
,
this
.
$store
.
getters
.
getHomeClick
.
title
)
this
.
clickMenu
(
this
.
$store
.
getters
.
getHomeClick
.
name
,
this
.
$store
.
getters
.
getHomeClick
.
title
)
},
methods
:
{
// 点击切换样式并且跳转
clickMenu
(
name
,
num
,
title
)
{
clickMenu
(
name
,
title
)
{
let
num
;
for
(
let
i
=
0
;
i
<
$
(
'.sidebar div'
).
length
;
i
++
)
{
if
(
title
===
$
(
'.sidebar div'
)[
i
].
innerText
)
{
num
=
i
+
1
;
}
}
$
(
'.sidebar .menu'
).
removeClass
(
'click'
);
// 样式修改
$
(
'.sidebar .font'
).
removeClass
(
'fontClick'
);
$
(
'.sidebar .line'
).
removeClass
(
'lineClick'
);
...
...
src/services/server.js
浏览文件 @
2b8622dd
...
...
@@ -10,6 +10,7 @@ import axios from '@/services/axios';
* dataType
*/
import
qs
from
'qs'
;
const
assess
=
'http://120.55.57.35:8079'
const
server
=
{
getfindAll
()
{
// 获取权限列表
return
axios
(
'/authority/findAll'
,
{
...
...
@@ -279,113 +280,109 @@ const server = {
})
},
getEvaluationList
(
page
,
size
,
data
)
{
// 评估报告管理
return
axios
(
'/evaluation/search/'
+
page
+
'/'
+
size
,{
return
axios
(
assess
+
'/evaluation/search/'
+
page
+
'/'
+
size
,{
method
:
'post'
,
data
:
data
})
},
delEvaluationList
(
id
)
{
// 删除评估报告管理
return
axios
(
'/evaluation/'
+
id
,{
return
axios
(
assess
+
'/evaluation/'
+
id
,{
method
:
'delete'
})
},
getAllPageList
(
page
,
size
,
data
){
// 关键技术管理列表
return
axios
(
'/technology/search/'
+
page
+
'/'
+
size
,{
return
axios
(
assess
+
'/technology/search/'
+
page
+
'/'
+
size
,{
method
:
'post'
,
data
:
data
})
},
getAllKeySelect
(){
// 获取关键技术类型
return
axios
(
'/category'
,{
return
axios
(
assess
+
'/category'
,{
method
:
'get'
})
},
addTec
(
data
){
// 新增关键技术管理
return
axios
(
'/technology/add'
,{
return
axios
(
assess
+
'/technology/add'
,{
method
:
'post'
,
data
:
data
})
},
editKey
(
id
,
data
){
// 修改关键技术管理
return
axios
(
'/technology/'
+
id
,{
return
axios
(
assess
+
'/technology/'
+
id
,{
method
:
'post'
,
data
:
data
})
},
getConfigValue
(){
// 获取参数配置
return
axios
(
'/config'
,{
return
axios
(
assess
+
'/config'
,{
method
:
'get'
,
})
},
editConfigValue
(
data
){
// 修改参数配置
return
axios
(
'/config/updates'
,{
return
axios
(
assess
+
'/config/updates'
,{
method
:
'post'
,
data
:
data
})
},
getAllList
(){
// 关键技术
return
axios
(
'/technology'
,{
return
axios
(
assess
+
'/technology'
,{
method
:
'get'
})
},
editConfigUpdate
(
data
){
// 修改规则配置
return
axios
(
'/rule/update'
,{
return
axios
(
assess
+
'/rule/update'
,{
method
:
'post'
,
data
:
data
})
},
addConfig
(
data
){
// 规则
return
axios
(
'/rule'
,{
return
axios
(
assess
+
'/rule'
,{
method
:
'post'
,
data
:
data
})
},
delConfig
(
data
){
// 规则配置删除
return
axios
(
'/rule/'
,{
return
axios
(
assess
+
'/rule/'
,{
method
:
'delete'
,
data
:
data
})
},
getConfigPageList
(
page
,
size
,
data
){
// 未知规则配置搜索
return
axios
(
'/rule/search/'
+
page
+
'/'
+
size
,{
return
axios
(
assess
+
'/rule/search/'
+
page
+
'/'
+
size
,{
method
:
'post'
,
data
:
data
})
},
goPg
(
data
){
return
axios
(
"/inspect/rapidAssessment"
,{
method
:
"post"
,
data
:
data
})
return
axios
(
assess
+
'/inspect/rapidAssessment'
,{
method
:
'post'
,
data
:
data
})
},
pgName
(
name
){
return
axios
(
"/evaluation/in/"
+
name
,{
method
:
"get"
,
})
return
axios
(
assess
+
'/evaluation/in/'
+
name
,{
method
:
'get'
,
})
},
getTechnology
(
data
){
return
axios
(
"/evaluation/eva?id="
+
data
.
id
+
'&name='
+
data
.
name
,{
method
:
"get"
,
return
axios
(
assess
+
'/evaluation/eva?id='
+
data
.
id
+
'&name='
+
data
.
name
,{
method
:
'get'
,
})
},
upZip
(
data
){
return
axios
(
"/inspect/uploads"
,{
method
:
"post"
,
data
:
data
})
return
axios
(
assess
+
'/inspect/uploads'
,{
method
:
'post'
,
data
:
data
})
},
upGit
(
data
){
return
axios
(
"/inspect/gitdownload"
,{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded; charset=UTF-8'
},
// application/x-www-form-urlencode
method
:
"post"
,
data
:
qs
.
stringify
(
data
)
})
},
return
axios
(
assess
+
'/inspect/gitdownload'
,{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded; charset=UTF-8'
},
method
:
'post'
,
data
:
qs
.
stringify
(
data
)
})
}
}
export
default
server
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论