WSID
This commit is contained in:
parent
4f4b7ec6c3
commit
4fa5b2df07
@ -2966,9 +2966,9 @@ public class CoEPALController {
|
||||
* @return
|
||||
*/
|
||||
@Mapping("com.actionsoft.apps.coe.pal_pl_repository_designer_relation_shape_createDialogModel")
|
||||
public String createDialogModel(UserContext me,String uuid,String methodId) {
|
||||
public String createDialogModel(UserContext me,String uuid,String methodId,String wsId) {
|
||||
CoeProcessLevelWeb web = new CoeProcessLevelWeb(me);
|
||||
return web.createDialogModel(uuid,methodId);
|
||||
return web.createDialogModel(uuid,methodId,wsId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -8274,7 +8274,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
* @return
|
||||
* by zhaolei
|
||||
*/
|
||||
public String createDialogModel(String uuid,String methodId){
|
||||
public String createDialogModel(String uuid,String methodId,String wsId){
|
||||
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
try {
|
||||
@ -8317,8 +8317,9 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
String plRid = UUIDGener.getUUID();
|
||||
String id = UUIDGener.getUUID();
|
||||
|
||||
|
||||
Timestamp nowTime = new Timestamp(System.currentTimeMillis());
|
||||
PALRepositoryModelImpl model = CoeProcessLevelUtil.createPALRepositoryModel(id, plRid, "6f4e292c-1b90-4dd2-8c20-7da159cb20a5", plname + titleName,
|
||||
PALRepositoryModelImpl model = CoeProcessLevelUtil.createPALRepositoryModel(id, plRid, wsId, plname + titleName,
|
||||
"", 1, parentId, category, true, 1,
|
||||
id, false, methodId, "0", 1, null,
|
||||
null, "admin", "admin", nowTime, null, uuid,
|
||||
@ -8354,7 +8355,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
/************************************************数据属性*********************************************************/
|
||||
|
||||
//图形的数据属性配置
|
||||
List<PALMethodAttributeModel> attributeModels = CoeDesignerShapeAPIManager.getInstance().getAllValidShapeAttributeModels("6f4e292c-1b90-4dd2-8c20-7da159cb20a5", model.getMethodId());
|
||||
List<PALMethodAttributeModel> attributeModels = CoeDesignerShapeAPIManager.getInstance().getAllValidShapeAttributeModels(wsId, model.getMethodId());
|
||||
for (PALMethodAttributeModel attributeModel : attributeModels) {
|
||||
|
||||
//todo:根据importProperty的类型获取具体保存数据值
|
||||
@ -8390,7 +8391,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
/************************************************文件属性*********************************************************/
|
||||
|
||||
//图形的数据属性配置
|
||||
List<PALMethodAttributeModel> attrLists=PALRepositoryAPIManager.getInstance().getValidAndUseAttributeModels("6f4e292c-1b90-4dd2-8c20-7da159cb20a5", methodId);
|
||||
List<PALMethodAttributeModel> attrLists=PALRepositoryAPIManager.getInstance().getValidAndUseAttributeModels(wsId, methodId);
|
||||
|
||||
|
||||
|
||||
|
||||
@ -967,7 +967,7 @@ function removeTr(obj) {
|
||||
|
||||
//打开对象关联Dialog
|
||||
function openRelationDialog(obj, callback) {
|
||||
debugger;
|
||||
;
|
||||
var title = obj.closest('tr').find('td:first').text();
|
||||
if (title == undefined || title == '') {
|
||||
title = '选择模型对象';
|
||||
@ -1020,7 +1020,8 @@ function openRelationDialog(obj, callback) {
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer_relation_shape_createDialogModel",
|
||||
data : {
|
||||
uuid:uuid,
|
||||
methodId:method
|
||||
methodId:method,
|
||||
wsId:$("#wsid").val()
|
||||
},
|
||||
success : function(msg) {
|
||||
if (msg.result == "ok") {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user