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