Commit ded06772ee93167d1c1839c8e4fa868d1337524c

Authored by 梁保满
1 parent 6dc19f47

style

src/router/index.js
... ... @@ -480,21 +480,21 @@ let addrouters = [
480 480 let csAddrouters = [
481 481 {
482 482 path: "/examinationPaper",
483   - iconCls: "fa fa-file-text", // 图标样式class
  483 + iconCls: "fa fa-file-text",
484 484 name: "备题组卷",
485 485 component: Layout,
486 486 alone: true,
487 487 children: [
488 488 {
489 489 path: "/examinationPaper",
490   - iconCls: "fa fa-file-text", // 图标样式class
  490 + iconCls: "fa fa-file-text",
491 491 name: "examinationPaper",
492 492 component: ExaminationPaper,
493 493 children: []
494 494 },
495 495 {
496 496 path: "/examinationPaperAdd",
497   - iconCls: "", // 图标样式class
  497 + iconCls: "",
498 498 name: "examinationPaperAdd",
499 499 component: ExaminationPaperAdd,
500 500 parent: "examinationPaper",
... ... @@ -502,7 +502,7 @@ let csAddrouters = [
502 502 },
503 503 {
504 504 path: "/examinationPaperEdit",
505   - iconCls: "", // 图标样式class
  505 + iconCls: "",
506 506 name: "修改答题卡",
507 507 component: ExaminationPaperEdit,
508 508 parent: "examinationPaper",
... ... @@ -510,7 +510,7 @@ let csAddrouters = [
510 510 },
511 511 {
512 512 path: "/examinationPaperRecycle",
513   - iconCls: "", // 图标样式class
  513 + iconCls: "",
514 514 name: "回收站答题卡",
515 515 component: ExaminationPaperRecycle,
516 516 parent: "examinationPaper",
... ... @@ -518,7 +518,7 @@ let csAddrouters = [
518 518 },
519 519 {
520 520 path: "/examinationPaperArchiving",
521   - iconCls: "", // 图标样式class
  521 + iconCls: "",
522 522 name: "已归档答题卡",
523 523 component: ExaminationPaperArchiving,
524 524 parent: "examinationPaper",
... ... @@ -529,14 +529,14 @@ let csAddrouters = [
529 529 },
530 530 {
531 531 path: "/ask",
532   - iconCls: "fa fa-bar-chart", // 图标样式class
  532 + iconCls: "fa fa-bar-chart",
533 533 name: "随堂问报表",
534 534 component: Layout,
535 535 alone: true,
536 536 children: [
537 537 {
538 538 path: "/ask",
539   - iconCls: "fa fa-bar-chart", // 图标样式class
  539 + iconCls: "fa fa-bar-chart",
540 540 name: "ask",
541 541 name: "随堂问报表",
542 542 component: Ask,
... ... @@ -548,7 +548,7 @@ let csAddrouters = [
548 548 },
549 549 {
550 550 path: "/askAnalysis",
551   - iconCls: "", // 图标样式class
  551 + iconCls: "",
552 552 name: "随堂问报表分析",
553 553 component: AskAnalysis,
554 554 parent: "ask",
... ... @@ -558,14 +558,14 @@ let csAddrouters = [
558 558 },
559 559 {
560 560 path: "/test",
561   - iconCls: "fa fa-pie-chart", // 图标样式class
  561 + iconCls: "fa fa-pie-chart",
562 562 name: "即时测报表",
563 563 component: Layout,
564 564 alone: true,
565 565 children: [
566 566 {
567 567 path: "/test",
568   - iconCls: "fa fa-pie-chart", // 图标样式class
  568 + iconCls: "fa fa-pie-chart",
569 569 name: "",
570 570 component: Test,
571 571 meta: {
... ... @@ -575,7 +575,7 @@ let csAddrouters = [
575 575 },
576 576 {
577 577 path: "/testAnalysis",
578   - iconCls: "", // 图标样式class
  578 + iconCls: "",
579 579 name: "即时测报表分析",
580 580 component: TestAnalysis,
581 581 parent: "test",
... ... @@ -586,7 +586,7 @@ let csAddrouters = [
586 586 },
587 587 {
588 588 path: "/setUpConglomerate",
589   - iconCls: "fa fa-building", // 图标样式class
  589 + iconCls: "fa fa-building",
590 590 name: "学校管理",
591 591 component: Layout,
592 592 alone: true,
... ... @@ -602,7 +602,7 @@ let csAddrouters = [
602 602 },
603 603 {
604 604 path: "/setUpAccount",
605   - iconCls: "fa fa-id-card-o", // 图标样式class
  605 + iconCls: "fa fa-id-card-o",
606 606 name: "账号管理",
607 607 component: Layout,
608 608 alone: true,
... ... @@ -647,14 +647,14 @@ let csAddrouters = [
647 647 },
648 648 {
649 649 path: "/card",
650   - iconCls: "fa fa-id-card", // 图标样式class
  650 + iconCls: "fa fa-id-card",
651 651 name: "发卡记录",
652 652 component: Layout,
653 653 alone: true,
654 654 children: [
655 655 {
656 656 path: "/card",
657   - iconCls: "fa fa-id-card", // 图标样式class
  657 + iconCls: "fa fa-id-card",
658 658 name: "",
659 659 component: Card,
660 660 children: []
... ... @@ -663,14 +663,14 @@ let csAddrouters = [
663 663 },
664 664 {
665 665 path: "/device",
666   - iconCls: "fa fa-dashboard", // 图标样式class
  666 + iconCls: "fa fa-dashboard",
667 667 name: "设备状态",
668 668 component: Layout,
669 669 alone: true,
670 670 children: [
671 671 {
672 672 path: "/device",
673   - iconCls: "fa fa-dashboard", // 图标样式class
  673 + iconCls: "fa fa-dashboard",
674 674 name: "",
675 675 component: Device,
676 676 meta: {
... ... @@ -680,7 +680,7 @@ let csAddrouters = [
680 680 },
681 681 {
682 682 path: "/deviceLog",
683   - iconCls: "fa fa-list-alt", // 图标样式class
  683 + iconCls: "fa fa-list-alt",
684 684 name: "",
685 685 component: DeviceLog,
686 686 parent: "device",
... ... @@ -690,14 +690,14 @@ let csAddrouters = [
690 690 },
691 691 {
692 692 path: "/analysis",
693   - iconCls: "fa fa-area-chart", // 图标样式class
  693 + iconCls: "fa fa-area-chart",
694 694 name: "使用分析",
695 695 component: Layout,
696 696 alone: true,
697 697 children: [
698 698 {
699 699 path: "/analysis",
700   - iconCls: "fa fa-area-chart", // 图标样式class
  700 + iconCls: "fa fa-area-chart",
701 701 name: "",
702 702 component: Analysis,
703 703 children: []
... ... @@ -706,21 +706,21 @@ let csAddrouters = [
706 706 },
707 707 {
708 708 path: "/down",
709   - iconCls: "fa fa-download", // 图标样式class
  709 + iconCls: "fa fa-download",
710 710 name: "软件下载",
711 711 component: Layout,
712 712 alone: true,
713 713 children: [
714 714 {
715 715 path: "/down",
716   - iconCls: "fa fa-download", // 图标样式class
  716 + iconCls: "fa fa-download",
717 717 name: "发卡软件",
718 718 component: Down,
719 719 children: []
720 720 },
721 721 {
722 722 path: "/downClient",
723   - iconCls: "", // 图标样式class
  723 + iconCls: "",
724 724 name: "授课端软件",
725 725 component: DownClient,
726 726 parent: "down",
... ... @@ -730,14 +730,14 @@ let csAddrouters = [
730 730 },
731 731 {
732 732 path: "/dataSync",
733   - iconCls: "fa fa-random", // 图标样式class
  733 + iconCls: "fa fa-random",
734 734 name: "数据同步",
735 735 component: Layout,
736 736 alone: true,
737 737 children: [
738 738 {
739 739 path: "/dataSync",
740   - iconCls: "fa fa-random", // 图标样式class
  740 + iconCls: "fa fa-random",
741 741 name: "",
742 742 component: DataSync,
743 743 children: []
... ... @@ -766,21 +766,21 @@ const addroutersPersonal = [
766 766 },
767 767 {
768 768 path: "/examinationPaper",
769   - iconCls: "fa fa-file-text", // 图标样式class
  769 + iconCls: "fa fa-file-text",
770 770 name: "备题组卷",
771 771 component: Layout,
772 772 alone: true,
773 773 children: [
774 774 {
775 775 path: "/examinationPaper",
776   - iconCls: "fa fa-file-text", // 图标样式class
  776 + iconCls: "fa fa-file-text",
777 777 name: "examinationPaper",
778 778 component: ExaminationPaper,
779 779 children: []
780 780 },
781 781 {
782 782 path: "/examinationPaperAdd",
783   - iconCls: "", // 图标样式class
  783 + iconCls: "",
784 784 name: "examinationPaperAdd",
785 785 component: ExaminationPaperAdd,
786 786 parent: "examinationPaper",
... ... @@ -788,7 +788,7 @@ const addroutersPersonal = [
788 788 },
789 789 {
790 790 path: "/examinationPaperEdit",
791   - iconCls: "", // 图标样式class
  791 + iconCls: "",
792 792 name: "修改答题卡",
793 793 component: ExaminationPaperEdit,
794 794 parent: "examinationPaper",
... ... @@ -796,7 +796,7 @@ const addroutersPersonal = [
796 796 },
797 797 {
798 798 path: "/examinationPaperRecycle",
799   - iconCls: "", // 图标样式class
  799 + iconCls: "",
800 800 name: "回收站答题卡",
801 801 component: ExaminationPaperRecycle,
802 802 parent: "examinationPaper",
... ... @@ -804,7 +804,7 @@ const addroutersPersonal = [
804 804 },
805 805 {
806 806 path: "/examinationPaperArchiving",
807   - iconCls: "", // 图标样式class
  807 + iconCls: "",
808 808 name: "已归档答题卡",
809 809 component: ExaminationPaperArchiving,
810 810 parent: "examinationPaper",
... ... @@ -815,14 +815,14 @@ const addroutersPersonal = [
815 815 },
816 816 {
817 817 path: "/ask",
818   - iconCls: "fa fa-bar-chart", // 图标样式class
  818 + iconCls: "fa fa-bar-chart",
819 819 name: "随堂问报表",
820 820 component: Layout,
821 821 alone: true,
822 822 children: [
823 823 {
824 824 path: "/ask",
825   - iconCls: "fa fa-bar-chart", // 图标样式class
  825 + iconCls: "fa fa-bar-chart",
826 826 name: "ask",
827 827 name: "随堂问报表",
828 828 component: PersonalAsk,
... ... @@ -834,7 +834,7 @@ const addroutersPersonal = [
834 834 },
835 835 {
836 836 path: "/askAnalysis",
837   - iconCls: "", // 图标样式class
  837 + iconCls: "",
838 838 name: "随堂问报表分析",
839 839 component: PersonalAskAnalysis,
840 840 parent: "ask",
... ... @@ -842,7 +842,7 @@ const addroutersPersonal = [
842 842 },
843 843 {
844 844 path: "/askArchiving",
845   - iconCls: "", // 图标样式class
  845 + iconCls: "",
846 846 name: "随堂已归档问报表分析",
847 847 component: PersonalArchiving,
848 848 parent: "ask",
... ... @@ -853,14 +853,14 @@ const addroutersPersonal = [
853 853 },
854 854 {
855 855 path: "/test",
856   - iconCls: "fa fa-pie-chart", // 图标样式class
  856 + iconCls: "fa fa-pie-chart",
857 857 name: "即时测报表",
858 858 component: Layout,
859 859 alone: true,
860 860 children: [
861 861 {
862 862 path: "/test",
863   - iconCls: "fa fa-pie-chart", // 图标样式class
  863 + iconCls: "fa fa-pie-chart",
864 864 name: "",
865 865 component: PersonalTest,
866 866 meta: {
... ... @@ -870,7 +870,7 @@ const addroutersPersonal = [
870 870 },
871 871 {
872 872 path: "/testAnalysis",
873   - iconCls: "", // 图标样式class
  873 + iconCls: "",
874 874 name: "即时测报表分析",
875 875 component: PersonalTestAnalysis,
876 876 parent: "test",
... ... @@ -878,7 +878,7 @@ const addroutersPersonal = [
878 878 },
879 879 {
880 880 path: "/testArchiving",
881   - iconCls: "", // 图标样式class
  881 + iconCls: "",
882 882 name: "即时已归档测报表分析",
883 883 component: PersonalTestArchiving,
884 884 parent: "test",
... ... @@ -890,14 +890,14 @@ const addroutersPersonal = [
890 890 },
891 891 {
892 892 path: "/portrait",
893   - iconCls: "fa fa-users", // 图标样式class
  893 + iconCls: "fa fa-users",
894 894 name: "学生画像",
895 895 component: Layout,
896 896 alone: true,
897 897 children: [
898 898 {
899 899 path: "/portrait",
900   - iconCls: "fa fa-users", // 图标样式class
  900 + iconCls: "fa fa-users",
901 901 name: "",
902 902 component: Portrait,
903 903 meta: {
... ... @@ -907,7 +907,7 @@ const addroutersPersonal = [
907 907 },
908 908 {
909 909 path: "/portraitDetail",
910   - iconCls: "", // 图标样式class
  910 + iconCls: "",
911 911 name: "授课端软件",
912 912 component: PortraitDetail,
913 913 parent: "down",
... ... @@ -917,14 +917,14 @@ const addroutersPersonal = [
917 917 },
918 918 {
919 919 path: "/dataSync",
920   - iconCls: "fa fa-random", // 图标样式class
  920 + iconCls: "fa fa-random",
921 921 name: "数据同步",
922 922 component: Layout,
923 923 alone: true,
924 924 children: [
925 925 {
926 926 path: "/dataSync",
927   - iconCls: "fa fa-random", // 图标样式class
  927 + iconCls: "fa fa-random",
928 928 name: "",
929 929 component: PersonalDataSync,
930 930 children: []
... ... @@ -933,14 +933,14 @@ const addroutersPersonal = [
933 933 },
934 934 {
935 935 path: "/down",
936   - iconCls: "fa fa-download", // 图标样式class
  936 + iconCls: "fa fa-download",
937 937 name: "软件下载",
938 938 component: Layout,
939 939 alone: true,
940 940 children: [
941 941 {
942 942 path: "/down",
943   - iconCls: "fa fa-download", // 图标样式class
  943 + iconCls: "fa fa-download",
944 944 name: "发卡软件",
945 945 component: PersonalDown,
946 946 children: []
... ... @@ -953,7 +953,7 @@ const addroutersPersonal = [
953 953 const addRoutersAdmin = [
954 954 {
955 955 path: "/account",
956   - iconCls: "fa fa-id-card-o", // 图标样式class
  956 + iconCls: "fa fa-id-card-o",
957 957 name: "账号管理",
958 958 component: Layout,
959 959 alone: true,
... ... @@ -969,14 +969,14 @@ const addRoutersAdmin = [
969 969 },
970 970 {
971 971 path: "/device",
972   - iconCls: "fa fa-dashboard", // 图标样式class
  972 + iconCls: "fa fa-dashboard",
973 973 name: "设备状态",
974 974 component: Layout,
975 975 alone: true,
976 976 children: [
977 977 {
978 978 path: "/device",
979   - iconCls: "fa fa-dashboard", // 图标样式class
  979 + iconCls: "fa fa-dashboard",
980 980 name: "",
981 981 component: AdminDevice,
982 982 meta: {
... ... @@ -986,7 +986,7 @@ const addRoutersAdmin = [
986 986 },
987 987 {
988 988 path: "/deviceLog",
989   - iconCls: "fa fa-list-alt", // 图标样式class
  989 + iconCls: "fa fa-list-alt",
990 990 name: "",
991 991 component: AdminDeviceLog,
992 992 parent: "device",
... ...
src/views/basic/ask/index.vue
... ... @@ -497,7 +497,7 @@
497 497 </template>
498 498  
499 499 <script>
500   -import { formatDate, deepClone, downloadFile, tablePrint } from "utils";
  500 +import { formatDate, downloadFile, tablePrint } from "utils";
501 501 import BusEvent from "@/utils/busEvent";
502 502 export default {
503 503 data() {
... ...