From 468349658d8531235a1af291bbfabdf08c131ae8 Mon Sep 17 00:00:00 2001 From: 123 <123@qq.com> Date: Tue, 3 Jun 2025 15:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/manage/customer/index.ts | 10 +++++----- src/views/manage/contract/index.vue | 15 ++++++++++++--- src/views/manage/customer/index.vue | 9 +++++---- 3 files changed, 22 insertions(+), 12 deletions(-) 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..2647f74 100644 --- a/src/views/manage/contract/index.vue +++ b/src/views/manage/contract/index.vue @@ -44,7 +44,11 @@ - + + + @@ -77,7 +81,7 @@ - + @@ -89,6 +93,11 @@ + + + + + @@ -152,7 +161,7 @@ const data = reactive>({ }); const { queryParams, form, rules } = toRefs(data); -const { manage_contract_type } = toRefs(proxy?.useDict('manage_contract_type')); +const { manage_contract_type,manage_contract_level } = toRefs(proxy?.useDict('manage_contract_type','manage_contract_level')); /** 查询合同信息列表 */ const getList = async () => { diff --git a/src/views/manage/customer/index.vue b/src/views/manage/customer/index.vue index fd0af02..30035dd 100644 --- a/src/views/manage/customer/index.vue +++ b/src/views/manage/customer/index.vue @@ -40,18 +40,19 @@ - + + - +