Commit de6fd25d authored by dcy's avatar dcy

新建客户但是标题显示编辑客户,应改为新建客户 bug修复

parent bdc62026
......@@ -252,6 +252,13 @@ export const constantRoutes = [
name: 'customerEdit',
meta: {title: '编辑客户', icon: '', activeMenu: '/customer/customer'}
},
{
path: 'add-edit/:customerId(\\d+)',
component: (resolve) => import('@/views/ecw/customer/edit'),
props: true,
name: 'customerEdit',
meta: {title: '新建客户', icon: '', activeMenu: '/customer/customer'}
},
{
path: 'query/:customerId(\\d+)',
component: (resolve) => import('@/views/ecw/customer/query'),
......
......@@ -627,7 +627,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
this.$router.push('/customer/edit/0')
this.$router.push('/customer/add-edit/0')
// this.reset();
// this.open = true;
// this.title = "添加客户";
......
......@@ -271,7 +271,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
this.$router.push('/customer/edit/0')
this.$router.push('/customer/add-edit/0')
// this.reset();
// this.open = true;
// this.title = "添加客户";
......
......@@ -244,7 +244,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
this.$router.push('/customer/edit/0')
this.$router.push('/customer/add-edit/0')
// this.reset();
// this.open = true;
// this.title = "添加客户";
......
......@@ -278,7 +278,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
this.$router.push('/customer/edit/0')
this.$router.push('/customer/add-edit/0')
// this.reset();
// this.open = true;
// this.title = "添加客户";
......
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