Blame view

admin-web-master/src/App.vue 15.9 KB
3f535f30   杨鑫   '初始'
1
  <template>
60cd6339   杨鑫   '最新'
2
    <div id="app" class="font" >
3f535f30   杨鑫   '初始'
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
      <el-dialog title="温馨提示" top="30vh" :visible.sync="tipShow" width="30%" center>
        <span
          >为保护个人隐私信息,系统自动对敏感数据进行脱敏。如需编辑、查看完整信息,可通过“用户隐私二次认证”功能进行验证,验证通过之后,24小时内可查看完整信息。</span
        >
        <span slot="footer" class="dialog-footer">
          <el-button @click="tipShow = false">关闭</el-button>
        </span>
      </el-dialog>
      <router-view />
    </div>
  </template>
  
  <script>
  import { getPrivacySwitch } from "@/api/privacy";
  import axios from "axios"
  import vuex from 'vuex'
  
  const JM = require('@/utils/rsaEncrypt.js')
  export default {
    name: "App",
    data() {
      return {
118fc86d   wesley88   1
25
26
        tipShow: false,
  
3f535f30   杨鑫   '初始'
27
28
      };
    },
60cd6339   杨鑫   '最新'
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
     computed: {
        fontFaceStyle() {
          return `
            @font-face {
              font-family: 'Alibaba-PuHuiTi-Bold';
              src: url('${this.$fontBold}');
            }
            @font-face {
              font-family: 'Alibaba-PuHuiTi-Regular';
              src: url('${this.$fontRegular}');
            }
          `;
        }
      },
        mounted() {
          const styleElement = document.createElement('style');
          styleElement.innerHTML = this.fontFaceStyle;
          document.head.appendChild(styleElement);
        },
3f535f30   杨鑫   '初始'
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
    created() {
  
      // this.fetchData()
      if (this.$store.state.user.token) {
        this.getPrivacySwitch();
      }else{
        this.handleLogin()
      }
    },
    methods: {
   handleLogin () {
  
            const data = {
              username: JM.encrypt('admin'),
              password: JM.encrypt('ILoveChina@666'),
              // username: JM.encrypt('15827188456'),
              // password: JM.encrypt('ILoveChina@666'),
              rememberMe: false
            }
              this.$store
                .dispatch('user/login', data)
              .then(() => {
                this.$router.push({ path: '/investigation/index' })
  
              })
  
      },
  
      getPrivacySwitch() {
        getPrivacySwitch().then((res) => {
          var IsTipshow = localStorage.getItem("IsTipshow");
          localStorage.setItem('privacyTime', res.data)
          if (this.$store.state.user.token && !IsTipshow && res.data === 0) {
            this.tipShow = true;
            localStorage.setItem("IsTipshow", true);
          }
        });
        }
    }
  };
  </script>
  <style>
8dca79c8   杨鑫   1
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
  	.el-month-table td .cell:hover{
  		color:#3F9B6A ;
  	}
  	.el-date-picker__header-label.active, .el-date-picker__header-label:hover{
  		color:#3F9B6A ;
  	}
  	.el-month-table td.today .cell{
  		color:#3F9B6A ;
  	}
  	.el-month-table td.current:not(.disabled) .cell{
  		color:#3F9B6A ;
  	}
  	.el-year-table td.today .cell{
  		color:#3F9B6A ;
  	}
  	.el-year-table td .cell:hover, .el-year-table td.current:not(.disabled) .cell{
  		color:#3F9B6A ;
  	}
  .el-backtop, .el-calendar-table td.is-today{
  	color:#3F9B6A ;
  }
d64cd58f   wesley88   上传验收小程序
111
112
113
114
115
116
117
118
119
  .tableBtn {
    display: inline-block;
    margin-right: 10px;
    color: #ACACAC;
    cursor: pointer
  }
    .el-pagination.is-background .el-pager li:not(.disabled).active {
      background-color: #3F9B6A;
    }
118fc86d   wesley88   1
120
121
    .buttonHover:hover {
      color: #3f9b6a !important;
d64cd58f   wesley88   上传验收小程序
122
123
124
125
126
      border-color: #c5e1d2 !important;
      background-color: #ecf5f0 !important;
      outline: none;
    }
  
118fc86d   wesley88   1
127
128
129
    .greens {
      color: #3F9B6A;
    }
3f535f30   杨鑫   '初始'
130
131
132
133
134
135
136
137
  .font{
     font-family: "Alibaba-PuHuiTi-Regular";
  }
  
  .el-submenu__title{
     font-family: "Alibaba-PuHuiTi-Bold";
  }
  .el-dialog__header {
4373acf5   wesley88   1
138
    background-color: #fafafa;
3f535f30   杨鑫   '初始'
139
    text-align: left;
4373acf5   wesley88   1
140
    border-bottom:1px solid #EFEFEF;
3f535f30   杨鑫   '初始'
141
142
143
  }
  
  .el-dialog__title {
4373acf5   wesley88   1
144
145
    color: #000000e6;
    /* color: #FFFFFF; */
3f535f30   杨鑫   '初始'
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
  }
  .el-select-dropdown__item.selected{
      color: #3F9B6A;
  }
  
  .el-pagination__sizes .el-input .el-input__inner:hover{
      border-color: #3F9B6A;
  }
    ::v-deep .el-pagination.is-background .el-pager li:not(.disabled).active {
      background-color: #3F9B6A;
    }
   .el-input__inner:focus {
         border: #3F9B6A 1px solid;
      }
   .el-input__inner:hover {
           border: #3F9B6A 1px solid;
        }
        ::v-deep .el-select .el-input.is-focus .el-input__inner{
            border-color:#3F9B6A
        }
       .el-form-item__label{
           font-weight: 100;
           font-size: 14px;
           color:#000000e6;
  
           }
          .el-tabs__item:hover{
             color:#3F9B6A;
           }
           .el-radio__input.is-checked+.el-radio__label{
             color:#3F9B6A;
           }
           .el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close{
             color:#3F9B6A;
           }
           .custom-message {
             background-color: #fff; /* 设置背景颜色 */
             border:0px;
           }
           .custom-message .el-message__icon {
             color:#3F9B6A;
  
           }
           .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
               background-color:#3F9B6A;
               border-color:#3F9B6A;
           }
           .el-checkbox__inner:hover{
             border-color:#3F9B6A;
           }
           .el-textarea__inner:focus{
             border-color:#3F9B6A;
           }
           .el-select .el-input__inner:focus{
             border-color:#3F9B6A;
           }
           .el-button:focus, .el-button:hover{
118fc86d   wesley88   1
203
             /* color:#606266;
3f535f30   杨鑫   '初始'
204
             border-color:#DCDFE6;
118fc86d   wesley88   1
205
             background-color:#fff; */
3f535f30   杨鑫   '初始'
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
           }
          .el-button--primary{
             background-color:#3F9B6A;
             border-color:#3F9B6A;
           }
           .el-button--primary:focus, .el-button--primary:hover{
             color:#fff;
             background:#3F9B6A;
             border-color:#3F9B6A;
           }
  .el-checkbox__input.is-focus .el-checkbox__inner{
    border-color:#3F9B6A;
  }
  .el-date-table td.end-date span, .el-date-table td.start-date span{
    background-color:#3F9B6A;
  }
  .el-date-table td.in-range div{
    background-color:#D3E6CC;
  }
  .el-date-table td.available:hover{
    color:#3F9B6A;
    background-color:#D3E6CC;
  }
  .el-date-table td.today span{
     color:#3F9B6A;
  }
  .el-picker-panel__footer .el-button--text{
     color:#3F9B6A;
  }
  .el-button.is-plain:focus, .el-button.is-plain:hover{
   color:#3F9B6A;
    border-color:#3F9B6A;
    background-color:#fff;
  }
  
  .el-picker-panel__icon-btn:hover{
    color:#3F9B6A;
  }
  .el-time-panel__btn.confirm{
    color:#3F9B6A;
  }
  .el-table .descending .sort-caret.descending{
    border-top-color:#3F9B6A;
  }
  .el-table .ascending .sort-caret.ascending{
    border-bottom-color:#3F9B6A;
  }
  .el-range-editor.is-active, .el-range-editor.is-active:hover, .el-select .el-input.is-focus .el-input__inner{
    border-color:#3F9B6A;
  }
  .el-radio-button__inner:hover{
    color:#3F9B6A;
  }
  .el-radio-button__orig-radio:checked+.el-radio-button__inner{
    background-color:#3F9B6A;
    border-color:#3F9B6A;
    -webkit-box-shadow:none;
    box-shadow:none;
  }
    .el-button{
          min-width: 88px;
          font-size: 14px;
          height:32px;
          padding:8px 15px;
          font-weight: 400;
    }
    .el-button:hover{
118fc86d   wesley88   1
273
          opacity: 0.8;
3f535f30   杨鑫   '初始'
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
        }
        .el-upload--picture-card:hover, .el-upload:focus{
          border-color:#3F9B6A;
          color:#3F9B6A;
        }
        .el-cascader .el-input .el-input__inner:focus, .el-cascader .el-input.is-focus .el-input__inner{
          border-color:#3F9B6A;
        }
        .el-cascader-node.in-active-path, .el-cascader-node.is-active, .el-cascader-node.is-selectable.in-checked-path{
          color:#3F9B6A;
        }
        .el-radio__input.is-checked .el-radio__inner{
          border-color:#3F9B6A;
          background-color: #3F9B6A;
        }
        .el-radio__inner:hover{
          border-color:#3F9B6A;
        }
        .app-breadcrumb.el-breadcrumb .no-redirect{
          font-size: 14px;
          color: #0006 !important;
        }
  .el-input__inner::placeholder {
    color:#999999;
  }
  .el-table .el-table__cell{
    padding:9px 0;
    text-align:left !important;
  }
     .el-table tr:hover{
          background-color: #F0F7F3  !important;
        }
        .el-form-item__label {
         font-weight: 100;
         font-size: 14px;
         color:#000000e6;
        }
        .el-input__inner{
          height:32px;
          line-height:32px;
6ee6b0b7   杨鑫   '最新'
314
  
3f535f30   杨鑫   '初始'
315
316
317
318
319
320
321
        }
        .el-input__icon{
          line-height:32px;
        }
        .el-form-item{
          margin-bottom:16px;
        }
