修改
This commit is contained in:
parent
6371aa3113
commit
33eb1e3387
@ -274,9 +274,32 @@
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
property="trainingItemTitle"
|
||||
label="培训分类标题"
|
||||
property="trainingItemType"
|
||||
label="培训项目类型"
|
||||
align="center"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.trainingItemType == "VIDEO_LEARNING" ? "视频学习" : "" }}
|
||||
{{
|
||||
scope.row.trainingItemType == "GRAPHIC_LEARNING" ? "图文学习" : ""
|
||||
}}
|
||||
{{ scope.row.trainingItemType == "LIVE_COURSES" ? "直播课程" : "" }}
|
||||
{{
|
||||
scope.row.trainingItemType == "OFFLINE_TRAINING" ? "线下培训" : ""
|
||||
}}
|
||||
{{
|
||||
scope.row.trainingItemType == "LEARNING_ITEM_GROUP"
|
||||
? "学习培训项目组"
|
||||
: ""
|
||||
}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
property="trainingParentName"
|
||||
label="项目名称"
|
||||
align="center"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
@ -466,7 +489,7 @@
|
||||
<el-form-item label="父级项目组" prop="trainingParentId">
|
||||
<el-button
|
||||
type=""
|
||||
v-if="form.trainingItemTitle == '请选择父级项目组'"
|
||||
v-if="form.trainingParentName == '请选择父级项目组'"
|
||||
@click="trainingParentitem()"
|
||||
style="
|
||||
width: 250px;
|
||||
@ -475,7 +498,7 @@
|
||||
color: #c0c4cc;
|
||||
overflow: hidden;
|
||||
"
|
||||
>{{ form.trainingItemTitle }}</el-button
|
||||
>{{ form.trainingParentName }}</el-button
|
||||
>
|
||||
<el-button
|
||||
@click="trainingParentitem()"
|
||||
@ -488,7 +511,7 @@
|
||||
padding-left: -10px;
|
||||
overflow: hidden;
|
||||
"
|
||||
>{{ form.trainingItemTitle }}</el-button
|
||||
>{{ form.trainingParentName }}</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
|
||||
@ -781,7 +804,6 @@ export default {
|
||||
trainingParentqueryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
trainingCategoryCode: "",
|
||||
trainingCategoryTitle: "",
|
||||
},
|
||||
trainingCategoryqueryParams: {
|
||||
@ -1043,7 +1065,7 @@ export default {
|
||||
// 父级项目组
|
||||
trainingParentitemlist(row) {
|
||||
this.form.trainingParentId = row.id;
|
||||
this.form.trainingItemTitle = row.trainingItemTitle;
|
||||
this.form.trainingParentName = row.trainingParentName;
|
||||
this.innerVisiblepd = false;
|
||||
},
|
||||
info() {
|
||||
@ -1102,10 +1124,12 @@ export default {
|
||||
itemDirectorySort: null,
|
||||
},
|
||||
],
|
||||
trainingParentId:null,
|
||||
id: null,
|
||||
trainingCategoryName: "请选择培训分类",
|
||||
trainingCategoryId: null,
|
||||
trainingItemTitle: "",
|
||||
trainingParentName:"",
|
||||
trainingItemCode: null,
|
||||
trainingItemPrice: null,
|
||||
trainingItemCoverUrl: null,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user