Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 463e6515
authored
May 13, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
角色切换查询
1 parent
d66efaec
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
163 additions
and
114 deletions
src/views/assessChecks/assistedViewing.vue
src/views/assessChecks/assitedDistribution.vue
src/views/assessChecks/checkComplianceFZ.vue
src/views/assessChecks/checkComplianceXF.vue
src/views/assessChecks/confirmChanges.vue
src/views/assessChecks/confirmRelease.vue
src/views/assessChecks/materialAcquisition.vue
src/views/assessChecks/qrCompliance.vue
src/views/layout/analysisCore.vue
src/views/layout/index.vue
src/views/layout/leftBar.vue
src/views/layout/mainLayout.vue
src/views/assessChecks/assistedViewing.vue
View file @
463e651
...
...
@@ -8,7 +8,7 @@
class=
"demo-ruleForm"
>
<el-form-item
label=
"批次年度:"
prop=
"batchYear"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
...
...
@@ -16,10 +16,10 @@
</el-select>
</el-form-item>
<el-form-item
label=
"后评估名称:"
prop=
"batchName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"后评估状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
clearable
>
<el-option
label=
"未下发"
value=
"0"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"已撤回"
value=
"2"
></el-option>
...
...
@@ -30,10 +30,11 @@
<el-input
v-model=
"ruleForm.projectName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目ID:"
prop=
"projectId"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
class=
"button"
>
...
...
@@ -447,7 +448,7 @@ export default {
padding
:
20px
10px
;
margin-bottom
:
20px
;
.fromItem
{
width
:
24%
;
min-
width
:
24%
;
margin
:
0
0.5%
;
margin-bottom
:
20px
;
.el-input
{
...
...
@@ -459,6 +460,8 @@ export default {
}
/
deep
/
.el-form-item__content
{
text-align
:
left
;
display
:
inline-block
;
margin-left
:
10px
!important
;
}
/
deep
/
.el-form-item__label
{
font-weight
:
bold
;
...
...
src/views/assessChecks/assitedDistribution.vue
View file @
463e651
...
...
@@ -3,7 +3,7 @@
<div
class=
"main"
>
<el-form
:model=
"ruleForm"
label-width=
"100px"
class=
"demo-ruleForm"
ref=
"formName"
>
<el-form-item
label=
"批次年度:"
prop=
"batchYear"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
...
...
@@ -11,10 +11,10 @@
</el-select>
</el-form-item>
<el-form-item
label=
"后评估批次名称:"
prop=
"batchName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"后评估状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
clearable
>
<el-option
label=
"未下发"
value=
"0"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"已撤回"
value=
"2"
></el-option>
...
...
@@ -364,7 +364,7 @@ export default {
padding
:
20px
10px
;
margin-bottom
:
20px
;
.fromItem
{
width
:
24%
;
min-
width
:
24%
;
margin
:
0
0.5%
;
margin-bottom
:
20px
;
.el-input
{
...
...
@@ -376,6 +376,8 @@ export default {
}
/
deep
/
.el-form-item__content
{
text-align
:
left
;
display
:
inline-block
;
margin-left
:
10px
!important
;
}
/
deep
/
.el-form-item__label
{
font-weight
:
bold
;
...
...
src/views/assessChecks/checkComplianceFZ.vue
View file @
463e651
...
...
@@ -174,6 +174,7 @@ export default {
height
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
.Btn
{
width
:
calc
(
100%
-
246px
);
position
:
fixed
;
...
...
src/views/assessChecks/checkComplianceXF.vue
View file @
463e651
...
...
@@ -237,17 +237,15 @@ export default {
height
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
.bottom
{
width
:
99%
;
position
:
absolute
;
//
height
:
80px
;
bottom
:
130px
;
width
:
calc
(
100%
-
246px
);
position
:
fixed
;
bottom
:
-15px
;
right
:
0
;
//
left
:
50%
;
z-index
:
100
;
//
transform
:
translate
(
-50%
);
background-color
:
#f5f5f6
;
line-height
:
62
px
;
line-height
:
80
px
;
.textarea
{
margin-top
:
1px
;
}
...
...
@@ -316,9 +314,7 @@ export default {
background-color
:
#f5f5f6
;
padding
:
10px
;
padding-top
:
0
;
//
display
:
flex
;
//
padding
:
0
20px
;
padding-bottom
:
200px
;
padding-bottom
:
10px
;
position
:
relative
;
}
...
...
src/views/assessChecks/confirmChanges.vue
View file @
463e651
...
...
@@ -33,8 +33,8 @@
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目ID:"
prop=
"projectId"
class=
"fromItem"
clearable
>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
></el-input>
<el-form-item
label=
"项目ID:"
prop=
"projectId"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
class=
"button"
>
...
...
src/views/assessChecks/confirmRelease.vue
View file @
463e651
...
...
@@ -538,7 +538,17 @@ export default {
message
:
{},
};
},
watch
:{
// 监听路由对象中的参数部分
'$route.params'
:
{
immediate
:
true
,
handler
(
newParams
,
oldParams
)
{
this
.
submitForm
();
}
}
},
mounted
()
{
console
.
log
(
'author'
)
this
.
submitForm
();
},
methods
:
{
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
463e651
...
...
@@ -320,6 +320,15 @@ export default {
dialog
:
false
,
};
},
watch
:{
// 监听路由对象中的参数部分
'$route.params'
:
{
immediate
:
true
,
handler
(
newParams
,
oldParams
)
{
this
.
submitForm
();
}
}
},
mounted
()
{
this
.
submitForm
();
},
...
...
src/views/assessChecks/qrCompliance.vue
View file @
463e651
...
...
@@ -189,10 +189,10 @@ export default {
height
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
.bottom
{
width
:
calc
(
100%
-
246px
);
position
:
fixed
;
//
height
:
80px
;
bottom
:
-15px
;
right
:
0
;
z-index
:
100
;
...
...
@@ -267,10 +267,6 @@ export default {
background-color
:
#f5f5f6
;
padding
:
10px
;
padding-top
:
0
;
//
display
:
flex
;
//
padding
:
0
20px
;
padding-bottom
:
200px
;
position
:
relative
;
}
.tableTitle
{
...
...
src/views/layout/analysisCore.vue
0 → 100644
View file @
463e651
<
template
>
<div>
<iframe
name=
"iframeName"
id=
"iframeId"
src=
"./test.html"
></iframe>
</div>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/layout/index.vue
View file @
463e651
...
...
@@ -38,7 +38,7 @@
<div
id=
"hpg"
@
click=
"navigateToChild('5','/mainLayout')"
:class=
"active=='5'?'active':''"
>
<span
class=
"between iconfont"
>

</span>
后评估管控中心
</div>
<div
id=
"zhfx"
:class=
"active=='6'?'active':''"
>
<div
id=
"zhfx"
:class=
"active=='6'?'active':''"
@
click=
"navigateToChild('6','/mainLayout')"
>
<span
class=
"between iconfont"
>

</span>
综合分析中心
</div>
<div
id=
"xtgl"
:class=
"active=='7'?'active':''"
>
...
...
src/views/layout/leftBar.vue
View file @
463e651
...
...
@@ -366,12 +366,56 @@ export default {
type
:
Number
,
default
:
""
,
},
autho
:
{
type
:
String
,
default
:
""
,
},
},
watch
:
{
autho
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
"newValnewVal"
);
if
(
newVal
==
"sgtig_liyiming"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"sgtig_wangmeiling"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"sgtig_mengdejian"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"sgtig_liwenbo"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"sgtig_zhangke"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
query
:
{
madata
:
newVal
,
},
});
}
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
},
authority
(
newVal
,
oldVal
)
{
console
.
log
(
"oldVal:"
,
oldVal
);
// coderkey
console
.
log
(
"newVal:"
,
newVal
);
// pink
this
.
menuList
=
[]
this
.
menuList
=
[];
if
(
newVal
==
1
)
{
this
.
menuList
=
[
{
...
...
@@ -412,10 +456,8 @@ export default {
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliarySelection"
,
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
}
else
if
(
newVal
==
2
)
{
this
.
menuList
=
[
{
name
:
"后评估检查"
,
...
...
@@ -458,13 +500,7 @@ export default {
],
},
];
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
}
else
if
(
newVal
==
3
)
{
this
.
menuList
=
[
{
name
:
"后评估检查"
,
...
...
@@ -499,12 +535,11 @@ export default {
],
},
];
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
//
this.$router.push({
//
path: "/mainLayout/materialAcquisition",
//
});
// this.$refs.kzMenu.activeIndex =
this.$route.path;
}
else
if
(
newVal
==
99
)
{
this
.
menuList
=
[
{
name
:
"后评估检查"
,
...
...
@@ -709,7 +744,6 @@ export default {
{
name
:
"合规问题整改核验"
,
url
:
""
,
children
:
[]
},
],
},
],
},
{
...
...
@@ -758,11 +792,11 @@ export default {
},
],
},
]
];
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliarySelection"
,
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
}
},
},
...
...
@@ -771,19 +805,21 @@ export default {
// this.handleOpen(0,['0'])
// this.handleOpen("0-0",['0','0-0'])
console
.
log
(
'333333'
,
this
.
$route
.
query
)
if
(
this
.
$route
.
path
==
'/mainLayout/Compliancefz'
||
this
.
$route
.
path
==
'/mainLayout/Compliance'
){
this
.
activeIndex
=
'/mainLayout/auxiliaryInspection'
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/qrCompliance"
){
this
.
activeIndex
=
'/mainLayout/confirmChanges'
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancexf"
){
if
(
this
.
$route
.
query
.
fromType
==
'fzcx'
){
this
.
activeIndex
=
'/mainLayout/auxiliaryQuery'
}
else
{
this
.
activeIndex
=
'/mainLayout/assitedDistribution'
console
.
log
(
"333333"
,
this
.
$route
.
query
);
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
this
.
$route
.
path
==
"/mainLayout/Compliance"
)
{
this
.
activeIndex
=
"/mainLayout/auxiliaryInspection"
;
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/qrCompliance"
)
{
this
.
activeIndex
=
"/mainLayout/confirmChanges"
;
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancexf"
)
{
if
(
this
.
$route
.
query
.
fromType
==
"fzcx"
)
{
this
.
activeIndex
=
"/mainLayout/auxiliaryQuery"
;
}
else
{
this
.
activeIndex
=
"/mainLayout/assitedDistribution"
;
}
}
else
{
}
else
{
this
.
activeIndex
=
this
.
$route
.
path
;
}
// this.$refs.kzMenu.open(0-0,['0','0-0'])
...
...
@@ -966,6 +1002,4 @@ export default {
//
transform
:
rotate
(
90deg
);
//
}
//
}
</
style
>
\ No newline at end of file
src/views/layout/mainLayout.vue
View file @
463e651
<
template
>
<div
class=
"layout"
>
<LeftBar
class=
"bar"
:authority=
'authority'
></LeftBar>
<LeftBar
class=
"bar"
:authority=
"authority"
:autho=
"autho"
></LeftBar>
<ContinerView
class=
"continer"
id=
"myElement"
>
<router-view></router-view>
</ContinerView>
<div
class=
"changeqx"
>
<!--
<el-dropdown
@
command=
"handleCommand"
>
<el-button
type=
"primary"
>
<div
style=
"margin-right: 35px"
>
权限切换
</div>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-for=
"(item) in submenu"
:value=
"item.id"
:command=
"item.id"
:key=
"item.id"
>
{{
item
.
menu
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
-->
<el-menu
router
class=
"el-menu-vertical-demo"
:unique-opened=
"true"
@
open=
"handleOpen"
>
<el-submenu
v-for=
"(item, index) in menuList"
...
...
@@ -30,7 +18,6 @@
class=
"submenu1"
>
<template
slot=
"title"
>
<span>
{{
item
.
name
}}
</span>
</
template
>
<el-submenu
...
...
@@ -40,17 +27,16 @@
class=
"submenu2"
>
<
template
slot=
"title"
>
<span
>
{{
item2
.
name
}}
</span>
<span>
{{
item2
.
name
}}
</span>
</
template
>
<el-menu-item
v-for=
"(item3, index3) in item2.children"
:key=
"index3"
:index=
"item3.url"
class=
"submenu3"
@
click=
"clicksub(item2,item3)"
@
click=
"clicksub(item2,
item3)"
>
<span
class=
"title3"
>
{{ item3.name }}
</span
>
<span
class=
"title3"
>
{{ item3.name }}
</span
>
</el-menu-item>
</el-submenu>
</el-submenu>
...
...
@@ -71,24 +57,21 @@ export default {
data
()
{
return
{
title
:
"确认更改"
,
submenu
:[
submenu
:
[
{
id
:
1
,
menu
:
'省公司管理'
id
:
1
,
menu
:
"省公司管理"
,
},
{
id
:
2
,
menu
:
'省公司专家'
id
:
2
,
menu
:
"省公司专家"
,
},
{
id
:
3
,
menu
:
'项目建设单位专员'
id
:
3
,
menu
:
"项目建设单位专员"
,
},
],
menuList
:[
menuList
:
[
{
name
:
"权限切换"
,
url
:
""
,
...
...
@@ -96,11 +79,11 @@ export default {
{
name
:
"省公司管理"
,
url
:
""
,
id
:
1
,
id
:
1
,
children
:
[
{
name
:
"张宇"
,
code
:
"sgtig_zhangyu"
,
code
:
"sgtig_zhangyu"
,
url
:
"/mainLayout/auxiliarySelection"
,
children
:
[],
},
...
...
@@ -108,17 +91,17 @@ export default {
},
{
name
:
"省公司专家"
,
id
:
2
,
id
:
2
,
children
:
[
{
name
:
"李一鸣"
,
code
:
"sgtig_liyiming"
,
code
:
"sgtig_liyiming"
,
children
:
[],
},
{
name
:
"王美玲"
,
code
:
"sgtig_wangmeiling"
,
code
:
"sgtig_wangmeiling"
,
children
:
[],
},
...
...
@@ -126,23 +109,23 @@ export default {
},
{
name
:
"项目建设单位专责"
,
id
:
3
,
id
:
3
,
children
:
[
{
name
:
"孟德建"
,
code
:
"sgtig_mengdejian"
,
code
:
"sgtig_mengdejian"
,
children
:
[],
},
{
name
:
"李文博"
,
code
:
"sgtig_liwenbo"
,
code
:
"sgtig_liwenbo"
,
children
:
[],
},
{
name
:
"章轲"
,
code
:
"sgtig_zhangke"
,
code
:
"sgtig_zhangke"
,
children
:
[],
},
...
...
@@ -151,11 +134,11 @@ export default {
{
name
:
"超级管理员"
,
url
:
""
,
id
:
99
,
id
:
99
,
children
:
[
{
name
:
"魏征"
,
code
:
"sgtig_weizheng"
,
code
:
"sgtig_weizheng"
,
children
:
[],
},
],
...
...
@@ -163,8 +146,8 @@ export default {
],
},
],
authority
:
null
,
authority
:
null
,
autho
:
null
};
},
mounted
()
{
...
...
@@ -186,19 +169,19 @@ export default {
},
handleCommand
(
item
)
{
console
.
log
(
item
,
"item"
)
//下拉菜单里面的值
console
.
log
(
item
,
"item"
);
//下拉菜单里面的值
// this.authority=item
},
handleOpen
(
e
,
a
){
console
.
log
(
e
,
a
,
'e, ae, a'
)
handleOpen
(
e
,
a
)
{
// console.log(e, a, "e, ae, a");
},
clicksub
(
a
,
b
)
{
console
.
log
(
"选怎"
,
a
,
b
);
sessionStorage
.
setItem
(
"author"
,
b
.
code
);
sessionStorage
.
setItem
(
"authorName"
,
a
.
id
);
this
.
authority
=
a
.
id
;
this
.
autho
=
b
.
code
},
clicksub
(
a
,
b
){
console
.
log
(
'选怎'
,
a
,
b
)
sessionStorage
.
setItem
(
'author'
,
b
.
code
)
sessionStorage
.
setItem
(
'authorName'
,
a
.
id
)
this
.
authority
=
a
.
id
}
},
};
</
script
>
...
...
@@ -223,9 +206,9 @@ export default {
box-sizing
:
border-box
;
//
overflow
:
auto
;
}
.changeqx
{
.changeqx
{
position
:
absolute
;
right
:
30px
;
right
:
30px
;
top
:
5px
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment