From f8f5bc7688431691bd8340abe835d7e8c7fd7c24 Mon Sep 17 00:00:00 2001 From: alex li Date: Sat, 11 Jun 2022 23:53:01 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0naive=20ui=E7=9A=84?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Charts/Mores/Process/config.ts | 18 +++++ .../Charts/Mores/Process/config.vue | 76 +++++++++++++++++++ .../components/Charts/Mores/Process/index.ts | 25 ++++++ .../components/Charts/Mores/Process/index.vue | 73 ++++++++++++++++++ src/packages/components/Charts/index.ts | 2 +- 5 files changed, 193 insertions(+), 1 deletion(-) create mode 100644 src/packages/components/Charts/Mores/Process/config.ts create mode 100644 src/packages/components/Charts/Mores/Process/config.vue create mode 100644 src/packages/components/Charts/Mores/Process/index.ts create mode 100644 src/packages/components/Charts/Mores/Process/index.vue diff --git a/src/packages/components/Charts/Mores/Process/config.ts b/src/packages/components/Charts/Mores/Process/config.ts new file mode 100644 index 00000000..d2033e90 --- /dev/null +++ b/src/packages/components/Charts/Mores/Process/config.ts @@ -0,0 +1,18 @@ +import { publicConfig } from '@/packages/public' +import { CreateComponentType } from '@/packages/index.d' +import { ProcessConfig } from './index' +import cloneDeep from 'lodash/cloneDeep' + +export const option = { + dataset: 0, + type: "circle", + percentage: 0, + color: '#F8B10AFF', + indicatorPlacement:"outside" +} + +export default class Config extends publicConfig implements CreateComponentType { + public key = ProcessConfig.key + public chartConfig = cloneDeep(ProcessConfig) + public option = cloneDeep(option) +} \ No newline at end of file diff --git a/src/packages/components/Charts/Mores/Process/config.vue b/src/packages/components/Charts/Mores/Process/config.vue new file mode 100644 index 00000000..534f973b --- /dev/null +++ b/src/packages/components/Charts/Mores/Process/config.vue @@ -0,0 +1,76 @@ + + + \ No newline at end of file diff --git a/src/packages/components/Charts/Mores/Process/index.ts b/src/packages/components/Charts/Mores/Process/index.ts new file mode 100644 index 00000000..80409afe --- /dev/null +++ b/src/packages/components/Charts/Mores/Process/index.ts @@ -0,0 +1,25 @@ +// 展示图片 +import image from '@/assets/images/chart/charts/circle.png' +// 公共类型声明 +import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d' +// 当前[信息模块]分类声明 +import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d' + +export const ProcessConfig: ConfigType = { + // 唯一key + key: 'Process', + // 图表组件渲染 Components 格式: V + key + chartKey: 'VProcess', + // 配置组件渲染 Components 格式: VC + key + conKey: 'VCProcess', + // 名称 + title: '环形进度条', + // 子分类目录 + category: ChatCategoryEnum.MORE, + // 子分类目录 + categoryName: ChatCategoryEnumName.MORE, + // 包分类 + package: PackagesCategoryEnum.CHARTS, + // 图片 + image: image +} \ No newline at end of file diff --git a/src/packages/components/Charts/Mores/Process/index.vue b/src/packages/components/Charts/Mores/Process/index.vue new file mode 100644 index 00000000..a3182d57 --- /dev/null +++ b/src/packages/components/Charts/Mores/Process/index.vue @@ -0,0 +1,73 @@ + + + + diff --git a/src/packages/components/Charts/index.ts b/src/packages/components/Charts/index.ts index 3f03e175..2dd3e54b 100644 --- a/src/packages/components/Charts/index.ts +++ b/src/packages/components/Charts/index.ts @@ -4,4 +4,4 @@ import Lines from './Lines' import Mores from './Mores' import Maps from './Maps' -export const ChartList = [...Bars, ...Pies, ...Lines, ...Maps , ...Mores] +export const ChartList = [...Bars, ...Pies, ...Lines, ...Maps, ...Mores] From 8b39ec277392718791463550a3517e7bab753059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Sun, 12 Jun 2022 18:25:44 +0800 Subject: [PATCH 2/3] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E6=9D=A1=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/chart/charts/process.png | Bin 0 -> 20422 bytes .../components/Charts/Mores/Process/config.ts | 10 ++- .../Charts/Mores/Process/config.vue | 3 +- .../components/Charts/Mores/Process/index.ts | 4 +- .../components/Charts/Mores/Process/index.vue | 70 +++--------------- src/packages/components/Charts/Mores/index.ts | 3 +- 6 files changed, 23 insertions(+), 67 deletions(-) create mode 100644 src/assets/images/chart/charts/process.png diff --git a/src/assets/images/chart/charts/process.png b/src/assets/images/chart/charts/process.png new file mode 100644 index 0000000000000000000000000000000000000000..b44576969a68c2a7224e5a473af92590fc934f06 GIT binary patch literal 20422 zcmdRVRa{)p)+Ip_XdD`MZ`|D*_r_fscL?qTX@Ug}9^BnMKyZS4aDsb+O9(LhzxnQ+ zd6+vd^ECadhdNbzuUdQ8s;blHbVor{<o3IMcMZ& z{c8h_otB=5o{F-Ng^Lp#)Y8S=ip|H#^|c=kPDI?t6>8yNEq<+>@MUZO8sBB zLa+6In%Su-|I5U~L6lnZp8+ZLR3Ma6E^bzoyli}|7Mwf+l>CBhoP0bS+>L8@oZPG&oI)IYLcIKx|NWtU9nH%18zW|) zkkRwdbg}mEhPqk7{ZIKSI6-Y*rv_^2`~JI?$m^PdgD7js5K(~$Nh#4hUWlm~SuBzX zDH-@grFccaXznir#AE~%^dvM)Ji?Mhl=MUtG(=Pk0M8e0AqftCQBDCdEc=%RIe9)F=+~VRw8mLB1#4-5IdUZ3#!KpJD&(8h>eVnnVyZ8kb;henTv^20O0dN zPS481EyO1RX5|qEc)#G0(J`>|VG~iUuC3#eP*XE;5>ZeANoheGd_+`?>l+)?j2uK{ zlyt1zY`h}NE2~7Lq(qc7L}cXrqEhs1JVYeK82IFjoP20_qy!WUTU*=2R3Ktn4kB7M zboakRl(fU&M>l`|Tv+@;#H~q8LWt(}L`KJg;c|gvHOC_iCZlCuT3*4j-@$l)i*5H4 z)A<(#0~--FGZ9D#{rx>Lhccl|2r-K!uGuh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GVPjQFn^Zd9yLNY5IG@kN)W(5z(M!%e;GNrSNiOFb zHNxJMQMusmrbfYPXxa-@2M$!KQ%j=DT(NVE(u4o}I3^_(UVmb?ht~|X33midY`jO# z$F+zkrMq2U(om=hE5Oa3+!hQfUb-T116KeHHJ&jSL75u}Y-;SkXN3kx3KUu3J z+Xl|PecFu;)Bk$v^gYySU>K=kt>fBi`I^LZsXp9D)2!uhOE#f*byM(+xyUc*EHe~? z(g*?#TLNq=A6-My7fJTR|J>I0HueivMQ?5!Ieo7?JZ}deMV3Xg;tB2%g4{QYx>Ge% zH18?=va%GIU;US4A>`uj&9UDZ(syTiNG&a&0>pmO$1mf09o#~SEpx<{G@s7*j2Bub z*14))=AQKWm&AVx*;JVRedI`uk`C+|$Mhy21*ZSmI`>4i0i2a%%iYh zO(!dd@Pt*FTaBBpLJFWBK8VV=kQriB{cI!G@K(?K3!)<&&L0z7zmKy&2vNK*r%LVm zD2wzl2aFFwo}k6g7(44F%}`q2n|%4iw{DwBRb;zdyOKE7ICDi*mkd+QH3BQFu;w(; z9&eh0&qH+t4SQ#+T3WJsy)kf4PfT6G)L)poNTfy?`9 zHRCGG*_Uv>={dc;d(efr>u(ST{nc@CaN@+z1MWN)1rC#C&1&eH9=glOkohQ8rdP6& znSwWc!wr;h_$eg?(!Azz4>B^ch0}}6($-ea;^JbbWWAO4a)W?KB0=3~&pz;HrLM;Cbx4yop_Kc-S#+A#QXm z&DM21n2eVbLT)MJ+@~!yq9dTsxi4WKJM_n~uitVtv`D#b2C5xZ!9W+M)64bmyMwex zu`<c&oG(s=+X - + @@ -40,7 +40,6 @@ import { // 获取 option 的数据,便于使用 typeof 获取类型 import { option } from './config' -// eslint-disable-next-line no-unused-vars const props = defineProps({ optionData: { type: Object as PropType, diff --git a/src/packages/components/Charts/Mores/Process/index.ts b/src/packages/components/Charts/Mores/Process/index.ts index 80409afe..d841e4f9 100644 --- a/src/packages/components/Charts/Mores/Process/index.ts +++ b/src/packages/components/Charts/Mores/Process/index.ts @@ -1,5 +1,5 @@ // 展示图片 -import image from '@/assets/images/chart/charts/circle.png' +import image from '@/assets/images/chart/charts/process.png' // 公共类型声明 import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d' // 当前[信息模块]分类声明 @@ -13,7 +13,7 @@ export const ProcessConfig: ConfigType = { // 配置组件渲染 Components 格式: VC + key conKey: 'VCProcess', // 名称 - title: '环形进度条', + title: '多类进度条', // 子分类目录 category: ChatCategoryEnum.MORE, // 子分类目录 diff --git a/src/packages/components/Charts/Mores/Process/index.vue b/src/packages/components/Charts/Mores/Process/index.vue index a3182d57..1bba3c80 100644 --- a/src/packages/components/Charts/Mores/Process/index.vue +++ b/src/packages/components/Charts/Mores/Process/index.vue @@ -1,73 +1,27 @@ - +useChartDataFetch(props.chartConfig, useChartEditStore) + \ No newline at end of file diff --git a/src/packages/components/Charts/Mores/index.ts b/src/packages/components/Charts/Mores/index.ts index 9bee3aa6..8b5eb07c 100644 --- a/src/packages/components/Charts/Mores/index.ts +++ b/src/packages/components/Charts/Mores/index.ts @@ -1,3 +1,4 @@ +import { ProcessConfig } from './Process/index' import { RadarConfig } from './Radar/index' import { FunnelConfig } from './Funnel/index' import { HeatmapConfig } from './Heatmap/index' @@ -5,4 +6,4 @@ import { PointConfig } from './Point/index' import { WaterPoloConfig } from './WaterPolo/index' import { TreeMapConfig } from './TreeMap/index' -export default [RadarConfig, FunnelConfig, HeatmapConfig,PointConfig, WaterPoloConfig, TreeMapConfig] +export default [ProcessConfig, RadarConfig, FunnelConfig, HeatmapConfig, PointConfig, WaterPoloConfig, TreeMapConfig] \ No newline at end of file From 70f9df76506c026337596cb1f7704cbde25bd9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Sun, 12 Jun 2022 18:44:53 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E7=BC=A9=E6=94=BE?= =?UTF-8?q?=E6=AF=94=E4=BE=8B=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=85=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/chart/ContentEdit/components/EditBottom/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/chart/ContentEdit/components/EditBottom/index.vue b/src/views/chart/ContentEdit/components/EditBottom/index.vue index 864806f9..85aad898 100644 --- a/src/views/chart/ContentEdit/components/EditBottom/index.vue +++ b/src/views/chart/ContentEdit/components/EditBottom/index.vue @@ -152,6 +152,7 @@ $min-width: 500px; } } .scale-btn { + width: 90px; font-size: 12px; @include deep() { .n-base-selection-label {