Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
642f2f5f
提交
642f2f5f
authored
3月 30, 2020
作者:
CRS
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'crs' 到 'master'
new 查看合并请求
!99
上级
7180b7e9
0a71c54b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
13 行删除
+7
-13
authority.vue
src/components/basicInformation/role/authority.vue
+0
-12
home.vue
src/components/home/home.vue
+7
-1
PC.png
src/components/home/img/PC.png
+0
-0
没有找到文件。
src/components/basicInformation/role/authority.vue
浏览文件 @
642f2f5f
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
<span>
角色权限:
</span>
<span>
角色权限:
</span>
<span
style=
"margin-left: 180px;"
>
<span
style=
"margin-left: 180px;"
>
<span
class=
"selected"
@
click=
"selected"
>
<span
class=
"selected"
@
click=
"selected"
>
<span
class=
"img"
></span>
<span
class=
"val"
>
全选
</span>
<span
class=
"val"
>
全选
</span>
</span>
</span>
</span>
</span>
...
@@ -120,7 +119,6 @@ export default {
...
@@ -120,7 +119,6 @@ export default {
if
(
this
.
clickAll
===
false
)
{
if
(
this
.
clickAll
===
false
)
{
$
(
'.selected'
).
addClass
(
'selectedClick'
);
$
(
'.selected'
).
addClass
(
'selectedClick'
);
$
(
'.authorityList>span'
).
addClass
(
'authorityListClick'
);
$
(
'.authorityList>span'
).
addClass
(
'authorityListClick'
);
$
(
'.selected .img'
).
addClass
(
'noClick'
)
$
(
'.val'
).
html
(
'全不选'
)
$
(
'.val'
).
html
(
'全不选'
)
this
.
allAuthority
=
[];
this
.
allAuthority
=
[];
for
(
let
item
of
this
.
authority
)
{
for
(
let
item
of
this
.
authority
)
{
...
@@ -128,7 +126,6 @@ export default {
...
@@ -128,7 +126,6 @@ export default {
}
}
this
.
clickAll
=
true
;
this
.
clickAll
=
true
;
}
else
{
}
else
{
$
(
'.selected .img'
).
removeClass
(
'noClick'
)
$
(
'.selected'
).
removeClass
(
'selectedClick'
);
$
(
'.selected'
).
removeClass
(
'selectedClick'
);
$
(
'.val'
).
html
(
'全选'
)
$
(
'.val'
).
html
(
'全选'
)
this
.
allAuthority
=
[];
this
.
allAuthority
=
[];
...
@@ -199,15 +196,6 @@ export default {
...
@@ -199,15 +196,6 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#4877e6
;
color
:
#4877e6
;
}
}
.authority
.img
{
display
:
inline-block
;
width
:
19px
;
height
:
19px
;
background
:
url("./img/selected.png")
;
}
.authority
.noClick
{
background
:
url("./img/selectedN.png")
;
}
.authority
.authorityList
{
.authority
.authorityList
{
width
:
280px
;
width
:
280px
;
display
:
flex
;
display
:
flex
;
...
...
src/components/home/home.vue
浏览文件 @
642f2f5f
...
@@ -50,6 +50,10 @@
...
@@ -50,6 +50,10 @@
<img
src=
"./img/PG.png"
>
<img
src=
"./img/PG.png"
>
<span>
评估报告管理
</span>
<span>
评估报告管理
</span>
</p>
</p>
<p
class=
"bg"
@
click=
"otherJump"
>
<img
src=
"./img/PC.png"
>
<span>
评测报告管理
</span>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
@
click=
"jump('projectManagement',2,'我的项目')"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type !== 1"
@
click=
"jump('projectManagement',2,'我的项目')"
>
<img
src=
"./img/WD.png"
>
<img
src=
"./img/WD.png"
>
<span>
我的项目
</span>
<span>
我的项目
</span>
...
@@ -68,7 +72,6 @@
...
@@ -68,7 +72,6 @@
</p>
</p>
<p
class=
"blank"
></p>
<p
class=
"blank"
></p>
<p
class=
"blank"
></p>
<p
class=
"blank"
></p>
<p
class=
"blank"
></p>
</div>
</div>
<div
class=
"menu"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<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,'关键技术管理')"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('keyTechnology',4,'关键技术管理')"
>
...
@@ -116,6 +119,9 @@ export default {
...
@@ -116,6 +119,9 @@ export default {
this
.
$store
.
commit
(
'changeHomeClick'
,
val
);
// 传给导航进行样式定位和点击事件
this
.
$store
.
commit
(
'changeHomeClick'
,
val
);
// 传给导航进行样式定位和点击事件
this
.
$store
.
commit
(
'changeNowPath'
,
path
);
// 当前path传给header作比对
this
.
$store
.
commit
(
'changeNowPath'
,
path
);
// 当前path传给header作比对
this
.
$router
.
push
({
name
:
path
});
this
.
$router
.
push
({
name
:
path
});
},
otherJump
()
{
window
.
open
(
'http://120.55.57.35:8080/auto-test/#/AssessmentUser'
)
}
}
},
},
components
:
{
components
:
{
...
...
src/components/home/img/PC.png
0 → 100644
浏览文件 @
642f2f5f
892 Bytes
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论