nbwansui 1.0.0 → 1.0.2

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.
Files changed (69) hide show
  1. package/.history/index_20260118111951.js +15 -0
  2. package/.history/package_20260118103726.json +11 -11
  3. package/.history/package_20260118104713.json +11 -11
  4. package/.history/package_20260118104950.json +11 -11
  5. package/.history/package_20260118105418.json +12 -12
  6. package/.history/package_20260118110411.json +12 -12
  7. package/.history/package_20260118110422.json +12 -12
  8. package/.history/package_20260118112231.json +12 -0
  9. package/components/PiLiangXiuGai.vue +266 -0
  10. package/components/XiaZaiWanShangMoKuai.vue +69 -0
  11. package/components/excelmuban.vue +341 -0
  12. package/components/excelshangchuan.vue +240 -0
  13. package/components/guanlianniu.vue +547 -0
  14. package/components/houtaidaima.vue +210 -0
  15. package/components/index.js +54 -0
  16. package/components/myTable.vue +299 -0
  17. package/components/quanxianguanli.vue +201 -0
  18. package/components/rizhiwenjian.vue +290 -0
  19. package/components/svg/wave.svg +1 -0
  20. package/components/taskModal.vue +343 -0
  21. package/components/xiugaibiaodan.vue +836 -0
  22. package/components/zaixiansheji.vue +462 -0
  23. package/components/zengjiayonghu.vue +149 -0
  24. package/dialog/dakaiyemian.vue +53 -0
  25. package/dialog/fapiaoshangchuan.vue +634 -0
  26. package/dialog/faqiliucheng.vue +291 -0
  27. package/dialog/index.js +23 -0
  28. package/dialog/liuchengtuchakan.vue +301 -0
  29. package/dialog/print.vue +133 -0
  30. package/dialog/shenpiliucheng.vue +451 -0
  31. package/dialog/shishigongju.vue +32 -0
  32. package/form/changxiaochanpin.vue +355 -0
  33. package/form/currentuser.vue +40 -0
  34. package/form/department.vue +69 -0
  35. package/form/huiYiShiShengQing copy.vue +458 -0
  36. package/form/huiYiShiShengQing.vue +90 -0
  37. package/form/huodongchanpin.vue +236 -0
  38. package/form/image.vue +55 -0
  39. package/form/imageCube.vue +205 -0
  40. package/form/index.js +78 -0
  41. package/form/maptree.vue +475 -0
  42. package/form/page.vue +57 -0
  43. package/form/placeholder.vue +40 -0
  44. package/form/qianzi.vue +186 -0
  45. package/form/scrollList.vue +151 -0
  46. package/form/selectCar.vue +564 -0
  47. package/form/selectImg.vue +226 -0
  48. package/form/selectStyle.vue +170 -0
  49. package/form/selectVideo.vue +219 -0
  50. package/form/selectpeople copy.vue +1514 -0
  51. package/form/selectpeople.vue +1442 -0
  52. package/form/shenPiList.vue +63 -0
  53. package/form/shenpiyijian.vue +170 -0
  54. package/form/shouyefenlei.vue +175 -0
  55. package/form/showmap.vue +74 -0
  56. package/form/showtianqi.vue +108 -0
  57. package/form/star.vue +52 -0
  58. package/form/stateBtn.vue +67 -0
  59. package/form/swiper.vue +70 -0
  60. package/form/tableelement.vue +54 -0
  61. package/form/tiaoma.vue +33 -0
  62. package/form/ueditor.vue +174 -0
  63. package/form/video.vue +50 -0
  64. package/form/viewtable.vue +96 -0
  65. package/form/xiangqingneirong.vue +75 -0
  66. package/form/zhanwei.vue +40 -0
  67. package/index.js +9 -1
  68. package/package.json +12 -12
  69. package/wsui/350/257/264/346/230/216.xls +0 -0
@@ -0,0 +1,343 @@
1
+ <template>
2
+ <div class="task-wrapper">
3
+ <div :class="[peizhi.JinDu == 'dealing' ? 'dealingBg' : peizhi.JinDu == 'success' ? 'successBg' : 'failBg']">
4
+ <div class="task-title">{{ peizhi.ZhuTi }}</div>
5
+ <div class="task-tip">
6
+ <img alt="" :src="progressImg" />
7
+ <span>{{ peizhi.JinDuJieGuo }}</span>
8
+ </div>
9
+ <div class="avator-list">
10
+ <div v-for="(item, index) in peizhi.avatorList" :key="index" class="avator-item">
11
+ <div class="avator-wrapper">
12
+ <img alt="" :src="item.ava" />
13
+ </div>
14
+ <span>{{ item.name }}</span>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ <div class="header"
19
+ :class="[peizhi.JinDu == 'dealing' ? 'dealingBg' : peizhi.JinDu == 'success' ? 'successBg' : 'failBg']">
20
+ <!--Content before waves-->
21
+ <!--Waves Container-->
22
+ <div>
23
+ <svg class="waves" preserveAspectRatio="none" shape-rendering="auto" viewBox="0 24 150 28"
24
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
25
+ >
26
+ <defs>
27
+ <path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
28
+ </defs>
29
+ <g class="parallax">
30
+ <use fill="rgba(255,255,255,0.7" x="48" xlink:href="#gentle-wave" y="0" />
31
+ <use fill="rgba(255,255,255,0.5)" x="48" xlink:href="#gentle-wave" y="3" />
32
+ <use fill="rgba(255,255,255,0.3)" x="48" xlink:href="#gentle-wave" y="5" />
33
+ <use fill="#fff" x="48" xlink:href="#gentle-wave" y="7" />
34
+ </g>
35
+ </svg>
36
+ </div>
37
+ <!--Waves end-->
38
+ </div>
39
+
40
+ <div v-show="peizhi.JinDu != 'dealing'" class="task-list">
41
+ <div class="record-list">
42
+ <h3>后台记录</h3>
43
+ <span v-for="(item, index) in peizhi.recordList" :key="index" :style="computeStyle(item.type)">
44
+ {{ item.content }}
45
+ </span>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </template>
50
+
51
+ <script>
52
+ export default {
53
+ name: 'TaskModal',
54
+ props: {
55
+ peizhi: {
56
+ type: Object,
57
+ },
58
+ },
59
+ data() {
60
+ return {
61
+ progressImg: '',
62
+ waveBottom: '0px',
63
+
64
+ progressN: '',
65
+ }
66
+ },
67
+ computed: {
68
+ computeStyle() {
69
+ return (type) => {
70
+ switch (type) {
71
+ case 0:
72
+ return {
73
+ color: '#c7c7c7',
74
+ }
75
+ case 1:
76
+ return {
77
+ color: '#67c13d',
78
+ }
79
+ case 2:
80
+ return {
81
+ color: '#f56d6d',
82
+ }
83
+ default:
84
+ return {
85
+ color: '#c7c7c7',
86
+ }
87
+ }
88
+ }
89
+ },
90
+ },
91
+ // watch:{
92
+ // progress(newVal,oldVal){
93
+ // console.log(this.progress);
94
+ // this.ProgressN = this.progress;
95
+ // this.initComponent();
96
+ // }
97
+ // },
98
+ mounted() {
99
+ this.progressN = this.progress
100
+ //console.log(this.progressN)
101
+ this.initComponent()
102
+ },
103
+ methods: {
104
+ initComponent() {
105
+ //处理中
106
+ if (this.peizhi.JinDu == 'dealing') {
107
+ this.progressImg = `${this.baseConfig.baseUrl}/appimg/task_warning.png`
108
+ } else if (this.peizhi.JinDu == 'success') {
109
+ //申请成功
110
+ this.waveBottom = '360px'
111
+ this.progressImg = `${this.baseConfig.baseUrl}/appimg/task_success.png`
112
+ } else if (this.peizhi.JinDu == 'fail') {
113
+ //申请失败
114
+ this.waveBottom = '360px'
115
+ this.progressImg = `${this.baseConfig.baseUrl}/appimg/task_fail.png`
116
+ }
117
+ },
118
+ },
119
+ }
120
+ </script>
121
+
122
+ <style lang="scss" scoped>
123
+ .header {
124
+ position: relative;
125
+ // background-color: yellow;
126
+ /* background: linear-gradient(60deg, rgba(84, 58, 183, 1) 0%, rgba(0, 172, 193, 1) 100%); */
127
+ color: white;
128
+ text-align: center;
129
+ }
130
+
131
+ .logo {
132
+ display: inline-block;
133
+ width: 50px;
134
+ padding-right: 15px;
135
+ vertical-align: middle;
136
+ fill: white;
137
+ }
138
+
139
+ .inner-header {
140
+ width: 100%;
141
+ height: 65vh;
142
+ padding: 0;
143
+ margin: 0;
144
+ }
145
+
146
+ .flex {
147
+ /*Flexbox for containers*/
148
+ display: flex;
149
+ align-items: center;
150
+ justify-content: center;
151
+ text-align: center;
152
+ }
153
+
154
+ .waves {
155
+ position: relative;
156
+ width: 100%;
157
+ height: 15vh;
158
+ /*Fix for safari gap*/
159
+ min-height: 100px;
160
+ max-height: 150px;
161
+ margin-bottom: -7px;
162
+ }
163
+
164
+ .content {
165
+ position: relative;
166
+ height: 20vh;
167
+ text-align: center;
168
+ background-color: white;
169
+ }
170
+
171
+ /* Animation */
172
+ .parallax>use {
173
+ animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
174
+ }
175
+
176
+ .parallax>use:nth-child(1) {
177
+ animation-duration: 7s;
178
+ animation-delay: -2s;
179
+ }
180
+
181
+ .parallax>use:nth-child(2) {
182
+ animation-duration: 10s;
183
+ animation-delay: -3s;
184
+ }
185
+
186
+ .parallax>use:nth-child(3) {
187
+ animation-duration: 13s;
188
+ animation-delay: -4s;
189
+ }
190
+
191
+ .parallax>use:nth-child(4) {
192
+ animation-duration: 20s;
193
+ animation-delay: -5s;
194
+ }
195
+
196
+ @keyframes move-forever {
197
+ 0% {
198
+ transform: translate3d(-90px, 0, 0);
199
+ }
200
+
201
+ 100% {
202
+ transform: translate3d(85px, 0, 0);
203
+ }
204
+ }
205
+
206
+ /*Shrinking for mobile*/
207
+ @media (max-width: 768px) {
208
+ .waves {
209
+ height: 40px;
210
+ min-height: 40px;
211
+ }
212
+
213
+ .content {
214
+ height: 30vh;
215
+ }
216
+
217
+ h1 {
218
+ font-size: 24px;
219
+ }
220
+ }
221
+
222
+ .dealingBg {
223
+ height: 100%;
224
+ background-color: #e8aa4e;
225
+ }
226
+
227
+ .successBg {
228
+ background-color: #6ac43f;
229
+ }
230
+
231
+ .failBg {
232
+ background-color: #ff6f6f;
233
+ }
234
+
235
+ .task-wrapper {
236
+ // height:600px;
237
+ position: relative;
238
+ overflow: hidden;
239
+ overflow-y: scroll;
240
+ // padding-bottom: 60px;
241
+
242
+ color: #ffffff;
243
+ }
244
+
245
+ .task-title {
246
+ width: 100%;
247
+ padding: 20px 40px;
248
+ }
249
+
250
+ .task-tip {
251
+ display: flex;
252
+ flex-direction: column;
253
+ align-items: center;
254
+ width: 100%;
255
+ font-size: 20px;
256
+ }
257
+
258
+ .task-tip img {
259
+ width: 80px;
260
+ height: 80px;
261
+ margin-bottom: 10px;
262
+ }
263
+
264
+ .avator-list {
265
+ display: flex;
266
+ flex-direction: row;
267
+ flex-wrap: wrap;
268
+ align-items: center;
269
+ justify-content: flex-start;
270
+ width: 100%;
271
+
272
+ .avator-item {
273
+ display: flex;
274
+ flex-direction: column;
275
+ align-items: center;
276
+ margin: 20px;
277
+
278
+ .avator-wrapper {
279
+ width: 80px;
280
+ height: 80px;
281
+ margin-bottom: 10px;
282
+ overflow: hidden;
283
+ background-color: #ffffff;
284
+ border-radius: 50%;
285
+
286
+ img {
287
+ width: 80px;
288
+ height: 80px;
289
+ border-radius: 50%;
290
+ }
291
+ }
292
+
293
+ span {
294
+ font-size: 16px;
295
+ color: #ffffff;
296
+ }
297
+ }
298
+ }
299
+
300
+ .task-list {
301
+ display: flex;
302
+ flex-direction: column;
303
+ align-items: center;
304
+ width: 100%;
305
+ // position: absolute;
306
+ // bottom: 60px;
307
+ height: 200px;
308
+ background-color: #fff;
309
+
310
+ .record-list {
311
+ display: flex;
312
+ flex-direction: column;
313
+ align-items: center;
314
+ width: 100%;
315
+ padding: 20px;
316
+
317
+ h3 {
318
+ width: 100%;
319
+ color: #333;
320
+ text-align: center;
321
+ }
322
+
323
+ span {
324
+ align-self: flex-start;
325
+ margin-bottom: 10px;
326
+ font-size: 16px;
327
+ color: #c7c7c7;
328
+ }
329
+ }
330
+ }
331
+
332
+ .button-group {
333
+ display: flex;
334
+ flex-direction: row;
335
+ align-items: center;
336
+ justify-content: space-around;
337
+ width: 100%;
338
+ // position:absolute;
339
+ // bottom:0;
340
+ height: 60px;
341
+ background-color: #fff;
342
+ }
343
+ </style>