建模导引功能

This commit is contained in:
wangpf 2023-06-14 18:01:39 +08:00
parent 99c43f7571
commit 64792581d0
17 changed files with 5050 additions and 3674 deletions

View File

@ -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>

View File

@ -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="[{&quot;btnName&quot;:&quot;&quot;,&quot;formDefId&quot;:&quot;obj_c4b68176b3084b63a57461d17f3d76b6|8b4d5d27-f539-4c5b-a62c-4a342974fae6&quot;,&quot;formName&quot;:&quot;建模导引配置&quot;,&quot;formExcelShowName&quot;:&quot;建模导引配置&quot;,&quot;maxRow&quot;:&quot;20000&quot;,&quot;javaEvents&quot;:[],&quot;enableAddImport&quot;:true,&quot;enableupdateimport&quot;:false,&quot;requiredImport&quot;:false,&quot;importStrategy&quot;:{&quot;addImport&quot;:{&quot;strategybase&quot;:&quot;maintainable&quot;,&quot;boModels&quot;:[{&quot;boDefName&quot;:&quot;BO_ACT_PAL_MODELING_GUIDANCE&quot;,&quot;boItems&quot;:[{&quot;name&quot;:&quot;STEP&quot;,&quot;title&quot;:&quot;步骤&quot;},{&quot;name&quot;:&quot;MODELTYPE&quot;,&quot;title&quot;:&quot;模型类型&quot;},{&quot;name&quot;:&quot;TITLE&quot;,&quot;title&quot;:&quot;标题&quot;},{&quot;name&quot;:&quot;POSITION&quot;,&quot;title&quot;:&quot;位置&quot;},{&quot;name&quot;:&quot;GUIDETARGET&quot;,&quot;title&quot;:&quot;导引作用对象&quot;}]}]}}}]" 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="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;0:第1步|1:第2步|2:第3步|3:第4步|4:第5步|5:第6步|6:第7步&quot;,&quot;showAdv&quot;: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="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;process.epc:EPC|process.flowchart:泳道图|control.policy:制度图|data.form:表单图&quot;,&quot;showAdv&quot;: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="{&quot;type&quot;:&quot;NORMAL&quot;,&quot;cons&quot;:&quot;left:左|right:右|top:上|bottom:下&quot;,&quot;showAdv&quot;: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="{&quot;type&quot;: &quot;org&quot;,&quot;orgtype&quot;: &quot;user&quot;}" 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="{&quot;type&quot;: &quot;org&quot;,&quot;orgtype&quot;: &quot;user&quot;}" 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>

View File

@ -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>

View File

@ -0,0 +1 @@
{"versionId":"obj_c4b68176b3084b63a57461d17f3d76b6","chartId":"obj_c4b68176b3084b63a57461d17f3d76b6","userIds":["admin"],"messages":[],"userNames":"管理员","remark":"","updateTime":"2023-06-09 18:52:09","definitionId":"obj_c4b68176b3084b63a57461d17f3d76b6"}

View File

@ -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>

View File

@ -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>

View File

@ -3546,4 +3546,43 @@ public class CoEPALController {
return web.deleteLeadRearRelationData(uuid, data); 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);
}
} }

View 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'>&lt</a>
<a href="javascript:;" class='arrow-r'>&gt</a>
<!-- 图片用li来装--核心滚动区域 -->
<ul class='focus'></ul>
<!-- 底部小点点 -->
<ol class='circle'>
</ol>
</div>
</body>
</html>

View File

@ -72,6 +72,96 @@
.toolbarExtend{ .toolbarExtend{
height: 36px !important; 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> </style>
<link rel="stylesheet" href="../commons/css/awsui.css"> <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"> <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" 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/jquery/scripts/ui/aws.util.js"></script>
<script type='text/javascript' src='../commons/js/public.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"> <script type="text/javascript">
//公共信息 //公共信息
var appId = "<#appId>"; var appId = "<#appId>";
@ -372,9 +464,14 @@
$('#bar_sort').css('display','none') $('#bar_sort').css('display','none')
} }
//EPC和泳道图的时候显示流程模型属性列表按钮 //EPC和泳道图的时候显示流程模型清单按钮
if (methodId !== 'process.epc' && methodId !== 'process.flowchart') { if (methodId == 'process.epc' || methodId == 'process.flowchart') {
$('#processManifest').css('display','none') $('#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') { if (methodId == 'data.form') {
@ -416,7 +513,65 @@
} }
//by bzp 默认不会选中形状所以隐藏~~ //by bzp 默认不会选中形状所以隐藏~~
$("#dock_btn_richtext").hide(); $("#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() { function openUpFile() {
var linkerIds = Utils.getSelectedLinkerIds(); var linkerIds = Utils.getSelectedLinkerIds();
var linkerCount = linkerIds.length; 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) { /*function painterShapeConfig(dataArray, shapeId, key) {
for (var i = 0; i < dataArray.length; i++) { for (var i = 0; i < dataArray.length; i++) {
@ -823,10 +993,14 @@
<div id="QuickPublishing" awsui-qtip='快捷发布' class="toolbar_button"> <div id="QuickPublishing" awsui-qtip='快捷发布' class="toolbar_button">
<div class="ico quickPublish"></div> <div class="ico quickPublish"></div>
</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">&#xe682;</i>--> <!--<i class="ico awsui-iconfont">&#xe682;</i>-->
<div class="ico processManifest"></div> <div class="ico processManifest"></div>
</div> </div>
<div id="modelingGuide" awsui-qtip='导引回放' class="toolbar_button" style="display: none">
<!--<i class="ico awsui-iconfont">&#xe682;</i>-->
<div class="ico modelingGuide"></div>
</div>
<!-- <div id="bar_import" awsui-qtip='导入' class="toolbar_button" style="<#importStyle>"> <!-- <div id="bar_import" awsui-qtip='导入' class="toolbar_button" style="<#importStyle>">
<div class="ico ico_import"></div> <div class="ico ico_import"></div>
</div> --> </div> -->

View File

@ -286,10 +286,17 @@ $(function() {
* 流程清单列表按钮 * 流程清单列表按钮
*/ */
$("#processManifest").off("click").on("click", function () { $("#processManifest").off("click").on("click", function () {
debugger;
getProcessManifestInfo(); getProcessManifestInfo();
}); });
/**
* 导引回放按钮
*/
$("#modelingGuide").off("click").on("click", function () {
initGuide();
});
/** /**
* 获取流程列表信息并跳转到dw数据试图 * 获取流程列表信息并跳转到dw数据试图
*/ */

View File

@ -223,6 +223,12 @@
background-size: contain; background-size: contain;
} }
.ico.modelingGuide{
background-position: 0px 0px;
background: url(../images/guide.png) no-repeat;
background-size: contain;
}
.ico.extend_activityNoDisable{ .ico.extend_activityNoDisable{
background-position: 0px 0px; background-position: 0px 0px;
background: url(../images/activityNoDisable.png) no-repeat; background: url(../images/activityNoDisable.png) no-repeat;

View 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