Commit 4e025f02 by Joey

feat(@gms/gms-plugin-billexpand): 页签标题支持配置

parent e8effeaf
...@@ -731,7 +731,13 @@ export default { ...@@ -731,7 +731,13 @@ export default {
"type": "field", "type": "field",
"title": "单据id", "title": "单据id",
"key": "billId" "key": "billId"
} },
{
"isRequired": true,
"type": "string",
"title": "页签名称",
"key": "displayName"
},
] ]
}, },
"description": "指定跳转页面,配置单据id,通过在当前页签打开形式进行跳转", "description": "指定跳转页面,配置单据id,通过在当前页签打开形式进行跳转",
...@@ -764,6 +770,12 @@ export default { ...@@ -764,6 +770,12 @@ export default {
"title": "隐藏工具栏", "title": "隐藏工具栏",
"key": "hideButton" "key": "hideButton"
}, },
{
"isRequired": true,
"type": "string",
"title": "页签名称",
"key": "displayName"
},
] ]
}, },
"description": "指定跳转页面,配置单据id和单据类型,通过在当前页签打开形式进行跳转", "description": "指定跳转页面,配置单据id和单据类型,通过在当前页签打开形式进行跳转",
...@@ -896,7 +908,13 @@ export default { ...@@ -896,7 +908,13 @@ export default {
"type": "metaData", "type": "metaData",
"title": "跳转页面", "title": "跳转页面",
"key": "viewName" "key": "viewName"
} },
{
"isRequired": true,
"type": "string",
"title": "页签名称",
"key": "displayName"
},
], ],
"paramHandler": "function (val){if(val && Object.prototype.toString.call(val) === '[object Array]'){return{'viewName':val[0]}}}" "paramHandler": "function (val){if(val && Object.prototype.toString.call(val) === '[object Array]'){return{'viewName':val[0]}}}"
}, },
...@@ -942,7 +960,13 @@ export default { ...@@ -942,7 +960,13 @@ export default {
"type": "field", "type": "field",
"title": "单据id", "title": "单据id",
"key": "billId" "key": "billId"
} },
{
"isRequired": true,
"type": "string",
"title": "页签名称",
"key": "displayName"
},
] ]
}, },
"description": "指定跳转页面,配置单据id,通过打开新页签形式进行跳转", "description": "指定跳转页面,配置单据id,通过打开新页签形式进行跳转",
...@@ -974,7 +998,13 @@ export default { ...@@ -974,7 +998,13 @@ export default {
"type": "field", "type": "field",
"title": "字段taskId", "title": "字段taskId",
"key": "taskId" "key": "taskId"
} },
{
"isRequired": true,
"type": "string",
"title": "页签名称",
"key": "displayName"
},
] ]
}, },
"description": "配置单据id和需审批的taskId,通过打开新页签形式进行跳转,该审批页面是列表唯一指定", "description": "配置单据id和需审批的taskId,通过打开新页签形式进行跳转,该审批页面是列表唯一指定",
......
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
}, },
{ {
openWay: "FUNCTAB", openWay: "FUNCTAB",
title: "创建单据", title: param.displayName || "创建单据",
} }
); );
}else{ }else{
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
}, },
{ {
openWay: "FUNCTAB", openWay: "FUNCTAB",
title: "编辑单据", title: param.displayName || "编辑单据",
} }
); );
} else { } else {
......
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
}, },
{ {
openWay: "FUNCTAB", openWay: "FUNCTAB",
title: "单据审批", title: param.displayName || "单据审批",
} }
); );
} else { } else {
......
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
}, },
{ {
openWay: "FUNCTAB", openWay: "FUNCTAB",
title: "单据详情", title: param.displayName || "单据详情",
} }
); );
} else { } else {
......
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
}, },
{ {
openWay: "FUNCTAB", openWay: "FUNCTAB",
title: "单据详情", title: param.displayName || "单据详情",
} }
); );
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment