From 34feb4908ec7b7e5b51adf6355603978c67bd3a4 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期四, 05 六月 2025 09:53:14 +0800 Subject: [PATCH] 申请单入库 --- src/mixins/JeecgListMixin.js | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/mixins/JeecgListMixin.js b/src/mixins/JeecgListMixin.js index 16d8a8c..4d7ebe2 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(){ @@ -30,6 +31,10 @@ }, /* 鎺掑簭鍙傛暟 */ isorter:{ + column: 'createTime', + order: 'desc', + }, + defaultSorter:{ column: 'createTime', order: 'desc', }, @@ -74,6 +79,9 @@ } }, methods:{ + isShowAuth(code){ + return buttonShowAuthFilter(code); + }, loadData(arg) { if(!this.url.list){ this.$message.error("璇疯缃畊rl.list灞炴��!") @@ -84,7 +92,6 @@ this.ipagination.current = 1; } var params = this.getQueryParams();//鏌ヨ鏉′欢 - console.log('params',params) if(!params){ return false; } @@ -298,7 +305,10 @@ // 鎵撳紑璇︽儏鎶藉眽鏃剁鐢ㄨ澶囩紪鐮併�佽澶囧悕绉拌緭鍏ユ this.$refs.modalForm.disSeach = true; // 璋冪敤鎶藉眽琛ㄥ崟缁勪欢涓殑娓呴櫎琛ㄥ崟楠岃瘉鏂规硶 - this.$refs.modalForm.removeValidate() + if(this.$refs.modalForm.removeValidate) { + this.$refs.modalForm.removeValidate() + } + }, /* 瀵煎嚭 */ handleExportXls2(){ -- Gitblit v1.9.3