Browse Source

报价单

qymljy 2 years ago
parent
commit
e71eca026d
2 changed files with 21 additions and 12 deletions
  1. 7 1
      src/SDrpManagement/QuotedPrice/index.vue
  2. 14 11
      src/router/SDrpManagement.js

+ 7 - 1
src/SDrpManagement/QuotedPrice/index.vue

@@ -1,6 +1,12 @@
 <template>
   <div>
-    <basicLayout ref="quotedPriceList" formPath="QuotedPrice" tableName="quotedPriceTable" idName="sa_quotedpriceid" :apiId="{query:20221020165103,del:20221020165503}" :options="options">
+    <basicLayout
+        ref="quotedPriceList"
+        formPath="QuotedPrice"
+        tableName="quotedPriceTable"
+        idName="sa_quotedpriceid"
+        :apiId="{query:20221020165103,del:20221020165503}"
+        :options="options">
       <div slot="custom"></div>
       <template v-slot:tbList="scope">
         <div>

+ 14 - 11
src/router/SDrpManagement.js

@@ -99,17 +99,20 @@ const SDrpManagement = [
       ast_nav:true,
       keeproute: true
     },
-    component: () => import(/* webpackChunkName: "about" */ '@/SDrpManagement/QuotedPrice/index')
+    component: () => import(/* webpackChunkName: "about" */ '@/SDrpManagement/QuotedPrice/index'),
+    children: [
+      {
+        path: '/quotedPriceDetail',
+        name: 'quotedprice',
+        meta: {
+          title: "项目报价详情",
+          ast_nav:true,
+          keeproute: true
+        },
+        component: () => import(/* webpackChunkName: "about" */ '@/SDrpManagement/QuotedPrice/detail/index')
+      }
+    ]
   },
-  {
-    path: '/quotedPriceDetail',
-    name: 'quotedprice',
-    meta: {
-      title: "项目报价详情",
-      ast_nav:true,
-      keeproute: true
-    },
-    component: () => import(/* webpackChunkName: "about" */ '@/SDrpManagement/QuotedPrice/detail/index')
-  }
+
 ]
 export default SDrpManagement