|
|
@ -124,9 +124,9 @@ |
|
|
|
<button type="button">确定</button> |
|
|
|
<button type="button">确定</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
<el-dialog class="view" :visible.sync="manageVisible" width="1280px" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> |
|
|
|
<div class="system" style="margin-top:-8vh" v-if="manageVisible" width="1280px"> |
|
|
|
<router-view></router-view> |
|
|
|
<router-view></router-view> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -150,7 +150,8 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
'$route.path':function(val){ // 控制弹框显隐 |
|
|
|
'$route.path':function(val){ // 控制弹框显隐 |
|
|
|
if(val.split('/').pop()==="manage"){ |
|
|
|
let arr = val.split('/').slice(-2) |
|
|
|
|
|
|
|
if(arr.pop()==="manage"||arr[0]==='manage'){ |
|
|
|
this.manageVisible = true |
|
|
|
this.manageVisible = true |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.manageVisible = false |
|
|
|
this.manageVisible = false |
|
|
@ -158,10 +159,13 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created(){ |
|
|
|
created(){ |
|
|
|
console.log(this.$route.path.split('/').pop(),'path'); |
|
|
|
let arr = this.$route.path.split('/').slice(-2) |
|
|
|
if(this.$route.path.split('/').pop()==="manage"){// 使用children当组件 |
|
|
|
if(arr.pop()==="manage"||arr[0]==='manage'){ |
|
|
|
this.manageVisible = true |
|
|
|
this.manageVisible = true |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.manageVisible = false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
|
|
|
|
|
|
|
@ -186,7 +190,7 @@ export default { |
|
|
|
// 展示系统管理 |
|
|
|
// 展示系统管理 |
|
|
|
showManage(){ |
|
|
|
showManage(){ |
|
|
|
this.manageVisible=true |
|
|
|
this.manageVisible=true |
|
|
|
this.$router.push('/index/list/manage') |
|
|
|
this.$router.push('/index/list/manage/consumerClient') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
@ -194,9 +198,10 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.wrap{ |
|
|
|
.wrap{ |
|
|
|
// position: relative; |
|
|
|
position: relative; |
|
|
|
// min-height: calc(100vh - 68px); |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: calc(100vh - 68px); |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
.sth{ |
|
|
|
.sth{ |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
&.cp{ |
|
|
|
&.cp{ |
|
|
@ -348,6 +353,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
/deep/.data-dia{ |
|
|
|
/deep/.data-dia{ |
|
|
|
border-radius: 16px; |
|
|
|
border-radius: 16px; |
|
|
|
|
|
|
|
margin-top: 11vh!important; |
|
|
|
.el-dialog__header{ |
|
|
|
.el-dialog__header{ |
|
|
|
padding: 0; |
|
|
|
padding: 0; |
|
|
|
border-bottom: 0; |
|
|
|
border-bottom: 0; |
|
|
@ -428,7 +434,12 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
/deep/ .view .el-dialog__body{ |
|
|
|
.system{ |
|
|
|
padding: 0!important; |
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 12%; |
|
|
|
|
|
|
|
left: 50%; |
|
|
|
|
|
|
|
z-index: 9; |
|
|
|
|
|
|
|
transform: translate(-50%,0); |
|
|
|
|
|
|
|
// display: flex; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |