Commit 032a8865 authored by qinj's avatar qinj

Merge branch 'dev' of http://120.25.63.219:6088/rex/portalhtml into dev

parents 4226821c 47978b48
...@@ -23,41 +23,35 @@ const customersRouter = { ...@@ -23,41 +23,35 @@ const customersRouter = {
{ {
path: '/customersAdd', path: '/customersAdd',
component: () => import('@/views/customers/customers-add'), component: () => import('@/views/customers/customers-add'),
name: 'CustomersAdd', name: 'CustomersOverviewAdd',
meta: {title: '代理商新增'}, meta: {title: '代理商新增'},
hidden: true, hidden: true,
}, },
{ {
path: '/customersDetails/total', path: '/CustomersOverview-detail',
component: () => import('@/views/customers/customers-details/index.vue'), component: () => import('@/views/customers/customers-details/index.vue'),
name: 'customersDetails', name: 'CustomersOverviewDetail',
meta: {title: '总代理商详情'}, meta: {title: '总代理商详情'},
hidden: true, hidden: true,
}, },
{ {
path: '/customersDetails/province', path: '/CustomersProvince-detail',
component: () => import('@/views/customers/customers-details/province.vue'), component: () => import('@/views/customers/customers-details/province.vue'),
name: 'customersDetails', name: 'CustomersProvinceDetail',
meta: {title: '省代理商详情'}, meta: {title: '省代理商详情'},
hidden: true, hidden: true,
}, },
{ {
path: '/customersDetails/area', path: '/CustomersCity-detail',
component: () => import('@/views/customers/customers-details/area.vue'), component: () => import('@/views/customers/customers-details/area.vue'),
name: 'customersDetails', name: 'CustomersCityDetail',
meta: {title: '城市代理商详情'}, meta: {title: '城市代理商详情'},
hidden: true, hidden: true,
}, },
// {
// path: '/potential',
// component: () => import('@/views/customers/potential-customers'),
// name: 'PotentialCustomers',
// meta: { title: 'potentialCustomers' }
// },
{ {
path: '/potential-list', path: '/potential-list',
component: () => import('@/views/customers/potential-list'), component: () => import('@/views/customers/potential-list'),
name: 'PotentialList', name: 'CustomersProcessDetail',
meta: {title: '省级代理商审批'}, meta: {title: '省级代理商审批'},
hidden: true, hidden: true,
}, },
...@@ -82,7 +76,7 @@ const customersRouter = { ...@@ -82,7 +76,7 @@ const customersRouter = {
{ {
path: '/citypotential-list', path: '/citypotential-list',
component: () => import('@/views/customers/citypotenial-list'), component: () => import('@/views/customers/citypotenial-list'),
name: 'CityPotenialList', name: 'CustomersProcessDetail',
meta: {title: '城市代理商审批'}, meta: {title: '城市代理商审批'},
hidden: true, hidden: true,
}, { }, {
......
...@@ -35,22 +35,22 @@ const modelsRouter = { ...@@ -35,22 +35,22 @@ const modelsRouter = {
path: 'all', path: 'all',
component: () => import('@/views/models/all-models'), component: () => import('@/views/models/all-models'),
name: 'TemplatesAll', name: 'TemplatesAll',
meta: { title: '模板' } meta: { title: '全部模板' }
}, },
{ // {
path: 'detail', // path: 'detail',
component: () => import('@/views/contract/contract-detail/detail'), // component: () => import('@/views/contract/contract-detail/detail'),
name: 'ContractDetail', // name: 'ContractDetail',
hidden: true, // hidden: true,
meta: { title: '合同详情' } // meta: { title: '合同详情' }
}, // },
{ // {
path: 'template-edit', // path: 'template-edit',
component: () => import('@/views/contract/template-detail/edit'), // component: () => import('@/views/contract/template-detail/edit'),
name: 'ContractTemplateDetail', // name: 'ContractTemplateDetail',
hidden: true, // hidden: true,
meta: { title: '合同模板编辑' } // meta: { title: '合同模板编辑' }
} // }
] ]
} }
export default modelsRouter export default modelsRouter
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<el-button <el-button
type="primary" type="primary"
icon="el-icon-plus" icon="el-icon-plus"
v-permission='20101'
@click="handleAdd" @click="handleAdd"
>添加</el-button> >添加</el-button>
</template> </template>
...@@ -54,7 +55,7 @@ export default { ...@@ -54,7 +55,7 @@ export default {
// 编辑 // 编辑
handleEdit(row) { handleEdit(row) {
console.log(row) console.log(row)
this.$router.push({ path: '/customersDetails/total',query: { objectID: row.ObjectID}}) this.$router.push({ path: '/CustomersOverview-detail',query: { objectID: row.ObjectID}})
}, },
// 添加 // 添加
handleAdd() { handleAdd() {
......
...@@ -47,8 +47,8 @@ export default { ...@@ -47,8 +47,8 @@ export default {
methods: { methods: {
// 编辑 // 编辑
handleEdit(row) { handleEdit(row) {
this.$router.push({ path: '/customersDetails/area',query: { objectID: row.ObjectID}}) this.$router.push({ path: '/CustomersCity-detail',query: { objectID: row.ObjectID}})
console.log("编辑", row) // console.log("编辑", row)
}, },
// 添加 // 添加
handleAdd() { handleAdd() {
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
methods: { methods: {
// 编辑 // 编辑
handleEdit(row) { handleEdit(row) {
this.$router.push({ path: '/customersDetails/province',query: { objectID: row.ObjectID}}) this.$router.push({ path: '/CustomersProvince-detail',query: { objectID: row.ObjectID}})
console.log("编辑", row) console.log("编辑", row)
}, },
// 添加 // 添加
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment