|
|
@ -2436,12 +2436,12 @@ export default { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
type: "warning" |
|
|
|
type: "warning" |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
if (this.renewDisabled && this.coursePermissions.length === 1) { |
|
|
|
// if (this.renewDisabled && this.coursePermissions.length === 1) { |
|
|
|
return this.$message.warning("续费至少保留一条课程权限"); |
|
|
|
// return this.$message.warning("续费至少保留一条课程权限"); |
|
|
|
} else { |
|
|
|
// } else { |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.coursePermissions.splice(index, 1); |
|
|
|
this.coursePermissions.splice(index, 1); |
|
|
|
} |
|
|
|
// } |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
//删除理论课程 |
|
|
|
//删除理论课程 |
|
|
@ -2449,12 +2449,12 @@ export default { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
type: "warning" |
|
|
|
type: "warning" |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
if (this.renewDisabled && this.theoryCourseList.length === 1) { |
|
|
|
// if (this.renewDisabled && this.theoryCourseList.length === 1) { |
|
|
|
return this.$message.warning("续费至少保留一条课程权限"); |
|
|
|
// return this.$message.warning("续费至少保留一条课程权限"); |
|
|
|
} else { |
|
|
|
// } else { |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.theoryCourseList.splice(index, 1); |
|
|
|
this.theoryCourseList.splice(index, 1); |
|
|
|
} |
|
|
|
// } |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -2463,12 +2463,12 @@ export default { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
type: "warning" |
|
|
|
type: "warning" |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
if (this.renewDisabled && this.dataPlatformPermissions.length === 1) { |
|
|
|
// if (this.renewDisabled && this.dataPlatformPermissions.length === 1) { |
|
|
|
return this.$message.warning("续费至少保留一条产品信息"); |
|
|
|
// return this.$message.warning("续费至少保留一条产品信息"); |
|
|
|
} else { |
|
|
|
// } else { |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.dataPlatformPermissions.splice(index, 1); |
|
|
|
this.dataPlatformPermissions.splice(index, 1); |
|
|
|
} |
|
|
|
// } |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -2477,12 +2477,12 @@ export default { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
type: "warning" |
|
|
|
type: "warning" |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
if (this.renewDisabled && this.valuePermissions.length === 1) { |
|
|
|
// if (this.renewDisabled && this.valuePermissions.length === 1) { |
|
|
|
return this.$message.warning("续费至少保留一条产品信息"); |
|
|
|
// return this.$message.warning("续费至少保留一条产品信息"); |
|
|
|
} else { |
|
|
|
// } else { |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.valuePermissions.splice(index, 1); |
|
|
|
this.valuePermissions.splice(index, 1); |
|
|
|
} |
|
|
|
// } |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -2631,12 +2631,12 @@ export default { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
type: "warning" |
|
|
|
type: "warning" |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
if (this.renewDisabled && this.practicalCourses.length === 1) { |
|
|
|
// if (this.renewDisabled && this.practicalCourses.length === 1) { |
|
|
|
return this.$message.warning("续费至少保留一条产品信息"); |
|
|
|
// return this.$message.warning("续费至少保留一条产品信息"); |
|
|
|
} else { |
|
|
|
// } else { |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.handleOrderRepeat(row.dataOrCourseId) |
|
|
|
this.practicalCourses.splice(index, 1); |
|
|
|
this.practicalCourses.splice(index, 1); |
|
|
|
} |
|
|
|
// } |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|