GPT代码更新

This commit is contained in:
zhaol 2024-12-28 09:20:31 +08:00
parent be33c093e6
commit 691fd5e12d
13 changed files with 479 additions and 0 deletions

View File

@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<boModel>
<id>923b1892-49bc-4fe5-a2e6-c726f0e98330</id>
<createUser>admin</createUser>
<createTime>2024-10-22 17:52:41</createTime>
<updateUser>admin</updateUser>
<updateTime>2024-10-22 17:53:11</updateTime>
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGrmiV4BpfjlIZAj2W1Tysw4t3rnNRJDNqxA+ptbgb4F0MQa/OMnz/yDB9wxEAjbMJm</signature>
<managed>false</managed>
<title>GPT文件</title>
<name>BO_EU_GPT_DOCFILE</name>
<collection>false</collection>
<system>false</system>
<deleted>false</deleted>
<categoryName>GPT文件</categoryName>
<administrator>admin</administrator>
<entityType>TABLE</entityType>
<viewType></viewType>
<viewSql></viewSql>
<securityLevel>0</securityLevel>
<target>_local</target>
<itemProps></itemProps>
<boItems>
<boItem>
<id>c6848501-42a6-49d4-ae50-cffaa2934da1</id>
<name>PLID</name>
<title>模型ID</title>
<columnType>TEXT</columnType>
<length>128</length>
<nullable>true</nullable>
<defaultValue></defaultValue>
<columnWidth>100</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>7b819ec5-8839-4f22-b419-145d4915c134</id>
<name>DOCID</name>
<title>文档ID</title>
<columnType>TEXT</columnType>
<length>128</length>
<nullable>true</nullable>
<defaultValue></defaultValue>
<columnWidth>100</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>e73c993e-7ba9-46ea-9a46-bbcb51d8f8fb</id>
<name>AWS_IN_4C8AE127EC47</name>
<type>INDEX</type>
<boItems>BINDID</boItems>
</boIndex>
</boIndexs>
<boRelations/>
<hashFields></hashFields>
</boModel>

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AWSDWModel>
<id>obj_81b62a99ee9c42318e72bf9671e640f6</id>
<createUser>admin</createUser>
<createTime>2024-10-22 17:54:25</createTime>
<updateUser>admin</updateUser>
<updateTime>2024-10-22 17:54:35</updateTime>
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGrK2w3Kbc30SpZfi4WP6HiSklLVoMAPygVebtFG8P3vsHaj243pyn/qbHhvF2lNdJg</signature>
<managed>false</managed>
<version>1.0</version>
<processGroupId>obj_81b62a99ee9c42318e72bf9671e640f6</processGroupId>
<processGroupName></processGroupName>
<categoryName>GPT文件</categoryName>
<dwType>1</dwType>
<processAdministrator>admin</processAdministrator>
<title id="obj_187c51bb4bc649538f3e215688d5d731" label="GPT文件" extendcode="" event=""/>
<dataView id="obj_e4fabc98d65540bc86a3287c9e1a9b41" 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_444713855e0044578a437341770737a5" isshow="true" extendcode="" event="">
<button id="obj_b3552ddbde914ba3a242e3711988ecf1" refbuttonid="save" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="1" mobileShow="false" event="" selectShow="false"/>
<button id="obj_773c30c6af2b46d0b2388736a18c9886" refbuttonid="new" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="2" mobileShow="false" event="" selectShow="false"/>
<button id="obj_255d3fec0ab04245b12ad13e2ecca6c3" refbuttonid="delete" cls="" fontColor="" bgColor="" security="" isshow="false" orderindex="3" mobileShow="false" event="" selectShow="true"/>
<button id="obj_b752e886b12840878e5ae9b7d4cd309b" refbuttonid="print" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="4" mobileShow="false" event="" selectShow="false"/>
<button id="obj_e933e980932f441ab61d7bfa16361904" refbuttonid="refresh" cls="" fontColor="" bgColor="" security="" isshow="true" orderindex="5" mobileShow="false" event="" selectShow="false"/>
<button id="obj_dc7b1d61c6e540b28d9163521978eaaf" refbuttonid="exportDWData" cls="" fontColor="" bgColor="" security="" isshow="false" orderindex="6" mobileShow="false" event="" selectShow="false"/>
</toolbar>
<searcher id="obj_d025fe0c60774cfe93fbc715c060012d" isshow="true" layoutType="tile" tdGroup="4" tileLayout="y" textCls="" dwLeftCls="" dwRightCls="" extendcode="" event="" xconditionEvent="" tileOpen="false"/>
<navTree id="obj_3ad49be7d541428bbda10c6777b93639" isshow="false" type="" rootcls="" leafcls="" ismultiple="false" isexpanded="true" orderindex="" event=""/>
<layout id="obj_4c087156f3ba482ca8b216a5e009cccc" label="" classname="com.actionsoft.bpms.dw.exec.layout.LayoutA" event=""/>
<datagrid id="obj_607936e377674c4387ffc62138e1df89" isshow="true" autoSearch="true" customSet="true" select="false" datasource="bo:BO_EU_GPT_DOCFILE" 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="" extendsql="" identifier="_ID" extend1="" multiHeader="">
<dataBaseConn></dataBaseConn>
<freezeField></freezeField>
<column id="c8e1dfb4-399a-47ad-a816-720b2caf7c36" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="150" colALias="" colTableAlias="" colTable="BO_EU_GPT_DOCFILE" length="128" required="1" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="PLID" label="模型ID" orderindex="0" 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="23016c19-e933-4e5b-bc03-67a96d94c248" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="150" colALias="" colTableAlias="" colTable="BO_EU_GPT_DOCFILE" length="128" required="1" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="DOCID" label="文档ID" orderindex="1" 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="9ffce52d-c21e-4caf-aa3c-007122f45b2c" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120" colALias="" colTableAlias="" colTable="BO_EU_GPT_DOCFILE" length="36" required="0" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_ID" label="业务表ID" orderindex="2" 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="15e56f20-cca9-4343-805d-cac57d0b89b4" sort="" isfilter="false" bgcolor="" fontcolor="" fontsize="12px" width="120" colALias="" colTableAlias="" colTable="BO_EU_GPT_DOCFILE" length="36" required="1" align="left" showrule="" upshowrule="" upDataClassName="" extend1="" extend2="" security="" securityLevel="0" event="" field="_BINDID" label="流程实例ID" orderindex="3" colbehaviortarget="" ishidden="true" export="false" backHide="true" isusedvalue="true" tableheadsort="false" colrefbehaviorid="" columnAction="" datatype="TEXT" handleType="1" boType="" count="false" countType="" colorFullNote="false" colorFullNoteMap=""/>
<dynamicRule></dynamicRule>
</datagrid>
<reportSetting></reportSetting>
<chartSetting></chartSetting>
</dataView>
<userextendbuttons/>
<userextendbehaviors/>
<iconFontCode></iconFontCode>
<iconFontColor></iconFontColor>
</AWSDWModel>

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<formModel>
<id>d550f28c-46c0-47eb-8b65-3a4e18300b85</id>
<createUser>admin</createUser>
<createTime>2024-10-22 17:54:09</createTime>
<updateUser>admin</updateUser>
<updateTime>2024-10-22 17:54:13</updateTime>
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGrfcoDoZgCB9Ozgipvw6ahh7G0drkvfMrJXMOYu7GRX0eItOvnPs5dAwD5ppSlPpGu</signature>
<managed>false</managed>
<title>GPT文件</title>
<deleted>false</deleted>
<categoryName>GPT文件</categoryName>
<administrator>admin</administrator>
<defaultLanguage></defaultLanguage>
<url></url>
<urlHeight></urlHeight>
<qrCodeLink></qrCodeLink>
<formItems>
<formItem>
<id>73f6dea2-d9a0-42d6-865a-229bccdff55e</id>
<title>GPT文件</title>
<templateFile>{"tablet":"GPT文件.htm","pc":"GPT文件-GPT文件.htm","mobile":"GPT文件-GPT文件_m.htm"}</templateFile>
<grid>false</grid>
<gridSetting></gridSetting>
<orderBy></orderBy>
<pageLimit>0</pageLimit>
<boModelId>923b1892-49bc-4fe5-a2e6-c726f0e98330</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,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<awsScheduleModel>
<id>9295a434-3e90-4b12-a185-f405c15fab5b</id>
<createUser>admin</createUser>
<createTime>2024-12-26 15:04:55</createTime>
<updateUser></updateUser>
<updateTime>2024-12-26 15:04:55</updateTime>
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGryufla2cx+V60ZHTGHjCKwmUll2FzJEdjcUF/GXuRdTjzpuX+wJ6to55vWYNtFbH5</signature>
<managed>false</managed>
<name>更新binidid</name>
<group>DEFAULT</group>
<desc></desc>
<disabled>false</disabled>
<system>false</system>
<classz>com.awspaas.user.apps.gpt_interface.job.updatebinidid</classz>
<createDate>2024-12-26T15:04:55+08:00</createDate>
<triggerRule>6::0</triggerRule>
<userParam></userParam>
<lastToken></lastToken>
<concurrent>false</concurrent>
<categoryName>未分类</categoryName>
<stateful>false</stateful>
<notificationEvent></notificationEvent>
<notificationList></notificationList>
<notificationTemplate></notificationTemplate>
</awsScheduleModel>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<awsScheduleModel>
<id>9ac6074a-8a55-4b90-844c-bef5ee794aad</id>
<createUser>admin</createUser>
<createTime>2024-12-27 13:04:28</createTime>
<updateUser></updateUser>
<updateTime>2024-12-27 13:06:22</updateTime>
<signature>tGOmxiTgjT/77UoYpSlq8Vc+hHPRoJWHdZexXc7zEpYuMNdhvSICeJnlc/RzRHGrmodYWPhUSaTD3uIClBq/YG4f8ThxAhd3Ur904XtUCpyOcf9bQnDEN0ZP+6+ooaoT</signature>
<managed>false</managed>
<name>查询</name>
<group>DEFAULT</group>
<desc></desc>
<disabled>false</disabled>
<system>false</system>
<classz>com.awspaas.user.apps.gpt_interface.job.getcontent</classz>
<createDate>2024-12-27T13:04:28+08:00</createDate>
<triggerRule>6::0</triggerRule>
<userParam></userParam>
<lastToken></lastToken>
<concurrent>false</concurrent>
<categoryName>未分类</categoryName>
<stateful>false</stateful>
<notificationEvent></notificationEvent>
<notificationList></notificationList>
<notificationTemplate></notificationTemplate>
</awsScheduleModel>

