gjy 2 роки тому
батько
коміт
62c28f9050

+ 8 - 0
src/App.vue

@@ -9,3 +9,11 @@ export default {
   name: 'App'
 }
 </script>
+<style  lang="scss">
+.el-button--primary {
+    color: #FFF;
+    background-color: #2f53eb;
+    border-color: #2f53eb;
+}
+
+</style>

+ 4 - 1
src/layout/components/Sidebar/SidebarItem.vue

@@ -1,7 +1,7 @@
 <template>
   <div v-if="!item.hidden">
     <template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
-      <app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
+      <app-link v-if="onlyOneChild.meta" @click.native="flushCom" :to="resolvePath(onlyOneChild.path)">
         <el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
           <item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
         </el-menu-item>
@@ -61,6 +61,9 @@ export default {
     return {}
   },
   methods: {
+    flushCom:function(){
+      this.$router.go(0);  
+   },
     hasOneShowingChild(children = [], parent) {
       const showingChildren = children.filter(item => {
         if (item.hidden) {

+ 4 - 0
src/router/cargoOwnerManagement/index.js

@@ -6,6 +6,7 @@ const cargoOwnerManagementRouter = {
     path: '/cargoOwnerManagement',
     component: Layout,
     redirect: 'noRedirect',
+    t:new Date(),
     name: 'cargoOwnerManagement',
     meta: {
         title: '货主管理',
@@ -14,6 +15,7 @@ const cargoOwnerManagementRouter = {
     children: [{
         path: 'empowerExamine',
         name: 'empowerExamine',
+        t:new Date(),
         component: () => import('@/views/cargoOwnerManagement/empowerExamine'),
         meta: {
             title: '货主信息',
@@ -23,6 +25,7 @@ const cargoOwnerManagementRouter = {
     {
         path: 'merchantVerification',
         name: 'merchantVerification',
+        t:new Date(),
         component: () => import('@/views/cargoOwnerManagement/merchantVerification'),
         meta: {
             title: '授权审核',
@@ -32,6 +35,7 @@ const cargoOwnerManagementRouter = {
     {
         path: 'taskAudit',
         name: 'taskAudit',
+        t:new Date(),
         component: () => import('@/views/cargoOwnerManagement/taskAudit'),
         meta: {
             title: '任务审核',

+ 2 - 2
src/views/cargoOwnerManagement/empowerExamine.vue

@@ -9,7 +9,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按货主姓名、账号查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+              <el-input placeholder="可按货主姓名、账号查找" v-model="searchkeyWord" @keyup.enter.native="find" clearable @change="find"></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button>
             </div>
@@ -615,7 +615,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/cargoOwnerManagement/merchantVerification.vue

@@ -9,7 +9,7 @@
 					</el-col>
 					<el-col :span="10">
 						<div class="screen">
-							<el-input placeholder="可按货主姓名、账号和企业名称查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+							<el-input placeholder="可按货主姓名、账号和企业名称查找" @keyup.enter.native="find" v-model="searchkeyWord" clearable @change="find"></el-input>
 							<el-button class="search" @click="find"><img width="16" height="16"
 									style="margin-left: -8px" src="../../../public/img/sousuo.png" /></el-button><span
 								class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -292,7 +292,7 @@
 			.search {
 				width: 40px;
 				height: 40px;
-				background: #f7f8fa;
+				background: #2f53eb;
 				border-radius: 0px 2px 2px 0px;
 				border: 1px solid #f0f1f2;
 			}

+ 1 - 1
src/views/cargoOwnerManagement/taskAudit.vue

@@ -317,7 +317,7 @@
 			.search {
 				width: 40px;
 				height: 40px;
-				background: #f7f8fa;
+				background: #2f53eb;
 				border-radius: 0px 2px 2px 0px;
 				border: 1px solid #f0f1f2;
 			}

+ 7 - 3
src/views/contractManagement/contractModel.vue

@@ -9,7 +9,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按司机姓名、账号、身份证号查找" v-model="searchkeyWord" clearable></el-input>
+              <el-input placeholder="可按司机姓名、账号、身份证号查找" @keyup.enter.native="find" v-model="searchkeyWord" clearable></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button><span
                 class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -194,7 +194,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }
@@ -233,7 +233,11 @@
       }
     }
   }
-
+.el-button--primary {
+    color: #FFF;
+    background-color: #2f53eb;
+    border-color: #2f53eb;
+}
   .tips {
     color: #999999;
     font-size: 14px;

+ 2 - 2
src/views/driverManagement/fleetInfo.vue

@@ -7,7 +7,7 @@
           <el-col :span="14" style="height: 45px"> </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按队长姓名、账号、车队名称查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+              <el-input placeholder="可按队长姓名、账号、车队名称查找" @keyup.enter.native="find" v-model="searchkeyWord" clearable @change="find"></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button><span
                 class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -325,7 +325,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/driverManagement/identityExamine.vue

@@ -9,7 +9,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按司机姓名、账号、身份证号查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+              <el-input placeholder="可按司机姓名、账号、身份证号查找" @keyup.enter.native="find" v-model="searchkeyWord" clearable @change="find"></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button><span
                 class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -728,7 +728,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/driverManagement/vehicleExamine.vue

@@ -9,7 +9,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按司机姓名、账号、车牌号查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+              <el-input placeholder="可按司机姓名、账号、车牌号查找" v-model="searchkeyWord" @keyup.enter.native="find" clearable @change="find"></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button><span
                 class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -450,7 +450,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/enterpriseManagement/enterpriseAudit.vue

@@ -9,7 +9,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按法人姓名、账号、企业名称查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+              <el-input placeholder="可按法人姓名、账号、企业名称查找" @keyup.enter.native="find" v-model="searchkeyWord" clearable @change="find"></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button><span
                 class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -463,7 +463,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/feedbackManagement/userFeedback.vue

@@ -9,7 +9,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按工单编号、姓名、账号和反馈信息查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+              <el-input placeholder="可按工单编号、姓名、账号和反馈信息查找" @keyup.enter.native="find" v-model="searchkeyWord" clearable @change="find"></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button><span
                 class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -297,7 +297,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/officialWebsiteManagement/news.vue

@@ -7,7 +7,7 @@
               range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
             </el-date-picker>
             <div class="screen">
-              <el-input v-model="searchkeyWord" placeholder="可按编号和标题内容查找" clearable />
+              <el-input v-model="searchkeyWord" @keyup.enter.native="find" placeholder="可按编号和标题内容查找" clearable />
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png"></el-button>
             </div>
@@ -198,7 +198,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/officialWebsiteManagement/notice.vue

@@ -7,7 +7,7 @@
               range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
             </el-date-picker>
             <div class="screen">
-              <el-input v-model="searchkeyWord" placeholder="可按编号和标题内容查找" clearable />
+              <el-input v-model="searchkeyWord" @keyup.enter.native="find" placeholder="可按编号和标题内容查找" clearable />
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png"></el-button>
             </div>
@@ -198,7 +198,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 2 - 2
src/views/officialWebsiteManagement/publicity.vue

@@ -7,7 +7,7 @@
               range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
             </el-date-picker>
             <div class="screen">
-              <el-input v-model="searchkeyWord" placeholder="可按编号和标题内容查找" clearable />
+              <el-input v-model="searchkeyWord" @keyup.enter.native="find" placeholder="可按编号和标题内容查找" clearable />
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png"></el-button>
             </div>
@@ -198,7 +198,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }

+ 7 - 3
src/views/orderManagement/orderAudit.vue

@@ -12,7 +12,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input placeholder="可按订单编号、姓名、账号查找" v-model="searchkeyWord" clearable @change="find"></el-input>
+              <el-input placeholder="可按订单编号、姓名、账号查找" @keyup.enter.native="find" v-model="searchkeyWord" clearable @change="find"></el-input>
               <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                   src="../../../public/img/sousuo.png" /></el-button><span
                 class="count_css">共{{ deptBudgetTotal }}条</span>
@@ -674,7 +674,7 @@
       .search {
         width: 40px;
         height: 40px;
-        background: #f7f8fa;
+        background: #2f53eb;
         border-radius: 0px 2px 2px 0px;
         border: 1px solid #f0f1f2;
       }
@@ -709,7 +709,11 @@
       }
     }
   }
-
+.el-button--primary {
+    color: #FFF;
+    background-color: #2f53eb;
+    border-color: #2f53eb;
+}
   .cost_css {
     .cost_item {
       width: 100%;

+ 7 - 3
src/views/platformManagement/specifiedRecords.vue

@@ -9,7 +9,7 @@
           </el-col>
           <el-col :span="10">
             <div class="screen">
-              <el-input v-model="searchkeyWord" placeholder="可按版本号、编写单位、编撰人员查找" clearable @change="find" />
+              <el-input v-model="searchkeyWord" placeholder="可按版本号、编写单位、编撰人员查找" @keyup.enter.native="find" clearable @change="find" />
               <el-button class="search" @click="find"><img
                 width="16"
                 height="16"
@@ -349,7 +349,7 @@ export default {
 			.search {
 				width: 40px;
 				height: 40px;
-				background: #f7f8fa;
+				background: #2f53eb;
 				border-radius: 0px 2px 2px 0px;
 				border: 1px solid #f0f1f2;
 			}
@@ -384,7 +384,11 @@ export default {
 			}
 		}
 	}
-
+.el-button--primary {
+    color: #FFF;
+    background-color: #2f53eb;
+    border-color: #2f53eb;
+}
 	.car_css {
 		width: 50%;
 		display: inline-block;