[AppleScript] 纯文本查看 复制代码 MWF.Macro.scriptSpace["f_0"] = function(){try{
debugger;
if(this.session.user.identityList){
this.form.createDocument("固定资产", "固定资产", {"subject": "资产信息"}, this.session.user.identityList[0].distinguishedName, function(json){
this.form.notice("创建成功!", "success");
this.form.get("view").reload();
}.bind(this));
}else{
this.form.notice("当前登录人没有身份!", "error");
}
}catch(e){console.error(e)}}
还是提示没有身份···到底要怎么给身份啊?现在的身份是Manager。 |