Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4465220e
authored
Apr 09, 2023
by
dhb52
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: size="mini" & type="text"过时
parent
daa124a4
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
16 deletions
+31
-16
src/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue
+20
-5
src/components/bpmnProcessDesigner/package/penal/listeners/template.js
+4
-4
src/views/bpm/definition/index.vue
+2
-2
src/views/bpm/model/index.vue
+1
-1
src/views/mp/components/wx-material-select/main.vue
+2
-2
src/views/mp/components/wx-reply/main.vue
+1
-1
src/views/mp/components/wx-voice-play/main.vue
+1
-1
No files found.
src/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue
View file @
4465220e
...
@@ -33,9 +33,15 @@
...
@@ -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 @@
...
@@ -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 @@
...
@@ -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 @@
...
@@ -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"
/>
...
...
src/components/bpmnProcessDesigner/package/penal/listeners/template.js
View file @
4465220e
...
@@ -7,9 +7,9 @@ export const template = (isTaskListener) => {
...
@@ -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) => {
...
@@ -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>
...
...
src/views/bpm/definition/index.vue
View file @
4465220e
...
@@ -4,7 +4,7 @@
...
@@ -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 @@
...
@@ -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
>
...
...
src/views/bpm/model/index.vue
View file @
4465220e
...
@@ -65,7 +65,7 @@
...
@@ -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
>
...
...
src/views/mp/components/wx-material-select/main.vue
View file @
4465220e
...
@@ -51,7 +51,7 @@
...
@@ -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 @@
...
@@ -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
>
...
...
src/views/mp/components/wx-reply/main.vue
View file @
4465220e
...
@@ -259,7 +259,7 @@
...
@@ -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>
...
...
src/views/mp/components/wx-voice-play/main.vue
View file @
4465220e
...
@@ -17,7 +17,7 @@
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment