From cb4fc9b92a54576ac0f0f2464a042970584ca9ee Mon Sep 17 00:00:00 2001
From: rjg <746338628@qq.com>
Date: Thu, 17 Apr 2025 11:25:21 +0800
Subject: [PATCH] 显示新建
---
src/views/tickets/orderLog.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/views/tickets/orderLog.vue b/src/views/tickets/orderLog.vue
index 9150640..63a41d9 100644
--- a/src/views/tickets/orderLog.vue
+++ b/src/views/tickets/orderLog.vue
@@ -67,7 +67,7 @@
:table-loading="loading" @current-change="currentChange" @refresh-change="refreshChange"
@on-load="onLoad" @search-change="searchChange" @size-change="sizeChange">
<template #menu-left>
- <el-button type="primary" icon="el-icon-plus" @click="handleAdd">新建工单</el-button>
+ <el-button type="primary" icon="el-icon-plus" v-if="activeTab!='WAIT_AUDIT' ">新建工单</el-button>
<el-button type="success" plain icon="el-icon-download" @click="exportData">导出</el-button>
</template>
@@ -119,7 +119,9 @@
</el-tabs>
<!-- 新建工单对话框 -->
- <el-dialog v-model="dialogVisible" title="新建工单" width="70%" :close-on-click-modal="false" @close="resetForm">
+ <el-dialog v-model="dialogVisible" title="新建工单" width="70%" :close-on-click-modal="false" @close="resetForm">
+
+
<el-form :model="form" :rules="rules" ref="testform" label-width="100px">
<el-row :gutter="20">
<el-col :span="12">
@@ -660,7 +662,8 @@
},
handleTabChange (tab) {
- this.activeTab = tab.props?.name || tab.name
+ this.activeTab = tab.props?.name || tab.name;
+ this.filters.status = ''
this.filters.status = ''
this.page.currentPage = 1
this.fetchTableData()
--
Gitblit v1.9.3