Commit a52e2da6 by 张立顺

feat 路径添加

1 parent 4888a1c9
...@@ -40,6 +40,8 @@ export const routerName = { ...@@ -40,6 +40,8 @@ export const routerName = {
parentId: "91301", parentId: "91301",
label: "查看", label: "查看",
handle: "handleDetail", handle: "handleDetail",
category: "Button",
type: "primary",
addRoutePath: [ addRoutePath: [
{ {
authId: "91303", authId: "91303",
...@@ -292,7 +294,21 @@ export const routerName = { ...@@ -292,7 +294,21 @@ export const routerName = {
parentId: "913", parentId: "913",
cache: false cache: false
}, },
auth: [], auth: [
{
authId: "9130902",
parentId: "91309",
label: "新增配置",
handle: "goStatisticsPage",
addRoutePath: [
{
authId: "91311",
name: "新增配置",
parentId: "91309"
}
]
}
],
component: _import("contentManager/packageConfig/index") component: _import("contentManager/packageConfig/index")
}, },
91310: { 91310: {
...@@ -307,6 +323,17 @@ export const routerName = { ...@@ -307,6 +323,17 @@ export const routerName = {
auth: [], auth: [],
component: _import("contentManager/packageConfig/edit") component: _import("contentManager/packageConfig/edit")
}, },
91311: {
path: "/addEquity",
name: "addEquity",
meta: {
title: "新增配置",
authId: "91311",
parentId: "91309",
cache: false
},
component: _import("contentManager/packageConfig/addEquity")
},
91315: { 91315: {
path: "/customerTags", path: "/customerTags",
name: "customerTags", name: "customerTags",
...@@ -331,7 +358,7 @@ export const routerName = { ...@@ -331,7 +358,7 @@ export const routerName = {
auth: [], auth: [],
component: _import("contentManager/customerFile/index") component: _import("contentManager/customerFile/index")
}, },
9131701:{ 9131701: {
path: "/customerFileDetails", path: "/customerFileDetails",
name: "customerFileDetails", name: "customerFileDetails",
meta: { meta: {
......
...@@ -5,11 +5,7 @@ ...@@ -5,11 +5,7 @@
<d2-search ref="showSearch" class="show-search" :search-form="searchForm" :label-width="'100px'" <d2-search ref="showSearch" class="show-search" :search-form="searchForm" :label-width="'100px'"
:form-data="showFormData"> :form-data="showFormData">
<template slot="brand"> <template slot="brand">
<el-cascader <el-cascader v-model="searchForm.brand" filterable :options="options" :props="{ checkStrictly: true }"
v-model="searchForm.brand"
filterable
:options="options"
:props="{ checkStrictly: true }"
clearable></el-cascader> clearable></el-cascader>
</template> </template>
</d2-search> </d2-search>
...@@ -26,8 +22,8 @@ ...@@ -26,8 +22,8 @@
新增配置 新增配置
</el-button> </el-button>
</d2-table-header> </d2-table-header>
<d2-table ref="table" :get-list-api="getListApi" :search-form="searchFormSearch" <d2-table ref="table" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams"
:table-params="tableParams" :before-search-fn="beforeSearchFn"> :before-search-fn="beforeSearchFn">
<div slot="auth-button" slot-scope="scope"> <div slot="auth-button" slot-scope="scope">
<el-button type="text" @click="handleEdit(scope.scope)"> <el-button type="text" @click="handleEdit(scope.scope)">
编辑 编辑
...@@ -213,7 +209,7 @@ export default { ...@@ -213,7 +209,7 @@ export default {
}) })
}, },
handleDialog() { handleDialog() {
this.$router.push({name: "addEquity"}) this.$router.push({ name: "addEquity" })
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!