update: 组件更换测试
This commit is contained in:
parent
05c83c2d4c
commit
bd688acb11
File diff suppressed because it is too large
Load Diff
|
@ -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
|
||||||
|
|
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue