项目初始化
This commit is contained in:
@@ -2,16 +2,7 @@
|
||||
<div ref="noteCardRef" class="note-card">
|
||||
<div class="card-title">
|
||||
<span>便签信息</span>
|
||||
<el-tooltip content="刷新" placement="top" :show-after="200">
|
||||
<el-button
|
||||
class="card-title__refresh"
|
||||
link
|
||||
type="primary"
|
||||
:icon="RefreshRight"
|
||||
:loading="loading"
|
||||
@click="getList"
|
||||
/>
|
||||
</el-tooltip>
|
||||
<el-button class="card-title__more" link type="primary" @click="goMore">更多</el-button>
|
||||
</div>
|
||||
|
||||
<div class="card-content">
|
||||
@@ -53,10 +44,12 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, nextTick, onMounted, onUnmounted, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import * as echarts from 'echarts';
|
||||
import { RefreshRight } from '@element-plus/icons-vue';
|
||||
import { NoteInfo, NoteInfoData, ChartDataItem, NoteChartData } from '@jeesite/biz/api/biz/myWorkbench';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
interface MetricCard {
|
||||
key: string;
|
||||
label: string;
|
||||
@@ -136,6 +129,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
function goMore() {
|
||||
router.push('/biz/myNotes/list');
|
||||
}
|
||||
|
||||
function buildChartData() {
|
||||
const statusGroups = [
|
||||
{ label: '待开始', color: '#F97316', field: 'value01' },
|
||||
@@ -354,9 +351,9 @@
|
||||
border-bottom: 1px solid rgb(226 232 240);
|
||||
background: transparent;
|
||||
|
||||
&__refresh {
|
||||
&__more {
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -504,7 +501,7 @@
|
||||
color: rgb(203 213 225);
|
||||
border-bottom-color: rgb(51 65 85);
|
||||
|
||||
&__refresh:deep(.el-icon) {
|
||||
&__more:deep(.el-button) {
|
||||
color: rgb(147 197 253);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user