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

View File

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

View File

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

View File

@ -51,17 +51,17 @@
if(identifier.includes('manager') || identifier.includes('admin')) 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 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 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: { methods: {