From 97462b96f855ec3da6f5b11ce779b08c42a6d97b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 06 Aug 2025 15:52:25 +0800
Subject: [PATCH] feat:事件工单添加参数
---
src/views/tickets/ticket.vue | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 955a40b..bb4583a 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -36,6 +36,7 @@
placeholder="请选择工单类型"
class="filter-item"
clearable
+ @change="handleSearch"
>
<el-option
v-for="item in types"
@@ -59,6 +60,7 @@
placeholder="请选择状态"
class="filter-item"
clearable
+ @change="handleSearch"
>
<el-option
v-for="item in statuses"
@@ -72,6 +74,7 @@
placeholder="请选择关联算法"
class="filter-item"
clearable
+ @change="handleSearch"
>
<el-option
v-for="item in algorithms"
@@ -85,6 +88,7 @@
placeholder="请选择复核状态"
class="filter-item"
clearable
+ @change="handleSearch"
>
<el-option
v-for="item in reviewStatuses"
@@ -2360,8 +2364,8 @@
// 通过验证后,打开派发对话框
this.dispatchDialogVisible = true;
-
-
+
+ console.log('受理',this.currentDetail);
},
hasProcessingBtnPermission() {
@@ -2402,6 +2406,8 @@
return;
}
this.dispatchLoading = true;
+ console.log('派发成功',this.currentDetail);
+
this.$refs.dispatchForm.validate(async valid => {
if (valid) {
try {
@@ -2415,7 +2421,9 @@
content: this.currentDetail.content, // 使用 content 替代原来的 remark
createDept: this.dispatchForm.department, // 派发部门 ID
updateUser: this.dispatchForm.handler, // 处理人 ID
+ aiType:this.currentDetail.aiType
};
+console.log('派发',data);
const file = this.currentDetail.file || null; // 如果没有文件,则为 null
@@ -2959,7 +2967,7 @@
};
</script>
<style lang="scss">
-.custom-dialog { height: 96vh; /* 80% 视口高度 */}
+.custom-dialog { max-height: 96vh; /* 80% 视口高度 */}
</style>
<style lang="scss" scoped>
--
Gitblit v1.9.3