From 57ec2038f86f47a87db6b73c0c6eb27c1c25b08e Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期三, 06 八月 2025 14:16:00 +0800 Subject: [PATCH] 我的已办、仓库管理相关调整 --- src/mixins/JeecgListMixin.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/mixins/JeecgListMixin.js b/src/mixins/JeecgListMixin.js index 161c3a6..f19dddc 100644 --- a/src/mixins/JeecgListMixin.js +++ b/src/mixins/JeecgListMixin.js @@ -8,6 +8,7 @@ import Vue from 'vue' import { ACCESS_TOKEN, TENANT_ID } from "@/store/mutation-types" import store from '@/store' +import { buttonShowAuthFilter } from '@/utils/authFilter' export const JeecgListMixin = { data(){ @@ -78,6 +79,9 @@ } }, methods:{ + isShowAuth(code){ + return buttonShowAuthFilter(code); + }, loadData(arg) { if(!this.url.list){ this.$message.error("璇疯缃畊rl.list灞炴��!") @@ -301,7 +305,10 @@ // 鎵撳紑璇︽儏鎶藉眽鏃剁鐢ㄨ澶囩紪鐮併�佽澶囧悕绉拌緭鍏ユ this.$refs.modalForm.disSeach = true; // 璋冪敤鎶藉眽琛ㄥ崟缁勪欢涓殑娓呴櫎琛ㄥ崟楠岃瘉鏂规硶 - this.$refs.modalForm.removeValidate() + if(this.$refs.modalForm.removeValidate) { + this.$refs.modalForm.removeValidate() + } + }, /* 瀵煎嚭 */ handleExportXls2(){ @@ -373,6 +380,7 @@ this.loadData() } else { // this.$message.error(`${info.file.name} ${info.file.response.message}.`); + this.loading = false this.$notification.error({ message:'娑堟伅', description:`${info.file.name} ${info.file.response.message}.` -- Gitblit v1.9.3