View File

@ -0,0 +1 @@
{"versionId":"obj_08d91b102a514d49b5b42ed439de94c4","chartId":"obj_08d91b102a514d49b5b42ed439de94c4","userIds":["admin"],"messages":[],"userNames":"管理员","remark":"","updateTime":"2024-10-22 17:54:25","definitionId":"obj_08d91b102a514d49b5b42ed439de94c4"}

View File

@ -0,0 +1,58 @@
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>GPT文件</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">GPT文件</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="PLID" class="aws-form-ux-label">模型ID</label></td>
<td class="aws-form-ux-content">[#PLID]</td>
</tr>
<tr>
<td class="awsui-ux-title"><label for="DOCID" class="aws-form-ux-label">文档ID</label></td>
<td class="aws-form-ux-content">[#DOCID]</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>GPT文件</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'> GPT文件 </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='PLIDLabel' for='PLID'>模型ID</label></td><td class='aws-form-ux-content'>[#PLID]</td></tr><tr><td class='awsui-ux-title'><label id='DOCIDLabel' for='DOCID'>文档ID</label></td><td class='aws-form-ux-content'>[#DOCID]</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

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>模型文件</title>
<!-- JQuery -->
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.textchange.js"></script>
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.mousewheel.js"></script>
<!-- AWS UI -->
<link rel="stylesheet" type="text/css" href="../commons/css/awsui.css">
<script type="text/javascript" src="../commons/js/awsui.js"></script>
</script>
<script type="text/javascript">
var repositoryId = '<#repositoryId>';
var linkUrl='<#linkUrl>';
var taskId='<taskId>';
</script>
</head>
<body>
</body>
<script>
$(function () {
var sid = window.opener.parent.sid;
alert(sid);
console.log(parentParam1); // 输出父窗口的 param1 值
location.href ="https://bpm.yili.com:8088/portal/r/w?cmd=com.actionsoft.apps.coe.pal.publisher_publish_file_open&uuid="+repositoryId+"&sid="+sid+"&taskId="+taskId;
})
</script>
<script>
</script>
</html>

View File

@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>模型文件</title>
<!-- JQuery -->
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.textchange.js"></script>
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.mousewheel.js"></script>
<!-- AWS UI -->
<link rel="stylesheet" type="text/css" href="../commons/css/awsui.css">
<script type="text/javascript" src="../commons/js/awsui.js"></script>
</script>
<script type="text/javascript">
var repositoryId = '<#repositoryId>';
var taskId='<taskId>';
</script>
</head>
<body>
</body>
<script>
$(function () {
var sid = window.opener.parent.sid;
location.href = "http://10.60.143.183:8088/portal/r/w?cmd=com.actionsoft.apps.coe.pal.publisher_publish_file_open&uuid="+repositoryId+"&sid="+sid+"&taskId="+taskId;
})
</script>
<script>
window.addEventListener('message', (event) => {
// 检查消息来源,出于安全考虑
if (event.origin !== 'http://your-parent-page-origin.com') {
return; // 忽略来自不受信任来源的消息
}
// 处理接收到的数据
alert(event.data);
console.log('Received message:', );
// 你可以在这里更新iframe中的内容或执行其他操作
});
</script>
</html>