File tree Expand file tree Collapse file tree 4 files changed +42
-6
lines changed
Expand file tree Collapse file tree 4 files changed +42
-6
lines changed Original file line number Diff line number Diff line change 1515 ref =" tableRef"
1616 row-key =" field"
1717 >
18- <el-table-column prop =" variable" :label =" $t('dynamicsForm.paramForm.field.label')" />
19- <el-table-column prop =" default_value" :label =" $t('dynamicsForm.default.label')" />
18+ <el-table-column prop =" variable" :label =" $t('dynamicsForm.paramForm.field.label')" >
19+ <template #default =" { row } " >
20+ <span class =" ellipsis-1" :title =" row.variable" >
21+ {{ row.variable }}
22+ </span >
23+ </template >
24+ </el-table-column >
25+ <el-table-column prop =" default_value" :label =" $t('dynamicsForm.default.label')" >
26+ <template #default =" { row } " >
27+ <span class =" ellipsis-1" :title =" row.default_value" >
28+ {{ row.default_value }}
29+ </span >
30+ </template >
31+ </el-table-column >
2032 <el-table-column :label =" $t('common.required')" >
2133 <template #default =" { row } " >
2234 <div @click.stop >
Original file line number Diff line number Diff line change 2222 <el-card
2323 v-resize =" (wh: any) => resizeCondition(wh, item, index)"
2424 shadow =" never"
25- class =" card-never mb-8"
25+ class =" drag-card card-never mb-8"
2626 :class =" { 'no-drag': index === form_data.branch.length - 1 }"
2727 style =" --el-card-padding : 12px "
2828 >
2929 <div class =" handle flex-between lighter" >
30- {{ item.type }}
30+ <span class =" flex align-center" >
31+ <img src =" @/assets/sort.svg" alt =" " height =" 15" class =" handle-img mr-4" />
32+ {{ item.type }}
33+ </span >
3134 <div class =" info" v-if =" item.conditions.length > 1" >
3235 <span >{{
3336 $t('views.applicationWorkflow.nodes.conditionNode.conditions.info')
@@ -337,4 +340,24 @@ onMounted(() => {
337340 set (props .nodeModel , ' validate' , validate )
338341})
339342 </script >
340- <style lang="scss" scoped></style >
343+ <style lang="scss" scoped>
344+ .drag-card.no-drag {
345+ .handle {
346+ .handle-img {
347+ display : none ;
348+ }
349+ }
350+ }
351+ .drag-card :not (.no-drag ) {
352+ .handle {
353+ .handle-img {
354+ display : none ;
355+ }
356+ & :hover {
357+ .handle-img {
358+ display : block ;
359+ }
360+ }
361+ }
362+ }
363+ </style >
Original file line number Diff line number Diff line change 88 @mouseenter =" showicon = true"
99 @mouseleave =" showicon = false"
1010 >
11- <span >{{ item.label }} {{ '{' + item.value + '}' }}</span >
11+ <span class = " break-all " >{{ item.label }} {{ '{' + item.value + '}' }}</span >
1212 <el-tooltip
1313 effect =" dark"
1414 :content =" $t('views.applicationWorkflow.setting.copyParam')"
You can’t perform that action at this time.
0 commit comments