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

View File

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

View File

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

View File

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

11055
yarn.lock

File diff suppressed because it is too large Load Diff