ソースを参照

Merge branch 'hjw-spfmui' into 'hotfix'

Hjw spfmui

See merge request spfm/spfm-market-front!215
徐兴安 2 年 前
コミット
bbb6d3f036
86 ファイル変更4374 行追加2488 行削除
  1. 2 2
      public/index.html
  2. 4 2
      src/App.vue
  3. 7 2
      src/assets/calendar.scss
  4. BIN
      src/assets/dbyb-bt-bj3.jpg
  5. BIN
      src/assets/djlph-bt-bj.jpg
  6. BIN
      src/assets/logo.png
  7. BIN
      src/assets/newlogo-old.png
  8. BIN
      src/assets/newlogo.png
  9. BIN
      src/assets/newlogo2-old.png
  10. BIN
      src/assets/newlogo2.png
  11. 91 20
      src/components/p-header.vue
  12. 127 87
      src/components/p-menu-item.vue
  13. 183 167
      src/components/p-menu.vue
  14. 24 20
      src/components/p-tabs.vue
  15. 2 2
      src/components/toolList.vue
  16. 136 96
      src/pages/main/achievements/achievementsIndex.vue
  17. 1 1
      src/pages/main/achievements/achievementsMuban.vue
  18. 1 1
      src/pages/main/achievements/issueList.vue
  19. 4 1
      src/pages/main/achievements/recallBumen.vue
  20. 4 1
      src/pages/main/achievements/recallGS.vue
  21. 4 1
      src/pages/main/achievements/recallJt.vue
  22. 1 1
      src/pages/main/achievements/recallMuban.vue
  23. 2 2
      src/pages/main/advertising/index.vue
  24. 1 1
      src/pages/main/advertising/indexs.vue
  25. 63 24
      src/pages/main/antiSpoofing/home.vue
  26. 176 154
      src/pages/main/budget/budgetIndex.vue
  27. 1 1
      src/pages/main/budget/budgetList.vue
  28. 1 1
      src/pages/main/budget/initBudget.vue
  29. 1 1
      src/pages/main/budget/issueList.vue
  30. 1 1
      src/pages/main/budget/noRecall.vue
  31. 1 1
      src/pages/main/budget/recall.vue
  32. 1 1
      src/pages/main/businessOutsourc/index.vue
  33. 1 1
      src/pages/main/busitime/busiTime.vue
  34. 1 1
      src/pages/main/busitime/busiTimeout.vue
  35. 874 803
      src/pages/main/competitor/compete.vue
  36. 5 2
      src/pages/main/competitor/competeInfo.vue
  37. 42 8
      src/pages/main/competitor/home.vue
  38. 1 1
      src/pages/main/compvis/complaintFeedback.vue
  39. 1 1
      src/pages/main/compvis/complaintWoAlarmInfo.vue
  40. 1 1
      src/pages/main/compvis/complaintlog.vue
  41. 1 1
      src/pages/main/compvis/compvisList.vue
  42. 1 1
      src/pages/main/customer/ydBrodbdNetwork.vue
  43. 1 1
      src/pages/main/customer/ydBrodbdUser.vue
  44. 1 1
      src/pages/main/customer/ydGroupUser.vue
  45. 1 1
      src/pages/main/customer/ydLobbyUser.vue
  46. 1 1
      src/pages/main/customer/ydMobileNetwork.vue
  47. 1 1
      src/pages/main/customer/ydMobileUser.vue
  48. 1 1
      src/pages/main/customer/ydTariff.vue
  49. 1 1
      src/pages/main/fileList/fileList.vue
  50. 14 11
      src/pages/main/fileList/fileListIndex.vue
  51. 1 1
      src/pages/main/flow/flowInit.vue
  52. 1 1
      src/pages/main/form/fromIndex.vue
  53. 38 25
      src/pages/main/fullcalendar/calendar.vue
  54. 1 1
      src/pages/main/homeMarket/magicboxAudit/index.vue
  55. 1 1
      src/pages/main/homeMarket/tvAssess/tvAssessIndex.vue
  56. 1 1
      src/pages/main/homeMarket/tvIntroduction/index.vue
  57. 18 4
      src/pages/main/index.vue
  58. 305 910
      src/pages/main/leader/index.vue
  59. 284 0
      src/pages/main/leader/leaderHome.vue
  60. 363 0
      src/pages/main/leader/leaderHprocess.vue
  61. 374 0
      src/pages/main/leader/leaderTag.vue
  62. 725 0
      src/pages/main/leader/leaderhomeTask.vue
  63. 272 0
      src/pages/main/leader/numberHits.vue
  64. 1 1
      src/pages/main/logQuery/logQueryList.vue
  65. 1 1
      src/pages/main/longProcessVis/accountQuery.vue
  66. 1 1
      src/pages/main/longProcessVis/orderOverList.vue
  67. 1 1
      src/pages/main/longProcessVis/processAlarmInfoQuery.vue
  68. 1 1
      src/pages/main/longProcessVis/processList.vue
  69. 1 1
      src/pages/main/longProcessVis/processQueryHis.vue
  70. 1 1
      src/pages/main/longProcessVis/relatedFeedback.vue
  71. 4 4
      src/pages/main/marketSchedul/index.vue
  72. 4 0
      src/pages/main/noticec/index.vue
  73. 1 1
      src/pages/main/organizaStructure/organization.vue
  74. 46 8
      src/pages/main/performance/index.vue
  75. 1 1
      src/pages/main/sati/importList.vue
  76. 1 1
      src/pages/main/sati/importLog.vue
  77. 1 1
      src/pages/main/sati/mobileList.vue
  78. 1 1
      src/pages/main/sysRoleInfo/roleList.vue
  79. 2 2
      src/pages/main/terminal/advertisement.vue
  80. 1 1
      src/pages/main/terminal/terminalApply.vue
  81. 122 84
      src/pages/main/terminal/terminalhome.vue
  82. 1 1
      src/pages/main/userImage/labelList.vue
  83. 1 1
      src/pages/main/userImage/strategyList.vue
  84. 1 1
      src/pages/main/userImage/userFx.vue
  85. 1 1
      src/pages/main/voicediscern/index.vue
  86. 7 0
      src/router/index.js

+ 2 - 2
public/index.html

@@ -25,8 +25,8 @@
   <div id="app"></div>
   <!-- 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.230.26.15:8000/mkt'; // 正式
+    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/';
 

+ 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>

ファイルの差分が大きいため隠しています
+ 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>

+ 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>

ファイルの差分が大きいため隠しています
+ 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>

ファイルの差分が大きいため隠しています
+ 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>

+ 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

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

@@ -3,7 +3,7 @@
 
         <div class="container-box">
             <div class="titbox">
-                <h2>语音识别</h2>
+                <h2 class="font-ui">语音识别</h2>
             </div>
 
             <div class="audio-box">

+ 7 - 0
src/router/index.js

@@ -696,6 +696,13 @@ const routes = [{
                 ['../pages/main/leader/index.vue'], resolve)
         },
         {
+            meta: { name:  '新首页', keepAlive: false },
+            path: '/leaderHome',
+            name: 'leaderHome',
+            component: (resolve) => require( /* webpackChunkName: "system" */
+                ['../pages/main/leader/leaderHome.vue'], resolve)
+        },
+        {
             meta: { name:  '品质部首页', keepAlive: false },
             path: '/marketHome',
             name: 'marketHome',