无人机管理后台前端(已迁走)
张含笑
2025-08-06 97462b96f855ec3da6f5b11ce779b08c42a6d97b
feat:事件工单添加参数
1 files modified
14 ■■■■ changed files
src/views/tickets/ticket.vue 14 ●●●● patch | view | raw | blame | history
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>