ab818baa   杨鑫   '1'
322
323
324
325
326
327
    .titles {
      font-size: 16px;
      position: relative;
      padding-left: 14px;
      font-weight: 600;
    }
3f535f30   杨鑫   '初始'
328
  
ab818baa   杨鑫   '1'
329
330
331
332
333
334
335
336
337
338
339
340
341
    .titles::before {
      content: '';
      width: 4px;
      height: 16px;
      background-color: #3F9B6A;
      position: absolute;
      top: 1px;
      left: 0;
      border-radius: 5px;
    }
  .duiqi {
      line-height: 40px;
    }
3f535f30   杨鑫   '初始'
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
  </style>
  <style lang="scss">
   .XDD_css {
       margin-top: 10vh;
       margin-left: 20%;
    max-height:550px;
    overflow-y: auto;
       .el-dialog__body {
         padding: 0px;
         background-color: #fff;
       }
  
       .el-dialog__header {
         background-color: #fff;
         padding: 10px 20px 10px 20px;
         border-bottom: 1px solid #EFEFEF;
       }
  
       .el-dialog__title {
         font-size: 14px;
         color: #000000e6;
       }
     }
      .xiaoguo_css{
       margin-top: 30vh !important;
       margin-left: 25%;
         .el-dialog__header{
           padding:0;
         }
     .el-tabs--border-card {
               border: none;
               -webkit-box-shadow:none;
               box-shadow:none;
           .el-tabs__content{
             border:  1px solid #E4E7ED;
             padding:0;
           }
           .el-tabs__header{
             background-color: #fff;
               border-bottom:none;
           }
           .el-tabs__content{
               border: none;
            }
           .el-tabs__header .el-tabs__item{
             border: none;
             margin-right: 10px;
             background-color: #F2F2F2;
cdf6c4c9   杨鑫   最新
390
             font-size:14px;
3f535f30   杨鑫   '初始'
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
              border-top-left-radius: 8px;
               border-top-right-radius: 8px;
             padding:0 15px;
           }
           .el-tabs__header .el-tabs__item.is-active{
             color:#fff;
             background-color: #3F9B6A;
           }
           .el-tabs__header .el-tabs__item:not(.is-disabled):hover{
              color:#3F9B6A;
           }
         }
      }
      .yaunXin_css{
          margin-top: 30vh !important;
          margin-left: 25%;
            .el-dialog__header{
              padding:0;
            }
        .el-tabs--border-card {
                  border: none;
                  -webkit-box-shadow:none;
                  box-shadow:none;
              .el-tabs__content{
                border:  1px solid #E4E7ED;
                padding:0;
              }
              .el-tabs__header{
                background-color: #fff;
                  border-bottom:none;
              }
              .el-tabs__content{
                  border: none;
               }
              .el-tabs__header .el-tabs__item{
                border: none;
                margin-right: 10px;
                background-color: #F2F2F2;
cdf6c4c9   杨鑫   最新
429
                font-size:14px;
3f535f30   杨鑫   '初始'
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
                 border-top-left-radius: 8px;
                  border-top-right-radius: 8px;
                padding:0 15px;
              }
              .el-tabs__header .el-tabs__item.is-active{
                color:#fff;
                background-color: #3F9B6A;
              }
              .el-tabs__header .el-tabs__item:not(.is-disabled):hover{
                 color:#3F9B6A;
              }
            }
  
      }
      .fenxi_css{
          margin-top: 9vh !important;
          margin-left: 15% !important;
            .el-dialog__header{
              padding:0;
            }
        .el-tabs--border-card {
                  border: none;
                  -webkit-box-shadow:none;
                  box-shadow:none;
              .el-tabs__content{
                border:  1px solid #E4E7ED;
                padding:0;
              }
              .el-tabs__header{
                background-color: #fff;
                  border-bottom:none;
              }
              .el-tabs__content{
                  border: none;
               }
              .el-tabs__header .el-tabs__item{
                border: none;
                margin-right: 10px;
                background-color: #F2F2F2;
cdf6c4c9   杨鑫   最新
469
                font-size:14px;
3f535f30   杨鑫   '初始'
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
                 border-top-left-radius: 8px;
                  border-top-right-radius: 8px;
                padding:0 15px;
              }
              .el-tabs__header .el-tabs__item.is-active{
                color:#fff;
                background-color: #3F9B6A;
              }
              .el-tabs__header .el-tabs__item:not(.is-disabled):hover{
                 color:#3F9B6A;
              }
            }
  
      }
      .el-tree-node__label{
        color:#000000e6;
      }
     .bian_css{
         margin-top:9vh !important;
         margin-left:20%;
         max-height:600px;
         overflow-y: auto;
          .el-dialog__body {
            padding: 0px;
            background-color: #fff;
          }
          .el-dialog__header {
            background-color: #fff;
            padding:10px 20px 10px 20px;
            border-bottom: 1px solid #EFEFEF;
          }
          .el-dialog__title {
           font-size: 14px;
           color: #000000e6;
          }
          .el-date-table td.available:hover{
            background-color:#3F9B6A;
          }
        .el-date-table td.start-date span{
            background-color:#3F9B6A;
          }
        }
        .tongyong_css{
            margin-top:9vh !important;
            margin-left:20%;
            max-height:800px;
            overflow-y: auto;
             .el-dialog__body {
               padding: 0px;
               background-color: #fff;
             }
             .el-dialog__header {
               background-color: #fff;
               padding:0;
             }
             .el-dialog__title {
              font-size: 14px;
              color: #000000e6;
             }
             .el-date-table td.available:hover{
               background-color:#3F9B6A;
             }
           .el-date-table td.start-date span{
               background-color:#3F9B6A;
             }
           }
           .Xintongyong_css{
               margin-top:9vh !important;
               margin-left:20%;
               overflow-y: auto;
                .el-dialog__body {
                  padding: 0px;
                  background-color: #fff;
                }
                .el-dialog__header {
                  background-color: #fff;
                  padding:0;
                }
                .el-dialog__title {
                 font-size: 14px;
                 color: #000000e6;
                }
                .el-date-table td.available:hover{
                  background-color:#3F9B6A;
                }
              .el-date-table td.start-date span{
                  background-color:#3F9B6A;
                }
              }
  .el-descriptions__body .el-descriptions__table .el-descriptions-item__cell{
    line-height:1;
  }
  .el-tabs__item.is-active{
    color:#3F9B6A;
  }
  .el-tabs__active-bar{
    background-color:#3F9B6A;
  }
  .el-step__title.is-process{
    font-weight: 100;
  }
  .el-pagination.is-background .el-pager li:not(.disabled):hover{
    color:#3F9B6A
  }
  .el-table__row{
    font-size:14px;
    color:#000000e6;
  }
  .el-upload-list__item.is-success .el-upload-list__item-name:focus, .el-upload-list__item.is-success .el-upload-list__item-name:hover {
      color: #3F9B6A;
      cursor: pointer;
  }
  .actSpye_dialog{
      .el-dialog__header{
        padding: 0px;
      }
      .el-dialog__body{
        padding:0px;
      }
    }
    .liucheng_css{
        .el-dialog__header{
         padding: 10px 20px;
         border-bottom: 1px solid #EFEFEF;
         background-color:#fff;
  
        }
        .el-dialog__title{
          color:#000;
          font-size:14px;
        }
        .el-dialog__body{
          padding:0px;
        }
      }
      .el-table__body tr.current-row>td.el-table__cell, .el-table__body tr.selection-row>td.el-table__cell{
ab1ffdd3   杨鑫   '更新'
606
        background-color: transparent;
3f535f30   杨鑫   '初始'
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
      }
      .el-checkbox__input.is-checked+.el-checkbox__label{
        color:#3F9B6A;
      }
  
      .el-checkbox__input.is-disabled+span.el-checkbox__label{
        color: #606266;
      }
      .el-radio__input.is-disabled+span.el-radio__label{
          color: #606266;
      }
      .el-date-table td.current:not(.disabled) span{
        background-color:#3F9B6A;
        color: #fff;
      }
      .el-pager li.active{
        color:#3F9B6A;
      }
      .el-pager li:hover {
          color:#3F9B6A;
      }
      .stepsColor .one_class{
        background:#3F9B6A;
      }
      .stepsColor .two_class{
        color:#3F9B6A;
      }
e72f5b2f   李宇   1
634
635
636
637
      .el-popover{
        background-color: black;
        color:#fff;
      }
93c8bac5   李宇   1
638
639
640
641
642
643
      .el-table__fixed-right {
        background: #fff;
      }
      .bom {
        margin-top: 40px;
      }
3f535f30   杨鑫   '初始'
644
  </style>