建模导引功能
This commit is contained in:
parent
99c43f7571
commit
64792581d0
@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<boModel>
|
||||
<id>96e935b1-0c70-47a3-8dbf-b3745569da1a</id>
|
||||
<createUser>admin</createUser>
|
||||
<createTime>2023-06-09 18:34:25</createTime>
|
||||
<updateUser>admin</updateUser>
|
||||
<updateTime>2023-06-14 17:22:15</updateTime>
|
||||
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGrrMQnexzcl6CxfJE6ovERtQKwZhm7WRQ+MjFcOQROC/JnMGBoVrNr/nfsXV1uTYPG</signature>
|
||||
<managed>false</managed>
|
||||
<title>建模导引配置</title>
|
||||
<name>BO_ACT_PAL_MODELING_GUIDANCE</name>
|
||||
<collection>false</collection>
|
||||
<system>false</system>
|
||||
<deleted>false</deleted>
|
||||
<categoryName>发布流程</categoryName>
|
||||
<administrator>admin</administrator>
|
||||
<entityType>TABLE</entityType>
|
||||
<viewType></viewType>
|
||||
<viewSql></viewSql>
|
||||
<securityLevel>0</securityLevel>
|
||||
<target>_local</target>
|
||||
<itemProps></itemProps>
|
||||
<boItems>
|
||||
<boItem>
|
||||
<id>f12c09be-4789-4bb8-991f-3b26a41ad958</id>
|
||||
<name>STEP</name>
|
||||
<title>步骤</title>
|
||||
<columnType>TEXT</columnType>
|
||||
<length>64</length>
|
||||
<nullable>false</nullable>
|
||||
<defaultValue></defaultValue>
|
||||
<columnWidth>100</columnWidth>
|
||||
<componentId>AWSUI.ComboBox</componentId>
|
||||
<componentSetting>{"placeholder":"","boItemId":"96e935b1-0c70-47a3-8dbf-b3745569da1a","isAdvance":false,"dataType":"sampleText","data":"0:第1步|1:第2步|2:第3步|3:第4步|4:第5步|5:第6步|6:第7步","mode":"common","exportDataValidity":true,"setunival":true,"boUrlFormData":{"hrefSelVal":"nothing"}}</componentSetting>
|
||||
<display>true</display>
|
||||
<deleted>false</deleted>
|
||||
<modify>true</modify>
|
||||
<componentExtendCode></componentExtendCode>
|
||||
<persistenceType>ENTITY</persistenceType>
|
||||
<validateType></validateType>
|
||||
<validateRule></validateRule>
|
||||
<validateTip></validateTip>
|
||||
<validateErr>0</validateErr>
|
||||
<tooltip></tooltip>
|
||||
<copy>false</copy>
|
||||
<displayRule></displayRule>
|
||||
<calcFormula></calcFormula>
|
||||
<propsVal>{}</propsVal>
|
||||
</boItem>
|
||||
<boItem>
|
||||
<id>7606a3c9-06be-4624-815d-af53947e9ef1</id>
|
||||
<name>MODELTYPE</name>
|
||||
<title>模型类型</title>
|
||||
<columnType>TEXT</columnType>
|
||||
<length>64</length>
|
||||
<nullable>false</nullable>
|
||||
<defaultValue></defaultValue>
|
||||
<columnWidth>60</columnWidth>
|
||||
<componentId>AWSUI.ComboBox</componentId>
|
||||
<componentSetting>{"placeholder":"","boItemId":"96e935b1-0c70-47a3-8dbf-b3745569da1a","isAdvance":false,"dataType":"sampleText","data":"process.epc:EPC|process.flowchart:泳道图|control.policy:制度图|data.form:表单图|","mode":"common","exportDataValidity":true,"setunival":true,"boUrlFormData":{"hrefSelVal":"nothing"}}</componentSetting>
|
||||
<display>true</display>
|
||||
<deleted>false</deleted>
|
||||
<modify>true</modify>
|
||||
<componentExtendCode></componentExtendCode>
|
||||
<persistenceType>ENTITY</persistenceType>
|
||||
<validateType></validateType>
|
||||
<validateRule></validateRule>
|
||||
<validateTip></validateTip>
|
||||
<validateErr>0</validateErr>
|
||||
<tooltip></tooltip>
|
||||
<copy>false</copy>
|
||||
<displayRule></displayRule>
|
||||
<calcFormula></calcFormula>
|
||||
<propsVal>{}</propsVal>
|
||||
</boItem>
|
||||
<boItem>
|
||||
<id>6dd4ce3c-742d-4629-9975-f945ebfd28ad</id>
|
||||
<name>CONTENT</name>
|
||||
<title>导引内容</title>
|
||||
<columnType>BIGTEXT</columnType>
|
||||
<length>2000</length>
|
||||
<nullable>false</nullable>
|
||||
<defaultValue></defaultValue>
|
||||
<columnWidth>100</columnWidth>
|
||||
<componentId>AWSUI.File</componentId>
|
||||
<componentSetting>{"isEncrypt":true,"manualSort":false,"fileCount":"0","fileClassificationList":"","fileWatermark":"","fileWatermarkFont":"","fileWatermarkFontColor":"","sortField":"CREATEDATE","sortType":"asc","compressFlag":"","waterMarkFlag":"","waterMarkPosition":"","waterMarkFontColor":"","waterMarkFontSize":30,"fileMaxSize":"199","uploadField":"上传人|CREATEUSER||false,上传时间|CREATEDATE||false,大小|FILESIZE||false,授权|AUTHORIZATION||false,预览|PREVIEW||false","anyFile":true,"uiSetting":{"anyFileExtList":""},"canPreviewOfficeFlag":"0"}</componentSetting>
|
||||
<display>true</display>
|
||||
<deleted>false</deleted>
|
||||
<modify>true</modify>
|
||||
<componentExtendCode></componentExtendCode>
|
||||
<persistenceType>ENTITY</persistenceType>
|
||||
<validateType></validateType>
|
||||
<validateRule></validateRule>
|
||||
<validateTip></validateTip>
|
||||
<validateErr>0</validateErr>
|
||||
<tooltip>1.视频支持mp4格式
|
||||
2.图片支持png,gif,jpg格式</tooltip>
|
||||
<copy>false</copy>
|
||||
<displayRule></displayRule>
|
||||
<calcFormula></calcFormula>
|
||||
<propsVal>{}</propsVal>
|
||||
</boItem>
|
||||
<boItem>
|
||||
<id>353c50c6-9996-443d-9cc0-75f676147b81</id>
|
||||
<name>TITLE</name>
|
||||
<title>标题</title>
|
||||
<columnType>TEXT</columnType>
|
||||
<length>64</length>
|
||||
<nullable>false</nullable>
|
||||
<defaultValue></defaultValue>
|
||||
<columnWidth>60</columnWidth>
|
||||
<componentId>AWSUI.Text</componentId>
|
||||
<componentSetting>{"search":"0"}</componentSetting>
|
||||
<display>true</display>
|
||||
<deleted>false</deleted>
|
||||
<modify>true</modify>
|
||||
<componentExtendCode></componentExtendCode>
|
||||
<persistenceType>ENTITY</persistenceType>
|
||||
<validateType></validateType>
|
||||
<validateRule></validateRule>
|
||||
<validateTip></validateTip>
|
||||
<validateErr>0</validateErr>
|
||||
<tooltip></tooltip>
|
||||
<copy>false</copy>
|
||||
<displayRule></displayRule>
|
||||
<calcFormula></calcFormula>
|
||||
<propsVal>{}</propsVal>
|
||||
</boItem>
|
||||
<boItem>
|
||||
<id>082b0dde-e7cb-4d6a-8f3f-f8fc61f73d72</id>
|
||||
<name>POSITION</name>
|
||||
<title>位置</title>
|
||||
<columnType>TEXT</columnType>
|
||||
<length>32</length>
|
||||
<nullable>false</nullable>
|
||||
<defaultValue></defaultValue>
|
||||
<columnWidth>60</columnWidth>
|
||||
<componentId>AWSUI.ComboBox</componentId>
|
||||
<componentSetting>{"placeholder":"","boItemId":"96e935b1-0c70-47a3-8dbf-b3745569da1a","isAdvance":false,"dataType":"sampleText","data":"left:左|right:右|top:上|bottom:下","mode":"common","exportDataValidity":true,"setunival":true,"boUrlFormData":{"hrefSelVal":"nothing"}}</componentSetting>
|
||||
<display>true</display>
|
||||
<deleted>false</deleted>
|
||||
<modify>true</modify>
|
||||
<componentExtendCode></componentExtendCode>
|
||||
<persistenceType>ENTITY</persistenceType>
|
||||
<validateType></validateType>
|
||||
<validateRule></validateRule>
|
||||
<validateTip></validateTip>
|
||||
<validateErr>0</validateErr>
|
||||
<tooltip></tooltip>
|
||||
<copy>false</copy>
|
||||
<displayRule></displayRule>
|
||||
<calcFormula></calcFormula>
|
||||
<propsVal>{}</propsVal>
|
||||
</boItem>
|
||||
<boItem>
|
||||
<id>20e03d57-7919-4d1b-8c55-326be89637d5</id>
|
||||
<name>GUIDETARGET</name>
|
||||
<title>导引作用对象</title>
|
||||
<columnType>TEXT</columnType>
|
||||
<length>32</length>
|
||||
<nullable>false</nullable>
|
||||
<defaultValue></defaultValue>
|
||||
<columnWidth>60</columnWidth>
|
||||
<componentId>AWSUI.Text</componentId>
|
||||
<componentSetting>{"search":"0"}</componentSetting>
|
||||
<display>true</display>
|
||||
<deleted>false</deleted>
|
||||
<modify>true</modify>
|
||||
<componentExtendCode></componentExtendCode>
|
||||
<persistenceType>ENTITY</persistenceType>
|
||||
<validateType></validateType>
|
||||
<validateRule></validateRule>
|
||||
<validateTip></validateTip>
|
||||
<validateErr>0</validateErr>
|
||||
<tooltip></tooltip>
|
||||
<copy>false</copy>
|
||||
<displayRule></displayRule>
|
||||
<calcFormula></calcFormula>
|
||||
<propsVal>{}</propsVal>
|
||||
</boItem>
|
||||
</boItems>
|
||||
<boIndexs>
|
||||
<boIndex>
|
||||
<id>2b872c94-7725-4211-81a7-a6f29d9d2424</id>
|
||||
<name>AWS_IN_40A3C81D6927</name>
|
||||
<type>INDEX</type>
|
||||
<boItems>BINDID</boItems>
|
||||
</boIndex>
|
||||
</boIndexs>
|
||||
<boRelations/>
|
||||
<hashFields></hashFields>
|
||||
</boModel>
|
||||
@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<AWSDWModel>
|
||||
<id>obj_c98aadf656124adb895fbde7831db455</id>
|
||||
<createUser>admin</createUser>
|
||||
<createTime>2023-06-09 18:52:09</createTime>
|
||||
<updateUser>admin</updateUser>
|
||||
<updateTime>2023-06-14 17:21:43</updateTime>
|
||||
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGr0hHBVIqN8dYTSvqefQg5v1yTv9SYZtHkvK6cZTaJ+UTpIOHlBvl4rTHI3yz7JQzr</signature>
|
||||
<managed>false</managed>
|
||||
<version>1.0</version>
|
||||
<processGroupId>obj_c98aadf656124adb895fbde7831db455</processGroupId>
|
||||
<processGroupName></processGroupName>
|
||||
<categoryName>发布流程</categoryName>
|
||||
<dwType>1</dwType>
|
||||
<processAdministrator>admin</processAdministrator>
|
||||
<title id="obj_60ffd33fefe34d72ae22e9639b937382" label="建模导引配置" extendcode="" event=""/>
|
||||
<dataView id="obj_2796db900d084e52b4cbff8b491b0cbc" 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_eb542e28119342c1bf885356ad910293" isshow="true" extendcode="" event="">
|
||||
<button id="obj_d0cce9c8ebc344eb91436f89c54f0f1e" refbuttonid="save" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="0" mobileShow="false" event="" selectShow="false"/>
|
||||
<button id="obj_0d8e1c4436e34fcb81f34111527a2cbd" refbuttonid="new" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="1" mobileShow="false" event="" selectShow="false"/>
|
||||
<button id="obj_0d88916af4704adcaa9af5b66cb94a00" refbuttonid="delete" cls="" fontColor="" bgColor="" security="" isshow="false" orderindex="2" mobileShow="false" event="" selectShow="true"/>
|
||||
<button id="obj_d138b8dd4827477d8bf39bcabfe1f658" refbuttonid="print" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="3" mobileShow="false" event="" selectShow="false"/>
|
||||
<button id="obj_5239a445698044f68f3bd47c12b8df0c" refbuttonid="refresh" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="4" mobileShow="false" event="" selectShow="false"/>
|
||||
<button id="obj_cebcaabdeb3c4e85a2ba5643b231ca21" refbuttonid="exportDWData" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="5" mobileShow="false" event="" selectShow="false"/>
|
||||
<button id="obj_b5483fdb06a645448f3a5f8b47bdfa90" refbuttonid="importDWData" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="6" config="[{"btnName":"","formDefId":"obj_c4b68176b3084b63a57461d17f3d76b6|8b4d5d27-f539-4c5b-a62c-4a342974fae6","formName":"建模导引配置","formExcelShowName":"建模导引配置","maxRow":"20000","javaEvents":[],"enableAddImport":true,"enableupdateimport":false,"requiredImport":false,"importStrategy":{"addImport":{"strategybase":"maintainable","boModels":[{"boDefName":"BO_ACT_PAL_MODELING_GUIDANCE","boItems":[{"name":"STEP","title":"步骤"},{"name":"MODELTYPE","title":"模型类型"},{"name":"TITLE","title":"标题"},{"name":"POSITION","title":"位置"},{"name":"GUIDETARGET","title":"导引作用对象"}]}]}}}]" mobileShow="false" event="" selectShow="false"/>
|
||||
</toolbar>
|
||||
<searcher id="obj_9f926ae4867f41cbbee58eaf9db46c87" isshow="true" layoutType="tile" tdGroup="4" tileLayout="y" textCls="" dwLeftCls="" dwRightCls="" extendcode="" event="" xconditionEvent="" tileOpen="false"/>
|
||||
<navTree id="obj_ffc4fc43ad9a44acb6dc3cfd3ed63262" isshow="false" type="" rootcls="" leafcls="" ismultiple="false" isexpanded="true" orderindex="" event=""/>
|
||||
<layout id="obj_ebaa922389c04e9cb09942d3320ce30f" label="" classname="com.actionsoft.bpms.dw.exec.layout.LayoutA" event=""/>
|
||||
<datagrid id="obj_e1862a1c5f52428ca1d8cef938bc4857" isshow="true" autoSearch="true" customSet="true" select="false" datasource="bo:BO_ACT_PAL_MODELING_GUIDANCE" countSql="" pagesize="15" event="" rowDefHeight="25" showCheckBox="true" ismultiple="true" isshownumbercol="true" numberCellTotal="false" shownumbercolwidth="40px" freezeCols="0" wrap="false" nowrapTitle="false" refbehaviorid="|_title{}title_||||" behaviortarget="" behaviorConfig="%7B%22behavior%22%3A%22%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="obj_070dd64b65654cacad98c6d8bf9bd67d" sort="asc" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="162" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="64" required="0" align="left" showrule="{"type":"NORMAL","cons":"0:第1步|1:第2步|2:第3步|3:第4步|4:第5步|5:第6步|6:第7步","showAdv":true}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="STEP" label="步骤" orderindex="0" colbehaviortarget="tab" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="true" colrefbehaviorid="openmodifyform" columnAction="" datatype="TEXT" handleType="0" boType="AWSUI.ComboBox" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="ca1c9366-f64d-43f7-8e4d-6219187ac555" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="155" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="16" required="1" align="left" showrule="{"type":"NORMAL","cons":"process.epc:EPC|process.flowchart:泳道图|control.policy:制度图|data.form:表单图","showAdv":true}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="MODELTYPE" label="模型类型" orderindex="1" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="true" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="0" boType="AWSUI.ComboBox" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="75346837-90c1-4177-af82-5ddb7f372c24" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="113" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="32" required="1" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="TITLE" label="标题" orderindex="2" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="true" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="0" boType="AWSUI.Text" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="7a7a9d03-15fa-47b4-95cc-07b205036a9e" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="150" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="16" required="1" align="left" showrule="{"type":"NORMAL","cons":"left:左|right:右|top:上|bottom:下","showAdv":true}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="POSITION" label="位置" orderindex="3" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="true" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="0" boType="AWSUI.ComboBox" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="f2daa8f5-551f-4286-80b3-89ed95c26e98" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="150" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="32" required="1" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="GUIDETARGET" label="导引作用对象" orderindex="4" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="true" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="0" boType="AWSUI.Text" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_958273b27be5443aa924289d6c75d1d2" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="197" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="2000" required="0" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="CONTENT" label="导引内容" orderindex="5" colbehaviortarget="" ishidden="false" export="true" backHide="false" isusedvalue="false" tableheadsort="true" colrefbehaviorid="" columnAction="" datatype="BIGTEXT" handleType="0" boType="AWSUI.File" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_cebe4ce3ea324f60821ec0e8d707e3be" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="36" required="0" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_ID" label="业务表ID" orderindex="6" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_61ca793ccbeb4eaa85ba802e0845788d" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="36" required="0" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_ORGID" label="单位ID" orderindex="7" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_4cfdb05a3366467bbfe926f12bb17012" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="36" required="0" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_BINDID" label="流程实例ID" orderindex="8" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_d481ab0a8fdc45d382872a556f0a4e95" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="135px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="19" required="0" align="center" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_CREATEDATE" label="创建日期" orderindex="9" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="DATE" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_c1338643212240969d27977a352dbfaa" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="36" required="0" align="left" showrule="{"type": "org","orgtype": "user"}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_CREATEUSER" label="创建人" orderindex="10" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_fae0ce75da5641dd87beef1e4463ec3f" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="135px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="19" required="0" align="center" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_UPDATEDATE" label="更新日期" orderindex="11" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="DATE" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_3e3ff15d69284101acee46330cf048c8" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="36" required="0" align="left" showrule="{"type": "org","orgtype": "user"}" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_UPDATEUSER" label="更新人" orderindex="12" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<column id="obj_36db752c35904905be20d7a7a5be3684" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120px" colALias="" colTableAlias="" colTable="BO_ACT_PAL_MODELING_GUIDANCE" length="1" required="0" align="right" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_ISEND" label="流程是否结束" orderindex="13" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="NUMBER" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
|
||||
<dynamicRule></dynamicRule>
|
||||
</datagrid>
|
||||
<reportSetting></reportSetting>
|
||||
<chartSetting></chartSetting>
|
||||
</dataView>
|
||||
<userextendbuttons/>
|
||||
<userextendbehaviors>
|
||||
<userextendbehavior id="openmodifyform" name="">
|
||||
<templatecall>onclick%3D</templatecall>
|
||||
<templatescript></templatescript>
|
||||
</userextendbehavior>
|
||||
</userextendbehaviors>
|
||||
<iconFontCode></iconFontCode>
|
||||
<iconFontColor></iconFontColor>
|
||||
</AWSDWModel>
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<formModel>
|
||||
<id>8b4d5d27-f539-4c5b-a62c-4a342974fae6</id>
|
||||
<createUser>admin</createUser>
|
||||
<createTime>2023-06-09 18:49:46</createTime>
|
||||
<updateUser>admin</updateUser>
|
||||
<updateTime>2023-06-14 14:30:12</updateTime>
|
||||
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGr55kp5e0k4Z5XyR4z5p3R/+XA2ehXxsaOtH+gsvMyNRftHQoyfjo/8Cnmdjw1qLHH</signature>
|
||||
<managed>false</managed>
|
||||
<title>建模导引配置</title>
|
||||
<deleted>false</deleted>
|
||||
<categoryName>发布流程</categoryName>
|
||||
<administrator>admin</administrator>
|
||||
<defaultLanguage></defaultLanguage>
|
||||
<url></url>
|
||||
<urlHeight></urlHeight>
|
||||
<qrCodeLink></qrCodeLink>
|
||||
<formItems>
|
||||
<formItem>
|
||||
<id>b6933764-f10a-45ae-9898-aa9b081554c5</id>
|
||||
<title>建模导引配置</title>
|
||||
<templateFile>{"tablet":"发布流程-建模导引配置.htm","pc":"发布流程-建模导引配置.htm","mobile":"发布流程-建模导引配置_m.htm"}</templateFile>
|
||||
<grid>false</grid>
|
||||
<gridSetting></gridSetting>
|
||||
<orderBy></orderBy>
|
||||
<pageLimit>0</pageLimit>
|
||||
<boModelId>96e935b1-0c70-47a3-8dbf-b3745569da1a</boModelId>
|
||||
<dictionaryFileName></dictionaryFileName>
|
||||
<hiddenHead>false</hiddenHead>
|
||||
<theme>{"pc":"_bpm.platform","mobile":"_bpm.platform"}</theme>
|
||||
<itemDisplays/>
|
||||
<scheme>{"pc":"scheme_aws.css","mobile":""}</scheme>
|
||||
<calcFormula></calcFormula>
|
||||
<conditionControl></conditionControl>
|
||||
<validate></validate>
|
||||
<icon></icon>
|
||||
<gridControl></gridControl>
|
||||
<summaryControl></summaryControl>
|
||||
<ruleControl></ruleControl>
|
||||
<hiddenFields></hiddenFields>
|
||||
<hiddenAddBtn>false</hiddenAddBtn>
|
||||
<verticalLayout>false</verticalLayout>
|
||||
</formItem>
|
||||
</formItems>
|
||||
</formModel>
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"versionId":"obj_c4b68176b3084b63a57461d17f3d76b6","chartId":"obj_c4b68176b3084b63a57461d17f3d76b6","userIds":["admin"],"messages":[],"userNames":"管理员","remark":"","updateTime":"2023-06-09 18:52:09","definitionId":"obj_c4b68176b3084b63a57461d17f3d76b6"}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<title>建模导引配置</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<script>
|
||||
var userZoneOffset = 8.0;
|
||||
var isSaaSModel = false;
|
||||
var isYijingCloud = false;
|
||||
var isDingDingDaRuntime = false;
|
||||
var isAppStoreService = true;
|
||||
var isHighSecurity = false;
|
||||
var isDingDingAdmin = false;
|
||||
</script>
|
||||
[#AWSImport]
|
||||
[#AWSUIImport]
|
||||
<link rel='stylesheet' id='schemeCss' href='../apps/_bpm.platform/css/colorschemes/scheme_aws.css' name='schemeCss'/>
|
||||
|
||||
<link type='text/css' rel='stylesheet' id='themeCss' href='../apps/_bpm.platform/css/theme/theme.css' name='themeCss'/>
|
||||
</head>
|
||||
<body>
|
||||
<form id="frmMain" name="frmMain" method="post">
|
||||
<div id="aws-form-container" class="aws-form-ux-container" border="0">
|
||||
<table id="aws-form-maintable" class="awsui-ux aws-form-ux-maintable" style="table-layout: auto;" align="center" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr id="aws-form-titlebg" class="aws-form-ux-titlebg">
|
||||
<td id="aws-form-title" class="aws-form-ux-header">建模导引配置</td>
|
||||
</tr>
|
||||
<tr class="aws-form-ux-formcontent" id="aws-form-formcontent">
|
||||
<td>
|
||||
<table id="table_container" class="awsui-ux table-striped" style="padding: 0px;" width="100%" cellspacing="3" cellpadding="0"><colgroup><col class="awsui-ux-title" /><col style="width: 100.0%;" /></colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="awsui-ux-title"><label for="STEP" class="aws-form-ux-label">步骤</label></td>
|
||||
<td class="aws-form-ux-content">[#STEP]</td>
|
||||
</tr>
|
||||
<tr id="ca5087d8_53a0_0001_b250_1c7b7ad01339">
|
||||
<td class="awsui-ux-title">模型类型</td>
|
||||
<td class="aws-form-ux-content">[#MODELTYPE]</td>
|
||||
</tr>
|
||||
<tr id="ca51bdfb_acc0_0001_988d_1490108a1d64">
|
||||
<td class="awsui-ux-title">标题</td>
|
||||
<td class="aws-form-ux-content">[#TITLE]</td>
|
||||
</tr>
|
||||
<tr id="ca51bdfc_1bb0_0001_6998_149028cbd410">
|
||||
<td class="awsui-ux-title">位置</td>
|
||||
<td class="aws-form-ux-content">[#POSITION]</td>
|
||||
</tr>
|
||||
<tr id="ca51bee5_1400_0001_ad75_4b3216609d00">
|
||||
<td class="awsui-ux-title">导引作用对象</td>
|
||||
<td class="aws-form-ux-content">[#GUIDETARGET]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="awsui-ux-title"><label for="CONTENT" class="aws-form-ux-label">导引内容</label></td>
|
||||
<td class="aws-form-ux-content">[#CONTENT]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="aws-form-bottom">
|
||||
<td class="aws-form-ux-actionsoft">[#Actionsoft]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
|
||||
<title>建模导引配置</title>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
|
||||
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
||||
<script>
|
||||
var userZoneOffset = 8.0;
|
||||
var isSaaSModel = false;
|
||||
var isYijingCloud = false;
|
||||
var isDingDingDaRuntime = false;
|
||||
var isAppStoreService = true;
|
||||
var isHighSecurity = false;
|
||||
var isDingDingAdmin = false;
|
||||
</script>
|
||||
|
||||
<!--公共的js和css start-->
|
||||
[#AWSImport]
|
||||
[#AWSUIImport]
|
||||
<!--配色方案-->
|
||||
<link rel='stylesheet' id='schemeCss' href='../apps/_bpm.platform/css/colorschemes/scheme_aws.css' name='schemeCss'/>
|
||||
<link type='text/css' rel='stylesheet' id='themeCss' href='../apps/_bpm.platform/css/theme/theme_m.css' name='themeCss'/>
|
||||
</head>
|
||||
<body>
|
||||
<form id='frmMain' name='frmMain' method="post" >
|
||||
|
||||
<div id='aws-form-container' class="mui-scroll-wrapper mobile-main-form"><!--class="aws-form-ux-container"-->
|
||||
<table id='aws-form-maintable' class="awsui-ux aws-form-ux-maintable" style="table-layout: auto;" align="center" border="0" cellpadding="0" cellspacing="0">
|
||||
<!--每个模板必须含有 aws-form-titlebg 和 title样式 否则无法应用配色风格-->
|
||||
<tr id='aws-form-titlebg' class='aws-form-ux-titlebg' style="display: none;">
|
||||
<!--若自定义模板title的 id -->
|
||||
<td id='aws-form-title' class='aws-form-ux-header'> 建模导引配置 </td>
|
||||
</tr>
|
||||
<tr class="aws-form-ux-formcontent" id='aws-form-formcontent'>
|
||||
<td>
|
||||
<table id='table_container' class="awsui-ux table-striped" style="padding: 0px;" width='100%' cellspacing='0' cellpadding='0'>
|
||||
<colgroup>
|
||||
<col style="width: 31%;">
|
||||
<col style="width: 69%;">
|
||||
</colgroup>
|
||||
<tr><td class='awsui-ux-title'><label id='STEPLabel' for='STEP'>步骤</label></td><td class='aws-form-ux-content'>[#STEP]</td></tr><tr><td class='awsui-ux-title'><label id='CONTENTLabel' for='CONTENT'>导引内容</label></td><td class='aws-form-ux-content'>[#CONTENT]</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="aws-form-bottom">
|
||||
<td class="aws-form-ux-actionsoft" >[#Actionsoft]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@ -3546,4 +3546,43 @@ public class CoEPALController {
|
||||
return web.deleteLeadRearRelationData(uuid, data);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获得建模导引前端页面
|
||||
*
|
||||
* @param me me
|
||||
* @return {@link String}
|
||||
*/
|
||||
@Mapping("com.actionsoft.apps.coe.pal_modeling_guide")
|
||||
public String getModelingGuide(UserContext me , String methodId , String sid) {
|
||||
DesignerRelationShapeWeb web = new DesignerRelationShapeWeb(me);
|
||||
return web.getModelingGuide(methodId, sid);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得建模导引前端页面
|
||||
*
|
||||
* @param me me
|
||||
* @return {@link String}
|
||||
*/
|
||||
@Mapping("com.actionsoft.apps.coe.pal_guide_carousel")
|
||||
public String getModelingGuideCarousel(UserContext me , String step , String modelType) {
|
||||
DesignerRelationShapeWeb web = new DesignerRelationShapeWeb(me);
|
||||
return web.getModelingGuideCarousel(step , modelType);
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查用户是否第一次创建模型
|
||||
*
|
||||
* @param me me
|
||||
* @param methodId 模型类型
|
||||
* @return {@link String}
|
||||
*/
|
||||
@Mapping("com.actionsoft.apps.coe.pal_guide_check_create")
|
||||
public String checkUserFirstCreateModel(UserContext me , String methodId ) {
|
||||
DesignerRelationShapeWeb web = new DesignerRelationShapeWeb(me);
|
||||
return web.checkUserFirstCreateModel(methodId);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -11,6 +11,7 @@ import com.actionsoft.apps.coe.pal.cooperation.CoeCooperationAPIManager;
|
||||
import com.actionsoft.apps.coe.pal.cooperation.cache.CooperationCache;
|
||||
import com.actionsoft.apps.coe.pal.cooperation.cache.model.TeamInfo;
|
||||
import com.actionsoft.apps.coe.pal.cooperation.cache.model.UserInfo;
|
||||
import com.actionsoft.apps.coe.pal.pal.manage.publish.constant.PublishConst;
|
||||
import com.actionsoft.apps.coe.pal.pal.method.model.PALMethodAttributeModel;
|
||||
import com.actionsoft.apps.coe.pal.pal.repository.designer.CoeDesignerShapeAPIManager;
|
||||
import com.actionsoft.apps.coe.pal.pal.repository.designer.relation.manager.DesignerShapeCopyCache;
|
||||
@ -19,8 +20,10 @@ import com.actionsoft.apps.coe.pal.pal.repository.web.CoeProcessLevelWeb;
|
||||
import com.actionsoft.apps.coe.pal.system.util.StringUtil;
|
||||
import com.actionsoft.apps.coe.pal.util.BpmOrgUtil;
|
||||
import com.actionsoft.apps.coe.pal.util.HighSecurityUtil;
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.commons.cache.Cache;
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.commons.formfile.model.delegate.FormFile;
|
||||
import com.actionsoft.bpms.commons.htmlframework.HtmlPageTemplate;
|
||||
import com.actionsoft.bpms.commons.mvc.view.ActionWeb;
|
||||
import com.actionsoft.bpms.commons.mvc.view.ResponseObject;
|
||||
@ -34,6 +37,8 @@ import com.actionsoft.bpms.org.cache.UserCache;
|
||||
import com.actionsoft.bpms.org.model.*;
|
||||
import com.actionsoft.bpms.org.web.CompanyWeb;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.server.fs.DCContext;
|
||||
import com.actionsoft.bpms.server.fs.dc.DCProfileManager;
|
||||
import com.actionsoft.bpms.util.*;
|
||||
import com.actionsoft.apps.coe.pal.pal.method.cache.PALMethodCache;
|
||||
import com.actionsoft.apps.coe.pal.pal.method.model.PALMethodJsonModel;
|
||||
@ -219,10 +224,9 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 粘贴时关联关系的同步
|
||||
*
|
||||
* <p>
|
||||
* 些方法的作用如下:比如对A图形进行复制,现在粘贴时图形为A派生出来的称为B,此时的B中的属性还有关联关系应该和A是完全一样的
|
||||
*
|
||||
*
|
||||
* @param list
|
||||
*/
|
||||
private void pasteChangeRelationShapes(List<DesignerShapePasteModel> list) {
|
||||
@ -281,12 +285,12 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
JSONObject jsonObj = JSONObject.parseObject(s);
|
||||
if (jsonObj.containsKey("category")) {
|
||||
set.add(jsonObj.getString("category").replace("_", "."));
|
||||
if("standard".equals(jsonObj.getString("category"))) {
|
||||
textCount ++;
|
||||
if ("standard".equals(jsonObj.getString("category"))) {
|
||||
textCount++;
|
||||
}
|
||||
}
|
||||
if (jsonObj.containsKey("name") && "linker".equals(jsonObj.getString("name"))) {
|
||||
linkerCount ++;
|
||||
linkerCount++;
|
||||
}
|
||||
}
|
||||
if ((linkerCount + textCount) == elementList.size()) {// 只有箭头或插入的文本或者只包含这两者
|
||||
@ -349,6 +353,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 将第一次复制的数据插入到数据库
|
||||
*
|
||||
* @param elementList
|
||||
* @param subject
|
||||
* @return
|
||||
@ -391,6 +396,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
/**
|
||||
* 改变出现复制的图形的名称或属性,对出现复制的图形的名称和属性进行同步,如:
|
||||
* 对A图形进行复制派生出B那改变B或者A时两者的名称和属性应该是同步的并有相同的属性和名称
|
||||
*
|
||||
* @param jsonObj
|
||||
* @param uuid
|
||||
*/
|
||||
@ -740,7 +746,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
* @param ruuid 模型id
|
||||
* @return
|
||||
*/
|
||||
public String designerRelevanceShapes(String wsId, String modelId, String ref, String shapeId, String attrId, String relationShapeIds, String relationFileIds,String teamId, String ruuid) {
|
||||
public String designerRelevanceShapes(String wsId, String modelId, String ref, String shapeId, String attrId, String relationShapeIds, String relationFileIds, String teamId, String ruuid) {
|
||||
Map<String, Object> macroLibraries = new HashMap<String, Object>();
|
||||
JSONObject refObj = JSONObject.parseObject(ref);
|
||||
String method = refObj.getString("method");// 建模大类或建模方法
|
||||
@ -752,7 +758,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
// macroLibraries.put("treeData", getTreeJson(wsId, "", category, type, method));
|
||||
// by bzp
|
||||
|
||||
String treeJson=getTreeJson(wsId, "", category, type, method, ruuid, attrId,teamId);
|
||||
String treeJson = getTreeJson(wsId, "", category, type, method, ruuid, attrId, teamId);
|
||||
|
||||
boolean showflag = true;
|
||||
//JSONObject jsonObject = JSONObject.parseObject(json);
|
||||
@ -806,7 +812,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
macroLibraries.put("treeData", jsonArr_new.toString());
|
||||
}else if(attrId.equals("L1L3_Performance")){
|
||||
} else if (attrId.equals("L1L3_Performance")) {
|
||||
if (objects != null) {
|
||||
for (int i = 0; i < objects.size(); i++) {
|
||||
JSONObject jsonObject = objects.getJSONObject(i);
|
||||
@ -836,7 +842,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if (UtilString.isNotEmpty(url)) {
|
||||
String titles = objects.getJSONObject(i).getString("title");
|
||||
if (titles.equals("岗位模型")) {
|
||||
objects.getJSONObject(i).put("nocheck",true);
|
||||
objects.getJSONObject(i).put("nocheck", true);
|
||||
jsonArr_new.add(objects.getJSONObject(i));
|
||||
} else {
|
||||
List<Map<String, Object>> nodeElements = CoeDesignerUtil.getShapeMessageJson4(id);
|
||||
@ -860,7 +866,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
String isParent = jsonObject.getString("isParent");
|
||||
if (isParent != null) {
|
||||
//过滤架构图
|
||||
if(jsonObject.get("name").equals("流程架构图")){
|
||||
if (jsonObject.get("name").equals("流程架构图")) {
|
||||
continue;
|
||||
}
|
||||
if (isParent.equals("false")) {
|
||||
@ -897,10 +903,10 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
/*if(isPublishRowMap.getString("ISPUBLISH").equals("0")){*/
|
||||
//过滤废止数据
|
||||
RowMap rowMap = DBSql.getMap("SELECT ISSTOP FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", jsonObject.getString("name"), 1);
|
||||
String isstop=rowMap.getString("ISSTOP");
|
||||
String isstop = rowMap.getString("ISSTOP");
|
||||
if (isstop.equals("1")) {
|
||||
continue;
|
||||
}else{
|
||||
} else {
|
||||
jsonObject.put("nocheck", false);
|
||||
jsonArr_new.add(jsonObject);
|
||||
}
|
||||
@ -918,7 +924,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
}
|
||||
macroLibraries.put("treeData", jsonArr_new.toString());
|
||||
}else if(attrId.equals("lead_process") || attrId.equals("rear_process")){//前置属性、后置属性
|
||||
} else if (attrId.equals("lead_process") || attrId.equals("rear_process")) {//前置属性、后置属性
|
||||
for (int i = 0; i < objects.size(); i++) {
|
||||
JSONObject jsonObject = objects.getJSONObject(i);
|
||||
String isParent = jsonObject.getString("isParent");
|
||||
@ -926,7 +932,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if (isParent.equals("true")) {
|
||||
jsonObject.put("nocheck", true);
|
||||
jsonArr_new.add(jsonObject);
|
||||
}else{
|
||||
} else {
|
||||
jsonObject.put("nocheck", false);
|
||||
jsonArr_new.add(jsonObject);
|
||||
}
|
||||
@ -936,7 +942,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
macroLibraries.put("treeData", jsonArr_new.toString());
|
||||
}else{
|
||||
} else {
|
||||
macroLibraries.put("treeData", treeJson);
|
||||
}
|
||||
|
||||
@ -948,7 +954,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
macroLibraries.put("refObj", refObj);
|
||||
macroLibraries.put("category", category);
|
||||
macroLibraries.put("modelId", modelId == null ? "" : modelId);
|
||||
macroLibraries.put("teamId",teamId);
|
||||
macroLibraries.put("teamId", teamId);
|
||||
|
||||
//查询已关联图形
|
||||
|
||||
@ -958,7 +964,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if ("file".equals(type)) {// 关联模型文件
|
||||
Set<String> ids = new HashSet<>();// 之前代码会造成数据库出现多余数据,过滤重复数据
|
||||
List<String> versionIds = new ArrayList();
|
||||
String [] arr = relationFileIds.split(",");
|
||||
String[] arr = relationFileIds.split(",");
|
||||
for (int i = 0; i < arr.length; i++) {
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(arr[i]);
|
||||
if (model != null) {
|
||||
@ -1018,12 +1024,10 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public String getTreeJson(String wsId, String pid, String category, String type, String method, String ruuid,String attrId,String teamId) {
|
||||
public String getTreeJson(String wsId, String pid, String category, String type, String method, String ruuid, String attrId, String teamId) {
|
||||
StringBuffer treeJson = new StringBuffer();
|
||||
if (pid.equals("")) {
|
||||
return getRootJson(wsId, category, type, method,ruuid,attrId,teamId); // 加载根
|
||||
return getRootJson(wsId, category, type, method, ruuid, attrId, teamId); // 加载根
|
||||
}
|
||||
// 加载二级
|
||||
// treeJson.append(getTwoNodeJson(pid, wsId));
|
||||
@ -1034,8 +1038,6 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取第二级及其以下目录
|
||||
* by bzp 增加method方法 判断
|
||||
@ -1045,23 +1047,23 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
*/
|
||||
public String getTwoNodeJson(String pid, String wsId, String method, String ruuid, String teamId) {
|
||||
Set<String> versionIds = new HashSet<>();
|
||||
if (UtilString.isNotEmpty(teamId)){
|
||||
if (UtilString.isNotEmpty(teamId)) {
|
||||
// 小组下 当前人员角色的权限数据
|
||||
UserInfo userInfo = CooperationCache.getUserInfo(teamId, _uc.getUID());
|
||||
if (userInfo != null){
|
||||
if (userInfo != null) {
|
||||
if (userInfo.getIsAllDataPermission()) {
|
||||
TeamInfo teamInfo = CooperationCache.getTeamInfo(teamId);
|
||||
versionIds = teamInfo.getVersionIds();
|
||||
}else {
|
||||
} else {
|
||||
versionIds = userInfo.getDataPermission().keySet();
|
||||
}
|
||||
}
|
||||
}
|
||||
List<PALRepositoryModel> coeProcessLevelModels = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getCoeProcessLevelByPid(pid, wsId);
|
||||
if (versionIds.size() > 0){
|
||||
if (versionIds.size() > 0) {
|
||||
List<PALRepositoryModel> modelList = new ArrayList<>();
|
||||
for (PALRepositoryModel model : coeProcessLevelModels) {
|
||||
if (versionIds.contains(model.getId())){
|
||||
if (versionIds.contains(model.getId())) {
|
||||
modelList.add(model);
|
||||
}
|
||||
}
|
||||
@ -1078,7 +1080,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
return jsonArray.toString();
|
||||
}
|
||||
|
||||
protected String getRootJson(String wsuuid, String category, String type, String methodScope,String ruuid,String attrId,String teamId) {
|
||||
protected String getRootJson(String wsuuid, String category, String type, String methodScope, String ruuid, String attrId, String teamId) {
|
||||
JSONArray jsonArray = new JSONArray();
|
||||
if ("file".equals(type)) {// 关联的文件模型
|
||||
PALMethodJsonModel processpmjm = new PALMethodJsonModel();
|
||||
@ -1089,7 +1091,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
processpmjm.setMenu(false);
|
||||
processpmjm.setOpen(true);
|
||||
jsonArray.add(processpmjm);
|
||||
JSONArray nodes = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsuuid, processpmjm.getId(),teamId);
|
||||
JSONArray nodes = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsuuid, processpmjm.getId(), teamId);
|
||||
for (int i = 0; i < nodes.size(); i++) {
|
||||
JSONObject node = nodes.getJSONObject(i);
|
||||
node.put("url", "./jd?sid=" + _uc.getSessionId() + "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer_process_models_info&ruuid=" + node.getString("id") + "&uuid=" + node.getString("id") + "&wsId=" + wsuuid);
|
||||
@ -1147,10 +1149,10 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
jsonArray.add(controlpmjm2);
|
||||
}*/
|
||||
JSONArray nodes = null;
|
||||
if(attrId.equals("role")){
|
||||
nodes=PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPidRole(_uc, wsuuid, controlpmjm.getId(),ruuid,teamId);
|
||||
}else{
|
||||
nodes = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsuuid, controlpmjm.getId(),teamId);
|
||||
if (attrId.equals("role")) {
|
||||
nodes = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPidRole(_uc, wsuuid, controlpmjm.getId(), ruuid, teamId);
|
||||
} else {
|
||||
nodes = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsuuid, controlpmjm.getId(), teamId);
|
||||
}
|
||||
|
||||
for (int i = 0; i < nodes.size(); i++) {
|
||||
@ -1178,10 +1180,9 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 关联属性快速搜索
|
||||
*
|
||||
* @param wsId
|
||||
* @param scope
|
||||
* @return
|
||||
@ -1199,10 +1200,10 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
/****************************过滤已废止数据**by zhaolei*********************/
|
||||
RowMap rowMap=DBSql.getMap("SELECT isStop FROM APP_ACT_COE_PAL_REPOSITORY WHERE ID=?",palModel.getId());
|
||||
if(rowMap!=null){
|
||||
String isStop=rowMap.getString("isStop");
|
||||
if(isStop.equals("0")){
|
||||
RowMap rowMap = DBSql.getMap("SELECT isStop FROM APP_ACT_COE_PAL_REPOSITORY WHERE ID=?", palModel.getId());
|
||||
if (rowMap != null) {
|
||||
String isStop = rowMap.getString("isStop");
|
||||
if (isStop.equals("0")) {
|
||||
CoeProcessLevelAutoBean bean = new CoeProcessLevelAutoBean();
|
||||
bean.setName(palModel.getName());
|
||||
bean.setType(palModel.getMethodId());
|
||||
@ -1217,7 +1218,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
Map<String, Integer> topLevelmap = new HashMap<String, Integer>();
|
||||
topLevelmap.put("topLevel", palModel.getLevel()); //topLevel:为计算后的顶级目录的级别。没有顶级目录的流程舍去
|
||||
getFilePath(palModel, sBuilder, idBuilder, idSets, topLevelmap);// 递归获取当前文件名称路径
|
||||
if(topLevelmap!=null && topLevelmap.get("topLevel")!=null && topLevelmap.get("topLevel")>1) {
|
||||
if (topLevelmap != null && topLevelmap.get("topLevel") != null && topLevelmap.get("topLevel") > 1) {
|
||||
continue;
|
||||
}
|
||||
// bean.setUi("<div style='height:100%'>" + sBuilder.toString() + "</div><div style='float:right;height:100%'></div>");
|
||||
@ -1260,6 +1261,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取文件名称全路径
|
||||
*
|
||||
* @param model
|
||||
* @return
|
||||
*/
|
||||
@ -1284,12 +1286,12 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
* @param pid
|
||||
* @return
|
||||
*/
|
||||
public String getTreeJson(String wsId, String pid,String attrId,String uuid,String teamId) {
|
||||
public String getTreeJson(String wsId, String pid, String attrId, String uuid, String teamId) {
|
||||
JSONArray list;
|
||||
if(attrId.equals("Process_performance_metrics") || attrId.equals("role") || attrId.equals("R_relevant_flies") || attrId.equals("L1L3_Performance") || attrId.equals("post")){
|
||||
list= PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPidAnduuid(_uc, wsId,pid,attrId,uuid,teamId);
|
||||
}else{
|
||||
list= PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsId, pid,teamId);
|
||||
if (attrId.equals("Process_performance_metrics") || attrId.equals("role") || attrId.equals("R_relevant_flies") || attrId.equals("L1L3_Performance") || attrId.equals("post")) {
|
||||
list = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPidAnduuid(_uc, wsId, pid, attrId, uuid, teamId);
|
||||
} else {
|
||||
list = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsId, pid, teamId);
|
||||
}
|
||||
|
||||
JSONArray result = new JSONArray();
|
||||
@ -1303,31 +1305,32 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 得到流程tree json结构
|
||||
*
|
||||
* @param wsId
|
||||
* @param pid
|
||||
* @param methodScope
|
||||
* @return
|
||||
*/
|
||||
public String getProcessModelsTreeJson(String wsId, String pid, String methodScope,String attrId,String ruuid,String teamId) {
|
||||
JSONArray list = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsId, pid,teamId);
|
||||
public String getProcessModelsTreeJson(String wsId, String pid, String methodScope, String attrId, String ruuid, String teamId) {
|
||||
JSONArray list = PALRepositoryQueryAPIManager.getInstance().getUsedPalRepositoryTreeDataByPid(_uc, wsId, pid, teamId);
|
||||
JSONArray result = new JSONArray();
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
JSONObject node = list.getJSONObject(i);
|
||||
String isPublish=node.getString("isPublish");
|
||||
String isParent=node.getString("isParent");
|
||||
String isStop=node.getString("isStop");
|
||||
String name=node.getString("name");
|
||||
String isPublish = node.getString("isPublish");
|
||||
String isParent = node.getString("isParent");
|
||||
String isStop = node.getString("isStop");
|
||||
String name = node.getString("name");
|
||||
node.put("url", "./jd?sid=" + super.getContext().getSessionId() + "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer_process_models_info&ruuid=" + node.getString("id") + "&uuid=" + node.getString("id") + "&wsId=" + wsId);
|
||||
String id = node.getString("id");
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(id);
|
||||
if (model != null) {
|
||||
|
||||
RowMap stoprowMap=DBSql.getMap("SELECT ISSTOP FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", name,1);
|
||||
if(stoprowMap.getString("ISSTOP").equals("0")){
|
||||
RowMap stoprowMap = DBSql.getMap("SELECT ISSTOP FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", name, 1);
|
||||
if (stoprowMap.getString("ISSTOP").equals("0")) {
|
||||
//如果为相关文件 未发布不可选中
|
||||
if(attrId.equals("R_relevant_flies") || attrId.equals("related_files")){
|
||||
if (attrId.equals("R_relevant_flies") || attrId.equals("related_files")) {
|
||||
|
||||
if(model.getName().equals("流程架构图")){
|
||||
if (model.getName().equals("流程架构图")) {
|
||||
continue;
|
||||
}
|
||||
/*RowMap rowMap=DBSql.getMap("SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISPUBLISH=? AND ISUSE=?", name,1,1);
|
||||
@ -1338,13 +1341,13 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
node.put("nocheck", false);
|
||||
}*/
|
||||
|
||||
RowMap rowMap=DBSql.getMap("SELECT ISPUBLISH FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", name,1);
|
||||
RowMap rowMap = DBSql.getMap("SELECT ISPUBLISH FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", name, 1);
|
||||
|
||||
if(isParent.equals("true")){
|
||||
if (isParent.equals("true")) {
|
||||
node.put("nocheck", true);
|
||||
result.add(node);
|
||||
}else if(isParent.equals("false")){
|
||||
if(rowMap.getString("ISPUBLISH").equals("1")) {
|
||||
} else if (isParent.equals("false")) {
|
||||
if (rowMap.getString("ISPUBLISH").equals("1")) {
|
||||
node.put("nocheck", false);
|
||||
result.add(node);
|
||||
}
|
||||
@ -1352,26 +1355,26 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
}
|
||||
//如果为支持文件
|
||||
if(attrId.equals("support_files")){
|
||||
RowMap rowMap=DBSql.getMap("SELECT ISPUBLISH FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", name,1);
|
||||
if(isParent.equals("true")){
|
||||
if (attrId.equals("support_files")) {
|
||||
RowMap rowMap = DBSql.getMap("SELECT ISPUBLISH FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND ISUSE=?", name, 1);
|
||||
if (isParent.equals("true")) {
|
||||
node.put("nocheck", true);
|
||||
result.add(node);
|
||||
}else if(isParent.equals("false")){
|
||||
} else if (isParent.equals("false")) {
|
||||
node.put("nocheck", false);
|
||||
result.add(node);
|
||||
}
|
||||
|
||||
|
||||
} else if (attrId.equals("lead_process") || attrId.equals("rear_process")) {
|
||||
if(isParent.equals("true")) {
|
||||
if (isParent.equals("true")) {
|
||||
node.put("nocheck", true);
|
||||
result.add(node);
|
||||
}else{
|
||||
} else {
|
||||
node.put("nocheck", false);
|
||||
result.add(node);
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
String methodId = node.getString("plMethodId");
|
||||
if ("control.kpi".equals(methodId) && methodScope.equals(methodId)) {
|
||||
//根据ID去查 是否有关联管流程
|
||||
@ -1731,7 +1734,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
PALRepositoryModel palModel = PALRepositoryCache.getCache().get(model.getFileId());
|
||||
if (palModel != null) {
|
||||
BaseModel baseModel = CoeDesignerAPIManager.getInstance().getDefinition(palModel.getId(), 0);
|
||||
if (baseModel != null ) {
|
||||
if (baseModel != null) {
|
||||
String define = baseModel.getDefinition();
|
||||
if (!define.contains(model.getShapeId())) {
|
||||
continue;
|
||||
@ -1744,15 +1747,15 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
object.put("fileVersionId", palModel.getVersionId());
|
||||
object.put("shapeId", model.getShapeId());
|
||||
object.put("shapeText", model.getShapeText());
|
||||
if (CoeCooperationAPIManager.getInstance().hasRepositoryPermision(model.getFileId())){
|
||||
if (CoeCooperationAPIManager.getInstance().hasRepositoryPermision(model.getFileId())) {
|
||||
//文件密级权限校验
|
||||
if(HighSecurityUtil.isON() && HighSecurityUtil.fileSecuritySwitch()){
|
||||
if (HighSecurityUtil.isON() && HighSecurityUtil.fileSecuritySwitch()) {
|
||||
CoeProcessLevelWeb web = new CoeProcessLevelWeb(_uc);
|
||||
ResponseObject filePemission = web.checkFilePemission(model.getFileId());
|
||||
if (filePemission.isOk()){
|
||||
if (filePemission.isOk()) {
|
||||
object.put("url", "./w?sid=" + _uc.getSessionId() + "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid=" + model.getFileId() + "&openType=0&perms=w%2Cd%2Cv&filePerms=-");
|
||||
}
|
||||
}else {
|
||||
} else {
|
||||
object.put("url", "./w?sid=" + _uc.getSessionId() + "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid=" + model.getFileId() + "&openType=0&perms=w%2Cd%2Cv&filePerms=-");
|
||||
}
|
||||
}
|
||||
@ -1773,7 +1776,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
PALRepositoryModel palModel = PALRepositoryCache.getCache().get(model.getRelationFileId());
|
||||
if (palModel != null) {
|
||||
BaseModel baseModel = CoeDesignerAPIManager.getInstance().getDefinition(palModel.getId(), 0);
|
||||
if (baseModel != null ) {
|
||||
if (baseModel != null) {
|
||||
String define = baseModel.getDefinition();
|
||||
if (!define.contains(model.getShapeId())) {
|
||||
continue;
|
||||
@ -1786,15 +1789,15 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
object.put("fileVersionId", palModel.getVersionId());
|
||||
object.put("shapeId", model.getRelationShapeId());
|
||||
object.put("shapeText", model.getRelationShapeText());
|
||||
if (CoeCooperationAPIManager.getInstance().hasRepositoryPermision(model.getRelationFileId())){
|
||||
if (CoeCooperationAPIManager.getInstance().hasRepositoryPermision(model.getRelationFileId())) {
|
||||
//文件密级权限校验
|
||||
if(HighSecurityUtil.isON() && HighSecurityUtil.fileSecuritySwitch()){
|
||||
if (HighSecurityUtil.isON() && HighSecurityUtil.fileSecuritySwitch()) {
|
||||
CoeProcessLevelWeb web = new CoeProcessLevelWeb(_uc);
|
||||
ResponseObject filePemission = web.checkFilePemission(model.getFileId());
|
||||
if (filePemission.isOk()){
|
||||
if (filePemission.isOk()) {
|
||||
object.put("url", "./w?sid=" + _uc.getSessionId() + "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid=" + model.getFileId() + "&openType=0&perms=w%2Cd%2Cv&filePerms=-");
|
||||
}
|
||||
}else {
|
||||
} else {
|
||||
object.put("url", "./w?sid=" + _uc.getSessionId() + "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid=" + model.getFileId() + "&openType=0&perms=w%2Cd%2Cv&filePerms=-");
|
||||
}
|
||||
}
|
||||
@ -1866,6 +1869,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 查询形状节点的relation类型属性数据
|
||||
*
|
||||
* @param fileId
|
||||
* @param shapeId
|
||||
* @param shapeName
|
||||
@ -2030,6 +2034,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 粘贴时保存关联关系
|
||||
*
|
||||
* @param shapeMap
|
||||
* @return
|
||||
*/
|
||||
@ -2066,7 +2071,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
return ResponseObject.newErrResponse("主动关联关系保存数据库失败").toString();
|
||||
}
|
||||
// 被动关联关系处理
|
||||
if("true".equals(pasteRelation)) {
|
||||
if ("true".equals(pasteRelation)) {
|
||||
JSONArray jsArray = JSONArray.parseArray(relationShape);
|
||||
// System.out.println("被动关联的关联关系---" + jsArray);
|
||||
List<DesignerShapeRelationModel> list = new ArrayList<>();
|
||||
@ -2130,7 +2135,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
continue;
|
||||
}
|
||||
if (shape.getString("id").equals(model2.getShapeId())) {
|
||||
if(!"linker".equals(shapeName)) {
|
||||
if (!"linker".equals(shapeName)) {
|
||||
shape = updateShapeAttribute(shape, model2);
|
||||
elements.put(key, shape);
|
||||
}
|
||||
@ -2153,7 +2158,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if (palModel != null) {
|
||||
JSONObject object = new JSONObject();
|
||||
object.put("id", palModel.getId());
|
||||
object.put("name", palModel.getName() + " " + VersionUtil.getVersionStrV(palModel.getVersion()) );
|
||||
object.put("name", palModel.getName() + " " + VersionUtil.getVersionStrV(palModel.getVersion()));
|
||||
jArray.add(object);
|
||||
}
|
||||
}
|
||||
@ -2167,6 +2172,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 更新图形属性
|
||||
*
|
||||
* @param shape
|
||||
* @param list
|
||||
* @return
|
||||
@ -2181,7 +2187,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
JSONArray attributesJsonArray = obj.getJSONArray("attributesJsonArray");
|
||||
for (int i = 0; i < attributesJsonArray.size(); i++) {
|
||||
JSONObject object2 = attributesJsonArray.getJSONObject(i);
|
||||
if(object2 == null || "null".equals(object2.toString())) {
|
||||
if (object2 == null || "null".equals(object2.toString())) {
|
||||
continue; //attributesJsonArray包含空时,跳过空
|
||||
}
|
||||
if (object2.getString("id").equals(model2.getAttrId())) {
|
||||
@ -2201,11 +2207,11 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
}
|
||||
if(shape.get("attributesJsonArray") != null) {
|
||||
if (shape.get("attributesJsonArray") != null) {
|
||||
JSONArray attributesJsonArray = shape.getJSONArray("attributesJsonArray");
|
||||
for (int i = 0; i < attributesJsonArray.size(); i++) {
|
||||
JSONObject object2 = attributesJsonArray.getJSONObject(i);
|
||||
if(object2 == null || "null".equals(object2.toString())) {
|
||||
if (object2 == null || "null".equals(object2.toString())) {
|
||||
continue; //attributesJsonArray包含空时,跳过空
|
||||
}
|
||||
if (object2.getString("id").equals(model2.getAttrId())) {
|
||||
@ -2228,6 +2234,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
/**
|
||||
* 根据流程源文件校验节点关联属性是否存在有关联节点id但是数据库无该关联信息的情况
|
||||
* 根据流程源文件反向插入关联数据到APP_ACT_COE_PAL_SHAPE_RLAT
|
||||
*
|
||||
* @param wsId
|
||||
* @return
|
||||
*/
|
||||
@ -2250,8 +2257,8 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if (list2 == null || list2.size() == 0) continue;
|
||||
for (Map<String, Object> map : list2) {
|
||||
if (map != null) {
|
||||
shapeIdMap.put((String)map.get("id"), model.getId());
|
||||
shapeNameMap.put((String)map.get("id"), (String)map.get("name"));
|
||||
shapeIdMap.put((String) map.get("id"), model.getId());
|
||||
shapeNameMap.put((String) map.get("id"), (String) map.get("name"));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2272,7 +2279,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if (list2 == null || list2.size() == 0) continue;
|
||||
for (Map<String, Object> map : list2) {
|
||||
if (map != null) {
|
||||
com.alibaba.fastjson.JSONObject attr = (com.alibaba.fastjson.JSONObject)map.get("attributes");
|
||||
com.alibaba.fastjson.JSONObject attr = (com.alibaba.fastjson.JSONObject) map.get("attributes");
|
||||
if (attr != null && !attr.isEmpty()) {
|
||||
if (attr.containsKey("attributesJsonArray")) {
|
||||
com.alibaba.fastjson.JSONArray attrJson = attr.getJSONArray("attributesJsonArray");
|
||||
@ -2288,25 +2295,25 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if ("".equals(value)) {
|
||||
continue;
|
||||
}
|
||||
if(!(value instanceof com.alibaba.fastjson.JSONArray)) {
|
||||
if (!(value instanceof com.alibaba.fastjson.JSONArray)) {
|
||||
com.alibaba.fastjson.JSONObject dataErrorObj = new com.alibaba.fastjson.JSONObject();
|
||||
dataErrorObj.put("msg", "模型源文件关系属性格式无法解析");
|
||||
dataErrorObj.put("id", model.getId());
|
||||
dataErrorObj.put("name", model.getName() +" "+ VersionUtil.getVersionStrV(model.getVersion()));
|
||||
dataErrorObj.put("name", model.getName() + " " + VersionUtil.getVersionStrV(model.getVersion()));
|
||||
dataErrorObj.put("shapeId", map.get("id"));
|
||||
dataErrorObj.put("shapeName", map.get("name"));
|
||||
dataErrorObj.put("attrId", id);
|
||||
dataError.add(dataErrorObj);
|
||||
continue;
|
||||
}
|
||||
com.alibaba.fastjson.JSONArray values = (com.alibaba.fastjson.JSONArray)value;
|
||||
com.alibaba.fastjson.JSONArray values = (com.alibaba.fastjson.JSONArray) value;
|
||||
|
||||
List<DesignerShapeRelationModel> relationModels = DesignerShapeRelationCache.getListByAttrId(model.getId(), (String)map.get("id"), id);
|
||||
List<DesignerShapeRelationModel> relationModels = DesignerShapeRelationCache.getListByAttrId(model.getId(), (String) map.get("id"), id);
|
||||
for (int j = 0; j < values.size(); j++) {
|
||||
String v = values.getString(j);
|
||||
boolean flag = true;
|
||||
for (DesignerShapeRelationModel designerShapeRelationModel : relationModels) {
|
||||
if(designerShapeRelationModel.getRelationShapeId().equals(v)) {
|
||||
if (designerShapeRelationModel.getRelationShapeId().equals(v)) {
|
||||
flag = false;
|
||||
break;
|
||||
}
|
||||
@ -2319,22 +2326,22 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
// 以下为关联信息
|
||||
object2.put("id", UUIDGener.getUUID());
|
||||
object2.put("fileId", model.getId());
|
||||
object2.put("shapeId", (String)map.get("id"));
|
||||
object2.put("shapeText", (String)map.get("name"));
|
||||
object2.put("shapeId", (String) map.get("id"));
|
||||
object2.put("shapeText", (String) map.get("name"));
|
||||
object2.put("attrId", id);
|
||||
object2.put("relationShapeId", v);
|
||||
|
||||
String relationFileId = "";
|
||||
String relationShapeText = "";
|
||||
if("rear_process".equals(id) || "lead_process".equals(id)) { // 前置流程后置流程
|
||||
if ("rear_process".equals(id) || "lead_process".equals(id)) { // 前置流程后置流程
|
||||
PALRepositoryModel model2 = PALRepositoryCache.getCache().get(v);
|
||||
if (model2 != null) { // model2为空跳过
|
||||
relationFileId = model2.getParentId();
|
||||
relationShapeText = model2.getName();
|
||||
}
|
||||
} else {//节点关联
|
||||
relationFileId = (String)shapeIdMap.get(v);
|
||||
relationShapeText = (String)shapeNameMap.get(v);
|
||||
relationFileId = (String) shapeIdMap.get(v);
|
||||
relationShapeText = (String) shapeNameMap.get(v);
|
||||
}
|
||||
if (relationFileId != null && !"".equals(relationFileId)) {
|
||||
count++;
|
||||
@ -2353,7 +2360,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
System.out.println("被删除个数" + count);
|
||||
if(count == 0) { // 关联关系正常
|
||||
if (count == 0) { // 关联关系正常
|
||||
ro.put("result", "normal");
|
||||
} else {
|
||||
ro.put("result", "exception");
|
||||
@ -2371,6 +2378,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 关联关系DB数据恢复
|
||||
*
|
||||
* @param lossData
|
||||
* @return
|
||||
*/
|
||||
@ -2378,7 +2386,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
com.alibaba.fastjson.JSONArray array = com.alibaba.fastjson.JSONArray.parseArray(lossData);
|
||||
int status = 0;
|
||||
if(!array.isEmpty() && array.size() > 0) {
|
||||
if (!array.isEmpty() && array.size() > 0) {
|
||||
List<DesignerShapeRelationModel> list = new ArrayList<>();
|
||||
for (int i = 0; i < array.size(); i++) {
|
||||
com.alibaba.fastjson.JSONObject object = array.getJSONObject(i);
|
||||
@ -2407,7 +2415,8 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if (status == 1) {
|
||||
ro.put("result", "ok");
|
||||
ro.put("msg", "没有需要恢复的数据");
|
||||
} if (status == 2) {
|
||||
}
|
||||
if (status == 2) {
|
||||
ro.put("result", "ok");
|
||||
ro.put("msg", "恢复成功");
|
||||
} else {
|
||||
@ -2419,6 +2428,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 手工保存流程时更新/删除图形的关联关系
|
||||
*
|
||||
* @param uuid 流程id
|
||||
* @param messages
|
||||
* @return
|
||||
@ -2452,6 +2462,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 保存节点的地址簿属性内容到关联表
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String saveAddressShapeData(String data) {
|
||||
@ -2469,7 +2480,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
// 保存新数据
|
||||
List<DesignerShapeRelationModel> modelList = new ArrayList<DesignerShapeRelationModel>();
|
||||
if (!UtilString.isEmpty(value)) {
|
||||
String [] values = value.split(" ");
|
||||
String[] values = value.split(" ");
|
||||
for (String str : values) {
|
||||
if (!UtilString.isEmpty(str)) {
|
||||
DesignerShapeRelationModel shapeRelationModel = new DesignerShapeRelationModel();
|
||||
@ -2500,6 +2511,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取关联的地址簿id
|
||||
*
|
||||
* @param objIds
|
||||
* @param shapeId
|
||||
* @return
|
||||
@ -2530,6 +2542,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取地址簿名称字符串
|
||||
*
|
||||
* @param objIds
|
||||
* @param shapeId
|
||||
* @param uuid
|
||||
@ -2583,6 +2596,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取aws平台的组织机构/岗位角色树和已选择的数据
|
||||
*
|
||||
* @param wsId
|
||||
* @param fileId
|
||||
* @param shapeId
|
||||
@ -2654,7 +2668,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
treeData.add(role);
|
||||
}
|
||||
|
||||
JSONArray depjsonArray=new JSONArray();
|
||||
JSONArray depjsonArray = new JSONArray();
|
||||
// 获取已保存数据
|
||||
JSONObject o = new JSONObject();
|
||||
Iterator<DesignerShapeRelationModel> modelIterator = DesignerShapeRelationCache.getByAttrId(fileId, shapeId, attrId);
|
||||
@ -2717,15 +2731,15 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
map.put("treeData", treeData);
|
||||
|
||||
/******************************自定义排序******************************************************/
|
||||
if(depjsonArray.size()>0 && depjsonArray.getJSONObject(0).getString("timestamp")!=null){
|
||||
depjsonArray.sort(Comparator.comparing(st ->((JSONObject)st).getString("timestamp")));
|
||||
if (depjsonArray.size() > 0 && depjsonArray.getJSONObject(0).getString("timestamp") != null) {
|
||||
depjsonArray.sort(Comparator.comparing(st -> ((JSONObject) st).getString("timestamp")));
|
||||
JSONObject jo = new JSONObject(new LinkedHashMap());
|
||||
for(int b=0;b<depjsonArray.size();b++){
|
||||
JSONObject onedata=depjsonArray.getJSONObject(b);
|
||||
for (int b = 0; b < depjsonArray.size(); b++) {
|
||||
JSONObject onedata = depjsonArray.getJSONObject(b);
|
||||
jo.put(onedata.getString("id"), onedata);
|
||||
}
|
||||
map.put("checkedList", jo);
|
||||
}else{
|
||||
} else {
|
||||
map.put("checkedList", o);
|
||||
}
|
||||
|
||||
@ -2739,6 +2753,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
/**
|
||||
* 获取aws平台树结构,单位为获取登录用户所属单位
|
||||
* 所有数据皆为未注销
|
||||
*
|
||||
* @param pid
|
||||
* @param uuid
|
||||
* @param type
|
||||
@ -2775,6 +2790,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
/**
|
||||
* 获取aws平台树结构,所有数据皆是当前人能够有权限看到的单位
|
||||
* 所有数据皆为未注销
|
||||
*
|
||||
* @param pid
|
||||
* @param uuid
|
||||
* @param type
|
||||
@ -2810,6 +2826,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取有效有权限的岗位
|
||||
*
|
||||
* @param me
|
||||
* @param pid
|
||||
* @param uuid
|
||||
@ -2848,6 +2865,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取有权限有效的岗位组
|
||||
*
|
||||
* @param me
|
||||
* @return
|
||||
*/
|
||||
@ -2885,6 +2903,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 根据角色组获取对应的角色
|
||||
*
|
||||
* @param me
|
||||
* @return
|
||||
*/
|
||||
@ -2910,7 +2929,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
obj.put("nocheck", !multiple);
|
||||
obj.put("type", "role");
|
||||
JSONObject iconFont = new JSONObject();
|
||||
iconFont.put("code",BpmOrgUtil.ROLE_ICON_CODE);
|
||||
iconFont.put("code", BpmOrgUtil.ROLE_ICON_CODE);
|
||||
iconFont.put("color", BpmOrgUtil.ROLE_ICON_COLOR);
|
||||
obj.put("iconFont", iconFont);
|
||||
result.add(obj);
|
||||
@ -2921,6 +2940,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取角色组
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public JSONArray getValidPermRoleGroup(UserContext me) {
|
||||
@ -2956,6 +2976,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取有效的部门的子部门、岗位角色、用户
|
||||
*
|
||||
* @param me
|
||||
* @param pid
|
||||
* @param uuid
|
||||
@ -3026,6 +3047,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取单位下部门
|
||||
*
|
||||
* @param me
|
||||
* @param pid
|
||||
* @param uuid
|
||||
@ -3114,6 +3136,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取个人有权限且有效的单位(包含二级管理员权限)
|
||||
*
|
||||
* @param me
|
||||
* @return
|
||||
*/
|
||||
@ -3155,6 +3178,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取岗位
|
||||
*
|
||||
* @param pid
|
||||
* @param uuid 此处uuid为岗位组名称
|
||||
* @return
|
||||
@ -3186,6 +3210,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取角色
|
||||
*
|
||||
* @param pid
|
||||
* @param uuid 此处uuid为角色组名称
|
||||
* @return
|
||||
@ -3205,7 +3230,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
obj.put("nocheck", !multiple);
|
||||
obj.put("type", "role");
|
||||
JSONObject iconFont = new JSONObject();
|
||||
iconFont.put("code",BpmOrgUtil.ROLE_ICON_CODE);
|
||||
iconFont.put("code", BpmOrgUtil.ROLE_ICON_CODE);
|
||||
iconFont.put("color", BpmOrgUtil.ROLE_ICON_COLOR);
|
||||
obj.put("iconFont", iconFont);
|
||||
data.add(obj);
|
||||
@ -3217,6 +3242,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取岗位分组
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public JSONArray getPositionGroupTree() {
|
||||
@ -3258,6 +3284,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取角色分组
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public JSONArray getRoleGroupTree() {
|
||||
@ -3299,6 +3326,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取部门下的部门和人员
|
||||
*
|
||||
* @param pid
|
||||
* @param uuid
|
||||
* @return
|
||||
@ -3364,6 +3392,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取单位下部门
|
||||
*
|
||||
* @param uuid
|
||||
* @return
|
||||
*/
|
||||
@ -3397,6 +3426,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取单位
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public JSONArray getCompanyTree() {
|
||||
@ -3427,6 +3457,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
/**
|
||||
* 获取子节点
|
||||
* 所有已注销的除外
|
||||
*
|
||||
* @param uuid
|
||||
* @param type
|
||||
* @return
|
||||
@ -3486,6 +3517,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 获取所有子部门/用户
|
||||
*
|
||||
* @param pid
|
||||
* @param set
|
||||
* @param data
|
||||
@ -3524,6 +3556,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
/**
|
||||
* 模糊查询
|
||||
* 查询部门/人员/角色/
|
||||
*
|
||||
* @param autoContent
|
||||
* @param wsId
|
||||
* @param ref
|
||||
@ -3695,6 +3728,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* 保存关联的AWS平台组织关联关系
|
||||
*
|
||||
* @param relationAwsOrg
|
||||
* @param shapeId
|
||||
* @param fileId
|
||||
@ -3738,6 +3772,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
/**
|
||||
* awsorg关联类型查询关联的aws组织名称
|
||||
*
|
||||
* @param fileId
|
||||
* @param shapeId
|
||||
* @param shapeName
|
||||
@ -3969,4 +4004,107 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据配置动态拼接建模导引前端代码
|
||||
*
|
||||
* @param methodId 方法id
|
||||
* @return {@link String}
|
||||
*/
|
||||
public String getModelingGuide(String methodId, String sid) {
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
JSONArray steps = new JSONArray();
|
||||
//轮播图的页面地址
|
||||
String url = "./w?sid=" + _uc.getSessionId() + "&cmd=com.actionsoft.apps.coe.pal_guide_carousel";
|
||||
String sql = "SELECT STEP,MODELTYPE,TITLE,POSITION,GUIDETARGET FROM BO_ACT_PAL_MODELING_GUIDANCE WHERE MODELTYPE=? ORDER BY STEP";
|
||||
List<RowMap> guideMaps = DBSql.getMaps(sql, methodId);
|
||||
for (int i = 0; i < guideMaps.size(); i++) {
|
||||
StringBuilder urlSb = new StringBuilder();
|
||||
urlSb.append("<div id='carousel'>");
|
||||
RowMap guideMap = guideMaps.get(i);
|
||||
JSONObject step = new JSONObject();
|
||||
JSONObject popover = new JSONObject();
|
||||
int finalI = i;
|
||||
guideMap.forEach((k, v) -> {
|
||||
if (Objects.equals(k, "GUIDETARGET")) {
|
||||
//导引作用对象
|
||||
step.put("element", v);
|
||||
} else if (Objects.equals(k, "TITLE")) {
|
||||
//标题
|
||||
popover.put("title", v);
|
||||
} else if (Objects.equals(k, "POSITION")) {
|
||||
//位置
|
||||
popover.put("position", v);
|
||||
} else if (Objects.equals(k, "MODELTYPE")) {
|
||||
//导引内容,轮播图html页面
|
||||
//<div id="carousel" ><iframe src="'+ url +'" style="height: 310px;width: 510px"></iframe></div>
|
||||
urlSb.append("<iframe src=")
|
||||
.append(url)
|
||||
.append("&step=" + finalI)
|
||||
.append("&modelType=" + v)
|
||||
.append(" ")
|
||||
.append("style='height: 310px;width: 510px'></iframe></div>");
|
||||
popover.put("description", urlSb.toString());
|
||||
//导引每一步的class,目前用不到
|
||||
/*}else{
|
||||
popover.put("className","step");
|
||||
}*/
|
||||
}
|
||||
});
|
||||
step.put("popover", popover);
|
||||
steps.add(step);
|
||||
|
||||
}
|
||||
ro.put("steps", steps);
|
||||
return ro.toString();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 建模导引轮播图页面
|
||||
*9
|
||||
* @param step 步骤
|
||||
* @param modelType 模型类型
|
||||
* @return {@link String}
|
||||
*/
|
||||
public String getModelingGuideCarousel(String step, String modelType) {
|
||||
Map<String, Object> macroLibraries = new HashMap<>();
|
||||
BO bo = SDK.getBOAPI().query("BO_ACT_PAL_MODELING_GUIDANCE").addQuery("step=", step).addQuery("MODELTYPE=" , modelType).detail();
|
||||
String boId = bo == null ? "" : bo.getId();
|
||||
JSONArray filePathArray = new JSONArray();
|
||||
//附件列表
|
||||
List<FormFile> formFiles = SDK.getBOAPI().getFiles(boId, "CONTENT");
|
||||
for (FormFile formFile : formFiles) {
|
||||
DCContext fileDCContext = SDK.getBOAPI().getFileDCContext(formFile);
|
||||
fileDCContext.setSession(_uc);
|
||||
String downloadURL = fileDCContext.getDownloadURL();
|
||||
JSONObject jo = new JSONObject();
|
||||
String fileName = fileDCContext.getFileName();
|
||||
//视频支持mp4类型
|
||||
if(fileName.contains("mp4")){
|
||||
jo.put("video" , downloadURL);
|
||||
}else if(fileName.contains("png") || fileName.contains("gif") || fileName.contains("jpg")){
|
||||
jo.put("picture" , downloadURL);
|
||||
}
|
||||
jo.put("picTitle" , fileName.split("\\.")[0]);
|
||||
filePathArray.add(jo);
|
||||
}
|
||||
macroLibraries.put("filePaths", filePathArray);
|
||||
return HtmlPageTemplate.merge(CoEConstant.APP_ID, "carousel.map.html", macroLibraries);
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查用户是否第一次创建模型
|
||||
*
|
||||
* @param methodId 模型类型
|
||||
* @return {@link String}
|
||||
*/
|
||||
public String checkUserFirstCreateModel(String methodId){
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
String sql = "SELECT COUNT(1) FROM APP_ACT_COE_PAL_REPOSITORY WHERE CREATEUSER=? AND PLMETHODID=?";
|
||||
String uid = _uc.getUID();
|
||||
int anInt = DBSql.getInt(sql, new Object[]{uid, methodId});
|
||||
ro.put("isFirst" , anInt > 0 ? false : true);
|
||||
return ro.toString();
|
||||
}
|
||||
}
|
||||
298
com.actionsoft.apps.coe.pal/template/page/carousel.map.html
Normal file
298
com.actionsoft.apps.coe.pal/template/page/carousel.map.html
Normal file
@ -0,0 +1,298 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="../commons/css/awsui.css">
|
||||
<script type='text/javascript' src='../commons/js/jquery/scripts/jquery.js'></script>
|
||||
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery-migrate.js"></script>
|
||||
<script type="text/javascript" src="../commons/js/awsui.js"></script>
|
||||
<script type="text/javascript" src="../commons/js/jquery/scripts/ui/aws.util.js"></script>
|
||||
<script type='text/javascript' src='../commons/js/public.js'></script>
|
||||
<script type="text/javascript">
|
||||
const filePaths = <#filePaths>;
|
||||
//$(document).ready(function () {
|
||||
window.addEventListener('load', function () {
|
||||
//拼接图片或视频
|
||||
$.each(filePaths, function(index, val) {
|
||||
if(val.video == undefined ){
|
||||
$(".focus").append("<li><div><h3 id='picTitle' >"+val.picTitle+"</h3></div>" +
|
||||
"<div style='top:5px;position: relative'><a href='#'><img src='"+val.picture+"' alt=''></a><div></li>");
|
||||
}else{
|
||||
$(".focus").append("<li><div><h3 id='picTitle' >"+val.picTitle+"</h3></div>" +
|
||||
"<div style='top:5px;position: relative'><video width='500' height='280' controls><source src="+val.video+" type='video/mp4'>您的浏览器不支持 video 标签。</video></div></li>");
|
||||
}
|
||||
});
|
||||
// 1.
|
||||
var arrowl = document.querySelector('.arrow-l');
|
||||
var arrowr = document.querySelector('.arrow-r');
|
||||
var focus = document.querySelector('.focus');
|
||||
// 2.
|
||||
// 效果1.鼠标经过轮播图模块,左右按钮显示,离开隐藏左右按钮。
|
||||
focus.addEventListener('mouseenter', function () {
|
||||
arrowl.style.display = 'block';
|
||||
arrowr.style.display = 'block';
|
||||
// clearInterval(timer);
|
||||
// timer = null; //清除定时器变量
|
||||
})
|
||||
focus.addEventListener('mouseleave', function () {
|
||||
arrowl.style.display = 'none';
|
||||
arrowr.style.display = 'none';
|
||||
/* timer = setInterval(function () {
|
||||
// 手动调用点击事件
|
||||
arrowr.click();
|
||||
}, 3000);*/
|
||||
})
|
||||
// 3.底部的小圆圈根据有几张图就有几个小圆圈来实行
|
||||
var ul = document.querySelector('.focus');
|
||||
var lis = focus.querySelectorAll('li');
|
||||
var circle = document.querySelector('.circle');
|
||||
var li = focus.querySelector('li');
|
||||
var liWidth = li.offsetWidth;
|
||||
// console.log(lis);只能得到4个节点
|
||||
//console.log(focus.children.length); //这样才能得到focus的孩子的长度有几个
|
||||
// 先对图片进行循环得到有几张图片
|
||||
for (var i = 0; i < lis.length; i++) { //第一个for循环是创建li
|
||||
var li = document.createElement('li');
|
||||
|
||||
// 记录小圆圈的索引号,通过自定义属性来做
|
||||
li.setAttribute('index', i);
|
||||
|
||||
// 把上面增加的li添加到ol中去
|
||||
circle.appendChild(li);
|
||||
li.addEventListener('click', function () {
|
||||
for (var i = 0; i < circle.children.length; i++) {
|
||||
//创建的ol中的li进行遍历获取
|
||||
// 排他思想
|
||||
circle.children[i].className = '';
|
||||
}
|
||||
this.className = 'current'; //一定写成this
|
||||
|
||||
// 想要效果:点击小圆点,移动图片 移动的是ul
|
||||
// 别移动的距离=小圆圈的索引号*图片的宽度(注意是负值从右往左走)
|
||||
// 当我们点击某个小li就获取到li的索引号
|
||||
var index = this.getAttribute('index');
|
||||
var li = focus.querySelector('li');
|
||||
// 解决bug1:当我们点击了某个li就拿到当前li的索引号给num
|
||||
// 解决bug2:当我们点击了某个li 就把li的索引号给yuan
|
||||
num = index;
|
||||
yuan = index;
|
||||
var liWidth = li.offsetWidth;
|
||||
animate(ul, -liWidth * index); //ul移动
|
||||
})
|
||||
|
||||
}
|
||||
//把第一个li的背景变为白色
|
||||
circle.children[0].className = 'current';
|
||||
|
||||
// 克隆第一张图片li放到ul最后
|
||||
var first = ul.children[0].cloneNode(true);
|
||||
ul.appendChild(first);
|
||||
|
||||
// 当点击左右按钮可以有轮播图切换效果
|
||||
var num = 0;
|
||||
// 效果:底部小圆圈跟随右侧按钮一起变化 设置一个全局变量计数(在点击事件外面定义)
|
||||
var yuan = 0;
|
||||
// flag节流阀
|
||||
var flag = true;
|
||||
|
||||
// 右侧按钮
|
||||
arrowr.addEventListener('click', function () {
|
||||
if (flag) {
|
||||
// flag = false; //关闭节流阀
|
||||
if (num == ul.children.length - 1) {
|
||||
ul.style.left = 0;
|
||||
num = 0; //无缝滚动效果 最后num=0回到起点第一张图
|
||||
}
|
||||
num++;
|
||||
animate(ul, -num * liWidth, function () {
|
||||
flag = true; //打开节流阀
|
||||
});
|
||||
// 效果:底部小圆圈跟随右侧按钮一起变化
|
||||
yuan++; //这个变量是控制小圆圈的播放
|
||||
// 如果yuan==4说明走到最后我们克隆的这张图片 我们就复原
|
||||
if (yuan == circle.children.length) {
|
||||
yuan = 0;
|
||||
}
|
||||
// 先清除其余小圆圈的current类名
|
||||
for (var i = 0; i < circle.children.length; i++) {
|
||||
circle.children[i].className = '';
|
||||
}
|
||||
circle.children[yuan].className = 'current';
|
||||
}
|
||||
})
|
||||
|
||||
// 左侧按钮
|
||||
arrowl.addEventListener('click', function () {
|
||||
debugger;
|
||||
if (flag) {
|
||||
// flag = false;
|
||||
if (num == ul.children.length - 1) {
|
||||
num = ul.children.length - 1;
|
||||
//无缝滚动效果 最后num=0回到起点第一张图
|
||||
ul.style.left = num * liWidth + 'px';
|
||||
}
|
||||
if(num <= 0){
|
||||
return;
|
||||
}
|
||||
num--;
|
||||
animate(ul, -num * liWidth, function () {
|
||||
flag = true;
|
||||
});
|
||||
// 效果:底部小圆圈跟随右侧按钮一起变化
|
||||
yuan--; //这个变量是控制小圆圈的播放
|
||||
// 如果yuan<0说明第一张图片,则小圆圈要改为第四个小圆圈(3)
|
||||
if (yuan < 0) {
|
||||
yuan = circle.children.length - 1;
|
||||
}
|
||||
// 先清除其余小圆圈的current类名
|
||||
for (var i = 0; i < circle.children.length; i++) {
|
||||
circle.children[i].className = '';
|
||||
}
|
||||
circle.children[yuan].className = 'current';
|
||||
}
|
||||
|
||||
})
|
||||
/* // 自动播放轮播图
|
||||
var timer = setInterval(function () {
|
||||
// 手动调用点击事件
|
||||
arrowr.click();
|
||||
}, 10000);*/
|
||||
})
|
||||
|
||||
function animate(obj, target,callback) {
|
||||
//让元素只有一个定时器在执行,需要清除以前的定时器
|
||||
clearInterval(obj.timer);
|
||||
obj.timer = setInterval(function () {
|
||||
var step = (target - obj.offsetLeft) / 10;
|
||||
step = step > 0 ? Math.ceil(step) : Math.floor(step);
|
||||
if (obj.offsetLeft == target) {
|
||||
//停止动画 本质是停止定时器
|
||||
clearInterval(obj.timer);
|
||||
//回调函数写到定时器结束位置
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
|
||||
}
|
||||
//把每次加1这个步长值改为一个慢慢变小的值
|
||||
obj.style.left = obj.offsetLeft + step + 'px';
|
||||
}, 15);
|
||||
}
|
||||
|
||||
//});
|
||||
</script>
|
||||
<style>
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul li {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ol li {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin: 10px auto;
|
||||
width: 500px;
|
||||
height: 300px;
|
||||
background-color: rgba(255, 192, 203, 0.09);
|
||||
}
|
||||
|
||||
#picTitle{
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 500px;
|
||||
text-align: center;
|
||||
color: #00b800;
|
||||
}
|
||||
.wrap ul {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 500%;
|
||||
/* 给ul盒子大一点就可以让li浮动起来 */
|
||||
}
|
||||
|
||||
.wrap ul li {
|
||||
float: left;
|
||||
/* margin-right: 10px; */
|
||||
width: 500px;
|
||||
height: 280px;
|
||||
}
|
||||
|
||||
.wrap ul li img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.arrow-l,
|
||||
.arrow-r {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 38%;
|
||||
text-align: center;
|
||||
width: 24px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
color: #00B83F;
|
||||
z-index: 999;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.arrow-r {
|
||||
position: absolute;
|
||||
top: 38%;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.circle {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 39%;
|
||||
height: 20px;
|
||||
width: 200px;
|
||||
/* background-color: skyblue; */
|
||||
}
|
||||
|
||||
.circle li {
|
||||
float: left;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
margin-right: 6px;
|
||||
background: rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
.circle .current {
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<!-- 左右箭头按钮 -->
|
||||
<a href="javascript:;" class='arrow-l'><</a>
|
||||
<a href="javascript:;" class='arrow-r'>></a>
|
||||
<!-- 图片用li来装--核心滚动区域 -->
|
||||
<ul class='focus'></ul>
|
||||
<!-- 底部小点点 -->
|
||||
<ol class='circle'>
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -72,6 +72,96 @@
|
||||
.toolbarExtend{
|
||||
height: 36px !important;
|
||||
}
|
||||
|
||||
/* 1. 样式重置 */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* 外层盒子样式,左右箭头和小圆点都要采用绝对定位,所以其父盒子要采用相对定位*/
|
||||
.banners {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 520px;
|
||||
height: 280px;
|
||||
margin: 100px auto;
|
||||
}
|
||||
/*滚动区 包裹所有图片的盒子 宽度要足够宽可以放下所有的图片*/
|
||||
.images {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 700%;
|
||||
}
|
||||
/* 对图片使用浮动 使其排列在一行*/
|
||||
.images li{
|
||||
float: left;
|
||||
}
|
||||
/* 图片大小会撑大盒子,设置图片大小 */
|
||||
.banners img {
|
||||
width: 520px;
|
||||
height: 280px;
|
||||
}
|
||||
/*左右箭头相同样式*/
|
||||
.prev,
|
||||
.next {
|
||||
display: none;
|
||||
position: absolute;
|
||||
/* 绝对定位的盒子垂直居中 */
|
||||
top: 50%;
|
||||
margin-top: -15px;
|
||||
width: 20px;
|
||||
height: 30px;
|
||||
background: rgba(0,0,0, .3);
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
/*左箭头靠左定位*/
|
||||
.prev {
|
||||
left: 0;
|
||||
/* 设置圆角 */
|
||||
border-top-right-radius: 15px;
|
||||
border-bottom-right-radius: 15px;
|
||||
}
|
||||
/*右箭头靠右定位*/
|
||||
.next {
|
||||
right: 0;
|
||||
/* 设置圆角 */
|
||||
border-top-left-radius: 15px;
|
||||
border-bottom-left-radius: 15px;
|
||||
}
|
||||
/* 小圆点外层盒子的样式 */
|
||||
.dots {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 50%;
|
||||
margin-left: -35px;
|
||||
height: 13px;
|
||||
background:rgba(255,255,255, .3);
|
||||
border-radius:7px;
|
||||
}
|
||||
/* 小圆点样式*/
|
||||
.dots li {
|
||||
float: left;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: #fff;
|
||||
border-radius: 50%;
|
||||
margin: 3px;
|
||||
}
|
||||
.driver-popover-title{
|
||||
color: #00b800;
|
||||
}
|
||||
/* 小圆点被点击的样式 */
|
||||
.dots .active {
|
||||
background-color: #ff5000;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="../commons/css/awsui.css">
|
||||
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/css/subprocess/iconfont.css">
|
||||
@ -89,6 +179,8 @@
|
||||
<script type="text/javascript" charset='UTF-8' src="../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/js/util/json.js"></script>
|
||||
<script type="text/javascript" src="../commons/js/jquery/scripts/ui/aws.util.js"></script>
|
||||
<script type='text/javascript' src='../commons/js/public.js'></script>
|
||||
<link href="../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/css/driver.min.css" rel="stylesheet">
|
||||
<script src="../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/js/driver.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
//公共信息
|
||||
var appId = "<#appId>";
|
||||
@ -372,9 +464,14 @@
|
||||
$('#bar_sort').css('display','none')
|
||||
}
|
||||
|
||||
//EPC和泳道图的时候显示流程模型属性列表按钮
|
||||
if (methodId !== 'process.epc' && methodId !== 'process.flowchart') {
|
||||
$('#processManifest').css('display','none')
|
||||
//EPC和泳道图的时候显示流程模型清单按钮
|
||||
if (methodId == 'process.epc' || methodId == 'process.flowchart') {
|
||||
$('#processManifest').css('display','block')
|
||||
}
|
||||
|
||||
//EPC、表单图、制度图、泳道图的时候显示导引回放按钮
|
||||
if (methodId == 'process.epc' || methodId == 'process.flowchart' || methodId == 'data.form' || methodId == 'control.policy') {
|
||||
$('#modelingGuide').css('display','block')
|
||||
}
|
||||
|
||||
if (methodId == 'data.form') {
|
||||
@ -416,7 +513,65 @@
|
||||
}
|
||||
//by bzp 默认不会选中形状所以隐藏~~
|
||||
$("#dock_btn_richtext").hide();
|
||||
checkUserFirstCreateModel();
|
||||
|
||||
});
|
||||
|
||||
//检查用户是否第一次创建对应类型的模型
|
||||
function checkUserFirstCreateModel(){
|
||||
$.ajax({
|
||||
url: "./jd?sid=" + sid + "&cmd=com.actionsoft.apps.coe.pal_guide_check_create&methodId=" + methodId,
|
||||
type: 'GET',
|
||||
success: function(data) {
|
||||
if(data.data.isFirst){
|
||||
//初始化建模导引
|
||||
initGuide();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//建模导引
|
||||
function initGuide(){
|
||||
$.ajax({
|
||||
url: "./jd?sid=" + sid + "&cmd=com.actionsoft.apps.coe.pal_modeling_guide&methodId=" + methodId,
|
||||
type: 'GET',
|
||||
success: function(data) {
|
||||
if(data.data.steps != undefined && data.data.steps != null) {
|
||||
const driver = new Driver({
|
||||
animate: true, // 是否开启动画
|
||||
opacity: 0.65, // 遮罩透明度
|
||||
padding: 10, // padding
|
||||
allowClose: true, // 点击遮罩是否可以关闭
|
||||
overlayClickNext: false, // 点击遮罩进行下一步
|
||||
doneBtnText: '结束', // 最后一共按钮的文本
|
||||
closeBtnText: '关闭', // 关闭按钮的文本
|
||||
//stageBackground: '#ffffff', // 突出元素的背景色
|
||||
nextBtnText: '下一步', // 下一步按钮的文本
|
||||
prevBtnText: '上一步', // 上一步按钮的文本
|
||||
//showButtons: false, // 不显示控制按钮
|
||||
//keyboardControl: true, // 是否允许通过键盘的左右键来控制
|
||||
//scrollIntoViewOptions: {}, // 滚动视图配置,暂时不知道如何使用
|
||||
onHighlightStarted: (Element) => {
|
||||
}, // 元素高亮开始事件
|
||||
onHighlighted: (Element) => {
|
||||
}, // 元素高亮事件
|
||||
onDeselected: (Element) => {
|
||||
}, // 取消选定事件
|
||||
onReset: (Element) => {
|
||||
}, //重置事件
|
||||
onNext: (Element) => {
|
||||
}, // 下一步
|
||||
onPrevious: (Element) => {
|
||||
}, //上一步
|
||||
});
|
||||
driver.defineSteps(data.data.steps);
|
||||
driver.start();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
function openUpFile() {
|
||||
var linkerIds = Utils.getSelectedLinkerIds();
|
||||
var linkerCount = linkerIds.length;
|
||||
@ -620,6 +775,21 @@
|
||||
}]
|
||||
});
|
||||
}
|
||||
function getDocHeight(doc) {
|
||||
doc = doc || document;
|
||||
var body = doc.body;
|
||||
var html = doc.documentElement;
|
||||
var height = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
|
||||
return height;
|
||||
}
|
||||
function setIframeHeight(id) {
|
||||
var ifrm = document.getElementById(id);
|
||||
var doc = ifrm.contentDocument ? ifrm.contentDocument : ifrm.contentWindow.document;
|
||||
ifrm.style.visibility = 'hidden';
|
||||
ifrm.style.height = "10px"; // reset to minimal height ...
|
||||
ifrm.style.height = getDocHeight(doc) + 4 + "px";
|
||||
ifrm.style.visibility = 'visible';
|
||||
}
|
||||
//渲染形状配置信息
|
||||
/*function painterShapeConfig(dataArray, shapeId, key) {
|
||||
for (var i = 0; i < dataArray.length; i++) {
|
||||
@ -823,10 +993,14 @@
|
||||
<div id="QuickPublishing" awsui-qtip='快捷发布' class="toolbar_button">
|
||||
<div class="ico quickPublish"></div>
|
||||
</div>
|
||||
<div id="processManifest" awsui-qtip='查看活动清单' class="toolbar_button">
|
||||
<div id="processManifest" awsui-qtip='查看活动清单' class="toolbar_button" style="display: none">
|
||||
<!--<i class="ico awsui-iconfont"></i>-->
|
||||
<div class="ico processManifest"></div>
|
||||
</div>
|
||||
<div id="modelingGuide" awsui-qtip='导引回放' class="toolbar_button" style="display: none">
|
||||
<!--<i class="ico awsui-iconfont"></i>-->
|
||||
<div class="ico modelingGuide"></div>
|
||||
</div>
|
||||
<!-- <div id="bar_import" awsui-qtip='导入' class="toolbar_button" style="<#importStyle>">
|
||||
<div class="ico ico_import"></div>
|
||||
</div> -->
|
||||
|
||||
@ -286,10 +286,17 @@ $(function() {
|
||||
* 流程清单列表按钮
|
||||
*/
|
||||
$("#processManifest").off("click").on("click", function () {
|
||||
debugger;
|
||||
getProcessManifestInfo();
|
||||
});
|
||||
|
||||
/**
|
||||
* 导引回放按钮
|
||||
*/
|
||||
$("#modelingGuide").off("click").on("click", function () {
|
||||
initGuide();
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* 获取流程列表信息,并跳转到dw数据试图
|
||||
*/
|
||||
|
||||
@ -223,6 +223,12 @@
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.ico.modelingGuide{
|
||||
background-position: 0px 0px;
|
||||
background: url(../images/guide.png) no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.ico.extend_activityNoDisable{
|
||||
background-position: 0px 0px;
|
||||
background: url(../images/activityNoDisable.png) no-repeat;
|
||||
|
||||
224
com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/css/driver.min.css
vendored
Normal file
224
com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/css/driver.min.css
vendored
Normal file
@ -0,0 +1,224 @@
|
||||
div#driver-popover-item {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
color: #2d2d2d;
|
||||
margin: 0;
|
||||
padding: 15px;
|
||||
border-radius: 5px;
|
||||
min-width: 250px;
|
||||
//max-width: 300px;
|
||||
box-shadow: 0 1px 10px rgba(0, 0, 0, .4);
|
||||
z-index: 1000000000
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip {
|
||||
border: 5px solid #fff;
|
||||
content: "";
|
||||
position: absolute
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.bottom {
|
||||
bottom: -10px;
|
||||
border-color: #fff transparent transparent
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.bottom.position-center {
|
||||
left: 49%
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.bottom.position-right {
|
||||
right: 20px
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.left {
|
||||
left: -10px;
|
||||
top: 10px;
|
||||
border-color: transparent #fff transparent transparent
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.left.position-center {
|
||||
top: 46%
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.left.position-bottom {
|
||||
top: auto;
|
||||
bottom: 20px
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.right {
|
||||
right: -10px;
|
||||
top: 10px;
|
||||
border-color: transparent transparent transparent #fff
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.right.position-center {
|
||||
top: 46%
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.right.position-bottom {
|
||||
top: auto;
|
||||
bottom: 20px
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.top {
|
||||
top: -10px;
|
||||
border-color: transparent transparent #fff
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.top.position-center {
|
||||
left: 49%
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.top.position-right {
|
||||
right: 20px
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-tip.mid-center {
|
||||
display: none
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-footer {
|
||||
display: block;
|
||||
margin-top: 10px
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-footer button {
|
||||
display: inline-block;
|
||||
padding: 3px 10px;
|
||||
border: 1px solid #d4d4d4;
|
||||
text-decoration: none;
|
||||
text-shadow: 1px 1px 0 #fff;
|
||||
color: #2d2d2d;
|
||||
font: 11px/normal sans-serif;
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
background-color: #f1f1f1;
|
||||
border-radius: 2px;
|
||||
zoom: 1;
|
||||
line-height: 1.3
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-footer button.driver-disabled {
|
||||
color: grey;
|
||||
cursor: default;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-footer .driver-close-btn {
|
||||
float: left
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-footer .driver-btn-group, div#driver-popover-item .driver-popover-footer .driver-close-only-btn {
|
||||
float: right
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-title {
|
||||
font: 19px/normal sans-serif;
|
||||
margin: 0 0 5px;
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
position: relative;
|
||||
line-height: 1.5;
|
||||
zoom: 1
|
||||
}
|
||||
|
||||
div#driver-popover-item .driver-popover-description {
|
||||
margin-bottom: 0;
|
||||
font: 14px/normal sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #2d2d2d;
|
||||
font-weight: 400;
|
||||
zoom: 1
|
||||
}
|
||||
|
||||
.driver-clearfix:after, .driver-clearfix:before {
|
||||
content: "";
|
||||
display: table
|
||||
}
|
||||
|
||||
.driver-clearfix:after {
|
||||
clear: both
|
||||
}
|
||||
|
||||
.driver-stage-no-animation {
|
||||
-webkit-transition: none !important;
|
||||
-moz-transition: none !important;
|
||||
-ms-transition: none !important;
|
||||
-o-transition: none !important;
|
||||
transition: none !important;
|
||||
background: transparent !important;
|
||||
outline: 5000px solid rgba(0, 0, 0, .75)
|
||||
}
|
||||
|
||||
div#driver-page-overlay {
|
||||
background: #000;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
zoom: 1;
|
||||
filter: alpha(opacity=75);
|
||||
opacity: .75;
|
||||
z-index: 100002 !important
|
||||
}
|
||||
|
||||
div#driver-highlighted-element-stage, div#driver-page-overlay {
|
||||
top: 0;
|
||||
left: 0;
|
||||
-webkit-transition: all .3s;
|
||||
-moz-transition: all .3s;
|
||||
-ms-transition: all .3s;
|
||||
-o-transition: all .3s;
|
||||
transition: all .3s
|
||||
}
|
||||
|
||||
div#driver-highlighted-element-stage {
|
||||
position: absolute;
|
||||
height: 50px;
|
||||
width: 300px;
|
||||
background: #fff;
|
||||
z-index: 100003 !important;
|
||||
display: none;
|
||||
border-radius: 2px
|
||||
}
|
||||
|
||||
.driver-highlighted-element {
|
||||
z-index: 100004 !important
|
||||
}
|
||||
|
||||
.driver-position-relative {
|
||||
position: relative !important
|
||||
}
|
||||
|
||||
.driver-fix-stacking {
|
||||
z-index: auto !important;
|
||||
opacity: 1 !important;
|
||||
-webkit-transform: none !important;
|
||||
-moz-transform: none !important;
|
||||
-ms-transform: none !important;
|
||||
-o-transform: none !important;
|
||||
transform: none !important;
|
||||
-webkit-filter: none !important;
|
||||
-moz-filter: none !important;
|
||||
-ms-filter: none !important;
|
||||
-o-filter: none !important;
|
||||
filter: none !important;
|
||||
-webkit-perspective: none !important;
|
||||
-moz-perspective: none !important;
|
||||
-ms-perspective: none !important;
|
||||
-o-perspective: none !important;
|
||||
perspective: none !important;
|
||||
-webkit-transform-style: flat !important;
|
||||
-moz-transform-style: flat !important;
|
||||
-ms-transform-style: flat !important;
|
||||
transform-style: flat !important;
|
||||
-webkit-transform-box: border-box !important;
|
||||
-moz-transform-box: border-box !important;
|
||||
-ms-transform-box: border-box !important;
|
||||
-o-transform-box: border-box !important;
|
||||
transform-box: border-box !important;
|
||||
will-change: unset !important
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 553 B |
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user