This commit is contained in:
张运江 2025-02-25 09:26:12 +08:00
commit 512ccb69f6
4 changed files with 18 additions and 11 deletions

View File

@ -103,6 +103,7 @@ import api from "@/services/caseManagement";
methods: {
//
handleSubmitUpdate(){
if(this.Effectobj.mediaPath.length == 0){return false}
this.$refs.ruleFormEffect.validate((valid) => {
if (valid){
this.Effectobj.createAt =undefined
@ -113,6 +114,7 @@ import api from "@/services/caseManagement";
this.Effectobj.updateAt =undefined
this.Effectobj.updateBy =undefined
this.Effectobj.uploaderName =undefined
this.Effectobj.proofUrl = this.Effectobj.mediaPath[0]
api.gettraceProof_edit(this.Effectobj).then(res => {
if(!res.code){
this.$parent.getProofList(1)

View File

@ -467,7 +467,8 @@ export default {
box-sizing: border-box;
// background: url('~@/assets/image/header-bg-1920.png') no-repeat ;
background-size: cover;
background-color: #C66A5B;
// background-color: #C66A5B;
background-color: #5d7eeac7;
.el-badge__content {
height: $height20;
@ -491,7 +492,7 @@ export default {
background-color: transparent;
}
.el-menu--horizontal > .el-menu-item {
.el-menu--horizontal > .el-menu-item,.el-menu--horizontal > .el-menu-item i {
color: #FFFFFFB2;
}
@ -499,7 +500,7 @@ export default {
color: #FFFFFFB2;
}
.el-menu--horizontal > .el-menu-item:hover {
.el-menu--horizontal > .el-menu-item:hover, .el-menu--horizontal > .el-menu-item:hover i {
color: #C66A5B;
background-color: transparent;
color: #fff;
@ -515,7 +516,7 @@ export default {
color: #FFFFFFB2;
}
.el-menu--horizontal > .el-menu-item.is-active {
.el-menu--horizontal > .el-menu-item.is-active, .el-menu--horizontal > .el-menu-item.is-active i {
border-bottom: 2px solid #fff;
background-color: transparent;
color: #fff;

View File

@ -1,8 +1,8 @@
<template>
<el-submenu v-if="menu.children && menu.children.length >= 1" :index="menu.url">
<template slot="title">
<svg-icon :icon-class="menu.menuIcon"></svg-icon>
<span slot="title" class="ml-8 f14">{{ menu.name }}</span>
<!-- <svg-icon :icon-class="menu.menuIcon"></svg-icon> -->
<span slot="title" class="ml-8 f16">{{ menu.name }}</span>
</template>
<MenuTree v-for="item in menu.children" :key="item.url"
:menu="item"
@ -11,8 +11,9 @@
<el-menu-item v-else @click="handleRoute(menu)" :index="menu.url"
class="zd-el-menu-item__custom-class">
<svg-icon :icon-class="menu.menuIcon"></svg-icon>
<span slot="title" class="ml-8 f14">{{ menu.name }}</span>
<!-- <svg-icon :icon-class="menu.menuIcon"></svg-icon> -->
<i :class="menu.menuIcon"></i>
<span slot="title" class="ml-8 f16">{{ menu.name }}</span>
</el-menu-item>
</template>
<script>
@ -28,6 +29,9 @@
default: 0
}
},
mounted() {
console.log(this.menu,'menu')
},
methods: {
handleRoute(menu) {
// console.log('menu',menu)

View File

@ -51,17 +51,17 @@
if(identifier.includes('manager') || identifier.includes('admin'))
{
//
this.menuTree.unshift({children:[],id:0,menuIcon:"menu-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbench"})
this.menuTree.unshift({children:[],id:0,menuIcon:"el-icon-s-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbench"})
}
else
{
//
this.menuTree.unshift({children:[],id:0,menuIcon:"menu-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbenchcm"})
this.menuTree.unshift({children:[],id:0,menuIcon:"el-icon-s-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbenchcm"})
}
}
else
{
this.menuTree.push({children:[],id:0,menuIcon:"menu-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbenchcm"})
this.menuTree.push({children:[],id:0,menuIcon:"el-icon-s-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbenchcm"})
}
},
methods: {