npmapps 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/wujie-vue2-child/.eslintrc.js +19 -0
- package/app/wujie-vue2-child/README.md +24 -0
- package/app/wujie-vue2-child/babel.config.js +5 -0
- package/app/wujie-vue2-child/docs/superpowers/plans/2026-05-29-quill-editor.md +836 -0
- package/app/wujie-vue2-child/docs/superpowers/specs/2026-05-29-quill-editor-design.md +210 -0
- package/app/wujie-vue2-child/jsconfig.json +19 -0
- package/app/wujie-vue2-child/package-lock.json +21333 -0
- package/app/wujie-vue2-child/package.json +63 -0
- package/app/wujie-vue2-child/postcss.config.js +10 -0
- package/app/wujie-vue2-child/public/favicon.ico +0 -0
- package/app/wujie-vue2-child/public/index.html +17 -0
- package/app/wujie-vue2-child/public/rili.jpg +0 -0
- package/app/wujie-vue2-child/public//344/270/200/351/224/256/351/273/221/346/232/227.html +136 -0
- package/app/wujie-vue2-child/src/App.vue +110 -0
- package/app/wujie-vue2-child/src/assets/bpmn-camunda.jpg +0 -0
- package/app/wujie-vue2-child/src/assets/css/diagram.less +17 -0
- package/app/wujie-vue2-child/src/assets/icon/Icon.less +31 -0
- package/app/wujie-vue2-child/src/assets/icon/font/app-codes.css +26 -0
- package/app/wujie-vue2-child/src/assets/icon/font/app.eot +0 -0
- package/app/wujie-vue2-child/src/assets/icon/font/app.svg +60 -0
- package/app/wujie-vue2-child/src/assets/icon/font/app.ttf +0 -0
- package/app/wujie-vue2-child/src/assets/icon/font/app.woff +0 -0
- package/app/wujie-vue2-child/src/assets/icon/font/app.woff2 +0 -0
- package/app/wujie-vue2-child/src/assets/icon/font/config.json +248 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/align-bottom-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/align-horizontal-center-tool.svg +85 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/align-left-tool.svg +84 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/align-right-tool.svg +80 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/align-top-tool.svg +84 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/align-vertical-center-tool.svg +89 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-horizontally-tool.svg +95 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-vertically-tool.svg +99 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/raw/set-color-tool.svg +111 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/align-bottom-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/align-horizontal-center-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/align-left-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/align-right-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/align-top-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/align-vertical-center-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-horizontally-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-vertically-tool.svg +30 -0
- package/app/wujie-vue2-child/src/assets/icon/font/source/symbols/set-color-tool.svg +63 -0
- package/app/wujie-vue2-child/src/assets/logo.png +0 -0
- package/app/wujie-vue2-child/src/components/EllTable/README.md +70 -0
- package/app/wujie-vue2-child/src/components/EllTable/article.md +184 -0
- package/app/wujie-vue2-child/src/components/EllTable/index.js +213 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/CalendarSkeleton.vue +147 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/CodeBlock.vue +199 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/MonthSelect.vue +376 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/README.md +368 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/example.vue +1551 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/index.vue +1646 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/mockData.js +349 -0
- package/app/wujie-vue2-child/src/components/EventCalendar/utils.js +201 -0
- package/app/wujie-vue2-child/src/components/FormulaEditor/FunctionSelector.vue +123 -0
- package/app/wujie-vue2-child/src/components/FormulaEditor/OperatorSelector.vue +184 -0
- package/app/wujie-vue2-child/src/components/FormulaEditor/ParameterSelector.vue +123 -0
- package/app/wujie-vue2-child/src/components/FormulaEditor/api.js +69 -0
- package/app/wujie-vue2-child/src/components/FormulaEditor/index.vue +435 -0
- package/app/wujie-vue2-child/src/components/HelloWorld.vue +58 -0
- package/app/wujie-vue2-child/src/components/PageHeader/index.vue +158 -0
- package/app/wujie-vue2-child/src/components/Splitter/README.md +144 -0
- package/app/wujie-vue2-child/src/components/Splitter/example.vue +84 -0
- package/app/wujie-vue2-child/src/components/Splitter/index.vue +203 -0
- package/app/wujie-vue2-child/src/components/diagram/ToolBar.vue +357 -0
- package/app/wujie-vue2-child/src/components/diagram/customTranslate/customTranslate.js +12 -0
- package/app/wujie-vue2-child/src/components/diagram/customTranslate/translationsGerman.js +241 -0
- package/app/wujie-vue2-child/src/components/diagram/index.vue +261 -0
- package/app/wujie-vue2-child/src/components/diagram/xmlData.js +29 -0
- package/app/wujie-vue2-child/src/directives/filldown.js +155 -0
- package/app/wujie-vue2-child/src/directives/filldownTable.js +291 -0
- package/app/wujie-vue2-child/src/main.js +40 -0
- package/app/wujie-vue2-child/src/router/index.js +72 -0
- package/app/wujie-vue2-child/src/store/index.js +23 -0
- package/app/wujie-vue2-child/src/utils/winBox.js +23 -0
- package/app/wujie-vue2-child/src/views/Extend/A.vue +12 -0
- package/app/wujie-vue2-child/src/views/Extend/B.vue +10 -0
- package/app/wujie-vue2-child/src/views/Extend/MagicalComponentsForELFormItem.vue +78 -0
- package/app/wujie-vue2-child/src/views/Extend/index.vue +59 -0
- package/app/wujie-vue2-child/src/views/Extend/tableMouseHorizontalWheel.vue +184 -0
- package/app/wujie-vue2-child/src/views/Home.vue +27 -0
- package/app/wujie-vue2-child/src/views/RouterJump.vue +145 -0
- package/app/wujie-vue2-child/src/views/calendar/index.vue +19 -0
- package/app/wujie-vue2-child/src/views/css.vue +57 -0
- package/app/wujie-vue2-child/src/views/cssComponents/EllipsisText.vue +73 -0
- package/app/wujie-vue2-child/src/views/cssComponents/HoverCard.vue +69 -0
- package/app/wujie-vue2-child/src/views/cssComponents/TableHover.vue +130 -0
- package/app/wujie-vue2-child/src/views/cssComponents/inputSlo.vue +42 -0
- package/app/wujie-vue2-child/src/views/cssComponents/tableFixed.vue +148 -0
- package/app/wujie-vue2-child/src/views/echarts/echart-dome.vue +73 -0
- package/app/wujie-vue2-child/src/views/echarts/index.vue +118 -0
- package/app/wujie-vue2-child/src/views/echarts/pei3d.vue +658 -0
- package/app/wujie-vue2-child/src/views/element/bpmn/index.vue +15 -0
- package/app/wujie-vue2-child/src/views/element/components/attendanceCycle/index.vue +131 -0
- package/app/wujie-vue2-child/src/views/element/components/attendanceGroup/index.vue +147 -0
- package/app/wujie-vue2-child/src/views/element/components/attendancePersonnel/index.vue +158 -0
- package/app/wujie-vue2-child/src/views/element/components/companyCalendar/index.vue +147 -0
- package/app/wujie-vue2-child/src/views/element/components/shift/index.vue +147 -0
- package/app/wujie-vue2-child/src/views/element/components/shiftRotationSystem/index.vue +147 -0
- package/app/wujie-vue2-child/src/views/element/elTableJsx/columnManagement.vue +340 -0
- package/app/wujie-vue2-child/src/views/element/elTableJsx/dialogInput.vue +71 -0
- package/app/wujie-vue2-child/src/views/element/elTableJsx/elTableJsx.vue +1826 -0
- package/app/wujie-vue2-child/src/views/element/elTableJsx/formTable.vue +595 -0
- package/app/wujie-vue2-child/src/views/element/elTableJsx/index.vue +29 -0
- package/app/wujie-vue2-child/src/views/element/elTableJsx/simpleTable.vue +189 -0
- package/app/wujie-vue2-child/src/views/element/elTableJsx.zip +0 -0
- package/app/wujie-vue2-child/src/views/element/index.vue +39 -0
- package/app/wujie-vue2-child/src/views/element/quillEditor/README.md +163 -0
- package/app/wujie-vue2-child/src/views/element/quillEditor/example.vue +307 -0
- package/app/wujie-vue2-child/src/views/element/quillEditor/index.vue +409 -0
- package/app/wujie-vue2-child/src/views/element/quillEditor/toolbar.js +122 -0
- package/app/wujie-vue2-child/vue.config.js +15 -0
- package/package.json +1 -1
- package/app/check-import-case.js +0 -344
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="input-slo-page">
|
|
3
|
+
<div style="width: 400px;">
|
|
4
|
+
<el-form label-width="100px">
|
|
5
|
+
<el-form-item label="mini-slot">
|
|
6
|
+
<el-input v-model="inputValue" placeholder="请输入内容" size="mini">
|
|
7
|
+
<template #append>
|
|
8
|
+
<el-button @click="inputValue = ''" size="mini">清空</el-button>
|
|
9
|
+
</template>
|
|
10
|
+
</el-input>
|
|
11
|
+
</el-form-item>
|
|
12
|
+
<el-form-item label="mini-slot">
|
|
13
|
+
<el-input v-model="inputValue" placeholder="vertical-align: middle" size="mini" style="vertical-align: middle;">
|
|
14
|
+
<template #append>
|
|
15
|
+
<el-button @click="inputValue = ''" size="mini">清空</el-button>
|
|
16
|
+
</template>
|
|
17
|
+
</el-input>
|
|
18
|
+
</el-form-item>
|
|
19
|
+
<el-form-item label="slot">
|
|
20
|
+
<el-input v-model="inputValue" placeholder="请输入内容">
|
|
21
|
+
<template #append>
|
|
22
|
+
<el-button @click="inputValue = ''" size="mini">清空</el-button>
|
|
23
|
+
</template>
|
|
24
|
+
</el-input>
|
|
25
|
+
</el-form-item>
|
|
26
|
+
<el-form-item label="mini">
|
|
27
|
+
<el-input v-model="inputValue" placeholder="请输入内容" size="mini">
|
|
28
|
+
</el-input>
|
|
29
|
+
</el-form-item>
|
|
30
|
+
</el-form>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
<script>
|
|
35
|
+
export default {
|
|
36
|
+
data() {
|
|
37
|
+
return {
|
|
38
|
+
inputValue: "",
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
</script>
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="table-fixed-page">
|
|
3
|
+
<el-table :data="tableData" @wheel.native="handleWheel">
|
|
4
|
+
<el-table-column
|
|
5
|
+
prop="date"
|
|
6
|
+
label="日期"
|
|
7
|
+
width="180"
|
|
8
|
+
fixed="left"
|
|
9
|
+
></el-table-column>
|
|
10
|
+
<el-table-column label="合并列" width="660" >
|
|
11
|
+
<el-table-column prop="name" label="姓名" width="180" ></el-table-column>
|
|
12
|
+
<el-table-column
|
|
13
|
+
prop="nickname"
|
|
14
|
+
label="昵称"
|
|
15
|
+
width="180"
|
|
16
|
+
></el-table-column>
|
|
17
|
+
<el-table-column
|
|
18
|
+
prop="address"
|
|
19
|
+
label="地址"
|
|
20
|
+
width="300"
|
|
21
|
+
></el-table-column>
|
|
22
|
+
</el-table-column>
|
|
23
|
+
<el-table-column prop="phone" label="电话" width="180" ></el-table-column>
|
|
24
|
+
<el-table-column prop="gender" label="性别" width="180"></el-table-column>
|
|
25
|
+
<el-table-column prop="age" label="年龄" width="180"></el-table-column>
|
|
26
|
+
<el-table-column prop="hobby" label="爱好" width="180"></el-table-column>
|
|
27
|
+
<el-table-column
|
|
28
|
+
prop="favorite"
|
|
29
|
+
label="爱好"
|
|
30
|
+
width="180"
|
|
31
|
+
></el-table-column>
|
|
32
|
+
<el-table-column prop="remark" label="备注" width="180"></el-table-column>
|
|
33
|
+
<el-table-column prop="price" label="价格" width="180"></el-table-column>
|
|
34
|
+
<el-table-column
|
|
35
|
+
prop="quantity"
|
|
36
|
+
label="数量"
|
|
37
|
+
width="180"
|
|
38
|
+
></el-table-column>
|
|
39
|
+
<el-table-column prop="total" label="合计" width="180"></el-table-column>
|
|
40
|
+
<el-table-column prop="status" label="状态" width="180"></el-table-column>
|
|
41
|
+
</el-table>
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<script>
|
|
46
|
+
export default {
|
|
47
|
+
name: "TableFixed",
|
|
48
|
+
data() {
|
|
49
|
+
return {
|
|
50
|
+
tableData: [
|
|
51
|
+
{
|
|
52
|
+
date: "2016-05-02",
|
|
53
|
+
name: "王小虎",
|
|
54
|
+
nickname: "王小虎",
|
|
55
|
+
address: "上海市普陀区金沙江路 1518 弄",
|
|
56
|
+
phone: "13800000000",
|
|
57
|
+
gender: "男",
|
|
58
|
+
age: 25,
|
|
59
|
+
hobby: "游泳",
|
|
60
|
+
favorite: "外套",
|
|
61
|
+
remark: "无",
|
|
62
|
+
price: 100,
|
|
63
|
+
quantity: 1,
|
|
64
|
+
total: 100,
|
|
65
|
+
status: "已完成",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
date: "2016-05-041",
|
|
69
|
+
name: "王小虎1",
|
|
70
|
+
nickname: "王小虎1",
|
|
71
|
+
address: "上海市普陀区金沙江路 1517 弄1",
|
|
72
|
+
phone: "138000000001",
|
|
73
|
+
gender: "男1",
|
|
74
|
+
age: 25,
|
|
75
|
+
hobby: "游泳1",
|
|
76
|
+
favorite: "外套1",
|
|
77
|
+
remark: "无1",
|
|
78
|
+
price: 100,
|
|
79
|
+
quantity: 1,
|
|
80
|
+
total: 100,
|
|
81
|
+
status: "已完成1",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
date: "2016-05-06",
|
|
85
|
+
name: "王小虎2",
|
|
86
|
+
nickname: "王小虎2",
|
|
87
|
+
address: "上海市普陀区金沙江路 1519 弄2",
|
|
88
|
+
phone: "138000000002",
|
|
89
|
+
gender: "男2",
|
|
90
|
+
age: 25,
|
|
91
|
+
hobby: "游泳2",
|
|
92
|
+
favorite: "外套2",
|
|
93
|
+
remark: "无2",
|
|
94
|
+
price: 100,
|
|
95
|
+
quantity: 1,
|
|
96
|
+
total: 100,
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
date: "2016-05-08",
|
|
100
|
+
name: "王小虎3",
|
|
101
|
+
nickname: "王小虎3",
|
|
102
|
+
address: "上海市普陀区金沙江路 1519 弄3",
|
|
103
|
+
phone: "138000000003",
|
|
104
|
+
gender: "男3",
|
|
105
|
+
age: 25,
|
|
106
|
+
hobby: "游泳3",
|
|
107
|
+
favorite: "外套3",
|
|
108
|
+
remark: "无3",
|
|
109
|
+
price: 100,
|
|
110
|
+
quantity: 1,
|
|
111
|
+
total: 100,
|
|
112
|
+
status: "已完成3",
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
};
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
handleWheel(event) {
|
|
119
|
+
console.log(event,'event');
|
|
120
|
+
|
|
121
|
+
const tableBody = this.$el.querySelector('.el-table__body-wrapper');
|
|
122
|
+
if (tableBody.scrollHeight <= tableBody.clientHeight) {
|
|
123
|
+
event.preventDefault();
|
|
124
|
+
tableBody.scrollLeft += event.deltaY;
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
</script>
|
|
130
|
+
|
|
131
|
+
<style>
|
|
132
|
+
.el-table {
|
|
133
|
+
.el-table__body-wrapper {
|
|
134
|
+
overflow-x: auto !important;
|
|
135
|
+
}
|
|
136
|
+
/* .el-table__fixed-right {
|
|
137
|
+
height: 100% !important;
|
|
138
|
+
bottom: 0 !important;
|
|
139
|
+
} */
|
|
140
|
+
.el-table__fixed {
|
|
141
|
+
height: 100% !important;
|
|
142
|
+
bottom: 0 !important;
|
|
143
|
+
}
|
|
144
|
+
/* .el-table__fixed-right-patch {
|
|
145
|
+
background: #fff;
|
|
146
|
+
} */
|
|
147
|
+
}
|
|
148
|
+
</style>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="echart-dome-page">
|
|
3
|
+
<div id="echart-111" style="height: 300px"></div>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import * as echarts from "echarts";
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
mounted() {
|
|
12
|
+
this.initEchart();
|
|
13
|
+
},
|
|
14
|
+
methods: {
|
|
15
|
+
initEchart() {
|
|
16
|
+
var chartDom = document.getElementById("echart-111");
|
|
17
|
+
var myChart = echarts.init(chartDom);
|
|
18
|
+
var option;
|
|
19
|
+
|
|
20
|
+
option = {
|
|
21
|
+
tooltip: {
|
|
22
|
+
trigger: "item",
|
|
23
|
+
},
|
|
24
|
+
label: {
|
|
25
|
+
formatter: "{a} {b} ({d}%)",
|
|
26
|
+
},
|
|
27
|
+
series: [
|
|
28
|
+
{
|
|
29
|
+
name: "Access From",
|
|
30
|
+
type: "pie",
|
|
31
|
+
radius: "50%",
|
|
32
|
+
data: [
|
|
33
|
+
{ value: 1048, name: "Search Engine" },
|
|
34
|
+
{ value: 735, name: "Direct" },
|
|
35
|
+
{ value: 580, name: "Email" },
|
|
36
|
+
{ value: 484, name: "Union Ads" },
|
|
37
|
+
{ value: 300, name: "Video Ads" },
|
|
38
|
+
],
|
|
39
|
+
emphasis: {
|
|
40
|
+
itemStyle: {
|
|
41
|
+
shadowBlur: 10,
|
|
42
|
+
shadowOffsetX: 0,
|
|
43
|
+
shadowColor: "rgba(0, 0, 0, 0.5)",
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
itemStyle: {
|
|
47
|
+
color: 'rgba(0,0,0,0)'
|
|
48
|
+
},
|
|
49
|
+
label: {
|
|
50
|
+
show: true,
|
|
51
|
+
color: '#000'
|
|
52
|
+
},
|
|
53
|
+
labelLine: {
|
|
54
|
+
show: true,
|
|
55
|
+
length: 20,
|
|
56
|
+
length2: 10
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
option && myChart.setOption(option);
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
</script>
|
|
67
|
+
|
|
68
|
+
<style scoped>
|
|
69
|
+
.echart-dome-page {
|
|
70
|
+
width: 100%;
|
|
71
|
+
height: 100%;
|
|
72
|
+
}
|
|
73
|
+
</style>
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="echarts-demo-page">
|
|
3
|
+
<div
|
|
4
|
+
style="
|
|
5
|
+
background-color: #000a3b;
|
|
6
|
+
height: 400px;
|
|
7
|
+
width: 1200px;
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-around;
|
|
10
|
+
"
|
|
11
|
+
>
|
|
12
|
+
<pie3d v-if="list.length" :optionData="list" id="1" />
|
|
13
|
+
<pie3d v-if="list1.length" :optionData="list1" id="2" />
|
|
14
|
+
</div>
|
|
15
|
+
<div>
|
|
16
|
+
<!-- <echart-dome/> -->
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
import pie3d from "./pei3d.vue";
|
|
23
|
+
import echartDome from "./echart-dome.vue";
|
|
24
|
+
const optionData1 = [
|
|
25
|
+
{
|
|
26
|
+
name: "子公司",
|
|
27
|
+
value: 2675,
|
|
28
|
+
itemStyle: {
|
|
29
|
+
color: "#42f59e",
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
{
|
|
34
|
+
name: "分行",
|
|
35
|
+
value: 15897,
|
|
36
|
+
itemStyle: {
|
|
37
|
+
color: "#3292e6",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "宁波地区支行",
|
|
42
|
+
value: 4910,
|
|
43
|
+
itemStyle: {
|
|
44
|
+
color: "#4ceff0",
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "总行",
|
|
49
|
+
value: 4447,
|
|
50
|
+
itemStyle: {
|
|
51
|
+
color: "#fac858",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
];
|
|
55
|
+
const optionData2 = [
|
|
56
|
+
{
|
|
57
|
+
name: "永赢金租",
|
|
58
|
+
value: 1251,
|
|
59
|
+
itemStyle: {
|
|
60
|
+
color: "#4ceff0",
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
{
|
|
65
|
+
name: "宁银理财",
|
|
66
|
+
value: 203,
|
|
67
|
+
itemStyle: {
|
|
68
|
+
color: "#fac858",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: "宁银消金",
|
|
73
|
+
value: 1221,
|
|
74
|
+
itemStyle: {
|
|
75
|
+
color: "#3292e6",
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
];
|
|
80
|
+
|
|
81
|
+
const getListApi = (type) => {
|
|
82
|
+
return new Promise((resolve, reject) => {
|
|
83
|
+
setTimeout(() => {
|
|
84
|
+
resolve({
|
|
85
|
+
code: 200,
|
|
86
|
+
data: type == 1 ? optionData1 : optionData2,
|
|
87
|
+
});
|
|
88
|
+
}, 1000);
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export default {
|
|
93
|
+
components: {
|
|
94
|
+
pie3d,
|
|
95
|
+
echartDome,
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
created() {
|
|
99
|
+
this.getList();
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
data() {
|
|
103
|
+
return {
|
|
104
|
+
list: [],
|
|
105
|
+
list1: [],
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
methods: {
|
|
110
|
+
async getList() {
|
|
111
|
+
const res1 = await getListApi(1);
|
|
112
|
+
const res2 = await getListApi(2);
|
|
113
|
+
this.list = res1.data;
|
|
114
|
+
this.list1 = res2.data;
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
};
|
|
118
|
+
</script>
|