From 93972ea9a5794252af627ba75f1a2a9e663f544c Mon Sep 17 00:00:00 2001 From: liushilong <2224574157@qq.com> Date: Sun, 31 Mar 2024 23:49:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=BB=E5=8A=A1=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 + src/config/final.ts | 41 +++++++++++++++++++++++++++-------------- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/components.d.ts b/components.d.ts index e07d992..d6fb45b 100644 --- a/components.d.ts +++ b/components.d.ts @@ -34,6 +34,7 @@ declare module 'vue' { NModal: typeof import('naive-ui')['NModal'] NNotificationProvider: typeof import('naive-ui')['NNotificationProvider'] NotPassed: typeof import('./src/components/NotPassed.vue')['default'] + NPopconfirm: typeof import('naive-ui')['NPopconfirm'] NPopover: typeof import('naive-ui')['NPopover'] NPopselect: typeof import('naive-ui')['NPopselect'] NProgress: typeof import('naive-ui')['NProgress'] diff --git a/src/config/final.ts b/src/config/final.ts index a0d4947..fcc931d 100644 --- a/src/config/final.ts +++ b/src/config/final.ts @@ -1,5 +1,5 @@ import type { AsideEntity } from './aside' -import { IzProjectVue, IzStatus, IztaskrromVue, PictureDownloadVue, PlanVue, ReportUserVue, TimeVue } from '@/views/home/aside/comp/items' +import { IzProjectVue, IzStatus, IztaskrromVue, PictureDownloadVue, PlanVue, ReportUserVue, TimeVue, IzCustomname, IzCustomtype, IzVisitcity, IzCustomlevel, IzProjecttype, IzProductVue, IzvisitproVue, IzfirmVue } from '@/views/home/aside/comp/items' export interface RowData { id: string @@ -137,78 +137,91 @@ export const asideTaskMap: Recordable = { label: '审批状态', defaultValue: null, isDefaultFilter: true, - key: 'izstatus' + key: 'izstatus', + component: IzStatus, // todo }, izuptime: { label: '提报时间', defaultValue: null, isDefaultFilter: true, - key: 'izuptime' + key: 'izuptime', + component: TimeVue, }, izupuser: { label: '提报人', defaultValue: null, isDefaultFilter: true, - key: 'izupuser' + key: 'izupuser', + component: ReportUserVue, }, iztaskrrom: { label: '任务来源', defaultValue: null, isDefaultFilter: true, - key: 'iztaskrrom' + key: 'iztaskrrom', + component: IztaskrromVue, }, izcustomname: { label: '拜访客户', defaultValue: null, isDefaultFilter: true, - key: 'izcustomname' + key: 'izcustomname', + component: IzCustomname, }, izcustomtype: { label: '客户类型', defaultValue: null, isDefaultFilter: true, - key: 'izcustomtype' + key: 'izcustomtype', + component: IzCustomtype, }, izproject: { label: '所属项目', defaultValue: null, isDefaultFilter: true, - key: 'izproject' + key: 'izproject', + component: IzProjectVue, }, izvisitpro: { label: '拜访省份/直辖市', defaultValue: null, isDefaultFilter: true, - key: 'izvisitpro' + key: 'izvisitpro', + component: IzVisitcity, }, izcustomlevel: { label: '客户级别', defaultValue: null, isDefaultFilter: true, - key: 'izcustomlevel' + key: 'izcustomlevel', + component: IzCustomlevel }, izprojecttype: { label: '项目类别', defaultValue: null, isDefaultFilter: true, - key: 'izprojecttype' + key: 'izprojecttype', + component: IzProjecttype, }, izproductname: { label: '产品名称', defaultValue: null, isDefaultFilter: true, - key: 'izproductname' + key: 'izproductname', + component: IzProductVue, }, izvisitcity: { label: '拜访城市', defaultValue: null, isDefaultFilter: true, - key: 'izvisitcity' + key: 'izvisitcity', + component: IzvisitproVue, }, izfirm: { label: '厂商', defaultValue: null, isDefaultFilter: true, - key: 'izfirm' + key: 'izfirm', + component: IzfirmVue, } } \ No newline at end of file