From 771cd475a2aad9938f4e2085ca018ba31bdc1d7f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 20 Nov 2025 14:11:03 +0800
Subject: [PATCH] feat:工单详情
---
src/views/tickets/ticketComponent/CreateTicketDialog.vue | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/views/tickets/ticketComponent/CreateTicketDialog.vue b/src/views/tickets/ticketComponent/CreateTicketDialog.vue
index b7eaa42..3c9f952 100644
--- a/src/views/tickets/ticketComponent/CreateTicketDialog.vue
+++ b/src/views/tickets/ticketComponent/CreateTicketDialog.vue
@@ -397,16 +397,13 @@
this.dialogVisible = false;
this.resetForm();
},
-
handleTypeChange(typeValue) {
this.form.algorithm = [];
if (!typeValue) {
this.availableAlgorithms = [];
return;
}
-
const matchedCategory = this.allAlgorithms.find(category => category.dict_key === typeValue);
-
if (!matchedCategory || !matchedCategory.algorithms || matchedCategory.algorithms.length === 0) {
this.availableAlgorithms = [];
this.$message.info('该工单类型暂无关联算法');
@@ -421,7 +418,7 @@
}));
},
- handleDepartmentChange(deptId) {
+ handleDepartmentChange() {
this.form.handler = '';
},
--
Gitblit v1.9.3