访客修改
This commit is contained in:
@@ -41,9 +41,19 @@ export const columns: VxeGridProps['columns'] = [
|
||||
title: '地址',
|
||||
field: 'location',
|
||||
},
|
||||
// {
|
||||
// title: '计划完成时间',
|
||||
// field: 'planCompleTime',
|
||||
// },
|
||||
{
|
||||
title: '计划完成时间',
|
||||
field: 'planCompleTime',
|
||||
title: '创建时间',
|
||||
field: 'createTime',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '备注',
|
||||
field: 'remark',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
|
@@ -58,8 +58,14 @@ async function handleOpenChange(open: boolean) {
|
||||
<DescriptionsItem label="具体位置">
|
||||
{{ orderDetail.location }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="计划完成时间">
|
||||
{{ orderDetail.planCompleTime }}
|
||||
<DescriptionsItem label="创建时间">
|
||||
{{ orderDetail.createTime }}
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="计划完成时间">-->
|
||||
<!-- {{ orderDetail.planCompleTime }}-->
|
||||
<!-- </DescriptionsItem>-->
|
||||
<DescriptionsItem label="备注">
|
||||
{{ orderDetail.remark }}
|
||||
</DescriptionsItem>
|
||||
</Descriptions>
|
||||
<Divider orientation="left" orientation-margin="0px">
|
||||
|
@@ -53,11 +53,11 @@ export const columns: VxeGridProps['columns'] = [
|
||||
field: 'location',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '计划完成时间',
|
||||
field: 'planCompleTime',
|
||||
width: 100,
|
||||
},
|
||||
// {
|
||||
// title: '计划完成时间',
|
||||
// field: 'planCompleTime',
|
||||
// width: 100,
|
||||
// },
|
||||
{
|
||||
title: '完成时间',
|
||||
field: 'compleTime',
|
||||
@@ -87,6 +87,16 @@ export const columns: VxeGridProps['columns'] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
field: 'createTime',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '备注',
|
||||
field: 'remark',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
|
@@ -64,12 +64,15 @@ async function handleOpenChange(open: boolean) {
|
||||
<DescriptionsItem label="具体位置" :span="2">
|
||||
{{ orderDetail.location }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="计划完成时间">
|
||||
{{ orderDetail.planCompleTime }}
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="计划完成时间">-->
|
||||
<!-- {{ orderDetail.planCompleTime }}-->
|
||||
<!-- </DescriptionsItem>-->
|
||||
<DescriptionsItem label="完成时间">
|
||||
{{ orderDetail.compleTime }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="创建时间">
|
||||
{{ orderDetail.createTime }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="服务评价">
|
||||
<Rate :value="orderDetail.serviceEvalua" disabled/>
|
||||
</DescriptionsItem>
|
||||
@@ -78,6 +81,9 @@ async function handleOpenChange(open: boolean) {
|
||||
:is="orderDetail.isTimeOut ? renderDict(orderDetail.isTimeOut,'wy_sf') : ''"
|
||||
/>
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="备注">
|
||||
{{ orderDetail.remark }}
|
||||
</DescriptionsItem>
|
||||
</Descriptions>
|
||||
<Divider orientation="left" orientation-margin="0px">
|
||||
处理记录
|
||||
|
@@ -64,10 +64,20 @@ export const columns: VxeGridProps['columns'] = [
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '计划完成时间',
|
||||
field: 'planCompleTime',
|
||||
title: '处理权重',
|
||||
field: 'processingWeight',
|
||||
slots: {
|
||||
default: ({row}) => {
|
||||
return renderDict(row.processingWeight, 'pro_processing_weight');
|
||||
},
|
||||
},
|
||||
width: 100,
|
||||
},
|
||||
// {
|
||||
// title: '计划完成时间',
|
||||
// field: 'planCompleTime',
|
||||
// width: 100,
|
||||
// },
|
||||
{
|
||||
title: '完成时间',
|
||||
field: 'compleTime',
|
||||
@@ -85,7 +95,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
title: '是否超时',
|
||||
@@ -94,10 +103,19 @@ export const columns: VxeGridProps['columns'] = [
|
||||
slots: {
|
||||
default: ({row}) => {
|
||||
return row.isTimeOut ? renderDict(row.isTimeOut, 'wy_sf') : '';
|
||||
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
field: 'createTime',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '备注',
|
||||
field: 'remark',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
@@ -173,18 +191,18 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
component: 'Input',
|
||||
rules: 'selectRequired',
|
||||
},
|
||||
{
|
||||
label: '计划完成时间',
|
||||
fieldName: 'planCompleTime',
|
||||
component: 'DatePicker',
|
||||
componentProps: {
|
||||
showTime: true,
|
||||
format: 'YYYY-MM-DD HH:mm:ss',
|
||||
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||
},
|
||||
labelWidth: 110,
|
||||
rules: 'selectRequired',
|
||||
},
|
||||
// {
|
||||
// label: '计划完成时间',
|
||||
// fieldName: 'planCompleTime',
|
||||
// component: 'DatePicker',
|
||||
// componentProps: {
|
||||
// showTime: true,
|
||||
// format: 'YYYY-MM-DD HH:mm:ss',
|
||||
// valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||
// },
|
||||
// labelWidth: 110,
|
||||
// rules: 'selectRequired',
|
||||
// },
|
||||
// {
|
||||
// label: '完成时间',
|
||||
// fieldName: 'compleTime',
|
||||
@@ -196,12 +214,12 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
// },
|
||||
// rules: 'selectRequired',
|
||||
// },
|
||||
// {
|
||||
// label: '评价',
|
||||
// fieldName: 'serviceEvalua',
|
||||
// component: 'Rate',
|
||||
// rules: 'required',
|
||||
// },
|
||||
{
|
||||
label: '备注',
|
||||
fieldName: 'remarkremark',
|
||||
component: 'Textarea',
|
||||
rules: 'required',
|
||||
},
|
||||
// {
|
||||
// label: '是否超时',
|
||||
// fieldName: 'isTimeOut',
|
||||
|
@@ -64,13 +64,16 @@ async function handleOpenChange(open: boolean) {
|
||||
<DescriptionsItem label="具体位置" :span="2">
|
||||
{{ orderDetail.location }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="计划完成时间">
|
||||
{{ orderDetail.planCompleTime }}
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="计划完成时间">-->
|
||||
<!-- {{ orderDetail.planCompleTime }}-->
|
||||
<!-- </DescriptionsItem>-->
|
||||
<DescriptionsItem label="完成时间">
|
||||
{{ orderDetail.compleTime }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="服务评价">
|
||||
<DescriptionsItem label="创建时间">
|
||||
{{ orderDetail.createTime }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="服务评价" :span="2">
|
||||
<Rate :value="orderDetail.serviceEvalua" disabled/>
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="是否超时">
|
||||
@@ -78,6 +81,9 @@ async function handleOpenChange(open: boolean) {
|
||||
:is="orderDetail.isTimeOut ? renderDict(orderDetail.isTimeOut,'wy_sf') : ''"
|
||||
/>
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="备注">
|
||||
{{ orderDetail.remark }}
|
||||
</DescriptionsItem>
|
||||
</Descriptions>
|
||||
<Divider orientation="left" orientation-margin="0px">
|
||||
处理记录
|
||||
|
@@ -1,7 +1,5 @@
|
||||
import type { FormSchemaGetter } from '#/adapter/form';
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import { getDictOptions } from '#/utils/dict';
|
||||
import { renderDict } from '#/utils/render';
|
||||
|
||||
export const querySchema: FormSchemaGetter = () => [
|
||||
{
|
||||
@@ -19,14 +17,14 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
fieldName: 'interviewedUnit',
|
||||
label: '邀约单位',
|
||||
},
|
||||
{
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions('wy_appointment_tatus'),
|
||||
},
|
||||
fieldName: 'serveStatus',
|
||||
label: '预约状态',
|
||||
},
|
||||
// {
|
||||
// component: 'Select',
|
||||
// componentProps: {
|
||||
// options: getDictOptions('wy_appointment_tatus'),
|
||||
// },
|
||||
// fieldName: 'serveStatus',
|
||||
// label: '预约状态',
|
||||
// },
|
||||
];
|
||||
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
@@ -64,7 +62,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
field: 'interviewedUnit',
|
||||
},
|
||||
{
|
||||
title: '拜访事由',
|
||||
title: '事由',
|
||||
field: 'visitingReason',
|
||||
},
|
||||
{
|
||||
@@ -78,24 +76,24 @@ export const columns: VxeGridProps['columns'] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '是否预约车位',
|
||||
field: 'bookingParkingSpace',
|
||||
slots: {
|
||||
default: ({ row }) => {
|
||||
return renderDict(row.bookingParkingSpace, 'wy_parking_spot');
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '预约状态',
|
||||
field: 'serveStatus',
|
||||
slots: {
|
||||
default: ({ row }) => {
|
||||
return renderDict(row.serveStatus, 'wy_appointment_tatus');
|
||||
},
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: '是否预约车位',
|
||||
// field: 'bookingParkingSpace',
|
||||
// slots: {
|
||||
// default: ({ row }) => {
|
||||
// return renderDict(row.bookingParkingSpace, 'wy_parking_spot');
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// title: '预约状态',
|
||||
// field: 'serveStatus',
|
||||
// slots: {
|
||||
// default: ({ row }) => {
|
||||
// return renderDict(row.serveStatus, 'wy_appointment_tatus');
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
{
|
||||
title: '提交时间',
|
||||
field: 'createTime',
|
||||
@@ -150,7 +148,7 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '拜访事由',
|
||||
label: '事由',
|
||||
fieldName: 'visitingReason',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
@@ -169,29 +167,29 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '预约车位',
|
||||
fieldName: 'bookingParkingSpace',
|
||||
component: 'RadioGroup',
|
||||
componentProps: {
|
||||
options: [
|
||||
{ label: '否', value: '1' },
|
||||
{ label: '是', value: '0' },
|
||||
],
|
||||
},
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '车牌号',
|
||||
fieldName: 'licensePlate',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
dependencies: {
|
||||
// 类型不为按钮时显示
|
||||
show: (values) => values.bookingParkingSpace === '0',
|
||||
triggerFields: ['bookingParkingSpace'],
|
||||
},
|
||||
},
|
||||
// {
|
||||
// label: '预约车位',
|
||||
// fieldName: 'bookingParkingSpace',
|
||||
// component: 'RadioGroup',
|
||||
// componentProps: {
|
||||
// options: [
|
||||
// { label: '否', value: '1' },
|
||||
// { label: '是', value: '0' },
|
||||
// ],
|
||||
// },
|
||||
// rules: 'required',
|
||||
// },
|
||||
// {
|
||||
// label: '车牌号',
|
||||
// fieldName: 'licensePlate',
|
||||
// component: 'Input',
|
||||
// rules: 'required',
|
||||
// dependencies: {
|
||||
// // 类型不为按钮时显示
|
||||
// show: (values) => values.bookingParkingSpace === '0',
|
||||
// triggerFields: ['bookingParkingSpace'],
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// label: '人脸图片',
|
||||
// fieldName: 'facePictures',
|
||||
|
@@ -53,25 +53,25 @@ async function handleOpenChange(open: boolean) {
|
||||
<DescriptionsItem label="被访单位">
|
||||
{{ visitorInvitationDetail.interviewedUnit }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="拜访事由">
|
||||
<DescriptionsItem label="事由">
|
||||
{{ visitorInvitationDetail.visitingReason }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="拜访时间">
|
||||
{{ visitorInvitationDetail.visitingBeginTime+' - '+visitorInvitationDetail.visitingBeginTime }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="是否预约车位" v-if="visitorInvitationDetail.bookingParkingSpace!=null">
|
||||
<component
|
||||
:is="renderDict(visitorInvitationDetail.bookingParkingSpace,'wy_parking_spot')"
|
||||
/>
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="是否预约车位" v-if="visitorInvitationDetail.bookingParkingSpace!=null">-->
|
||||
<!-- <component-->
|
||||
<!-- :is="renderDict(visitorInvitationDetail.bookingParkingSpace,'wy_parking_spot')"-->
|
||||
<!-- />-->
|
||||
<!-- </DescriptionsItem>-->
|
||||
<DescriptionsItem label="车牌号">
|
||||
{{ visitorInvitationDetail.licensePlate }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="预约状态" v-if="visitorInvitationDetail.serveStatus!=null">
|
||||
<component
|
||||
:is="renderDict(visitorInvitationDetail.serveStatus,'wy_appointment_tatus')"
|
||||
/>
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="预约状态" v-if="visitorInvitationDetail.serveStatus!=null">-->
|
||||
<!-- <component-->
|
||||
<!-- :is="renderDict(visitorInvitationDetail.serveStatus,'wy_appointment_tatus')"-->
|
||||
<!-- />-->
|
||||
<!-- </DescriptionsItem>-->
|
||||
<DescriptionsItem label="提交时间">
|
||||
{{ visitorInvitationDetail.createTime }}
|
||||
</DescriptionsItem>
|
||||
|
@@ -1,7 +1,5 @@
|
||||
import type { FormSchemaGetter } from '#/adapter/form';
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import { getDictOptions } from '#/utils/dict';
|
||||
import { renderDict } from '#/utils/render';
|
||||
|
||||
export const querySchema: FormSchemaGetter = () => [
|
||||
{
|
||||
@@ -19,14 +17,14 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
fieldName: 'interviewedUnit',
|
||||
label: '被访单位',
|
||||
},
|
||||
{
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions('wy_appointment_tatus'),
|
||||
},
|
||||
fieldName: 'serveStatus',
|
||||
label: '预约状态',
|
||||
},
|
||||
// {
|
||||
// component: 'Select',
|
||||
// componentProps: {
|
||||
// options: getDictOptions('wy_appointment_tatus'),
|
||||
// },
|
||||
// fieldName: 'serveStatus',
|
||||
// label: '预约状态',
|
||||
// },
|
||||
// {
|
||||
// component: 'RangePicker',
|
||||
// componentProps: {
|
||||
@@ -87,7 +85,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
field: 'interviewedUnit',
|
||||
},
|
||||
{
|
||||
title: '拜访事由',
|
||||
title: '事由',
|
||||
field: 'visitingReason',
|
||||
},
|
||||
{
|
||||
@@ -101,24 +99,24 @@ export const columns: VxeGridProps['columns'] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '是否预约车位',
|
||||
field: 'bookingParkingSpace',
|
||||
slots: {
|
||||
default: ({ row }) => {
|
||||
return renderDict(row.bookingParkingSpace, 'wy_parking_spot');
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '预约状态',
|
||||
field: 'serveStatus',
|
||||
slots: {
|
||||
default: ({ row }) => {
|
||||
return renderDict(row.serveStatus, 'wy_appointment_tatus');
|
||||
},
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: '是否预约车位',
|
||||
// field: 'bookingParkingSpace',
|
||||
// slots: {
|
||||
// default: ({ row }) => {
|
||||
// return renderDict(row.bookingParkingSpace, 'wy_parking_spot');
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// title: '预约状态',
|
||||
// field: 'serveStatus',
|
||||
// slots: {
|
||||
// default: ({ row }) => {
|
||||
// return renderDict(row.serveStatus, 'wy_appointment_tatus');
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
{
|
||||
title: '提交时间',
|
||||
field: 'updateTime',
|
||||
|
@@ -53,25 +53,25 @@ async function handleOpenChange(open: boolean) {
|
||||
<DescriptionsItem label="被访单位">
|
||||
{{ visitorTodoDetail.interviewedUnit }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="拜访事由">
|
||||
<DescriptionsItem label="事由">
|
||||
{{ visitorTodoDetail.visitingReason }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="拜访时间">
|
||||
{{ visitorTodoDetail.visitingBeginTime+' - '+visitorTodoDetail.visitingBeginTime }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="是否预约车位" v-if="visitorTodoDetail.bookingParkingSpace!=null">
|
||||
<component
|
||||
:is="renderDict(visitorTodoDetail.bookingParkingSpace,'wy_parking_spot')"
|
||||
/>
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="是否预约车位" v-if="visitorTodoDetail.bookingParkingSpace!=null">-->
|
||||
<!-- <component-->
|
||||
<!-- :is="renderDict(visitorTodoDetail.bookingParkingSpace,'wy_parking_spot')"-->
|
||||
<!-- />-->
|
||||
<!-- </DescriptionsItem>-->
|
||||
<DescriptionsItem label="车牌号">
|
||||
{{ visitorTodoDetail.licensePlate }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="预约状态" v-if="visitorTodoDetail.serveStatus!=null">
|
||||
<component
|
||||
:is="renderDict(visitorTodoDetail.serveStatus,'wy_appointment_tatus')"
|
||||
/>
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="预约状态" v-if="visitorTodoDetail.serveStatus!=null">-->
|
||||
<!-- <component-->
|
||||
<!-- :is="renderDict(visitorTodoDetail.serveStatus,'wy_appointment_tatus')"-->
|
||||
<!-- />-->
|
||||
<!-- </DescriptionsItem>-->
|
||||
<DescriptionsItem label="提交时间">
|
||||
{{ visitorTodoDetail.createTime }}
|
||||
</DescriptionsItem>
|
||||
|
Reference in New Issue
Block a user