apps/com.awspaas.user.apps.app20221008163300/repository/dw/_obj_b5f395389a354557ac73e2eef0315533/obj_b5f395389a354557ac73e2eef0315533.xml
2023-05-06 16:41:58 +08:00

116 lines
26 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AWSDWModel>
<id>obj_b5f395389a354557ac73e2eef0315533</id>
<createUser>admin</createUser>
<createTime>2022-10-09 13:02:48</createTime>
<updateUser>admin</updateUser>
<updateTime>2022-11-10 17:35:01</updateTime>
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGrIgo8tLWQCPm97EdrT7DBipMg+PeFe6Ga/DwptVFEiKCRO9YVa0ltwvAM5UxoarMc</signature>
<managed>false</managed>
<version>1.0</version>
<processGroupId>obj_b5f395389a354557ac73e2eef0315533</processGroupId>
<processGroupName></processGroupName>
<categoryName>文件处理</categoryName>
<dwType>1</dwType>
<processAdministrator>admin</processAdministrator>
<title id="obj_42ff3fd71fdd42e08b418e974147a13c" label="文件状态批量修改" extendcode="" event=""/>
<dataView id="obj_770010ea990748c98b264314a592ace8" label="首页" showType="link" orderIndex="0" dwReportType="-1" isDefault="false" category="普通视图" implClassName="com.actionsoft.bpms.dw.design.dataview.CommonDataView" security="" event="" url="" userExtendJs="" show="true">
<showHighSecurity>false</showHighSecurity>
<dataParams></dataParams>
<layoutECategoryType></layoutECategoryType>
<layoutECategoryTypeLast></layoutECategoryTypeLast>
<afterLoadEventCall></afterLoadEventCall>
<afterLoadEventScript></afterLoadEventScript>
<toolbar id="obj_3cc3bcf9a7a148b0a000442d1a302639" isshow="true" extendcode="" event="">
<button id="obj_af2a3e3a18ac4abda236c1789f62d6d9" refbuttonid="save" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="0" mobileShow="false" event="" selectShow="false"/>
<button id="obj_bc9653482218466dbafb8bbadffa159c" refbuttonid="new" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="1" mobileShow="false" event="" selectShow="false"/>
<button id="obj_d1ce8cb94cc948f083f50043dcb0fde6" refbuttonid="delete" cls="" fontColor="" bgColor="" security="" isshow="false" orderindex="2" mobileShow="false" event="" selectShow="true"/>
<button id="obj_07c4c238a12d453498e856035d9643b3" refbuttonid="refresh" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="3" mobileShow="false" event="" selectShow="false"/>
<button id="obj_ba2f0a30d5be4c9f9827b566b255ba37" refbuttonid="obj_3fa876e649524e29981e39194a49df46" cls="" fontColor="" bgColor="#d9d9d9" security="" isshow="true" orderindex="4" mobileShow="false" event="" selectShow="false"/>
<button id="obj_d1176f7720d64c8ba7b278be0150d631" refbuttonid="obj_1a3ca2ee7799444c8eb40c63f2db4310" cls="" fontColor="" bgColor="#b5c3d2" security="" isshow="true" orderindex="5" mobileShow="false" event="" selectShow="false"/>
<button id="obj_c8222f8362ff4da09d714f69f5f13bab" refbuttonid="obj_01673e8348c748f9bb61d274cbc4cd79" cls="" fontColor="" bgColor="#b3d0d7" security="" isshow="true" orderindex="6" mobileShow="true" event="" selectShow="false"/>
<button id="obj_6c5791418fb849c7868c4a07912f1a52" refbuttonid="obj_5ab67f3e20304148926ded24cf1f91cb" cls="" fontColor="" bgColor="#b5c3d2" security="" isshow="true" orderindex="7" mobileShow="false" event="" selectShow="false"/>
<button id="obj_e7ad0ce3b3914ccf8792c57d00af2701" refbuttonid="obj_3a98ad935c8744f48d2fb9e79c1cc85e" cls="" fontColor="" bgColor="#c6d9f0" security="" isshow="true" orderindex="8" mobileShow="false" event="" selectShow="false"/>
<button id="obj_2a035cd067374865b617918f69dce7d9" refbuttonid="print" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="9" mobileShow="false" event="" selectShow="false"/>
<button id="obj_8e3f6e1317ae4f1189db13d4a6c25477" refbuttonid="exportDWData" cls="" fontColor="" bgColor="" security="" isshow="false" orderindex="10" mobileShow="false" event="" selectShow="false"/>
</toolbar>
<searcher id="obj_123f7e6eb6ee462b92b3c4f82c0188c4" isshow="true" layoutType="tile" tdGroup="4" tileLayout="x" textCls="" dwLeftCls="" dwRightCls="" extendcode="" event="" xconditionEvent="" tileOpen="true">
<likecondition id="obj_22ab80ecb4384c93a882c7a27368ddb0" field="PLNAME" extend1="" label="文件名称" comparetype="like" uiname="TEXT" relationship="" uidefault="" uicomponent="文本" uiref="" required="false" security="" orderindex="0" event=""/>
<likecondition id="obj_9f3d90728d564df8ae5581d57867aafd" field="PLMETHODID" extend1="" label="文件类型" comparetype="=" uiname="TEXT" relationship="AND" uidefault="" uicomponent="列表" uiref="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;process.epc:epc模型|process.flowchart:泳道图模型|control.policy:制度模型|data.form:表单模型|process.evc:架构模型|org.role:角色模型|control.kpi:绩效模型&quot;,&quot;showAdv&quot;:false}" required="false" security="" orderindex="1" event=""/>
<likecondition id="obj_33a60133c8da48ee95081c13c741c4d5" field="ISPUBLISH" extend1="" label="发布状态" comparetype="=" uiname="NUMBER" relationship="" uidefault="" uicomponent="列表" uiref="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;0:未发布|1:已发布&quot;,&quot;showAdv&quot;:false}" required="false" security="" orderindex="2" event=""/>
<likecondition id="obj_96ca23aaeeb0461ab64e0b6eb2580a1f" field="ISAPPROVAL" extend1="" label="审批状态" comparetype="=" uiname="NUMBER" relationship="" uidefault="" uicomponent="列表" uiref="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;0:设计中|1:审批中&quot;,&quot;showAdv&quot;:false}" required="false" security="" orderindex="3" event=""/>
<likecondition id="obj_af20255b921145c595e774928cddd8cd" field="ISSTOP" extend1="" label="停用状态" comparetype="=" uiname="NUMBER" relationship="" uidefault="" uicomponent="列表" uiref="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;0:在用|1:停用&quot;,&quot;showAdv&quot;:false}" required="false" security="" orderindex="4" event=""/>
</searcher>
<navTree id="obj_81f18c49af8a4cdc80a535cb5de7fa3a" isshow="false" type="" rootcls="" leafcls="" ismultiple="false" isexpanded="true" orderindex="" event=""/>
<layout id="obj_b35a8081fdd349e382eeb5c73885b3b6" label="" classname="com.actionsoft.bpms.dw.exec.layout.LayoutA" event=""/>
<datagrid id="obj_4878ff4edeeb45b081cd9e6fe23e10e0" isshow="true" autoSearch="true" customSet="true" select="false" datasource="sql:SELECT * FROM app_act_coe_pal_repository where PLMETHODID in ('org.role','data.form','process.flowchart','process.epc','control.policy','process.evc','control.kpi')" countSql="" pagesize="100" event="" rowDefHeight="25" showCheckBox="true" ismultiple="false" isshownumbercol="true" numberCellTotal="false" shownumbercolwidth="40px" freezeCols="0" wrap="false" nowrapTitle="false" refbehaviorid="|_title{}title_||||" behaviortarget="" behaviorConfig="%7B%22behavior%22%3A%22%u6253%u5F00%u6A21%u578B%22%2C%22behaviorMobile%22%3A%22%22%2C%22h%22%3A%22%22%2C%22hUnit%22%3A%22px%22%2C%22ih%22%3A%22%22%2C%22ihUnit%22%3A%22px%22%2C%22isMask%22%3A0%2C%22sw%22%3A%22%22%2C%22swUnit%22%3A%22px%22%2C%22target%22%3A%22%22%2C%22title%22%3A%22%22%2C%22wUnit%22%3A%22px%22%2C%22w%22%3A%22%22%7D" extendsql="" identifier="ID" extend1="" multiHeader="">
<dataBaseConn></dataBaseConn>
<freezeField></freezeField>
<column id="ebd68e1e-4b9a-44c7-9b1c-3d374947c392" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="295" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="128" required="0" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="PLNAME" label="文件名称" orderindex="0" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="obj_bd52e5012341419f82151d1f54c9357c" columnAction="" datatype="TEXT" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="18cc2cff-408c-4fda-98b2-125186303631" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="99" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="8" required="0" align="center" showrule="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;1:V1.0|2:V2.0|3:V3.0|4:V4.0|5:V5.0|6:V6.0|7:V7.0|8:V8.0&quot;,&quot;showAdv&quot;:false}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="PLVER" label="文件版本" orderindex="1" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="NUMBER" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="26dabc03-352f-45ce-a5de-c6d5e3538540" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="80" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="3" required="0" align="right" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="PLLEVEL" label="PLLEVEL" orderindex="2" colbehaviortarget="" ishidden="true" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="NUMBER" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="78cbf7ae-b391-46a5-a5c1-d99c909d4ec2" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="88" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="2" required="0" align="center" showrule="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;1:是|0:否&quot;,&quot;showAdv&quot;:false}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="ISUSE" label="是否在用" orderindex="3" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="NUMBER" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="0f579fcb-cd8f-4c02-89ba-6a88b28254e9" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="139" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="2" required="0" align="center" showrule="{&quot;showAdv&quot;:false,&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;0:未发布|1:已发布&quot;,&quot;rainbowTab&quot;:{&quot;0&quot;:&quot;#ffe9c4&quot;,&quot;1&quot;:&quot;#d1e8ff&quot;}}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="ISPUBLISH" label="发布状态" orderindex="4" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="NUMBER" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="004ba583-011c-4fa7-8df0-821d1233a3b9" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="80" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="2" required="0" align="center" showrule="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;0:设计中|1:审批中&quot;,&quot;showAdv&quot;:false}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="ISAPPROVAL" label="审批状态" orderindex="5" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="NUMBER" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="03bcea60-9150-4c8a-9d50-d8d0a62fd5ad" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="105" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="2" required="0" align="center" showrule="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;0:在用|1:停用&quot;,&quot;showAdv&quot;:false}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="ISSTOP" label="停用状态" orderindex="6" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="NUMBER" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="b89af774-7237-43f1-b765-a2b613854f8c" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="133" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="36" required="0" align="center" showrule="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;control.policy:制度文件|process.flowchart:泳道图模型|data.form:表单模型|process.epc:epc模型|process.evc:架构模型|org.role:角色模型|control.kpi:绩效模型&quot;,&quot;showAdv&quot;:false,&quot;rainbowTab&quot;:{&quot;data.form&quot;:&quot;#d1e8ff&quot;,&quot;process.epc&quot;:&quot;#ffe9c4&quot;}}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="PLMETHODID" label="文件类型" orderindex="7" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="f822b6f3-88ae-407a-a39a-0014fa8d1176" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="288" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="36" required="0" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="ID" label="文件ID" orderindex="8" colbehaviortarget="" ishidden="true" export="true" backHide="false" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="6694cdba-bbd4-44ec-8d6c-987748b93efc" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="167" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="7" required="0" align="center" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="CREATEDATE" label="模型创建日期" orderindex="9" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="DATE" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<column id="ade57fa9-0806-4e58-b9da-3fb063f0320f" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="160" colALias="" colTableAlias="" colTable="APP_ACT_COE_PAL_REPOSITORY" length="7" required="0" align="center" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="PUBLISHDATE" label="发布日期" orderindex="10" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="DATE" handleType="0" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<dynamicRule></dynamicRule>
</datagrid>
<reportSetting></reportSetting>
<chartSetting></chartSetting>
</dataView>
<userextendbuttons>
<userextendbutton id="obj_3fa876e649524e29981e39194a49df46" icon="" label="改为设计态" tip="">
<eventcall></eventcall>
<eventscript>var%20data%20%3D%20eventContext.DWApi.grid.getCheckedData%28%29%3B%0Aif%28data%5B0%5D%3D%3Dnull%7C%7Cdata.length%3E1%29%7B%0A%20%20eventContext.instance.%24message%28%7B%0A%20%20type%3A%22error%22%2C%0A%20%20message%3A%22%u8BF7%u9009%u62E9%u5355%u6761%u6570%u636E%uFF01%22%0A%7D%29%3B%0A%7Delse%7B%0A%20testCall%28%29%3B%0A%7D%0A%0Afunction%20testCall%28%29%20%7B%0A%09var%20plId%20%3D%20data%5B0%5D.ID%3B%0A%09var%20sid%20%3D%20eventContext.DWApi.grid.sid%3B%0A%09eventContext.instance.awsuiaxios.post%28%7B%0A%09%09%09url%3A%20%22./jd%22%2C%0A%09%09%09data%3A%20%7B%0A%09%09%09%09cmd%3A%20%22com.awspaas.user.apps.app.controller.updatePalFileState%22%2C%0A%09%09%09%09sid%3A%20sid%2C%0A%09%09%09%09plId%3A%20plId%2C%0A%09%09%09%09state%3A%20%220%22%2C%0A%09%09%09%09type%3A%20%221%22%0A%09%09%09%09//%20bindId%3A%20%20eventContext.row._BINDID%2C%0A%09%09%09%09//APPLYNO%3A%20JSON.stringify%28result%29%0A%09%09%09%09//title%20%3A%20eventContext.row.FILENAME%0A%09%09%09%7D%0A%09%09%7D%29%0A%09%09.then%28function%28response%29%20%7B%0A%09%09%09if%20%28response.result%20%21%3D%20%22error%22%29%20%7B%0A%09%09%09%09if%20%28response.result%20%3D%3D%20%22ok%22%29%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22success%22%2C%0A%09%09%09%09%09%09message%3A%20%22%u6587%u4EF6%u5DF2%u6539%u4E3A%u8BBE%u8BA1%u72B6%u6001%uFF01%22%0A%09%09%09%09%09%7D%29%3B%0A%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22warning%22%2C%0A%09%09%09%09%09%09message%3A%20response.result%0A%09%09%09%09%09%7D%29%3B%0A%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%0A%09%09%7D%29%0A%09%09.catch%28function%28response%29%20%7B%0A%09%09%09console.log%28response%29%3B%0A%09%09%7D%29%3B%0A%0A%7D%0A%0A%0A%0A%0A%0A</eventscript>
<beforeeventcall></beforeeventcall>
<beforeeventscript></beforeeventscript>
<aftereventcall></aftereventcall>
<aftereventscript></aftereventscript>
</userextendbutton>
<userextendbutton id="obj_1a3ca2ee7799444c8eb40c63f2db4310" icon="" label="改为发布态" tip="">
<eventcall></eventcall>
<eventscript>var%20data%20%3D%20eventContext.DWApi.grid.getCheckedData%28%29%3B%0Aif%28data%5B0%5D%3D%3Dnull%7C%7Cdata.length%3E1%29%7B%0A%20%20eventContext.instance.%24message%28%7B%0A%20%20type%3A%22error%22%2C%0A%20%20message%3A%22%u8BF7%u9009%u62E9%u5355%u6761%u6570%u636E%uFF01%22%0A%7D%29%3B%0A%7Delse%7B%0A%20testCall%28%29%3B%0A%7D%0A%0Afunction%20testCall%28%29%20%7B%0A%09var%20plId%20%3D%20data%5B0%5D.ID%3B%0A%09var%20sid%20%3D%20eventContext.DWApi.grid.sid%3B%0A%09eventContext.instance.awsuiaxios.post%28%7B%0A%09%09%09url%3A%20%22./jd%22%2C%0A%09%09%09data%3A%20%7B%0A%09%09%09%09cmd%3A%20%22com.awspaas.user.apps.app.controller.updatePalFileState%22%2C%0A%09%09%09%09sid%3A%20sid%2C%0A%09%09%09%09plId%3A%20plId%2C%0A%09%09%09%09state%3A%20%221%22%2C%0A%09%09%09%09type%3A%20%221%22%0A%09%09%09%09//%20bindId%3A%20%20eventContext.row._BINDID%2C%0A%09%09%09%09//APPLYNO%3A%20JSON.stringify%28result%29%0A%09%09%09%09//title%20%3A%20eventContext.row.FILENAME%0A%09%09%09%7D%0A%09%09%7D%29%0A%09%09.then%28function%28response%29%20%7B%0A%09%09%09if%20%28response.result%20%21%3D%20%22error%22%29%20%7B%0A%09%09%09%09if%20%28response.result%20%3D%3D%20%22ok%22%29%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22success%22%2C%0A%09%09%09%09%09%09message%3A%20%22%u6587%u4EF6%u5DF2%u6539%u4E3A%u53D1%u5E03%u72B6%u6001%uFF01%22%0A%09%09%09%09%09%7D%29%3B%0A%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22warning%22%2C%0A%09%09%09%09%09%09message%3A%20response.result%0A%09%09%09%09%09%7D%29%3B%0A%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%0A%09%09%7D%29%0A%09%09.catch%28function%28response%29%20%7B%0A%09%09%09console.log%28response%29%3B%0A%09%09%7D%29%3B%0A%0A%7D%0A%0A%0A%0A%0A%0A</eventscript>
<beforeeventcall></beforeeventcall>
<beforeeventscript></beforeeventscript>
<aftereventcall></aftereventcall>
<aftereventscript></aftereventscript>
</userextendbutton>
<userextendbutton id="obj_01673e8348c748f9bb61d274cbc4cd79" icon="" label="审批改为设计" tip="">
<eventcall></eventcall>
<eventscript>var%20data%20%3D%20eventContext.DWApi.grid.getCheckedData%28%29%3B%0Aif%28data%5B0%5D%3D%3Dnull%7C%7Cdata.length%3E1%29%7B%0A%20%20eventContext.instance.%24message%28%7B%0A%20%20type%3A%22error%22%2C%0A%20%20message%3A%22%u8BF7%u9009%u62E9%u5355%u6761%u6570%u636E%uFF01%22%0A%7D%29%3B%0A%7Delse%7B%0A%20testCall%28%29%3B%0A%7D%0A%0Afunction%20testCall%28%29%20%7B%0A%09var%20plId%20%3D%20data%5B0%5D.ID%3B%0A%09var%20sid%20%3D%20eventContext.DWApi.grid.sid%3B%0A%09eventContext.instance.awsuiaxios.post%28%7B%0A%09%09%09url%3A%20%22./jd%22%2C%0A%09%09%09data%3A%20%7B%0A%09%09%09%09cmd%3A%20%22com.awspaas.user.apps.app.controller.updatePalFileState%22%2C%0A%09%09%09%09sid%3A%20sid%2C%0A%09%09%09%09plId%3A%20plId%2C%0A%09%09%09%09state%3A%20%220%22%2C%0A%09%09%09%09type%3A%20%222%22%0A%09%09%09%09//%20bindId%3A%20%20eventContext.row._BINDID%2C%0A%09%09%09%09//APPLYNO%3A%20JSON.stringify%28result%29%0A%09%09%09%09//title%20%3A%20eventContext.row.FILENAME%0A%09%09%09%7D%0A%09%09%7D%29%0A%09%09.then%28function%28response%29%20%7B%0A%09%09%09if%20%28response.result%20%21%3D%20%22error%22%29%20%7B%0A%09%09%09%09if%20%28response.result%20%3D%3D%20%22ok%22%29%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22success%22%2C%0A%09%09%09%09%09%09message%3A%20%22%u6587%u4EF6%u5DF2%u6539%u4E3A%u8BBE%u8BA1%u72B6%u6001%uFF01%22%0A%09%09%09%09%09%7D%29%3B%0A%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22warning%22%2C%0A%09%09%09%09%09%09message%3A%20response.result%0A%09%09%09%09%09%7D%29%3B%0A%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%0A%09%09%7D%29%0A%09%09.catch%28function%28response%29%20%7B%0A%09%09%09console.log%28response%29%3B%0A%09%09%7D%29%3B%0A%0A%7D%0A%0A%0A%0A%0A%0A</eventscript>
<beforeeventcall></beforeeventcall>
<beforeeventscript></beforeeventscript>
<aftereventcall></aftereventcall>
<aftereventscript></aftereventscript>
</userextendbutton>
<userextendbutton id="obj_3a98ad935c8744f48d2fb9e79c1cc85e" icon="" label="查看模型" tip="">
<eventcall></eventcall>
<eventscript>var%20data%20%3D%20eventContext.DWApi.grid.getCheckedData%28%29%3B%0Aconst%20sid%20%3D%20eventContext.DWApi.sid%3B%0Avar%20palId%20%3D%20data%5B0%5D.ID%3B%0Awindow.open%28%27https%3A//bpm.yili.com%3A8088/portal/r/w%3Fuuid%3D%27+palId+%27%26teamId%3D%26cmd%3Dcom.actionsoft.apps.coe.pal_pl_repository_designer%26sid%3D%27+sid%29</eventscript>
<beforeeventcall></beforeeventcall>
<beforeeventscript></beforeeventscript>
<aftereventcall></aftereventcall>
<aftereventscript></aftereventscript>
</userextendbutton>
<userextendbutton id="obj_5ab67f3e20304148926ded24cf1f91cb" icon="" label="设计改为审批" tip="">
<eventcall></eventcall>
<eventscript>var%20data%20%3D%20eventContext.DWApi.grid.getCheckedData%28%29%3B%0Aif%28data%5B0%5D%3D%3Dnull%7C%7Cdata.length%3E1%29%7B%0A%20%20eventContext.instance.%24message%28%7B%0A%20%20type%3A%22error%22%2C%0A%20%20message%3A%22%u8BF7%u9009%u62E9%u5355%u6761%u6570%u636E%uFF01%22%0A%7D%29%3B%0A%7Delse%7B%0A%20testCall%28%29%3B%0A%7D%0A%0Afunction%20testCall%28%29%20%7B%0A%09var%20plId%20%3D%20data%5B0%5D.ID%3B%0A%09var%20sid%20%3D%20eventContext.DWApi.grid.sid%3B%0A%09eventContext.instance.awsuiaxios.post%28%7B%0A%09%09%09url%3A%20%22./jd%22%2C%0A%09%09%09data%3A%20%7B%0A%09%09%09%09cmd%3A%20%22com.awspaas.user.apps.app.controller.updatePalFileState%22%2C%0A%09%09%09%09sid%3A%20sid%2C%0A%09%09%09%09plId%3A%20plId%2C%0A%09%09%09%09state%3A%20%221%22%2C%0A%09%09%09%09type%3A%20%222%22%0A%09%09%09%09//%20bindId%3A%20%20eventContext.row._BINDID%2C%0A%09%09%09%09//APPLYNO%3A%20JSON.stringify%28result%29%0A%09%09%09%09//title%20%3A%20eventContext.row.FILENAME%0A%09%09%09%7D%0A%09%09%7D%29%0A%09%09.then%28function%28response%29%20%7B%0A%09%09%09if%20%28response.result%20%21%3D%20%22error%22%29%20%7B%0A%09%09%09%09if%20%28response.result%20%3D%3D%20%22ok%22%29%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22success%22%2C%0A%09%09%09%09%09%09message%3A%20%22%u6587%u4EF6%u5DF2%u6539%u4E3A%u5BA1%u6279%u4E2D%uFF01%22%0A%09%09%09%09%09%7D%29%3B%0A%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09eventContext.instance.%24message%28%7B%0A%09%09%09%09%09%09type%3A%20%22warning%22%2C%0A%09%09%09%09%09%09message%3A%20response.result%0A%09%09%09%09%09%7D%29%3B%0A%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%0A%09%09%7D%29%0A%09%09.catch%28function%28response%29%20%7B%0A%09%09%09console.log%28response%29%3B%0A%09%09%7D%29%3B%0A%0A%7D%0A%0A%0A%0A%0A%0A</eventscript>
<beforeeventcall></beforeeventcall>
<beforeeventscript></beforeeventscript>
<aftereventcall></aftereventcall>
<aftereventscript></aftereventscript>
</userextendbutton>
</userextendbuttons>
<userextendbehaviors>
<userextendbehavior id="obj_bd52e5012341419f82151d1f54c9357c" name="打开模型">
<templatecall>onclick%3D</templatecall>
<templatescript>var%20data%20%3D%20eventContext.DWApi.grid.getCheckedData%28%29%3B%0Aconst%20sid%20%3D%20eventContext.DWApi.sid%3B%0Avar%20palId%20%3D%20data%5B0%5D.ID%3B%0Awindow.open%28%27https%3A//bpm.yili.com%3A8088/portal/r/w%3Fuuid%3D%27+palId+%27%26teamId%3D%26cmd%3Dcom.actionsoft.apps.coe.pal_pl_repository_designer%26sid%3D%27+sid%29</templatescript>
</userextendbehavior>
</userextendbehaviors>
<iconFontCode></iconFontCode>
<iconFontColor></iconFontColor>
</AWSDWModel>