课程编号调整

This commit is contained in:
wangxuemei
2024-11-07 11:25:40 +08:00
parent 78e67448ea
commit 9f9605233d
5 changed files with 27 additions and 14 deletions

View File

@@ -387,7 +387,7 @@ export default {
//获取内容分类
const sysTypeOptions = computed(() => store.state.content_type);
const treetype =(val,lab)=>{
state.formParam.courseTypeName =lab
state.formParam.courseTypeName =lab.toString()
}
const OnTheJobStatusList = ref([
{ value: 1, label: "项目开课" },

View File

@@ -75,11 +75,11 @@
@expand="expandTable" :pagination="false">
<template #bodyCell="{ record, column }">
<!-- <template v-if="column.key === 'organizationName'">
<!-- <template v-if="column.key === 'orgName'">
<a-space style="display:flex ;justify-content: space-around; ">
<a-popover>
<template #content>
<p>{{ record.organizationName }}</p>
<p>{{ record.orgName }}</p>
</template>
<span>{{ record.neworganizationName }}</span>
</a-popover>
@@ -152,7 +152,7 @@
<a-form-item label="讲师组织" name="orgName">
<a-popover>
<template #content>
{{ formParam.orgName }}.
{{ formParam.orgName }}
</template>
<a-input disabled v-model:value="formParam.orgName" class="draitem"
@@ -664,10 +664,10 @@ export default {
},
{
title: '所属组织 ',
dataIndex: 'organizationName',
key: 'organizationName',
dataIndex: 'orgName',
key: 'orgName',
elipsis: true, align: "center",
scopedSlots: { customRender: "organizationName" },
scopedSlots: { customRender: "orgName" },
width: 400,
// customRender: (value, record) => {
// return (
@@ -826,8 +826,8 @@ export default {
console.log(tableData.value,'tableData.value')
// let objA = res.data.data.records
// objA.map((item) => {
// if (item.organizationName !== null) {
// item.neworganizationName = item.organizationName.split('/')
// if (item.orgName !== null) {
// item.neworganizationName = item.orgName.split('/')
// item.neworganizationName = item.neworganizationName[item.neworganizationName.length - 1]
// }
// })

View File

@@ -522,7 +522,7 @@ export default {
const sysTypeOptions = computed(() => store.state.content_type);
const treetype =(val,lab)=>{
console.log(lab)
state.formParam.courseTypeName =lab
state.formParam.courseTypeName =lab.toString()
}
const OnTheJobStatusList = ref([
{ value: 1, label: "项目开课" },

View File

@@ -138,11 +138,21 @@ export default{
};
//授课记录列表
const teacherrecordsColumns = ref([
// {
// title: '课程编号',
// dataIndex: 'offcourseId',
// key: 'offcourseId',
// elipsis: true, align: "center",
// width: 120,
// },
{
title: '课程编号',
dataIndex: 'offcourseId',
key: 'offcourseId',
elipsis: true, align: "center",
dataIndex: 'courseId',
key: 'courseId',
align: "center",
customRender: ({text, index})=>{
return index+1;
},
width: 120,
},
{

View File

@@ -191,7 +191,10 @@ export default{
dataIndex: 'courseId',
key: 'courseId',
align: "center",
customRender: (text,record,index) => `${index+1}`,
customRender: ({text, index})=>{
return index+1;
},
width: 120,
},
{