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 @@
...
@@ -8,7 +8,7 @@
class=
"demo-ruleForm"
class=
"demo-ruleForm"
>
>
<el-form-item
label=
"批次年度:"
prop=
"batchYear"
class=
"fromItem"
>
<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=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
...
@@ -16,10 +16,10 @@
...
@@ -16,10 +16,10 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"后评估名称:"
prop=
"batchName"
class=
"fromItem"
>
<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>
<el-form-item
label=
"后评估状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<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=
"0"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"已撤回"
value=
"2"
></el-option>
<el-option
label=
"已撤回"
value=
"2"
></el-option>
...
@@ -30,10 +30,11 @@
...
@@ -30,10 +30,11 @@
<el-input
<el-input
v-model=
"ruleForm.projectName"
v-model=
"ruleForm.projectName"
placeholder=
"请输入"
placeholder=
"请输入"
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"项目ID:"
prop=
"projectId"
class=
"fromItem"
>
<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>
<el-form-item
class=
"button"
>
<el-form-item
class=
"button"
>
...
@@ -447,7 +448,7 @@ export default {
...
@@ -447,7 +448,7 @@ export default {
padding
:
20px
10px
;
padding
:
20px
10px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.fromItem
{
.fromItem
{
width
:
24%
;
min-
width
:
24%
;
margin
:
0
0.5%
;
margin
:
0
0.5%
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.el-input
{
.el-input
{
...
@@ -459,6 +460,8 @@ export default {
...
@@ -459,6 +460,8 @@ export default {
}
}
/
deep
/
.el-form-item__content
{
/
deep
/
.el-form-item__content
{
text-align
:
left
;
text-align
:
left
;
display
:
inline-block
;
margin-left
:
10px
!important
;
}
}
/
deep
/
.el-form-item__label
{
/
deep
/
.el-form-item__label
{
font-weight
:
bold
;
font-weight
:
bold
;
...
...
src/views/assessChecks/assitedDistribution.vue
View file @
463e651
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"main"
>
<div
class=
"main"
>
<el-form
:model=
"ruleForm"
label-width=
"100px"
class=
"demo-ruleForm"
ref=
"formName"
>
<el-form
:model=
"ruleForm"
label-width=
"100px"
class=
"demo-ruleForm"
ref=
"formName"
>
<el-form-item
label=
"批次年度:"
prop=
"batchYear"
class=
"fromItem"
>
<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=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"后评估批次名称:"
prop=
"batchName"
class=
"fromItem"
>
<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>
<el-form-item
label=
"后评估状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<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=
"0"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"已撤回"
value=
"2"
></el-option>
<el-option
label=
"已撤回"
value=
"2"
></el-option>
...
@@ -364,7 +364,7 @@ export default {
...
@@ -364,7 +364,7 @@ export default {
padding
:
20px
10px
;
padding
:
20px
10px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.fromItem
{
.fromItem
{
width
:
24%
;
min-
width
:
24%
;
margin
:
0
0.5%
;
margin
:
0
0.5%
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.el-input
{
.el-input
{
...
@@ -376,6 +376,8 @@ export default {
...
@@ -376,6 +376,8 @@ export default {
}
}
/
deep
/
.el-form-item__content
{
/
deep
/
.el-form-item__content
{
text-align
:
left
;
text-align
:
left
;
display
:
inline-block
;
margin-left
:
10px
!important
;
}
}
/
deep
/
.el-form-item__label
{
/
deep
/
.el-form-item__label
{
font-weight
:
bold
;
font-weight
:
bold
;
...
...
src/views/assessChecks/checkComplianceFZ.vue
View file @
463e651
...
@@ -174,6 +174,7 @@ export default {
...
@@ -174,6 +174,7 @@ export default {
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
.Btn
{
.Btn
{
width
:
calc
(
100%
-
246px
);
width
:
calc
(
100%
-
246px
);
position
:
fixed
;
position
:
fixed
;
...
...
src/views/assessChecks/checkComplianceXF.vue
View file @
463e651
...
@@ -237,17 +237,15 @@ export default {
...
@@ -237,17 +237,15 @@ export default {
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
.bottom
{
.bottom
{
width
:
99%
;
width
:
calc
(
100%
-
246px
);
position
:
absolute
;
position
:
fixed
;
//
height
:
80px
;
bottom
:
-15px
;
bottom
:
130px
;
right
:
0
;
right
:
0
;
//
left
:
50%
;
z-index
:
100
;
z-index
:
100
;
//
transform
:
translate
(
-50%
);
background-color
:
#f5f5f6
;
background-color
:
#f5f5f6
;
line-height
:
62
px
;
line-height
:
80
px
;
.textarea
{
.textarea
{
margin-top
:
1px
;
margin-top
:
1px
;
}
}
...
@@ -316,9 +314,7 @@ export default {
...
@@ -316,9 +314,7 @@ export default {
background-color
:
#f5f5f6
;
background-color
:
#f5f5f6
;
padding
:
10px
;
padding
:
10px
;
padding-top
:
0
;
padding-top
:
0
;
//
display
:
flex
;
padding-bottom
:
10px
;
//
padding
:
0
20px
;
padding-bottom
:
200px
;
position
:
relative
;
position
:
relative
;
}
}
...
...
src/views/assessChecks/confirmChanges.vue
View file @
463e651
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"项目ID:"
prop=
"projectId"
class=
"fromItem"
clearable
>
<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>
<el-form-item
class=
"button"
>
<el-form-item
class=
"button"
>
...
...
src/views/assessChecks/confirmRelease.vue
View file @
463e651
...
@@ -538,7 +538,17 @@ export default {
...
@@ -538,7 +538,17 @@ export default {
message
:
{},
message
:
{},
};
};
},
},
watch
:{
// 监听路由对象中的参数部分
'$route.params'
:
{
immediate
:
true
,
handler
(
newParams
,
oldParams
)
{
this
.
submitForm
();
}
}
},
mounted
()
{
mounted
()
{
console
.
log
(
'author'
)
this
.
submitForm
();
this
.
submitForm
();
},
},
methods
:
{
methods
:
{
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
463e651
...
@@ -320,6 +320,15 @@ export default {
...
@@ -320,6 +320,15 @@ export default {
dialog
:
false
,
dialog
:
false
,
};
};
},
},
watch
:{
// 监听路由对象中的参数部分
'$route.params'
:
{
immediate
:
true
,
handler
(
newParams
,
oldParams
)
{
this
.
submitForm
();
}
}
},
mounted
()
{
mounted
()
{
this
.
submitForm
();
this
.
submitForm
();
},
},
...
...
src/views/assessChecks/qrCompliance.vue
View file @
463e651
...
@@ -189,10 +189,10 @@ export default {
...
@@ -189,10 +189,10 @@ export default {
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
.bottom
{
.bottom
{
width
:
calc
(
100%
-
246px
);
width
:
calc
(
100%
-
246px
);
position
:
fixed
;
position
:
fixed
;
//
height
:
80px
;
bottom
:
-15px
;
bottom
:
-15px
;
right
:
0
;
right
:
0
;
z-index
:
100
;
z-index
:
100
;
...
@@ -267,10 +267,6 @@ export default {
...
@@ -267,10 +267,6 @@ export default {
background-color
:
#f5f5f6
;
background-color
:
#f5f5f6
;
padding
:
10px
;
padding
:
10px
;
padding-top
:
0
;
padding-top
:
0
;
//
display
:
flex
;
//
padding
:
0
20px
;
padding-bottom
:
200px
;
position
:
relative
;
}
}
.tableTitle
{
.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 @@
...
@@ -38,7 +38,7 @@
<div
id=
"hpg"
@
click=
"navigateToChild('5','/mainLayout')"
:class=
"active=='5'?'active':''"
>
<div
id=
"hpg"
@
click=
"navigateToChild('5','/mainLayout')"
:class=
"active=='5'?'active':''"
>
<span
class=
"between iconfont"
>

</span>
后评估管控中心
<span
class=
"between iconfont"
>

</span>
后评估管控中心
</div>
</div>
<div
id=
"zhfx"
:class=
"active=='6'?'active':''"
>
<div
id=
"zhfx"
:class=
"active=='6'?'active':''"
@
click=
"navigateToChild('6','/mainLayout')"
>
<span
class=
"between iconfont"
>

</span>
综合分析中心
<span
class=
"between iconfont"
>

</span>
综合分析中心
</div>
</div>
<div
id=
"xtgl"
:class=
"active=='7'?'active':''"
>
<div
id=
"xtgl"
:class=
"active=='7'?'active':''"
>
...
...
src/views/layout/leftBar.vue
View file @
463e651
...
@@ -366,12 +366,56 @@ export default {
...
@@ -366,12 +366,56 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
""
,
default
:
""
,
},
},
autho
:
{
type
:
String
,
default
:
""
,
},
},
},
watch
:
{
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
)
{
authority
(
newVal
,
oldVal
)
{
console
.
log
(
"oldVal:"
,
oldVal
);
// coderkey
console
.
log
(
"oldVal:"
,
oldVal
);
// coderkey
console
.
log
(
"newVal:"
,
newVal
);
// pink
console
.
log
(
"newVal:"
,
newVal
);
// pink
this
.
menuList
=
[]
this
.
menuList
=
[];
if
(
newVal
==
1
)
{
if
(
newVal
==
1
)
{
this
.
menuList
=
[
this
.
menuList
=
[
{
{
...
@@ -412,10 +456,8 @@ export default {
...
@@ -412,10 +456,8 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliarySelection"
,
path
:
"/mainLayout/auxiliarySelection"
,
});
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
}
else
if
(
newVal
==
2
)
{
}
else
if
(
newVal
==
2
)
{
this
.
menuList
=
[
this
.
menuList
=
[
{
{
name
:
"后评估检查"
,
name
:
"后评估检查"
,
...
@@ -458,13 +500,7 @@ export default {
...
@@ -458,13 +500,7 @@ export default {
],
],
},
},
];
];
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
}
else
if
(
newVal
==
3
)
{
}
else
if
(
newVal
==
3
)
{
this
.
menuList
=
[
this
.
menuList
=
[
{
{
name
:
"后评估检查"
,
name
:
"后评估检查"
,
...
@@ -499,12 +535,11 @@ export default {
...
@@ -499,12 +535,11 @@ export default {
],
],
},
},
];
];
this
.
$router
.
push
({
//
this.$router.push({
path
:
"/mainLayout/materialAcquisition"
,
//
path: "/mainLayout/materialAcquisition",
});
//
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
// this.$refs.kzMenu.activeIndex =
this.$route.path;
}
else
if
(
newVal
==
99
)
{
}
else
if
(
newVal
==
99
)
{
this
.
menuList
=
[
this
.
menuList
=
[
{
{
name
:
"后评估检查"
,
name
:
"后评估检查"
,
...
@@ -709,7 +744,6 @@ export default {
...
@@ -709,7 +744,6 @@ export default {
{
name
:
"合规问题整改核验"
,
url
:
""
,
children
:
[]
},
{
name
:
"合规问题整改核验"
,
url
:
""
,
children
:
[]
},
],
],
},
},
],
],
},
},
{
{
...
@@ -758,11 +792,11 @@ export default {
...
@@ -758,11 +792,11 @@ export default {
},
},
],
],
},
},
]
];
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliarySelection"
,
path
:
"/mainLayout/auxiliarySelection"
,
});
});
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
}
}
},
},
},
},
...
@@ -771,19 +805,21 @@ export default {
...
@@ -771,19 +805,21 @@ export default {
// this.handleOpen(0,['0'])
// this.handleOpen(0,['0'])
// this.handleOpen("0-0",['0','0-0'])
// this.handleOpen("0-0",['0','0-0'])
console
.
log
(
'333333'
,
this
.
$route
.
query
)
console
.
log
(
"333333"
,
this
.
$route
.
query
);
if
(
this
.
$route
.
path
==
'/mainLayout/Compliancefz'
||
this
.
$route
.
path
==
'/mainLayout/Compliance'
){
if
(
this
.
activeIndex
=
'/mainLayout/auxiliaryInspection'
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/qrCompliance"
){
this
.
$route
.
path
==
"/mainLayout/Compliance"
this
.
activeIndex
=
'/mainLayout/confirmChanges'
)
{
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancexf"
){
this
.
activeIndex
=
"/mainLayout/auxiliaryInspection"
;
if
(
this
.
$route
.
query
.
fromType
==
'fzcx'
){
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/qrCompliance"
)
{
this
.
activeIndex
=
'/mainLayout/auxiliaryQuery'
this
.
activeIndex
=
"/mainLayout/confirmChanges"
;
}
else
{
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancexf"
)
{
this
.
activeIndex
=
'/mainLayout/assitedDistribution'
if
(
this
.
$route
.
query
.
fromType
==
"fzcx"
)
{
this
.
activeIndex
=
"/mainLayout/auxiliaryQuery"
;
}
else
{
this
.
activeIndex
=
"/mainLayout/assitedDistribution"
;
}
}
}
else
{
}
else
{
this
.
activeIndex
=
this
.
$route
.
path
;
this
.
activeIndex
=
this
.
$route
.
path
;
}
}
// this.$refs.kzMenu.open(0-0,['0','0-0'])
// this.$refs.kzMenu.open(0-0,['0','0-0'])
...
@@ -966,6 +1002,4 @@ export default {
...
@@ -966,6 +1002,4 @@ export default {
//
transform
:
rotate
(
90deg
);
//
transform
:
rotate
(
90deg
);
//
}
//
}
//
}
//
}
</
style
>
</
style
>
\ No newline at end of file
src/views/layout/mainLayout.vue
View file @
463e651
<
template
>
<
template
>
<div
class=
"layout"
>
<div
class=
"layout"
>
<LeftBar
class=
"bar"
:authority=
'authority'
></LeftBar>
<LeftBar
class=
"bar"
:authority=
"authority"
:autho=
"autho"
></LeftBar>
<ContinerView
class=
"continer"
id=
"myElement"
>
<ContinerView
class=
"continer"
id=
"myElement"
>
<router-view></router-view>
<router-view></router-view>
</ContinerView>
</ContinerView>
<div
class=
"changeqx"
>
<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
<el-menu
router
router
class=
"el-menu-vertical-demo"
class=
"el-menu-vertical-demo"
:unique-opened=
"true"
:unique-opened=
"true"
@
open=
"handleOpen"
@
open=
"handleOpen"
>
>
<el-submenu
<el-submenu
v-for=
"(item, index) in menuList"
v-for=
"(item, index) in menuList"
...
@@ -30,7 +18,6 @@
...
@@ -30,7 +18,6 @@
class=
"submenu1"
class=
"submenu1"
>
>
<template
slot=
"title"
>
<template
slot=
"title"
>
<span>
{{
item
.
name
}}
</span>
<span>
{{
item
.
name
}}
</span>
</
template
>
</
template
>
<el-submenu
<el-submenu
...
@@ -40,17 +27,16 @@
...
@@ -40,17 +27,16 @@
class=
"submenu2"
class=
"submenu2"
>
>
<
template
slot=
"title"
>
<
template
slot=
"title"
>
<span>
{{
item2
.
name
}}
</span>
<span
>
{{
item2
.
name
}}
</span>
</
template
>
</
template
>
<el-menu-item
<el-menu-item
v-for=
"(item3, index3) in item2.children"
v-for=
"(item3, index3) in item2.children"
:key=
"index3"
:key=
"index3"
:index=
"item3.url"
:index=
"item3.url"
class=
"submenu3"
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-menu-item>
</el-submenu>
</el-submenu>
</el-submenu>
</el-submenu>
...
@@ -71,24 +57,21 @@ export default {
...
@@ -71,24 +57,21 @@ export default {
data
()
{
data
()
{
return
{
return
{
title
:
"确认更改"
,
title
:
"确认更改"
,
submenu
:[
submenu
:
[
{
{
id
:
1
,
id
:
1
,
menu
:
'省公司管理'
menu
:
"省公司管理"
,
},
},
{
{
id
:
2
,
id
:
2
,
menu
:
'省公司专家'
menu
:
"省公司专家"
,
},
},
{
{
id
:
3
,
id
:
3
,
menu
:
'项目建设单位专员'
menu
:
"项目建设单位专员"
,
},
},
],
],
menuList
:[
menuList
:
[
{
{
name
:
"权限切换"
,
name
:
"权限切换"
,
url
:
""
,
url
:
""
,
...
@@ -96,11 +79,11 @@ export default {
...
@@ -96,11 +79,11 @@ export default {
{
{
name
:
"省公司管理"
,
name
:
"省公司管理"
,
url
:
""
,
url
:
""
,
id
:
1
,
id
:
1
,
children
:
[
children
:
[
{
{
name
:
"张宇"
,
name
:
"张宇"
,
code
:
"sgtig_zhangyu"
,
code
:
"sgtig_zhangyu"
,
url
:
"/mainLayout/auxiliarySelection"
,
url
:
"/mainLayout/auxiliarySelection"
,
children
:
[],
children
:
[],
},
},
...
@@ -108,17 +91,17 @@ export default {
...
@@ -108,17 +91,17 @@ export default {
},
},
{
{
name
:
"省公司专家"
,
name
:
"省公司专家"
,
id
:
2
,
id
:
2
,
children
:
[
children
:
[
{
{
name
:
"李一鸣"
,
name
:
"李一鸣"
,
code
:
"sgtig_liyiming"
,
code
:
"sgtig_liyiming"
,
children
:
[],
children
:
[],
},
},
{
{
name
:
"王美玲"
,
name
:
"王美玲"
,
code
:
"sgtig_wangmeiling"
,
code
:
"sgtig_wangmeiling"
,
children
:
[],
children
:
[],
},
},
...
@@ -126,23 +109,23 @@ export default {
...
@@ -126,23 +109,23 @@ export default {
},
},
{
{
name
:
"项目建设单位专责"
,
name
:
"项目建设单位专责"
,
id
:
3
,
id
:
3
,
children
:
[
children
:
[
{
{
name
:
"孟德建"
,
name
:
"孟德建"
,
code
:
"sgtig_mengdejian"
,
code
:
"sgtig_mengdejian"
,
children
:
[],
children
:
[],
},
},
{
{
name
:
"李文博"
,
name
:
"李文博"
,
code
:
"sgtig_liwenbo"
,
code
:
"sgtig_liwenbo"
,
children
:
[],
children
:
[],
},
},
{
{
name
:
"章轲"
,
name
:
"章轲"
,
code
:
"sgtig_zhangke"
,
code
:
"sgtig_zhangke"
,
children
:
[],
children
:
[],
},
},
...
@@ -151,11 +134,11 @@ export default {
...
@@ -151,11 +134,11 @@ export default {
{
{
name
:
"超级管理员"
,
name
:
"超级管理员"
,
url
:
""
,
url
:
""
,
id
:
99
,
id
:
99
,
children
:
[
children
:
[
{
{
name
:
"魏征"
,
name
:
"魏征"
,
code
:
"sgtig_weizheng"
,
code
:
"sgtig_weizheng"
,
children
:
[],
children
:
[],
},
},
],
],
...
@@ -163,8 +146,8 @@ export default {
...
@@ -163,8 +146,8 @@ export default {
],
],
},
},
],
],
authority
:
null
,
authority
:
null
,
autho
:
null
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -186,19 +169,19 @@ export default {
...
@@ -186,19 +169,19 @@ export default {
},
},
handleCommand
(
item
)
{
handleCommand
(
item
)
{
console
.
log
(
item
,
"item"
)
//下拉菜单里面的值
console
.
log
(
item
,
"item"
);
//下拉菜单里面的值
// this.authority=item
// this.authority=item
},
},
handleOpen
(
e
,
a
){
handleOpen
(
e
,
a
)
{
console
.
log
(
e
,
a
,
'e, ae, 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
>
</
script
>
...
@@ -223,9 +206,9 @@ export default {
...
@@ -223,9 +206,9 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
//
overflow
:
auto
;
//
overflow
:
auto
;
}
}
.changeqx
{
.changeqx
{
position
:
absolute
;
position
:
absolute
;
right
:
30px
;
right
:
30px
;
top
:
5px
;
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