fix: 解决合并冲突并更新依赖
解决多个组件模块的合并冲突,包括: - BPM流程实例创建页面 - 基础设施相关模块(API访问日志、错误日志等) - 商城促销相关组件 - 支付相关模块 - 系统管理模块 - Element Plus组件描述模块 - 依赖包更新 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -284,6 +284,17 @@ onMounted(() => {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
// @jason:看看能不能通过 tailwindcss 简化下
|
// @jason:看看能不能通过 tailwindcss 简化下
|
||||||
|
@keyframes bounce {
|
||||||
|
0%,
|
||||||
|
50% {
|
||||||
|
transform: translateY(-5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.process-definition-container {
|
.process-definition-container {
|
||||||
.definition-item-card {
|
.definition-item-card {
|
||||||
.flow-icon-img {
|
.flow-icon-img {
|
||||||
@@ -310,15 +321,4 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes bounce {
|
|
||||||
0%,
|
|
||||||
100% {
|
|
||||||
transform: translateY(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
50% {
|
|
||||||
transform: translateY(-5px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ export function useDetailSchema(): DescriptionItemSchema[] {
|
|||||||
render: (val, data) => {
|
render: (val, data) => {
|
||||||
if (val === 0) {
|
if (val === 0) {
|
||||||
return '正常';
|
return '正常';
|
||||||
} else if (val > 0 && data?.resultCode > 0) {
|
} else if (val > 0 && data?.resultMsg) {
|
||||||
return `失败 | ${val} | ${data.resultMsg}`;
|
return `失败 | ${val} | ${data.resultMsg}`;
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import type { HotZoneProperty } from './config';
|
|||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
|
|
||||||
import { useVModel } from '@vueuse/core';
|
import { useVModel } from '@vueuse/core';
|
||||||
|
|
||||||
import { Button, Form, FormItem, Typography } from 'ant-design-vue';
|
import { Button, Form, FormItem, Typography } from 'ant-design-vue';
|
||||||
|
|
||||||
import UploadImg from '#/components/upload/image-upload.vue';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
@@ -30,7 +29,12 @@ const handleOpenEditDialog = () => {
|
|||||||
<template>
|
<template>
|
||||||
<ComponentContainerProperty v-model="formData.style">
|
<ComponentContainerProperty v-model="formData.style">
|
||||||
<!-- 表单 -->
|
<!-- 表单 -->
|
||||||
<Form :label-col="{ span: 6 }" :wrapper-col="{ span: 18 }" :model="formData" class="mt-2">
|
<Form
|
||||||
|
:label-col="{ span: 6 }"
|
||||||
|
:wrapper-col="{ span: 18 }"
|
||||||
|
:model="formData"
|
||||||
|
class="mt-2"
|
||||||
|
>
|
||||||
<FormItem label="上传图片" prop="imgUrl">
|
<FormItem label="上传图片" prop="imgUrl">
|
||||||
<UploadImg
|
<UploadImg
|
||||||
v-model="formData.imgUrl"
|
v-model="formData.imgUrl"
|
||||||
@@ -40,7 +44,9 @@ const handleOpenEditDialog = () => {
|
|||||||
:show-description="false"
|
:show-description="false"
|
||||||
>
|
>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<Typography.Text type="secondary" class="text-xs"> 推荐宽度 750</Typography.Text>
|
<Typography.Text type="secondary" class="text-xs">
|
||||||
|
推荐宽度 750
|
||||||
|
</Typography.Text>
|
||||||
</template>
|
</template>
|
||||||
</UploadImg>
|
</UploadImg>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
import type { ImageBarProperty } from './config';
|
import type { ImageBarProperty } from './config';
|
||||||
|
|
||||||
import { useVModel } from '@vueuse/core';
|
import { useVModel } from '@vueuse/core';
|
||||||
|
|
||||||
import { Form, FormItem } from 'ant-design-vue';
|
import { Form, FormItem } from 'ant-design-vue';
|
||||||
|
|
||||||
import UploadImg from '#/components/upload/image-upload.vue';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
@@ -20,7 +19,11 @@ const formData = useVModel(props, 'modelValue', emit);
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ComponentContainerProperty v-model="formData.style">
|
<ComponentContainerProperty v-model="formData.style">
|
||||||
<Form :label-col="{ span: 6 }" :wrapper-col="{ span: 18 }" :model="formData">
|
<Form
|
||||||
|
:label-col="{ span: 6 }"
|
||||||
|
:wrapper-col="{ span: 18 }"
|
||||||
|
:model="formData"
|
||||||
|
>
|
||||||
<FormItem label="上传图片" prop="imgUrl">
|
<FormItem label="上传图片" prop="imgUrl">
|
||||||
<UploadImg
|
<UploadImg
|
||||||
v-model="formData.imgUrl"
|
v-model="formData.imgUrl"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ setInterval(() => {
|
|||||||
>
|
>
|
||||||
<Image :src="property.iconUrl" class="h-[18px]" :preview="false" />
|
<Image :src="property.iconUrl" class="h-[18px]" :preview="false" />
|
||||||
<Divider type="vertical" />
|
<Divider type="vertical" />
|
||||||
<div class="flex-1 pr-2 h-6 truncate leading-6">
|
<div class="h-6 flex-1 truncate pr-2 leading-6">
|
||||||
{{ property.contents?.[activeIndex]?.text }}
|
{{ property.contents?.[activeIndex]?.text }}
|
||||||
</div>
|
</div>
|
||||||
<IconifyIcon icon="ep:arrow-right" />
|
<IconifyIcon icon="ep:arrow-right" />
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable unicorn/no-nested-ternary -->
|
||||||
<!-- 积分活动橱窗组件 - 用于装修时展示和选择积分活动 -->
|
<!-- 积分活动橱窗组件 - 用于装修时展示和选择积分活动 -->
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
// TODO @puhui999:看看是不是整体优化下代码风格,参考别的模块
|
// TODO @puhui999:看看是不是整体优化下代码风格,参考别的模块
|
||||||
@@ -95,9 +96,9 @@ watch(
|
|||||||
async () => {
|
async () => {
|
||||||
const ids = Array.isArray(props.modelValue)
|
const ids = Array.isArray(props.modelValue)
|
||||||
? props.modelValue
|
? props.modelValue
|
||||||
: (props.modelValue
|
: props.modelValue
|
||||||
? [props.modelValue]
|
? [props.modelValue]
|
||||||
: []);
|
: [];
|
||||||
|
|
||||||
// 不需要返显
|
// 不需要返显
|
||||||
if (ids.length === 0) {
|
if (ids.length === 0) {
|
||||||
@@ -158,7 +159,7 @@ watch(
|
|||||||
<!-- 积分活动选择对话框 -->
|
<!-- 积分活动选择对话框 -->
|
||||||
<PointTableSelect
|
<PointTableSelect
|
||||||
ref="pointActivityTableSelectRef"
|
ref="pointActivityTableSelectRef"
|
||||||
:multiple="limit != 1"
|
:multiple="limit !== 1"
|
||||||
@change="handleActivitySelected"
|
@change="handleActivitySelected"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -153,4 +153,3 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
</Grid>
|
</Grid>
|
||||||
</Page>
|
</Page>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -17,11 +17,9 @@ import { useDetailLogColumns, useDetailSchema } from '../data';
|
|||||||
const formData = ref<PayNotifyApi.NotifyTask>();
|
const formData = ref<PayNotifyApi.NotifyTask>();
|
||||||
|
|
||||||
const [Description] = useDescription({
|
const [Description] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -13,11 +13,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<PayOrderApi.Order>();
|
const formData = ref<PayOrderApi.Order>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -13,11 +13,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<PayRefundApi.Refund>();
|
const formData = ref<PayRefundApi.Refund>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -13,11 +13,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<PayTransferApi.Transfer>();
|
const formData = ref<PayTransferApi.Transfer>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemLoginLogApi.LoginLog>();
|
const formData = ref<SystemLoginLogApi.LoginLog>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemMailLogApi.MailLog>();
|
const formData = ref<SystemMailLogApi.MailLog>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemOperateLogApi.OperateLog>();
|
const formData = ref<SystemOperateLogApi.OperateLog>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemSmsLogApi.SmsLog>();
|
const formData = ref<SystemSmsLogApi.SmsLog>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -14,13 +14,11 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemSocialUserApi.SocialUser>();
|
const formData = ref<SystemSocialUserApi.SocialUser>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
bordered: true,
|
bordered: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
size: 'middle',
|
size: 'middle',
|
||||||
class: 'mx-4',
|
class: 'mx-4',
|
||||||
labelStyle: { width: '185px' },
|
labelStyle: { width: '185px' },
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,7 @@ import { get, getNestedValue, isFunction } from '@vben/utils';
|
|||||||
import { ElDescriptions, ElDescriptionsItem } from 'element-plus';
|
import { ElDescriptions, ElDescriptionsItem } from 'element-plus';
|
||||||
|
|
||||||
const props = {
|
const props = {
|
||||||
// TODO @星语:bordered 不生效;之前好像是 border
|
border: { default: true, type: Boolean },
|
||||||
bordered: { default: true, type: Boolean },
|
|
||||||
column: {
|
column: {
|
||||||
default: () => {
|
default: () => {
|
||||||
return { lg: 3, md: 3, sm: 2, xl: 3, xs: 1, xxl: 4 };
|
return { lg: 3, md: 3, sm: 2, xl: 3, xs: 1, xxl: 4 };
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ export interface DescriptionProps extends ElDescriptionProps {
|
|||||||
schema: DescriptionItemSchema[];
|
schema: DescriptionItemSchema[];
|
||||||
// 数据
|
// 数据
|
||||||
data: Recordable<any>;
|
data: Recordable<any>;
|
||||||
// 是否包含边框
|
|
||||||
bordered?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DescInstance {
|
export interface DescInstance {
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ export function useDetailSchema(): DescriptionItemSchema[] {
|
|||||||
render: (val, data) => {
|
render: (val, data) => {
|
||||||
if (val === 0) {
|
if (val === 0) {
|
||||||
return '正常';
|
return '正常';
|
||||||
} else if (data && data.resultCode > 0) {
|
} else if (data && data.resultMsg) {
|
||||||
return `失败 | ${val} | ${data.resultMsg}`;
|
return `失败 | ${val} | ${data.resultMsg}`;
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ import { useDetailSchema } from '../data';
|
|||||||
|
|
||||||
const formData = ref<InfraApiAccessLogApi.ApiAccessLog>();
|
const formData = ref<InfraApiAccessLogApi.ApiAccessLog>();
|
||||||
|
|
||||||
// TODO @xingyu:antd 和 el 这 2 个组件在这个模块的 detail.vue 不一样,看看是不是统一?还是就是区分的哈?
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
labelWidth: 110,
|
labelWidth: 110,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<InfraApiErrorLogApi.ApiErrorLog>();
|
const formData = ref<InfraApiErrorLogApi.ApiErrorLog>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
labelWidth: 110,
|
labelWidth: 110,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ const formData = ref<InfraJobApi.Job>(); // 任务详情
|
|||||||
const nextTimes = ref<Date[]>([]); // 下一次执行时间
|
const nextTimes = ref<Date[]>([]); // 下一次执行时间
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ defineProps<{
|
|||||||
}>();
|
}>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
bordered: false,
|
border: false,
|
||||||
column: 6,
|
column: 6,
|
||||||
schema: [
|
schema: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import type { MallAfterSaleApi } from '#/api/mall/trade/afterSale';
|
|
||||||
import type { DescriptionItemSchema } from '#/components/description';
|
import type { DescriptionItemSchema } from '#/components/description';
|
||||||
|
|
||||||
import { h } from 'vue';
|
import { h } from 'vue';
|
||||||
@@ -20,19 +19,19 @@ export function useOrderInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'order.deliveryType',
|
field: 'order.deliveryType',
|
||||||
label: '配送方式',
|
label: '配送方式',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_DELIVERY_TYPE,
|
type: DICT_TYPE.TRADE_DELIVERY_TYPE,
|
||||||
value: data?.order?.deliveryType,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'order.type',
|
field: 'order.type',
|
||||||
label: '订单类型',
|
label: '订单类型',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_ORDER_TYPE,
|
type: DICT_TYPE.TRADE_ORDER_TYPE,
|
||||||
value: data?.order?.type,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -46,10 +45,10 @@ export function useOrderInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'order.terminal',
|
field: 'order.terminal',
|
||||||
label: '订单来源',
|
label: '订单来源',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TERMINAL,
|
type: DICT_TYPE.TERMINAL,
|
||||||
value: data?.order?.terminal,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -67,10 +66,10 @@ export function useOrderInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'order.payChannelCode',
|
field: 'order.payChannelCode',
|
||||||
label: '付款方式',
|
label: '付款方式',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.PAY_CHANNEL_CODE,
|
type: DICT_TYPE.PAY_CHANNEL_CODE,
|
||||||
value: data?.order?.payChannelCode,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -90,32 +89,30 @@ export function useAfterSaleInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'auditTime',
|
field: 'auditTime',
|
||||||
label: '申请时间',
|
label: '申请时间',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) => formatDate(val) as string,
|
||||||
formatDate(data?.auditTime) as string,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'type',
|
field: 'type',
|
||||||
label: '售后类型',
|
label: '售后类型',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_AFTER_SALE_TYPE,
|
type: DICT_TYPE.TRADE_AFTER_SALE_TYPE,
|
||||||
value: data?.type,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'way',
|
field: 'way',
|
||||||
label: '售后方式',
|
label: '售后方式',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_AFTER_SALE_WAY,
|
type: DICT_TYPE.TRADE_AFTER_SALE_WAY,
|
||||||
value: data?.way,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'refundPrice',
|
field: 'refundPrice',
|
||||||
label: '退款金额',
|
label: '退款金额',
|
||||||
content: (data: MallAfterSaleApi.AfterSale) =>
|
render: (val) => fenToYuan(val ?? 0),
|
||||||
fenToYuan(data?.refundPrice ?? 0),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'applyReason',
|
field: 'applyReason',
|
||||||
@@ -128,8 +125,8 @@ export function useAfterSaleInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'applyPicUrls',
|
field: 'applyPicUrls',
|
||||||
label: '凭证图片',
|
label: '凭证图片',
|
||||||
content: (data) => {
|
render: (val) => {
|
||||||
const images = data?.applyPicUrls || [];
|
const images = val || [];
|
||||||
return h(
|
return h(
|
||||||
'div',
|
'div',
|
||||||
{ class: 'flex gap-10px' },
|
{ class: 'flex gap-10px' },
|
||||||
@@ -153,16 +150,16 @@ export function useRefundStatusSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'status',
|
field: 'status',
|
||||||
label: '退款状态',
|
label: '退款状态',
|
||||||
content: (data) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_AFTER_SALE_STATUS,
|
type: DICT_TYPE.TRADE_AFTER_SALE_STATUS,
|
||||||
value: data?.status,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'reminder',
|
field: 'reminder',
|
||||||
label: '提醒',
|
label: '提醒',
|
||||||
content: () =>
|
render: () =>
|
||||||
h('div', { class: 'text-red-500 mb-10px' }, [
|
h('div', { class: 'text-red-500 mb-10px' }, [
|
||||||
h('div', '如果未发货,请点击同意退款给买家。'),
|
h('div', '如果未发货,请点击同意退款给买家。'),
|
||||||
h('div', '如果实际已发货,请主动与买家联系。'),
|
h('div', '如果实际已发货,请主动与买家联系。'),
|
||||||
|
|||||||
@@ -49,38 +49,29 @@ const afterSale = ref<MallAfterSaleApi.AfterSale>({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const [OrderDescriptions] = useDescription({
|
const [OrderDescriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
title: '订单信息',
|
title: '订单信息',
|
||||||
border: false,
|
border: false,
|
||||||
column: 3,
|
column: 3,
|
||||||
direction: 'horizontal',
|
direction: 'horizontal',
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
extra: '',
|
|
||||||
},
|
|
||||||
schema: useOrderInfoSchema(),
|
schema: useOrderInfoSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const [AfterSaleDescriptions] = useDescription({
|
const [AfterSaleDescriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
title: '售后信息',
|
title: '售后信息',
|
||||||
border: false,
|
border: false,
|
||||||
column: 3,
|
column: 3,
|
||||||
direction: 'horizontal',
|
direction: 'horizontal',
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
extra: '',
|
|
||||||
},
|
|
||||||
schema: useAfterSaleInfoSchema(),
|
schema: useAfterSaleInfoSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const [RefundStatusDescriptions] = useDescription({
|
const [RefundStatusDescriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
title: '退款状态',
|
title: '退款状态',
|
||||||
border: false,
|
border: false,
|
||||||
column: 1,
|
column: 1,
|
||||||
direction: 'horizontal',
|
direction: 'horizontal',
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
extra: '',
|
|
||||||
},
|
|
||||||
schema: useRefundStatusSchema(),
|
schema: useRefundStatusSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
||||||
import type { MallOrderApi } from '#/api/mall/trade/order';
|
|
||||||
import type { DescriptionItemSchema } from '#/components/description';
|
import type { DescriptionItemSchema } from '#/components/description';
|
||||||
|
|
||||||
import { h } from 'vue';
|
import { h } from 'vue';
|
||||||
@@ -23,19 +22,19 @@ export function useOrderInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'type',
|
field: 'type',
|
||||||
label: '订单类型',
|
label: '订单类型',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_ORDER_TYPE,
|
type: DICT_TYPE.TRADE_ORDER_TYPE,
|
||||||
value: data?.type,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'terminal',
|
field: 'terminal',
|
||||||
label: '订单来源',
|
label: '订单来源',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TERMINAL,
|
type: DICT_TYPE.TERMINAL,
|
||||||
value: data?.terminal,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -53,10 +52,10 @@ export function useOrderInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'payChannelCode',
|
field: 'payChannelCode',
|
||||||
label: '付款方式',
|
label: '付款方式',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.PAY_CHANNEL_CODE,
|
type: DICT_TYPE.PAY_CHANNEL_CODE,
|
||||||
value: data?.payChannelCode,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -72,16 +71,16 @@ export function useOrderStatusSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'status',
|
field: 'status',
|
||||||
label: '订单状态',
|
label: '订单状态',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_ORDER_STATUS,
|
type: DICT_TYPE.TRADE_ORDER_STATUS,
|
||||||
value: data?.status,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'reminder',
|
field: 'reminder',
|
||||||
label: '提醒',
|
label: '提醒',
|
||||||
content: () =>
|
render: () =>
|
||||||
h('div', { class: 'space-y-1' }, [
|
h('div', { class: 'space-y-1' }, [
|
||||||
h('div', '买家付款成功后,货款将直接进入您的商户号(微信、支付宝)'),
|
h('div', '买家付款成功后,货款将直接进入您的商户号(微信、支付宝)'),
|
||||||
h('div', '请及时关注你发出的包裹状态,确保可以配送至买家手中'),
|
h('div', '请及时关注你发出的包裹状态,确保可以配送至买家手中'),
|
||||||
@@ -100,66 +99,46 @@ export function useOrderPriceSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'totalPrice',
|
field: 'totalPrice',
|
||||||
label: '商品总额',
|
label: '商品总额',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) => `${fenToYuan(val ?? 0)} 元`,
|
||||||
`${fenToYuan(data?.totalPrice ?? 0)} 元`,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'deliveryPrice',
|
field: 'deliveryPrice',
|
||||||
label: '运费金额',
|
label: '运费金额',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) => `${fenToYuan(val ?? 0)} 元`,
|
||||||
`${fenToYuan(data?.deliveryPrice ?? 0)} 元`,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'adjustPrice',
|
field: 'adjustPrice',
|
||||||
label: '订单调价',
|
label: '订单调价',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) => `${fenToYuan(val ?? 0)} 元`,
|
||||||
`${fenToYuan(data?.adjustPrice ?? 0)} 元`,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'couponPrice',
|
field: 'couponPrice',
|
||||||
label: '优惠劵优惠',
|
label: '优惠劵优惠',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(
|
h('span', { class: 'text-red-500' }, `${fenToYuan(val ?? 0)} 元`),
|
||||||
'span',
|
|
||||||
{ class: 'text-red-500' },
|
|
||||||
`${fenToYuan(data?.couponPrice ?? 0)} 元`,
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'vipPrice',
|
field: 'vipPrice',
|
||||||
label: 'VIP 优惠',
|
label: 'VIP 优惠',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(
|
h('span', { class: 'text-red-500' }, `${fenToYuan(val ?? 0)} 元`),
|
||||||
'span',
|
|
||||||
{ class: 'text-red-500' },
|
|
||||||
`${fenToYuan(data?.vipPrice ?? 0)} 元`,
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'discountPrice',
|
field: 'discountPrice',
|
||||||
label: '活动优惠',
|
label: '活动优惠',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(
|
h('span', { class: 'text-red-500' }, `${fenToYuan(val ?? 0)} 元`),
|
||||||
'span',
|
|
||||||
{ class: 'text-red-500' },
|
|
||||||
`${fenToYuan(data?.discountPrice ?? 0)} 元`,
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'pointPrice',
|
field: 'pointPrice',
|
||||||
label: '积分抵扣',
|
label: '积分抵扣',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(
|
h('span', { class: 'text-red-500' }, `${fenToYuan(val ?? 0)} 元`),
|
||||||
'span',
|
|
||||||
{ class: 'text-red-500' },
|
|
||||||
`${fenToYuan(data?.pointPrice ?? 0)} 元`,
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'payPrice',
|
field: 'payPrice',
|
||||||
label: '应付金额',
|
label: '应付金额',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) => `${fenToYuan(val ?? 0)} 元`,
|
||||||
`${fenToYuan(data?.payPrice ?? 0)} 元`,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -170,10 +149,10 @@ export function useDeliveryInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'deliveryType',
|
field: 'deliveryType',
|
||||||
label: '配送方式',
|
label: '配送方式',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.TRADE_DELIVERY_TYPE,
|
type: DICT_TYPE.TRADE_DELIVERY_TYPE,
|
||||||
value: data?.deliveryType,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -187,14 +166,12 @@ export function useDeliveryInfoSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'receiverAddress',
|
field: 'receiverAddress',
|
||||||
label: '收货地址',
|
label: '收货地址',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val, data) => `${data?.receiverAreaName} ${val}`.trim(),
|
||||||
`${data?.receiverAreaName} ${data?.receiverDetailAddress}`.trim(),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'deliveryTime',
|
field: 'deliveryTime',
|
||||||
label: '发货时间',
|
label: '发货时间',
|
||||||
content: (data: MallOrderApi.Order) =>
|
render: (val) => formatDateTime(val) as string,
|
||||||
formatDateTime(data?.deliveryTime) as string,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,38 +57,30 @@ const expressTrackList = ref<any[]>([]);
|
|||||||
const pickUpStore = ref<MallDeliveryPickUpStoreApi.PickUpStore | undefined>();
|
const pickUpStore = ref<MallDeliveryPickUpStoreApi.PickUpStore | undefined>();
|
||||||
|
|
||||||
const [OrderInfoDescriptions] = useDescription({
|
const [OrderInfoDescriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
title: '订单信息',
|
title: '订单信息',
|
||||||
border: false,
|
border: false,
|
||||||
column: 3,
|
column: 3,
|
||||||
},
|
|
||||||
schema: useOrderInfoSchema(),
|
schema: useOrderInfoSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const [OrderStatusDescriptions] = useDescription({
|
const [OrderStatusDescriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
title: '订单状态',
|
title: '订单状态',
|
||||||
border: false,
|
border: false,
|
||||||
column: 1,
|
column: 1,
|
||||||
},
|
|
||||||
schema: useOrderStatusSchema(),
|
schema: useOrderStatusSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const [OrderPriceDescriptions] = useDescription({
|
const [OrderPriceDescriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
title: '费用信息',
|
title: '费用信息',
|
||||||
border: false,
|
border: false,
|
||||||
column: 4,
|
column: 4,
|
||||||
},
|
|
||||||
schema: useOrderPriceSchema(),
|
schema: useOrderPriceSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const [DeliveryInfoDescriptions] = useDescription({
|
const [DeliveryInfoDescriptions] = useDescription({
|
||||||
componentProps: {
|
|
||||||
title: '收货信息',
|
title: '收货信息',
|
||||||
border: false,
|
border: false,
|
||||||
column: 3,
|
column: 3,
|
||||||
},
|
|
||||||
schema: useDeliveryInfoSchema(),
|
schema: useDeliveryInfoSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import type { VbenFormSchema } from '#/adapter/form';
|
import type { VbenFormSchema } from '#/adapter/form';
|
||||||
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
||||||
import type { PayNotifyApi } from '#/api/pay/notify';
|
|
||||||
import type { DescriptionItemSchema } from '#/components/description';
|
import type { DescriptionItemSchema } from '#/components/description';
|
||||||
|
|
||||||
import { h } from 'vue';
|
import { h } from 'vue';
|
||||||
@@ -182,10 +181,10 @@ export function useDetailSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'type',
|
field: 'type',
|
||||||
label: '通知类型',
|
label: '通知类型',
|
||||||
content: (data: PayNotifyApi.NotifyTask) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.PAY_NOTIFY_TYPE,
|
type: DICT_TYPE.PAY_NOTIFY_TYPE,
|
||||||
value: data?.type,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -195,10 +194,10 @@ export function useDetailSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'status',
|
field: 'status',
|
||||||
label: '通知状态',
|
label: '通知状态',
|
||||||
content: (data: PayNotifyApi.NotifyTask) =>
|
render: (val) =>
|
||||||
h(DictTag, {
|
h(DictTag, {
|
||||||
type: DICT_TYPE.PAY_NOTIFY_STATUS,
|
type: DICT_TYPE.PAY_NOTIFY_STATUS,
|
||||||
value: data?.status,
|
value: val,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -208,14 +207,12 @@ export function useDetailSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'lastExecuteTime',
|
field: 'lastExecuteTime',
|
||||||
label: '最后通知时间',
|
label: '最后通知时间',
|
||||||
content: (data: PayNotifyApi.NotifyTask) =>
|
render: (val) => formatDateTime(val) as string,
|
||||||
formatDateTime(data?.lastExecuteTime) as string,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'nextNotifyTime',
|
field: 'nextNotifyTime',
|
||||||
label: '下次通知时间',
|
label: '下次通知时间',
|
||||||
content: (data: PayNotifyApi.NotifyTask) =>
|
render: (val) => formatDateTime(val) as string,
|
||||||
formatDateTime(data?.nextNotifyTime) as string,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'notifyTimes',
|
field: 'notifyTimes',
|
||||||
@@ -228,14 +225,12 @@ export function useDetailSchema(): DescriptionItemSchema[] {
|
|||||||
{
|
{
|
||||||
field: 'createTime',
|
field: 'createTime',
|
||||||
label: '创建时间',
|
label: '创建时间',
|
||||||
content: (data: PayNotifyApi.NotifyTask) =>
|
render: (val) => formatDateTime(val) as string,
|
||||||
formatDateTime(data?.createTime) as string,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'updateTime',
|
field: 'updateTime',
|
||||||
label: '更新时间',
|
label: '更新时间',
|
||||||
content: (data: PayNotifyApi.NotifyTask) =>
|
render: (val) => formatDateTime(val) as string,
|
||||||
formatDateTime(data?.updateTime) as string,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,14 +17,10 @@ import { useDetailLogColumns, useDetailSchema } from '../data';
|
|||||||
const formData = ref<PayNotifyApi.NotifyTask>();
|
const formData = ref<PayNotifyApi.NotifyTask>();
|
||||||
|
|
||||||
const [Description] = useDescription({
|
const [Description] = useDescription({
|
||||||
componentProps: {
|
|
||||||
border: true,
|
border: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
direction: 'horizontal',
|
direction: 'horizontal',
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
title: '',
|
|
||||||
extra: '',
|
|
||||||
},
|
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<PayOrderApi.Order>();
|
const formData = ref<PayOrderApi.Order>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 2,
|
column: 2,
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
labelWidth: 140,
|
labelWidth: 140,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemOperateLogApi.OperateLog>();
|
const formData = ref<SystemOperateLogApi.OperateLog>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
direction: 'horizontal',
|
|
||||||
labelWidth: 110,
|
labelWidth: 110,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -14,7 +14,9 @@ import { useDetailSchema } from '../data';
|
|||||||
const formData = ref<SystemSocialUserApi.SocialUser>();
|
const formData = ref<SystemSocialUserApi.SocialUser>();
|
||||||
|
|
||||||
const [Descriptions] = useDescription({
|
const [Descriptions] = useDescription({
|
||||||
|
border: true,
|
||||||
column: 1,
|
column: 1,
|
||||||
|
size: 'large',
|
||||||
labelWidth: 185,
|
labelWidth: 185,
|
||||||
schema: useDetailSchema(),
|
schema: useDetailSchema(),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -95,8 +95,8 @@
|
|||||||
"vue-tsc": "catalog:"
|
"vue-tsc": "catalog:"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.10.0",
|
"node": ">=20.12.0",
|
||||||
"pnpm": ">=9.12.0"
|
"pnpm": ">=10.14.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.14.0",
|
"packageManager": "pnpm@10.14.0",
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
|
|||||||
604
pnpm-lock.yaml
generated
604
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user