From 300a480751c63fa970e3879965ff64c5bbfb4eac Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期一, 13 一月 2025 14:04:32 +0800 Subject: [PATCH] 数采改为3秒刷新,无感刷新 --- src/views/basic/part/index.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/basic/part/index.vue b/src/views/basic/part/index.vue index b462e35..f4b3331 100644 --- a/src/views/basic/part/index.vue +++ b/src/views/basic/part/index.vue @@ -15,8 +15,8 @@ <template #toolbar> <!-- <el-button type="primary" @click="addOrUpdateHandle" v-if="permissions.basic_part_add">鏂板</el-button> --> - <el-button type="primary" @click="() => (this.syncDateVisible = true)" - v-if="permissions.basic_part_mdm">鍚屾MDM</el-button> + <!-- <el-button text="鍚屾MDM" type="primary" @click="" + v-if="permissions.basic_part_mdm">鍚屾MDM</el-button> --> </template> </ttable> <!-- 寮圭獥, 鏂板 / 淇敼 --> @@ -235,7 +235,7 @@ optList: () => { return this.getThreeLevelClassification() } - }, + }, // 瑙勬牸 { minWidth: '140', @@ -436,6 +436,16 @@ PrintLabelForm }, created() { +if(this.permissions.basic_part_mdm){ + this.table.toolbar.push( + { + text: '鍚屾MDM', + type: 'primary', + fun: () => this.syncDateVisible = true, + loading: false + } + ) + } if(this.permissions.basic_part_del){ this.table.operator = [ { -- Gitblit v1.9.3