diff --git a/src/router/modules/customer.ts b/src/router/modules/customer.ts index fe11b9d..58dde63 100644 --- a/src/router/modules/customer.ts +++ b/src/router/modules/customer.ts @@ -85,19 +85,19 @@ { path: ':type/:id?', name: 'CustomerDetail', - component: () => import('@/views/measure/source/listAdd.vue'), + component: () => import('@/views/customer/customerInfo/customerEdit.vue'), meta: { title: '客户详情', icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/source/list', + activeMenu: '/customerManage/list', }, }, { path: 'advice', name: 'CustomerAdvice', - component: () => import('@/views/measure/source/approve.vue'), + component: () => import('@/views/customer/adviceList.vue'), meta: { title: '客户关系', icon: 'ep:key', @@ -107,7 +107,7 @@ { path: 'advice/:type/:id?', name: 'CustomerAdviceDetail', - component: () => import('@/views/measure/source/components/sourceApprovalDetail.vue'), + component: () => import('@/views/customer/advice/adviceEdit.vue'), meta: { title: '客户关系详情', icon: 'ep:key', diff --git a/src/router/modules/customer.ts b/src/router/modules/customer.ts index fe11b9d..58dde63 100644 --- a/src/router/modules/customer.ts +++ b/src/router/modules/customer.ts @@ -85,19 +85,19 @@ { path: ':type/:id?', name: 'CustomerDetail', - component: () => import('@/views/measure/source/listAdd.vue'), + component: () => import('@/views/customer/customerInfo/customerEdit.vue'), meta: { title: '客户详情', icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/source/list', + activeMenu: '/customerManage/list', }, }, { path: 'advice', name: 'CustomerAdvice', - component: () => import('@/views/measure/source/approve.vue'), + component: () => import('@/views/customer/adviceList.vue'), meta: { title: '客户关系', icon: 'ep:key', @@ -107,7 +107,7 @@ { path: 'advice/:type/:id?', name: 'CustomerAdviceDetail', - component: () => import('@/views/measure/source/components/sourceApprovalDetail.vue'), + component: () => import('@/views/customer/advice/adviceEdit.vue'), meta: { title: '客户关系详情', icon: 'ep:key', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue new file mode 100644 index 0000000..0dafa50 --- /dev/null +++ b/src/views/customer/advice/adviceEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/router/modules/customer.ts b/src/router/modules/customer.ts index fe11b9d..58dde63 100644 --- a/src/router/modules/customer.ts +++ b/src/router/modules/customer.ts @@ -85,19 +85,19 @@ { path: ':type/:id?', name: 'CustomerDetail', - component: () => import('@/views/measure/source/listAdd.vue'), + component: () => import('@/views/customer/customerInfo/customerEdit.vue'), meta: { title: '客户详情', icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/source/list', + activeMenu: '/customerManage/list', }, }, { path: 'advice', name: 'CustomerAdvice', - component: () => import('@/views/measure/source/approve.vue'), + component: () => import('@/views/customer/adviceList.vue'), meta: { title: '客户关系', icon: 'ep:key', @@ -107,7 +107,7 @@ { path: 'advice/:type/:id?', name: 'CustomerAdviceDetail', - component: () => import('@/views/measure/source/components/sourceApprovalDetail.vue'), + component: () => import('@/views/customer/advice/adviceEdit.vue'), meta: { title: '客户关系详情', icon: 'ep:key', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue new file mode 100644 index 0000000..0dafa50 --- /dev/null +++ b/src/views/customer/advice/adviceEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/views/customer/advice/adviceList.vue b/src/views/customer/advice/adviceList.vue new file mode 100644 index 0000000..e715bad --- /dev/null +++ b/src/views/customer/advice/adviceList.vue @@ -0,0 +1,278 @@ + + + + + diff --git a/src/router/modules/customer.ts b/src/router/modules/customer.ts index fe11b9d..58dde63 100644 --- a/src/router/modules/customer.ts +++ b/src/router/modules/customer.ts @@ -85,19 +85,19 @@ { path: ':type/:id?', name: 'CustomerDetail', - component: () => import('@/views/measure/source/listAdd.vue'), + component: () => import('@/views/customer/customerInfo/customerEdit.vue'), meta: { title: '客户详情', icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/source/list', + activeMenu: '/customerManage/list', }, }, { path: 'advice', name: 'CustomerAdvice', - component: () => import('@/views/measure/source/approve.vue'), + component: () => import('@/views/customer/adviceList.vue'), meta: { title: '客户关系', icon: 'ep:key', @@ -107,7 +107,7 @@ { path: 'advice/:type/:id?', name: 'CustomerAdviceDetail', - component: () => import('@/views/measure/source/components/sourceApprovalDetail.vue'), + component: () => import('@/views/customer/advice/adviceEdit.vue'), meta: { title: '客户关系详情', icon: 'ep:key', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue new file mode 100644 index 0000000..0dafa50 --- /dev/null +++ b/src/views/customer/advice/adviceEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/views/customer/advice/adviceList.vue b/src/views/customer/advice/adviceList.vue new file mode 100644 index 0000000..e715bad --- /dev/null +++ b/src/views/customer/advice/adviceList.vue @@ -0,0 +1,278 @@ + + + + + diff --git a/src/views/customer/advice/advice_interface.ts b/src/views/customer/advice/advice_interface.ts new file mode 100644 index 0000000..8f404c4 --- /dev/null +++ b/src/views/customer/advice/advice_interface.ts @@ -0,0 +1,74 @@ +// 列表查询条件 +export interface ICustomerQuery { + bussinessSize: string // 业务规模 + customerName: string // 公司名称 + customerNo: string // 客户编号 + grade: string // 履约评级 + offset: number + limit: number +} + +// 客户人员 +export interface customerPerson { + id: number | string // id + job: string // 职务 + department: string// 部门 + name: string// 信命 + personNo: string// 人员编号 + phone: string// 联系方式 + editable?: boolean // 是否可编辑 + [key: string]: any +} + +// 客户信息-列表 +export interface ICustomer { + businessContent: string // 业务内容 + customerName: string // 公司名称 + customerNo: string // 客户编号(列表、更新接口参数) + bankAccount: string // 银行账户名 + bankAccountNumber: string // 银行账号 + bankName: string // 银行名称 + briefName: string // 公司简称 + businessScope: string // 公司业务范围 + grade: string // 履约评级 + gradeName?: string // 履约评级 + companySize: string + companySizeName?: string + businessSize: string // 业务规模 + businessSizeName?: string // 业务规模 + evaluation: string // 整体评价 + evaluationName?: string // 整体评价 + companyAddressBref?: string // 公司地址-拼接省市 + companyAddress: string // 公司地址-详细地址 + companyArea: string // 公司地址-区 + companyCity: string // 公司地址-市 + companyCountry: string // 公司地址-国家 + companyProvince: string // 公司地址-省 + companyAreaName: string // 公司地址-区 + companyCityName: string // 公司地址-市 + companyCountryName: string // 公司地址-国家 + companyProvinceName: string // 公司地址-省 + createTime?: string // 创建时间 + director: string // 负责人 + id: string // 主键id(列表、更新接口参数) + fax: string // 传真 + invoiceAddress: string // 开票地址-详细地址 + invoiceArea: string // 开票地址-区 + invoiceCity: string // 开票地址-市 + invoiceCountry: string // 开票地址-国家 + invoiceProvince: string // 开票地址-省 + invoiceAreaName: string // 开票地址-区 + invoiceCityName: string // 开票地址-市 + invoiceCountryName: string // 开票地址-国家 + invoiceProvinceName: string // 开票地址-省 + mailbox: string // 邮箱 + minioFileName: string // 上传文件返回名称 + mobile: string // 手机 + phone: string // 电话 + postalCode: string // 邮编 + remark: string // 备注 + taxNumber: string // 税号 + website: string // 网址 + customerPersonList: customerPerson[] // 客户人员列表 +} + diff --git a/src/router/modules/customer.ts b/src/router/modules/customer.ts index fe11b9d..58dde63 100644 --- a/src/router/modules/customer.ts +++ b/src/router/modules/customer.ts @@ -85,19 +85,19 @@ { path: ':type/:id?', name: 'CustomerDetail', - component: () => import('@/views/measure/source/listAdd.vue'), + component: () => import('@/views/customer/customerInfo/customerEdit.vue'), meta: { title: '客户详情', icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/source/list', + activeMenu: '/customerManage/list', }, }, { path: 'advice', name: 'CustomerAdvice', - component: () => import('@/views/measure/source/approve.vue'), + component: () => import('@/views/customer/adviceList.vue'), meta: { title: '客户关系', icon: 'ep:key', @@ -107,7 +107,7 @@ { path: 'advice/:type/:id?', name: 'CustomerAdviceDetail', - component: () => import('@/views/measure/source/components/sourceApprovalDetail.vue'), + component: () => import('@/views/customer/advice/adviceEdit.vue'), meta: { title: '客户关系详情', icon: 'ep:key', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue new file mode 100644 index 0000000..0dafa50 --- /dev/null +++ b/src/views/customer/advice/adviceEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/views/customer/advice/adviceList.vue b/src/views/customer/advice/adviceList.vue new file mode 100644 index 0000000..e715bad --- /dev/null +++ b/src/views/customer/advice/adviceList.vue @@ -0,0 +1,278 @@ + + + + + diff --git a/src/views/customer/advice/advice_interface.ts b/src/views/customer/advice/advice_interface.ts new file mode 100644 index 0000000..8f404c4 --- /dev/null +++ b/src/views/customer/advice/advice_interface.ts @@ -0,0 +1,74 @@ +// 列表查询条件 +export interface ICustomerQuery { + bussinessSize: string // 业务规模 + customerName: string // 公司名称 + customerNo: string // 客户编号 + grade: string // 履约评级 + offset: number + limit: number +} + +// 客户人员 +export interface customerPerson { + id: number | string // id + job: string // 职务 + department: string// 部门 + name: string// 信命 + personNo: string// 人员编号 + phone: string// 联系方式 + editable?: boolean // 是否可编辑 + [key: string]: any +} + +// 客户信息-列表 +export interface ICustomer { + businessContent: string // 业务内容 + customerName: string // 公司名称 + customerNo: string // 客户编号(列表、更新接口参数) + bankAccount: string // 银行账户名 + bankAccountNumber: string // 银行账号 + bankName: string // 银行名称 + briefName: string // 公司简称 + businessScope: string // 公司业务范围 + grade: string // 履约评级 + gradeName?: string // 履约评级 + companySize: string + companySizeName?: string + businessSize: string // 业务规模 + businessSizeName?: string // 业务规模 + evaluation: string // 整体评价 + evaluationName?: string // 整体评价 + companyAddressBref?: string // 公司地址-拼接省市 + companyAddress: string // 公司地址-详细地址 + companyArea: string // 公司地址-区 + companyCity: string // 公司地址-市 + companyCountry: string // 公司地址-国家 + companyProvince: string // 公司地址-省 + companyAreaName: string // 公司地址-区 + companyCityName: string // 公司地址-市 + companyCountryName: string // 公司地址-国家 + companyProvinceName: string // 公司地址-省 + createTime?: string // 创建时间 + director: string // 负责人 + id: string // 主键id(列表、更新接口参数) + fax: string // 传真 + invoiceAddress: string // 开票地址-详细地址 + invoiceArea: string // 开票地址-区 + invoiceCity: string // 开票地址-市 + invoiceCountry: string // 开票地址-国家 + invoiceProvince: string // 开票地址-省 + invoiceAreaName: string // 开票地址-区 + invoiceCityName: string // 开票地址-市 + invoiceCountryName: string // 开票地址-国家 + invoiceProvinceName: string // 开票地址-省 + mailbox: string // 邮箱 + minioFileName: string // 上传文件返回名称 + mobile: string // 手机 + phone: string // 电话 + postalCode: string // 邮编 + remark: string // 备注 + taxNumber: string // 税号 + website: string // 网址 + customerPersonList: customerPerson[] // 客户人员列表 +} + diff --git a/src/views/customer/customerInfo/customerAdd.vue b/src/views/customer/customerInfo/customerAdd.vue deleted file mode 100644 index e4132cf..0000000 --- a/src/views/customer/customerInfo/customerAdd.vue +++ /dev/null @@ -1,549 +0,0 @@ - - - - - diff --git a/src/router/modules/customer.ts b/src/router/modules/customer.ts index fe11b9d..58dde63 100644 --- a/src/router/modules/customer.ts +++ b/src/router/modules/customer.ts @@ -85,19 +85,19 @@ { path: ':type/:id?', name: 'CustomerDetail', - component: () => import('@/views/measure/source/listAdd.vue'), + component: () => import('@/views/customer/customerInfo/customerEdit.vue'), meta: { title: '客户详情', icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/source/list', + activeMenu: '/customerManage/list', }, }, { path: 'advice', name: 'CustomerAdvice', - component: () => import('@/views/measure/source/approve.vue'), + component: () => import('@/views/customer/adviceList.vue'), meta: { title: '客户关系', icon: 'ep:key', @@ -107,7 +107,7 @@ { path: 'advice/:type/:id?', name: 'CustomerAdviceDetail', - component: () => import('@/views/measure/source/components/sourceApprovalDetail.vue'), + component: () => import('@/views/customer/advice/adviceEdit.vue'), meta: { title: '客户关系详情', icon: 'ep:key', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue new file mode 100644 index 0000000..0dafa50 --- /dev/null +++ b/src/views/customer/advice/adviceEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/views/customer/advice/adviceList.vue b/src/views/customer/advice/adviceList.vue new file mode 100644 index 0000000..e715bad --- /dev/null +++ b/src/views/customer/advice/adviceList.vue @@ -0,0 +1,278 @@ + + + + + diff --git a/src/views/customer/advice/advice_interface.ts b/src/views/customer/advice/advice_interface.ts new file mode 100644 index 0000000..8f404c4 --- /dev/null +++ b/src/views/customer/advice/advice_interface.ts @@ -0,0 +1,74 @@ +// 列表查询条件 +export interface ICustomerQuery { + bussinessSize: string // 业务规模 + customerName: string // 公司名称 + customerNo: string // 客户编号 + grade: string // 履约评级 + offset: number + limit: number +} + +// 客户人员 +export interface customerPerson { + id: number | string // id + job: string // 职务 + department: string// 部门 + name: string// 信命 + personNo: string// 人员编号 + phone: string// 联系方式 + editable?: boolean // 是否可编辑 + [key: string]: any +} + +// 客户信息-列表 +export interface ICustomer { + businessContent: string // 业务内容 + customerName: string // 公司名称 + customerNo: string // 客户编号(列表、更新接口参数) + bankAccount: string // 银行账户名 + bankAccountNumber: string // 银行账号 + bankName: string // 银行名称 + briefName: string // 公司简称 + businessScope: string // 公司业务范围 + grade: string // 履约评级 + gradeName?: string // 履约评级 + companySize: string + companySizeName?: string + businessSize: string // 业务规模 + businessSizeName?: string // 业务规模 + evaluation: string // 整体评价 + evaluationName?: string // 整体评价 + companyAddressBref?: string // 公司地址-拼接省市 + companyAddress: string // 公司地址-详细地址 + companyArea: string // 公司地址-区 + companyCity: string // 公司地址-市 + companyCountry: string // 公司地址-国家 + companyProvince: string // 公司地址-省 + companyAreaName: string // 公司地址-区 + companyCityName: string // 公司地址-市 + companyCountryName: string // 公司地址-国家 + companyProvinceName: string // 公司地址-省 + createTime?: string // 创建时间 + director: string // 负责人 + id: string // 主键id(列表、更新接口参数) + fax: string // 传真 + invoiceAddress: string // 开票地址-详细地址 + invoiceArea: string // 开票地址-区 + invoiceCity: string // 开票地址-市 + invoiceCountry: string // 开票地址-国家 + invoiceProvince: string // 开票地址-省 + invoiceAreaName: string // 开票地址-区 + invoiceCityName: string // 开票地址-市 + invoiceCountryName: string // 开票地址-国家 + invoiceProvinceName: string // 开票地址-省 + mailbox: string // 邮箱 + minioFileName: string // 上传文件返回名称 + mobile: string // 手机 + phone: string // 电话 + postalCode: string // 邮编 + remark: string // 备注 + taxNumber: string // 税号 + website: string // 网址 + customerPersonList: customerPerson[] // 客户人员列表 +} + diff --git a/src/views/customer/customerInfo/customerAdd.vue b/src/views/customer/customerInfo/customerAdd.vue deleted file mode 100644 index e4132cf..0000000 --- a/src/views/customer/customerInfo/customerAdd.vue +++ /dev/null @@ -1,549 +0,0 @@ - - - - - diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue new file mode 100644 index 0000000..9abfc48 --- /dev/null +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/router/modules/customer.ts b/src/router/modules/customer.ts index fe11b9d..58dde63 100644 --- a/src/router/modules/customer.ts +++ b/src/router/modules/customer.ts @@ -85,19 +85,19 @@ { path: ':type/:id?', name: 'CustomerDetail', - component: () => import('@/views/measure/source/listAdd.vue'), + component: () => import('@/views/customer/customerInfo/customerEdit.vue'), meta: { title: '客户详情', icon: 'ep:key', sidebar: false, breadcrumb: true, - activeMenu: '/source/list', + activeMenu: '/customerManage/list', }, }, { path: 'advice', name: 'CustomerAdvice', - component: () => import('@/views/measure/source/approve.vue'), + component: () => import('@/views/customer/adviceList.vue'), meta: { title: '客户关系', icon: 'ep:key', @@ -107,7 +107,7 @@ { path: 'advice/:type/:id?', name: 'CustomerAdviceDetail', - component: () => import('@/views/measure/source/components/sourceApprovalDetail.vue'), + component: () => import('@/views/customer/advice/adviceEdit.vue'), meta: { title: '客户关系详情', icon: 'ep:key', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue new file mode 100644 index 0000000..0dafa50 --- /dev/null +++ b/src/views/customer/advice/adviceEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/views/customer/advice/adviceList.vue b/src/views/customer/advice/adviceList.vue new file mode 100644 index 0000000..e715bad --- /dev/null +++ b/src/views/customer/advice/adviceList.vue @@ -0,0 +1,278 @@ + + + + + diff --git a/src/views/customer/advice/advice_interface.ts b/src/views/customer/advice/advice_interface.ts new file mode 100644 index 0000000..8f404c4 --- /dev/null +++ b/src/views/customer/advice/advice_interface.ts @@ -0,0 +1,74 @@ +// 列表查询条件 +export interface ICustomerQuery { + bussinessSize: string // 业务规模 + customerName: string // 公司名称 + customerNo: string // 客户编号 + grade: string // 履约评级 + offset: number + limit: number +} + +// 客户人员 +export interface customerPerson { + id: number | string // id + job: string // 职务 + department: string// 部门 + name: string// 信命 + personNo: string// 人员编号 + phone: string// 联系方式 + editable?: boolean // 是否可编辑 + [key: string]: any +} + +// 客户信息-列表 +export interface ICustomer { + businessContent: string // 业务内容 + customerName: string // 公司名称 + customerNo: string // 客户编号(列表、更新接口参数) + bankAccount: string // 银行账户名 + bankAccountNumber: string // 银行账号 + bankName: string // 银行名称 + briefName: string // 公司简称 + businessScope: string // 公司业务范围 + grade: string // 履约评级 + gradeName?: string // 履约评级 + companySize: string + companySizeName?: string + businessSize: string // 业务规模 + businessSizeName?: string // 业务规模 + evaluation: string // 整体评价 + evaluationName?: string // 整体评价 + companyAddressBref?: string // 公司地址-拼接省市 + companyAddress: string // 公司地址-详细地址 + companyArea: string // 公司地址-区 + companyCity: string // 公司地址-市 + companyCountry: string // 公司地址-国家 + companyProvince: string // 公司地址-省 + companyAreaName: string // 公司地址-区 + companyCityName: string // 公司地址-市 + companyCountryName: string // 公司地址-国家 + companyProvinceName: string // 公司地址-省 + createTime?: string // 创建时间 + director: string // 负责人 + id: string // 主键id(列表、更新接口参数) + fax: string // 传真 + invoiceAddress: string // 开票地址-详细地址 + invoiceArea: string // 开票地址-区 + invoiceCity: string // 开票地址-市 + invoiceCountry: string // 开票地址-国家 + invoiceProvince: string // 开票地址-省 + invoiceAreaName: string // 开票地址-区 + invoiceCityName: string // 开票地址-市 + invoiceCountryName: string // 开票地址-国家 + invoiceProvinceName: string // 开票地址-省 + mailbox: string // 邮箱 + minioFileName: string // 上传文件返回名称 + mobile: string // 手机 + phone: string // 电话 + postalCode: string // 邮编 + remark: string // 备注 + taxNumber: string // 税号 + website: string // 网址 + customerPersonList: customerPerson[] // 客户人员列表 +} + diff --git a/src/views/customer/customerInfo/customerAdd.vue b/src/views/customer/customerInfo/customerAdd.vue deleted file mode 100644 index e4132cf..0000000 --- a/src/views/customer/customerInfo/customerAdd.vue +++ /dev/null @@ -1,549 +0,0 @@ - - - - - diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue new file mode 100644 index 0000000..9abfc48 --- /dev/null +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/views/customer/customerInfo/customerList.vue b/src/views/customer/customerInfo/customerList.vue index c5ff34e..4b8285e 100644 --- a/src/views/customer/customerInfo/customerList.vue +++ b/src/views/customer/customerInfo/customerList.vue @@ -70,7 +70,7 @@ // 点击编辑/详情 const handleEdit = (row: ICustomer, pageType: 'edit' | 'detail') => { - $router.push(`/customer/${pageType}/${row.id}`) + $router.push(`/customerManage/${pageType}/${row.id}`) } // 点击删除 const handleDelete = (index: string, row: ICustomer) => { @@ -150,7 +150,7 @@ } // 添加客户 const add = () => { - $router.push('/customer/add') + $router.push('/customerManage/add') } // 导出 const exportAll = () => {