mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
Merge remote-tracking branch 'yx/250507-bugfix-shl'
# Conflicts: # src/views/lecturer/InsideLecturer.vue # src/views/lecturer/LecturerFee.vue
This commit is contained in:
@@ -76,18 +76,18 @@
|
||||
:pagination="false">
|
||||
<template #bodyCell="{ record, column }">
|
||||
|
||||
<template v-if="column.key === 'orgName'">
|
||||
<!-- <template v-if="column.key === 'orgName'">
|
||||
<a-space style="display:flex ;justify-content: left;">
|
||||
<!-- <a-popover>
|
||||
<!– <a-popover>
|
||||
<template #content>
|
||||
<p>{{ record.orgName}}</p>
|
||||
</template> -->
|
||||
</template> –>
|
||||
<div
|
||||
style="max-width: 180px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;user-select:text"
|
||||
:title="orgSplit(record.orgName)">{{ orgSplit(record.orgName) }}</div>
|
||||
<!-- </a-popover> -->
|
||||
>{{ record.orgName }}</div>
|
||||
<!– </a-popover> –>
|
||||
</a-space>
|
||||
</template>
|
||||
</template>-->
|
||||
<template v-if="column.key === 'operation'">
|
||||
<a-space>
|
||||
<a-button type="link" @click="() => handleLook(record, String(record.courseform))">查看</a-button>
|
||||
@@ -814,8 +814,9 @@ export default {
|
||||
title: '所属组织 ',
|
||||
dataIndex: 'orgName',
|
||||
key: 'orgName',
|
||||
ellipsis: true, align: "left",
|
||||
scopedSlots: { customRender: "orgName" },
|
||||
ellipsis: true,
|
||||
align: "left",
|
||||
// scopedSlots: { customRender: "orgName" },
|
||||
width: 200,
|
||||
// customRender: (value, record) => {
|
||||
// return (
|
||||
@@ -982,13 +983,13 @@ export default {
|
||||
.then((res) => {
|
||||
// tableData.value = res.data.data.records
|
||||
let objA = res.data.data.records
|
||||
objA.map((item) => {
|
||||
if (item.orgName !== null) {
|
||||
item.neworganizationName = item.orgName.split('/')
|
||||
item.neworganizationName = item.neworganizationName[item.neworganizationName.length - 1]
|
||||
}
|
||||
// console.log(item.orgName)
|
||||
})
|
||||
// objA.map((item) => {
|
||||
// if (item.orgName !== null) {
|
||||
// item.neworganizationName = item.orgName.split('/')
|
||||
// item.neworganizationName = item.neworganizationName[item.neworganizationName.length - 1]
|
||||
// }
|
||||
// // console.log(item.orgName)
|
||||
// })
|
||||
tableData.value = objA
|
||||
state.tableDataTotal = Number(res.data.data.total);
|
||||
state.tableLoading = false
|
||||
|
||||
@@ -144,12 +144,12 @@
|
||||
</a-space>
|
||||
</template>
|
||||
</template>
|
||||
<template #trainOrg="{ record }">
|
||||
<!-- <template #trainOrg="{ record }">
|
||||
<a-space style="display:flex ;justify-content: space-around;">
|
||||
<div style="max-width: 180px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
||||
:title="orgSplit(record.orgName)">{{ orgSplit(record.orgName) }}</div>
|
||||
>{{ record.orgName }}</div>
|
||||
</a-space>
|
||||
</template>
|
||||
</template>-->
|
||||
</a-table>
|
||||
</div>
|
||||
|
||||
@@ -790,6 +790,7 @@ export default {
|
||||
// { value: 0, label: "未定级" },
|
||||
])
|
||||
const changetlevel = (id) => {
|
||||
console.log("==============changetlevelId", id);
|
||||
if(id){
|
||||
// 清空讲师级别
|
||||
state.searchParam.tLevelName = null;
|
||||
@@ -1141,7 +1142,7 @@ export default {
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: 200,
|
||||
slots: { customRender: "trainOrg" },
|
||||
// slots: { customRender: "trainOrg" },
|
||||
},
|
||||
{
|
||||
title: '操作 ',
|
||||
|
||||
Reference in New Issue
Block a user