|
|
@ -115,10 +115,12 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="productName" label="课程名称" align="center" min-width="150" show-overflow-tooltip> |
|
|
|
<el-table-column prop="productName" label="课程名称" align="center" min-width="150" show-overflow-tooltip> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="使用期限" align="center" min-width="80"> |
|
|
|
<el-table-column label="使用期限" align="center" min-width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div class="small"> |
|
|
|
<div class="small"> |
|
|
|
<el-input onkeyup="value=this.value.replace(/\D+/g,'')" |
|
|
|
<el-input |
|
|
|
|
|
|
|
style='width: 80px' |
|
|
|
|
|
|
|
onkeyup="value=this.value.replace(/\D+/g,'')" |
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
:disabled="viewDisabled||editDisabled" maxlength="4" |
|
|
|
:disabled="viewDisabled||editDisabled" maxlength="4" |
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options)" |
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options)" |
|
|
@ -1038,7 +1040,7 @@ export default { |
|
|
|
dataOrCourseId: e.cid,// id |
|
|
|
dataOrCourseId: e.cid,// id |
|
|
|
productName: e.curriculumName,// 名称 |
|
|
|
productName: e.curriculumName,// 名称 |
|
|
|
periodOfUse: "",// 使用期限 |
|
|
|
periodOfUse: "",// 使用期限 |
|
|
|
startTime: "",// 开始 |
|
|
|
startTime: new Date(),// 开始 |
|
|
|
endTime: "", // 终止 |
|
|
|
endTime: "", // 终止 |
|
|
|
remainingPeriod: "",// 剩余期限 |
|
|
|
remainingPeriod: "",// 剩余期限 |
|
|
|
marketValue: e.marketPrice,// 市场价 |
|
|
|
marketValue: e.marketPrice,// 市场价 |
|
|
@ -1049,7 +1051,7 @@ export default { |
|
|
|
isEnable: 1, // 启用否:1启用,0禁用 |
|
|
|
isEnable: 1, // 启用否:1启用,0禁用 |
|
|
|
ship: 0,// 发货否(0未发货,1已发货,默认不发货) |
|
|
|
ship: 0,// 发货否(0未发货,1已发货,默认不发货) |
|
|
|
authority: 1, // 区分权限 0为数据平台权限,1为课程权限 |
|
|
|
authority: 1, // 区分权限 0为数据平台权限,1为课程权限 |
|
|
|
options: 0, |
|
|
|
options: 1, |
|
|
|
}; |
|
|
|
}; |
|
|
|
that.coursePermissions.push(obj); |
|
|
|
that.coursePermissions.push(obj); |
|
|
|
}; |
|
|
|
}; |
|
|
@ -1161,7 +1163,7 @@ export default { |
|
|
|
isEnable: 1, // 启用否:1启用,0禁用 |
|
|
|
isEnable: 1, // 启用否:1启用,0禁用 |
|
|
|
ship: 0,// 发货否(0未发货,1已发货,默认不发货) |
|
|
|
ship: 0,// 发货否(0未发货,1已发货,默认不发货) |
|
|
|
authority: 0,// 数据平台权限 |
|
|
|
authority: 0,// 数据平台权限 |
|
|
|
options:0, |
|
|
|
options:1, |
|
|
|
}; |
|
|
|
}; |
|
|
|
that.dataPlatformPermissions.push(obj); |
|
|
|
that.dataPlatformPermissions.push(obj); |
|
|
|
}; |
|
|
|
}; |
|
|
|