| | |
| | | isPass: 0, // 0 表示通过 |
| | | eventName: this.currentDetail.orderName, // 工单名称 |
| | | eventNum: this.currentDetail.orderNumber, |
| | | workOrderTypeDictKey: this.currentDetail.type, // 工单类型 |
| | | workOrderTypeDictKey: this.currentDetail.type, // 直接使用原始的 dict_key |
| | | content: this.currentDetail.content, // 使用 content 替代原来的 remark |
| | | createDept: this.dispatchForm.department, // 派发部门 ID |
| | | updateUser: this.dispatchForm.handler, // 处理人 ID |
| | | } |
| | | |
| | | |
| | | const file = this.currentDetail.file || null // 如果没有文件,则为 null |
| | | |
| | | const response = await flowEvent(data, file) |