diff --git a/apps/web-antd/src/api/property/customerService/feedbacks/index.ts b/apps/web-antd/src/api/property/customerService/feedbacks/index.ts index 5989ef68..03c79c9a 100644 --- a/apps/web-antd/src/api/property/customerService/feedbacks/index.ts +++ b/apps/web-antd/src/api/property/customerService/feedbacks/index.ts @@ -12,7 +12,7 @@ import { requestClient } from '#/api/request'; * @returns 意见反馈列表 */ export function feedbacksList(params?: FeedbacksQuery) { - return requestClient.get>('/system/feedbacks/list', { params }); + return requestClient.get>('/property/feedbacks/list', { params }); } /** @@ -21,7 +21,7 @@ export function feedbacksList(params?: FeedbacksQuery) { * @returns 意见反馈列表 */ export function feedbacksExport(params?: FeedbacksQuery) { - return commonExport('/system/feedbacks/export', params ?? {}); + return commonExport('/property/feedbacks/export', params ?? {}); } /** @@ -30,7 +30,7 @@ export function feedbacksExport(params?: FeedbacksQuery) { * @returns 意见反馈详情 */ export function feedbacksInfo(id: ID) { - return requestClient.get(`/system/feedbacks/${id}`); + return requestClient.get(`/property/feedbacks/${id}`); } /** @@ -39,7 +39,7 @@ export function feedbacksInfo(id: ID) { * @returns void */ export function feedbacksAdd(data: FeedbacksForm) { - return requestClient.postWithMsg('/system/feedbacks', data); + return requestClient.postWithMsg('/property/feedbacks', data); } /** @@ -48,7 +48,7 @@ export function feedbacksAdd(data: FeedbacksForm) { * @returns void */ export function feedbacksUpdate(data: FeedbacksForm) { - return requestClient.putWithMsg('/system/feedbacks', data); + return requestClient.putWithMsg('/property/feedbacks', data); } /** @@ -57,5 +57,5 @@ export function feedbacksUpdate(data: FeedbacksForm) { * @returns void */ export function feedbacksRemove(id: ID | IDS) { - return requestClient.deleteWithMsg(`/system/feedbacks/${id}`); + return requestClient.deleteWithMsg(`/property/feedbacks/${id}`); } diff --git a/apps/web-antd/src/api/property/customerService/feedbacks/model.d.ts b/apps/web-antd/src/api/property/customerService/feedbacks/model.d.ts index bab69c5a..c3d31a77 100644 --- a/apps/web-antd/src/api/property/customerService/feedbacks/model.d.ts +++ b/apps/web-antd/src/api/property/customerService/feedbacks/model.d.ts @@ -1,4 +1,4 @@ -import type { PageQuery, BaseEntity } from '#/api/common'; +import type {PageQuery, BaseEntity} from '#/api/common'; export interface FeedbacksVO { /** @@ -104,6 +104,11 @@ export interface FeedbacksForm extends BaseEntity { */ serviceName?: string; + /** + * 工单id + */ + orderId?: string; + } export interface FeedbacksQuery extends PageQuery { @@ -153,7 +158,7 @@ export interface FeedbacksQuery extends PageQuery { serviceName?: string; /** - * 日期范围参数 - */ + * 日期范围参数 + */ params?: any; } diff --git a/apps/web-antd/src/api/property/customerService/notices/index.ts b/apps/web-antd/src/api/property/customerService/notices/index.ts new file mode 100644 index 00000000..dbcfd540 --- /dev/null +++ b/apps/web-antd/src/api/property/customerService/notices/index.ts @@ -0,0 +1,61 @@ +import type { NoticesVO, NoticesForm, NoticesQuery } from './model'; + +import type { ID, IDS } from '#/api/common'; +import type { PageResult } from '#/api/common'; + +import { commonExport } from '#/api/helper'; +import { requestClient } from '#/api/request'; + +/** +* 查询客户服务-通知公告列表 +* @param params +* @returns 客户服务-通知公告列表 +*/ +export function noticesList(params?: NoticesQuery) { + return requestClient.get>('/property/notices/list', { params }); +} + +/** + * 导出客户服务-通知公告列表 + * @param params + * @returns 客户服务-通知公告列表 + */ +export function noticesExport(params?: NoticesQuery) { + return commonExport('/property/notices/export', params ?? {}); +} + +/** + * 查询客户服务-通知公告详情 + * @param id id + * @returns 客户服务-通知公告详情 + */ +export function noticesInfo(id: ID) { + return requestClient.get(`/property/notices/${id}`); +} + +/** + * 新增客户服务-通知公告 + * @param data + * @returns void + */ +export function noticesAdd(data: NoticesForm) { + return requestClient.postWithMsg('/property/notices', data); +} + +/** + * 更新客户服务-通知公告 + * @param data + * @returns void + */ +export function noticesUpdate(data: NoticesForm) { + return requestClient.putWithMsg('/property/notices', data); +} + +/** + * 删除客户服务-通知公告 + * @param id id + * @returns void + */ +export function noticesRemove(id: ID | IDS) { + return requestClient.deleteWithMsg(`/property/notices/${id}`); +} diff --git a/apps/web-antd/src/api/property/customerService/notices/model.d.ts b/apps/web-antd/src/api/property/customerService/notices/model.d.ts new file mode 100644 index 00000000..0964abf5 --- /dev/null +++ b/apps/web-antd/src/api/property/customerService/notices/model.d.ts @@ -0,0 +1,139 @@ +import type { PageQuery, BaseEntity } from '#/api/common'; + +export interface NoticesVO { + /** + * 主键 + */ + id: string | number; + + /** + * 标题 + */ + title: string; + + /** + * 类型 + */ + type: string; + + /** + * 备注 + */ + remark: string; + + /** + * 是否全小区公告 + */ + isAll: string; + + /** + * 开始时间 + */ + startTime: string; + + /** + * 结束时间 + */ + endTime: string; + + /** + * 公告内容 + */ + afficheContent: string; + + /** + * 发布人 + */ + issuers: number; + +} + +export interface NoticesForm extends BaseEntity { + /** + * 主键 + */ + id?: string | number; + + /** + * 标题 + */ + title?: string; + + /** + * 类型 + */ + type?: string; + + /** + * 备注 + */ + remark?: string; + + /** + * 是否全小区公告 + */ + isAll?: string; + + /** + * 开始时间 + */ + startTime?: string; + + /** + * 结束时间 + */ + endTime?: string; + + /** + * 公告内容 + */ + afficheContent?: string; + + /** + * 发布人 + */ + issuers?: number; + +} + +export interface NoticesQuery extends PageQuery { + /** + * 标题 + */ + title?: string; + + /** + * 类型 + */ + type?: string; + + /** + * 是否全小区公告 + */ + isAll?: string; + + /** + * 开始时间 + */ + startTime?: string; + + /** + * 结束时间 + */ + endTime?: string; + + /** + * 公告内容 + */ + afficheContent?: string; + + /** + * 发布人 + */ + issuers?: number; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/apps/web-antd/src/views/property/customerService/feedbacks/data.ts b/apps/web-antd/src/views/property/customerService/feedbacks/data.ts index 04e73671..7382d67f 100644 --- a/apps/web-antd/src/views/property/customerService/feedbacks/data.ts +++ b/apps/web-antd/src/views/property/customerService/feedbacks/data.ts @@ -5,14 +5,6 @@ import {renderDict} from "#/utils/render"; export const querySchema: FormSchemaGetter = () => [ - { - component: 'Select', - componentProps: { - options:getDictOptions('wy_yjfklx') - }, - fieldName: 'feedbackType', - label: '反馈类型', - }, { component: 'Select', componentProps: { @@ -26,34 +18,30 @@ export const querySchema: FormSchemaGetter = () => [ export const columns: VxeGridProps['columns'] = [ { type: 'checkbox', width: 60 }, - { - title: '反馈类型', - field: 'feedbackType', - slots:{ - default: ({row})=>{ - return renderDict(row.feedbackType,'wy_yjfklx') - } - } - }, - { - title: '反馈人', - field: 'feedbackPersion', - }, - { - title: '反馈人电话', - field: 'feedbackPersionPhone', - }, + // { + // title: '反馈类型', + // field: 'feedbackType', + // width:120 + // }, + // { + // title: '反馈人', + // field: 'feedbackPersion', + // width:120 + // }, + // { + // title: '反馈人电话', + // field: 'feedbackPersionPhone', + // width:120 + // }, { title: '反馈内容', field: 'feedbackContent', + minWidth:180 }, { title: '反馈位置', field: 'feedbackLocation', - }, - { - title: '反馈图片', - field: 'feedbackImg', + width:120 }, { title: '是否转至工单', @@ -62,7 +50,8 @@ export const columns: VxeGridProps['columns'] = [ default: ({row})=>{ return renderDict(row.isWorkOrder,'wy_sf') } - } + }, + width:120 }, { title: '处理状态', @@ -71,18 +60,20 @@ export const columns: VxeGridProps['columns'] = [ default: ({row})=>{ return renderDict(row.status,'wy_yjclzt') } - } + }, + width:120 }, { title: '客服电话', field: 'serviceName', + width:120 }, { field: 'action', fixed: 'right', slots: { default: 'action' }, title: '操作', - width: 180, + width: 200, }, ]; @@ -100,22 +91,41 @@ export const modalSchema: FormSchemaGetter = () => [ label: '反馈类型', fieldName: 'feedbackType', component: 'Select', - componentProps: { - options:getDictOptions('wy_yjfklx') - }, rules: 'selectRequired', }, + { + label: '反馈人', + fieldName: 'person', + component: 'Input', + slots:{ + default:'person' + } + }, { label: '反馈人', fieldName: 'feedbackPersion', component: 'Input', rules: 'required', + dependencies: { + show: () => false, + triggerFields: [''], + }, }, { label: '反馈人电话', fieldName: 'feedbackPersionPhone', component: 'Input', rules: 'required', + dependencies: { + show: () => false, + triggerFields: [''], + }, + }, + { + label: '客服电话', + fieldName: 'serviceName', + component: 'Input', + rules: 'required', }, { label: '反馈内容', @@ -139,19 +149,8 @@ export const modalSchema: FormSchemaGetter = () => [ // accept: 'image/*', // 可选拓展名或者mime类型 ,拼接 // maxCount: 1, // 最大上传文件数 默认为1 为1会绑定为string而非string[]类型 }, - rules: 'required', formItemClass:'col-span-2' }, - { - label: '转至工单', - fieldName: 'isWorkOrder', - component: 'RadioGroup', - componentProps: { - buttonStyle: 'solid', - options: getDictOptions('wy_sf'), - }, - defaultValue:'0' - }, { label: '处理状态', fieldName: 'status', @@ -159,10 +158,19 @@ export const modalSchema: FormSchemaGetter = () => [ componentProps: { options: getDictOptions('wy_yjclzt') }, + rules:'selectRequired' }, + { - label: '客服电话', - fieldName: 'serviceName', - component: 'Input', + label: '转至工单',//转至工单 + fieldName: 'isWorkOrder', + component: 'RadioGroup', + componentProps: { + buttonStyle: 'solid', + options: getDictOptions('wy_sf'), + optionType: 'button', + }, + defaultValue:'0', + rules:'selectRequired' }, ]; diff --git a/apps/web-antd/src/views/property/customerService/feedbacks/feedbacks-detail.vue b/apps/web-antd/src/views/property/customerService/feedbacks/feedbacks-detail.vue new file mode 100644 index 00000000..c2af9a84 --- /dev/null +++ b/apps/web-antd/src/views/property/customerService/feedbacks/feedbacks-detail.vue @@ -0,0 +1,69 @@ + + + diff --git a/apps/web-antd/src/views/property/customerService/feedbacks/feedbacks-modal.vue b/apps/web-antd/src/views/property/customerService/feedbacks/feedbacks-modal.vue index ead082ef..58a2ceef 100644 --- a/apps/web-antd/src/views/property/customerService/feedbacks/feedbacks-modal.vue +++ b/apps/web-antd/src/views/property/customerService/feedbacks/feedbacks-modal.vue @@ -1,15 +1,21 @@ diff --git a/apps/web-antd/src/views/property/customerService/feedbacks/index.vue b/apps/web-antd/src/views/property/customerService/feedbacks/index.vue index ad9d0cb7..b7cc9ff6 100644 --- a/apps/web-antd/src/views/property/customerService/feedbacks/index.vue +++ b/apps/web-antd/src/views/property/customerService/feedbacks/index.vue @@ -1,25 +1,23 @@ + + diff --git a/apps/web-antd/src/views/property/customerService/notices/notices-modal.vue b/apps/web-antd/src/views/property/customerService/notices/notices-modal.vue new file mode 100644 index 00000000..d8b19ba9 --- /dev/null +++ b/apps/web-antd/src/views/property/customerService/notices/notices-modal.vue @@ -0,0 +1,101 @@ + + + + diff --git a/apps/web-antd/src/views/property/roomBooking/conferenceReservations/index.vue b/apps/web-antd/src/views/property/roomBooking/conferenceReservations/index.vue index 927037a7..0f0b25e7 100644 --- a/apps/web-antd/src/views/property/roomBooking/conferenceReservations/index.vue +++ b/apps/web-antd/src/views/property/roomBooking/conferenceReservations/index.vue @@ -20,7 +20,7 @@ 重置 搜索 diff --git a/apps/web-antd/src/views/property/roomBooking/conferenceSettings/data.ts b/apps/web-antd/src/views/property/roomBooking/conferenceSettings/data.ts index 0733b20b..c569d228 100644 --- a/apps/web-antd/src/views/property/roomBooking/conferenceSettings/data.ts +++ b/apps/web-antd/src/views/property/roomBooking/conferenceSettings/data.ts @@ -37,9 +37,14 @@ export const columns: VxeGridProps['columns'] = [ field: 'name', minWidth:100, }, + // { + // title: '会议室地址', + // field: 'locationName', + // width:210, + // }, { - title: '会议室地址', - field: 'locationName', + title: '配套设备', + field: 'baseService', width:210, }, {