mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
讲师管理bug
This commit is contained in:
@@ -1060,7 +1060,7 @@ export default {
|
||||
href: "/organization",
|
||||
openKeys: "sub24",
|
||||
selectedKeys: "sub24-5",
|
||||
pagename: "归属组织管理",
|
||||
pagename: "培训发生组织",
|
||||
},
|
||||
{
|
||||
href: "/lecturerSystem",
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
<a-form-item label="初始授课时长" name="defaultTeachingTime">
|
||||
<a-input v-model:value="formParam.defaultTeachingTime" style="width:80%; height: 40px; border-radius: 8px; "
|
||||
:maxLength="8"
|
||||
@blur="clearNonNumber" placeholder="0" allowClear suffix="分钟">
|
||||
@change="clearNonNumber" placeholder="0" allowClear suffix="分钟">
|
||||
</a-input>
|
||||
<span style="margin-left: 5px ;" v-if="formParam.defaultTeachingTime === null">0.00小时</span>
|
||||
<span style="margin-left: 5px ;" v-if="formParam.defaultTeachingTime != null">{{
|
||||
@@ -988,6 +988,7 @@ export default {
|
||||
state.formParam.expertise = state.formParam?.orgLists?.map(item => item.id).join(',')
|
||||
state.formParam.expertiseNames = state.formParam?.orgLists?.map(item => item.name).join(',')
|
||||
state.formParam = {...state.formParam,...state.tSystemNames}
|
||||
delete state.formParam.teaching
|
||||
if (state.vf == false) {
|
||||
updateInTeacher(state.formParam).then(response => {
|
||||
message.success("编辑成功");
|
||||
|
||||
@@ -833,6 +833,29 @@ getAllLevelList().then((res) => {
|
||||
ellipsis: true, align: "center",
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
title: '课程类型 ',
|
||||
dataIndex: ' courseType',
|
||||
key: ' courseType',
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: 120,
|
||||
customRender: (value) => {
|
||||
return (
|
||||
<div>
|
||||
{String(value.record. courseType)
|
||||
? {
|
||||
"0": "在线课",
|
||||
"1": "面授课",
|
||||
"2": "课程开发",
|
||||
"3": "作业员入模培训",
|
||||
"4": "其他",
|
||||
}[value.record. courseType + ""]
|
||||
: "-"}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '状态 ',
|
||||
dataIndex: 'status',
|
||||
@@ -857,29 +880,6 @@ getAllLevelList().then((res) => {
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '课程类型 ',
|
||||
dataIndex: ' courseType',
|
||||
key: ' courseType',
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: 120,
|
||||
customRender: (value) => {
|
||||
return (
|
||||
<div>
|
||||
{String(value.record. courseType)
|
||||
? {
|
||||
"0": "在线课",
|
||||
"1": "面授课",
|
||||
"2": "课程开发",
|
||||
"3": "作业员入模培训",
|
||||
"4": "其他",
|
||||
}[value.record. courseType + ""]
|
||||
: "-"}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '讲师组织',
|
||||
dataIndex: 'orgName',
|
||||
|
||||
@@ -284,9 +284,9 @@ export default{
|
||||
},
|
||||
})
|
||||
const PlaceOfPayList = ref([
|
||||
{ value: '1', label: "一级审批人" },
|
||||
{ value: '2', label: "二级审批人" },
|
||||
{ value: '3', label: "三级审批人" },
|
||||
{ value: '1', label: "一级审批" },
|
||||
{ value: '2', label: "二级审批" },
|
||||
{ value: '3', label: "三级审批" },
|
||||
])
|
||||
const placeData = () => {
|
||||
lecturer.parentList().then(res=>{
|
||||
|
||||
Reference in New Issue
Block a user