Commit 463e6515 by liangzhen

角色切换查询

1 parent d66efaec
......@@ -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;
......
......@@ -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;
......
......@@ -174,6 +174,7 @@ export default {
height: 100%;
width: 100%;
box-sizing: border-box;
overflow-x: hidden;
.Btn {
width:calc(100% - 246px);
position:fixed;
......
......@@ -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: 62px;
line-height: 80px;
.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;
}
......
......@@ -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">
......
......@@ -538,7 +538,17 @@ export default {
message: {},
};
},
watch:{
// 监听路由对象中的参数部分
'$route.params': {
immediate: true,
handler(newParams, oldParams) {
this.submitForm();
}
}
},
mounted() {
console.log('author')
this.submitForm();
},
methods: {
......
......@@ -320,6 +320,15 @@ export default {
dialog: false,
};
},
watch:{
// 监听路由对象中的参数部分
'$route.params': {
immediate: true,
handler(newParams, oldParams) {
this.submitForm();
}
}
},
mounted() {
this.submitForm();
},
......
......@@ -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 {
......
<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
......@@ -38,7 +38,7 @@
<div id="hpg" @click="navigateToChild('5','/mainLayout')" :class="active=='5'?'active':''">
<span class="between iconfont" >&#xe612;</span>&nbsp;后评估管控中心
</div>
<div id="zhfx" :class="active=='6'?'active':''">
<div id="zhfx" :class="active=='6'?'active':''" @click="navigateToChild('6','/mainLayout')">
<span class="between iconfont">&#xe603;</span>&nbsp;综合分析中心
</div>
<div id="xtgl" :class="active=='7'?'active':''">
......
......@@ -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,291 +535,291 @@ 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: "后评估检查",
url: "",
children: [
{
name: "后评估自查",
url: "",
children: [
{
name: "评估项目辅助选定",
url: "/mainLayout/auxiliarySelection",
children: [],
},
{
name: "评估批次确认发布",
url: "/mainLayout/confirmRelease",
children: [],
},
{
name: "评估材料自动获取",
url: "/mainLayout/materialAcquisition",
children: [],
},
// { name: "评估材料自动解析", url: "/mainLayout/materialAnalysis", children: [] },
{
name: "项目辅助检查",
url: "/mainLayout/auxiliaryInspection",
children: [],
},
{
name: "项目评估结果确认更改",
url: "/mainLayout/confirmChanges",
children: [],
},
{
name: "评估结果辅助查看",
url: "/mainLayout/assistedViewing",
children: [],
},
{
name: "问题辅助下发",
url: "/mainLayout/assitedDistribution",
children: [],
},
{
name: "问题辅助查询",
url: "/mainLayout/auxiliaryQuery",
children: [],
},
{
name: "问题辅助反馈",
url: "/mainLayout/assistedFeedback",
children: [],
},
{
name: "申诉辅助确认",
url: "/mainLayout/assistedConfirm",
children: [],
},
{
name: "问题辅助整改",
url: "/mainLayout/assistedRect",
children: [],
},
{
name: "整改辅助核验",
url: "/mainLayout/correctiveAssistanceVerification",
children: [],
},
{
name: "材料同步归档",
url: "/mainLayout/attachSynchronousArchiving",
children: [],
},
],
},
{
name: "后评估互查",
url: "",
children: [
{
name: "评估项目辅助选定",
url: "/mainLayout/auxiliarySelection",
children: [],
},
{
name: "评估批次确认发布",
url: "/mainLayout/confirmRelease",
children: [],
},
{
name: "评估材料自动获取",
url: "/mainLayout/materialAcquisition",
children: [],
},
// { name: "评估材料自动解析", url: "/mainLayout/materialAnalysis", children: [] },
{
name: "项目辅助检查",
url: "/mainLayout/auxiliaryInspection",
children: [],
},
{
name: "项目评估结果确认更改",
url: "/mainLayout/confirmChanges",
children: [],
},
{
name: "评估结果辅助查看",
url: "/mainLayout/assistedViewing",
children: [],
},
{
name: "问题辅助下发",
url: "/mainLayout/assitedDistribution",
children: [],
},
{
name: "问题辅助查询",
url: "/mainLayout/auxiliaryQuery",
children: [],
},
{
name: "问题辅助反馈",
url: "/mainLayout/assistedFeedback",
children: [],
},
{
name: "申诉辅助确认",
url: "/mainLayout/assistedConfirm",
children: [],
},
{
name: "问题辅助整改",
url: "/mainLayout/assistedRect",
children: [],
},
{
name: "整改辅助核验",
url: "/mainLayout/correctiveAssistanceVerification",
children: [],
},
{
name: "材料同步归档",
url: "/mainLayout/attachSynchronousArchiving",
children: [],
},
],
},
{
name: "后评估集中检查",
url: "",
children: [
{
name: "项目检查问题查询",
url: "/mainLayout/projectCheckQuestionQuery",
children: [],
},
{
name: "整改反馈查询",
url: "/mainLayout/rectificationFeedbackQuery",
children: [],
},
],
},
// {
// name: '后评估结果', url: '',
// children: [
// { name: '检查结果公示', url: '', children: [] },
// { name: '综合绩效评价', url: '', children: [] },
// ]
// },
],
},
{
name: "后评估合规性管理",
url: "",
children: [
{
name: "合规性检查实时提醒",
url: "",
children: [
{ name: "合规性检查自动提醒", url: "", children: [] },
{ name: "合规性检查手动提醒", url: "", children: [] },
],
},
{
name: "合规性检查规则库构建",
url: "",
children: [
{ name: "检查规则编制", url: "", children: [] },
{ name: "自动稽核任务配置", url: "", children: [] },
],
},
{
name: "项目前期合规检查",
url: "",
children: [
{ name: "合规检查结果", url: "", children: [] },
{ name: "合规检查结果确认", url: "", children: [] },
{ name: "合规问题整改", url: "", children: [] },
{ name: "合规问题整改核验", url: "", children: [] },
],
},
],
},
{
name: "后评估结果管理",
url: "",
children: [
{
name: "后评估结果发布",
url: "",
children: [
{ name: "检查结果公示", url: "", children: [] },
{ name: "综合绩效评价", url: "", children: [] },
],
},
{
name: "后评估结果情况",
url: "",
children: [
{ name: "后评估进度情况", url: "", children: [] },
{ name: "各环节问题分布", url: "", children: [] },
{ name: "各类型问题分布", url: "", children: [] },
{ name: "后评估检查报告情况", url: "", children: [] },
{ name: "合规检查问题情况", url: "", children: [] },
{ name: "合规检查报告情况", url: "", children: [] },
],
},
{
name: "后评估检查报告管理",
url: "",
children: [
{ name: "后评估检查报告维护", url: "", children: [] },
{ name: "后评估检查报告导出", url: "", children: [] },
{ name: "后评估报告解析", url: "", children: [] },
{ name: "后评估模版维护", url: "", children: [] },
{ name: "后评估模版下载", url: "", children: [] },
],
},
{
name: "合规性检查报告管理",
url: "",
children: [
{ name: "合规性检查报告维护", url: "", children: [] },
{ name: "合规性检查报告导出", url: "", children: [] },
{ name: "合规性检查报告解析", url: "", children: [] },
],
},
],
},
]
{
name: "后评估检查",
url: "",
children: [
{
name: "后评估自查",
url: "",
children: [
{
name: "评估项目辅助选定",
url: "/mainLayout/auxiliarySelection",
children: [],
},
{
name: "评估批次确认发布",
url: "/mainLayout/confirmRelease",
children: [],
},
{
name: "评估材料自动获取",
url: "/mainLayout/materialAcquisition",
children: [],
},
// { name: "评估材料自动解析", url: "/mainLayout/materialAnalysis", children: [] },
{
name: "项目辅助检查",
url: "/mainLayout/auxiliaryInspection",
children: [],
},
{
name: "项目评估结果确认更改",
url: "/mainLayout/confirmChanges",
children: [],
},
{
name: "评估结果辅助查看",
url: "/mainLayout/assistedViewing",
children: [],
},
{
name: "问题辅助下发",
url: "/mainLayout/assitedDistribution",
children: [],
},
{
name: "问题辅助查询",
url: "/mainLayout/auxiliaryQuery",
children: [],
},
{
name: "问题辅助反馈",
url: "/mainLayout/assistedFeedback",
children: [],
},
{
name: "申诉辅助确认",
url: "/mainLayout/assistedConfirm",
children: [],
},
{
name: "问题辅助整改",
url: "/mainLayout/assistedRect",
children: [],
},
{
name: "整改辅助核验",
url: "/mainLayout/correctiveAssistanceVerification",
children: [],
},
{
name: "材料同步归档",
url: "/mainLayout/attachSynchronousArchiving",
children: [],
},
],
},
{
name: "后评估互查",
url: "",
children: [
{
name: "评估项目辅助选定",
url: "/mainLayout/auxiliarySelection",
children: [],
},
{
name: "评估批次确认发布",
url: "/mainLayout/confirmRelease",
children: [],
},
{
name: "评估材料自动获取",
url: "/mainLayout/materialAcquisition",
children: [],
},
// { name: "评估材料自动解析", url: "/mainLayout/materialAnalysis", children: [] },
{
name: "项目辅助检查",
url: "/mainLayout/auxiliaryInspection",
children: [],
},
{
name: "项目评估结果确认更改",
url: "/mainLayout/confirmChanges",
children: [],
},
{
name: "评估结果辅助查看",
url: "/mainLayout/assistedViewing",
children: [],
},
{
name: "问题辅助下发",
url: "/mainLayout/assitedDistribution",
children: [],
},
{
name: "问题辅助查询",
url: "/mainLayout/auxiliaryQuery",
children: [],
},
{
name: "问题辅助反馈",
url: "/mainLayout/assistedFeedback",
children: [],
},
{
name: "申诉辅助确认",
url: "/mainLayout/assistedConfirm",
children: [],
},
{
name: "问题辅助整改",
url: "/mainLayout/assistedRect",
children: [],
},
{
name: "整改辅助核验",
url: "/mainLayout/correctiveAssistanceVerification",
children: [],
},
{
name: "材料同步归档",
url: "/mainLayout/attachSynchronousArchiving",
children: [],
},
],
},
{
name: "后评估集中检查",
url: "",
children: [
{
name: "项目检查问题查询",
url: "/mainLayout/projectCheckQuestionQuery",
children: [],
},
{
name: "整改反馈查询",
url: "/mainLayout/rectificationFeedbackQuery",
children: [],
},
],
},
// {
// name: '后评估结果', url: '',
// children: [
// { name: '检查结果公示', url: '', children: [] },
// { name: '综合绩效评价', url: '', children: [] },
// ]
// },
],
},
{
name: "后评估合规性管理",
url: "",
children: [
{
name: "合规性检查实时提醒",
url: "",
children: [
{ name: "合规性检查自动提醒", url: "", children: [] },
{ name: "合规性检查手动提醒", url: "", children: [] },
],
},
{
name: "合规性检查规则库构建",
url: "",
children: [
{ name: "检查规则编制", url: "", children: [] },
{ name: "自动稽核任务配置", url: "", children: [] },
],
},
{
name: "项目前期合规检查",
url: "",
children: [
{ name: "合规检查结果", url: "", children: [] },
{ name: "合规检查结果确认", url: "", children: [] },
{ name: "合规问题整改", url: "", children: [] },
{ name: "合规问题整改核验", url: "", children: [] },
],
},
],
},
{
name: "后评估结果管理",
url: "",
children: [
{
name: "后评估结果发布",
url: "",
children: [
{ name: "检查结果公示", url: "", children: [] },
{ name: "综合绩效评价", url: "", children: [] },
],
},
{
name: "后评估结果情况",
url: "",
children: [
{ name: "后评估进度情况", url: "", children: [] },
{ name: "各环节问题分布", url: "", children: [] },
{ name: "各类型问题分布", url: "", children: [] },
{ name: "后评估检查报告情况", url: "", children: [] },
{ name: "合规检查问题情况", url: "", children: [] },
{ name: "合规检查报告情况", url: "", children: [] },
],
},
{
name: "后评估检查报告管理",
url: "",
children: [
{ name: "后评估检查报告维护", url: "", children: [] },
{ name: "后评估检查报告导出", url: "", children: [] },
{ name: "后评估报告解析", url: "", children: [] },
{ name: "后评估模版维护", url: "", children: [] },
{ name: "后评估模版下载", url: "", children: [] },
],
},
{
name: "合规性检查报告管理",
url: "",
children: [
{ name: "合规性检查报告维护", url: "", children: [] },
{ name: "合规性检查报告导出", url: "", children: [] },
{ name: "合规性检查报告解析", url: "", children: [] },
],
},
],
},
];
this.$router.push({
path: "/mainLayout/auxiliarySelection",
});
this.$refs.kzMenu.activeIndex =this.$route.path;
this.$refs.kzMenu.activeIndex = this.$route.path;
}
},
},
mounted() {
console.log("重新来了么");
// 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
<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
<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,100 +57,97 @@ 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:[
{
name: "权限切换",
url: "",
children: [
{
name: "省公司管理",
url: "",
id:1,
children: [
{
name: "张宇",
code:"sgtig_zhangyu",
url: "/mainLayout/auxiliarySelection",
children: [],
},
],
},
{
name: "省公司专家",
id:2,
children: [
{
name: "李一鸣",
code:"sgtig_liyiming",
children: [],
},
{
name: "王美玲",
code:"sgtig_wangmeiling",
children: [],
},
],
},
{
name: "项目建设单位专责",
id:3,
children: [
{
name: "孟德建",
code:"sgtig_mengdejian",
children: [],
},
{
name: "李文博",
code:"sgtig_liwenbo",
children: [],
},
{
name: "章轲",
code:"sgtig_zhangke",
children: [],
},
],
},
{
name: "超级管理员",
url: "",
id:99,
children: [
{
name: "魏征",
code:"sgtig_weizheng",
children: [],
},
],
},
],
},
],
authority:null,
menuList: [
{
name: "权限切换",
url: "",
children: [
{
name: "省公司管理",
url: "",
id: 1,
children: [
{
name: "张宇",
code: "sgtig_zhangyu",
url: "/mainLayout/auxiliarySelection",
children: [],
},
],
},
{
name: "省公司专家",
id: 2,
children: [
{
name: "李一鸣",
code: "sgtig_liyiming",
children: [],
},
{
name: "王美玲",
code: "sgtig_wangmeiling",
children: [],
},
],
},
{
name: "项目建设单位专责",
id: 3,
children: [
{
name: "孟德建",
code: "sgtig_mengdejian",
children: [],
},
{
name: "李文博",
code: "sgtig_liwenbo",
children: [],
},
{
name: "章轲",
code: "sgtig_zhangke",
children: [],
},
],
},
{
name: "超级管理员",
url: "",
id: 99,
children: [
{
name: "魏征",
code: "sgtig_weizheng",
children: [],
},
],
},
],
},
],
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>
......@@ -218,14 +201,14 @@ export default {
}
.continer {
width: 100%;
height: 100%;
height: 100%;
// flex: 1;
box-sizing: border-box;
// overflow: auto;
// overflow: auto;
}
.changeqx{
.changeqx {
position: absolute;
right:30px;
right: 30px;
top: 5px;
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!