Forráskód Böngészése

Merge branch 'master' into 'dev-income-excel'

# Conflicts:
#   src/router/index.js
徐兴安 2 éve
szülő
commit
c0acb262e5
100 módosított fájl, 9364 hozzáadás és 2711 törlés
  1. 3 3
      public/index.html
  2. 1 0
      public/static/js/luckysheet/expendPlugins/chart/chartmix.css
  3. 34 0
      public/static/js/luckysheet/expendPlugins/chart/chartmix.umd.min.js
  4. 1 1
      public/static/js/luckysheet/luckysheet.umd.js
  5. 22 0
      public/static/js/luckysheet/plugins/js/echarts.js
  6. 1 0
      public/static/js/luckysheet/plugins/js/elementUi.js
  7. 6 0
      public/static/js/luckysheet/plugins/js/vue.js
  8. 1099 0
      public/static/js/luckysheet/plugins/js/vuex.js
  9. 99 59
      public/static/views/onlineShareExcel.html
  10. 539 0
      public/static/views/onlineShareExcelMarket.html
  11. 4 2
      src/App.vue
  12. 7 2
      src/assets/calendar.scss
  13. BIN
      src/assets/dbyb-bt-bj3.jpg
  14. BIN
      src/assets/djlph-bt-bj.jpg
  15. BIN
      src/assets/logo.png
  16. BIN
      src/assets/newlogo-old.png
  17. BIN
      src/assets/newlogo.png
  18. BIN
      src/assets/newlogo2-old.png
  19. BIN
      src/assets/newlogo2.png
  20. 91 20
      src/components/p-header.vue
  21. 127 87
      src/components/p-menu-item.vue
  22. 183 167
      src/components/p-menu.vue
  23. 24 20
      src/components/p-tabs.vue
  24. 2 2
      src/components/toolList.vue
  25. 136 96
      src/pages/main/achievements/achievementsIndex.vue
  26. 1 1
      src/pages/main/achievements/achievementsMuban.vue
  27. 1 1
      src/pages/main/achievements/issueList.vue
  28. 4 1
      src/pages/main/achievements/recallBumen.vue
  29. 4 1
      src/pages/main/achievements/recallGS.vue
  30. 4 1
      src/pages/main/achievements/recallJt.vue
  31. 1 1
      src/pages/main/achievements/recallMuban.vue
  32. 2 2
      src/pages/main/advertising/index.vue
  33. 1 1
      src/pages/main/advertising/indexs.vue
  34. 63 24
      src/pages/main/antiSpoofing/home.vue
  35. 176 154
      src/pages/main/budget/budgetIndex.vue
  36. 1 1
      src/pages/main/budget/budgetList.vue
  37. 1 1
      src/pages/main/budget/initBudget.vue
  38. 1 1
      src/pages/main/budget/issueList.vue
  39. 1 1
      src/pages/main/budget/noRecall.vue
  40. 1 1
      src/pages/main/budget/recall.vue
  41. 1 1
      src/pages/main/businessOutsourc/index.vue
  42. 1 1
      src/pages/main/busitime/busiTime.vue
  43. 1 1
      src/pages/main/busitime/busiTimeout.vue
  44. 874 803
      src/pages/main/competitor/compete.vue
  45. 5 2
      src/pages/main/competitor/competeInfo.vue
  46. 42 8
      src/pages/main/competitor/home.vue
  47. 1 1
      src/pages/main/compvis/complaintFeedback.vue
  48. 1 1
      src/pages/main/compvis/complaintWoAlarmInfo.vue
  49. 1 1
      src/pages/main/compvis/complaintlog.vue
  50. 1 1
      src/pages/main/compvis/compvisList.vue
  51. 1 1
      src/pages/main/customer/ydBrodbdNetwork.vue
  52. 1 1
      src/pages/main/customer/ydBrodbdUser.vue
  53. 1 1
      src/pages/main/customer/ydGroupUser.vue
  54. 1 1
      src/pages/main/customer/ydLobbyUser.vue
  55. 1 1
      src/pages/main/customer/ydMobileNetwork.vue
  56. 1 1
      src/pages/main/customer/ydMobileUser.vue
  57. 1 1
      src/pages/main/customer/ydTariff.vue
  58. 66 0
      src/pages/main/departWorkLists/dialog.vue
  59. 364 0
      src/pages/main/departWorkLists/export.js
  60. 953 0
      src/pages/main/departWorkLists/index.vue
  61. 631 0
      src/pages/main/departWorkLists/sheet.vue
  62. 1 1
      src/pages/main/fileList/fileList.vue
  63. 14 11
      src/pages/main/fileList/fileListIndex.vue
  64. 1 1
      src/pages/main/flow/flowInit.vue
  65. 1 1
      src/pages/main/form/fromIndex.vue
  66. 38 25
      src/pages/main/fullcalendar/calendar.vue
  67. 1 1
      src/pages/main/homeMarket/magicboxAudit/index.vue
  68. 1 1
      src/pages/main/homeMarket/tvAssess/tvAssessIndex.vue
  69. 1 1
      src/pages/main/homeMarket/tvIntroduction/index.vue
  70. 18 4
      src/pages/main/index.vue
  71. 305 910
      src/pages/main/leader/index.vue
  72. 284 0
      src/pages/main/leader/leaderHome.vue
  73. 363 0
      src/pages/main/leader/leaderHprocess.vue
  74. 374 0
      src/pages/main/leader/leaderTag.vue
  75. 725 0
      src/pages/main/leader/leaderhomeTask.vue
  76. 272 0
      src/pages/main/leader/numberHits.vue
  77. 1 1
      src/pages/main/logQuery/logQueryList.vue
  78. 1 1
      src/pages/main/longProcessVis/accountQuery.vue
  79. 1 1
      src/pages/main/longProcessVis/orderOverList.vue
  80. 1 1
      src/pages/main/longProcessVis/processAlarmInfoQuery.vue
  81. 1 1
      src/pages/main/longProcessVis/processList.vue
  82. 1 1
      src/pages/main/longProcessVis/processQueryHis.vue
  83. 1 1
      src/pages/main/longProcessVis/relatedFeedback.vue
  84. 4 4
      src/pages/main/marketSchedul/index.vue
  85. 4 0
      src/pages/main/noticec/index.vue
  86. 185 163
      src/pages/main/onlineExcel/index.vue
  87. 996 0
      src/pages/main/onlineExcelMarket/index.vue
  88. 1 1
      src/pages/main/organizaStructure/organization.vue
  89. 46 8
      src/pages/main/performance/index.vue
  90. 1 1
      src/pages/main/sati/importList.vue
  91. 1 1
      src/pages/main/sati/importLog.vue
  92. 1 1
      src/pages/main/sati/mobileList.vue
  93. 1 1
      src/pages/main/sysRoleInfo/roleList.vue
  94. 2 2
      src/pages/main/terminal/advertisement.vue
  95. 1 1
      src/pages/main/terminal/terminalApply.vue
  96. 122 84
      src/pages/main/terminal/terminalhome.vue
  97. 1 1
      src/pages/main/userImage/labelList.vue
  98. 1 1
      src/pages/main/userImage/strategyList.vue
  99. 1 1
      src/pages/main/userImage/userFx.vue
  100. 0 0
      src/pages/main/voicediscern/index.vue

+ 3 - 3
public/index.html

@@ -26,12 +26,12 @@
   <!-- built files will be auto injected -->
   <script type="text/javascript">
     window.staticHost = 'http://10.230.26.15:8000/mkt'; // 正式
-    // window.staticHost = 'http://10.149.85.90:8000/spfm'; // 测试
+    // window.staticHost = 'http://10.149.85.91:8000/spfm'; // 测试
     // window.staticHost = 'http://192.168.0.103:9600/';
     // window.staticHost = 'http://192.168.2.142:9600/';
-    
+
     // document.title = "hello";
   </script>
 </body>
 
-</html>
+</html>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
public/static/js/luckysheet/expendPlugins/chart/chartmix.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 34 - 0
public/static/js/luckysheet/expendPlugins/chart/chartmix.umd.min.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
public/static/js/luckysheet/luckysheet.umd.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 22 - 0
public/static/js/luckysheet/plugins/js/echarts.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
public/static/js/luckysheet/plugins/js/elementUi.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 6 - 0
public/static/js/luckysheet/plugins/js/vue.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1099 - 0
public/static/js/luckysheet/plugins/js/vuex.js


+ 99 - 59
public/static/views/onlineShareExcel.html

@@ -73,7 +73,14 @@
         </form>
     </div>
     <div style="float: right;padding-right: 10px" id="shareBtn">
-        <button id="share" class="btn btn-primary" style="padding:3px 6px;font-size: 18px;margin-right: 10px;width: 100px">分享</button>
+        <button id="share" class="btn btn-primary"
+                style="padding:3px 6px;font-size: 18px;margin-right: 10px;width: 100px">分享
+        </button>
+    </div>
+    <div style="float: right;padding-right: 10px" id="newShareBtn">
+        <button id="newShare" class="btn btn-primary"
+                style="padding:3px 6px;font-size: 18px;margin-right: 10px;width: 100px">分享
+        </button>
     </div>
 </div>
 <div style="height:90%;width: 100%;">
@@ -117,6 +124,7 @@
     var toolBar = '';
     var type = '';
     var emptyExcel = false;
+    var fullScreenState = false;
     $(function () {
         userId = JSON.parse(window.top.sessionStorage.userInfo).loginNo
     })
@@ -172,7 +180,7 @@
         }
 
         // 表格初始化
-        function initExcel(data,name) {
+        function initExcel(data, name) {
             if (type == '1') {
                 flag = false
             } else {
@@ -182,7 +190,7 @@
                 adminFlag = true;
             }
             var fileName = excelInfo.fileName;
-            if ($.trim(name)!=''){
+            if ($.trim(name) != '') {
                 fileName = name;
             }
             try {
@@ -226,7 +234,7 @@
                         postil: false, //'批注'
                         pivotTable: false,  //'数据透视表'
                         function: true, // '公式'
-                        frozenMode: false, // '冻结方式'
+                        frozenMode: true, // '冻结方式'
                         sortAndFilter: true, // '排序和筛选'
                         conditionalFormat: false, // '条件格式'
                         dataVerification: false, // '数据验证'
@@ -241,7 +249,7 @@
                     allowEdit: flag, // 是否允许前台编辑
                     title: fileName, // 文件名称
                     lang: 'zh',
-                    enableAddRow: adminFlag,
+                    enableAddRow: true,
                     showstatisticBar: false, // 底部计数
                     showstatisticBarConfig: {
                         count: false, // 计数栏
@@ -253,10 +261,10 @@
                         copy: false, // 复制
                         copyAs: false, // 复制为
                         paste: false, // 粘贴
-                        insertRow: adminFlag, // 插入行
-                        insertColumn: adminFlag, // 插入列
-                        deleteRow: adminFlag, // 删除选中行
-                        deleteColumn: adminFlag, // 删除选中列
+                        insertRow: true, // 插入行
+                        insertColumn: true, // 插入列
+                        deleteRow: true, // 删除选中行
+                        deleteColumn: true, // 删除选中列
                         deleteCell: false, // 删除单元格
                         hideRow: false, // 隐藏选中行和显示选中行
                         hideColumn: false, // 隐藏选中列和显示选中列
@@ -286,8 +294,7 @@
 
                         },
                         rangePasteBefore: function (range, data) {
-                            //禁止选区粘贴
-                            return false;
+
                         },
                     },
                 })
@@ -299,18 +306,24 @@
                 $("#editFrom").attr('disabled', true);
                 $("#editTo").attr('disabled', true);
                 $("#shareBtn").hide();
+                $("#newShareBtn").hide();
             } else {
                 $("#editStatus").attr('disabled', false);
                 $("#editFrom").attr('disabled', false);
                 $("#editTo").attr('disabled', false);
                 $("#shareBtn").show();
+                $("#newShareBtn").show();
             }
             if (emptyExcel == true) {
                 $("#shareBtn").show();
                 $("#saves").hide();
+                $("#newShareBtn").hide();
             } else {
                 $("#shareBtn").hide();
                 $("#saves").show();
+                if (isAdmin) {
+                    $("#newShareBtn").show();
+                }
             }
             if (excelInfo.shareStatus == '1') {
                 $("#editTo").attr('disabled', true);
@@ -333,13 +346,73 @@
             }
         }
 
+        function processShare(type) {
+            //  当前工作表名
+            var excelId = $(window.parent.document).find("#excelId").attr("value");
+            var sheetName = luckysheet.getSheet().name;
+            var excelData = luckysheet.getSheet(sheetName);
+            var urlsave = '/market/cOnlineExcel/saveExcel';
+            var editFrom = $("#editFrom").val();
+            var editTo = $("#editTo").val();
+            var editStatus = $("#editStatus").val();
+            var excelName = luckysheet.toJson().title;
+            //校验可编辑列
+            if ($.trim(editFrom) == '' && $.trim(editTo) == '') {
+
+            } else if (/^\d*$/.test(editFrom) && /^\d*$/.test(editTo)) {
+                if (editFrom == 0) {
+                    window.top.$vm.$message({
+                        message: '可编辑列开始不能为0',
+                        type: 'info'
+                    })
+                    return;
+                }
+                if (editFrom > editTo) {
+                    window.top.$vm.$message({
+                        message: '可编辑列的起始列不能大于结束列',
+                        type: 'info'
+                    })
+                    return;
+                }
+            } else if (/^[a-zA-Z]+$/.test(editFrom) && /^[a-zA-Z]+$/.test(editTo)) {
+
+            } else {
+                window.top.$vm.$message({
+                    message: '可编辑列必须全部为字母或数字',
+                    type: 'info'
+                })
+                return;
+            }
+            util.ajaxJson("正在加载中", ctx + '/market/cOnlineExcel/checkExcelEmpty', {
+                data: excelData,
+            }, function (data) {
+                if (data.result == 1) {
+                    window.top.$vm.$message({
+                        message: data.desc,
+                        type: 'error'
+                    });
+                } else {
+                    //excelJson, editFrom, editTo, editStatus, excelName, excelId, type
+                    window.parent['shareExcel'](excelData, editFrom, editTo, editStatus, excelName, excelId, type);
+                }
+            });
+        }
+
         // 绑定按钮事件
         function initHandel() {
             $("#closeExcel").on("click", function () {
                 window.parent['backToExcelList']('true');
             })
             $("#fullScreen").on("click", function () {
-                fullScreen();
+                if (fullScreenState){
+                    fullScreenState = false;
+                    $("#fullScreen").html('全屏显示');
+                } else {
+                    fullScreenState = true;
+                    $("#fullScreen").html('退出全屏');
+                }
+                window.parent['fullScreen']('true');
+                //fullScreen();
             })
             //退出全屏
             $("#exitFullScreen").on("click", function () {
@@ -347,54 +420,21 @@
             })
             //分享
             $('#share').off("click").click(function () {
-                //  当前工作表名
-                var excelId = $(window.parent.document).find("#excelId").attr("value");
-                var sheetName = luckysheet.getSheet().name;
-                var excelData = luckysheet.getSheet(sheetName);
-                var urlsave = '/market/cOnlineExcel/saveExcel';
-                var editFrom = $("#editFrom").val();
-                var editTo = $("#editTo").val();
-                var editStatus = $("#editStatus").val();
-                var excelName = luckysheet.toJson().title;
-                //校验可编辑列
-                if ($.trim(editFrom) == '' && $.trim(editTo) == '') {
-
-                } else if (/^\d*$/.test(editFrom) && /^\d*$/.test(editTo)) {
-                    if (editFrom == 0) {
-                        window.top.$vm.$message({
-                            message: '可编辑列开始不能为0',
-                            type: 'info'
-                        })
-                        return;
-                    }
-                    if (editFrom > editTo) {
-                        window.top.$vm.$message({
-                            message: '可编辑列的起始列不能大于结束列',
-                            type: 'info'
-                        })
-                        return;
-                    }
-                } else if (/^[a-zA-Z]+$/.test(editFrom) && /^[a-zA-Z]+$/.test(editTo)) {
-
-                } else {
-                    window.top.$vm.$message({
-                        message: '可编辑列必须全部为字母或数字',
-                        type: 'info'
-                    })
-                    return;
+                if (fullScreenState){
+                    fullScreenState = false;
+                    $("#fullScreen").html('全屏显示');
+                    window.parent['fullScreen']('true');
                 }
-                util.ajaxJson("正在加载中", ctx + '/market/cOnlineExcel/checkExcelEmpty', {
-                    data: excelData,
-                }, function (data) {
-                    if (data.result == 1) {
-                        window.top.$vm.$message({
-                            message: data.desc,
-                            type: 'error'
-                        });
-                    } else {
-                        window.parent['shareExcel'](excelData, editFrom, editTo, editStatus, excelName,excelId);
-                    }
-                });
+                processShare(1);
+            });
+            //新增分享
+            $('#newShare').off("click").click(function () {
+                if (fullScreenState){
+                    fullScreenState = false;
+                    $("#fullScreen").html('全屏显示');
+                    window.parent['fullScreen']('true');
+                }
+                processShare(2);
             });
             // 保存
             $('#saves').off("click").click(function () {

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 539 - 0
public/static/views/onlineShareExcelMarket.html


+ 4 - 2
src/App.vue

@@ -22,8 +22,9 @@ export default {
   padding: 0;
   margin: 0;
   box-sizing: border-box;
-  font-family: Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB,
-    WenQuanYi Micro Hei, Microsoft Yahei, sans-serif !important;
+  // font-family: Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB,
+  //   WenQuanYi Micro Hei, Microsoft Yahei, sans-serif !important;
+  font-family: "Microsoft YaHei",微软雅黑,Consolas,"LiberationMono",Courier,monospace,simsun !important;
 }
 
 html,
@@ -32,6 +33,7 @@ body,
 .page {
   width: 100%;
   min-width: 1000px;
+  overflow: hidden;
   height: 100%;
   font-family: "Avenir", Helvetica, Arial, sans-serif;
   -webkit-font-smoothing: antialiased;

+ 7 - 2
src/assets/calendar.scss

@@ -1,7 +1,12 @@
 @charset "UTF-8";
 .calendar-box {
-  height: 710px;
-  overflow-y: scroll;
+  height: 720px;
+  overflow-y: auto;
+  background: rgb(255, 255, 255);
+  padding-left: 15px;
+  padding-top: 20px;
+  padding-right: 15px;
+  border-radius: 5px;
 }
 .tag-tip{
   text-align: right;

BIN
src/assets/dbyb-bt-bj3.jpg


BIN
src/assets/djlph-bt-bj.jpg


BIN
src/assets/logo.png


BIN
src/assets/newlogo-old.png


BIN
src/assets/newlogo.png


BIN
src/assets/newlogo2-old.png


BIN
src/assets/newlogo2.png


+ 91 - 20
src/components/p-header.vue

@@ -1,9 +1,9 @@
 <template>
   <div class="p-header">
-    <div class="title" @click="menuClose">
+    <!-- <div class="title" @click="menuClose">
       <i v-if="this.$store.state.collapse" class="el-icon-s-fold"></i
       ><i v-else class="el-icon-s-unfold"></i>
-    </div>
+    </div> -->
     <!-- <div
       class="title"
       v-for="(item, index) in routeChecked"
@@ -13,12 +13,25 @@
     >
       <span :class="item.icon"></span>{{ item.name }}
     </div> -->
+    <div class="headerspan">
+      <!-- <span>市场经济管理平台</span> -->
+      <img
+        :src="
+          parentorgid === '00440063000000000000'
+            ? require('../assets/newlogo2.png')
+            : require('../assets/newlogo.png')
+        "
+        style="text-align: center; vertical-align: middle"
+        alt=""
+      />
+    </div>
+
     <div class="bars">
-      <div class="bars-item user-info">Hello,{{ username }}</div>
       <div class="bars-item" @click="handleGoToCalendar">
         <i class="el-icon-date"></i>
         日历
       </div>
+      <div class="bars-item user-info">你好{{ username }}</div>
 
       <div class="bars-item" @click="handleHelp">
         <i class="el-icon-time"></i>
@@ -29,8 +42,30 @@
         知识库
       </div>
       <div class="bars-item" @click="handleLogout">
-        <i class="el-icon-guide"></i>
-        退出
+        <!-- <i class="el-icon-guide"></i> -->
+        <svg
+          t="1654163202752"
+          class="icon"
+          viewBox="0 0 1024 1024"
+          version="1.1"
+          xmlns="http://www.w3.org/2000/svg"
+          p-id="9307"
+          id="mx_n_1654163202756"
+          width="18"
+          height="18"
+        >
+          <path
+            d="M768 819.2h-256V204.8L256 102.4h512v102.4h102.4V0H0v819.2l512 204.8v-102.4h358.4v-204.8h-102.4v102.4z"
+            p-id="9308"
+            fill="#ffffff"
+          ></path>
+          <path
+            d="M1024 460.8l-256-153.6v102.4h-204.8v102.4h204.8v102.4l256-153.6z"
+            p-id="9309"
+            fill="#ffffff"
+          ></path>
+        </svg>
+        <span>退出</span>
       </div>
     </div>
   </div>
@@ -47,6 +82,7 @@ export default {
   },
   data() {
     return {
+      parentorgid: "",
       currentIndex: "5",
       date: new Date(),
       routeChecked: [
@@ -74,20 +110,26 @@ export default {
     //   this.$store.commit("setCollapse");
     // }
     //this.menuClose();
-    this.$http({
-      url: "/sysmgr/csysdept/queryGroupListByLoginNo",
-      method: "post",
-      headers: {
-        "Content-Type": "application/json",
-      },
-      data: {},
-    }).then((res) => {
-      if (res.data[0].parentorgid === "00440063000000000000") {
-        document.title = "IT工作台";
-      }
-    });
+    this.getDept();
+    
   },
   methods: {
+    getDept() {
+      this.$http({
+        url: "/sysmgr/csysdept/queryGroupListByLoginNo",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {},
+      }).then((res) => {
+        console.log(res.data[0].parentorgid);
+        this.parentorgid = res.data[0].parentorgid;
+        if (res.data[0].parentorgid === "00440063000000000000") {
+          document.title = "IT工作台";
+        }
+      });
+    },
     handleGoToCalendar() {
       this.$http({
         url: "/sysmgr/csysdept/queryGroupListByLoginNo",
@@ -164,7 +206,7 @@ export default {
             window.sessionStorage.menus = undefined;
             window.sessionStorage.userInfo = undefined;
             window.sessionStorage.childrenMenus = undefined;
-            window.sessionStorage.removeItem("antiSpoofingSearchParams")
+            window.sessionStorage.removeItem("antiSpoofingSearchParams");
             window.opener = null;
             window.open(" ", "_self");
             window.close();
@@ -218,7 +260,26 @@ export default {
 .p-header {
   color: #fff;
   height: 100%;
-  background-color: #0b82ff;
+  background-color: #0056a9;
+
+  .headerspan {
+    float: left;
+    width: 300px;
+    line-height: 60px;
+    margin-left: 20px;
+    // background: url(../assets/logo.png) no-repeat 20px center;
+    // text-indent: 25px;
+    // font-size: 18px;
+    // font-weight: bolder;
+    color: #ffffff;
+    // span {
+    //   margin-left: 40px;
+    // }
+    img {
+      width: 207px;
+      height: 35px;
+    }
+  }
 
   .active {
     color: #0b82ff;
@@ -256,9 +317,19 @@ export default {
       margin-left: 30px;
       cursor: pointer;
       font-family: SourceHanSansCN-Normal;
-      font-size: 14px;
+      font-size: 18px;
       color: #ffffff;
+      position: relative;
       letter-spacing: 0;
+      svg {
+        position: absolute;
+        top: 55%;
+        bottom: 50%;
+        transform: translate(-50%, -50%);
+      }
+      span {
+        margin-left: 15px;
+      }
     }
 
     .user-info {

+ 127 - 87
src/components/p-menu-item.vue

@@ -1,107 +1,147 @@
 <template>
-	<div>
-		<template v-for="(menu, index) in menuData">
-			<el-submenu :key="menu.index" :index="
+  <div>
+    <template v-for="(menu, index) in menuData">
+      <el-submenu
+        :key="menu.index"
+        :index="
           menu.rountPath == '' || menu.rountPath == '#'
             ? menu.name + index
             : menu.rountPath
-        " v-if="menu.children" @click="handelRouterTo(menu)">
-				<template slot="title">
-					<i style="color: #409eff !important" class="el-icon-location"></i>
-					<el-tooltip class="item" effect="dark" :content="menu.name" placement="right"
-						v-if="menu.name.length > 9"><span>{{ menu.name }}</span>
-					</el-tooltip>
-					<span v-else>{{ menu.name }}</span>
-				</template>
-				<MenuTree :menuData="menu.children"></MenuTree>
-			</el-submenu>
-			<el-menu-item v-show="menu.systemflag != 1" @click="handelRouterTo(menu)"
-				:index="menu.rountPath == '' ? menu.name : menu.rountPath" :key="menu.index" v-else>
-				<el-tooltip class="item" effect="dark" :content="menu.name" placement="right"
-					v-if="menu.name.length > 9"><span>{{ menu.name }}</span>
-				</el-tooltip>
-				<span v-else>{{ menu.name }}</span>
-			</el-menu-item>
-		</template>
-	</div>
+        "
+        v-if="menu.children"
+        @click="handelRouterTo(menu)"
+      >
+        <template slot="title">
+          <i style="color: #409eff !important" class="el-icon-location"></i>
+          <el-tooltip
+            class="item"
+            effect="dark"
+            :content="menu.name"
+            placement="right"
+            v-if="menu.name.length > 9"
+            ><span>{{ menu.name }}</span>
+          </el-tooltip>
+          <span v-else>{{ menu.name }}</span>
+        </template>
+        <MenuTree :menuData="menu.children"></MenuTree>
+      </el-submenu>
+      <el-menu-item
+        v-show="menu.systemflag != 1"
+        @click="handelRouterTo(menu)"
+        :index="menu.rountPath == '' ? menu.name : menu.rountPath"
+        :key="menu.index"
+        v-else
+      >
+        <el-tooltip
+          class="item"
+          effect="dark"
+          :content="menu.name"
+          placement="right"
+          v-if="menu.name.length > 9"
+          ><span>{{ menu.name }}</span>
+        </el-tooltip>
+        <span v-else>{{ menu.name }}</span>
+      </el-menu-item>
+    </template>
+  </div>
 </template>
 
 <script>
-	export default {
-		name: "MenuTree",
-		props: ["menuData"],
-		methods: {
-			handleOpen(e) {
-				if (e.indexOf("/") != -1) {
-					if (this.$route.path != e) {
-						this.$router.push(e);
-					}
-				}
-			},
-			handleClose() {},
-			handelRouterTo(item) {
-				if (item.systemflag == "1") {
-					return;
-				}
-				for (let i = 0; i < this.$store.state.tabList.length; i++) {
-					if (this.$store.state.tabList[i].rountPath === item.rountPath) {
-						this.$store.state.tabList[i] = item;
-					}
-				}
-				let set = new Set([...this.$store.state.tabList, item]);
-				set.add(item);
-				this.$store.commit("setDefaultActive", item.rountPath);
-				this.$store.commit("setTabList", Array.from(set));
-			},
-		},
-	};
+export default {
+  name: "MenuTree",
+  props: ["menuData"],
+  methods: {
+    handleOpen(e) {
+      if (e.indexOf("/") != -1) {
+        if (this.$route.path != e) {
+          this.$router.push(e);
+        }
+      }
+    },
+    handleClose() {},
+    handelRouterTo(item) {
+      if (item.systemflag == "1") {
+        return;
+      }
+      for (let i = 0; i < this.$store.state.tabList.length; i++) {
+        if (this.$store.state.tabList[i].rountPath === item.rountPath) {
+          this.$store.state.tabList[i] = item;
+        }
+      }
+      let set = new Set([...this.$store.state.tabList, item]);
+      set.add(item);
+      this.$store.commit("setDefaultActive", item.rountPath);
+      this.$store.commit("setTabList", Array.from(set));
+    },
+  },
+};
 </script>
-<style>
-	.el-submenu {
-		border-bottom: 1px solid #f2f2f2;
-	}
+<style lang="scss" scoped>
+.el-submenu {
+  border-bottom: 1px solid #ececec;
+}
 
-	.is-opened .el-submenu__title {
-		background-color: #ecf5ff !important;
-	}
+.is-opened .el-submenu__title {
+  /* background-color: #ecf5ff !important; */
+  background-color: #dddddd !important;
+  border-left: 3px solid #34a0ce;
+}
+.el-submenu__title:hover {
+  background-color: #bbbbbb !important;
+  border-left: 3px solid #34a0ce;
+}
+.is-opened .el-submenu__title:hover {
+  background-color: #bbbbbb !important;
+  border-left: 3px solid #34a0ce;
+}
+::v-deep .el-submenu__title {
+  padding-left: 30px !important;
 
-	.el-submenu__title {
-		/* background-color: #ecf5ff;
+  .el-submenu__icon-arrow {
+    position: absolute;
+    right: 8px;
+  }
+  /* background-color: #ecf5ff;
   border-radius: 30px;
   margin-bottom: 10px; */
-	}
+}
 
-	.el-submenu.is-active .el-submenu__title {
-		/* background-color: #ecf5ff; */
-	}
+.el-submenu.is-active .el-submenu__title {
+  /* background-color: #ecf5ff; */
+}
 </style>
 <style lang="scss" scoped>
-	.el-menu-item {
-		overflow: hidden;
-		text-overflow: ellipsis;
-		white-space: nowrap;
-		width: 50px;
-
-		span {
-			padding-right: 10px;
-		}
-	}
+.el-menu-item {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  width: 50px;
+  padding-left: 60px !important;
+  background: #2e7dcf;
+  span {
+    padding-right: 10px;
+    color: #bdddff;
+  }
+}
 
-	.el-menu--vertical {
-		.el-menu-item {
-			width: auto !important;
+.el-menu-item:hover {
+  background: #577494;
+}
 
-			span {
-				padding-right: 0;
-			}
-		}
-	}
+.el-menu--vertical {
+  .el-menu-item {
+    width: auto !important;
+    span {
+      padding-right: 0;
+    }
+  }
+}
 
-	.bgc {
-		background-color: #f56c6c;
-	}
+.bgc {
+  background-color: #f56c6c;
+}
 
-	.bgcChild {
-		background-color: #f56c6c;
-	}
+.bgcChild {
+  background-color: #f56c6c;
+}
 </style>

+ 183 - 167
src/components/p-menu.vue

@@ -1,185 +1,201 @@
 <template>
-	<div class="p-menu">
-		<!-- <div style="height:60px;background-color: #0b82ff;"></div> -->
-		<!-- <el-card class="card" ref="menuCard"> -->
-		<el-menu class="el-menu-vertical-demo" :default-active="getDefaultActive" router :collapse="collapse"
-			@open="handleOpen" @close="handleClose" active-text-color="#71A6FD">
-			<div class="menu-logo" style="height: 60px; line-height: 60px">
-<!--                <img width="95%" style="text-align: center; vertical-align: middle" src="../assets/newlogo.png"-->
-<!--                     alt="" />-->
-                <img :src="parentorgid==='00440063000000000000' ? require('../assets/newlogo2.png') : require('../assets/newlogo.png')" width="95%" style="text-align: center; vertical-align: middle" alt=""/>
-			</div>
-			<!-- 引入组件 -->
-			<div class="menuScoll">
-				<menuItem :menuData="data" class="menuScoll-box">
-				</menuItem>
-			</div>
-		</el-menu>
-		<!-- </el-card> -->
-	</div>
+  <div class="p-menu">
+    <!-- <div style="height:60px;background-color: #0b82ff;"></div> -->
+    <!-- <el-card class="card" ref="menuCard"> -->
+    <el-menu
+      class="el-menu-vertical-demo"
+      :default-active="getDefaultActive"
+      router
+      :collapse="collapse"
+      @open="handleOpen"
+      @close="handleClose"
+      active-text-color="#71A6FD"
+    >
+      <!-- <div class="menu-logo" style="height: 60px; line-height: 60px"> -->
+      <!--                <img width="95%" style="text-align: center; vertical-align: middle" src="../assets/newlogo.png"-->
+      <!--                     alt="" />-->
+      <!-- <img :src="parentorgid==='00440063000000000000' ? require('../assets/newlogo2.png') : require('../assets/newlogo.png')" width="95%" style="text-align: center; vertical-align: middle" alt=""/> -->
+      <!-- </div> -->
+      <!-- 引入组件 -->
+      <div class="menuScoll">
+        <menuItem :menuData="data" class="menuScoll-box"> </menuItem>
+      </div>
+    </el-menu>
+    <!-- </el-card> -->
+  </div>
 </template>
 
 <script>
-	export default {
-		props: {
-			//菜单数据源类型Array<JsonObject>,具体格式参考data/menu-list.js
-			data: {
-				required: false,
-				type: Array,
-				default () {
-					return [];
-				},
-			},
-		},
-		components: {
-			menuItem: () => import( /* webpackChunkName: "system" */ "./p-menu-item"),
-		},
-		computed: {
-			getDefaultActive() {
-				return this.$store.state.defaultActive;
-			},
-			collapse() {
-				return this.$store.state.collapse;
-			},
-		},
-		data() {
-			return {
-				defaultActiveMenuItem: {},
-                parentorgid: '',
-			};
-		},
-		mounted() {
-			if (this.data.length > 0) {
-				this.recursion(this.data);
-			}
-            this.getDept()
-		},
-		updated() {
-			if (this.data.length > 0) {
-
-				this.recursion(this.data);
-
-			}
-		},
-		methods: {
-			recursion(data) {
-				for (let item of data) {
-					if (item.children != "") {
-						this.recursion(item.children);
-					} else if (item.rountPath == this.$route.path) {
-						if (item.systemflag != "1") {
-							this.handelRouterTo(item);
-							return;
-						}
-					}
-				}
-			},
-			handleOpen(e) {
-				if (e.indexOf("/") != -1) {
-					if (this.$route.path != e) {
-						this.$router.push(e);
-					}
-				}
-			},
-			handleClose() {},
-			handelRouterTo(item) {
-				if (item.systemflag == "1") {
-					return;
-				}
-				let defaults = this.$store.state.tabList.filter((row) => {
-					let rountPath = row.hasOwnProperty("rountPath") ?
-						row.rountPath :
-						row.jspUrl;
-					if (rountPath == item.rountPath) {
-						return row;
-					}
-				});
-				if (defaults.length == 1) {
-					return;
-				}
-				let set = new Set([...this.$store.state.tabList, item]);
-				set.add(item);
-				this.$store.commit("setDefaultActive", item.rountPath);
-				this.$store.commit("setTabList", Array.from(set));
-			},
-            getDept() {
-                this.$http({
-                    url: "/sysmgr/csysdept/queryGroupListByLoginNo",
-                    method: "post",
-                    headers: {
-                        "Content-Type": "application/json",
-                    },
-                    data: {},
-                }).then((res) => {
-                    console.log(res.data[0].parentorgid)
-                    this.parentorgid = res.data[0].parentorgid;
-                });
-            },
-		},
-	};
+export default {
+  props: {
+    //菜单数据源类型Array<JsonObject>,具体格式参考data/menu-list.js
+    data: {
+      required: false,
+      type: Array,
+      default() {
+        return [];
+      },
+    },
+  },
+  components: {
+    menuItem: () => import(/* webpackChunkName: "system" */ "./p-menu-item"),
+  },
+  computed: {
+    getDefaultActive() {
+      return this.$store.state.defaultActive;
+    },
+    collapse() {
+      return this.$store.state.collapse;
+    },
+  },
+  data() {
+    return {
+      defaultActiveMenuItem: {},
+      parentorgid: "",
+    };
+  },
+  mounted() {
+    if (this.data.length > 0) {
+      this.recursion(this.data);
+    }
+    // this.getDept();
+  },
+  updated() {
+    if (this.data.length > 0) {
+      this.recursion(this.data);
+    }
+  },
+  methods: {
+    recursion(data) {
+      for (let item of data) {
+        if (item.children != "") {
+          this.recursion(item.children);
+        } else if (item.rountPath == this.$route.path) {
+          if (item.systemflag != "1") {
+            this.handelRouterTo(item);
+            return;
+          }
+        }
+      }
+    },
+    handleOpen(e) {
+      if (e.indexOf("/") != -1) {
+        if (this.$route.path != e) {
+          this.$router.push(e);
+        }
+      }
+    },
+    handleClose() {},
+    handelRouterTo(item) {
+      if (item.systemflag == "1") {
+        return;
+      }
+      let defaults = this.$store.state.tabList.filter((row) => {
+        let rountPath = row.hasOwnProperty("rountPath")
+          ? row.rountPath
+          : row.jspUrl;
+        if (rountPath == item.rountPath) {
+          return row;
+        }
+      });
+      if (defaults.length == 1) {
+        return;
+      }
+      let set = new Set([...this.$store.state.tabList, item]);
+      set.add(item);
+      this.$store.commit("setDefaultActive", item.rountPath);
+      this.$store.commit("setTabList", Array.from(set));
+    },
+    getDept() {
+      this.$http({
+        url: "/sysmgr/csysdept/queryGroupListByLoginNo",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {},
+      }).then((res) => {
+        console.log(res.data[0].parentorgid);
+        this.parentorgid = res.data[0].parentorgid;
+      });
+    },
+  },
+};
 </script>
 <style>
-	.el-menu--collapse .menu-logo {
-		background-image: url(../assets/leftlogo.png);
-		background-repeat: no-repeat;
-		background-size: 50% 50%;
-		background-position-x: 50%;
-		background-position-y: 50%;
-	}
+.el-menu--collapse .menu-logo {
+  background-image: url(../assets/leftlogo.png);
+  background-repeat: no-repeat;
+  background-size: 50% 50%;
+  background-position-x: 50%;
+  background-position-y: 50%;
+}
 
-	.menu-logo {
-		border: 1px solid #f2f2f2;
-	}
+.menu-logo {
+  border: 1px solid #f2f2f2;
+}
 
-	.el-menu--collapse .menu-logo img {
-		display: none;
-	}
+.el-menu--collapse .menu-logo img {
+  display: none;
+}
 
-	.el-menu--collapse .el-submenu__title span {
-		display: none;
-	}
+.el-menu--collapse .el-submenu__title span {
+  display: none;
+}
 
-	.el-menu--collapse .el-submenu__title .el-submenu__icon-arrow {
-		display: none;
-	}
+.el-menu--collapse .el-submenu__title .el-submenu__icon-arrow {
+  display: none;
+}
 
-	.p-menu .el-menu-vertical-demo:not(.el-menu--collapse) {
-		width: 200px;
-		min-height: 400px;
-	}
+.p-menu .el-menu-vertical-demo:not(.el-menu--collapse) {
+  width: 200px;
+  min-height: 400px;
+}
 </style>
 <style scoped="scoped" lang="scss">
-	.p-menu {
-		height: 100%;
-		// padding-left: 50px;
-		// padding-top: 38px;
-		max-width: 200px;
-		background-color: white;
-		overflow: hidden;
+.p-menu {
+  height: 100%;
+  // padding-left: 50px;
+  // padding-top: 38px;
+  max-width: 200px;
+  background-color: white;
+  overflow: hidden;
+
+  .card {
+    width: 100%;
+    flex-grow: 0;
+    flex-shrink: 0;
+    height: 100%;
+    max-height: 100%;
 
-		.card {
-			width: 100%;
-			flex-grow: 0;
-			flex-shrink: 0;
-			height: 100%;
-			max-height: 100%;
+    ::v-deep .el-card__body {
+      padding: 0px;
+    }
+  }
+}
 
-			::v-deep .el-card__body {
-				padding: 0px;
-			}
-		}
-	}
+.menuScoll {
+  width: 100%;
+  height: 100%;
+  overflow: hidden;
 
-	.menuScoll {
-		width: 100%;
-		height: 100%;
-		overflow: hidden;
+  .menuScoll-box {
+    width: calc(100% + 20px);
+    max-height: calc(100vh - 60px);
+    padding-bottom: 60px;
+    overflow-y: scroll;
+  }
+}
+/*菜单打开*/
+::v-deep .el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
+  -webkit-transform: rotateZ(0deg);
+  transform: rotateZ(0deg);
+}
 
-		.menuScoll-box {
-			width: calc(100% + 20px);
-			max-height: calc(100vh - 60px);
-			padding-bottom: 60px;
-			overflow-y: scroll;
-		}
-	}
+/*菜单关闭*/
+::v-deep .el-submenu>.el-submenu__title .el-submenu__icon-arrow{
+	-webkit-transform: rotateZ(-90deg); 
+	-ms-transform: rotate(-90deg);
+	transform: rotateZ(-90deg);
+}
 </style>

+ 24 - 20
src/components/p-tabs.vue

@@ -27,7 +27,7 @@
           </div>
         </el-tooltip>
         <i
-          class="el-icon-error close"
+          class="el-icon-close close"
           @click="handleClose($event, item, index)"
         ></i>
       </div>
@@ -377,27 +377,27 @@ export default {
 .p-tabs {
   box-sizing: border-box;
   width: 100%;
-  height: 38px;
+  height: 50px;
   white-space: nowrap;
   overflow: hidden;
-  margin-top: 15px;
-
+  // margin-top: 15px;
+  background: #f3f3f3;;
   // padding-left: 40px;
   .tab-item {
     display: inline-block;
-    height: 38px;
-    line-height: 38px;
+    height: 50px;
+    line-height: 50px;
     color: black;
     position: relative;
-    width: 134px;
+    width: 160px;
     overflow: hidden;
     border-radius: 0px 5px 0px 0px;
-    margin-left: 15px;
+    // margin-left: 15px;
     cursor: pointer;
 
     .tab-item-shap {
       position: absolute;
-      width: 100%;
+      width: 160px;
       height: 38px;
       transition: 0.3s;
       background: rgba(255, 255, 255, 0.4);
@@ -408,29 +408,30 @@ export default {
 
     .text {
       text-align: center;
-      overflow-x: hidden;
+      overflow: hidden;
       white-space: nowrap;
       text-overflow: ellipsis;
       // padding: 0px 16px;
       font-size: 14px;
       letter-spacing: 0;
       position: absolute;
-      width: 100%;
+      width: 160px;
       height: 38px;
       text-align: center;
-      background-color: white;
+      // background-color: white;
     }
 
     .close {
-      font-size: 12px;
+      font-size: 16px;
+      font-weight: 900;
       position: absolute;
-      right: 3px;
-      top: 3px;
-      color: #fff;
+      right: -3px;
+      top: 18px;
+      color: #000000;
     }
 
     .close:hover {
-      color: #107cff;
+      color: #0056A9;
     }
   }
 
@@ -441,6 +442,7 @@ export default {
   }
 
   .tab-item-active {
+    border-bottom: 3px solid #41a2fd;
     .skew {
       background: #fff;
     }
@@ -454,15 +456,17 @@ export default {
 
     .text {
       text-align: center;
-      overflow-x: hidden;
+      // overflow-x: hidden;
       white-space: nowrap;
       text-overflow: ellipsis;
       // padding: 0px 16px;
-      color: #107cff;
+      font-weight:900;
+      color: #0056A9;
+      
     }
 
     .close {
-      color: #107cff;
+      color: transparent;
     }
   }
 

+ 2 - 2
src/components/toolList.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="titbox">
-        <h2>{{tooltit}}</h2>
+        <h2 class="font-ui">{{tooltit}}</h2>
         <div>
             <i class="el-icon-refresh" @click="iconCli(1)"></i>
             <i class="el-icon-full-screen" @click="iconCli(2)"></i>
@@ -31,7 +31,7 @@
 <style scoped lang="scss">
     .titbox {
         h2 {
-            font-weight: normal;
+            // font-weight: normal;
             display: inline-block;
         }
         div {

+ 136 - 96
src/pages/main/achievements/achievementsIndex.vue

@@ -1,101 +1,141 @@
 <template>
-	<div class="inner-container">
-		<el-col :span="3">
-			<el-tabs tab-position="left" v-model="activeName" @tab-click="handleClick">
-				<el-tab-pane v-for="(item, index) in menuList" :key="index" :name="item.path" :label="item.label">
-				</el-tab-pane>
-			</el-tabs>
-		</el-col>
-		<el-col :span="21">
-			<div style="height: 100%">
-				<router-view />
-			</div>
-		</el-col>
-	</div>
+  <div class="inner-container">
+    <div class="box">
+      <el-tabs v-model="activeName" @tab-click="handleClick" type="card">
+        <el-tab-pane
+          v-for="(item, index) in menuList"
+          :key="index"
+          :name="item.path"
+          :label="item.label"
+        >
+        </el-tab-pane>
+      </el-tabs>
+    </div>
+    <el-row>
+      <div style="height: 100%;padding-left:15px">
+        <router-view />
+      </div>
+    </el-row>
+  </div>
 </template>
 <script>
-	export default {
-		data() {
-			return {
-				activeName: "budget",
-				userNo: JSON.parse(window.sessionStorage.userInfo).loginNo,
-				showList: [],
-				routerList: [{
-						label: "集团绩效",
-						path: "/recallJt",
-						name: "recallJt"
-					},
-					{
-						label: "部门绩效",
-						path: "/recallBm",
-						name: "recallBm"
-					},
-					{
-						label: "副总GS",
-						path: "/recallGs",
-						name: "recallGs"
-					},
-					// {
-					// 	label: "绩效回复列表",
-					// 	path: "/kpiRecall",
-					// 	name: "kpiRecall"
-					// },
-					{
-						label: "绩效模板管理",
-						path: "/kpiMuban",
-						name: "kpiMuban"
-					},
-                    {
-                        label: "下发管理",
-                        path: "/kpiIssueList",
-                        name: "kpiIssueList"
-                    },
-                    {
-                        label: "科室绩效",
-                        path: "/recallkpi",
-                        name: "recallkpi"
-                    },
-
-				],
-			};
-		},
-		computed: {
-			menuList: function() {
-				let arr = [];
-				this.routerList.map((item) => {
-					this.showList.map((row) => {
-						if (item.path == row) {
-							arr.push(item);
-						}
-					});
-				});
-				return arr;
-			},
-		},
-		methods: {
-			handleClick(val) {
-				if (this.$route.path != this.activeName) {
-					this.$router.push(this.activeName);
-				}
-			},
-		},
-		mounted() {
-			this.activeName = this.$route.path;
-		},
-		created() {
-			JSON.parse(sessionStorage.childrenMenus).map((item) => {
-				this.showList.push(item.jspUrl);
-			});
-		},
-		watch: {
-			$route(to, from) {
-				this.activeName = this.$route.path;
-			},
-		},
-	};
+export default {
+  data() {
+    return {
+      activeName: "budget",
+      userNo: JSON.parse(window.sessionStorage.userInfo).loginNo,
+      showList: [],
+      routerList: [
+        {
+          label: "集团绩效",
+          path: "/recallJt",
+          name: "recallJt",
+        },
+        {
+          label: "部门绩效",
+          path: "/recallBm",
+          name: "recallBm",
+        },
+        {
+          label: "副总GS",
+          path: "/recallGs",
+          name: "recallGs",
+        },
+        // {
+        // 	label: "绩效回复列表",
+        // 	path: "/kpiRecall",
+        // 	name: "kpiRecall"
+        // },
+        {
+          label: "绩效模板管理",
+          path: "/kpiMuban",
+          name: "kpiMuban",
+        },
+        {
+          label: "下发管理",
+          path: "/kpiIssueList",
+          name: "kpiIssueList",
+        },
+        {
+          label: "科室绩效",
+          path: "/recallkpi",
+          name: "recallkpi",
+        },
+      ],
+    };
+  },
+  computed: {
+    menuList: function () {
+      let arr = [];
+      this.routerList.map((item) => {
+        this.showList.map((row) => {
+          if (item.path == row) {
+            arr.push(item);
+          }
+        });
+      });
+      return arr;
+    },
+  },
+  methods: {
+    handleClick(val) {
+      if (this.$route.path != this.activeName) {
+        this.$router.push(this.activeName);
+      }
+    },
+  },
+  mounted() {
+    this.activeName = this.$route.path;
+  },
+  created() {
+    JSON.parse(sessionStorage.childrenMenus).map((item) => {
+      this.showList.push(item.jspUrl);
+    });
+  },
+  watch: {
+    $route(to, from) {
+      this.activeName = this.$route.path;
+    },
+  },
+};
 </script>
-<style>
-	.el-tabs__content {
-		display: none;
-	}
+<style lang="scss" scoped>
+.el-tabs__content {
+  display: none;
+}
+.box {
+  border-bottom: 1px solid #e1e1e1;
+  height: 55px;
+  margin-top:10px ;
+}
+::v-deep .el-tabs__item {
+  width: 166px;
+  text-align: center;
+  border-left: 10px solid #ffffff;
+  border-right: 10px solid #ffffff;
+}
+::v-deep .el-tabs__header {
+  margin: 0px;
+  background: #d8eaf6;
+  color: black;
+  border:0;
+  margin-left: 20px;
+  display: inline-block;
+}
+
+::v-deep .is-active {
+  background: #0583cd;
+  color: white;
+}
+
+::v-deep .el-tabs__item:hover {
+  color: black;
+}
+::v-deep .is-active:hover {
+  background: #0583cd;
+  color: white;
+}
+::v-deep .el-tabs--card>.el-tabs__header .el-tabs__nav {
+  border:0px
+}
 </style>

+ 1 - 1
src/pages/main/achievements/achievementsMuban.vue

@@ -3,7 +3,7 @@
 		<fullscreen :fullscreen.sync="fullscreen" class="container-box"
 			style="margin: 0 !important; padding: 0 !important">
 			<div class="titbox">
-				<h2>绩效模板管理</h2>
+				<h2 class="font-ui">绩效模板管理</h2>
 				<div>
 					<i class="el-icon-refresh" @click="iconCli(1)"></i>
 					<i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/achievements/issueList.vue

@@ -7,7 +7,7 @@
             style="margin: 0 !important; padding: 0 !important"
         >
             <div class="titbox">
-                <h2>下发管理</h2>
+                <h2 class="font-ui">下发管理</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 4 - 1
src/pages/main/achievements/recallBumen.vue

@@ -6,7 +6,7 @@
       style="margin: 0 !important; padding: 0 !important"
     >
       <div class="titbox">
-        <h2>部门绩效回复</h2>
+        <h2 class="font-ui">部门绩效回复</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>
@@ -417,5 +417,8 @@ export default {
   text-align: right;
   margin-top: 10px;
 }
+::v-deep .el-tabs__active-bar{
+		width: 0px !important;
+	}
 </style>
 

+ 4 - 1
src/pages/main/achievements/recallGS.vue

@@ -6,7 +6,7 @@
       style="margin: 0 !important; padding: 0 !important"
     >
       <div class="titbox">
-        <h2>副总GS绩效回复</h2>
+        <h2 class="font-ui">副总GS绩效回复</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>
@@ -435,5 +435,8 @@ export default {
   text-align: right;
   margin-top: 10px;
 }
+::v-deep .el-tabs__active-bar{
+		width: 0px !important;
+	}
 </style>
 

+ 4 - 1
src/pages/main/achievements/recallJt.vue

@@ -3,7 +3,7 @@
 		<fullscreen :fullscreen.sync="fullscreen" class="container-box"
 			style="margin: 0 !important; padding: 0 !important">
 			<div class="titbox">
-				<h2>集团绩效</h2>
+				<h2 class="font-ui">集团绩效</h2>
 				<div>
 					<i class="el-icon-refresh" @click="iconCli(1)"></i>
 					<i class="el-icon-full-screen" @click="iconCli(2)"></i>
@@ -387,4 +387,7 @@
 		text-align: right;
 		margin-top: 10px;
 	}
+	::v-deep .el-tabs__active-bar{
+		width: 0px !important;
+	}
 </style>

+ 1 - 1
src/pages/main/achievements/recallMuban.vue

@@ -2,7 +2,7 @@
 	<div class="container" v-loading="loading">
 		<fullscreen :fullscreen.sync="fullscreen" class="container-box">
 			<div class="titbox">
-				<h2>科室绩效回复</h2>
+				<h2 class="font-ui">科室绩效回复</h2>
 				<div>
 					<i class="el-icon-refresh" @click="iconCli(1)"></i>
 					<i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 2 - 2
src/pages/main/advertising/index.vue

@@ -17,7 +17,7 @@
 			        <span>查看/下载</span>
 			    </div>
 			</div> -->
-			<h2 style="margin-top: 20px;">宣传物料管理</h2>
+			<h2 class="font-ui" style="margin-top: 20px;">宣传物料管理</h2>
 			<div class="adv-type">
 			    <div class="wfour" @click="jumpinfo('/materialApplication','宣传物料申请及审批')">
 			        <span><i class="el-icon-folder-opened"></i></span>
@@ -36,7 +36,7 @@
 				    <span>市级物料审批</span>
 				</div> -->
 			</div>
-			<h2 style="margin-top: 20px;">基础数据管理</h2>
+			<h2 class="font-ui" style="margin-top: 20px;">基础数据管理</h2>
 			<div class="adv-type">
 			    <!-- <div class="wfive" @click="jumpinfo('/materielPick','一采物料类型建档')" v-if="province">
 			        <span><i class="el-icon-folder-opened"></i></span>

+ 1 - 1
src/pages/main/advertising/indexs.vue

@@ -2,7 +2,7 @@
     <fullscreen :fullscreen.sync="fullscreen" class="container">
         <div class="container-box">
 
-			<h2>广告宣传费台账</h2>
+			<h2 class="font-ui">广告宣传费台账</h2>
 			<div class="adv-type">
 			    <div @click="jumpinfop('/publicityAccount',1,'宣传费台账')" v-if="lockFlag == 'updata'">
 			        <span><i class="el-icon-folder-opened"></i></span>

+ 63 - 24
src/pages/main/antiSpoofing/home.vue

@@ -1,31 +1,31 @@
 <template>
   <div class="inner-container">
     <div v-if="menuList.indexOf(activeName) >= 0">
-        <el-col :span="3"
-        ><el-tabs
-            tab-position="left"
-            v-model="activeName"
-            @tab-click="handleClick"
+      <div class="box">
+        <el-tabs
+          v-model="activeName"
+          @tab-click="handleClick"
         >
-            <el-tab-pane
-                v-for="(item, index) in routerList"
-                :key="index"
-                :name="item.path"
-                :label="item.label"
-            ></el-tab-pane>
+          <el-tab-pane
+            v-for="(item, index) in routerList"
+            :key="index"
+            :name="item.path"
+            :label="item.label"
+          ></el-tab-pane>
         </el-tabs>
-        </el-col>
-        <el-col :span="21" style="background: #f4f4f4;">
-            <div style="height: 100%">
-                <router-view />
-            </div>
-        </el-col>
+      </div>
+      <el-row>
+        <!-- <el-col :span="21" style="background: #f4f4f4;"> -->
+        <div style="height: 100%">
+          <router-view />
+        </div>
+      </el-row>
     </div>
-      <div v-else>
-          <div style="height: 100%;background: #f4f4f4;">
-              <router-view />
-          </div>
+    <div v-else>
+      <div style="height: 100%; background: #f4f4f4">
+        <router-view />
       </div>
+    </div>
   </div>
 </template>
 <script>
@@ -35,9 +35,13 @@ export default {
       activeName: "",
       showList: [],
       routerList: [
-        { label: "区县考核报表", path: "/districtCounty", name: "districtCounty" },
+        {
+          label: "区县考核报表",
+          path: "/districtCounty",
+          name: "districtCounty",
+        },
         { label: "人员考核报表", path: "/personnel", name: "personnel" },
-        { label: "渠道考核报表", path: "/channel", name: "channel" }
+        { label: "渠道考核报表", path: "/channel", name: "channel" },
       ],
     };
   },
@@ -76,8 +80,43 @@ export default {
   },
 };
 </script>
-<style>
+<style lang="scss" scoped>
+
 .el-tabs__content {
   display: none;
 }
+.box{
+  border-bottom: 1px solid #e1e1e1;
+  height: 55px;
+  margin-top:10px ;
+}
+::v-deep .el-tabs__item {
+  width: 166px;
+  text-align: center;
+  border-left: 10px solid #ffffff;
+  padding: 0;
+  border-right: 10px solid #ffffff;
+}
+::v-deep .el-tabs__header {
+  margin: 0px;
+  background: #d8eaf6;
+  color: black;
+  margin-left: 20px;
+  display: inline-block;
+}
+::v-deep .is-active {
+  background: #0583cd;
+  color: white;
+}
+
+::v-deep .el-tabs__item:hover {
+  color: black;
+}
+::v-deep .is-active:hover {
+  background: #0583cd;
+  color: white;
+}
+::v-deep .el-tabs__active-bar{
+  width: 0px !important;;
+}
 </style>

+ 176 - 154
src/pages/main/budget/budgetIndex.vue

@@ -1,162 +1,184 @@
 <template>
-	<div class="inner-container">
-		<el-col :span="3">
-			<span :class="item.sts?'spanbox bg':'spanbox'" v-for="(item, index) in menuList" :key="index" :name="item.path" :label="item.label" @click="handleClick(item)">
-				<el-badge :value="item.num" :max="99" :hidden="item.num == 0">
-					<span style="padding-right: 10px;">{{item.label}}</span>
-				</el-badge>
-			</span>
-			<!-- <el-tabs tab-position="left" v-model="activeName" @tab-click="handleClick">
+  <div class="inner-container">
+    <!-- <el-col :span="3"> -->
+    <div class="box">
+      <span
+        :class="item.sts ? 'spanbox bg' : 'spanbox'"
+        v-for="(item, index) in menuList"
+        :key="index"
+        :name="item.path"
+        :label="item.label"
+        @click="handleClick(item)"
+      >
+        <el-badge :value="item.num" :max="99" :hidden="item.num == 0">
+          <span>{{ item.label }}</span>
+        </el-badge>
+      </span>
+    </div>
+    <!-- <el-tabs tab-position="left" v-model="activeName" @tab-click="handleClick">
 				<el-tab-pane v-for="(item, index) in menuList" :key="index" :name="item.path" :label="item.label">
 				</el-tab-pane>
 			</el-tabs> -->
-		</el-col>
-		<el-col :span="21">
-			<div style="height: 100%">
-				<router-view />
-			</div>
-		</el-col>
-	</div>
+    <!-- </el-col> -->
+    <div style="padding-left: 15px">
+      <el-row>
+        <div style="height: 100%">
+          <router-view />
+        </div>
+      </el-row>
+    </div>
+  </div>
 </template>
 <script>
-	export default {
-		data() {
-			return {
-				activeName: "",
-				showList: [],
-				routerList: [{
-						label: "月度部门预算",
-						path: "/monthExcel",
-						name: "monthExcel",
-						sts:1,
-						num:0
-					},
-					{
-						label: "季度部门预算",
-						path: "/quarterExcel",
-						name: "quarterExcel",
-						sts:0,
-						num:0
-					},
-					{
-						label: "年度部门预算",
-						path: "/yearExcel",
-						name: "yearExcel",
-						sts:0,
-						num:0
-					},
-					{
-						label: "采购部门预算",
-						path: "/projectExcel",
-						name: "projectExcel",
-						sts:0,
-						num:0
-					},
-					// {
-					// 	label: "预算回复",
-					// 	path: "/recallAdmin",
-					// 	name: "recallAdmin",
-					// 	sts:0,
-					// 	num:0
-					// },
-					{
-						label: "预算模板管理",
-						path: "/budgetList",
-						name: "budgetList",
-						sts:0,
-						num:0
-					},
-                    {
-                        label: "下发管理",
-                        path: "/issueList",
-                        name: "issueList",
-                        sts:0,
-                        num:0
-                    },
-				],
-			};
-		},
-		computed: {
-			menuList: function() {
-				let arr = [];
-				this.routerList.map((item) => {
-					// arr.push(item);
-					this.showList.map((row) => {
-						if (item.path == row.jspUrl && row.systemflag == '1') {
-							arr.push(item);
-						}
-					});
-				});
-				return arr;
-			},
-		},
-		methods: {
-			handleClick(val) {
-				this.activeName = val.path;
-				for (let i = 0; i < this.routerList.length; i++) {
-					this.routerList[i].sts = 0;
-				}
-				val.sts = 1;
-				if (this.$route.path != this.activeName) {
-					this.$router.push(this.activeName);
-				}
-				this.getnunm();
-			},
-			getnunm(){
-				this.$http({
-					url: "/market/preTask/queryTaskToDoNumByFunc",
-					method: "post",
-					headers: {
-						"Content-Type": "application/json",
-					},
-					data: {},
-				}).then((res) => {
-					for (let i = 0; i < res.data.length; i++) {
-						if(res.data[i].funcCode == '1000'){
-							this.routerList[2].num = res.data[i].taskNum;
-						}
-						if(res.data[i].funcCode == '1001'){
-							this.routerList[0].num = res.data[i].taskNum;
-						}
-						if(res.data[i].funcCode == '1003'){
-							this.routerList[3].num = res.data[i].taskNum;
-						}
-						if(res.data[i].funcCode == '1004'){
-							this.routerList[1].num = res.data[i].taskNum;
-						}
-					}
-				});
-			}
-		},
-		mounted() {
-			this.activeName = this.$route.path;
-		},
-		created() {
-			JSON.parse(sessionStorage.childrenMenus).map((item) => {
-				this.showList.push(item);
-			});
-			this.getnunm();
-		},
-		watch: {
-			$route(to, from) {
-				this.activeName = this.$route.path;
-			},
-		},
-	};
+export default {
+  data() {
+    return {
+      activeName: "",
+      showList: [],
+      routerList: [
+        {
+          label: "月度部门预算",
+          path: "/monthExcel",
+          name: "monthExcel",
+          sts: 1,
+          num: 0,
+        },
+        {
+          label: "季度部门预算",
+          path: "/quarterExcel",
+          name: "quarterExcel",
+          sts: 0,
+          num: 0,
+        },
+        {
+          label: "年度部门预算",
+          path: "/yearExcel",
+          name: "yearExcel",
+          sts: 0,
+          num: 0,
+        },
+        {
+          label: "采购部门预算",
+          path: "/projectExcel",
+          name: "projectExcel",
+          sts: 0,
+          num: 0,
+        },
+        // {
+        // 	label: "预算回复",
+        // 	path: "/recallAdmin",
+        // 	name: "recallAdmin",
+        // 	sts:0,
+        // 	num:0
+        // },
+        {
+          label: "预算模板管理",
+          path: "/budgetList",
+          name: "budgetList",
+          sts: 0,
+          num: 0,
+        },
+        {
+          label: "下发管理",
+          path: "/issueList",
+          name: "issueList",
+          sts: 0,
+          num: 0,
+        },
+      ],
+    };
+  },
+  computed: {
+    menuList: function () {
+      let arr = [];
+      this.routerList.map((item) => {
+        // arr.push(item);
+        this.showList.map((row) => {
+          if (item.path == row.jspUrl && row.systemflag == "1") {
+            arr.push(item);
+          }
+        });
+      });
+      return arr;
+    },
+  },
+  methods: {
+    handleClick(val) {
+      this.activeName = val.path;
+      for (let i = 0; i < this.routerList.length; i++) {
+        this.routerList[i].sts = 0;
+      }
+      val.sts = 1;
+      if (this.$route.path != this.activeName) {
+        this.$router.push(this.activeName);
+      }
+      this.getnunm();
+    },
+    getnunm() {
+      this.$http({
+        url: "/market/preTask/queryTaskToDoNumByFunc",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {},
+      }).then((res) => {
+        for (let i = 0; i < res.data.length; i++) {
+          if (res.data[i].funcCode == "1000") {
+            this.routerList[2].num = res.data[i].taskNum;
+          }
+          if (res.data[i].funcCode == "1001") {
+            this.routerList[0].num = res.data[i].taskNum;
+          }
+          if (res.data[i].funcCode == "1003") {
+            this.routerList[3].num = res.data[i].taskNum;
+          }
+          if (res.data[i].funcCode == "1004") {
+            this.routerList[1].num = res.data[i].taskNum;
+          }
+        }
+      });
+    },
+  },
+  mounted() {
+    this.activeName = this.$route.path;
+  },
+  created() {
+    JSON.parse(sessionStorage.childrenMenus).map((item) => {
+      this.showList.push(item);
+    });
+    this.getnunm();
+  },
+  watch: {
+    $route(to, from) {
+      this.activeName = this.$route.path;
+    },
+  },
+};
 </script>
-<style>
-	.el-tabs__content {
-		display: none;
-	}
-	.spanbox{
-		display: block;
-		text-align: center;
-		padding: 10px 0;
-		border-right: 3px solid #f1f1f1;
-		margin-right: 20px;
-	}
-	.bg{
-		border-right: 3px solid #0080FF;
-		color: #007AFF;
-	}
+<style lang="scss" scoped>
+.el-tabs__content {
+  display: none;
+}
+
+.box {
+  display: inline-block;
+  padding-left: 10px;
+  width: 100%;
+  border-bottom: 1px solid #e1e1e1;
+  .spanbox {
+    display: inline-block;
+    text-align: center;
+    width: 166px;
+    height: 36px;
+    margin: 10px;
+    line-height: 36px;
+    background: #d8eaf6;
+    color: #000;
+  }
+  .bg {
+    color: white;
+    background: #0583cd;
+  }
+}
 </style>

+ 1 - 1
src/pages/main/budget/budgetList.vue

@@ -7,7 +7,7 @@
       style="margin: 0 !important; padding: 0 !important"
     >
       <div class="titbox">
-        <h2>部门预算模板管理</h2>
+        <h2 class="font-ui">部门预算模板管理</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/budget/initBudget.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>部门预算管理</h2>
+        <h2 class="font-ui">部门预算管理</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/budget/issueList.vue

@@ -7,7 +7,7 @@
             style="margin: 0 !important; padding: 0 !important"
         >
             <div class="titbox">
-                <h2>下发管理</h2>
+                <h2 class="font-ui">下发管理</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/budget/noRecall.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box" style="margin: 0;padding: 0;">
       <div class="titbox">
-        <h2>部门预算回复</h2>
+        <h2 class="font-ui">部门预算回复</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/budget/recall.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box" style="margin: 0;padding: 0;">
       <div class="titbox">
-        <h2>部门预算回复</h2>
+        <h2 class="font-ui">部门预算回复</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/businessOutsourc/index.vue

@@ -2,7 +2,7 @@
     <fullscreen :fullscreen.sync="fullscreen" class="container">
         <div class="container-box">
 
-            <h2>直营店业务外包</h2>
+            <h2 class="font-ui">直营店业务外包</h2>
             <div class="adv-type">
                 <div @click="jumpinfo('/stageSeat','台席管理')">
                     <span>

+ 1 - 1
src/pages/main/busitime/busiTime.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>业务时长查询</h2>
+                <h2 class="font-ui">业务时长查询</h2>
                 <div>
                     <i class="el-icon-download" @click="iconCli(3)"></i>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>

+ 1 - 1
src/pages/main/busitime/busiTimeout.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>异常数据监控</h2>
+                <h2 class="font-ui">异常数据监控</h2>
                 <div>
                     <i class="el-icon-download" @click="iconCli(3)"></i>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 874 - 803
src/pages/main/competitor/compete.vue


+ 5 - 2
src/pages/main/competitor/competeInfo.vue

@@ -1,5 +1,5 @@
 <template>
-    <fullscreen :fullscreen.sync="fullscreen" class="container" style="margin: 0;">
+    <fullscreen :fullscreen.sync="fullscreen" class="container" style="margin: 0px;">
         <div class="container-box">
             <toolList @iconCli='iconCli' :tooltit='tooltit'></toolList>
             <div class="search">
@@ -42,7 +42,7 @@
         data() {
 
             return {
-                tooltit: '竞争对手信息收集统计',
+                tooltit: '竞争对手信息收集',
                 searchList: [{
                         type: 'date',
                         tit: '开始时间',
@@ -280,4 +280,7 @@
             width: calc(100% - 100px);
         }
     }
+    .container{
+        width: 100%;
+    }
 </style>

+ 42 - 8
src/pages/main/competitor/home.vue

@@ -1,8 +1,7 @@
 <template>
   <div class="inner-container">
-    <el-col :span="3"
-      ><el-tabs
-        tab-position="left"
+    <div class="box">
+      <el-tabs
         v-model="activeName"
         @tab-click="handleClick"
       >
@@ -13,12 +12,12 @@
           :label="item.label"
         ></el-tab-pane>
       </el-tabs>
-    </el-col>
-    <el-col :span="21" style="background: #f4f4f4;">
-      <div style="height: 100%">
+    </div>
+    <el-row style="background: #f4f4f4;">
+      <div>
         <router-view />
       </div>
-    </el-col>
+      </el-row>
   </div>
 </template>
 <script>
@@ -70,8 +69,43 @@ export default {
   },
 };
 </script>
-<style>
+<style lang="scss" scoped>
+
 .el-tabs__content {
   display: none;
 }
+.box {
+  border-bottom: 1px solid #e1e1e1;
+  height: 55px;
+  margin-top:10px ;
+}
+::v-deep .el-tabs__item {
+  width: 166px;
+  text-align: center;
+  padding: 0;
+  border-left: 10px solid #ffffff;
+  border-right: 10px solid #ffffff;
+}
+::v-deep .el-tabs__header {
+  margin: 0px;
+  background: #d8eaf6;
+  color: black;
+  margin-left: 20px;
+  display: inline-block;
+}
+::v-deep .is-active {
+  background: #0583cd;
+  color: white;
+}
+
+::v-deep .el-tabs__item:hover {
+  color: black;
+}
+::v-deep .is-active:hover {
+  background: #0583cd;
+  color: white;
+}
+::v-deep .el-tabs__active-bar{
+		width: 0px !important;
+	}
 </style>

+ 1 - 1
src/pages/main/compvis/complaintFeedback.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>投诉处理工单反馈</h2>
+        <h2 class="font-ui">投诉处理工单反馈</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/compvis/complaintWoAlarmInfo.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>投诉工单告警信息列表</h2>
+        <h2 class="font-ui">投诉工单告警信息列表</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/compvis/complaintlog.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>处理工单历史信息</h2>
+                <h2 class="font-ui">处理工单历史信息</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/compvis/compvisList.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>投诉单列表</h2>
+                <h2 class="font-ui">投诉单列表</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/customer/ydBrodbdNetwork.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>宽带上网信息</h2>
+                <h2 class="font-ui">宽带上网信息</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/customer/ydBrodbdUser.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>宽带用户信息</h2>
+                <h2 class="font-ui">宽带用户信息</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/customer/ydGroupUser.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>集团客户信息</h2>
+                <h2 class="font-ui">集团客户信息</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/customer/ydLobbyUser.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>进厅客户信息</h2>
+                <h2 class="font-ui">进厅客户信息</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/customer/ydMobileNetwork.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>手机移动网络信息</h2>
+                <h2 class="font-ui">手机移动网络信息</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/customer/ydMobileUser.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>手机客户信息详情</h2>
+                <h2 class="font-ui">手机客户信息详情</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/customer/ydTariff.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>手机套餐资费信息</h2>
+                <h2 class="font-ui">手机套餐资费信息</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 66 - 0
src/pages/main/departWorkLists/dialog.vue

@@ -0,0 +1,66 @@
+<template>
+  <el-dialog
+    :modal="modal"
+    :title="title"
+    :visible.sync="visible"
+    :fullscreen="fullscreen"
+    :key="reload"
+    :before-close="handleCancel"
+    :modal-append-to-body="false"
+    :width="width"
+    :show-close="false"
+    :destroy-on-close="destroy"
+  >
+    <!-- 表格主体部分 -->
+    <slot></slot>
+  </el-dialog>
+</template>
+
+<script>
+export default {
+  props: {
+    visible: {
+      type: Boolean,
+      default: false,
+    },
+    title: {
+      type: String,
+      default: "",
+    },
+    reload: {
+      type: Number,
+      default: 0,
+    },
+    width: {
+      type: String,
+      default: "500px",
+    },
+    fullscreen: {
+      type: Boolean,
+      default: false,
+    },
+    modal: {
+      type: Boolean,
+      default: true,
+    },
+    destroy: {
+      type: Boolean,
+      default: false
+    }
+  },
+  mounted() {
+  },
+  methods: {
+    //   确定的回调
+    handleConfirm() {
+      this.$emit("confirm", false);
+    },
+    //   取消的回调
+    handleCancel() {
+      this.$emit("cancel", false);
+    },
+  },
+};
+</script>
+
+<style></style>

+ 364 - 0
src/pages/main/departWorkLists/export.js

@@ -0,0 +1,364 @@
+// import { createCellPos } from './translateNumToLetter'
+const Excel = require("exceljs");
+import FileSaver from "file-saver";
+export var exportExcel = function (luckysheet, value) {
+    // 参数为luckysheet.getluckysheetfile()获取的对象
+    // 1.创建工作簿,可以为工作簿添加属性
+    const workbook = new Excel.Workbook();
+    // 2.创建表格,第二个参数可以配置创建什么样的工作表
+    if (Object.prototype.toString.call(luckysheet) === "[object Object]") {
+        luckysheet = [luckysheet];
+    }
+    luckysheet.forEach(function (table) {
+        if (table.data.length === 0) return true;
+        // ws.getCell('B2').fill = fills.
+        const worksheet = workbook.addWorksheet(table.name);
+        const merge = (table.config && table.config.merge) || {};
+        const borderInfo = (table.config && table.config.borderInfo) || {};
+        // 3.设置单元格合并,设置单元格边框,设置单元格样式,设置值
+        setStyleAndValue(table.data, worksheet, table);
+        setMerge(merge, worksheet);
+        setBorder(borderInfo, worksheet);
+        return true;
+    });
+
+    // return
+    // 4.写入 buffer
+    const buffer = workbook.xlsx.writeBuffer().then((data) => {
+        // console.log('data', data)
+        const blob = new Blob([data], {
+            type: "application/vnd.ms-excel;charset=utf-8",
+        });
+        console.log("导出成功!2");
+        FileSaver.saveAs(blob, `${value}.xlsx`);
+    });
+    return buffer;
+};
+
+var setMerge = function (luckyMerge = {}, worksheet) {
+    const mergearr = Object.values(luckyMerge);
+    mergearr.forEach(function (elem) {
+        // elem格式:{r: 0, c: 0, rs: 1, cs: 2}
+        // 按开始行,开始列,结束行,结束列合并(相当于 K10:M12)
+        worksheet.mergeCells(
+            elem.r + 1,
+            elem.c + 1,
+            elem.r + elem.rs,
+            elem.c + elem.cs
+        );
+    });
+};
+
+var setBorder = function (luckyBorderInfo, worksheet) {
+    if (!Array.isArray(luckyBorderInfo)) return;
+    // console.log('luckyBorderInfo', luckyBorderInfo)
+    luckyBorderInfo.forEach(function (elem) {
+        // 现在只兼容到borderType 为range的情况
+        // console.log('ele', elem)
+        if (elem.rangeType === "range") {
+            let border = borderConvert(elem.borderType, elem.style, elem.color);
+            let rang = elem.range[0];
+            // console.log('range', rang)
+            let row = rang.row;
+            let column = rang.column;
+            for (let i = row[0] + 1; i < row[1] + 2; i++) {
+                for (let y = column[0] + 1; y < column[1] + 2; y++) {
+                    worksheet.getCell(i, y).border = border;
+                }
+            }
+        }
+        if (elem.rangeType === "cell") {
+            // col_index: 2
+            // row_index: 1
+            // b: {
+            //   color: '#d0d4e3'
+            //   style: 1
+            // }
+            const { col_index, row_index } = elem.value;
+            const borderData = Object.assign({}, elem.value);
+            delete borderData.col_index;
+            delete borderData.row_index;
+            let border = addborderToCell(borderData, row_index, col_index);
+            // console.log('bordre', border, borderData)
+            worksheet.getCell(row_index + 1, col_index + 1).border = border;
+        }
+        // console.log(rang.column_focus + 1, rang.row_focus + 1)
+        // worksheet.getCell(rang.row_focus + 1, rang.column_focus + 1).border = border
+    });
+};
+var setStyleAndValue = function (cellArr, worksheet, table) {
+    if (!Array.isArray(cellArr)) return;
+    cellArr.forEach(function (row, rowid) {
+        row.every(function (cell, columnid) {
+            if (!cell) return true;
+            let fill = fillConvert(cell.bg);
+
+            let font = fontConvert(
+                cell.ff,
+                cell.fc,
+                cell.bl,
+                cell.it,
+                cell.fs,
+                cell.cl,
+                cell.ul
+            );
+            let alignment = alignmentConvert(
+                cell.vt,
+                cell.ht,
+                cell.tb,
+                cell.tr
+            );
+            let value = "";
+
+            if (cell.f) {
+                value = { formula: cell.f, result: cell.v };
+            } else if (!cell.v && cell.ct && cell.ct.s) {
+                // xls转为xlsx之后,内部存在不同的格式,都会进到富文本里,即值不存在与cell.v,而是存在于cell.ct.s之后
+                // value = cell.ct.s[0].v
+                cell.ct.s.forEach((arr) => {
+                    value += (arr.m ? arr.m : arr.v);
+                });
+            } else {
+                value = cell.m ? cell.m : cell.v;
+            }
+            //  style 填入到_value中可以实现填充色
+            let letter = createCellPos(columnid);
+            let target = worksheet.getCell(letter + (rowid + 1));
+            // console.log('1233', letter + (rowid + 1))
+            // eslint-disable-next-line no-unused-vars
+            for (const key in fill) {
+                target.fill = fill;
+                break;
+            }
+            target.font = font;
+            target.alignment = alignment;
+            target.value = value;
+            return true;
+        });
+
+    });
+    let columnWidth = table.visibledatacolumn;
+    let rowHeight = table.visibledatarow;
+    for (let i = 0; i < cellArr.length; i++) {
+        let row1 = worksheet.getRow(i+1);
+        row1.height = i > 0 ? rowHeight[i] - rowHeight[i-1] : rowHeight[i]
+    }
+    for (let i = 0; i < cellArr[0].length; i++) {
+        let dobCol = worksheet.getColumn(createCellPos(i));
+        dobCol.width = i > 0 ? (columnWidth[i] - columnWidth[i - 1]) / 6.5 : columnWidth[i] / 6.5
+    }
+
+};
+
+var fillConvert = function (bg) {
+    if (!bg) {
+        return {};
+    }
+    // const bgc = bg.replace('#', '')
+    let fill = {
+        type: "pattern",
+        pattern: "solid",
+        fgColor: { argb: bg.replace("#", "") },
+    };
+    return fill;
+};
+
+var fontConvert = function (
+    ff = 0,
+    fc = "#000000",
+    bl = 0,
+    it = 0,
+    fs = 10,
+    cl = 0,
+    ul = 0
+) {
+    // luckysheet:ff(样式), fc(颜色), bl(粗体), it(斜体), fs(大小), cl(删除线), ul(下划线)
+    const luckyToExcel = {
+        0: "微软雅黑",
+        1: "宋体(Song)",
+        2: "黑体(ST Heiti)",
+        3: "楷体(ST Kaiti)",
+        4: "仿宋(ST FangSong)",
+        5: "新宋体(ST Song)",
+        6: "华文新魏",
+        7: "华文行楷",
+        8: "华文隶书",
+        9: "Arial",
+        10: "Times New Roman ",
+        11: "Tahoma ",
+        12: "Verdana",
+        num2bl: function (num) {
+            return num === 0 ? false : true;
+        },
+    };
+    // 出现Bug,导入的时候ff为luckyToExcel的val
+
+    let font = {
+        name: typeof ff === "number" ? luckyToExcel[ff] : ff,
+        family: 1,
+        size: fs,
+        color: { argb: fc.replace("#", "") },
+        bold: luckyToExcel.num2bl(bl),
+        italic: luckyToExcel.num2bl(it),
+        underline: luckyToExcel.num2bl(ul),
+        strike: luckyToExcel.num2bl(cl),
+    };
+
+    return font;
+};
+
+var alignmentConvert = function (
+    vt = "default",
+    ht = "default",
+    tb = "default",
+    tr = "default"
+) {
+    // luckysheet:vt(垂直), ht(水平), tb(换行), tr(旋转)
+    const luckyToExcel = {
+        vertical: {
+            0: "middle",
+            1: "top",
+            2: "bottom",
+            default: "top",
+        },
+        horizontal: {
+            0: "center",
+            1: "left",
+            2: "right",
+            default: "left",
+        },
+        wrapText: {
+            0: false,
+            1: false,
+            2: true,
+            default: false,
+        },
+        textRotation: {
+            0: 0,
+            1: 45,
+            2: -45,
+            3: "vertical",
+            4: 90,
+            5: -90,
+            default: 0,
+        },
+    };
+
+    let alignment = {
+        vertical: luckyToExcel.vertical[vt],
+        horizontal: luckyToExcel.horizontal[ht],
+        wrapText: luckyToExcel.wrapText[tb],
+        textRotation: luckyToExcel.textRotation[tr],
+    };
+    return alignment;
+};
+
+var borderConvert = function (borderType, style = 1, color = "#000") {
+    // 对应luckysheet的config中borderinfo的的参数
+    if (!borderType) {
+        return {};
+    }
+    const luckyToExcel = {
+        type: {
+            "border-all": "all",
+            "border-top": "top",
+            "border-right": "right",
+            "border-bottom": "bottom",
+            "border-left": "left",
+        },
+        style: {
+            0: "none",
+            1: "thin",
+            2: "hair",
+            3: "dotted",
+            4: "dashDot", // 'Dashed',
+            5: "dashDot",
+            6: "dashDotDot",
+            7: "double",
+            8: "medium",
+            9: "mediumDashed",
+            10: "mediumDashDot",
+            11: "mediumDashDotDot",
+            12: "slantDashDot",
+            13: "thick",
+        },
+    };
+    let template = {
+        style: luckyToExcel.style[style],
+        color: { argb: color.replace("#", "") },
+    };
+    let border = {};
+    if (luckyToExcel.type[borderType] === "all") {
+        border["top"] = template;
+        border["right"] = template;
+        border["bottom"] = template;
+        border["left"] = template;
+    } else {
+        border[luckyToExcel.type[borderType]] = template;
+    }
+    // console.log('border', border)
+    return border;
+};
+
+function addborderToCell(borders) {
+    let border = {};
+    const luckyExcel = {
+        type: {
+            l: "left",
+            r: "right",
+            b: "bottom",
+            t: "top",
+        },
+        style: {
+            0: "none",
+            1: "thin",
+            2: "hair",
+            3: "dotted",
+            4: "dashDot", // 'Dashed',
+            5: "dashDot",
+            6: "dashDotDot",
+            7: "double",
+            8: "medium",
+            9: "mediumDashed",
+            10: "mediumDashDot",
+            11: "mediumDashDotDot",
+            12: "slantDashDot",
+            13: "thick",
+        },
+    };
+    for (const bor in borders) {
+        if (borders[bor]) {
+            if (borders[bor].color.indexOf("rgb") === -1) {
+                border[luckyExcel.type[bor]] = {
+                    style: luckyExcel.style[borders[bor].style],
+                    color: { argb: borders[bor].color.replace("#", "") },
+                };
+            } else {
+                border[luckyExcel.type[bor]] = {
+                    style: luckyExcel.style[borders[bor].style],
+                    color: { argb: borders[bor].color },
+                };
+            }
+        } else {
+            border[luckyExcel.type[bor]] = {
+                color: "#000000",
+                style: 1,
+            };
+        }
+    }
+    return border;
+}
+
+function createCellPos(n) {
+    let ordA = "A".charCodeAt(0);
+
+    let ordZ = "Z".charCodeAt(0);
+    let len = ordZ - ordA + 1;
+    let s = "";
+    while (n >= 0) {
+        s = String.fromCharCode((n % len) + ordA) + s;
+
+        n = Math.floor(n / len) - 1;
+    }
+    return s;
+}

+ 953 - 0
src/pages/main/departWorkLists/index.vue

@@ -0,0 +1,953 @@
+<template>
+    <div class="container">
+        <div class="main-box" :key="simpleSheetKey">
+            <div class="inner-left">
+                <div class="button-list">
+                    <el-button size="mini" type="" @click="addMenu('root')"  :disabled="!authData" >
+                        添加根目录</el-button
+                    >
+                    <el-button size="mini" type="" @click="addMenu('detail')" :disabled="!authData">
+                        添加清单目录</el-button
+                    >
+                    <el-button size="medium" type="" @click="delMenu" :disabled="!authData"> 删除 </el-button>
+                </div>
+                <el-alert type="warning" :closable="false">
+                    <template slot="title">
+                        <span style="word-break: break-all">
+                            {{
+                        checkedNode && checkedNode.length > 0
+                        ? "当前选择节点名称:" + checkedNode[0].name
+                        : "当前无选择节点"
+                        }}
+                        </span>
+                    </template>
+                </el-alert>
+                <div style="margin: 10px 0">
+                    <el-input
+                        size="medium"
+                        placeholder="请输入内容"
+                        v-model="filterText"
+                        class="input-with-select"
+                        clearable
+                        @change="
+                                () => {
+                                  if (!filterText) {
+                                    searchMenu();
+                                  }
+                                }
+                            "
+                    >
+                        <el-button
+                            slot="append"
+                            @click="searchMenu"
+                            icon="el-icon-search"
+                        ></el-button>
+                    </el-input>
+                </div>
+                <div
+                    style="
+                          height: calc(100% - 182px);
+                          overflow-y: auto;
+                          margin-top: 20px;
+                        "
+                >
+                    <el-tree
+                        ref="catalogTree"
+                        :expand-on-click-node="true"
+                        :auto-expand-parent="true"
+                        :default-expand-all="true"
+                        :props="defaultProps"
+                        @node-click="nodeClick"
+                        :filter-node-method="filterNode"
+                        :data="menuList"
+                        node-key="id"
+                    >
+                        <span class="custom-tree-node" slot-scope="{ node }">
+                                <el-tooltip effect="light" :content="node.label" placement="right">
+                                    <span class="item-tit">
+                                        <span :style="
+                                            node.data.parentCode===0
+                                            ? 'font-size:14px;padding-left:5px'
+                                            : 'font-size:12px;padding-left:5px'
+                                        "
+                                        >
+                                             {{node.data.name}}
+                                        </span>
+                                    </span>
+                                </el-tooltip>
+                        </span>
+                    </el-tree>
+                </div>
+            </div>
+            <div  class="inner-right" v-if="addOnlineWordFlag">
+                <simple-dialog
+                    v-if="fullscreen"
+                    :fullscreen="fullscreen"
+                    :visible="addOnlineWordFlag"
+                    width="1200px"
+                >
+                    <simple-sheet ref="simpleSheet" :type="type"
+                                  :fullscreen="fullscreen"
+                                  @saveData="handleSaveData"
+                                  @handleFullscreen="handleFullscreen"
+                                  @save="handleSave"
+                                  :workName="workName"
+                                  :work-data="workData"
+                                  :id="tmpId" :mkdirId="params.mkdirId" :isCreater="isCreater"/>
+                </simple-dialog>
+                <simple-sheet v-else :type="type"
+                              :fullscreen="fullscreen"
+                              @saveData="handleSaveData"
+                              @handleFullscreen="handleFullscreen"
+                              :workName="workName"
+                              :work-data="workData"
+                              @save="handleSave"
+                              :id="tmpId" :mkdirId="params.mkdirId" :isCreater="isCreater"/>
+            </div>
+
+            <div class="inner-right" v-if="workListFlag">
+                <div class="search">
+                    <span>{{ catalogueName }}</span>
+                </div>
+                <div style="margin-bottom: 10px;margin-top: 10px;">
+                    <el-button
+                        v-if="checkedNode && checkedNode.length === 2"
+                        type="primary"
+                        size="mini"
+                        @click="addFile('add',{delFlag:'1'})"
+                        style="width: 80px"
+                    >
+                        新建
+                    </el-button>
+                </div>
+                <div class="tabBoxClass">
+                    <el-table
+                        height="calc(100% )"
+                        class="com-table"
+                        ref="multipleTable"
+                        :data="tableData"
+                        tooltip-effect="dark"
+                        :key="tableData.id"
+                        border
+                        size="small"
+                        style="width:100%"
+                        v-loading="loading"
+                    >
+                        <el-table-column
+                            prop="templateName"
+                            show-overflow-tooltip
+                            label="名称"
+                            min-width="25%"
+                            align="center"
+                        >
+                        </el-table-column>
+                        <el-table-column
+                            prop="createTime"
+                            show-overflow-tooltip
+                            label="创建时间"
+                            min-width="20%"
+                            align="center"
+                        />
+                        <el-table-column
+                            prop="createCity"
+                            show-overflow-tooltip
+                            label="创建科室"
+                            min-width="25%"
+                            align="center"
+                        >
+                        </el-table-column>
+                        <el-table-column
+                            prop="createBy"
+                            show-overflow-tooltip
+                            label="创建人"
+                            min-width="10%"
+                            align="center"
+                        >
+                        </el-table-column>
+                        <el-table-column
+                            prop="stateNm"
+                            show-overflow-tooltip
+                            label="状态"
+                            min-width="10%"
+                            align="center"
+                        >
+                        </el-table-column>
+                        <el-table-column label="操作" align="center" width="150">
+                            <template slot-scope="scope">
+                                <el-button
+                                    :disabled="scope.row.editFlag=='1'?false:true"
+                                    class="font-btn"
+                                    size="mini"
+                                    type="text"
+                                    plain
+                                    @click="addFile('edit',scope.row)"
+                                >编辑
+                                </el-button>
+                                <el-button
+                                    class="font-btn"
+                                    size="mini"
+                                    type="text"
+                                    plain
+                                    @click="addFile('view',scope.row)"
+                                >查看
+                                </el-button>
+                                <el-button
+                                    v-show="scope.row.delFlag=='1'?true:false"
+                                    class="font-btn"
+                                    size="mini"
+                                    type="text"
+                                    plain
+                                    @click="deleteOne(scope.row)"
+                                >删除
+                                </el-button>
+                            </template>
+                        </el-table-column>
+                    </el-table>
+                                            <el-pagination
+                                                class="pageBox"
+                                                @current-change="currchange"
+                                                layout="total, prev, pager, next"
+                                                background
+                                                :total="total"
+                                            >
+                                            </el-pagination>
+                </div>
+            </div>
+        </div>
+        <el-dialog
+            class="p-new-box"
+            size="50%"
+            title="新增目录"
+            :append-to-body="true"
+            :visible.sync="addDialogStatus"
+            :close-on-click-modal="false"
+        >
+            <el-form
+                :model="formData"
+                :rules="rules"
+                ref="ruleForm"
+                label-width="100px"
+                class="demo-ruleForm"
+                style="width: 90%; margin: 30px auto"
+            >
+                <el-form-item label="目录名称:" prop="name">
+                    <el-input
+                        v-model="formData.name"
+                        placeholder="请输入目录名称"
+                    ></el-input>
+                </el-form-item>
+                <el-form-item
+                    label="父级目录:"
+                    prop="parentName"
+                >
+                    <el-input
+                        disabled
+                        v-model="formData.parentName"
+                        placeholder="请输入父级名称"
+                    ></el-input>
+                </el-form-item>
+                <el-form-item label="操作人:" prop="createName">
+                    <el-input
+                        v-model="formData.createId"
+                        disabled
+                    ></el-input>
+                </el-form-item>
+                <div class="drawer-footer" style="text-align: right">
+                    <el-button
+                        type="primary"
+                        size="medium"
+                        @click="submitForm('ruleForm')"
+                    >确认</el-button
+                    >
+                    <el-button
+                        style="margin-right: 40px"
+                        size="medium"
+                        @click="resetForm('ruleForm')"
+                    >取消</el-button
+                    >
+                </div>
+            </el-form>
+        </el-dialog>
+    </div>
+</template>
+<script>
+import Vue from 'vue';
+import simpleSheet from "./sheet.vue";
+import simpleDialog from "./dialog.vue";
+export default {
+    components: {
+        simpleSheet,
+        simpleDialog
+    },
+    data() {
+        return {
+            catalogueName:"部门工作清单",
+            isCreater:"0",//1:创建者 0:非创建者
+            addDialogStatus: false,
+            tooltit: "部门工作清单",
+            filterText: "", // tree搜索value
+            menuList: [], // tree数据源
+            checkedNode: [], // 选中节点信息
+            authData: false, //是否有权限 false无全权限
+            fullscreen: false,
+            formData: {
+                name: "",
+                parentCode: "",
+                parentName: "",
+                createId: JSON.parse(sessionStorage.userInfo).loginNo,
+            },
+            defaultProps: {
+                children: "children",
+                label: "name",
+            },
+            rules: {
+                name: [
+                    {
+                        required: true,
+                        message: "请输入目录名称",
+                        trigger: "change",
+                    },
+                ],
+            },
+
+            tmpId:'',
+            rowData:{},
+            type:'add',
+            workListFlag:true,
+            addOnlineWordFlag:false,
+            loading: false,
+            tableData: [
+                // {
+                //     templateName:"测试",
+                //     createTime:"2022-6-12",
+                //     createCity:"规划开发室",
+                //     createBy:"范岩",
+                //     state:"开",
+                //     delFlag:"1",//1:代表创建人有删除权限 0:不显示
+                //     editFlag:"0"//1:不置灰(状态state字段为开时);0:置灰(状态state字段为关时且不是创建人时)
+                // }
+            ], // 表格数据源
+            infolist: {
+                isFile: "1",
+                title: "", // 材料名称
+                meeting: "", // 会议名称
+                titleBg: "", // 材料背景
+                auth: "1", // 查看权限
+                mkFileShareAttachList: [], // 附件数据
+                parentId: "",
+            }, // 提交表单数据源
+            filerules: {
+                title: [
+                    {
+                        required: true,
+                        message: "请输入材料名称",
+                        trigger: "change",
+                    },
+                ],
+                meeting: [
+                    {
+                        required: true,
+                        message: "请输入会议名称",
+                        trigger: "change",
+                    },
+                ],
+                titleBg: [
+                    {
+                        required: true,
+                        message: "请输入材料背景",
+                        trigger: "change",
+                    },
+                ],
+            },
+            subType: "",
+            total: 0,
+            pageSize: 1,
+            params: {
+                id: "",
+                mkdirId:"3"
+            },
+            paramsSearch: {
+                isFile: "1",
+                id: "",
+            },
+            fileInfo: {
+                type: "bt1n",
+                typename: "上传文件",
+                limit: 5,
+                url: "/market/cmkFileShareNet/upload",
+                fileList: [],
+            },
+            titname: "新增",
+            dialogStatus: false,
+            attList: [],
+            simpleSheetKey:0,
+            workName:'',
+            workData:null,
+        };
+    },
+    methods: {
+        handleSaveData(workName, workData){
+            this.workName = workName;
+            this.workData = workData;
+        },
+        handleFullscreen(fullscreen){
+            if (fullscreen){
+                Vue.set(this, 'fullscreen', fullscreen)
+                /*this.$nextTick(()=>{
+                    this.$refs.simpleSheet.handleFullscreenOption()
+                })*/
+            }else {
+                this.$nextTick(()=>{
+                    this.$refs.simpleSheet.handleFullscreenOption()
+                    Vue.set(this, 'fullscreen', fullscreen)
+                })
+            }
+
+        },
+        saveData(workName, workData){
+            this.workName = workName;
+            this.workData = workData;
+        },
+        // 搜索按钮事件
+        searchMenu() {
+            this.$refs.catalogTree.filter(this.filterText);
+        },
+        // 新增目录-表单提交
+        async submitForm(formName) {
+            let valid = await this.$refs[formName].validate().catch((err) => err);
+            if (valid) {
+                let nm = this.formData.name;
+                if(""===nm.trim()){
+                    this.$message({
+                        type: "error",
+                        message: "新建失败!目录名称不能为空",
+                    });
+                    return;
+                }
+                this.$http({
+                    url:"/market/mkWorkListCatalogue/add",
+                    method: "post",
+                    headers: {
+                        "Content-Type": "application/json",
+                    },
+                    data: this.formData,
+                }).then((res) => {
+                    if (res.data.result === 0) {
+                        this.$message({
+                            type: "success",
+                            message: res.data.desc,
+                        });
+                        this.getData();
+                        this.$refs[formName].resetFields();
+                        this.addDialogStatus = false;
+                    }else {
+                        this.$message({
+                            type: "error",
+                            message: res.data.desc,
+                        });
+                    }
+                });
+            }
+        },
+        // 取消新增目录
+        resetForm(formName) {
+            this.$refs[formName].resetFields();
+            this.addDialogStatus = false;
+        },
+        // 新增目录
+        addMenu(flag) {
+            if (flag === 'detail'){
+                if (!this.checkedNode || this.checkedNode.length !== 1){
+                    this.$message({
+                        type: "warning",
+                        message: "请先选择根目录",
+                    });
+                    return;
+                }
+                this.formData.parentCode = this.checkedNode[0].id
+                this.formData.parentName = this.checkedNode[0].name
+            }else if (flag === 'root'){
+                this.formData.parentCode = 0;
+                this.formData.parentName = ''
+            }
+            this.addDialogStatus = true
+        },
+        // 删除目录
+        delMenu() {
+            if (!this.checkedNode || this.checkedNode.length === 0) {
+                this.$message("请先选中要删除的目录");
+            } else {
+                this.$confirm("即将删除此条数据, 是否删除?", "提示", {
+                    confirmButtonText: "确定",
+                    cancelButtonText: "取消",
+                    type: "warning",
+                })
+                    .then(() => {
+                        this.$http({
+                            url: "/market/mkWorkListCatalogue/del",
+                            method: "post",
+                            headers: {
+                                "Content-Type": "application/json",
+                            },
+                            data: {
+                                id: this.checkedNode[0].id,
+                                parentCode: this.checkedNode[0].parentCode
+                            },
+                        }).then((res) => {
+                            if (res.data.result === 0) {
+                                this.$notify({
+                                    title: "成功",
+                                    message: res.data.desc,
+                                    type: "success",
+                                });
+                                this.checkedNode = [];
+                                //删除成功后渲染右边目录和表格数据
+                                this.catalogueName="部门工作清单";
+                                this.params.mkdirId='-1';//确保查不到数据
+                                this.getList(this.params, this.pageSize);
+                                this.getData();
+                            }else if(res.data.result === 1) {
+                                this.$notify({
+                                    title: "失败",
+                                    message: res.data.desc,
+                                    type: "error",
+                                });
+                            }
+                        });
+                    })
+                    .catch(() => {});
+            }
+        },
+        // tree过滤方法
+        filterNode(value, data) {
+            if (!value) return true;
+            return data.name.indexOf(value) !== -1;
+        },
+        // 点击树节点事件
+        nodeClick(data, node) {
+            this.formData.parentCode = data.parentCode;
+            let clickNode = []
+            this.getParent(node, clickNode)
+            this.checkedNode = clickNode
+            if (clickNode.length === 2){
+                this.catalogueName = clickNode[1].name + '-' + clickNode[0].name
+                this.params.mkdirId = clickNode[0].id + ''
+                this.getList(this.params, this.pageSize);
+            }else if(clickNode.length === 1){
+                //父目录,则显示新建按钮只显示表头
+                this.catalogueName =data.name
+                this.params.mkdirId=data.id;
+                this.getList(this.params, this.pageSize);
+            }
+            //返回列表页面
+            this.addOnlineWordFlag=false;
+            this.workListFlag=true;
+        },
+        getParent(node, list){
+            if (node.level > 0){
+                list.push(node.data)
+                this.getParent(node.parent, list);
+            }
+        },
+        // 获取目录
+        getData() {
+            this.$http({
+                url: "/market/mkWorkListCatalogue/queryList",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: { isFile: "0" },
+            }).then((res) => {
+                if (res.data.result === 0) {
+                    this.menuList = res.data.body;
+                }else {
+                    this.$message({
+                        message: res.data.desc,
+                        type: "error",
+                    });
+                }
+            });
+        },
+        // 获取权限
+        getAuthData() {
+            let menus = JSON.parse(window.sessionStorage.childrenMenus);
+            for(let n=0;n<menus.length;n++){
+                if (menus[n].jspUrl === "/workListCatalogueAuth") {
+                   this.authData = true
+                }
+            }
+        },
+
+
+        handleSave() {
+            // switch (type) {
+            //     case "add":
+            console.log("************")
+            this.addOnlineWordFlag=false;
+            this.workListFlag=true;
+                //     break;
+                // case "edit":
+                //     this.handleVisible("edit");
+                //     break;
+            // }
+            //调用list列表接口根据目录ID
+            // this.handleInit();
+            this.getList(this.params, this.pageSize);
+        },
+        //搜索数据
+        searchInfo(v) {
+            this.paramsSearch = {};
+            v[0] ? this.paramsSearch.title = v[0] : '';
+            this.paramsSearch.isFile = "1";
+            // this.paramsSearch.parentId = this.infolist.parentId;
+            this.pageSize = 1;//重置分页
+            this.getList(this.paramsSearch, this.pageSize);
+        },
+        // 新增在线文档
+        addFile(type,data) {
+            // this.titname = "新增";
+            this.workName = ""
+            this.workData = null
+            this.workListFlag = false;
+            this.addOnlineWordFlag = true;
+            this.type=type;
+            this.isCreater = data.delFlag;
+            this.tmpId=data.id
+            // switch (type) {
+            //     case "add":
+            //         break;
+            //     case "edit":
+            //
+            //         this.rowData=data;
+            //         break;
+            //     case "view":
+            //         this.rowData=data;
+            //         break;
+            // }
+        },
+        // 上传回调
+        uploadBack(v) {
+            this.attList = v;
+        },
+        deleteOne(val) {
+            this.$confirm("即将删除此条数据, 是否删除?", "提示", {
+                confirmButtonText: "确定",
+                cancelButtonText: "取消",
+                type: "warning",
+            })
+                .then(() => {
+                    this.pageSize = 1;
+                    this.$http({
+                        url: "/market/workLists/del",
+                        method: "post",
+                        headers: {
+                            "Content-Type": "application/json",
+                        },
+                        data: {
+                            id: val.id,
+                        },
+                    }).then((res) => {
+                        if (res.data.result == 0) {
+                            this.$message({
+                                message: "删除成功",
+                                type: "success",
+                            });
+                            this.getList(this.params, this.pageSize);
+                        }else if(res.data.result == 1) {
+                            this.$message({
+                                message: res.data.body,
+                                type: "error",
+                            });
+                        }
+                    });
+                })
+                .catch(() => {});
+        },
+        //功能栏
+        iconCli(v) {
+            if (v === 1) {
+                this.getList(this.params, this.pageSize);
+            }
+            if (v === 2) {
+                this.fullscreen = !this.fullscreen;
+            }
+        },
+        // 分页
+        currchange(v) {
+            this.pageSize = v;
+            this.getList(this.params, this.pageSize);
+        },
+        //获取列表
+        getList(v, n) {
+            this.pageSize = n;
+            this.loading = true;
+            this.tableData = [];
+            this.$http({
+                url: "/market/workLists/list",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                    page: '{"pageNo":"' + n + '","pageSize":"10"}',
+                },
+                data: v,
+            }).then((res) => {
+                if(res.data.result==0){
+                    this.tableData=res.data.body.data
+                    this.tableData.forEach(item=>{
+                        item.stateNm=item.state=='1'?'开启':'关闭';
+                    });
+                }else{
+                    this.$message({
+                        message: "获取失败",
+                        type: "error",
+                    });
+                }
+                this.total = res.data.body.totalRecord;
+                this.loading = false;
+            });
+        },
+    },
+    mounted() {
+        this.getData();
+        this.getAuthData();
+    },
+};
+</script>
+<style scoped lang="scss">
+.radviv div {
+    width: 80% !important;
+}
+.pageBox {
+    text-align: right;
+    margin-top: 5px;
+}
+
+.info-line {
+    width: 100%;
+    display: block;
+    // padding-left: 20px;
+
+    div {
+        width: 50%;
+        display: inline-block;
+    }
+
+    span {
+        width: 100px;
+        display: inline-block;
+        text-align: right;
+        font-weight: bold;
+        font-size: 14px;
+        padding-right: 15px;
+
+        i {
+            color: red;
+            display: inline-block;
+            padding-right: 5px;
+        }
+    }
+
+    .el-select,
+    .el-input {
+        width: calc(100% - 100px);
+    }
+
+    .tree {
+        width: calc(100% - 100px);
+    }
+}
+
+.online {
+    width: 100%;
+
+    .el-select {
+        width: calc(100% - 100px);
+    }
+
+    span {
+        vertical-align: top;
+    }
+
+    .el-textarea {
+        width: calc(100% - 100px);
+    }
+}
+</style>
+
+<style lang="scss" scoped>
+.titbox {
+    div {
+        float: right;
+
+        i {
+            font-size: 22px;
+            margin-left: 20px;
+            cursor: pointer;
+        }
+    }
+}
+.container {
+    background-color: #f0f2f5;
+    .clearStyle {
+        cursor: pointer;
+        color: #0b82ff;
+    }
+    .el-col {
+        background-color: white;
+        padding: 0 20px;
+    }
+
+    .container-box {
+        padding: 0;
+        margin-top: 0;
+        height: 100%;
+        background-color: white;
+        padding: 20px;
+    }
+
+    .main-box {
+        overflow: hidden;
+        display: flex;
+        background-color: white;
+        padding: 20px 0;
+
+        > div {
+            background-color: white;
+        }
+
+        .inner-left {
+            width: 320px;
+            padding: 0 20px;
+            border: 1px solid #ddd;
+            border-radius: 5px;
+            height: calc(100vh - 220px);
+
+             .canel-style {
+             	color: #1890ff;
+             	cursor: pointer;
+             	padding-left: 10px;
+             }
+        }
+
+        .inner-right {
+            flex: 1;
+            margin: 0 2%;
+            //overflow-y: auto;
+            //   border-left: 1px solid #ddd;
+            height: calc(100vh - 220px);
+            width: calc(100% - 320px - 4%);
+            .tabBoxClass {
+                height: calc(100% - 120px);
+            }
+        }
+    }
+}
+
+.button-list {
+    padding: 30px 0 10px 0;
+    display: flex;
+    //   justify-content: center;
+    justify-content: space-between;
+}
+
+.choice-style {
+    background: rgb(255, 255, 255);
+}
+
+.tree-action {
+    bottom: 0;
+    width: 100%;
+    // border-top: 1px solid #e8e8e8;
+    padding: 10px 16px;
+    text-align: left;
+    left: 0;
+    background: #fff;
+    border-radius: 0 0 2px 2px;
+}
+
+.tree-line {
+    // .el-tree-node__content {
+    //   padding-left: 0 !important;
+    // }
+
+    .el-tree-node__expand-icon.is-leaf {
+        display: none !important;
+    }
+
+    .el-tree-node {
+        position: relative;
+        padding-left: 16px; // 缩进量
+    }
+
+    .el-tree-node__children {
+        padding-left: 16px; // 缩进量
+    }
+
+    // 竖线
+    .el-tree-node::before {
+        content: "";
+        height: 100%;
+        width: 1px;
+        position: absolute;
+        left: -3px;
+        top: -17px;
+        border-width: 1px;
+        border-left: 1px dashed #52627c;
+    }
+
+    // 当前层最后一个节点的竖线高度固定
+    .el-tree-node:last-child::before {
+        height: 38px; // 可以自己调节到合适数值
+    }
+
+    // 横线
+    .el-tree-node::after {
+        content: "";
+        width: 24px;
+        height: 20px;
+        position: absolute;
+        left: -3px;
+        top: 20px;
+        border-width: 1px;
+        border-top: 1px dashed #52627c;
+    }
+
+    // 去掉最顶层的虚线,放最下面样式才不会被上面的覆盖了
+    & > .el-tree-node::after {
+        border-top: none;
+    }
+
+    & > .el-tree-node::before {
+        border-left: none;
+    }
+
+    // 展开关闭的icon
+    .el-tree-node__expand-icon {
+        font-size: 16px;
+
+        // 叶子节点(无子节点)
+        &.is-leaf {
+            color: transparent;
+            // display: none; // 也可以去掉
+        }
+    }
+}
+.custom-tree-node {
+    flex: 1;
+    display: flex;
+    align-items: center;
+    justify-content: space-between;
+    font-size: 14px;
+    padding-right: 8px;
+    // .item-tit{
+    //     color: #ffffff;
+    // }
+}
+.el-tree ::v-deep .custom-tree-node,
+.el-tree ::v-deep .custom-tree-node .item-tit{
+    overflow: hidden!important;
+    text-overflow:ellipsis!important;
+    white-space: nowrap!important;
+}
+</style>

+ 631 - 0
src/pages/main/departWorkLists/sheet.vue

@@ -0,0 +1,631 @@
+<!--
+ * @Author       : yuanrunwei
+ * @Date         : 2021-12-04 14:23:58
+ * @LastEditors: daiqisheng
+ * @LastEditTime: 2022-05-10 11:24:05
+ * @FilePath     : \spfm-market-front\src\pages\main\performance\components\sheet.vue
+-->
+<template>
+    <fullscreen id="containerClass" :fullscreen.sync="fullscreen" class="containerClass" style=" background-color: #ffffff">
+        <div class="sheet-container" id="full-container">
+            <div style="    margin-top: 20px; margin-left: 30px;" >
+                <span style="  font-size: small;margin-right: 10px;">控制权限</span>
+                <el-select v-model="state" placeholder="请选择" :disabled="this.type=='view'|| (this.type=='edit' && this.isCreater !='1') ?true:false " size="mini">
+                    <el-option
+                        v-for="item in options"
+                        :key="item.value"
+                        :label="item.label"
+                        :value="item.value">
+                    </el-option>
+                </el-select>
+            </div>
+            <div class="flex-justify-align-end margin-bottom-20">
+                <!--      <span-->
+                <!--        v-if="['template'].includes(attribute)"-->
+                <!--        ><span class="sheet-container-require">*</span>模板类型:</span-->
+                <!--      >-->
+                <div style="display: flex;
+                        margin-right: 20px;
+                        background: rgb(2, 135, 251);
+                        padding: 2px;
+                        border-radius: 4px;">
+                    <el-upload
+                        action
+                        :http-request="request"
+                        :on-change="handleChange"
+                        :show-file-list="false"
+                        :disabled="this.type=='view'?true:false"
+                    >
+                        <el-button :disabled="this.type=='view'?true:false" size="mini">选择文件</el-button>
+                    </el-upload>
+                    <span style="font-size: 12px;margin-right: 5px;line-height: 2;color: white;">{{ fileListName }}</span>
+                </div>
+                <el-button
+                    type="danger"
+                    @click="handleResave"
+                    size="mini"
+                    :disabled="this.type=='view'?true:false"
+                >保存</el-button
+                >
+                <!--            :disabled="handleForbid()"-->
+
+                <el-button  size="mini" type="danger" @click="handleDownload">导出</el-button>
+                <el-button size="mini" type="primary" @click="returnList">返回</el-button>
+                <el-button size="mini" type="primary" @click="handleFullscreen">{{ showName }}</el-button>
+            </div>
+            <div id="luckysheet" class="sheet-container-block_class" ></div>
+        </div>
+    </fullscreen>
+</template>
+
+<script>
+import luckyexcel from "luckyexcel";
+import { exportExcel } from "./export";
+export default {
+    components: {
+    },
+    props: {
+        isCreater: {
+            type: String,
+            default: "",
+        },
+        type: {
+            type: String,
+            default: "view", // view 查看 edit 编辑
+        },
+        attribute: {
+            type: String,
+            default: "template", // template 模板 order 工单 file 文件
+        },
+        id: {
+            default: null,
+        },
+        // 接收人
+        receiver: {
+            type: String,
+            default: "",
+        },
+        // 模板状态按钮判断
+        status: { type: String, default: "" },
+        mkdirId:{
+            type: String,
+            default:'',
+        },
+        fullscreen:{
+            type:Boolean,
+            default:false
+        },
+        workName:{
+            type:String
+        },
+        workData:{
+            type:Object
+        }
+    },
+    data() {
+        return {
+            options: [{
+                value: '1',
+                label: '开启'
+            },{
+                value: '0',
+                label: '关闭'
+            }],
+            state:'1',
+            form: {
+                charge: [
+                    {
+                        person: [],
+                        col_start: "",
+                        col_end: "",
+                        row_start: "",
+                        row_end: "",
+                    },
+                ],
+                array: [],
+                type: null,
+                permission_type: null,
+                col_start: "",
+                col_end: "",
+                row_start: "",
+                row_end: "",
+            },
+            approveForm: {
+                type: "",
+                comments: "",
+                list: [
+                    {
+                        label: "同意",
+                        value: "同意",
+                    },
+                    {
+                        label: "不同意",
+                        value: "不同意",
+                    },
+                    {
+                        label: "其他",
+                        value: "3",
+                    },
+                ],
+            },
+            superviserules: {
+                distribute: [
+                    { required: true, message: "请选择派发周期", trigger: "change" },
+                ],
+                write: [
+                    { required: true, message: "请选择填报周期", trigger: "change" },
+                ],
+                endTime: [
+                    { required: true, message: "请选择截止时间", trigger: "change" },
+                ],
+            },
+            superviseForm: {
+                distribute: "", // 派单周期
+                write: "", // 填写周期
+                endTime: "", // 截止时间
+            },
+            originSuperviseForm: {},
+            pickOptions: {
+                disabledDate(time) {
+                    return time.getTime() < new Date().getTime() - 8.64e7;
+                },
+            },
+            pickWrite: {
+                disabledDate(time) {
+                    return time.getTime() < new Date().getTime() - 8.64e7;
+                },
+            },
+            // 可提交标志
+            addFlag: "0",
+            // 督办标志
+            superviseFlag: null,
+            rowList: [],
+            isDisable: true,
+            issued_id: null,
+            template_id: null,
+            visible: false,
+            templateType: "",
+            // 督办
+            supervise: false,
+            manager_approve: false,
+            row_list: [],
+            column_list: [],
+            charge_list: [],
+            type_options: [
+                {
+                    value: 1,
+                    label: "按行",
+                },
+                // {
+                //     value: 2,
+                //     label: "按列",
+                // },
+            ],
+            fileListName:'未选择任何文件',
+            showName: '全屏显示'
+        };
+    },
+    methods: {
+        request(){},
+        handleInit() {
+            if (this.id) {
+                if (this.workData){
+                    this.handleCreate({
+                        json: this.workData,
+                        name: this.workName,
+                        type: "json",
+                    });
+                }else {
+                    this.handleQuery();
+                }
+            } else {
+                if (this.workData){
+                    this.handleCreate({
+                        json: this.workData,
+                        name: this.workName,
+                        type: "json",
+                    });
+                }else {
+                    this.handleCreate();
+                }
+            }
+            if (this.fullscreen){
+                this.$nextTick(()=>{
+                    this.handleFullscreenOption();
+                    this.showName = '退出全屏'
+                })
+            }
+        },
+        returnList(){
+            if (this.fullscreen){
+                this.handleFullscreenOption()
+                this.$emit("handleFullscreen", false)
+            }
+            this.$emit("save");
+        },
+        handleAllow() {
+            //查看无法编辑
+            return this.type=="view"?false:true;
+        },
+        addInputPlace(){
+            this.$nextTick(()=>{
+                let element = document.getElementById('luckysheet_info_detail_input');
+                element.placeholder = '请输入标题'
+                element.style['min-width'] = '120px'
+            })
+        },
+        async handleQuery() {
+            const {
+                data: {
+                    templateContent,
+                    templateName,
+                    state,
+                },
+            } = await this.$http({
+                url: "/market/workLists/getWorkById",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {id:this.id},
+            });
+            this.state=state;
+            this.handleCreate({
+                json: templateContent ? JSON.parse(templateContent) : {},
+                name: templateName,
+                type: "json",
+            });
+        },
+        async handleCreate({ file, json, type, name } = {}) {
+            let that = this;
+            if('add'== this.type){
+                window.luckysheet.destroy();
+                window.luckysheet.create({
+                    container: "luckysheet",
+                    lang: "zh",
+                    showsheetbar: false,
+                    data:[{"name": "777e1d91-2075-446f-b163-03c5e0ee0e0c"}],
+                    plugins:['chart'],
+                    userInfo:undefined,
+                    title:""
+                })
+                this.addInputPlace();
+                if (!this.fullscreen){
+                    let interval = setInterval(()=>{
+                        let elementById = document.getElementById("luckysheet-icon-morebtn-div");
+                        if (elementById){
+                            elementById.style.width = '55%'
+                            clearInterval(interval)
+                        }
+                    },300)
+                }
+            }
+            switch (type) {
+                case "file":
+                    if (file) {
+                        await new Promise((resolve) => {
+                            luckyexcel.transformExcelToLucky(file, (export_json) => {
+                                let name = export_json.info.name;
+                                if(!name.endsWith(".xlsx")){
+                                    this.$message({
+                                        type: "error",
+                                        message: '导入失败!只支持.xlsx格式文件',
+                                    });
+                                }else {
+                                    this.fileListName = name;
+                                    let lastIndexOf = export_json.info.name.lastIndexOf('.');
+                                    name = name.substring(0, lastIndexOf);
+                                    window.luckysheet.destroy();
+                                    export_json.sheets.name = '777e1d91-2075-446f-b163-03c5e0ee0e0c'
+                                    window.luckysheet.create({
+                                        container: "luckysheet",
+                                        lang: "zh",
+                                        plugins:['chart'],
+                                        showsheetbar: false,
+                                        data:export_json.sheets,
+                                        title:name,
+                                        userInfo:export_json.info.name.creater
+
+                                    })
+                                    this.addInputPlace();
+                                    if (!this.fullscreen){
+                                        let interval = setInterval(()=>{
+                                            let elementById = document.getElementById("luckysheet-icon-morebtn-div");
+                                            if (elementById){
+                                                elementById.style.width = '55%'
+                                                clearInterval(interval)
+                                            }
+                                        },300)
+                                    }
+                                }
+                                resolve();
+                            });
+                        });
+                    }
+                    break;
+                case "json":
+                    if (json) {
+                        window.luckysheet.destroy();
+                        let data=[];
+                        data[0]=json;
+                        if('view'==this.type){
+                            window.luckysheet.create({
+                                container: "luckysheet",
+                                lang: "zh",
+                                plugins:['chart'],
+                                showsheetbar: false,
+                                data:data,
+                                title:name,
+                                userInfo:name.creater,
+                                hook: {
+                                    cellEditBefore: function ([
+                                                                  { row_focus: row, column_focus: column },
+                                                              ]) {
+                                        if (!that.handleAllow({ row, column })) {
+                                            that.$message.error("当前为【查看】状态,无法编辑!");
+                                        }
+                                    },
+                                    // cellUpdated: function (row, column) {
+                                    //   that.rowList.push(row);
+                                    // },
+                                    cellUpdateBefore: function (row, column) {
+                                        console.log(row, column);
+                                        if (!that.handleAllow({ row, column })) {
+                                            return false;
+                                        }
+                                    },
+                                    rangePasteBefore: function ([
+                                                                    { row_focus: row, column_focus: column },
+                                                                ]) {
+                                        if (!that.handleAllow({ row, column })) {
+                                            that.$message.error("当前为【查看】状态,无法编辑!");
+                                            return false;
+                                        }
+                                    },
+                                    updated: function ({ range }) {
+                                        const middle = range.map((el) => {
+                                            return that.paramsArr(el.row[0], el.row[1]);
+                                        });
+                                        let changedList = middle.join(",").split(",");
+                                        that.rowList.push(...changedList);
+                                    },
+                                }
+                            });
+                        }else{
+                            window.luckysheet.create({
+                                container: "luckysheet",
+                                lang: "zh",
+                                plugins:['chart'],
+                                showsheetbar: false,
+                                data:data,
+                                title:name,
+                                userInfo:name.creater
+                            });
+                            this.addInputPlace();
+                            if (!this.fullscreen){
+                                let interval = setInterval(()=>{
+                                    let elementById = document.getElementById("luckysheet-icon-morebtn-div");
+                                    if (elementById){
+                                        elementById.style.width = '55%'
+                                        clearInterval(interval)
+                                    }
+                                },300)
+                            }
+                        }
+                    }
+                    break;
+            }
+        },
+        async handleChange(response, fileList) {
+            this.handleCreate({ file: response.raw, type: "file" });
+        },
+        handleDownload() {
+            exportExcel(
+                window.luckysheet.getAllSheets(),
+                window.luckysheet.getWorkbookName()
+            );
+        },
+        // 判断数组是否有值
+        confirmArrayData(data) {
+            if (data instanceof Array) {
+                if (data.length) {
+                    for (let i = 0; i < data.length; i++) {
+                        if (data[i] instanceof  Array){
+                            for (let j = 0; j < data[i].length; j++) {
+                                if ((data[i][j] && data[i][j].v) || (data[i][j] && data[i][j].ct && data[i][j].ct.s && data[i][j].ct.s.length > 0 && data[i][j].ct.s[0].v)) {
+                                    return true;
+                                }
+                            }
+                        }else {
+                            return false;
+                        }
+                    }
+                    return false;
+                } else {
+                    return false;
+                }
+            } else {
+                return false;
+            }
+        },
+        // 通用方法用于转化全局
+        paramsArr(start, end) {
+            const arr = [];
+            console.log(start, end);
+            for (let i = Number(start); i <= Number(end); i++) {
+                arr.push(i);
+            }
+            return arr.join(",");
+        },
+        handleFullscreen() {
+            const data = window.luckysheet.getSheet({name:"777e1d91-2075-446f-b163-03c5e0ee0e0c"});
+            const workbook_name = window.luckysheet.getWorkbookName();
+            this.$emit('saveData', workbook_name, data)
+            if (this.fullscreen === false){
+                this.$emit("handleFullscreen", true)
+            }
+            if (this.fullscreen === true){
+                this.$emit("handleFullscreen", false)
+            }
+        },
+        handleFullscreenOption(){
+            const element = document.body;
+            const is_fullscreen =
+                document.fullScreen ||
+                document.mozFullScreen ||
+                document.webkitIsFullScreen;
+            if (!is_fullscreen) {
+                let elementById = document.getElementById("containerClass");
+                elementById.style.height = 'calc(100vh - 100px)';
+                //进入全屏,多重短路表达式
+                (element.requestFullscreen && element.requestFullscreen()) ||
+                (element.mozRequestFullScreen && element.mozRequestFullScreen()) ||
+                (element.webkitRequestFullscreen &&
+                    element.webkitRequestFullscreen()) ||
+                (element.msRequestFullscreen && element.msRequestFullscreen());
+            }else {
+                let elementById = document.getElementById("containerClass");
+                elementById.style.height = 'calc(100vh - 220px)';
+               //退出全屏,三目运算符
+               document.exitFullscreen
+                 ? document.exitFullscreen()
+                 : document.mozCancelFullScreen
+                 ? document.mozCancelFullScreen()
+                 : document.webkitExitFullscreen
+                 ? document.webkitExitFullscreen()
+                 : "";
+            }
+        },
+        handleResave() {
+            const sheet_name = window.luckysheet.getSheet().name;
+            const data = window.luckysheet.getSheet(sheet_name);
+            const workbook_name = window.luckysheet.getWorkbookName();
+            let empty = this.confirmArrayData(data.data);
+            if (!empty){
+                this.$message({
+                    type: "error",
+                    message: '文档内容为空',
+                });
+                return;
+            }
+            if('请输入标题'== workbook_name || !workbook_name){
+                this.$message({
+                    type: "error",
+                    message: '请输入标题',
+                });
+                return;
+            }
+            let value = {
+                // templateId: this.id,
+                templateContent: JSON.stringify(data), //文件内容
+                templateName: workbook_name, //模板名称
+                templateUrl: "", //文件链接
+                state: this.state,
+                mkdirId: this.mkdirId
+            };
+            if("edit" ==this.type){
+                value.id=this.id;
+            }
+            this.$http({
+                url: "/market/workLists/saveOrUpdate",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: value,
+            }).then((res) => {
+                console.log("----res",res);
+                if(res.data.result==0){
+                    this.$message({
+                        type: "success",
+                        message: "保存成功",
+                    });
+                }else{
+                    this.$message({
+                        type: "error",
+                        message: res.data.body,
+                    });
+                }
+                if (this.fullscreen){
+                    this.handleFullscreenOption()
+                    this.$emit("handleFullscreen", false)
+                }
+                this.$emit("save");
+            });
+        },
+    },
+    mounted() {
+        this.handleInit();
+        // this.handleChargeList();
+    },
+    destroyed() {
+        window.luckysheet.destroy();
+    },
+};
+</script>
+
+<style lang="scss" scope>
+.sheet-container {
+    position: relative;
+    width: 100%;
+    height: 100%;
+    &-block {
+        overflow: hidden;
+        position: absolute;
+        width: 100%;
+        height: 85%;
+    }
+    &-require {
+        color: red;
+    }
+    .el-input {
+        width: 200px;
+        margin-right: 10px;
+    }
+}
+.form {
+    &-input {
+        margin-top: 5px;
+        .el-input {
+            width: 150px;
+            .el-input__inner {
+                height: 30px !important;
+                line-height: 30px !important;
+            }
+        }
+    }
+    &-content {
+        margin: 0px 10px;
+    }
+    //&-select {
+    //  .el-input {
+    //    width: 100px;
+    //    .el-input__inner {
+    //      height: 30px !important;
+    //      line-height: 30px !important;
+    //    }
+    //  }
+    //}
+}
+.containerClass{
+    background: #fff;
+    border-radius: 5px;
+    height: calc(100vh - 220px);
+    width: calc(100% - 6px);
+    float: left;
+    display: inline-block;
+    overflow: hidden;
+}
+.sheet-container-block_class{
+    height: calc(100% - 96px);
+    width: 100%;
+}
+.containerClass #luckysheet .luckysheet .fa{
+    font:normal normal normal 14px/1 FontAwesome !important;
+}
+</style>
+<style lang="scss">
+body #luckysheet-modal-dialog-slider-pivot .fa{
+    font:normal normal normal 14px/1 FontAwesome !important;
+}
+</style>

+ 1 - 1
src/pages/main/fileList/fileList.vue

@@ -8,7 +8,7 @@
     >
       <div class="titbox">
         <!-- <h2>部门预算模板管理</h2> -->
-        <h2>在线文档编辑</h2>
+        <h2 class="font-ui">在线文档编辑</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 14 - 11
src/pages/main/fileList/fileListIndex.vue

@@ -96,15 +96,18 @@
 	.el-tabs__content {
 		display: none;
 	}
-	.spanbox{
-		display: block;
-		text-align: center;
-		padding: 10px 0;
-		border-right: 3px solid #f1f1f1;
-		margin-right: 20px;
-	}
-	.bg{
-		border-right: 3px solid #0080FF;
-		color: #007AFF;
-	}
+	.spanbox {
+    display: inline-block;
+    text-align: center;
+    width: 166px;
+    height: 36px;
+    margin: 10px;
+    line-height: 36px;
+    background: #d8eaf6;
+    color: #000;
+  }
+  .bg {
+    color: white;
+    background: #0583cd;
+  }
 </style>

+ 1 - 1
src/pages/main/flow/flowInit.vue

@@ -2,7 +2,7 @@
   <div id="select-dom" style="margin: 15px 0 0 0" v-loading="loading">
     <fullscreen :fullscreen.sync="fullscreen">
       <div class="titbox">
-        <h2>绩效模板</h2>
+        <h2 class="font-ui">绩效模板</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/form/fromIndex.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>表单配置</h2>
+        <h2 class="font-ui">表单配置</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 38 - 25
src/pages/main/fullcalendar/calendar.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <basic-block title="">
+    <!-- <basic-block title=""> -->
       <!--
             <div class="tag-tip">
               <el-tag size="small" color="#f08f00">审核中</el-tag>
@@ -20,13 +20,14 @@
                   </div>
                 </el-col>
                 -->
-        <el-col :span="19">
+        <el-col :span="24">
           <div class="calendar-box">
             <!-- 日历菜单栏 -->
             <full-calendar
               ref="fullCalendar"
               style="height: 100%"
               :options="calendarOptions"
+              id="calendar"
               alt=""
             >
             </full-calendar>
@@ -228,7 +229,7 @@
         </el-form>
       </el-dialog>
       <!--日程新增弹窗end-->
-    </basic-block>
+    <!-- </basic-block> -->
   </div>
 </template>
 
@@ -331,9 +332,9 @@ export default {
         height: 700,
         plugins: [dayGridPlugin, interactionPlugin],
         headerToolbar: {
-          left: "prev,next today",
-          center: "title",
-          right: "dayGridMonth,dayGridWeek,dayGrid",
+          left: "title",
+          center: "",
+          right: "today prev dayGridMonth,dayGridWeek,dayGrid next",
           // right: 'agendaWeek,dayGridWeek,dayGrid'
         },
         buttonText: {
@@ -352,6 +353,7 @@ export default {
         dateClick: this.handleDateClick, //点击日历
         eventClick: this.handleEventClick, //日历日程点击
         eventsSet: this.handleEvents,
+
         select: this.handleDateSelect,
         eventMouseEnter: this.eventmouseover, //鼠标滑过
         eventMouseLeave: this.eventmouseout, //鼠标离开
@@ -473,7 +475,7 @@ export default {
         },
         data: { isFile: "0" },
       }).then((res) => {
-        console.log("res", res);
+        // console.log("res", res);
         if (res.data && res.data.length > 0) {
           this.array = res.data;
           // this.getReservationList(this.array.scheduleList0);
@@ -491,7 +493,7 @@ export default {
         },
         data: { isFile: "0" },
       }).then((res) => {
-        console.log(res);
+        // console.log(res);
         // console.log('res====', typeof res.data)
         // console.log(res.data)
         this.auth = res.data;
@@ -499,7 +501,7 @@ export default {
       });
     },
     getReservationList(arrayData) {
-      console.log(arrayData);
+      // console.log(arrayData);
       let newArr = [];
       this.subList = arrayData;
       // let year = new Date(new Date()).getFullYear();
@@ -587,7 +589,7 @@ export default {
       //   });
       // });
       arrayData.forEach((item) => {
-        console.log("item", item);
+        // console.log("item", item);
         newArr.push({
           newBeginTime: item.begindate.split(" ")[1].substr(0, 5),
           newEndTime: item.enddate.split(" ")[1].substr(0, 5),
@@ -603,7 +605,7 @@ export default {
         });
       });
       this.calendarOptions.events = newArr;
-      console.log(this.calendarOptions.events);
+      // console.log(this.calendarOptions.events);
 
       // debugger
     },
@@ -646,7 +648,7 @@ export default {
       this.form.startTime = this.getHoursMin(beginDate);
       this.form.enddate = this.dealWithTime(endDate);
       this.form.endTime = this.getHoursMin(endDate);
-      console.log(this.form);
+      // console.log(this.form);
       // this.$forceUpdate()
       this.form = { ...this.form };
     },
@@ -700,7 +702,7 @@ export default {
     },
     //鼠标滑过事件
     eventmouseover(calEvent, event) {
-      console.log(123);
+      // console.log(123);
       this.xuanchuang(calEvent, event);
     },
     eventmouseout() {
@@ -728,9 +730,9 @@ export default {
     },
     //悬停窗体删除按钮
     delxuan() {
-        if (!this.auth) {
-            return;
-        }
+      if (!this.auth) {
+        return;
+      }
       this.delStatus = true;
     },
     // 点击日历
@@ -796,10 +798,10 @@ export default {
     //     }
     // },
     handleEvents(events) {
-      console.log(events, "事件3");
+      // console.log(events, "事件3");
     },
     handleDateSelect(selectInfo) {
-      console.log(selectInfo, "限制");
+      // console.log(selectInfo, "限制");
     },
     // 切换上一个按钮
     prev() {
@@ -825,7 +827,7 @@ export default {
           id: this.idx,
         },
       }).then((res) => {
-        console.log(res);
+        // console.log(res);
         location.reload();
       });
     },
@@ -835,7 +837,7 @@ export default {
         if (valid) {
           this.form.begindate = `${this.form.begindate} ${this.form.startTime}`;
           this.form.enddate = `${this.form.enddate} ${this.form.endTime}`;
-          console.log(this.form, "数据");
+          // console.log(this.form, "数据");
           this.dialogVisible = false;
           if (this.form.id === "") {
             this.form === "";
@@ -857,7 +859,7 @@ export default {
               },
               data: this.form,
             }).then((res) => {
-              console.log(res);
+              // console.log(res);
               this.loadinged = false;
               if (res.data.result === 1) {
                 this.$message({
@@ -874,7 +876,7 @@ export default {
             });
           }
         } else {
-          console.log("error submit!!");
+          // console.log("error submit!!");
           return false;
         }
       });
@@ -889,7 +891,7 @@ export default {
       this.$refs["form"].resetFields();
     },
     onStartTime(val) {
-      console.log("val", val);
+      // console.log("val", val);
       this.form.startTime = val;
     },
     //开始时间 option显示/隐藏
@@ -908,7 +910,7 @@ export default {
           return result;
         });
         // 第二次过滤,过滤掉后端返回的数据
-        console.log(this.newfrom);
+        // console.log(this.newfrom);
         this.newfrom.map((_item) => {
           this.timeOptions = this.timeOptions.map((_timeOptionItem) => {
             // debugger
@@ -1030,9 +1032,20 @@ export default {
   border: none !important;
   background-color: #fff !important;
 }
-::v-deep .el-select__tags{
+::v-deep .el-select__tags {
   flex-flow: inherit;
   overflow: hidden;
   flex-wrap: inherit;
 }
+.calendar-box {
+  margin: 10px;
+}
+::v-deep .fc-col-header-cell-cushion {
+  font-size: 18px;
+  line-height: 50px;
+}
+::v-deep .fc .fc-daygrid-day-top {
+  justify-content: center;
+  margin-top: 5px;
+}
 </style>

+ 1 - 1
src/pages/main/homeMarket/magicboxAudit/index.vue

@@ -6,7 +6,7 @@
           <el-row>
             <el-col :span="24">
                 <div class="car-line">
-                    <h2 style="margin-left: 20px;padding-top: 10px;">魔百和大屏广告自有业务承载审批流程</h2>
+                    <h2 class="font-ui" style="margin-left: 20px;padding-top: 10px;">魔百和大屏广告自有业务承载审批流程</h2>
                     <div class="adv-box">
                         <div class="adv-tit" @click="jumpadv('0')">
                             <i class="el-icon-time"></i>

+ 1 - 1
src/pages/main/homeMarket/tvAssess/tvAssessIndex.vue

@@ -6,7 +6,7 @@
                     <el-row>
                         <el-col :span="24">
                             <div class="car-line">
-                                <h2 style="margin-left: 20px;padding-top: 10px;">互联网电视合作考核流程</h2>
+                                <h2 class="font-ui" style="margin-left: 20px;padding-top: 10px;">互联网电视合作考核流程</h2>
                                 <div class="adv-box">
 <!--                                    <div class="adv-tit" >
                                         <i class="el-icon-time"></i>

+ 1 - 1
src/pages/main/homeMarket/tvIntroduction/index.vue

@@ -4,7 +4,7 @@
       <div class="mc-top">
         <div class="mc-top-left">
             <div class="car-line">
-                <h2 style="margin-left: 20px;padding-top: 10px;">互联网电视合作引入流程</h2>
+                <h2 class="font-ui" style="margin-left: 20px;padding-top: 10px;">互联网电视合作引入流程</h2>
                 <div class="adv-box">
                     <div class="adv-tit" @click="jNotice('1')">
                         <i class="el-icon-time"></i>

+ 18 - 4
src/pages/main/index.vue

@@ -1,13 +1,13 @@
 <template>
   <div class="page">
+    <el-header>
+      <p-header :username="getUserName" @collapse="collapsed"></p-header>
+    </el-header>
     <el-container style="height: 100%">
       <el-aside>
         <p-menu :data="getMenus"></p-menu>
       </el-aside>
-      <el-container style="background-color: #f2f2f2">
-        <el-header>
-          <p-header :username="getUserName" @collapse="collapsed"></p-header>
-        </el-header>
+      <el-container style="background-color: #E8E8E8">
         <el-main style="height: 100%">
           <div class="tab">
             <p-tabs :list="getTabList"></p-tabs>
@@ -117,9 +117,23 @@ export default {
 
 .views {
   height: calc(100% - 97px);
+  div{
+    border-radius: 5px;
+  }
 }
 
 .el-main {
   padding: 0px !important;
 }
+// ::v-deep .font-ui {
+//   display: inline-block;
+//   font-weight: bold;
+//   color: #8eb7e4;
+//   text-shadow: 0 0 1px currentColor, -1px -1px 1px #000, 0 -1px 1px #000,
+//     1px -1px 1px #000, 1px 0 1px #000, 1px 1px 1px #000, 0 1px 1px #000,
+//     -1px 1px 1px #000, -1px 0 1px #000;
+//   -webkit-filter: url(#diff1);
+//   filter: url(#diff1); /*background:#def;padding:0 .2em*/
+//   font-size: 20px;
+// }
 </style>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 305 - 910
src/pages/main/leader/index.vue


+ 284 - 0
src/pages/main/leader/leaderHome.vue

@@ -0,0 +1,284 @@
+<template>
+  <div class="mc-wrap">
+    <div class="container-box">
+      <div class="mc-top">
+        <div class="mc-top-left">
+          <el-row>
+            <el-col :span="24">
+              <div class="car-line">
+                <el-carousel height="40px" direction="vertical" trigger="click">
+                  <el-carousel-item
+                    v-for="item in noticeData"
+                    :key="item.noticeId"
+                  >
+                    <div class="car-box">
+                      <i class="el-icon-message-solid"></i>
+                      <span>公告</span>
+                      <span style="color: #0b82ff" @click="uploadsee(item)">{{
+                        item.noticeTitle
+                      }}</span>
+                      <span @click="jNotice">更多</span>
+                    </div>
+                  </el-carousel-item>
+                </el-carousel>
+              </div>
+            </el-col>
+          </el-row>
+          <el-row>
+            <el-col :span="24">
+              <leaderTag :dynamicTags="dynamicTags"></leaderTag>
+            </el-col>
+          </el-row>
+          <el-row>
+            <div v-if="status">
+              <el-col :span="18">
+                <hometask></hometask>
+              </el-col>
+              <el-col :span="6">
+                <numberhits :numHits="numHits"></numberhits>
+              </el-col>
+            </div>
+            <div v-else>
+              <el-col :span="24">
+                <hometask></hometask>
+              </el-col>
+            </div>
+          </el-row>
+          <el-row style="margin-top: 10px">
+            <ProcessingInstruction></ProcessingInstruction>
+          </el-row>
+        </div>
+      </div>
+    </div>
+  </div>
+</template>
+<script>
+import ProcessingInstruction from "./leaderHprocess.vue";
+import hometask from "./leaderhomeTask.vue";
+import numberhits from "./numberHits.vue";
+import leaderTag from "./leaderTag.vue";
+
+export default {
+  components: {
+    ProcessingInstruction,
+    hometask,
+    numberhits,
+    leaderTag,
+  },
+  data() {
+    return {
+      noticeData: [], // 公告数据源
+      status: true,
+      dynamicTags: [], //已添加的常用功能
+      numHits: [], //点击率排行
+      menuqList: [], //有权限的菜单
+    };
+  },
+  methods: {
+    
+    //获取员工信息
+    getpeo() {
+      this.$http({
+        url: "/sysmgr/csysdept/queryGroupListByLoginNo",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {},
+      }).then((res) => {
+        if (res.data[0].parentorgid === "00440063000000000000") {
+          this.status = false;
+        }
+      });
+    },
+    //获取公告
+    getNotice() {
+      this.$http({
+        url: "/sysmgr/notice/queryPage",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+          page: '{"pageNo":"' + 1 + '","pageSize":"10"}',
+        },
+        data: {
+          sts: 2,
+        },
+      }).then((res) => {
+        this.noticeData = res.data.data;
+      });
+    },
+    //预览公告
+    uploadsee(v) {
+      this.dialogStatus = true;
+      this.infolist = v;
+      this.$http({
+        url: "/sysmgr/cnotice/queryInfo",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          noticeId: v.noticeId,
+        },
+      }).then((res) => {
+        this.uploadstatus = !this.uploadstatus;
+        this.datalist.attList = [];
+        this.datalist.attList = res.data.attList;
+        // if(res.data.attList){
+        //     res.data.attList.forEach(item => {
+        //         this.attList.push({
+        //             name: item.fileName,
+        //             url: '',
+        //             id: item.id,
+        //             fileName: item.fileName
+        //         });
+        //     })
+        //     this.datalist.attList = this.attList;
+        //     console.log(this.datalist.attList)
+        // }
+      });
+    },
+    jNotice() {
+      this.$router.push("/noticec");
+      // this.setabList("公告管理","/noticec");
+    },
+    //获取初始Tags
+    getTags() {
+      this.$http({
+        url: "/market/usuaFun/queryFun",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {},
+      }).then((res) => {
+        this.dynamicTags = res.data;
+      });
+    },
+    //获取点击量
+    getnumberHit() {
+      // this.$http({
+      //   url: "/sysmgr/sys/login/auth/functions",
+      //   method: "post",
+      //   headers: {
+      //     "Content-Type": "application/json",
+      //   },
+      //   data: {
+      //     // roleCode: val.roleCode,
+      //     // roleCode: "647733085966045184"
+      //   },
+      // }).then((res) => {
+      //   let men = res.data.functions;
+      //   let newmen = [];
+      //   for (let i in men) {
+      //     if (men[i].jspUrl != "#") {
+      //       newmen.push(men[i]);
+      //     }
+      //   }
+      //   console.log("array", newmen);
+      //   this.menuqList = newmen;
+      //   let newmen1 = [];
+      //   for (let b in this.menuqList) {
+      //     for (let a in this.numHits) {
+      //       if (this.menuqList[b].jspUrl == this.numHits[a].jsp_url) {
+      //         newmen1.push(this.numHits[a]);
+      //       }
+      //     }
+      //   }
+      //   console.log(this.numHits)
+      //   console.log([...newmen1]);
+      // });
+      this.$http({
+        url: "/market/clickRate/queryClickRate",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {},
+      }).then((res) => {
+        let men = res.data;
+        let newmen = [];
+        for (let i in men) {
+          if (men[i].jspUrl != "#") {
+            newmen.push(men[i]);
+          }
+        }
+        this.numHits = newmen;
+      });
+    },
+  },
+  mounted() {
+    this.getpeo();
+    this.getNotice();
+    this.getTags();
+    this.getnumberHit();
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.mc-wrap {
+  box-sizing: border-box !important;
+  margin: 0;
+  height: calc(100vh - 120px);
+  overflow: hidden;
+  width: 100%;
+  padding-right: 10px;
+
+  .container-box {
+    width: 100%;
+    height: calc(100% - 40px);
+    margin-top: 10px;
+    overflow-y: scroll;
+    padding: 0 0 0 15px;
+  }
+}
+
+.mc-top {
+  display: flex;
+  width: 100%;
+}
+
+.mc-wrap .mc-top-left {
+  width: 100%;
+  margin-right: 15px;
+}
+
+.mc-wrap .mc-top-right {
+  width: calc(20% - 15px);
+  background-color: white;
+  overflow: hidden;
+
+  .inner-box {
+    width: calc(100% + 20px);
+    background-color: white;
+    overflow-y: scroll;
+  }
+}
+.car-line {
+  height: 40px;
+  background: #fff;
+  border-radius: 5px;
+  // margin: 10px 0 0 0;
+
+  .car-box {
+    padding: 0 20px;
+    line-height: 40px;
+    color: #333;
+
+    span {
+      cursor: pointer;
+      margin-right: 20px;
+    }
+
+    span:first-child {
+      cursor: auto;
+    }
+
+    span:last-child {
+      float: right;
+      margin-right: 0;
+    }
+  }
+}
+</style>

+ 363 - 0
src/pages/main/leader/leaderHprocess.vue

@@ -0,0 +1,363 @@
+<template>
+  <div class="pmain">
+    <div class="layui-col-md6" v-for="(ite, index) in funcData" :key="index">
+      <div class="mc-nomal-title">
+        <span style="font-size: 15px">{{ ite.lineName }}</span>
+      </div>
+      <div class="bg-style">
+        <div class="mc-function-box">
+          <div
+            v-for="item in ite.unitList"
+            :key="item.unitName"
+            class="function-box"
+          >
+            <div
+              v-for="items in item.modList"
+              :key="items.moduleName"
+              class="f-box-info"
+            >
+              <el-badge
+                :value="items.noTaskNum"
+                :max="99"
+                :hidden="items.noTaskNum == 0"
+              >
+                <div class="elbadgefather">
+                  <div class="elbadgeson1">
+                    <i
+                      @click="jumpTo(items)"
+                      v-if="items.sts == '0' && items.icon"
+                      v-html="items.icon"
+                    >
+                      {{ items.icon }}
+                    </i>
+                    <i
+                      @click="jumpTo(items)"
+                      :class="'el-icon-user'"
+                      v-if="items.sts == '0' && !items.icon"
+                      style="background: #0b82ff"
+                    ></i>
+                    <i
+                      :class="'iconfont icon-tongji'"
+                      v-if="items.sts != '0'"
+                      style="background: #ddd"
+                    ></i>
+                    <el-tooltip
+                      class="item"
+                      effect="dark"
+                      :content="items.moduleName"
+                      placement="bottom"
+                    >
+                    </el-tooltip>
+                  </div>
+                  <div class="elbadgeson2">
+                    <div
+                      class="span"
+                      style="float: right"
+                      @click="jumpTo(items)"
+                      :title="items.moduleName"
+                    >
+                      {{ items.moduleName }}
+                    </div>
+                    <div class="f-box-tit">
+                      {{ item.unitName }}
+                    </div>
+                  </div>
+                </div>
+              </el-badge>
+            </div>
+            <div class="f-box-info" v-if="item.modList.length == 0"></div>
+          </div>
+        </div>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      funcData: [],
+      boxHeight: {
+        height: "auto",
+      },
+      outsideModules: [],
+      groupName: "",
+    };
+  },
+  methods: {
+    getList() {
+      let loginNo = JSON.parse(window.sessionStorage.userInfo).loginNo;
+      this.$http({
+        url: "/market/cmkline/queryInfo",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {},
+      }).then((res) => {
+        this.funcData = res.data.lineList;
+        this.outsideModules = res.data.outsideModules;
+        this.groupName = res.data.groupName;
+      });
+    },
+    hAuto() {
+      let boxLinel = this.$refs.boxLinel.offsetHeight;
+      let boxLiner = this.$refs.boxLiner.offsetHeight;
+      if (boxLinel > boxLiner) {
+        this.boxHeight.height = boxLinel + "px";
+      } else {
+        this.boxHeight.height = boxLiner + "px";
+      }
+    },
+    jumpTo(v) {
+      if (v.moduleUrl) {
+        if (this.groupName == "default") {
+          //加入外部人员权限控制start
+          if (this.outsideModules.length > 0) {
+            let moduleIndex = -1;
+            for (let i = 0; i < this.outsideModules.length; i++) {
+              if (this.outsideModules[i].moduleUrl == v.moduleUrl) {
+                moduleIndex = i;
+                break;
+              }
+            }
+            if (moduleIndex < 0) {
+              global.$vm.$notify.error({
+                title: "提示",
+                message: "暂无使用权限",
+              });
+              return;
+            }
+          }
+          //加入外部人员权限控制end
+        } else {
+          let childrenMenus = JSON.parse(window.sessionStorage.childrenMenus);
+          if (childrenMenus != undefined && childrenMenus.length > 0) {
+            let moduleIndex = -1;
+            for (let a = 0; a < childrenMenus.length; a++) {
+              if (childrenMenus[a].jspUrl == v.moduleUrl) {
+                moduleIndex = a;
+                break;
+              }
+            }
+            if (moduleIndex < 0) {
+              global.$vm.$notify.error({
+                title: "提示",
+                message: "暂无使用权限",
+              });
+              return;
+            }
+          }
+        }
+
+        this.$router.push({
+          path: v.moduleUrl,
+        });
+        this.setabList(v.moduleName, v.moduleUrl);
+      }
+    },
+    setabList(n, p) {
+      let params = {
+        children: "",
+        name: n,
+        rountPath: p,
+        target: "_self",
+      };
+      // console.log(this.$store.state.tabList)
+      // for (let i = 0; i < this.$store.state.tabList.length; i++) {
+      //     if (this.$store.state.tabList[i].name === params.name) {
+      //         this.$store.state.tabList[i] = params;
+      //     }
+      // }
+      // let set = new Set([...this.$store.state.tabList, params]);
+      // set.add(params);
+      // this.$store.commit("setDefaultActive", params.rountPath);
+      // this.$store.commit("setTabList", Array.from(set));
+    },
+  },
+  mounted() {},
+  created() {
+    this.getList();
+  },
+};
+</script>
+
+<style scoped lang="scss">
+.mc-red {
+  color: #ff6060;
+}
+
+.pmain {
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: space-between;
+
+  .layui-col-md6 {
+    display: inline-block;
+    margin-bottom: 10px;
+    width: 100%;
+    background: #fafafa;
+    border-radius: 5px;
+  }
+}
+
+.mc-nomal-title {
+  padding-left: 38px;
+  background: url(../../../../src/assets/dbyb-bt-bj3.jpg) no-repeat 10px center;
+  // font-size: 20px;
+  line-height: 20px;
+  width: 150px;
+  // font-weight: 500;
+  color: rgb(255, 255, 255);
+  padding-bottom: 10px;
+  padding-top: 10px;
+}
+
+.mc-nomal-checked {
+  color: #999;
+  font-size: 12px;
+}
+
+.mc-title-box {
+  display: flex;
+  justify-content: space-between;
+}
+
+.mc-nomal-show-num {
+  display: flex;
+  justify-content: space-between;
+  text-align: center;
+  margin-top: 10px;
+
+  .num-box {
+    margin-right: 40px;
+  }
+}
+
+.mc-right-title {
+  margin-top: 10px;
+  text-align: right;
+  padding-right: 20px;
+}
+
+.mc-nomal-num {
+  font-size: 20px;
+}
+
+.bg-style {
+  // height: 60px;
+  // overflow-y: auto;
+  margin: 5px;
+  .custom-tree-node {
+    width: 100%;
+  }
+
+  .tree-box {
+    overflow: hidden;
+    height: 26px;
+    width: 100%;
+
+    img {
+      width: 26px;
+      height: 26px;
+      float: left;
+    }
+
+    div {
+      display: inline-block;
+      height: 26px;
+      line-height: 26px;
+    }
+  }
+}
+
+.mc-function-box {
+  margin-left: 5px;
+  margin-right: 5px;
+  .function-box {
+    display: inline;
+
+    .f-box-tit {
+      font-size: 14px;
+      color: #4aaff5;
+    }
+
+    .f-box-info {
+      display: inline-block;
+      height: 60px;
+      width: 16%;
+      i {
+        width: 40px;
+        height: 40px;
+        border-radius: 18px;
+        display: block;
+        color: #fff;
+        text-align: center;
+        line-height: 40px;
+        cursor: pointer;
+      }
+
+      .span {
+        // font-size: 13px;
+        text-align: left;
+        width: 110px;
+        white-space: nowrap;
+        text-overflow: ellipsis;
+        overflow: hidden;
+        // height: 40px;
+        line-height: 20px;
+        cursor: pointer;
+      }
+      .f-box-tit {
+        // font-size: 13px;
+        text-align: left;
+        // width: 200px;
+        // height: 20px;
+        line-height: 20px;
+        cursor: pointer;
+      }
+      .span:hover {
+        color: blue;
+      }
+
+      .mybadge {
+        top: 0;
+        right: 40px;
+      }
+
+      .icon {
+        width: 100% !important;
+        height: 100% !important;
+      }
+    }
+  }
+  .function-box:nth-child(2) {
+    .f-box-tit {
+      color: #9dc914;
+    }
+  }
+  .function-box:nth-child(3) {
+    .f-box-tit {
+      color: #ffa042;
+    }
+  }
+  .function-box:nth-child(4) {
+    .f-box-tit {
+      color: palevioletred;
+    }
+  }
+}
+
+::v-deep .el-badge__content {
+  // margin-top: 8px;
+  margin-right: -20px;
+}
+.elbadgefather {
+  display: flex;
+}
+.elbadgeson2 {
+  display: flex;
+  flex-direction: column;
+}
+</style>

+ 374 - 0
src/pages/main/leader/leaderTag.vue

@@ -0,0 +1,374 @@
+<template>
+  <div class="numbox">
+    <div class="numboxx">
+      <span>常用功能</span>
+      <span
+        @click="RowTitle"
+        style="float: right; cursor: pointer; color: rgb(82, 212, 252)"
+        >设置>></span
+      >
+    </div>
+    <div class="foxbox">
+      <el-tag
+        v-for="(item, index) in dynamicTags"
+        :key="index"
+        size="large"
+        type="info"
+        class="tags"
+        :disable-transitions="false"
+      >
+        <i
+          @click="tagrouter($event, item, index)"
+          class="icon"
+          v-if="item.icon"
+          v-html="item.icon"
+        >
+          {{ item.icon }}
+        </i>
+        <span @click="tagrouter($event, item, index)">
+          <!-- <i class="el-icon-date"></i>  -->
+          {{ item.functionName }}
+        </span>
+      </el-tag>
+      <el-button
+        class="button-new-tag"
+        type="info"
+        size="small"
+        @click="showMenu()"
+      >
+        ✚ 添加功能
+      </el-button>
+      <el-dialog
+        title="添加常用功能"
+        :visible.sync="menuStatus"
+        width="40%"
+        :close-on-press-escape="false"
+        :show-close="false"
+        :destroy-on-close="true"
+        :modal-append-to-body="false"
+        :close-on-click-modal="false"
+      >
+        <div style="height: 300px; overflow: auto">
+          <el-tree
+            class="tree-line-style"
+            :expand-on-click-node="true"
+            :auto-expand-parent="true"
+            :default-expand-all="true"
+            :default-checked-keys="checkedMenu"
+            :data="menuList"
+            show-checkbox
+            @check="checkChange"
+            node-key="functionCode"
+          >
+            <span class="custom-tree-node" slot-scope="{ node }">
+              <span>
+                <!-- <span
+                  v-if="node.data.children.length > 0"
+                  style="color: #009cff"
+                  class="iconfont icon-wenjianjia"
+                ></span> -->
+                <span
+                  style="color: #fdb441"
+                  class="iconfont icon-wenjian"
+                ></span>
+                {{ node.data.functionName }}
+              </span>
+            </span>
+          </el-tree>
+        </div>
+        <div slot="footer" class="dialog-footer">
+          <el-button
+            @click="
+              () => {
+                menuStatus = false;
+              }
+            "
+            >取 消</el-button
+          >
+          <el-button v-show="subBtn" @click="subMenu">确 定</el-button>
+        </div>
+      </el-dialog>
+      <el-dialog
+        title="设置常用功能"
+        :visible.sync="setStatus"
+        width="40%"
+        :close-on-press-escape="false"
+        :show-close="false"
+        :destroy-on-close="true"
+        :modal-append-to-body="false"
+        :close-on-click-modal="false"
+      >
+        <div style="height: 300px; overflow: auto">
+          <el-tree
+            class="tree-line-style"
+            :expand-on-click-node="true"
+            :auto-expand-parent="true"
+            :default-expand-all="true"
+            draggable
+            :allow-drop="collapse"
+            :default-checked-keys="checkedMenu"
+            :data="dynamicTags"
+            show-checkbox
+            @check="checkChange"
+            node-key="functionCode"
+          >
+            <span class="custom-tree-node" slot-scope="{ node }">
+              <span>
+                <!-- <span
+                  v-if="node.data.children.length > 0"
+                  style="color: #009cff"
+                  class="iconfont icon-wenjianjia"
+                ></span> -->
+                <span
+                  style="color: #fdb441"
+                  class="iconfont icon-wenjian"
+                ></span>
+                {{ node.data.functionName }}
+              </span>
+            </span>
+          </el-tree>
+        </div>
+        <div slot="footer" class="dialog-footer">
+          <el-button
+            @click="
+              () => {
+                setStatus = false;
+              }
+            "
+            >取 消</el-button
+          >
+          <el-button v-show="subBtn" @click="deletMenu">删 除</el-button>
+          <el-button v-show="subBtn" @click="saveMenu">保存</el-button>
+        </div>
+      </el-dialog>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  props: ["dynamicTags"],
+  data() {
+    return {
+      // dynamicTags: [],
+      inputVisible: false,
+      inputValue: "",
+      roleData: "", // 某一条数据
+      checkedMenu: [], // 选中节点的functionCode
+      subBtn: true,
+      menuStatus: false,
+      setStatus: false,
+      menuList: [], // tree数据源
+      checkedNodes: [],
+    };
+  },
+  methods: {
+    collapse(moveNode, inNode, type) {//只允许拖拽
+      if (type === "inner") return;
+      if (moveNode.nextSibling === undefined) {
+        return type === "prev";
+      } else if (inNode.nextSibling === undefined) {
+        return type === "next";
+      } else if (moveNode.nextSibling.id !== inNode.id) {
+        return type === "prev";
+      } else {
+        return type === "next";
+      }
+    },
+    tagrouter(e, item, index) {
+      // console.log(e, item, index);
+      this.$router.push(item.jspUrl);
+    },
+    RowTitle() {
+      this.setStatus = true;
+    },
+    // 树形图 复选框监听事件
+    checkChange(a, b, c, d) {
+      this.checkedNodes = b.checkedNodes;
+      let list = {};
+      for (let i = 0; i < b.halfCheckedNodes.length; i++) {
+        list = Object.assign({}, b.halfCheckedNodes[i]);
+        list.children = "";
+        this.checkedNodes.push(list);
+      }
+    },
+    // 弹出菜单配置弹窗
+    showMenu() {
+      this.checkedMenu = [];
+      this.menuStatus = true;
+      this.$http({
+        url: "/sysmgr/sys/login/auth/functions",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          // roleCode: val.roleCode,
+          // roleCode: "647733085966045184"
+        },
+      }).then((res) => {
+        let men = res.data.functions;
+        let newmen = [];
+        for (let i in men) {
+          if (men[i].jspUrl != "#") {
+            newmen.push(men[i]);
+          }
+        }
+        // console.log("array", newmen);
+        this.menuList = newmen;
+      });
+    },
+    //设置 保存按钮
+    saveMenu() {
+      console.log(this.dynamicTags);
+      this.$http({
+        url: "/market/usuaFun/reSetOrder",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          data: this.dynamicTags,
+        },
+      }).then((res) => {
+        if (res.data.result == 0) {
+          this.$notify({
+            title: "保存成功",
+            message: res.data.desc,
+            type: "success",
+          });
+          this.setStatus = false;
+          location.reload();
+        }
+      });
+    },
+    //删除常用功能
+    deletMenu() {
+      this.$http({
+        url: "/market/usuaFun/delete",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          data: this.checkedNodes,
+        },
+      }).then((res) => {
+        if (res.data.result == 0) {
+          this.$notify({
+            title: "删除成功",
+            message: res.data.desc,
+            type: "success",
+          });
+          this.setStatus = false;
+          location.reload();
+        }
+      });
+    },
+
+    // 提交常用功能
+    subMenu() {
+      // let checknode = [];
+      // this.checkedNodes.map(function (item, index) {
+      //   console.log(item.jspUrl); // 1
+      //   checknode.push(item.jspUrl);
+      //   checknode.push(item.functionName);
+      // });
+      // console.log(checknode)
+      this.$http({
+        url: "/market/usuaFun/save",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          data: this.checkedNodes,
+        },
+      }).then((res) => {
+        if (res.data.result == 0) {
+          this.$notify({
+            title: "成功",
+            message: res.data.desc,
+            type: "success",
+          });
+          this.menuStatus = false;
+          location.reload();
+        }
+      });
+    },
+  },
+  mounted() {},
+};
+</script>
+<style lang="scss" scoped>
+.numbox {
+  width: 100%;
+  background: #fff;
+  margin-top: 10px;
+  // padding-top: 10px;
+  padding-left: 10px;
+  border-radius: 5px;
+
+  .numboxx {
+    border-bottom: 1px solid #e1e1e1;
+    padding-bottom: 5px;
+    padding-left: 5px;
+    padding-right: 5px;
+    font-size: 16px;
+    font-weight: 600;
+  }
+  .foxbox {
+    background: #fff;
+    margin-left: 5px;
+  }
+  .tags {
+    margin: 5px;
+    float: left;
+    width: 165px;
+    padding: 0;
+    height: 50px;
+    // background: url(../../../../src/assets/djlph-bt-bj.jpg) no-repeat 5px center;
+    span {
+      cursor: pointer;
+      display: inline-block;
+      font-size: 14px;
+      line-height: 50px;
+      overflow: hidden;
+      text-overflow: ellipsis; /*超出部分省略号表示*/
+      width: 110px;
+      text-align: left;
+    }
+    .icon {
+      float: left;
+      width: 50px;
+      height: 50px;
+      cursor: pointer;
+    }
+  }
+  .button-new-tag {
+    margin: 5px;
+    width: 165px;
+    float: left;
+    height: 50px;
+    font-size: 16px;
+  }
+}
+.el-button--info,
+.el-button--info:focus,
+.el-button--info.is-active,
+.el-button--info:active {
+  background: #f2f2f2;
+  color: #161616;
+  border-color: #f2f2f2;
+}
+.el-button--info:hover {
+  background: #66a4a7;
+  border-color: #66a4a7;
+  color: #161616;
+}
+.el-tag--info {
+  background: #f2f2f2;
+  color: #161616;
+  border-color: #f2f2f2;
+}
+</style>

+ 725 - 0
src/pages/main/leader/leaderhomeTask.vue

@@ -0,0 +1,725 @@
+<template>
+  <div style="display: flex; justify-content: space-between">
+    <div class="taskbox">
+      <div class="tit">
+        <span class="span1" @click="tabboxclick1"
+          >我的待办 ({{ this.niticList.length }})</span
+        >
+        <span class="span2" @click="tabboxclick2">我的已办</span>
+        <span class="span3" @click="tabboxclick3">我的发起</span>
+        <!-- <span class="span" @click="more">更多>></span> -->
+      </div>
+      <div class="fatherbox">
+        <div class="tabbox">
+          <!-- 我的待办列表 -->
+          <el-table
+            :header-cell-style="{ background: '#F2F2F2' }"
+            :cell-style="{ background: '#FaFaFa' }"
+            v-if="tabbox1"
+            class="com-table"
+            ref="multipleTable"
+            :data="niticList"
+            tooltip-effect="dark"
+            size="small"
+            style="width: 100%; font-size: 16px; background: '#FaFaFa'"
+            height="442px"
+          >
+            <el-table-column prop="woTitle" label="工单标题" align="center">
+              <template slot-scope="scope">
+                
+                <span
+                  :title="scope.row.woTitle"
+                  @click="RowTitle(scope.row)"
+                  :style="
+                    scope.row.woTypeDesc == '预警工单'
+                      ? 'cursor: pointer;color:red;float:left;display:inline-block;width:150px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;text-align:left;'
+                      : 'cursor: pointer;color:blue;float:left;display:inline-block;width:150px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;text-align:left;'
+                  "
+                  ><span style="float: left; color: #afb2d8; margin-right: 5px"
+                  >•</span
+                >{{ scope.row.woTitle }}</span
+                >
+              </template>
+            </el-table-column>
+            <el-table-column
+              prop="procName"
+              label="流程名称"
+              align="center"
+              width="180"
+            >
+              <template slot-scope="scope">
+                <span>{{ scope.row.procName }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              prop="assigneName"
+              label="上一步处理人"
+              align="center"
+              width="110"
+            >
+              <template slot-scope="scope">
+                <span>{{ $desensitization(scope.row.assigneName, 1) }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              prop="clsj"
+              label="上一步处理时间"
+              align="center"
+              width="120"
+            >
+              <template slot-scope="scope">
+                <span>{{ scope.row.clsj }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              prop="opName"
+              label="发起姓名"
+              align="center"
+              width="80"
+            >
+              <template slot-scope="scope">
+                <span>{{ scope.row.opName }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              prop="createTime"
+              label="发起时间"
+              align="center"
+              width="120"
+            >
+              <template slot-scope="scope">
+                <span>{{ scope.row.createTime }}</span>
+              </template>
+            </el-table-column>
+          </el-table>
+          <el-pagination
+            class="pageBox"
+            @current-change="currchangeDdaiban"
+            layout="total,prev, pager, next"
+            background
+            page-size="10"
+            :total="totalDaiban"
+            v-if="tabbox1"
+          >
+          </el-pagination>
+        </div>
+        <div class="tabbox">
+          <!-- 我的已办列表 -->
+          <el-table
+            :header-cell-style="{ background: '#F2F2F2' }"
+            :cell-style="{ background: '#FaFaFa' }"
+            class="com-table"
+            ref="tableDatayj"
+            v-if="tabbox2"
+            :data="tableDatayj"
+            tooltip-effect="dark"
+            size="small"
+            style="width: 100%; font-size: 16px; background: '#FaFaFa'"
+            height="442px"
+          >
+            <el-table-column prop="woTitle" label="工单标题" align="center">
+              <template slot-scope="scope">
+                <span style="float: left; color: #afb2d8; margin-right: 5px"
+                  >•</span
+                >
+                <span
+                  @click="RowDoneTitle(scope.row)"
+                  style="cursor: pointer; color: blue; float: left"
+                  >{{ scope.row.woTitle }}</span
+                >
+              </template>
+            </el-table-column>
+            <el-table-column prop="procName" label="流程名称" align="center">
+              <template slot-scope="scope">
+                <span>{{ scope.row.procName }}</span>
+              </template>
+            </el-table-column>
+
+            <el-table-column
+              prop="opName"
+              label="发起姓名"
+              align="center"
+              width="120"
+            >
+              <template slot-scope="scope">
+                <span>{{ scope.row.opName }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              prop="createTime"
+              label="发起时间"
+              align="center"
+              width="180"
+            >
+              <template slot-scope="scope">
+                <span>{{ scope.row.createTime }}</span>
+              </template>
+            </el-table-column>
+          </el-table>
+          <el-pagination
+            class="pageBox"
+            v-if="tabbox2"
+            @current-change="currchangeDone"
+            layout="total,prev, pager, next"
+            background
+            :total="totalDone"
+            page-size="10"
+          >
+          </el-pagination>
+        </div>
+        <div class="tabbox">
+          <!-- 我的发起列表 -->
+          <el-table
+            :header-cell-style="{ background: '#F2F2F2' }"
+            :cell-style="{ background: '#FaFaFa' }"
+            class="com-table"
+            ref="OpList"
+            :data="OpList"
+            v-if="tabbox3"
+            tooltip-effect="dark"
+            size="small"
+            style="width: 100%; font-size: 16px; background: '#FaFaFa'"
+            height="442px"
+          >
+            <el-table-column prop="woTitle" label="工单标题" align="center">
+              <template slot-scope="scope">
+                <span style="float: left; color: #afb2d8; margin-right: 5px"
+                  >•</span
+                >
+                <span
+                  @click="RowlaunchTitle(scope.row)"
+                  style="cursor: pointer; color: blue; float: left"
+                  >{{ scope.row.woTitle }}</span
+                >
+              </template>
+            </el-table-column>
+            <el-table-column prop="procName" label="流程名称" align="center">
+              <template slot-scope="scope">
+                <span>{{ scope.row.procName }}</span>
+              </template>
+            </el-table-column>
+
+            <el-table-column
+              prop="createTime"
+              label="发起时间"
+              align="center"
+              width="180"
+            >
+              <template slot-scope="scope">
+                <span>{{ scope.row.createTime }}</span>
+              </template>
+            </el-table-column>
+          </el-table>
+          <el-pagination
+            class="pageBox"
+            @current-change="currchangeOp"
+            layout="total,prev, pager, next"
+            background
+            :total="totalOp"
+            v-if="tabbox3"
+            page-size="10"
+          >
+          </el-pagination>
+        </div>
+      </div>
+      <!-- 查看待办弹窗 -->
+      <el-dialog
+        title="查看"
+        :visible.sync="WorkOrderStatus"
+        width="50%"
+        :close-on-press-escape="false"
+        :show-close="true"
+        :destroy-on-close="true"
+        :modal-append-to-body="false"
+        :close-on-click-modal="false"
+      >
+        <div style="height: 450px">
+          <el-form :inline="true" :model="StatusList" class="demo-form-inline">
+            <el-form-item label="工单标题">
+              <el-input
+                v-model="StatusList.woTitle"
+                placeholder="工单标题"
+                disabled
+              />
+            </el-form-item>
+            <el-form-item label="流程名称">
+              <el-input
+                v-model="StatusList.procName"
+                placeholder="流程名称"
+                disabled
+              />
+            </el-form-item>
+          </el-form>
+          <h3>流程轨迹</h3>
+          <el-table :data="WorkOrderList" style="width: 100%" max-height="350">
+            <el-table-column prop="createTime" label="节点开始时间" />
+            <el-table-column prop="stepName" label="节点名称" width="180" />
+            <el-table-column prop="assigneeName" label="处理角色" width="180" />
+            <el-table-column prop="opTime" label="处理时间" />
+          </el-table>
+          <el-button class="diobtn" @click="dlogStatus()">处理</el-button>
+        </div>
+      </el-dialog>
+      <!-- 查看已办弹窗 -->
+      <el-dialog
+        title="查看"
+        :visible.sync="DoneStatus"
+        width="50%"
+        :close-on-press-escape="false"
+        :show-close="true"
+        :destroy-on-close="true"
+        :modal-append-to-body="false"
+        :close-on-click-modal="false"
+      >
+        <div style="height: 450px">
+          <el-form :inline="true" :model="StatusList" class="demo-form-inline">
+            <el-form-item label="工单标题">
+              <el-input
+                v-model="StatusList.woTitle"
+                placeholder="工单标题"
+                disabled
+              />
+            </el-form-item>
+            <el-form-item label="流程名称">
+              <el-input
+                v-model="StatusList.procName"
+                placeholder="流程名称"
+                disabled
+              />
+            </el-form-item>
+          </el-form>
+          <h3>流程轨迹</h3>
+          <el-table :data="DoneList" style="width: 100%" max-height="350">
+            <el-table-column prop="createTime" label="节点开始时间" />
+            <el-table-column prop="stepName" label="节点名称" width="180" />
+            <el-table-column prop="assigneeName" label="处理角色" width="180" />
+            <el-table-column prop="opTime" label="处理时间" />
+          </el-table>
+          <el-button class="diobtn" @click="dlogStatus()">查看详情</el-button>
+        </div>
+      </el-dialog>
+      <!-- 查看发起弹窗 -->
+      <el-dialog
+        title="查看"
+        :visible.sync="launchStatus"
+        width="50%"
+        :close-on-press-escape="false"
+        :show-close="true"
+        :destroy-on-close="true"
+        :modal-append-to-body="false"
+        :close-on-click-modal="false"
+      >
+        <div style="height: 450px">
+          <el-form :inline="true" :model="StatusList" class="demo-form-inline">
+            <el-form-item label="工单标题">
+              <el-input
+                v-model="StatusList.woTitle"
+                placeholder="工单标题"
+                disabled
+              />
+            </el-form-item>
+            <el-form-item label="流程名称">
+              <el-input
+                v-model="StatusList.procName"
+                placeholder="流程名称"
+                disabled
+              />
+            </el-form-item>
+          </el-form>
+          <h3>流程轨迹</h3>
+          <el-table :data="launchList" style="width: 100%" max-height="350">
+            <el-table-column prop="createTime" label="节点开始时间" />
+            <el-table-column prop="stepName" label="节点名称" width="180" />
+            <el-table-column prop="assigneeName" label="处理角色" width="180" />
+            <el-table-column prop="opTime" label="处理时间" />
+          </el-table>
+        </div>
+      </el-dialog>
+      <!-- 处理弹窗 -->
+      <el-dialog
+        title="处理"
+        :visible.sync="WorkOrderStatus1"
+        width="40%"
+        :close-on-press-escape="false"
+        :show-close="true"
+        :destroy-on-close="true"
+        :modal-append-to-body="false"
+        :close-on-click-modal="false"
+      >
+        <div style="height: 450px">
+          <iframe
+            height="100%"
+            width="100%"
+            :src="dialogdiv"
+            frameborder="0"
+          ></iframe>
+        </div>
+      </el-dialog>
+    </div>
+  </div>
+</template>
+<script>
+export default {
+  components: {},
+  // props:["tableDatayj","niticList"],
+  data() {
+    return {
+      tabbox1: true, //待办
+      tabbox2: false, //已办
+      tabbox3: false, //发起
+      niticList: [], //待办列表
+      tableDatayj: [], //已办列表
+      OpList: [], //我的发起列表
+      WorkOrderStatus: false, //查看待办弹窗
+      launchStatus: false, //查看我的发起弹窗
+      DoneStatus: false, //查看已办弹窗
+      WorkOrderStatus1: false, //处理弹窗
+      dialogdiv: "", //iframe
+      StatusList: [], //form表单里列表
+      WorkOrderList: [], //我的待办流程节点
+      DoneList: [], //我的已办流程节点
+      launchList: [], //我的发起流程节点
+      urlllll: "", //跳转路由
+      totalDone: 0, //已办分页
+      totalDaiban: 0, //已办分页
+      totalOp: 0, //已办分页
+      params: {},
+      pageSize: 1,
+      pageSizeDone: 1,
+      pageSizeDdaiban: 1,
+      pageSizeOp: 1,
+    };
+  },
+  methods: {
+    //处理按钮
+    dlogStatus() {
+      // this.WorkOrderStatus = false;
+      // this.WorkOrderStatus1 = true;
+      this.$router.push(this.urlllll);
+      console.log(this.urlllll);
+    },
+    //查看标题按钮按钮
+    RowTitle(v) {
+      this.StatusList = v;
+      // let url= v.actionUrl;
+      // console.log(url+111);
+      // // this.dialogdiv="/static/views/insideFilecollect/launch.html"
+      // this.dialogdiv=url.replace("/views","/static/views")
+      // this.dialogdiv=url.replace("/static/views","/static/views")
+      // this.dialogdiv=url.replace("/dist/views/","/static/views/")
+      // console.log( this.dialogdiv+"new");
+      this.WorkOrderStatus = true;
+      this.$http({
+        url: "/market/cwo/queryProcStepByWono",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          woNo: v.woNo,
+        },
+      }).then((res) => {
+        this.WorkOrderList = res.data;
+      });
+      this.$http({
+        url: "/market/cwo/redirectDealPage",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          procId: v.procId,
+        },
+      }).then((res) => {
+        this.urlllll = res.data[0].jspUrl;
+        // console.log(this.urlllll)
+        // if(this.urlllll=="#"){
+        //   this.urlllll=res.data[1].jspUrl
+        // }
+        console.log(this.urlllll);
+      });
+    },
+    //我的已办查看按钮
+    RowDoneTitle(v) {
+      this.StatusList = v;
+      this.DoneStatus = true;
+      this.$http({
+        url: "/market/cwo/queryProcStepByWono",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          woNo: v.woNo,
+        },
+      }).then((res) => {
+        this.DoneList = res.data;
+      });
+       this.$http({
+        url: "/market/cwo/redirectDealPage",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          procId: v.procId,
+        },
+      }).then((res) => {
+        this.urlllll = res.data[0].jspUrl;
+        // console.log(this.urlllll)
+        // if(this.urlllll=="#"){
+        //   this.urlllll=res.data[1].jspUrl
+        // }
+        console.log(this.urlllll);
+      });
+    },
+
+    //我的发起查看按钮
+    RowlaunchTitle(v) {
+      this.StatusList = v;
+      this.launchStatus = true;
+      this.$http({
+        url: "/market/cwo/queryProcStepByWono",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          woNo: v.woNo,
+        },
+      }).then((res) => {
+        this.launchList = res.data;
+      });
+    },
+
+    //更多按钮
+    more() {
+      console.log(11);
+    },
+
+    //待办列表初始化
+    daiban(v, n) {
+      this.pageSizeDdaiban = n;
+      this.$http({
+        url: "/market/cwo/queryQaToDoList",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+          page: '{"pageNo":"' + n + '","pageSize":"10"}',
+        },
+        data:'{"pageNo":"' + n + '","pageSize":"10"}',
+      }).then((res) => {
+        this.niticList = res.data.data;
+        this.totalDaiban = res.data.totalRecord;
+      });
+    },
+
+    //已办列表初始化
+    getListyj(v, n) {
+      this.pageSizeDone = n;
+      let _this = this;
+      this.$http({
+        url: "/market/cwo/queryQaFinishList",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+          page: '{"pageNo":"' + n + '","pageSize":"10"}',
+        },
+        data:'{"pageNo":"' + n + '","pageSize":"10"}',
+      }).then((res) => {
+        this.tableDatayj = res.data.data;
+        this.totalDone = res.data.totalRecord;
+      });
+    },
+    //待办分页
+    currchangeDdaiban(v) {
+      this.pageSizeDdaiban = v;
+      this.daiban(this.params, this.pageSizeDdaiban);
+    },
+    //已办分页
+    currchangeDone(v) {
+      this.pageSizeDone = v;
+      this.getListyj(this.params, this.pageSizeDone);
+    },
+    //已办分页
+    currchangeOp(v) {
+      this.pageSizeOp = v;
+      this.getOPlist(this.params, this.pageSizeOp);
+    },
+    //我的发起列表初始化
+    getOPlist(v, n) {
+      this.pageSizeOp = n;
+      this.$http({
+        url: "/market/cwo/queryOpList",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+          page: '{"pageNo":"' + n + '","pageSize":"10"}',
+        },
+        data:'{"pageNo":"' + n + '","pageSize":"10"}',
+      }).then((res) => {
+        this.OpList = res.data.data;
+        this.totalOp = res.data.totalRecord;
+      });
+    },
+    tabboxclick1() {
+      this.tabbox1 = true;
+      this.tabbox2 = false;
+      this.tabbox3 = false;
+      document.querySelector(".span1").style.color = "blue";
+      document.querySelector(".span2").style.color = "black";
+      document.querySelector(".span2").style.border = 0;
+      document.querySelector(".span1").style.borderBottom = "2px solid blue";
+      document.querySelector(".span3").style.color = "black";
+      document.querySelector(".span3").style.border = 0;
+      document.querySelector(".com-table").style.backgroundColor = "#FaFaFa";
+    },
+    tabboxclick2() {
+      this.tabbox1 = false;
+      this.tabbox2 = true;
+      this.tabbox3 = false;
+      document.querySelector(".com-table").style.backgroundColor = "#FaFaFa";
+      document.querySelector(".span1").style.border = 0;
+      document.querySelector(".span2").style.borderBottom = "2px solid blue";
+      document.querySelector(".span2").style.color = "blue";
+      document.querySelector(".span1").style.color = "black";
+      document.querySelector(".span3").style.color = "black";
+      document.querySelector(".span3").style.border = 0;
+    },
+    tabboxclick3() {
+      this.tabbox1 = false;
+      this.tabbox2 = false;
+      this.tabbox3 = true;
+      document.querySelector(".com-table").style.backgroundColor = "#FaFaFa";
+      document.querySelector(".span1").style.color = "black";
+      document.querySelector(".span2").style.color = "black";
+      document.querySelector(".span1").style.border = 0;
+      document.querySelector(".span2").style.border = 0;
+      document.querySelector(".span3").style.borderBottom = "2px solid blue";
+      document.querySelector(".span3").style.color = "blue";
+    },
+  },
+  mounted() {
+    this.daiban({}, 1);
+    this.getListyj({}, 1);
+    this.getOPlist({}, 1);
+    this.userInfo = JSON.parse(window.sessionStorage.userInfo);
+  },
+  created() {},
+};
+</script>
+
+<style lang="scss" scoped>
+.diobtn {
+  float: right;
+  margin-right: 30px;
+}
+.taskbox {
+  width: 100%;
+  display: inline-block;
+}
+
+.tit {
+  margin-top: 10px;
+  clear: both;
+  height: 47px;
+  // background: #fff;
+  background-image: linear-gradient(#fafafa, #d4edfd);
+  line-height: 47px;
+  padding: 0 20px;
+  font-size: 16px;
+  border-top-left-radius: 5px;
+  border-top-right-radius: 5px;
+  justify-content: space-between;
+  .com-table {
+    background: "#FaFaFa";
+  }
+  .span {
+    float: right;
+    color: orange;
+  }
+  .span1 {
+    display: inline-block;
+    color: blue;
+    text-align: center;
+    height: 46px;
+    font-weight: 900;
+    width: 120px;
+    border-bottom: 2px solid blue;
+  }
+  .span2 {
+    display: inline-block;
+    text-align: center;
+    height: 46px;
+    width: 120px;
+    font-weight: 900;
+  }
+  .span3 {
+    display: inline-block;
+    text-align: center;
+    height: 46px;
+    width: 120px;
+    font-weight: 900;
+  }
+  span {
+    cursor: pointer;
+  }
+}
+
+.info-line {
+  width: 100%;
+  display: block;
+  padding-left: 20px;
+
+  div {
+    width: 50%;
+    display: inline-block;
+    overflow: hidden;
+  }
+
+  span {
+    width: 80px;
+    display: inline-block;
+    text-align: left;
+    float: left;
+
+    i {
+      color: red;
+      display: inline-block;
+      padding-right: 5px;
+    }
+  }
+
+  .el-select,
+  .el-input {
+    width: calc(100% - 100px);
+    margin-left: 20px;
+  }
+}
+.fatherbox {
+  background: #fafafa;
+  padding: 10px;
+  height: 484px;
+  border-bottom-left-radius: 5px;
+  border-bottom-right-radius: 5px;
+  width: 100%;
+}
+.pageBox {
+}
+::v-deep .gutter {
+  background: #fafafa;
+}
+::v-deep .is-scrolling-none {
+  background: #fafafa;
+}
+
+::v-deep .el-table--scrollable-y .el-table__body-wrapper {
+  overflow: hidden;
+}
+::v-deep .el-table th>.cell{
+  padding:0px;
+}
+::v-deep .el-table__body-wrapper .is-scrolling-left{
+  overflow-x: hidden;
+}
+</style>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 272 - 0
src/pages/main/leader/numberHits.vue


+ 1 - 1
src/pages/main/logQuery/logQueryList.vue

@@ -2,7 +2,7 @@
   <!-- <div style="height: 95%"> -->
 
   <div class="container" style="padding: 20px 15px 15px 15px">
-    <h2 style="margin: 15px">操作日志查询</h2>
+    <h2 class="font-ui">操作日志查询</h2>
     <div class="search" style="margin: 15px">
       <mySearch :searchList="searchList" @searchInfo="searchInfo"></mySearch>
     </div>

+ 1 - 1
src/pages/main/longProcessVis/accountQuery.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>计费信息服务查询</h2>
+        <h2 class="font-ui">计费信息服务查询</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/longProcessVis/orderOverList.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>工单超时预警服务列表</h2>
+        <h2 class="font-ui">工单超时预警服务列表</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/longProcessVis/processAlarmInfoQuery.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>超时工单预警列表</h2>
+        <h2 class="font-ui">超时工单预警列表</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/longProcessVis/processList.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>长流程工单查询</h2>
+                <h2 class="font-ui">长流程工单查询</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/longProcessVis/processQueryHis.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>工单处理历史列表</h2>
+                <h2 class="font-ui">工单处理历史列表</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/longProcessVis/relatedFeedback.vue

@@ -2,7 +2,7 @@
     <div class="container">
         <fullscreen :fullscreen.sync="fullscreen" class="container-box">
             <div class="titbox">
-                <h2>关联工单反馈</h2>
+                <h2 class="font-ui">关联工单反馈</h2>
                 <div>
                     <i class="el-icon-refresh" @click="iconCli(1)"></i>
                     <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 4 - 4
src/pages/main/marketSchedul/index.vue

@@ -2,7 +2,7 @@
     <fullscreen :fullscreen.sync="fullscreen" class="container">
         <div class="container-box">
 
-            <h2>培训考试</h2>
+            <h2 class="font-ui">培训考试</h2>
             <div class="adv-type">
                 <div @click="jumpinfo('/trainingPlan','培训计划')">
                     <span>
@@ -68,7 +68,7 @@
                     <span>培训统计</span>
                 </div>
             </div>
-            <h2>考核通报</h2>
+            <h2 class="font-ui">考核通报</h2>
             <div class="adv-type">
                 <div @click="jumpinfo('/foocusAssess','集中考核')">
                     <span>
@@ -92,7 +92,7 @@
                     <span>集中考核</span>
                 </div>
             </div>
-            <h2>宣传落实</h2>
+            <h2 class="font-ui">宣传落实</h2>
             <div class="adv-type">
                 <div @click="jumpinfo('/propaganda','宣传落实')">
                     <span>
@@ -158,7 +158,7 @@
                     <span>厅店级宣传点位清单</span>
                 </div>
             </div>
-            <h2>经验共享</h2>
+            <h2 class="font-ui">经验共享</h2>
             <div class="adv-type">
                 <div @click="jumpinfo('/experienceCollec','营销经验收集')">
                     <span>

+ 4 - 0
src/pages/main/noticec/index.vue

@@ -529,6 +529,7 @@
 
     .tabbox {
         margin-top: 16px;
+        font-size: 14px !important;
     }
 
     .pageBox {
@@ -582,4 +583,7 @@
             width: calc(100% - 100px);
         }
     }
+    ::v-deep .el-table--mini, .el-table--small, .el-table__expand-icon{
+        font-size: 14px;
+    }
 </style>

+ 185 - 163
src/pages/main/onlineExcel/index.vue

@@ -1,24 +1,25 @@
 <template>
     <fullscreen :fullscreen.sync="fullscreen" class="container">
-    <div class="container">
-        <div class="main-box container-box">
-            <input type="hidden" id="excelId"/>
-            <div class="inner-left" style="overflow: hidden">
-                <!--                <div class="button-list">-->
-                <!--                    <el-button type="primary" @click="showExcel = true" plain>excel</el-button>-->
-                <!--                    <el-button type="primary" @click="showExcel = false" plain>不excel</el-button>-->
-                <!--                </div>-->
-                <div style="margin: 10px 0">
-                    <el-input placeholder="请输入内容" v-model="filterText" class="input-with-select" clearable
-                              @change="() => {if (!filterText) {searchMenu();}}">
-                        <el-button slot="append" @click="searchMenu" icon="el-icon-search"></el-button>
-                    </el-input>
-                </div>
-                <div v-loading="loading" style="height: calc(100% - 100px);overflow-y: scroll;overflow-x: scroll">
-                    <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
-                             :default-expand-all="true" :default-checked-keys="checkedMenu" :data="menuList"
-                             @check="checkChange"
-                             @node-click="nodeClick" :filter-node-method="filterNode" node-key="functionCode" style="width: 300px">
+        <div class="container">
+            <div class="main-box container-box">
+                <input type="hidden" id="excelId"/>
+                <div class="inner-left" style="overflow: hidden">
+                    <!--                <div class="button-list">-->
+                    <!--                    <el-button type="primary" @click="showExcel = true" plain>excel</el-button>-->
+                    <!--                    <el-button type="primary" @click="showExcel = false" plain>不excel</el-button>-->
+                    <!--                </div>-->
+                    <div style="margin: 10px 0">
+                        <el-input placeholder="请输入内容" v-model="filterText" class="input-with-select" clearable
+                                  @change="() => {if (!filterText) {searchMenu();}}">
+                            <el-button slot="append" @click="searchMenu" icon="el-icon-search"></el-button>
+                        </el-input>
+                    </div>
+                    <div v-loading="loading" style="height: calc(100% - 100px);overflow-y: scroll;overflow-x: scroll">
+                        <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
+                                 :default-expand-all="true" :default-checked-keys="checkedMenu" :data="menuList"
+                                 @check="checkChange"
+                                 @node-click="nodeClick" :filter-node-method="filterNode" node-key="functionCode"
+                                 style="width: 300px">
                         <span class="custom-tree-node" slot-scope="{ node }">
                             <span>
                                 <span v-if="node.data.type == 4"
@@ -30,142 +31,149 @@
                                     }}</span>
                             </span>
                         </span>
-                    </el-tree>
-                </div>
-                <div class="tree-action"></div>
-            </div>
-            <div class="inner-right">
-                <div style="overflow: hidden;" v-if="showExcel == false">
-                    <toolList @iconCli='iconCli' :tooltit='tooltit' style="margin: 10px"></toolList>
-                    <div style="margin-top: 20px;float: left;" class="bigbtns">
-                        <el-button style="margin-left: 20px;" class="btn-check" size="medium" type="primary"
-                                   @click="addNewStatus = true">新建
-                        </el-button>
-                    </div>
-                    <div style="margin-top: 20px;float: right;margin-right: 20px" class="bigbtns"
-                         v-if="selectionSize != 0">
-                        <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
-                                   @click="delExcel()">删除
-                        </el-button>
-                        <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
-                                   @click="cancelSelection()">取消
-                        </el-button>
-                        <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
-                                   @click="moveStatus = true">移动到
-                        </el-button>
+                        </el-tree>
                     </div>
+                    <div class="tree-action"></div>
                 </div>
-                <div class="tabbox" v-if="showExcel == false">
-                    <div id="selectionList" style="height: 30px">
-                        <span v-if="selectionSize != 0">已选{{ selectionSize }}项</span>
+                <div class="inner-right">
+                    <div style="overflow: hidden;" v-if="showExcel == false">
+                        <toolList @iconCli='iconCli' :tooltit='tooltit' style="margin: 10px"></toolList>
+                        <div style="margin-top: 20px;float: left;" class="bigbtns">
+                            <el-button style="margin-left: 20px;" class="btn-check" size="medium" type="primary"
+                                       @click="addNewStatus = true">新建
+                            </el-button>
+                        </div>
+                        <div style="margin-top: 20px;float: right;margin-right: 20px" class="bigbtns"
+                             v-if="selectionSize != 0">
+                            <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
+                                       @click="delExcel()">删除
+                            </el-button>
+                            <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
+                                       @click="cancelSelection()">取消
+                            </el-button>
+                            <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
+                                       @click="moveStatus = true">移动到
+                            </el-button>
+                        </div>
                     </div>
-                    <el-table height="calc(100% - 60px)" class="com-table" ref="multipleTable" :data="tableData"
-                              tooltip-effect="dark" size="small" border style="width: 100%" v-loading="loading"
-                              @selection-change="handleSelectionChange">
-                        <el-table-column type="selection" width="45"></el-table-column>
-                        <el-table-column prop="fileName" label="名称">
-                        </el-table-column>
-                        <el-table-column prop="opTime" label="创建时间">
-                        </el-table-column>
-                        <el-table-column prop="addUserDept" label="创建科室">
-                        </el-table-column>
-                        <el-table-column prop="addUserName" label="创建人">
-                        </el-table-column>
-                        <el-table-column prop="shareEditStatus" label="权限状态">
-                            <template slot-scope="scope">
-                                <span v-if="scope.row.editStatus == 0">开</span>
-                                <span v-if="scope.row.editStatus == 1">关</span>
-                            </template>
-                        </el-table-column>
-                        <el-table-column label="操作" width="180px" align="center" fixed="right">
-                            <template slot-scope="scope">
-                                <el-button size="mini" type="primary" @click="moveToEdit(scope.row)"
-                                           :disabled="scope.row.shareEditStatus==1">编辑
-                                </el-button>
-                            </template>
-                        </el-table-column>
-                    </el-table>
-                    <el-pagination class="pageBox" @current-change="currchange" layout="prev, pager, next" background
-                                   :total="total">
-                    </el-pagination>
-                </div>
-                <div class="container" id="container" v-else>
-                    <iframe id="excelIframe" height="100%" width="100%" src="/marketfront/static/views/onlineShareExcel.html"
-                            frameborder="0"></iframe>
-                </div>
-            </div>
-        </div>
-        <el-dialog :title="'新建'" :visible.sync="addNewStatus" width="300px" :destroy-on-close="true"
-                   :modal-append-to-body="false" :close-on-click-modal="false">
-            <div>
-<!--                <el-button type="primary" @click="addExcel()" plain class="iconfont icon-wenjian">在线文档</el-button>-->
-<!--                <el-button type="primary" @click="addFolderStatus = true" plain class="iconfont icon-wenjianjia">文件夹</el-button>-->
-                <div style="padding-bottom: 30px">
-                    <div style="width: 85px;display: inline-block;cursor: pointer" @click="addExcel()">
-                        <span class="iconfont icon-wenjian" style="font-size: 80px;color: dodgerblue"></span>
-                        <p style="margin-left: 20px;margin-top: 10px">在线文档</p>
+                    <div class="tabbox" v-if="showExcel == false">
+                        <div id="selectionList" style="height: 30px">
+                            <span v-if="selectionSize != 0">已选{{ selectionSize }}项</span>
+                        </div>
+                        <el-table height="calc(100% - 60px)" class="com-table" ref="multipleTable" :data="tableData"
+                                  tooltip-effect="dark" size="small" border style="width: 100%" v-loading="loading"
+                                  @selection-change="handleSelectionChange">
+                            <el-table-column type="selection" width="45"></el-table-column>
+                            <el-table-column prop="fileName" label="名称">
+                            </el-table-column>
+                            <el-table-column prop="opTime" label="创建时间">
+                            </el-table-column>
+                            <el-table-column prop="addUserDept" label="创建科室">
+                            </el-table-column>
+                            <el-table-column prop="addUserName" label="创建人">
+                            </el-table-column>
+                            <el-table-column prop="shareEditStatus" label="权限状态">
+                                <template slot-scope="scope">
+                                    <span v-if="scope.row.editStatus == 0">开</span>
+                                    <span v-if="scope.row.editStatus == 1">关</span>
+                                </template>
+                            </el-table-column>
+                            <el-table-column label="操作" width="180px" align="center" fixed="right">
+                                <template slot-scope="scope">
+                                    <el-button size="mini" type="primary" @click="moveToEdit(scope.row)"
+                                               :disabled="scope.row.shareEditStatus==1">编辑
+                                    </el-button>
+                                </template>
+                            </el-table-column>
+                        </el-table>
+                        <el-pagination class="pageBox" @current-change="currchange" layout="prev, pager, next"
+                                       background
+                                       :total="total">
+                        </el-pagination>
                     </div>
-                    <div style="width: 85px;display: inline-block;margin-left: 70px;cursor: pointer" @click="addFolderStatus = true">
-                        <span class="iconfont icon-wenjianjia" style="font-size: 80px;color: dodgerblue"></span>
-                        <p style="margin-left: 20px;margin-top: 10px">文件夹</p>
+
+                    <div class="container" id="container" v-else>
+                        <fullscreen :fullscreen.sync="excelFullScreen" class="container">
+                            <iframe id="excelIframe" height="100%" width="100%"
+                                    src="/marketfront/static/views/onlineShareExcel.html"
+                                    frameborder="0"></iframe>
+                        </fullscreen>
                     </div>
                 </div>
             </div>
-        </el-dialog>
-        <el-dialog :title="'新增文件夹'" :visible.sync="addFolderStatus" width="50%" :destroy-on-close="true"
-                   :modal-append-to-body="false" :close-on-click-modal="false">
-            <div v-loading="loading">
-                <el-form :model="infolist" ref="infolist">
-                    <div class="online">
-                        <el-form-item prop="name">
-                            <span>文件夹名称</span>
-                            <el-input v-model="infolist.name" placeholder="文件夹名称" :disabled="disableStatus"></el-input>
-                        </el-form-item>
+            <el-dialog :title="'新建'" :visible.sync="addNewStatus" width="300px" :destroy-on-close="true"
+                       :modal-append-to-body="false" :close-on-click-modal="false">
+                <div>
+                    <!--                <el-button type="primary" @click="addExcel()" plain class="iconfont icon-wenjian">在线文档</el-button>-->
+                    <!--                <el-button type="primary" @click="addFolderStatus = true" plain class="iconfont icon-wenjianjia">文件夹</el-button>-->
+                    <div style="padding-bottom: 30px">
+                        <div style="width: 85px;display: inline-block;cursor: pointer" @click="addExcel()">
+                            <span class="iconfont icon-wenjian" style="font-size: 80px;color: dodgerblue"></span>
+                            <p style="margin-left: 20px;margin-top: 10px">在线文档</p>
+                        </div>
+                        <div style="width: 85px;display: inline-block;margin-left: 70px;cursor: pointer"
+                             @click="addFolderStatus = true">
+                            <span class="iconfont icon-wenjianjia" style="font-size: 80px;color: dodgerblue"></span>
+                            <p style="margin-left: 20px;margin-top: 10px">文件夹</p>
+                        </div>
                     </div>
-                </el-form>
-                <div slot="footer" class="dialog-footer myfooter">
-                    <el-button type="primary" @click="addNewFolder()">确 定</el-button>
-                    <el-button @click="addFolderStatus = false">取 消</el-button>
                 </div>
-            </div>
-        </el-dialog>
-        <el-dialog :title="'分享选项'" :visible.sync="shareStatus" width="550px" :destroy-on-close="true"
-                   :modal-append-to-body="false" :close-on-click-modal="false">
-            <div style="margin-left: 30px;padding-bottom: 20px" v-loading = 'shareLoading'>
-                <el-button type="primary" @click="processExcelShare(1)" plain>仅我可编辑</el-button>
-                <el-button type="primary" @click="openOADialog(2)" plain>部门内所有人可编辑</el-button>
-                <el-button type="primary" @click="checkexa = true" plain>指定人可编辑</el-button>
-            </div>
-        </el-dialog>
-        <el-dialog title="选择填报人" :visible.sync="checkexa" width="50%" :destroy-on-close="true"
-                   :modal-append-to-body="false" :close-on-click-modal="false">
-            <div>
-                <el-form :model="exaList" ref="addInfoList">
-                    <el-form-item prop="processUserId" class="info-line online">
-                        <span style="width: 80px;margin-right: 20px">审批人员</span>
-                        <deptTreeUserNew class="tree" @treeCheck="treeCheckonly" :defaultList="defaultList"
-                                         :type="depttype" :closeList="closeList"></deptTreeUserNew>
-                        <div class="tree treeUser">
-                            <p v-for="(item,index) in treeList" :key="index">{{ item.receiveName }}
-                                <i @click="deletes(item,index)" class="el-icon-error"></i>
-                            </p>
+            </el-dialog>
+            <el-dialog :title="'新增文件夹'" :visible.sync="addFolderStatus" width="50%" :destroy-on-close="true"
+                       :modal-append-to-body="false" :close-on-click-modal="false">
+                <div v-loading="loading">
+                    <el-form :model="infolist" ref="infolist">
+                        <div class="online">
+                            <el-form-item prop="name">
+                                <span>文件夹名称</span>
+                                <el-input v-model="infolist.name" placeholder="文件夹名称"
+                                          :disabled="disableStatus"></el-input>
+                            </el-form-item>
                         </div>
-                    </el-form-item>
-                </el-form>
+                    </el-form>
+                    <div slot="footer" class="dialog-footer myfooter">
+                        <el-button type="primary" @click="addNewFolder()">确 定</el-button>
+                        <el-button @click="addFolderStatus = false">取 消</el-button>
+                    </div>
+                </div>
+            </el-dialog>
+            <el-dialog :title="'分享选项'" :visible.sync="shareStatus" width="550px" :destroy-on-close="true"
+                       :modal-append-to-body="false" :close-on-click-modal="false">
+                <div style="margin-left: 30px;padding-bottom: 20px" v-loading='shareLoading'>
+                    <el-button type="primary" @click="processExcelShare(1)" plain>仅我可编辑</el-button>
+                    <el-button type="primary" @click="openOADialog(2)" plain>部门内所有人可编辑</el-button>
+                    <el-button type="primary" @click="checkexa = true" plain>指定人可编辑</el-button>
+                </div>
+            </el-dialog>
+            <el-dialog title="选择填报人" :visible.sync="checkexa" width="50%" :destroy-on-close="true"
+                       :modal-append-to-body="false" :close-on-click-modal="false">
+                <div>
+                    <el-form :model="exaList" ref="addInfoList">
+                        <el-form-item prop="processUserId" class="info-line online">
+                            <span style="width: 80px;margin-right: 20px">审批人员</span>
+                            <deptTreeUserNew class="tree" @treeCheck="treeCheckonly" :defaultList="defaultList"
+                                             :type="depttype" :closeList="closeList"></deptTreeUserNew>
+                            <div class="tree treeUser">
+                                <p v-for="(item,index) in treeList" :key="index">{{ item.receiveName }}
+                                    <i @click="deletes(item,index)" class="el-icon-error"></i>
+                                </p>
+                            </div>
+                        </el-form-item>
+                    </el-form>
 
-                <div slot="footer" style="text-align: right;padding-bottom: 20px">
-                    <el-button type="primary" @click="checkProcessUser(3)">确 定</el-button>
-                    <el-button @click="checkexa = false">取 消</el-button>
+                    <div slot="footer" style="text-align: right;padding-bottom: 20px">
+                        <el-button type="primary" @click="checkProcessUser(3)">确 定</el-button>
+                        <el-button @click="checkexa = false">取 消</el-button>
+                    </div>
                 </div>
-            </div>
-        </el-dialog>
-        <el-dialog title="移动到" :visible.sync="moveStatus" width="500px" :destroy-on-close="true"
-                   :modal-append-to-body="false" :close-on-click-modal="false">
-            <div>
-                <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
-                         :default-expand-all="true" :default-checked-keys="checkedMenu" :data="moveMenuList"
-                         @check="checkChange"
-                         @node-click="folderNodeClick" node-key="functionCode" @expand-on-click-node="false">
+            </el-dialog>
+            <el-dialog title="移动到" :visible.sync="moveStatus" width="500px" :destroy-on-close="true"
+                       :modal-append-to-body="false" :close-on-click-modal="false">
+                <div>
+                    <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
+                             :default-expand-all="true" :default-checked-keys="checkedMenu" :data="moveMenuList"
+                             @check="checkChange"
+                             @node-click="folderNodeClick" node-key="functionCode" @expand-on-click-node="false">
                         <span class="custom-tree-node" slot-scope="{ node }">
                             <span>
                                 <span v-if="node.data.type == 4"
@@ -177,20 +185,20 @@
                                     }}</span>
                             </span>
                         </span>
-                </el-tree>
-                <div slot="footer" style="text-align: right;padding-bottom: 20px">
-                    <el-button type="primary" @click="addFolderStatus = true" style="margin-right: 150px">+新建文件夹
-                    </el-button>
-                    <el-button type="primary" @click="moveExcel()">确 定</el-button>
-                    <el-button @click="moveStatus = false">取 消</el-button>
+                    </el-tree>
+                    <div slot="footer" style="text-align: right;padding-bottom: 20px">
+                        <el-button type="primary" @click="addFolderStatus = true" style="margin-right: 150px">+新建文件夹
+                        </el-button>
+                        <el-button type="primary" @click="moveExcel()">确 定</el-button>
+                        <el-button @click="moveStatus = false">取 消</el-button>
+                    </div>
                 </div>
-            </div>
-        </el-dialog>
-        <myMessage :messTit='messTit' @closeMessage="processDel" :centerDialogVisible="delVisible"
-                   v-if="delVisible"></myMessage>
-        <myMessageNew :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible"
-                   v-if="oaVisible" yesBtnName="是" noBtnName="否"></myMessageNew>
-    </div>
+            </el-dialog>
+            <myMessage :messTit='messTit' @closeMessage="processDel" :centerDialogVisible="delVisible"
+                       v-if="delVisible"></myMessage>
+            <myMessageNew :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible"
+                          v-if="oaVisible" yesBtnName="是" noBtnName="否"></myMessageNew>
+        </div>
     </fullscreen>
 </template>
 
@@ -256,9 +264,11 @@ export default {
             moveStatus: false,
             //移动文件夹tree相关
             nowMoveFolder: {},
-            shareLoading : false,
+            shareLoading: false,
             woNo: '',
             moveMenuList: [],
+            addShareType: 0,
+            excelFullScreen: false,
         }
     },
     methods: {
@@ -380,8 +390,12 @@ export default {
             console.log('oa:' + this.oaType);
             console.log('share:' + shareType);
             //提交
+            var url = '/market/cOnlineExcel/saveExcelShare';
+            if (this.addShareType == '2') {
+                url = '/market/cOnlineExcel/addExcelShare';
+            }
             this.$http({
-                url: '/market/cOnlineExcel/saveExcelShare',
+                url: url,
                 method: "post",
                 headers: {
                     "Content-Type": "application/json",
@@ -426,14 +440,15 @@ export default {
             this.treeList = v;
         },
         //从excel页面调用来打开分享框
-        shareExcel(excelJson, editFrom, editTo, editStatus, excelName, excelId) {
-            console.log(excelJson, editFrom, editTo, editStatus, excelName, excelId);
+        shareExcel(excelJson, editFrom, editTo, editStatus, excelName, excelId, type) {
+            console.log(excelJson, editFrom, editTo, editStatus, excelName, excelId, type);
             this.excelJson = excelJson;
             this.editFrom = editFrom;
             this.editTo = editTo;
             this.editStatus = editStatus;
             this.excelName = excelName;
             this.excelId = excelId;
+            this.addShareType = type;
             this.shareStatus = true;
         },
         //从excel页面调用来关闭excel
@@ -716,7 +731,7 @@ export default {
             this.menuList = arr;
             //复制一份给移动文件夹用
             this.moveMenuList = [];
-            arr.map((o) =>{
+            arr.map((o) => {
                 if (o.type == '4') {
                     this.moveMenuList.push(o);
                 }
@@ -733,6 +748,9 @@ export default {
                 ) || null
             );
         },
+        processFullScreen() {
+            this.excelFullScreen = !this.excelFullScreen;
+        }
     },
     mounted() {
         this.woNo = this.getUrlKey("id")//获取地址栏参数
@@ -750,11 +768,15 @@ export default {
         this.getTreeData();
     },
     created() {
+        window['fullScreen'] = (rp) => {
+            this.processFullScreen(rp);
+        }
         window['backToExcelList'] = (rp) => {
             this.closeExcel(rp);
         }
-        window['shareExcel'] = (a, b, c, d, e, f) => {
-            this.shareExcel(a, b, c, d, e, f);
+        //方法里写了字母含义
+        window['shareExcel'] = (a, b, c, d, e, f, g) => {
+            this.shareExcel(a, b, c, d, e, f, g);
         }
     },
     name: "index"

+ 996 - 0
src/pages/main/onlineExcelMarket/index.vue

@@ -0,0 +1,996 @@
+<template>
+    <fullscreen :fullscreen.sync="fullscreen" class="container">
+    <div class="container">
+        <div class="main-box container-box">
+            <input type="hidden" id="excelId"/>
+            <div class="inner-left" style="overflow: hidden">
+                <!--                <div class="button-list">-->
+                <!--                    <el-button type="primary" @click="showExcel = true" plain>excel</el-button>-->
+                <!--                    <el-button type="primary" @click="showExcel = false" plain>不excel</el-button>-->
+                <!--                </div>-->
+                <div style="margin: 10px 0">
+                    <el-input placeholder="请输入内容" v-model="filterText" class="input-with-select" clearable
+                              @change="() => {if (!filterText) {searchMenu();}}">
+                        <el-button slot="append" @click="searchMenu" icon="el-icon-search"></el-button>
+                    </el-input>
+                </div>
+                <div v-loading="loading" style="height: calc(100% - 100px);overflow-y: scroll;overflow-x: scroll">
+                    <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
+                             :default-expand-all="true" :default-checked-keys="checkedMenu" :data="menuList"
+                             @check="checkChange"
+                             @node-click="nodeClick" :filter-node-method="filterNode" node-key="functionCode" style="width: 300px">
+                        <span class="custom-tree-node" slot-scope="{ node }">
+                            <span>
+                                <span v-if="node.data.type == 4"
+                                      style="color: #009cff" class="iconfont icon-wenjianjia"></span>
+                                <span v-else style="color: #fdb441" class="iconfont icon-wenjian"></span>
+                                <span
+                                    :style="node.data.hasOwnProperty('parent')? 'font-size:14px;padding-left:5px':'font-size:12px;padding-left:5px'">{{
+                                        node.data.functionName
+                                    }}</span>
+                            </span>
+                        </span>
+                    </el-tree>
+                </div>
+                <div class="tree-action"></div>
+            </div>
+            <div class="inner-right">
+                <div style="overflow: hidden;" v-if="showExcel == false">
+                    <toolList @iconCli='iconCli' :tooltit='tooltit' style="margin: 10px"></toolList>
+                    <div style="margin-top: 20px;float: left;" class="bigbtns">
+                        <el-button style="margin-left: 20px;" class="btn-check" size="medium" type="primary"
+                                   @click="addNewStatus = true">新建
+                        </el-button>
+                    </div>
+                    <div style="margin-top: 20px;float: right;margin-right: 20px" class="bigbtns"
+                         v-if="selectionSize != 0">
+                        <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
+                                   @click="delExcel()">删除
+                        </el-button>
+                        <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
+                                   @click="cancelSelection()">取消
+                        </el-button>
+                        <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
+                                   @click="moveStatus = true">移动到
+                        </el-button>
+                    </div>
+                </div>
+                <div class="tabbox" v-if="showExcel == false">
+                    <div id="selectionList" style="height: 30px">
+                        <span v-if="selectionSize != 0">已选{{ selectionSize }}项</span>
+                    </div>
+                    <el-table height="calc(100% - 60px)" class="com-table" ref="multipleTable" :data="tableData"
+                              tooltip-effect="dark" size="small" border style="width: 100%" v-loading="loading"
+                              @selection-change="handleSelectionChange">
+                        <el-table-column type="selection" width="45"></el-table-column>
+                        <el-table-column prop="fileName" label="名称">
+                        </el-table-column>
+                        <el-table-column prop="opTime" label="创建时间">
+                        </el-table-column>
+                        <el-table-column prop="addUserDept" label="创建科室">
+                        </el-table-column>
+                        <el-table-column prop="addUserName" label="创建人">
+                        </el-table-column>
+                        <el-table-column prop="shareEditStatus" label="权限状态">
+                            <template slot-scope="scope">
+                                <span v-if="scope.row.editStatus == 0">开</span>
+                                <span v-if="scope.row.editStatus == 1">关</span>
+                            </template>
+                        </el-table-column>
+                        <el-table-column label="操作" width="180px" align="center" fixed="right">
+                            <template slot-scope="scope">
+                                <el-button size="mini" type="primary" @click="moveToEdit(scope.row)"
+                                           :disabled="scope.row.shareEditStatus==1">编辑
+                                </el-button>
+                            </template>
+                        </el-table-column>
+                    </el-table>
+                    <el-pagination class="pageBox" @current-change="currchange" layout="prev, pager, next" background
+                                   :total="total">
+                    </el-pagination>
+                </div>
+                <div class="container" id="container" v-else>
+                    <fullscreen :fullscreen.sync="excelFullScreen" class="container">
+                        <iframe id="excelIframe" height="100%" width="100%" src="/marketfront/static/views/onlineShareExcelMarket.html"
+                                frameborder="0"></iframe>
+                    </fullscreen>
+                </div>
+            </div>
+        </div>
+        <el-dialog :title="'新建'" :visible.sync="addNewStatus" width="300px" :destroy-on-close="true"
+                   :modal-append-to-body="false" :close-on-click-modal="false">
+            <div>
+<!--                <el-button type="primary" @click="addExcel()" plain class="iconfont icon-wenjian">在线文档</el-button>-->
+<!--                <el-button type="primary" @click="addFolderStatus = true" plain class="iconfont icon-wenjianjia">文件夹</el-button>-->
+                <div style="padding-bottom: 30px">
+                    <div style="width: 85px;display: inline-block;cursor: pointer" @click="addExcel()">
+                        <span class="iconfont icon-wenjian" style="font-size: 80px;color: dodgerblue"></span>
+                        <p style="margin-left: 20px;margin-top: 10px">在线文档</p>
+                    </div>
+                    <div style="width: 85px;display: inline-block;margin-left: 70px;cursor: pointer" @click="addFolderStatus = true">
+                        <span class="iconfont icon-wenjianjia" style="font-size: 80px;color: dodgerblue"></span>
+                        <p style="margin-left: 20px;margin-top: 10px">文件夹</p>
+                    </div>
+                </div>
+            </div>
+        </el-dialog>
+        <el-dialog :title="'新增文件夹'" :visible.sync="addFolderStatus" width="50%" :destroy-on-close="true"
+                   :modal-append-to-body="false" :close-on-click-modal="false">
+            <div v-loading="loading">
+                <el-form :model="infolist" ref="infolist">
+                    <div class="online">
+                        <el-form-item prop="name">
+                            <span>文件夹名称</span>
+                            <el-input v-model="infolist.name" placeholder="文件夹名称" :disabled="disableStatus"></el-input>
+                        </el-form-item>
+                    </div>
+                </el-form>
+                <div slot="footer" class="dialog-footer myfooter">
+                    <el-button type="primary" @click="addNewFolder()">确 定</el-button>
+                    <el-button @click="addFolderStatus = false">取 消</el-button>
+                </div>
+            </div>
+        </el-dialog>
+        <el-dialog :title="'分享选项'" :visible.sync="shareStatus" width="550px" :destroy-on-close="true"
+                   :modal-append-to-body="false" :close-on-click-modal="false">
+            <div style="margin-left: 30px;padding-bottom: 20px" v-loading = 'shareLoading'>
+                <el-button type="primary" @click="processExcelShare(1)" plain>仅我可编辑</el-button>
+                <el-button type="primary" @click="openOADialog(2)" plain>部门内所有人可编辑</el-button>
+                <el-button type="primary" @click="checkexa = true" plain>指定人可编辑</el-button>
+            </div>
+        </el-dialog>
+        <el-dialog title="选择填报人" :visible.sync="checkexa" width="50%" :destroy-on-close="true"
+                   :modal-append-to-body="false" :close-on-click-modal="false">
+            <div>
+                <el-form :model="exaList" ref="addInfoList">
+                    <el-form-item prop="processUserId" class="info-line online">
+                        <span style="width: 80px;margin-right: 20px">审批人员</span>
+                        <deptTreeUserNew class="tree" @treeCheck="treeCheckonly" :defaultList="defaultList"
+                                         :type="depttype" :closeList="closeList"></deptTreeUserNew>
+                        <div class="tree treeUser">
+                            <p v-for="(item,index) in treeList" :key="index">{{ item.receiveName }}
+                                <i @click="deletes(item,index)" class="el-icon-error"></i>
+                            </p>
+                        </div>
+                    </el-form-item>
+                </el-form>
+
+                <div slot="footer" style="text-align: right;padding-bottom: 20px">
+                    <el-button type="primary" @click="checkProcessUser(3)">确 定</el-button>
+                    <el-button @click="checkexa = false">取 消</el-button>
+                </div>
+            </div>
+        </el-dialog>
+        <el-dialog title="移动到" :visible.sync="moveStatus" width="500px" :destroy-on-close="true"
+                   :modal-append-to-body="false" :close-on-click-modal="false">
+            <div>
+                <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
+                         :default-expand-all="true" :default-checked-keys="checkedMenu" :data="moveMenuList"
+                         @check="checkChange"
+                         @node-click="folderNodeClick" node-key="functionCode" @expand-on-click-node="false">
+                        <span class="custom-tree-node" slot-scope="{ node }">
+                            <span>
+                                <span v-if="node.data.type == 4"
+                                      style="color: #009cff" class="iconfont icon-wenjianjia"></span>
+                                <span v-else style="color: #fdb441" class="iconfont icon-wenjian"></span>
+                                <span
+                                    :style="node.data.hasOwnProperty('parent')? 'font-size:14px;padding-left:5px':'font-size:12px;padding-left:5px'">{{
+                                        node.data.functionName
+                                    }}</span>
+                            </span>
+                        </span>
+                </el-tree>
+                <div slot="footer" style="text-align: right;padding-bottom: 20px">
+                    <el-button type="primary" @click="addFolderStatus = true" style="margin-right: 150px">+新建文件夹
+                    </el-button>
+                    <el-button type="primary" @click="moveExcel()">确 定</el-button>
+                    <el-button @click="moveStatus = false">取 消</el-button>
+                </div>
+            </div>
+        </el-dialog>
+        <myMessage :messTit='messTit' @closeMessage="processDel" :centerDialogVisible="delVisible"
+                   v-if="delVisible"></myMessage>
+        <myMessageNew :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible"
+                   v-if="oaVisible" yesBtnName="是" noBtnName="否"></myMessageNew>
+    </div>
+    </fullscreen>
+</template>
+
+<script>
+import pForm from "../../../components/p-form";
+import toolList from "../../../components/toolList";
+import myMessage from "../../../components/myMessage.vue";
+import myMessageNew from "../../../components/myMessageNew.vue";
+import deptTreeUserNew from "../../../components/deptTreeUserNew.vue"
+
+export default {
+    components: {
+        pForm,
+        toolList,
+        myMessage,
+        myMessageNew,
+        deptTreeUserNew,
+    },
+    data() {
+        return {
+            fullscreen: false,
+            filterText: "", // tree搜索value
+            actionName: "", // 当前选择节点名称
+            menuList: [], // tree数据源
+            checkedMenu: [], // 选中节点的functionCode
+            checkedNodes: [], // 选中节点的node值
+            roleData: "", // 某一条数据
+            showExcel: false,
+            tableData: [],
+            loading: false,
+            total: 0,
+            pageSize: 1,
+            addNewStatus: false,
+            tooltit: '在线文档-文件管理',
+            addFolderStatus: false,
+            addExcelStatus: false,
+            infolist: {},
+            disableStatus: false,
+            nowFolder: {},
+            selectionList: [],
+            selectionSize: 0,
+            delVisible: false,
+            messTit: '',
+            shareStatus: false,
+            excelJson: '',
+            editFrom: '',
+            editTo: '',
+            editStatus: '',
+            excelName: '',
+            excelId: '',
+            checkexa: false,
+            exaList: {},
+            //审批人用到的
+            treeListonly: {},
+            defaultList: [],
+            treeList: [],
+            closeList: false,
+            depttype: 0,
+            shareType: '',
+            oaVisible: false,
+            oaTitle: '',
+            oaType: '',
+            moveStatus: false,
+            //移动文件夹tree相关
+            nowMoveFolder: {},
+            shareLoading : false,
+            woNo: '',
+            moveMenuList: [],
+            excelFullScreen: false,
+        }
+    },
+    methods: {
+        processWoNo() {
+            console.log(this.woNo);
+            var _this = this;
+            this.$http({
+                url: '/market/cOnlineExcelMarket/processWoNo',
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {
+                    id: _this.woNo,
+                },
+            }).then((res) => {
+                if (res.data.result === 1) {
+                    if (res.data.result != 'WONOEMPTY') {
+                        _this.$message({
+                            message: res.data.desc,
+                            type: 'error'
+                        });
+                    }
+                } else {
+                    _this.$message({
+                        message: '成功',
+                        type: 'success'
+                    });
+                    var id = res.data.desc;
+                    //放入id,切换到excel模式
+                    document.getElementById('excelId').setAttribute("value", id);
+                    _this.showExcel = true;
+                }
+            });
+        },
+        moveExcel() {
+            var _this = this;
+            var folderId = "";
+            if (this.nowFolder.type == '4') {
+                folderId = this.nowFolder.functionCode;
+            }
+            var arr = [];
+            this.selectionList.map((o) => {
+                arr.push(o.id);
+            });
+            this.$http({
+                url: '/market/cOnlineExcelMarket/moveExcel',
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {
+                    moveIds: arr,
+                    moveFolderId: folderId
+                },
+            }).then((res) => {
+                if (res.data.result === 1) {
+                    _this.$message({
+                        message: res.data.desc,
+                        type: 'error'
+                    });
+                } else {
+                    _this.$message({
+                        message: res.data.desc,
+                        type: 'success'
+                    });
+                    _this.moveStatus = false;
+                    _this.tooltit = '在线文档-' + _this.nowFolder.functionName;
+                    _this.getList({}, this.pageSize);
+                }
+            });
+        },
+        // 点击树节点事件
+        folderNodeClick(a, b, c, d) {
+            this.nowFolder = a;
+        },
+        //检查是否选了填报人
+        checkProcessUser(v) {
+            let _this = this;
+            if (_this.treeList.length == 0) {
+                _this.$message({
+                    message: '请选择填报人',
+                    type: 'error'
+                });
+            } else {
+                _this.openOADialog(v);
+            }
+        },
+        //判断是否提交oa待办
+        processOa(v) {
+            if (v == 1) {
+                this.oaType = 1;
+            } else {
+                this.oaType = 0;
+            }
+            this.oaVisible = false;
+            this.processExcelShare(this.shareType);
+        },
+        //打开oa待办选项框
+        openOADialog(shareType) {
+            this.shareType = shareType;
+            this.oaTitle = '是否要推送OA待办?';
+            this.oaVisible = true;
+        },
+        //提交分享
+        processExcelShare(shareType) {
+            var deptList = [];
+            var _this = this;
+            _this.shareLoading = true;
+            if (shareType == 3) {
+                this.treeList.map((o) => {
+                    deptList.push(o.receiveNo);
+                });
+            }
+            if (shareType == 1) {
+                _this.shareType = 1;
+            }
+            console.log(deptList);
+            console.log('oa:' + this.oaType);
+            console.log('share:' + shareType);
+            //提交
+            this.$http({
+                url: '/market/cOnlineExcelMarket/saveExcelShare',
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {
+                    data: _this.excelJson,
+                    id: _this.excelId,
+                    editConStart: _this.editFrom,
+                    editConEnd: _this.editTo,
+                    excelName: _this.excelName,
+                    editStatus: _this.editStatus,
+                    deptIds: deptList,
+                    oaType: _this.oaType,
+                    shareType: _this.shareType
+                },
+            }).then((res) => {
+                _this.shareLoading = false;
+                if (res.data.result === 1) {
+                    _this.$message({
+                        message: res.data.desc,
+                        type: 'error'
+                    });
+                } else {
+                    _this.$message({
+                        message: '分享成功',
+                        type: 'success'
+                    });
+                    _this.oaVisible = false;
+                    _this.checkexa = false;
+                    _this.shareStatus = false;
+                    _this.showExcel = false;
+                    _this.getList({}, this.pageSize);
+                }
+            });
+        },
+        //删除填报人
+        deletes(val, index) {
+            this.treeList.splice(index, 1);
+            this.closeList = this.treeList;
+        },
+        treeCheckonly(v) {
+            this.treeList = v;
+        },
+        //从excel页面调用来打开分享框
+        shareExcel(excelJson, editFrom, editTo, editStatus, excelName, excelId) {
+            console.log(excelJson, editFrom, editTo, editStatus, excelName, excelId);
+            this.excelJson = excelJson;
+            this.editFrom = editFrom;
+            this.editTo = editTo;
+            this.editStatus = editStatus;
+            this.excelName = excelName;
+            this.excelId = excelId;
+            this.shareStatus = true;
+        },
+        //从excel页面调用来关闭excel
+        closeExcel() {
+            this.showExcel = false;
+            this.getList({}, this.pageSize);
+        },
+        //打开excel
+        moveToEdit(row) {
+            //放入id,切换到excel模式
+            document.getElementById('excelId').setAttribute("value", row.id);
+            this.showExcel = true;
+        },
+        //新建excel
+        addExcel() {
+            var _this = this;
+            var folderId = "";
+            if (this.nowFolder.type == '4') {
+                folderId = this.nowFolder.functionCode;
+            }
+            this.$http({
+                url: '/market/cOnlineExcelMarket/addExcel',
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {
+                    folderId: folderId,
+                },
+            }).then((res) => {
+                if (res.data.result === 1) {
+                    _this.$message({
+                        message: res.data.desc,
+                        type: 'error'
+                    });
+                } else {
+                    _this.$message({
+                        message: '成功',
+                        type: 'success'
+                    });
+                    var id = res.data.desc;
+                    _this.addNewStatus = false;
+                    //放入id,切换到excel模式
+                    document.getElementById('excelId').setAttribute("value", id);
+                    _this.showExcel = true;
+                }
+            });
+        },
+        //处理删除
+        processDel(v) {
+            this.delVisible = false;
+            if (v === 1) {
+                console.log(this.selectionList);
+                var arr = [];
+                this.selectionList.map((o) => {
+                    arr.push(o.id);
+                });
+                let _this = this;
+                //整理list并且执行删除
+                this.$http({
+                    url: "/market/cOnlineExcelMarket/delExcel",
+                    method: "post",
+                    headers: {
+                        "Content-Type": "application/json",
+                    },
+                    data: {
+                        delIds: arr
+                    },
+                }).then((res) => {
+                    if (res.data.result === 1) {
+                        _this.$message({
+                            message: res.data.desc,
+                            type: 'error'
+                        });
+                    } else {
+                        _this.$message({
+                            message: '删除成功',
+                            type: 'success'
+                        });
+                        _this.getList({}, this.pageSize);
+                    }
+                });
+            }
+        },
+        //删除确认框
+        delExcel() {
+            this.delVisible = true;
+            this.messTit = '该文件删除后将无法找回,确认删除吗?';
+        },
+        handleSelectionChange(val) {
+            this.selectionList = val;
+            this.selectionSize = val.length;
+            console.log(this.selectionSize);
+        },
+        cancelSelection() {
+            this.selectionList = [];
+            this.selectionSize = 0;
+            this.$refs.multipleTable.clearSelection();
+        },
+        getList(v, n) {
+            var queryListType = "1";
+            var queryFolderId = "";
+            if (this.nowFolder.type) {
+                queryListType = this.nowFolder.type;
+                queryFolderId = this.nowFolder.functionCode;
+            }
+            this.pageSize = n;
+            this.loading = true;
+            this.tableData = [];
+            let _this = this;
+            this.$http({
+                url: "/market/cOnlineExcelMarket/getExcelList",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                    "page": '{"pageNo":"' + n + '","pageSize":"10"}'
+                },
+                data: {
+                    queryListType: queryListType,
+                    queryFolderId: queryFolderId
+                },
+            }).then((res) => {
+                this.tableData = res.data.data;
+                this.total = res.data.totalRecord;
+                this.loading = false;
+            });
+        },
+        addNewFolder() {
+            console.log(this.nowFolder);
+            var _this = this;
+            if (!_this.infolist.name) {
+                _this.$message({
+                    message: '文件夹名称不能为空',
+                    type: 'error'
+                });
+                return;
+            }
+            var upFolderId = '';
+            if (this.nowFolder.type == "4") {
+                upFolderId = this.nowFolder.functionCode;
+            }
+            this.$http({
+                url: '/market/cOnlineExcelMarket/addNewFolder',
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: {
+                    name: _this.infolist.name,
+                    upFolderId: upFolderId
+                },
+            }).then((res) => {
+                if (res.data.result === 1) {
+                    _this.$message({
+                        message: res.data.desc,
+                        type: 'error'
+                    });
+                } else {
+                    _this.$message({
+                        message: '成功',
+                        type: 'success'
+                    });
+                    _this.getTreeData();
+                    _this.addFolderStatus = false;
+                    _this.addNewStatus = false;
+                    _this.infolist = {};
+                }
+            });
+        },
+        //功能栏
+        iconCli(v) {
+            if (v === 1) {
+                this.getList(this.params, this.pageSize);
+            }
+            if (v === 2) {
+                this.fullscreen = !this.fullscreen
+            }
+        },
+        testExcel() {
+            document.getElementById("excelIframe").src = "";
+        },
+
+        // 搜索按钮事件
+        searchMenu() {
+            this.$refs.tree.filter(this.filterText);
+        },
+        // 树形图 复选框监听事件
+        checkChange(a, b, c, d) {
+            this.checkedNodes = b.checkedNodes;
+        },
+        // 点击树节点事件
+        nodeClick(a, b, c, d) {
+            console.log(a);
+            this.showExcel = false;
+            this.nowFolder = a;
+            this.tooltit = '在线文档-' + a.functionName;
+            this.getList({}, 1);
+        },
+        // tree过滤方法
+        filterNode(value, data) {
+            if (!value) return true;
+            return data.functionName.indexOf(value) !== -1;
+        },
+        // 分页
+        currchange(v) {
+            this.pageSize = v;
+            this.getList({}, this.pageSize);
+        },
+        getTreeData(data) {
+            this.loading = true;
+            this.$http({
+                url: "/market/cOnlineExcelMarket/getFolderList",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: data,
+            }).then((res) => {
+                this.formatterData(res.data);
+            });
+        },
+        // 格式化树形图数据
+        formatterData(data) {
+            var arr = [];
+            var _this = this;
+            data.map((o) => {
+                var obj1 = {};
+                if (o.systemflag !== "1") {
+                    if (o.parentCode) {
+                        var cvTag = o.parentCode == "Top";
+                    } else {
+                        cvTag = false;
+                    }
+                    if (cvTag) {
+                        //判断是否是第一层
+                        obj1 = o;
+                        obj1.icon = o.icon || "layui-icon layui-icon-ok-circle";
+                        obj1.target = "_self";
+                        obj1.checked = o.checked;
+                        obj1.parent = "1";
+                        obj1.children = menuSon(o.functionCode);
+                        arr.push(obj1);
+                    }
+                }
+            });
+
+            function menuSon(id) {
+                var arr1 = [];
+                data.map((o) => {
+                    var obj1 = {};
+                    var myId = o.functionCode;
+                    if (o.parentCode == id) {
+                        //找到是父亲的儿子数据
+                        obj1 = o;
+                        obj1.target = "_self";
+                        var tag = sonIs(myId); //判断是否有儿子
+                        if (tag) {
+                            //有儿子
+                            obj1.children = menuSon(myId); //调用孙生成节点函数
+                        } else {
+                            obj1.children = "";
+                        }
+                        arr1.push(obj1);
+                    }
+                });
+                return arr1;
+            }
+
+            function sonIs(id) {
+                //查找是否有儿子
+                var tag = false;
+                data.map((o) => {
+                    if (o.parentCode == id) {
+                        tag = true;
+                    }
+                });
+                return tag;
+            }
+
+            this.menuList = arr;
+            //复制一份给移动文件夹用
+            this.moveMenuList = [];
+            arr.map((o) =>{
+                if (o.type == '4') {
+                    this.moveMenuList.push(o);
+                }
+            })
+            this.menuStatus = true;
+            this.loading = false;
+        },
+        getUrlKey(name) {
+            return (
+                decodeURIComponent(
+                    (new RegExp("[?|&]" + name + "=" + "([^&;]+?)(&|#|;|$)").exec(
+                        location.href
+                    ) || [, ""])[1].replace(/\+/g, "%20")
+                ) || null
+            );
+        },
+        processFullScreen() {
+            this.excelFullScreen = !this.excelFullScreen;
+        }
+    },
+    mounted() {
+        this.woNo = this.getUrlKey("id")//获取地址栏参数
+        console.log(this.woNo);
+        if (this.woNo != null) {
+            this.processWoNo();
+        }
+        // this.woNo = this.$route.query.woNo
+        // if (this.woNo != null) {
+        //     this.processWoNo();
+        // } else {
+        //
+        // }
+        this.getList({}, 1);
+        this.getTreeData();
+    },
+    created() {
+        window['fullScreen'] = (rp) => {
+            this.processFullScreen(rp);
+        }
+        window['backToExcelList'] = (rp) => {
+            this.closeExcel(rp);
+        }
+        window['shareExcel'] = (a, b, c, d, e, f) => {
+            this.shareExcel(a, b, c, d, e, f);
+        }
+    },
+    name: "index"
+}
+</script>
+
+<style lang="scss" scoped>
+.container {
+    background-color: #f0f2f5;
+
+    .el-col {
+        background-color: white;
+        padding: 0 20px;
+    }
+
+    .container-box {
+        padding: 0;
+        margin-top: 0;
+        height: 100%;
+    }
+
+    .main-box {
+        overflow: hidden;
+        display: flex;
+
+        > div {
+            background-color: white;
+        }
+
+        .inner-left {
+            width: 20%;
+            padding: 0 20px;
+
+            .canel-style {
+                color: #1890ff;
+                cursor: pointer;
+                padding-left: 10px;
+            }
+        }
+
+        .inner-right {
+            width: 80%;
+            margin-left: 1%;
+        }
+    }
+}
+
+.el-button + .el-button {
+    margin-left: 20px;
+}
+
+.button-list {
+    padding: 30px 0 10px 0;
+}
+
+.choice-style {
+    background: rgb(255, 255, 255);
+}
+
+.tree-action {
+    bottom: 0;
+    width: 100%;
+    // border-top: 1px solid #e8e8e8;
+    padding: 10px 16px;
+    text-align: left;
+    left: 0;
+    background: #fff;
+    border-radius: 0 0 2px 2px;
+}
+
+.tree-line {
+    .el-tree-node__content {
+        padding-left: 0 !important;
+    }
+
+    .el-tree-node__expand-icon.is-leaf {
+        display: none !important;
+    }
+
+    .el-tree-node {
+        position: relative;
+        padding-left: 16px; // 缩进量
+    }
+
+    .el-tree-node__children {
+        padding-left: 16px; // 缩进量
+    }
+
+    // 竖线
+    .el-tree-node::before {
+        content: "";
+        height: 100%;
+        width: 1px;
+        position: absolute;
+        left: -3px;
+        top: -17px;
+        border-width: 1px;
+        border-left: 1px dashed #52627c;
+    }
+
+    // 当前层最后一个节点的竖线高度固定
+    .el-tree-node:last-child::before {
+        height: 38px; // 可以自己调节到合适数值
+    }
+
+    // 横线
+    .el-tree-node::after {
+        content: "";
+        width: 24px;
+        height: 20px;
+        position: absolute;
+        left: -3px;
+        top: 20px;
+        border-width: 1px;
+        border-top: 1px dashed #52627c;
+    }
+
+    // 去掉最顶层的虚线,放最下面样式才不会被上面的覆盖了
+    & > .el-tree-node::after {
+        border-top: none;
+    }
+
+    & > .el-tree-node::before {
+        border-left: none;
+    }
+
+    // 展开关闭的icon
+    .el-tree-node__expand-icon {
+        font-size: 16px;
+
+        // 叶子节点(无子节点)
+        &.is-leaf {
+            color: transparent;
+            // display: none; // 也可以去掉
+        }
+    }
+}
+
+.ant-alert-info {
+    background-color: #e6f7ff;
+    border: 1px solid #91d5ff;
+}
+
+.ant-alert {
+    box-sizing: border-box;
+    margin: 0;
+    padding: 0;
+    color: rgb(0, 0, 0);
+    font-size: 14px;
+    font-variant: tabular-nums;
+    line-height: 1.5;
+    list-style: none;
+    font-feature-settings: "tnum";
+    position: relative;
+    padding: 8px 15px 8px 37px;
+    word-wrap: break-word;
+    border-radius: 4px;
+}
+
+.containerr {
+    background: #fff;
+    height: calc(100vh);
+    width: calc(100vw);
+    position: fixed;
+    left: 0;
+    top: 0;
+    overflow: hidden;
+}
+
+.tabbox {
+    margin: 15px;
+}
+
+.online {
+    width: 100%;
+
+    .el-select {
+        width: calc(100% - 100px);
+    }
+
+    span {
+        vertical-align: top;
+    }
+
+    .el-textarea {
+        width: calc(100% - 100px);
+    }
+
+    .tree {
+        width: calc(50% - 60px);
+        display: inline-block;
+        margin-right: 20px;
+        height: 300px;
+        overflow-y: scroll;
+
+        .el-icon-error {
+            float: right;
+            font-size: 20px;
+            margin-top: 9px;
+            cursor: pointer;
+        }
+    }
+
+    .treeUser {
+        margin: 0;
+        border: 1px solid #ddd;
+
+        p {
+            background: #f4f4f4;
+            padding: 0 20px;
+            margin-bottom: 5px;
+        }
+    }
+
+    .treeUserb {
+        width: calc(100% - 100px);
+        border: 1px solid #ddd;
+        background: #f4f4f4;
+        border-radius: 3px;
+        height: auto;
+        overflow: hidden;
+
+        p {
+            display: inline-block;
+            padding: 0 20px;
+            margin-bottom: 5px;
+        }
+    }
+}
+</style>

+ 1 - 1
src/pages/main/organizaStructure/organization.vue

@@ -2,7 +2,7 @@
     <fullscreen :fullscreen.sync="fullscreen" class="container">
         <div class="container-box">
 
-            <h2>组织架构管理</h2>
+            <h2 class="font-ui">组织架构管理</h2>
             <div class="adv-type">
                 <div @click="jumpinfo('/personnelApproval','审批管理')">
                     <span>

+ 46 - 8
src/pages/main/performance/index.vue

@@ -1,19 +1,22 @@
 <template>
-  <div v-if="routes.length" class="performance-container flex-justify-start">
-    <div>
-      <el-tabs tab-position="left" v-model="name">
-        <el-tab-pane
+  <!-- <div v-if="routes.length" class="performance-container flex-justify-start"> -->
+  <div v-if="routes.length" class="performance-container">
+    <div class="box">
+      <el-tabs v-model="name" type="card">
+          <el-tab-pane
           v-for="({ label, name }, index) in routes"
           :key="index"
           :name="name"
           :label="label"
-        ></el-tab-pane>
+        >
+        </el-tab-pane>
       </el-tabs>
     </div>
-    <div class="container-viewport width-90 flex-1">
-      <div class="font-size-30 padding-bottom-20 padding-left-20">
+    <!-- <div class="container-viewport width-90 flex-1"> -->
+    <div class="container-viewport">
+      <!-- <div class="font-size-30 padding-bottom-20 padding-left-20">
         {{ handleLabel(name) }}
-      </div>
+      </div> -->
       <div
         v-if="!loading"
         class="performance-container-viewport-component"
@@ -208,4 +211,39 @@ export default {
     overflow: auto;
   }
 }
+.box{
+  border-bottom: 1px solid #e1e1e1;
+  height: 60px;
+}
+::v-deep .el-tabs__item {
+  width: 166px;
+  text-align: center;
+  border-left: 10px solid #ffffff;
+  border-right: 10px solid #ffffff;
+  
+}
+::v-deep .el-tabs__header {
+  margin: 0px;
+  background: #d8eaf6;
+  color: black;
+  margin-left: 20px;
+  display: inline-block;
+  border:0px
+}
+::v-deep .is-active {
+  background: #0583cd;
+  color: white;
+}
+
+::v-deep .el-tabs__item:hover {
+  color: black;
+}
+::v-deep .is-active:hover {
+  background: #0583cd;
+  color: white;
+}
+::v-deep .el-tabs--card>.el-tabs__header .el-tabs__nav {
+  border:0px
+}
+
 </style>

+ 1 - 1
src/pages/main/sati/importList.vue

@@ -2,7 +2,7 @@
   <div class="container mc-box">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>手机客户满意度列表</h2>
+        <h2 class="font-ui">手机客户满意度列表</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/sati/importLog.vue

@@ -2,7 +2,7 @@
   <div class="container mc-box">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>满意度历史</h2>
+        <h2 class="font-ui">满意度历史</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/sati/mobileList.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>手机客户满意度列表</h2>
+        <h2 class="font-ui">手机客户满意度列表</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/sysRoleInfo/roleList.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>角色管理</h2>
+        <h2 class="font-ui">角色管理</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 2 - 2
src/pages/main/terminal/advertisement.vue

@@ -2,14 +2,14 @@
     <div>
         <div class="container">
             <div class="container-box">
-                <h2>素材库</h2>
+                <h2 class="font-ui">素材库</h2>
                 <div class="adv-type">
                     <div v-for="item in typeList" :key="item.dataCode" @click="advmaterial(item)">
                         <span><i class="el-icon-folder-opened"></i></span>
                         <span>{{item.dataName}}</span>
                     </div>
                 </div>
-                <h2 style="margin-top: 20px;">广告管理</h2>
+                <h2 class="font-ui" style="margin-top: 20px;">广告管理</h2>
                 <div class="adv-box">
                     <div class="adv-tit" @click="jumpadv('0')">
                         <i class="el-icon-time"></i>

+ 1 - 1
src/pages/main/terminal/terminalApply.vue

@@ -3,7 +3,7 @@
         <div class="container structure-r" style="margin: 0;width: calc(50% - 10px);">
             <fullscreen :fullscreen.sync="fullscreen" class="container-box" style="padding: 0 20px 0 0;">
                 <div class="titbox">
-                    <h2>测试终端申请</h2>
+                    <h2 class="font-ui">测试终端申请</h2>
                 </div>
                 <div class="search">
                     <mySearch :searchList="searchList" @searchInfo="searchInfo"></mySearch>

+ 122 - 84
src/pages/main/terminal/terminalhome.vue

@@ -1,95 +1,133 @@
 <template>
-    <div class="inner-container">
-        <div class="tabBox">
-            <el-tabs tab-position="left" v-model="activeName" @tab-click="handleClick">
-                <el-tab-pane v-for="(item, index) in routerList" :key="index" :name="item.path" :label="item.label">
-                </el-tab-pane>
-            </el-tabs>
-        </div>
-        <div class="infoBox">
-            <router-view />
-        </div>
+  <div class="inner-container">
+    <div class="tabBox">
+      <el-tabs v-model="activeName" @tab-click="handleClick">
+        <el-tab-pane
+          v-for="(item, index) in routerList"
+          :key="index"
+          :name="item.path"
+          :label="item.label"
+        >
+        </el-tab-pane>
+      </el-tabs>
     </div>
+    <div class="infoBox">
+      <router-view />
+    </div>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                activeName: "",
-                showList: [],
-                routerList: [
-                    {
-                        label: "测试终端管理",
-                        path: "/terminal",
-                        name: "terminal"
-                    },
-                    {
-                        label: "测试终端申请",
-                        path: "/terminalApply",
-                        name: "terminalApply"
-                    },
-                    {
-                        label: "终端型号管理",
-                        path: "/terminalModel",
-                        name: "terminalModel"
-                    },
-                    {
-                        label: "终端台账管理",
-                        path: "/terminalStandbook",
-                        name: "terminalStandbook"
-                    },
-                ],
-            };
-        },
-        computed: {
-            menuList: function() {
-                let arr = [];
-                this.routerList.map((item) => {
-                    this.showList.map((row) => {
-                        if (item.path == row) {
-                            arr.push(item);
-                        }
-                    });
-                });
-                return arr;
-            },
-        },
-        methods: {
-            handleClick(val) {
-                if (this.$route.path != this.activeName) {
-                    this.$router.push(this.activeName);
-                }
-            },
+export default {
+  data() {
+    return {
+      activeName: "",
+      showList: [],
+      routerList: [
+        {
+          label: "测试终端管理",
+          path: "/terminal",
+          name: "terminal",
         },
-        mounted() {
-            this.activeName = this.$route.path;
+        {
+          label: "测试终端申请",
+          path: "/terminalApply",
+          name: "terminalApply",
         },
-        created() {
-            JSON.parse(sessionStorage.childrenMenus).map((item) => {
-                this.showList.push(item.jspUrl);
-            });
+        {
+          label: "终端型号管理",
+          path: "/terminalModel",
+          name: "terminalModel",
         },
-        watch: {
-            $route(to, from) {
-                this.activeName = this.$route.path;
-            },
+        {
+          label: "终端台账管理",
+          path: "/terminalStandbook",
+          name: "terminalStandbook",
         },
+      ],
     };
+  },
+  computed: {
+    menuList: function () {
+      let arr = [];
+      this.routerList.map((item) => {
+        this.showList.map((row) => {
+          if (item.path == row) {
+            arr.push(item);
+          }
+        });
+      });
+      return arr;
+    },
+  },
+  methods: {
+    handleClick(val) {
+      if (this.$route.path != this.activeName) {
+        this.$router.push(this.activeName);
+      }
+    },
+  },
+  mounted() {
+    this.activeName = this.$route.path;
+  },
+  created() {
+    JSON.parse(sessionStorage.childrenMenus).map((item) => {
+      this.showList.push(item.jspUrl);
+    });
+  },
+  watch: {
+    $route(to, from) {
+      this.activeName = this.$route.path;
+    },
+  },
+};
 </script>
-<style>
-    .el-tabs__content {
-        display: none;
-    }
-    .inner-container{
-        display: flex;
-        justify-content: space-between;
-    }
-    .tabBox{
-        width: 135px;
-    }
-    .infoBox{
-        background: #f4f4f4!important;
-        height: 100%;
-        width: calc(100% - 135px)
-    }
+<style lang="scss" scoped>
+
+.el-tabs__content {
+  display: none;
+}
+.inner-container {
+//   display: flex;
+//   justify-content: space-between;
+}
+.tabBox {
+  border-bottom: 1px solid #e1e1e1;
+  height: 55px;
+  margin-top: 10px;
+}
+.infoBox {
+  background: #f4f4f4 !important;
+  height: 100%;
+//   width: calc(100% - 135px);
+    margin-left: 20px;
+}
+::v-deep .el-tabs__item {
+  width: 166px;
+  text-align: center;
+  border-left: 10px solid #ffffff;
+  border-right: 10px solid #ffffff;
+  padding: 0;
+}
+::v-deep .el-tabs__header {
+  margin: 0px;
+  background: #d8eaf6;
+  color: black;
+  margin-left: 20px;
+  display: inline-block;
+}
+::v-deep .is-active {
+  background: #0583cd;
+  color: white;
+}
+
+::v-deep .el-tabs__item:hover {
+  color: black;
+}
+::v-deep .is-active:hover {
+  background: #0583cd;
+  color: white;
+}
+::v-deep .el-tabs__active-bar{
+		width: 0px !important;
+	}
 </style>

+ 1 - 1
src/pages/main/userImage/labelList.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>用户投诉标签管理</h2>
+        <h2 class="font-ui">用户投诉标签管理</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/userImage/strategyList.vue

@@ -2,7 +2,7 @@
   <div class="container">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>修复策略维护</h2>
+        <h2 class="font-ui">修复策略维护</h2>
         <div>
           <i class="el-icon-refresh" @click="iconCli(1)"></i>
           <i class="el-icon-full-screen" @click="iconCli(2)"></i>

+ 1 - 1
src/pages/main/userImage/userFx.vue

@@ -2,7 +2,7 @@
   <div class="container mc-box">
     <fullscreen :fullscreen.sync="fullscreen" class="container-box">
       <div class="titbox">
-        <h2>用户投诉分析</h2>
+        <h2 class="font-ui">用户投诉分析</h2>
       </div>
       <el-col :span="12">
         <el-form

+ 0 - 0
src/pages/main/voicediscern/index.vue


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott