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
|
||||
>
|
||||
<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
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue