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

Merge branch 'dev' of http://git.echepei.com/caojunjie/Smart_platform_ui into dev

QuKatie 3 éve
szülő
commit
d77fd1240e

+ 8 - 0
src/enums/column-name.js

@@ -369,6 +369,14 @@ const columnName = [{
     code: 100,
     name: '公司下拉'
   },
+  {
+    code: 101,
+    name: '销售机会列表'
+  },
+  {
+    code: 102,
+    name: '销售机会明细'
+  },
 ]
 export const getColumnName = (key) => {
   for (let index = 0; index < columnName.length; index++) {

+ 15 - 0
src/router/views/index.js

@@ -1230,4 +1230,19 @@ export default [{
       component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/requisition/index')
     }]
   },
+  //销售机会
+  {
+    path: '/saleLeads/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/saleLeads/index',
+      name: '销售机会',
+      meta: {
+        i18n: '/saleLeads/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/saleLeads/index')
+    }]
+  },
 ]

+ 2 - 2
src/views/basicData/customerInformation/detailsPageEdit.vue

@@ -12,10 +12,10 @@
         </el-button>
       </div>
       <div class="add-customer-btn">
-        <el-button type="primary" @click="synchronization" size="small"
+        <el-button type="primary" @click="synchronization" size="small" :disabled="!form.id"
         >同 步
         </el-button>
-        <el-button type="primary" @click="openFlow" size="small"
+        <el-button type="primary" @click="openFlow" size="small" :disabled="!form.id"
           >审 核
         </el-button>
         <el-button

+ 2 - 2
src/views/basicData/factoryInformation/factoryInformation/detailsPageEdit.vue

@@ -12,10 +12,10 @@
         </el-button>
       </div>
       <div class="add-customer-btn">
-        <el-button type="primary" @click="synchronization" size="small"
+        <el-button type="primary" @click="synchronization" size="small" :disabled="!form.id"
         >同 步
         </el-button>
-        <el-button type="primary" @click="openFlow" size="small"
+        <el-button type="primary" @click="openFlow" size="small" :disabled="!form.id"
           >审 核
         </el-button>
         <el-button

+ 2 - 2
src/views/basicData/fleetInformation/detailsPageEdit.vue

@@ -12,10 +12,10 @@
         </el-button>
       </div>
       <div class="add-customer-btn">
-        <el-button type="primary" @click="synchronization" size="small"
+        <el-button type="primary" @click="synchronization" size="small" :disabled="!form.id"
           >同 步
         </el-button>
-        <el-button type="primary" @click="openFlow" size="small"
+        <el-button type="primary" @click="openFlow" size="small" :disabled="!form.id"
           >审 核
         </el-button>
         <el-button