meixioacomponent 0.3.25 → 0.3.28

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.
@@ -0,0 +1,960 @@
1
+ <template>
2
+ <base-dialog
3
+ ref="dialog"
4
+ :modal="true"
5
+ :title="`验证邮箱`"
6
+ :isDestroy="true"
7
+ :appendToBody="true"
8
+ :contentHeight="`200px`"
9
+ @destroy="destroy"
10
+ >
11
+ <div class="dialog-content" slot="dialog-content">
12
+ <div class="verify-email-wrap">
13
+ <span class="des-text">
14
+ 请填写新的邮箱地址,邮箱填写完成后点击发送电子邮件,系统会发送一封邮件到新的邮箱地址,请输入邮件中的验证码验证您的邮箱。
15
+ </span>
16
+ <base-form
17
+ :footer="false"
18
+ :rules="rules"
19
+ :rowNumber="1"
20
+ ref="baseForm"
21
+ v-model="formList"
22
+ :labelWidth="`70px`"
23
+ :labelPosition="`left`"
24
+ @formSubmit="formSubmit"
25
+ >
26
+ <template v-slot:form-verifyCode="data">
27
+ <el-input
28
+ size="medium"
29
+ prefix-icon="el-icon-postcard"
30
+ v-model.number="data.scope[1].value"
31
+ >
32
+ <div class="code-button_wrap" slot="suffix">
33
+ <el-button
34
+ type="info"
35
+ size="mini"
36
+ slot="suffix"
37
+ :disabled="downButtonDisable"
38
+ @click="onHandleStartDown"
39
+ >
40
+ 获取验证码
41
+ </el-button>
42
+ </div>
43
+ </el-input>
44
+ </template>
45
+ </base-form>
46
+ </div>
47
+ </div>
48
+ <base-button-handle
49
+ slot="dialog-footer"
50
+ :size="`mini`"
51
+ :config="buttonConfig"
52
+ ></base-button-handle>
53
+ </base-dialog>
54
+ </template>
55
+
56
+ <script>
57
+ export default {
58
+ data() {
59
+ return {
60
+ formList: [],
61
+ downTriger: null,
62
+ downNumber: 120,
63
+ test: true,
64
+ rules: {
65
+ email: [
66
+ {
67
+ // validator: elementValidate.validateEmail,
68
+ required: true,
69
+ message: '请输入邮箱',
70
+ trigger: 'blur',
71
+ },
72
+ ],
73
+
74
+ verifyCode: [
75
+ {
76
+ required: true,
77
+ trigger: 'blur',
78
+ message: '请输入验证码',
79
+ },
80
+ ],
81
+ },
82
+ }
83
+ },
84
+
85
+ created() {
86
+ const { email } = this.$props
87
+ this.formList = [
88
+ {
89
+ value: email,
90
+ key: 'email',
91
+ type: 'input',
92
+ label: '邮箱',
93
+ },
94
+ {
95
+ value: '',
96
+ key: 'verifyCode',
97
+ type: 'template',
98
+ label: '验证码',
99
+ },
100
+ ]
101
+
102
+ setTimeout(() => {
103
+ this.test = false
104
+ }, 5000)
105
+ },
106
+ mounted() {
107
+ this.$refs.dialog.showDialog()
108
+ },
109
+ computed: {
110
+ downButtonDisable() {
111
+ return this.trigger || !this.formList[0].value
112
+ },
113
+ buttonConfig() {
114
+ return [
115
+ {
116
+ text: '发送验证码',
117
+ type: 'primary',
118
+ loading: this.test,
119
+ click: () => {
120
+ this.$refs.baseForm.onSubmit()
121
+ },
122
+ },
123
+ {
124
+ text: '取消验证',
125
+ type: 'info',
126
+ click: () => {},
127
+ },
128
+ ]
129
+ },
130
+ },
131
+ props: {
132
+ email: {},
133
+ },
134
+ methods: {
135
+ destroy() {
136
+ this.$destroy()
137
+ },
138
+ formSubmit() {
139
+ const result = this.$refs.baseForm.returnFormValue()
140
+ // submitAccountInfo(result).then((res) => {
141
+ console.log(result)
142
+ this.$message.success('操作成功')
143
+ // })
144
+ },
145
+ onHandleStartDown() {},
146
+ },
147
+ }
148
+ </script>
149
+
150
+ <style lang="less" scoped>
151
+ .verify-email-wrap {
152
+ width: 100%;
153
+ height: 200px;
154
+
155
+ .des-text {
156
+ display: inline-block;
157
+ margin-bottom: var(--margin-4);
158
+ color: var(--font-color-s);
159
+ font-size: var(--font-size-base);
160
+ }
161
+ .code-button_wrap {
162
+ top: 50%;
163
+ right: 0px;
164
+ position: absolute;
165
+ transform: translateY(-50%);
166
+ }
167
+ }
168
+ </style>
169
+
170
+ <!-- <template>
171
+ <base-drawer
172
+ :size="800"
173
+ ref="drawer"
174
+ :modal="true"
175
+ :header="true"
176
+ :direction="`rtl`"
177
+ :title="`单位信息`"
178
+ :appendToBody="true"
179
+ :wrapperClosable="false"
180
+ >
181
+ <div class="company-info-drawer-content" slot="drawer-content">
182
+ <base-form-wrap
183
+ :rowNumber="2"
184
+ :labelWidth="`155px`"
185
+ :rules="businessInfo.rules"
186
+ :formTitle="businessInfo.title"
187
+ :formList="businessInfo.formList"
188
+ >
189
+ <template v-slot:formslot-businessLicenseFile="data">
190
+ <div class="upload-wrap" style="height: 100px">
191
+ <base-upload-item
192
+ :disabled="true"
193
+ :shape="`pro`"
194
+ :fileType="`img`"
195
+ @uploadEd="uploadEd"
196
+ :uploadType="`single`"
197
+ v-model="test"
198
+ >
199
+ </base-upload-item>
200
+ </div>
201
+ </template>
202
+ </base-form-wrap>
203
+ </div>
204
+ </base-drawer>
205
+ </template>
206
+
207
+ <script>
208
+ export default {
209
+ data() {
210
+ return {
211
+ connecter: null,
212
+ backInfo: null,
213
+ formApiData: null,
214
+ businessInfo: null,
215
+ test: [],
216
+ };
217
+ },
218
+ created() {
219
+ // let _companyInfo = companyInfo();
220
+
221
+ this.businessInfo = {
222
+ title: "经营信息",
223
+ rules: {
224
+ legalPerson: [
225
+ {
226
+ required: true,
227
+ message: "请输入法人名称",
228
+ trigger: "blur",
229
+ },
230
+ ],
231
+ idCard: [
232
+ {
233
+ required: true,
234
+ message: "请输入法人身份证",
235
+ trigger: "blur",
236
+ },
237
+ ],
238
+ businessLicense: [
239
+ {
240
+ required: true,
241
+ message: "请输入营业执照号",
242
+ trigger: "blur",
243
+ },
244
+ ],
245
+
246
+ businessLicenseFile: [
247
+ {
248
+ required: true,
249
+ message: "请上传营业执照电子版",
250
+ trigger: "blur",
251
+ },
252
+ ],
253
+ },
254
+ formList: [
255
+ {
256
+ value: "2022-05-02 22:00:00",
257
+ key: "legalPerson",
258
+ type: "time",
259
+ label: "法人名称",
260
+ },
261
+ {
262
+ value: "",
263
+ key: "idCard",
264
+ type: "input",
265
+ label: "法人身份证",
266
+ },
267
+ {
268
+ value: "",
269
+ key: "businessLicense",
270
+ type: "input",
271
+ label: "营业执照号",
272
+ },
273
+ {
274
+ value:
275
+ "businessLicenseFilebusinessLicenseFilebusinessLicenseFilebusinessLicenseFilebusinessLicenseFilebusinessLicenseFilebusinessLicenseFilebusinessLicenseFile",
276
+ key: "businessLicenseFile",
277
+ type: "template",
278
+ label: "营业执照电子版",
279
+ },
280
+ ],
281
+ };
282
+ // this.connecter = _companyInfo.contactInfo;
283
+ // this.backInfo = _companyInfo.bankInfo;
284
+ // this.getCompanyInfoFromCompanyId();
285
+ },
286
+ mounted() {
287
+ this.$refs.drawer.openDrawer();
288
+ },
289
+ props: {
290
+ companyId: null,
291
+ },
292
+ methods: {
293
+ uploadEd() {},
294
+ async getCompanyInfoFromCompanyId() {
295
+ const { companyId } = this.$props;
296
+ this.formApiData = await GetCompanyInfoFromCompanyId(companyId);
297
+ let arr = ["businessInfo", "connecter", "backInfo"];
298
+ for (let i = 0; i < arr.length; i++) {
299
+ assembleData(this[`${arr[i]}`].formList, this.formApiData);
300
+ }
301
+ console.log(this.businessInfo);
302
+ },
303
+ },
304
+ };
305
+ </script>
306
+
307
+ <style lang="less" scoped>
308
+ .company-info-drawer-content {
309
+ padding: var(--padding-4);
310
+ box-sizing: border-box;
311
+ }
312
+ </style> -->
313
+
314
+ <!-- <template>
315
+ <div class="page-table-wrap" ref="pageTableWrap">
316
+ <base-pro-table
317
+ :align="`left`"
318
+ v-model="keyWords"
319
+ :height="pageHeight"
320
+ :isAverageWidth="false"
321
+ :pageProps="pageProps"
322
+ :pageConfig="pageConfig"
323
+ :screenList="screenList"
324
+ :httpRequire="httpRequire"
325
+ :tableConfig="tableConfig"
326
+ :headerConfig="headerConfig"
327
+ :totalPropsList="totalPropsList"
328
+ :proScreenConfig="proScreenConfig"
329
+ > -->
330
+ <!-- 表格头部插槽 -->
331
+ <!-- <template>
332
+ <base-icon
333
+ :color="`m`"
334
+ :event="true"
335
+ slot="prefix"
336
+ :name="`icon-bangzhu`"
337
+ ></base-icon>
338
+
339
+ <template slot="headerExtend">
340
+ <el-button type="primary" size="medium">新建客户</el-button>
341
+ <el-button type="info" plain size="small">查重</el-button>
342
+ </template>
343
+
344
+ <el-dropdown slot="suffix" trigger="click">
345
+ <el-button
346
+ type="info"
347
+ size="small"
348
+ icon="el-icon-more"
349
+ class="dropdown-button"
350
+ plain
351
+ ></el-button>
352
+ <el-dropdown-menu slot="dropdown">
353
+ <el-dropdown-item>黄金糕</el-dropdown-item>
354
+ <el-dropdown-item>狮子头</el-dropdown-item>
355
+ <el-dropdown-item>螺蛳粉</el-dropdown-item>
356
+ <el-dropdown-item>双皮奶</el-dropdown-item>
357
+ <el-dropdown-item>蚵仔煎</el-dropdown-item>
358
+ </el-dropdown-menu>
359
+ </el-dropdown>
360
+ </template> -->
361
+
362
+ <!-- 自定义模板列 -->
363
+ <!-- <template v-slot:name="data"> template-{{ data.scope }} </template>
364
+ <template v-slot:address="data"> template-{{ data.scope }} </template> -->
365
+ <!-- </base-pro-table>
366
+ </div>
367
+ </template> -->
368
+
369
+ <!-- <script>
370
+ export default {
371
+ data() {
372
+ return {
373
+ // 当前页面高度
374
+ pageHeight: null,
375
+ tableConfig: [],
376
+
377
+ headerConfig: {
378
+ headerText: "测试表格",
379
+ },
380
+
381
+ totalPropsList: [],
382
+
383
+ keyWords: "",
384
+ /* 快捷的筛选 类似于tag */
385
+ screenList: {
386
+ index: 0,
387
+ list: [
388
+ { value: "all", label: "全部合同", key: "_all" },
389
+ { value: "me", label: "我负责的合同", key: "_me" },
390
+ {
391
+ value: "subordinate",
392
+ label: "下属负责的合同",
393
+ key: "_subordinate",
394
+ },
395
+ ],
396
+ },
397
+
398
+ /* 高级筛选的配置 */
399
+ proScreenConfig: [
400
+ {
401
+ key: "accountBank",
402
+ value: "",
403
+ type: "time",
404
+ },
405
+ {
406
+ key: "firmName",
407
+ value: "",
408
+ type: "input",
409
+ },
410
+ {
411
+ key: "contactName",
412
+ value: "",
413
+ type: "select",
414
+ selectList: [
415
+ {
416
+ label: "测试1",
417
+ value: 1,
418
+ },
419
+ { label: "测试2", value: 2 },
420
+ { label: "测试3", value: 3 },
421
+ { label: "测试4", value: 4 },
422
+ ],
423
+ },
424
+ ],
425
+
426
+ // 分页属性
427
+ /* 分页属性 */
428
+ pageProps: {
429
+ pageSize: 15,
430
+ pageNum: 1,
431
+ total: 100,
432
+ },
433
+ // 分页配置
434
+ pageConfig: {
435
+ size: "pageSize",
436
+ page: "pageNum",
437
+ total: "total",
438
+ },
439
+ };
440
+ },
441
+ created() {
442
+ this.tableConfig = [
443
+ {
444
+ width: 120,
445
+ lock: false,
446
+ label: "操作",
447
+ template: false,
448
+ key: "accountBank",
449
+ screen: true,
450
+ },
451
+ {
452
+ label: "单位名称",
453
+ key: "firmName",
454
+ lock: false,
455
+ width: 150,
456
+ template: false,
457
+ screen: true,
458
+ },
459
+ {
460
+ label: "合同名称",
461
+ key: "pactName",
462
+ lock: false,
463
+ width: 150,
464
+ template: false,
465
+ color: "warn",
466
+ },
467
+ {
468
+ label: "联系人名称",
469
+ key: "contactName",
470
+ lock: false,
471
+ width: 150,
472
+ screen: true,
473
+ template: false,
474
+ },
475
+ {
476
+ label: "快递单号",
477
+ key: "courierNumber",
478
+ lock: false,
479
+ width: 199,
480
+ },
481
+ {
482
+ label: "审核状态",
483
+ key: "status",
484
+ lock: false,
485
+ width: 280,
486
+ template: false,
487
+ },
488
+ {
489
+ label: "签署时间",
490
+ key: "gmtCreate",
491
+ lock: false,
492
+ width: 280,
493
+ template: false,
494
+ },
495
+ ];
496
+ },
497
+ mounted() {
498
+ this.pageHeight = this.$refs.pageTableWrap.clientHeight;
499
+ },
500
+ components: {},
501
+ methods: {
502
+ async httpRequire(screenCofig) {
503
+ let result = null;
504
+ try {
505
+ result = await test(screenCofig);
506
+ this.pageProps.total = result.total;
507
+ } catch (error) {
508
+ return new Promise((resolve, reject) => {
509
+ this.pageProps.total = 0;
510
+ resolve([]);
511
+ });
512
+ }
513
+ return new Promise((resolve, reject) => {
514
+ resolve(result.rows);
515
+ });
516
+ },
517
+ rowClick(row) {
518
+ console.log(row);
519
+ },
520
+ },
521
+ };
522
+ </script>
523
+
524
+ <style lang="less" scoped>
525
+ .page-table-wrap {
526
+ width: 100%;
527
+ height: 100%;
528
+ background: inherit;
529
+ }
530
+ </style> -->
531
+
532
+ <!-- 普通表单 -->
533
+ <!-- <template>
534
+ <div class="add-company-step-two-wrap">
535
+ <base-form
536
+ :footer="false"
537
+ :rules="rules"
538
+ :rowNumber="1"
539
+ @onCancel="onCancel"
540
+ v-model="formList"
541
+ :labelWidth="`200px`"
542
+ :labelPosition="`right`"
543
+ @formSubmit="formSubmit"
544
+ >
545
+ <template v-slot:form-businessLicense="data">
546
+
547
+ <div class="upload-wrap">
548
+ <base-upload-item
549
+ :shape="`pro`"
550
+ :fileType="`img`"
551
+ @uploadEd="uploadEd"
552
+ :uploadType="`single`"
553
+ v-model="data.scope[3].value"
554
+ >
555
+ </base-upload-item>
556
+ </div>
557
+ </template>
558
+ <template v-slot:form-idPositive="data">
559
+
560
+ <div class="upload-wrap">
561
+ <base-upload-item
562
+ :shape="`pro`"
563
+ :fileType="`img`"
564
+ @uploadEd="uploadEd"
565
+ :uploadType="`single`"
566
+ v-model="data.scope[4].value"
567
+ >
568
+ </base-upload-item>
569
+ </div>
570
+ </template>
571
+ <template v-slot:form-idBack="data">
572
+
573
+ <div class="upload-wrap">
574
+ <base-upload-item
575
+ :shape="`pro`"
576
+ :fileType="`img`"
577
+ @uploadEd="uploadEd"
578
+ :uploadType="`single`"
579
+ v-model="data.scope[5].value"
580
+ >
581
+ </base-upload-item>
582
+ </div>
583
+ </template>
584
+ </base-form>
585
+ </div>
586
+ </template> -->
587
+
588
+ <!-- <script>
589
+ export default {
590
+ data() {
591
+ return {
592
+ formList: [
593
+ {
594
+ value: "",
595
+ key: "companyName",
596
+ type: "input",
597
+ label: "企业名称",
598
+ },
599
+ {
600
+ value: "",
601
+ key: "companyAddress",
602
+ type: "area",
603
+ label: "通讯地址",
604
+ },
605
+ {
606
+ value: "",
607
+ key: "companyDetail",
608
+ type: "textarea",
609
+ label: "详细地址",
610
+ },
611
+ {
612
+ value: [],
613
+ key: "businessLicense",
614
+ type: "template",
615
+ label: "营业执照正面彩照",
616
+ },
617
+ {
618
+ value: [],
619
+ key: "idPositive",
620
+ type: "template",
621
+ label: "法人身份证人像照",
622
+ },
623
+ {
624
+ value: [],
625
+ key: "idBack",
626
+ type: "template",
627
+ label: "法人身份证国徽照",
628
+ },
629
+ ],
630
+ rules: {
631
+ companyName: [
632
+ {
633
+ required: true,
634
+ message: "请输入企业名称",
635
+ trigger: "blur",
636
+ },
637
+ ],
638
+ companyAddress: [
639
+ {
640
+ required: true,
641
+ message: "请输入通讯地址",
642
+ trigger: "blur",
643
+ },
644
+ ],
645
+ companyDetail: [
646
+ {
647
+ required: true,
648
+ message: "请输入详细地址",
649
+ trigger: "blur",
650
+ },
651
+ ],
652
+ businessLicense: [
653
+ {
654
+ required: true,
655
+ message: "请上传营业彩照",
656
+ trigger: "blur",
657
+ },
658
+ ],
659
+ idPositive: [
660
+ {
661
+ required: true,
662
+ message: "请上传法人身份证人像照",
663
+ trigger: "blur",
664
+ },
665
+ ],
666
+ idBack: [
667
+ {
668
+ required: true,
669
+ message: "请上传法人身份证国徽照",
670
+ trigger: "blur",
671
+ },
672
+ ],
673
+ },
674
+ };
675
+ },
676
+ methods: {
677
+ onCancel() {},
678
+ formSubmit() {},
679
+ uploadEd(value) {
680
+ console.log(value);
681
+ console.log(this.formList);
682
+ },
683
+ },
684
+ };
685
+ </script>
686
+
687
+ <style lang="less" scoped>
688
+ .add-company-step-two-wrap {
689
+ width: 60%;
690
+ height: 100%;
691
+ overflow-y: auto;
692
+ .upload-wrap {
693
+ width: 100%;
694
+ height: 170px;
695
+ display: flex;
696
+ align-items: center;
697
+ justify-content: center;
698
+ /deep/ .base-upload-item-wrap {
699
+ margin: 0px;
700
+ }
701
+ }
702
+ }
703
+ </style> -->
704
+
705
+ <!-- 上传表单 -->
706
+ <!-- <template>
707
+ <base-dialog-form
708
+ ref="dialogFormVue"
709
+ :title="`测试表格`"
710
+ :labelWidth="`150px`"
711
+ :rulesList="rulesList"
712
+ v-model="formArray"
713
+ :disables="disables"
714
+ :modallAppendToBody="false"
715
+ :footerHandleConfig="footerHandleConfig"
716
+ ></base-dialog-form>
717
+ </template>
718
+
719
+ <script>
720
+ export default {
721
+ data() {
722
+ return {
723
+ // 表单验证
724
+ formArray: [
725
+ {
726
+ key: "test1",
727
+ formTitle: "基本信息",
728
+ formList: [
729
+ {
730
+ value: "签约行业",
731
+ key: "test1",
732
+ type: "input",
733
+ disabled: true,
734
+ label: "商机名称",
735
+ },
736
+ {
737
+ key: "test9",
738
+ type: "radio",
739
+ value: 1,
740
+ label: "客户地址",
741
+ list: [
742
+ {
743
+ label: "1",
744
+ value: 1,
745
+ },
746
+ {
747
+ label: "2",
748
+ value: 2,
749
+ },
750
+ ],
751
+ },
752
+ {
753
+ key: "test2",
754
+ type: "input",
755
+ disabled: false,
756
+ label: "客户名称",
757
+ value: "河南郑州建设股份有限公司 ",
758
+ click: (formItem) => {
759
+ console.log(formItem);
760
+ },
761
+ },
762
+ {
763
+ key: "test3",
764
+ type: "input",
765
+ disabled: false,
766
+ value: 17490,
767
+ color: "warn",
768
+ label: "商机金额",
769
+ },
770
+ {
771
+ value: "",
772
+ key: "test4",
773
+ type: "time",
774
+ disabled: false,
775
+ label: "预计成交日期",
776
+ },
777
+ {
778
+ value: "",
779
+ key: "test5",
780
+ type: "time",
781
+ disabled: false,
782
+ label: "下次联系时间",
783
+ },
784
+ {
785
+ value: [2],
786
+ key: "test6",
787
+ type: "select",
788
+ disabled: false,
789
+ label: "商机状态组",
790
+ multipleLimit: 2,
791
+ useStore: "testSelectStore",
792
+ },
793
+ {
794
+ value: 2,
795
+ key: "test7",
796
+ type: "select",
797
+ disabled: false,
798
+ label: "商机阶段",
799
+ useStore: "testSelectStore",
800
+ },
801
+ {
802
+ value: "",
803
+ key: "test8",
804
+ type: "textarea",
805
+ disabled: false,
806
+ label: "备注",
807
+ },
808
+ ],
809
+ },
810
+ {
811
+ key: "test2",
812
+ formTitle: "基本信息",
813
+ formList: [
814
+ {
815
+ value: "签约行业",
816
+ key: "test1",
817
+ type: "input",
818
+ disabled: true,
819
+ label: "商机名称",
820
+ },
821
+ {
822
+ key: "test2",
823
+ type: "input",
824
+ disabled: false,
825
+ label: "客户名称",
826
+ value: "河南郑州建设股份有限公司 ",
827
+ click: (formItem) => {
828
+ console.log(formItem);
829
+ },
830
+ },
831
+ {
832
+ key: "test3",
833
+ type: "input",
834
+ disabled: false,
835
+ value: 17490,
836
+ color: "warn",
837
+ label: "商机金额",
838
+ },
839
+ {
840
+ value: "",
841
+ key: "test4",
842
+ type: "time",
843
+ disabled: false,
844
+ label: "预计成交日期",
845
+ },
846
+ {
847
+ value: "",
848
+ key: "test5",
849
+ type: "time",
850
+ disabled: false,
851
+ label: "下次联系时间",
852
+ },
853
+ {
854
+ value: [2],
855
+ key: "test6",
856
+ type: "select",
857
+ disabled: false,
858
+ label: "商机状态组",
859
+ multipleLimit: 2,
860
+ useStore: "testSelectStore",
861
+ },
862
+ {
863
+ value: 2,
864
+ key: "test7",
865
+ type: "select",
866
+ disabled: false,
867
+ label: "商机阶段",
868
+ useStore: "testSelectStore",
869
+ },
870
+ {
871
+ value: "",
872
+ key: "test8",
873
+ type: "textarea",
874
+ disabled: false,
875
+ label: "备注",
876
+ },
877
+ ],
878
+ },
879
+ {
880
+ key: "test3",
881
+ formTitle: "测试活动图片",
882
+ formType: "upload",
883
+ max: 3,
884
+ formList: [
885
+ {
886
+ value: [],
887
+ key: "test1",
888
+ label: "图片上传",
889
+ },
890
+ ],
891
+ },
892
+ ],
893
+ rulesList: {},
894
+ footerHandleConfig: [],
895
+ disables: {},
896
+ };
897
+ },
898
+
899
+ created() {
900
+ //
901
+ this.disables = {
902
+ test9: {
903
+ effects: [
904
+ {
905
+ key: "test1",
906
+ type: "hide",
907
+ fn: this.hideMenuTypeOfButton,
908
+ },
909
+ ],
910
+ },
911
+ };
912
+ this.footerHandleConfig = [
913
+ {
914
+ text: "取消",
915
+ type: "info",
916
+ plain: true,
917
+ click: () => {
918
+ // this.dialogProscreenConfirm(false);
919
+ this.$destroy();
920
+ },
921
+ },
922
+ {
923
+ text: "确定",
924
+ type: "primary",
925
+ plain: false,
926
+ click: async () => {
927
+ // this.dialogProscreenConfirm(true);
928
+ let result = await this.$refs.dialogFormVue.checkValidate();
929
+ if (result) {
930
+ console.log(this.$refs.dialogFormVue.getFormValue());
931
+ }
932
+ },
933
+ },
934
+ ];
935
+
936
+ this.rulesList = {
937
+ test1: {
938
+ test1: [{ required: true, message: "请输入活动名称", trigger: "blur" }],
939
+ test2: [{ required: true, message: "请输入活动名称", trigger: "blur" }],
940
+ test3: [{ required: true, message: "请输入活动名称", trigger: "blur" }],
941
+ test4: [{ required: true, message: "请输入活动名称", trigger: "blur" }],
942
+ test5: [{ required: true, message: "请输入活动名称", trigger: "blur" }],
943
+ test9: [{ required: true, message: "请输入活动名称", trigger: "blur" }],
944
+ },
945
+ };
946
+ },
947
+ mounted() {
948
+ this.$refs.dialogFormVue.showDialog();
949
+ },
950
+ components: {},
951
+ props: { index: {} },
952
+ methods: {
953
+ hideMenuTypeOfButton(val) {
954
+ return val == 1;
955
+ },
956
+ },
957
+ };
958
+ </script>
959
+
960
+ <style></style> -->