mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
feat:修改案例
This commit is contained in:
@@ -76,7 +76,11 @@
|
||||
<button class="xkbtn" @click="goProjectmanage">新建项目</button>
|
||||
</div>
|
||||
|
||||
<div class="main_notice" v-if="taskIndex >= 0">
|
||||
<div
|
||||
class="main_notice"
|
||||
v-if="taskIndex >= 0"
|
||||
style="background-color: #e9f6fe; height: 40px"
|
||||
>
|
||||
<div class="mntc_left" v-if="selectedRows">
|
||||
<div class="notice_icon"></div>
|
||||
<div>
|
||||
@@ -204,13 +208,22 @@ const columns = ref([
|
||||
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={
|
||||
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>
|
||||
),
|
||||
},
|
||||
@@ -257,7 +270,7 @@ const { data, loading, total, fetch } = useRowsPage(
|
||||
total: (res) => res.result.count,
|
||||
}
|
||||
);
|
||||
console.log(data)
|
||||
console.log(data);
|
||||
watch(taskIndex, () => {
|
||||
// if (taskIndex.value >= 0) {
|
||||
// rowSelectKeys.value = [props.taskList[taskIndex.value].courseId]
|
||||
|
||||
Reference in New Issue
Block a user