{ "pssyspfpitemplname" : "界面行为插件/Vue R7(编译版)", "templcode" : " let curXData:any = xData;\n\t\t\txData = $event;\n $event = params;\n params = context;\n let context2: any = {};\n let data: any = {};\n const _args: any[] = this.$util.deepCopy(args);\n const _this: any = this;\n const actionTarget: string | null = 'SINGLEKEY';\n Object.assign(context2, { res_partner: '%id%' });\n Object.assign(params, { id: '%id%' });\n Object.assign(params, { name: '%name%' })\n context = UIActionTool.handleContextParam(actionTarget,_args,context2);\n data = UIActionTool.handleActionParam(actionTarget,_args,params);\n Object.assign(context,this.context,context);\n if(context && context.srfsessionid){\n context.srfsessionkey = context.srfsessionid;\n delete context.srfsessionid;\n }\n const parameters: any[] = [\n { pathName: 'res_partners', parameterName: 'res_partner' },\n ];\n const openDrawer = (view: any, data: any) => {\n let container: Subject<any> = this.$appdrawer.openDrawer(view, context,data);\n container.subscribe((result: any) => {\n if (!result || !Object.is(result.ret, 'OK')) {\n return;\n }\n const _this: any = this;\n if (curXData && curXData.refresh && curXData.refresh instanceof Function) {\n curXData.refresh(args);\n }\n return result.datas;\n });\n }\n const view: any = {\n viewname: '${srffilepath2(view.getCodeName())}-edit-mode', \n height: 0, \n width: 0, \n title: '${view.title}', \n placement: 'DRAWER_TOP',\n };\n openDrawer(view, data);", "pspfid" : "VUE_R7" }