diff --git a/.env.development b/.env.development index b8ccd8b..fbcc74b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VITE_APP_NAME=后台管理(开发环境) -#VITE_API_URL=http://127.0.0.1:9200/api +VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api diff --git a/src/api/credit/creditUser/index.ts b/src/api/credit/creditUser/index.ts index 87c25bc..581d78b 100644 --- a/src/api/credit/creditUser/index.ts +++ b/src/api/credit/creditUser/index.ts @@ -3,7 +3,7 @@ import type { ApiResult, PageResult } from '@/api'; import type { CreditUser, CreditUserParam } from './model'; /** - * 分页查询赊账客户表 + * 分页查询招投标信息表 */ export async function pageCreditUser(params: CreditUserParam) { const res = await request.get>>( @@ -19,7 +19,7 @@ export async function pageCreditUser(params: CreditUserParam) { } /** - * 查询赊账客户表列表 + * 查询招投标信息表列表 */ export async function listCreditUser(params?: CreditUserParam) { const res = await request.get>( @@ -35,7 +35,7 @@ export async function listCreditUser(params?: CreditUserParam) { } /** - * 添加赊账客户表 + * 添加招投标信息表 */ export async function addCreditUser(data: CreditUser) { const res = await request.post>( @@ -49,7 +49,7 @@ export async function addCreditUser(data: CreditUser) { } /** - * 修改赊账客户表 + * 修改招投标信息表 */ export async function updateCreditUser(data: CreditUser) { const res = await request.put>( @@ -63,7 +63,7 @@ export async function updateCreditUser(data: CreditUser) { } /** - * 删除赊账客户表 + * 删除招投标信息表 */ export async function removeCreditUser(id?: number) { const res = await request.delete>( @@ -76,7 +76,7 @@ export async function removeCreditUser(id?: number) { } /** - * 批量删除赊账客户表 + * 批量删除招投标信息表 */ export async function removeBatchCreditUser(data: (number | undefined)[]) { const res = await request.delete>( @@ -92,7 +92,7 @@ export async function removeBatchCreditUser(data: (number | undefined)[]) { } /** - * 根据id查询赊账客户表 + * 根据id查询招投标信息表 */ export async function getCreditUser(id: number) { const res = await request.get>( @@ -105,7 +105,7 @@ export async function getCreditUser(id: number) { } /** - * 导入赊账客户 + * 导入招投标 */ export async function importCreditUsers(file: File) { const formData = new FormData(); diff --git a/src/api/credit/creditUser/model/index.ts b/src/api/credit/creditUser/model/index.ts index aafbad3..d35de7c 100644 --- a/src/api/credit/creditUser/model/index.ts +++ b/src/api/credit/creditUser/model/index.ts @@ -1,11 +1,11 @@ import type { PageParam } from '@/api'; /** - * 赊账客户表 + * 招投标信息表 */ export interface CreditUser { // ID - id?: string; + id?: number; // 客户名称 name?: string; // 唯一标识 @@ -34,6 +34,8 @@ export interface CreditUser { winningName?: string; // 中标单位名称 winningPrice?: string; + // 发布日期 + releaseDate?: string; // 备注 comments?: string; // 是否推荐 @@ -57,7 +59,7 @@ export interface CreditUser { } /** - * 赊账客户表搜索条件 + * 招投标信息表搜索条件 */ export interface CreditUserParam extends PageParam { id?: number; diff --git a/src/views/credit/creditUser/components/credit-user-import.vue b/src/views/credit/creditUser/components/credit-user-import.vue index 9654627..4744e68 100644 --- a/src/views/credit/creditUser/components/credit-user-import.vue +++ b/src/views/credit/creditUser/components/credit-user-import.vue @@ -1,9 +1,9 @@ - + @@ -235,21 +208,17 @@ procurementName: undefined, winningName: undefined, winningPrice: undefined, + releaseDate: undefined, comments: undefined, recommend: undefined, expirationTime: undefined, sortNumber: undefined, - status: undefined, deleted: undefined, userId: undefined, tenantId: undefined, createTime: undefined, updateTime: undefined, - creditUserId: undefined, - creditUserName: '', status: 0, - comments: '', - sortNumber: 100 }); /* 更新visible */ @@ -263,7 +232,7 @@ { required: true, type: 'string', - message: '请填写赊账客户表名称', + message: '请填写招投标信息表名称', trigger: 'blur' } ] diff --git a/src/views/credit/creditUser/index.vue b/src/views/credit/creditUser/index.vue index 41df6a8..3dd22f7 100644 --- a/src/views/credit/creditUser/index.vue +++ b/src/views/credit/creditUser/index.vue @@ -117,35 +117,33 @@ width: 90, }, { - title: '客户名称', + title: '项目名称', dataIndex: 'name', - key: 'name', - ellipsis: true + key: 'name' }, { - title: '唯一标识', - dataIndex: 'code', - key: 'code', - ellipsis: true - }, - { - title: '类型, 0普通用户, 1招投标', - dataIndex: 'type', - key: 'type', - width: 120 + title: '发布日期', + dataIndex: 'releaseDate', + key: 'releaseDate', }, + // { + // title: '唯一标识', + // dataIndex: 'code', + // key: 'code', + // ellipsis: true + // }, + // { + // title: '类型, 0普通用户, 1招投标', + // dataIndex: 'type', + // key: 'type', + // width: 120 + // }, { title: '企业角色', dataIndex: 'role', key: 'role', ellipsis: true }, - { - title: '上级id, 0是顶级', - dataIndex: 'parentId', - key: 'parentId', - width: 120 - }, { title: '信息类型', dataIndex: 'infoType', @@ -153,123 +151,79 @@ ellipsis: true }, { - title: '所在国家', - dataIndex: 'country', - key: 'country', - ellipsis: true - }, - { - title: '所在省份', + title: '省份地区', dataIndex: 'province', key: 'province', ellipsis: true }, + // { + // title: '所在城市', + // dataIndex: 'city', + // key: 'city', + // ellipsis: true + // }, + // { + // title: '所在辖区', + // dataIndex: 'region', + // key: 'region', + // ellipsis: true + // }, + // { + // title: '街道地址', + // dataIndex: 'address', + // key: 'address', + // ellipsis: true + // }, { - title: '所在城市', - dataIndex: 'city', - key: 'city', - ellipsis: true - }, - { - title: '所在辖区', - dataIndex: 'region', - key: 'region', - ellipsis: true - }, - { - title: '街道地址', - dataIndex: 'address', - key: 'address', - ellipsis: true - }, - { - title: '招采单位名称', + title: '招采单位', dataIndex: 'procurementName', key: 'procurementName', ellipsis: true }, { - title: '中标单位名称', + title: '中标单位', dataIndex: 'winningName', key: 'winningName', ellipsis: true }, { - title: '中标单位名称', + title: '中标金额', dataIndex: 'winningPrice', key: 'winningPrice', ellipsis: true }, - { - title: '备注', - dataIndex: 'comments', - key: 'comments', - ellipsis: true - }, - { - title: '是否推荐', - dataIndex: 'recommend', - key: 'recommend', - width: 120 - }, - { - title: '到期时间', - dataIndex: 'expirationTime', - key: 'expirationTime', - width: 120 - }, - { - title: '排序(数字越小越靠前)', - dataIndex: 'sortNumber', - key: 'sortNumber', - width: 120 - }, - { - title: '状态, 0正常, 1冻结', - dataIndex: 'status', - key: 'status', - width: 120 - }, - { - title: '是否删除, 0否, 1是', - dataIndex: 'deleted', - key: 'deleted', - width: 120 - }, - { - title: '用户ID', - dataIndex: 'userId', - key: 'userId', - width: 120 - }, - { - title: '创建时间', - dataIndex: 'createTime', - key: 'createTime', - width: 200, - align: 'center', - sorter: true, - ellipsis: true, - customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') - }, - { - title: '修改时间', - dataIndex: 'updateTime', - key: 'updateTime', - width: 200, - align: 'center', - sorter: true, - ellipsis: true, - customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') - }, - { - title: '操作', - key: 'action', - width: 180, - fixed: 'right', - align: 'center', - hideInSetting: true - } + // { + // title: '排序', + // dataIndex: 'sortNumber', + // key: 'sortNumber', + // width: 90, + // align: 'center', + // }, + // { + // title: '状态', + // dataIndex: 'status', + // key: 'status', + // width: 120, + // align: 'center' + // }, + // { + // title: '创建时间', + // dataIndex: 'createTime', + // key: 'createTime', + // width: 200, + // align: 'center', + // sorter: true, + // ellipsis: true, + // customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') + // }, + // { + // title: '操作', + // key: 'action', + // width: 120, + // fixed: 'right', + // align: 'center', + // hideInSetting: true + // } ]); /* 搜索 */ diff --git a/src/views/credit/shopDealerApplyRs/components/search.vue b/src/views/credit/shopDealerApplyRs/components/search.vue deleted file mode 100644 index 3a97655..0000000 --- a/src/views/credit/shopDealerApplyRs/components/search.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - diff --git a/src/views/credit/shopDealerApplyRs/components/shop-dealer-apply-import.vue b/src/views/credit/shopDealerApplyRs/components/shop-dealer-apply-import.vue deleted file mode 100644 index 32c2917..0000000 --- a/src/views/credit/shopDealerApplyRs/components/shop-dealer-apply-import.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - diff --git a/src/views/credit/shopDealerApplyRs/components/shopDealerApplyEdit.vue b/src/views/credit/shopDealerApplyRs/components/shopDealerApplyEdit.vue deleted file mode 100644 index 18707eb..0000000 --- a/src/views/credit/shopDealerApplyRs/components/shopDealerApplyEdit.vue +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - diff --git a/src/views/credit/shopDealerApplyRs/index.vue b/src/views/credit/shopDealerApplyRs/index.vue deleted file mode 100644 index 86eb18c..0000000 --- a/src/views/credit/shopDealerApplyRs/index.vue +++ /dev/null @@ -1,310 +0,0 @@ - - - - - -