|
@@ -88,7 +88,11 @@
|
|
|
<el-table-column prop="startDate" label="开始时间" width="200" :sortable="true" header-align="center"
|
|
|
align="center" value-format="YYYY-MM-DD" />
|
|
|
<el-table-column prop="endDate" label="截止时间" width="200" :sortable="true" header-align="center"
|
|
|
- align="center" value-format="YYYY-MM-DD" />
|
|
|
+ align="center" value-format="YYYY-MM-DD">
|
|
|
+ <template #default="scope">
|
|
|
+ <div :class="`${scope.row.endDate && scope.row.endDate < dateOfTheDay ? 'text-[#F56C6C]' : '' }`">{{ scope.row.endDate }}</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="customName" label="客户名称" header-align="center" align="center" width="120">
|
|
|
<template #default="scope">
|
|
|
<el-link :underline="false" type="primary" @click="goDetail(scope.row, 'customer', 'customId')">
|
|
@@ -215,6 +219,7 @@ const len = computed(() => {
|
|
|
const taskLoading = ref<saveLoadingType>("1");
|
|
|
const restartPopUpWindowVisable = ref(false);
|
|
|
const restartFrom = ref<any>({});
|
|
|
+const dateOfTheDay = ref<any>(dayjs().format('YYYY-MM-DD'))
|
|
|
|
|
|
function closeTaskModal() {
|
|
|
taskModalVisible.value = false;
|