Browse Source

弹出框默认名称

master
xiaxl 2 years ago
parent
commit
e5ad1f548f
2 changed files with 11 additions and 10 deletions
  1. +7
    -6
      smtweb-framework/bpm/src/main/resources/static/template/index.yaml
  2. +4
    -4
      smtweb-framework/bpm/src/main/resources/static/template/model_list_list.ftl

+ 7
- 6
smtweb-framework/bpm/src/main/resources/static/template/index.yaml View File

@@ -88,7 +88,7 @@ model:
type: 'list' type: 'list'
hasGroup: false hasGroup: false
- name: 'c2' - name: 'c2'
label: '列表'
label: '列表'
type: 'list' type: 'list'
hasGroup: false hasGroup: false
- name: 'c3' - name: 'c3'
@@ -96,7 +96,7 @@ model:
type: 'card' type: 'card'
hasGroup: false hasGroup: false
- name: 'c4' - name: 'c4'
label: '编辑卡片'
label: '编辑卡片'
type: 'card' type: 'card'
hasGroup: false hasGroup: false
# 变量 # 变量
@@ -121,23 +121,24 @@ model:
type: 'input' type: 'input'
label: '主卡片标题' label: '主卡片标题'
desc: '请选择主弹窗卡片标题' desc: '请选择主弹窗卡片标题'
is_isolation: 'true'
- -
name: 'listDs_assist' name: 'listDs_assist'
type: 'ds' type: 'ds'
label: '列表数据集'
label: '列表数据集'
desc: '请选择附列表数据集' desc: '请选择附列表数据集'
- -
name: 'editDs_assist' name: 'editDs_assist'
type: 'ds' type: 'ds'
label: '卡片数据集'
label: '卡片数据集'
desc: '请选择弹窗附列表卡片数据集' desc: '请选择弹窗附列表卡片数据集'
- -
name: 'assist_col' name: 'assist_col'
type: 'number' type: 'number'
label: '卡片列数'
label: '卡片列数'
desc: '请选择弹窗附列表卡片列数(1或2)' desc: '请选择弹窗附列表卡片列数(1或2)'
- -
name: 'editDs_assist_title' name: 'editDs_assist_title'
type: 'input' type: 'input'
label: '卡片标题'
label: '卡片标题'
desc: '请选择附弹窗卡片标题' desc: '请选择附弹窗卡片标题'

+ 4
- 4
smtweb-framework/bpm/src/main/resources/static/template/model_list_list.ftl View File

@@ -486,8 +486,8 @@
"id": "id${newId()}", "id": "id${newId()}",
"type": "fx-dialog", "type": "fx-dialog",
"props": { "props": {
<#if (assist_dialog.label == "")>
"title": "卡片",
<#if (param.editDs_assist_title == "")>
"title": "卡片",
<#else> <#else>
"title": "${param.editDs_assist_title}", "title": "${param.editDs_assist_title}",
</#if> </#if>
@@ -595,8 +595,8 @@
"id": "id${newId()}", "id": "id${newId()}",
"type": "fx-dialog", "type": "fx-dialog",
"props": { "props": {
<#if (main_dialog.label == "")>
"title": "卡片",
<#if (param.editDs_main_title == "")>
"title": "卡片",
<#else> <#else>
"title": "${param.editDs_main_title}", "title": "${param.editDs_main_title}",
</#if> </#if>


Loading…
Cancel
Save