diff --git a/src/api/manage/contract/types.ts b/src/api/manage/contract/types.ts index e08861f..78b5a01 100644 --- a/src/api/manage/contract/types.ts +++ b/src/api/manage/contract/types.ts @@ -24,6 +24,21 @@ export interface ContractInfoVO { */ remark: string; + /** + * 重要性 + */ + manageContractLevel?: string; + + /** + * 合同负责人 + */ + contractManagerId?: string; + + /** + * 合同负责人 + */ + contractManager?: string; + } export interface ContractInfoForm extends BaseEntity { @@ -52,6 +67,21 @@ export interface ContractInfoForm extends BaseEntity { */ remark?: string; + /** + * 重要性 + */ + manageContractLevel?: string; + + /** + * 合同负责人id + */ + contractManagerId?: string; + + /** + * 合同负责人 + */ + contractManager?: string; + } export interface ContractInfoQuery extends PageQuery { diff --git a/src/api/manage/customer/index.ts b/src/api/manage/customer/index.ts index 8e03772..251a4d9 100644 --- a/src/api/manage/customer/index.ts +++ b/src/api/manage/customer/index.ts @@ -10,7 +10,7 @@ import { CustomerInfoVO, CustomerInfoForm, CustomerInfoQuery } from '@/api/syste export const listCustomerInfo = (query?: CustomerInfoQuery): AxiosPromise => { return request({ - url: '/system/customerInfo/list', + url: '/manage/customerInfo/list', method: 'get', params: query }); @@ -22,7 +22,7 @@ export const listCustomerInfo = (query?: CustomerInfoQuery): AxiosPromise => { return request({ - url: '/system/customerInfo/' + id, + url: '/manage/customerInfo/' + id, method: 'get' }); }; @@ -33,7 +33,7 @@ export const getCustomerInfo = (id: string | number): AxiosPromise { return request({ - url: '/system/customerInfo', + url: '/manage/customerInfo', method: 'post', data: data }); @@ -45,7 +45,7 @@ export const addCustomerInfo = (data: CustomerInfoForm) => { */ export const updateCustomerInfo = (data: CustomerInfoForm) => { return request({ - url: '/system/customerInfo', + url: '/manage/customerInfo', method: 'put', data: data }); @@ -57,7 +57,7 @@ export const updateCustomerInfo = (data: CustomerInfoForm) => { */ export const delCustomerInfo = (id: string | number | Array) => { return request({ - url: '/system/customerInfo/' + id, + url: '/manage/customerInfo/' + id, method: 'delete' }); }; diff --git a/src/views/manage/contract/index.vue b/src/views/manage/contract/index.vue index 88e3fe9..e5d3452 100644 --- a/src/views/manage/contract/index.vue +++ b/src/views/manage/contract/index.vue @@ -43,8 +43,12 @@ - - + + + + @@ -77,7 +81,7 @@ - + @@ -89,6 +93,23 @@ + + + + + + + + + + + + + + {{ user.employeeName }} + + @@ -99,6 +120,8 @@ 取 消 + + @@ -106,7 +129,8 @@