mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
fix:增加学习路径图添加项目任务项目列表-所属项目字段
This commit is contained in:
@@ -194,9 +194,26 @@ const columns = ref([
|
||||
title: "项目名称",
|
||||
dataIndex: "name",
|
||||
key: "projectName",
|
||||
width: "40%",
|
||||
width: "20%",
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: "所属项目",
|
||||
dataIndex: "topName",
|
||||
key: "topName",
|
||||
width: "20%",
|
||||
ellipsis: true,
|
||||
customRender: ({ record: { gaName, faName, name } }) => (
|
||||
<div title={faName ? gaName !== null ? gaName + "/" + faName : faName : name}>
|
||||
{
|
||||
faName ? gaName !== null
|
||||
? (gaName + "/" + faName).length > 16 ? (gaName + "/" + faName).slice(0, 16) + '...' : (gaName + "/" + faName)
|
||||
: faName.length > 16 ? faName.slice(0, 16) + '...' : faName
|
||||
: name.length > 16 ? name.slice(0, 16) + '...' : name
|
||||
}
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "项目经理",
|
||||
dataIndex: "manager",
|
||||
@@ -240,7 +257,7 @@ const { data, loading, total, fetch } = useRowsPage(
|
||||
total: (res) => res.result.count,
|
||||
}
|
||||
);
|
||||
|
||||
console.log(data)
|
||||
watch(taskIndex, () => {
|
||||
// if (taskIndex.value >= 0) {
|
||||
// rowSelectKeys.value = [props.taskList[taskIndex.value].courseId]
|
||||
|
||||
Reference in New Issue
Block a user