| | |
| | | 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('该工单类型暂无关联算法'); |
| | |
| | | })); |
| | | }, |
| | | |
| | | handleDepartmentChange(deptId) { |
| | | handleDepartmentChange() { |
| | | this.form.handler = ''; |
| | | }, |
| | | |