mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 09:46:45 +08:00
课程编号调整
This commit is contained in:
@@ -387,7 +387,7 @@ export default {
|
|||||||
//获取内容分类
|
//获取内容分类
|
||||||
const sysTypeOptions = computed(() => store.state.content_type);
|
const sysTypeOptions = computed(() => store.state.content_type);
|
||||||
const treetype =(val,lab)=>{
|
const treetype =(val,lab)=>{
|
||||||
state.formParam.courseTypeName =lab
|
state.formParam.courseTypeName =lab.toString()
|
||||||
}
|
}
|
||||||
const OnTheJobStatusList = ref([
|
const OnTheJobStatusList = ref([
|
||||||
{ value: 1, label: "项目开课" },
|
{ value: 1, label: "项目开课" },
|
||||||
|
|||||||
@@ -75,11 +75,11 @@
|
|||||||
@expand="expandTable" :pagination="false">
|
@expand="expandTable" :pagination="false">
|
||||||
<template #bodyCell="{ record, column }">
|
<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-space style="display:flex ;justify-content: space-around; ">
|
||||||
<a-popover>
|
<a-popover>
|
||||||
<template #content>
|
<template #content>
|
||||||
<p>{{ record.organizationName }}</p>
|
<p>{{ record.orgName }}</p>
|
||||||
</template>
|
</template>
|
||||||
<span>{{ record.neworganizationName }}</span>
|
<span>{{ record.neworganizationName }}</span>
|
||||||
</a-popover>
|
</a-popover>
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
<a-form-item label="讲师组织" name="orgName">
|
<a-form-item label="讲师组织" name="orgName">
|
||||||
<a-popover>
|
<a-popover>
|
||||||
<template #content>
|
<template #content>
|
||||||
{{ formParam.orgName }}.
|
{{ formParam.orgName }}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<a-input disabled v-model:value="formParam.orgName" class="draitem"
|
<a-input disabled v-model:value="formParam.orgName" class="draitem"
|
||||||
@@ -664,10 +664,10 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '所属组织 ',
|
title: '所属组织 ',
|
||||||
dataIndex: 'organizationName',
|
dataIndex: 'orgName',
|
||||||
key: 'organizationName',
|
key: 'orgName',
|
||||||
elipsis: true, align: "center",
|
elipsis: true, align: "center",
|
||||||
scopedSlots: { customRender: "organizationName" },
|
scopedSlots: { customRender: "orgName" },
|
||||||
width: 400,
|
width: 400,
|
||||||
// customRender: (value, record) => {
|
// customRender: (value, record) => {
|
||||||
// return (
|
// return (
|
||||||
@@ -826,8 +826,8 @@ export default {
|
|||||||
console.log(tableData.value,'tableData.value')
|
console.log(tableData.value,'tableData.value')
|
||||||
// let objA = res.data.data.records
|
// let objA = res.data.data.records
|
||||||
// objA.map((item) => {
|
// objA.map((item) => {
|
||||||
// if (item.organizationName !== null) {
|
// if (item.orgName !== null) {
|
||||||
// item.neworganizationName = item.organizationName.split('/')
|
// item.neworganizationName = item.orgName.split('/')
|
||||||
// item.neworganizationName = item.neworganizationName[item.neworganizationName.length - 1]
|
// item.neworganizationName = item.neworganizationName[item.neworganizationName.length - 1]
|
||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
|
|||||||
@@ -522,7 +522,7 @@ export default {
|
|||||||
const sysTypeOptions = computed(() => store.state.content_type);
|
const sysTypeOptions = computed(() => store.state.content_type);
|
||||||
const treetype =(val,lab)=>{
|
const treetype =(val,lab)=>{
|
||||||
console.log(lab)
|
console.log(lab)
|
||||||
state.formParam.courseTypeName =lab
|
state.formParam.courseTypeName =lab.toString()
|
||||||
}
|
}
|
||||||
const OnTheJobStatusList = ref([
|
const OnTheJobStatusList = ref([
|
||||||
{ value: 1, label: "项目开课" },
|
{ value: 1, label: "项目开课" },
|
||||||
|
|||||||
@@ -138,11 +138,21 @@ export default{
|
|||||||
};
|
};
|
||||||
//授课记录列表
|
//授课记录列表
|
||||||
const teacherrecordsColumns = ref([
|
const teacherrecordsColumns = ref([
|
||||||
|
// {
|
||||||
|
// title: '课程编号',
|
||||||
|
// dataIndex: 'offcourseId',
|
||||||
|
// key: 'offcourseId',
|
||||||
|
// elipsis: true, align: "center",
|
||||||
|
// width: 120,
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
title: '课程编号',
|
title: '课程编号',
|
||||||
dataIndex: 'offcourseId',
|
dataIndex: 'courseId',
|
||||||
key: 'offcourseId',
|
key: 'courseId',
|
||||||
elipsis: true, align: "center",
|
align: "center",
|
||||||
|
customRender: ({text, index})=>{
|
||||||
|
return index+1;
|
||||||
|
},
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -191,7 +191,10 @@ export default{
|
|||||||
dataIndex: 'courseId',
|
dataIndex: 'courseId',
|
||||||
key: 'courseId',
|
key: 'courseId',
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (text,record,index) => `${index+1}`,
|
customRender: ({text, index})=>{
|
||||||
|
return index+1;
|
||||||
|
},
|
||||||
|
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user