update: 组件更换测试

This commit is contained in:
JiangQiming 2023-03-14 15:48:31 +08:00
parent 05c83c2d4c
commit bd688acb11
6 changed files with 5709 additions and 8341 deletions

2977
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -55,7 +55,7 @@
allowClear
>
<template #addonAfter>
<j-upload
<a-upload
name="file"
:action="FILE_UPLOAD"
:headers="headers"
@ -63,7 +63,7 @@
@change="handleFileChange"
>
<AIcon type="UploadOutlined" />
</j-upload>
</a-upload>
</template>
</j-input>
<j-input

View File

@ -155,11 +155,11 @@
{{ getProviderTxt(slotProps.type, slotProps.provider) }}
</span>
</template>
<template #description="slotProps">
<!-- <template #description="slotProps">
<Ellipsis>
{{ slotProps.description }}
</Ellipsis>
</template>
</template> -->
<template #action="slotProps">
<j-space :size="16">
<template
@ -256,6 +256,7 @@ const columns = [
dataIndex: 'description',
key: 'description',
scopedSlots: true,
ellipsis: true,
search: {
type: 'string',
},

View File

@ -172,11 +172,11 @@ const getTemplateDetail = async () => {
formData.value.templateDetailTable = result.variableDefinitions.map(
(m: any) => ({
...m,
type: m.expands ? m.expands.businessType : m.type,
type: m.expands?.businessType ? m.expands.businessType : m.type,
value: undefined,
//
otherRules:
m.id === 'calledNumber'
m.id === 'calledNumber' || m.id === 'phoneNumber'
? [
{
max: 64,

View File

@ -118,11 +118,11 @@
{{ getProviderTxt(slotProps.type, slotProps.provider) }}
</span>
</template>
<template #description="slotProps">
<!-- <template #description="slotProps">
<Ellipsis>
{{ slotProps.description }}
</Ellipsis>
</template>
</template> -->
<template #action="slotProps">
<j-space :size="16">
<template
@ -216,6 +216,7 @@ const columns = [
dataIndex: 'description',
key: 'description',
scopedSlots: true,
ellipsis: true,
search: {
type: 'string',
},

11055
yarn.lock

File diff suppressed because it is too large Load Diff