fix: size="mini" & type="text"过时
This commit is contained in:
parent
daa124a478
commit
4465220ed7
@ -33,9 +33,15 @@
|
|||||||
/>
|
/>
|
||||||
<el-table-column label="操作" width="90px">
|
<el-table-column label="操作" width="90px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="openFieldForm(scope, scope.$index)">编辑</el-button>
|
<el-button type="primary" link @click="openFieldForm(scope, scope.$index)"
|
||||||
|
>编辑</el-button
|
||||||
|
>
|
||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
<el-button type="text" style="color: #ff4d4f" @click="removeField(scope, scope.$index)"
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
link
|
||||||
|
style="color: #ff4d4f"
|
||||||
|
@click="removeField(scope, scope.$index)"
|
||||||
>移除</el-button
|
>移除</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
@ -97,7 +103,10 @@
|
|||||||
<el-table-column label="枚举值名称" prop="name" min-width="100px" show-overflow-tooltip />
|
<el-table-column label="枚举值名称" prop="name" min-width="100px" show-overflow-tooltip />
|
||||||
<el-table-column label="操作" width="90px">
|
<el-table-column label="操作" width="90px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="openFieldOptionForm(scope, scope.$index, 'enum')"
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
link
|
||||||
|
@click="openFieldOptionForm(scope, scope.$index, 'enum')"
|
||||||
>编辑</el-button
|
>编辑</el-button
|
||||||
>
|
>
|
||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
@ -126,7 +135,10 @@
|
|||||||
<el-table-column label="约束配置" prop="config" min-width="100px" show-overflow-tooltip />
|
<el-table-column label="约束配置" prop="config" min-width="100px" show-overflow-tooltip />
|
||||||
<el-table-column label="操作" width="90px">
|
<el-table-column label="操作" width="90px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="openFieldOptionForm(scope, scope.$index, 'constraint')"
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
link
|
||||||
|
@click="openFieldOptionForm(scope, scope.$index, 'constraint')"
|
||||||
>编辑</el-button
|
>编辑</el-button
|
||||||
>
|
>
|
||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
@ -154,7 +166,10 @@
|
|||||||
<el-table-column label="属性值" prop="value" min-width="100px" show-overflow-tooltip />
|
<el-table-column label="属性值" prop="value" min-width="100px" show-overflow-tooltip />
|
||||||
<el-table-column label="操作" width="90px">
|
<el-table-column label="操作" width="90px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="openFieldOptionForm(scope, scope.$index, 'property')"
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
link
|
||||||
|
@click="openFieldOptionForm(scope, scope.$index, 'property')"
|
||||||
>编辑</el-button
|
>编辑</el-button
|
||||||
>
|
>
|
||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
|
@ -7,9 +7,9 @@ export const template = (isTaskListener) => {
|
|||||||
<el-table-column label="监听器类型" min-width="100px" show-overflow-tooltip :formatter="row => listenerTypeObject[row.listenerType]" />
|
<el-table-column label="监听器类型" min-width="100px" show-overflow-tooltip :formatter="row => listenerTypeObject[row.listenerType]" />
|
||||||
<el-table-column label="操作" width="90px">
|
<el-table-column label="操作" width="90px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button size="small" type="text" @click="openListenerForm(scope, scope.$index)">编辑</el-button>
|
<el-button size="small" type="primary" link @click="openListenerForm(scope, scope.$index)">编辑</el-button>
|
||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
<el-button size="small" type="text" style="color: #ff4d4f" @click="removeListener(scope, scope.$index)">移除</el-button>
|
<el-button size="small" type="primary" link style="color: #ff4d4f" @click="removeListener(scope, scope.$index)">移除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -125,9 +125,9 @@ export const template = (isTaskListener) => {
|
|||||||
<el-table-column label="字段值/表达式" min-width="100px" show-overflow-tooltip :formatter="row => row.string || row.expression" />
|
<el-table-column label="字段值/表达式" min-width="100px" show-overflow-tooltip :formatter="row => row.string || row.expression" />
|
||||||
<el-table-column label="操作" width="100px">
|
<el-table-column label="操作" width="100px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button size="small" type="text" @click="openListenerFieldForm(scope, scope.$index)">编辑</el-button>
|
<el-button size="small" type="primary" link @click="openListenerFieldForm(scope, scope.$index)">编辑</el-button>
|
||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
<el-button size="small" type="text" style="color: #ff4d4f" @click="removeListenerField(scope, scope.$index)">移除</el-button>
|
<el-button size="small" type="primary" link style="color: #ff4d4f" @click="removeListenerField(scope, scope.$index)">移除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<el-table-column label="定义编号" align="center" prop="id" width="400" />
|
<el-table-column label="定义编号" align="center" prop="id" width="400" />
|
||||||
<el-table-column label="流程名称" align="center" prop="name" width="200">
|
<el-table-column label="流程名称" align="center" prop="name" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="handleBpmnDetail(scope.row)">
|
<el-button type="primary" link @click="handleBpmnDetail(scope.row)">
|
||||||
<span>{{ scope.row.name }}</span>
|
<span>{{ scope.row.name }}</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -23,7 +23,7 @@
|
|||||||
>
|
>
|
||||||
<span>{{ scope.row.formName }}</span>
|
<span>{{ scope.row.formName }}</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button v-else type="text" @click="handleFormDetail(scope.row)">
|
<el-button v-else type="primary" link @click="handleFormDetail(scope.row)">
|
||||||
<span>{{ scope.row.formCustomCreatePath }}</span>
|
<span>{{ scope.row.formCustomCreatePath }}</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
<el-table-column label="流程标识" align="center" prop="key" width="200" />
|
<el-table-column label="流程标识" align="center" prop="key" width="200" />
|
||||||
<el-table-column label="流程名称" align="center" prop="name" width="200">
|
<el-table-column label="流程名称" align="center" prop="name" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="handleBpmnDetail(scope.row)">
|
<el-button type="primary" link @click="handleBpmnDetail(scope.row)">
|
||||||
<span>{{ scope.row.name }}</span>
|
<span>{{ scope.row.name }}</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
class-name="small-padding fixed-width"
|
class-name="small-padding fixed-width"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="selectMaterialFun(scope.row)"
|
<el-button type="primary" link @click="selectMaterialFun(scope.row)"
|
||||||
>选择<Icon icon="ep:plus" />
|
>选择<Icon icon="ep:plus" />
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -91,7 +91,7 @@
|
|||||||
class-name="small-padding fixed-width"
|
class-name="small-padding fixed-width"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" @click="selectMaterialFun(scope.row)"
|
<el-button type="primary" link @click="selectMaterialFun(scope.row)"
|
||||||
>选择<Icon icon="akar-icons:circle-plus" />
|
>选择<Icon icon="akar-icons:circle-plus" />
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
@ -259,7 +259,7 @@
|
|||||||
<template #trigger>
|
<template #trigger>
|
||||||
<el-button type="text">本地上传</el-button>
|
<el-button type="text">本地上传</el-button>
|
||||||
</template>
|
</template>
|
||||||
<el-button type="text" @click="openMaterial" style="margin-left: 5px"
|
<el-button type="primary" link @click="openMaterial" style="margin-left: 5px"
|
||||||
>素材库选择
|
>素材库选择
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<span class="amr-duration" v-if="duration">{{ duration }} 秒</span>
|
<span class="amr-duration" v-if="duration">{{ duration }} 秒</span>
|
||||||
</el-icon>
|
</el-icon>
|
||||||
<div v-if="content">
|
<div v-if="content">
|
||||||
<el-tag type="success" size="mini">语音识别</el-tag>
|
<el-tag type="success" size="small">语音识别</el-tag>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user