流程发布代码补全

This commit is contained in:
zhal 2022-07-19 15:19:43 +08:00
parent 22860eae1a
commit fe06430d4b
9 changed files with 303 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<title>demo</title>
<style></style>
<script>var sid = '<#sid>';
var url = window.location.href;
var portalUrl = url.substring(0, url.indexOf('?'));</script>
<link href=../apps/com.actionsoft.apps.coe.pal.publisher/dist/static/css/app.9457c8466bc9dd2592dfa47091fb8c98.css rel=stylesheet>
</head>
<body style="overflow-y: hidden">
<div id=app></div>
<script type=text/javascript src=../apps/com.actionsoft.apps.coe.pal.publisher/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js></script>
<script type=text/javascript src=../apps/com.actionsoft.apps.coe.pal.publisher/dist/static/js/vendor.601cec7ea50140cb13c1.js></script>
<script type=text/javascript src=../apps/com.actionsoft.apps.coe.pal.publisher/dist/static/js/app.58bae2ffdabdb6f6b841.js></script>
</body>
</html>

View File

@ -0,0 +1,230 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Publisher Home</title>
<!-- js -->
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
<script type="text/javascript" src="../commons/js/awsui.js"></script>
<script src="../commons/js/jquery/scripts/ui/awsui.pagination.js"></script>
<!-- css -->
<link rel="stylesheet" href="../commons/css/awsui.css">
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/publish.home.js"></script>
<style type="text/css">
.network_tabs{
font-size: 15px;
}
.network_tabs a{
cursor: pointer;
padding: 7px 12px;
}
.network_tabs a.active{
font-weight: 700;
border-bottom: solid 4px #3383da;
}
.span_margin{
margin-right: 20px;
}
.tbody tr td{
padding: 8px;
text-align: center;
border-bottom: solid 1px #cecece;
}
.task_tr{
cursor: pointer;
}
.task_no_read{
font-weight: bold;
}
.text_center{
text-align: center;
}
.page_buttom{
position: absolute;
}
.text-overflow{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;/*Opera下实现ellipsis效果*/
}
</style>
</head>
<body style="overflow-y: hidden;">
<div style="width: 100%; display: inline-block; height: 100%;">
<div class="network_tabs" id="nav" style="width: 96%; margin: 20px auto;">
<a tit="todo" class="active">待办</a>
<a tit="done">已办</a>
<a tit="history">发布历史</a>
<button id="addPulishInstance" type="button" class="button blue" onclick="toAddPublish()" style="<#create>">新建</button>
<button id="removePulishInstance" type="button" class="button red" onclick="removePublishInstance()" style="display: none;">删除</button>
</div>
<div id="content" style="margin-left: 20px; height: 100%;">
<div tit="todo">
<table class="awsui-ux">
<tbody><tr>
<td>
<table class="table table-thin table-striped table-hover">
<thead>
<tr>
<th class="width_10 selectall">序号</th>
<th class="width_10">
<input class="awsui-checkbox" id="select_all" type="checkbox" />
</th>
<th class="width_45">标题</th>
<th class="width_10">来自</th>
<th class="width_25">日期</th>
</tr>
</thead>
<tbody id="tbody1">
</tbody>
</table>
</td>
</tr>
</tbody></table>
<div id="Pagination1" class="page_buttom"></div>
</div>
<div tit="done" style="display: none;">
<table class="awsui-ux">
<tbody><tr>
<td>
<table class="table table-thin table-striped table-hover">
<thead>
<tr>
<th class="width_10 selectall">序号</th>
<th class="width_45">标题</th>
<th class="width_15">来自</th>
<th class="width_30">日期</th>
</tr>
</thead>
<tbody id="tbody2">
</tbody>
</table>
</td>
</tr>
</tbody></table>
<div id="Pagination2" class="page_buttom"></div>
</div>
<div tit="history" style="display: none; height: 100%;">
<iframe width="100%" id="pl_publish_iframe_page" name="pl_publish_iframe" frameBorder="0" style="height: 90%;"></iframe>
<!--<table class="awsui-ux">
<tbody><tr>
<td>
<table class="table table-thin table-striped table-hover">
<thead>
<tr>
<th class="width_10 selectall">序号</th>
<th class="width_45">标题</th>
<th class="width_15">来自</th>
<th class="width_30">日期</th>
</tr>
</thead>
<tbody id="tbody3">
</tbody>
</table>
</td>
</tr>
</tbody></table>
<div id="Pagination3" class="page_buttom"></div>-->
</div>
</div>
</div>
<div id="add_div" style="width: 100%; display: none;">
<div class="awsui-toolbar">
<span class="toolbarText" style="font-size: 18px;"><#title></span>
<span class="button blue align-right" onclick="addPublishInstance()">下一步</span>
<span class="button align-right" onclick="giveUp()">放 弃</span>
</div>
<table class="awsui-ux">
<tbody>
<tr>
<td width="15%">标题(便于检索)</td>
<td><span class="required"><input class="txt" type="text" id="title" value="<#title>" maxlength="120"></span></td>
</tr>
<tr>
<td>发起人</td>
<td><#userName></td>
</tr>
</tbody>
</table>
</div>
<div style="display:none;">
<form id="openNewPage" name="openNewPage" target="_blank" method="post" action="./w">
<input id="cmd" name="cmd" value="com.actionsoft.apps.coe.pal.publisher_handle">
<input name="sid" value="<#sid>">
<input id="processInstId" name="processInstId" value="">
<input id="taskInstId" name="taskInstId" value="">
<input id="openState" name="openState" value="">
</form>
</div>
<input type="hidden" name="sid" id="sid" value="<#sid>" />
<input type="hidden" name="wsId" id="wsId" value="<#wsId>" />
<input type="hidden" name="teamId" id="teamId" value="<#teamId>" />
<input type="hidden" name="teamName" id="teamName" value="<#teamName>" />
<input type="hidden" name="appId" id="appId" value="<#appId>" />
</body>
<script type="text/javascript">
var totalData1 = <#totalData1>;
var totalData2 = <#totalData2>;
var totalData3 = <#totalData3>;
var currentpage1 = 0;//当前页数
var currentpage2 = 0;//当前页数
var currentpage3 = 0;//当前页数
var pageLimit = 10;//每页显示条数
var showItem = 10;//显示分页按钮数量
var title = "<#title>";
$(function(){
title = "<#title>";
$(".network_tabs").find("a[tit]").on("click", function(){
var appId = $(this).attr("tit");
$(this).siblings().removeClass("active");
$(this).addClass("active");
$("#content").find("div[tit]").hide();
$("#content").find("div[tit='"+$(this).attr("tit")+"']").show();
if (appId == "todo") {
loadOutputData1(0, 10, initPage1);
} else if (appId == "done") {
loadOutputData2(0, 10, initPage2);
} else if (appId == "history") {
//loadOutputData3(0, 10, initPage3);
loadHistoryRecord();
}
});
loadOutputData1(0, 10, initPage1);
$("#select_all").check().on("ifChanged", function(){
var isChecked = $(this).prop("checked");
if (isChecked) {
$("#tbody1 .awsui-checkbox").check("option", "checked", true);
} else {
$("#tbody1 .awsui-checkbox").check("option", "checked", false);
}
})
$(window).trigger('resize');
})
$(window).resize(function(){
var totalWidth = $('#content').width() - 40;
$("[class*=width_]").each(function(){
var className = $(this).attr("class");
var percent = parseInt(className.substr(6, 2));
$(this).css({"width" : totalWidth*percent/100});
});
})
</script>
</html>

View File

@ -0,0 +1,6 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=../apps/com.actionsoft.apps.coe.pal.publisher/main/favicon.ico><title>com.actionsoft.apps.coe.pal.publisher</title><script>const settingParam = <#settingParam>;
const axiosBaseUrl = "./";
const production = true;</script><script>var wsId = "<#wsId>";
var teamId = '<#teamId>';
var teamName = '<#teamName>';
var title = '<#title>';</script><link href=../apps/com.actionsoft.apps.coe.pal.publisher/main/css/chunk-8ab0b442.8d291593.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal.publisher/main/js/chunk-2d224ef1.ab17ea19.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal.publisher/main/js/chunk-8ab0b442.8140534f.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal.publisher/main/css/app.f37b6b5a.css rel=preload as=style><link href=../apps/com.actionsoft.apps.coe.pal.publisher/main/js/app.1bf9b24e.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal.publisher/main/js/chunk-vendors.060d0032.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal.publisher/main/css/app.f37b6b5a.css rel=stylesheet></head><body style=margin:0;><div id=app></div><script src=../apps/com.actionsoft.apps.coe.pal.publisher/main/js/chunk-vendors.060d0032.js></script><script src=../apps/com.actionsoft.apps.coe.pal.publisher/main/js/app.1bf9b24e.js></script></body></html>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.btn-delete[data-v-c1a28148]{position:fixed;height:60px;width:99%;bottom:0;z-index:1000;border-color:#cecece;border-top-width:1px;border-top-style:solid;background:#fff}#count[data-v-567e8a90]{float:left;margin-left:10px}#search[data-v-567e8a90]{float:right;width:25%}.icontongzhi[data-v-567e8a90]{font-size:20px;cursor:pointer}.icontongzhi[data-v-567e8a90]:hover{color:#5badff}.addRowCursor[data-v-567e8a90]{cursor:pointer}.awsui-tabs[data-v-2904774b] .awsui-tabs__header{width:280px;height:100vh!important}.awsui-tabs[data-v-2904774b] .awsui-tabs__item{padding-left:30px;padding-right:40px}.awsui-tabs[data-v-2904774b] #tab-0{border-bottom:1px solid #e4e7ed;height:53px;cursor:auto}.awsui-tabs[data-v-2904774b] .awsui-tabs__active-bar{display:none}.awsui-tabs[data-v-2904774b] .awsui-tabs__item.is-active{color:#4e7ff9}.tabComClass[data-v-2904774b]{text-align:left;font-size:14px;margin-top:10px;margin-bottom:10px}.iconTabClass[data-v-2904774b]{font-size:14px;margin-right:10px;position:relative;top:1px}.record{color:red}.el-tabs__item:focus.is-active.is-focus:not(:active){box-shadow:none!important}.hideCheckBoxCell .el-checkbox__input,.hideCheckBoxHeaderCell .el-checkbox__input{visibility:hidden}.addRowClass{cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left:after{width:1px!important}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224ef1"],{e1f5:function(e,s,t){"use strict";t.r(s);var n=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"devGetSession"},[e._v(" 正在获取session ")])},a=[],o=t("a18c"),d=t("0f08"),i=t("4360");d["a"].post({url:"jd",data:{userid:devUserInfo.userid,pwd:devUserInfo.pwd,lang:"cn",cmd:"com.actionsoft.apps.getsession.get",deviceType:"pc"}}).then((function(e){"error"==e.result?alert("获取session错误"+e.msg):(i["a"].commit("edit",{sessionId:e.data.sid}),o["a"].replace("/"))}));var c={data:function(){return{dwList:[]}},methods:{},mounted:function(){}},r=c,u=t("2877"),l=Object(u["a"])(r,n,a,!1,null,null,null);s["default"]=l.exports}}]);