Commit a52e2da6 by 张立顺

feat 路径添加

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