You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

742 lines
26 KiB
Plaintext

11 months ago

<!DOCTYPE html>
<html>
<head>
<title>工作处理器</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<!-- 引入MUI -->
<script src="Scripts/jquery-1.11.0.min.js"></script>
<script src="js/jquery.form.js" type="text/javascript"></script>
<link href="js/mui/css/mui.min.css" rel="stylesheet" type="text/css" />
<link href="js/mui/css/feedback-page.css" rel="stylesheet" type="text/css" />
<link href="js/mui/css/mui.indexedlist.css" rel="stylesheet" type="text/css" />
<script src="js/mui/js/mui.min.js" type="text/javascript"></script>
<script src="js/mui/js/mui.view.js" type="text/javascript"></script>
<script src="js/mui/js/mui.picker.min.js" type="text/javascript"></script>
<script src="js/mui/js/mui.dtpicker.js"></script>
<link href="js/mui/css/mui.picker.min.css" rel="stylesheet" type="text/css" />
<link href="js/mui/css/mui.dtpicker.css" rel="stylesheet" />
<!-- <script type="text/javascript" src="Scripts/bootstrap/js/bootstrap.min.js"></script>-->
<!---->
<!-- <link href="Scripts/bootstrap/css/font-awesome.css" rel="stylesheet" />-->
<!-- 引入通用基础JS -->
<script src="./Scripts/QueryString.js" type="text/javascript"></script>
<script src="../DataUser/JSLibData/CommonShowConfig.js"></script>
<script src="./Scripts/config.js" type="text/javascript"></script>
<!--POP加载不正确 -->
<script src="CCForm/JS/Pop.js" type="text/javascript"></script>
<script src="./Comm/Gener.js" type="text/javascript"></script>
<script src="./Comm/JScript.js" type="text/javascript"></script>
<script src="MyFlowGener.js?version=1.0" type="text/javascript"></script>
<script src="CCForm/FrmEnd.js" type="text/javascript"></script>
<script src="Scripts/commonYangYH.js" type="text/javascript"></script>
<!--
<script src="../DataUser/JSLibData/CovertMoneyToDaXie.js"></script>
<script src="CCForm/MapExt2016.js" type="text/javascript"></script>
<script src="./CCForm/JS/Pop.js" type="text/javascript"></script>
<script src="CCForm/BranchesAndLeaf.js" type="text/javascript"></script>
<script src="CCForm/Branches.js" type="text/javascript"></script>
<script src="CCForm/TableSearch.js" type="text/javascript"></script>
<script src="CCForm/TBFullCtrl.js" type="text/javascript"></script>
<script src="WorkOpt/WorkCheck.js" type="text/javascript"></script>
<script src="CCForm/JS/MultipleChoiceSearch.js" type="text/javascript"></script>
<script src="CCForm/JS/MultipleChoiceSmall.js" type="text/javascript"></script>-->
<!--
<script src="CCForm/JS/mselector.js" type="text/javascript"></script>
<script src="CCForm/JS/mtags.js" type="text/javascript"></script>-->
<script src="CCForm/Ath.js" type="text/javascript"></script>
<script src="CCForm/FrmDtl.js" type="text/javascript"></script>
<script src="CCForm/MapExt2016.js"></script>
<script src="MapAttr.js"></script>
<script src="CCForm/DtlFrm.js"></script>
<script src="../DataUser/JSLibData/CCFormRef.js" type="text/javascript"></script>
<script src="../DataUser/JSLibData/MyFlowPublic.js" type="text/javascript"></script>
<script src="ToolBar.js"></script>
<script src="CCForm/TBFullCtrl.js"></script>
<script src="js/mui/js/mui.indexedlist.js" type="text/javascript"></script>
<script src="../WF/Admin/Admin.js"></script>
<script type="text/javascript">
var viewApi = null;
$(function () {
$('#preview').click(function () {
$('#preview').hide();
})
mui.init();
//初始化单页view
viewApi = mui('#app').view({
defaultPage: '#main'
});
var view = viewApi.view;
//初始化单页的区域滚动
mui('.mui-scroll-wrapper').scroll({
bounce: false
});
(function ($) {
//处理view的后退与webview后退
var oldBack = $.back;
$.back = function () {
if (viewApi.canBack()) { //如果view可以后退则执行view的后退
viewApi.back();
} else { //执行webview后退
oldBack();
}
};
//监听页面切换事件方案1,通过view元素监听所有页面切换事件目前提供pageBeforeShow|pageShow|pageBeforeBack|pageBack四种事件(before事件为动画开始前触发)
//第一个参数为事件名称第二个参数为事件回调其中e.detail.page为当前页面的html对象
view.addEventListener('pageBeforeShow', function (e) {
// console.log(e.detail.page.id + ' beforeShow');
});
view.addEventListener('pageShow', function (e) {
// console.log(e.detail.page.id + ' show');
});
view.addEventListener('pageBeforeBack', function (e) {
// console.log(e.detail.page.id + ' beforeBack');
});
view.addEventListener('pageBack', function (e) {
// console.log(e.detail.page.id + ' back');
});
})(mui);
getConfigByKey("IsHideMobileBack", true);
});
function Back() {
var from = GetQueryString('MyFlowFrom');
var doType = from;
if (from == null || from == "null" || from == "" || from == undefined
|| from == "home" || from == "todolist" || from == "Running"
|| from == "Complete" || from == "Draf")
from = "./Home";
if (from == "SubFlow") {
var gwf = new Entity("BP.WF.GenerWorkFlow", GetQueryString("WorkID"));
if (gwf.AtPara.indexOf("SLWorkID") != -1) {
from = "./WorkOpt/SubFlow.htm?WorkID=" + gwf.GetPara("SLWorkID") + "&FK_Flow=" + gwf.GetPara("SLFlow") + "&FK_Node=" + gwf.GetPara("SLNode");
} else {
from = "./WorkOpt/SubFlow.htm?WorkID=" + gwf.PWorkID + "&FK_Flow=" + gwf.PFlowNo + "&FK_Node=" + gwf.PNodeID + "&FID=" + gwf.PFID;
}
SetHref(from);
return;
}
if (doType == null && doType != "null" || doType == undefined)
SetHref(from + '.htm');
else
SetHref(from + '.htm?DoType=' + doType);
return;
}
</script>
<style type="text/css">
input {
text-align: right;
font-size: 14px;
}
select {
direction: rtl;
font-size: 14px !important;
}
select option {
direction: rtl;
font-size: 14px;
}
/**模态窗口居中*/
.modal {
display: table;
height: 100%;
margin: 0 auto;
}
.modal-dialog {
display: table-cell;
vertical-align: middle;
}
/**模态窗口居中*/
.mui-input-row a {
color: #2c2c38;
}
.errorInput {
border: 1px solid red !important;
}
.compareClass {
border: 1px solid red !important;
}
.richText {
background-color: White;
font-color: black;
font-weight: bolder;
}
.mui-views,
.mui-view,
.mui-pages,
.mui-page,
.mui-page-content {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 40px;
width: 100%;
height: 100%;
background: #efeff4;
}
.mui-pages {
top: 46px;
height: auto;
}
.mui-scroll-wrapper {
position: absolute;
z-index: 2;
top: 0;
bottom: 0;
left: 0;
overflow: hidden;
width: 100%;
height: 98%;
}
.mui-scroll-wrapper,
.mui-scroll {
background-color: #efeff4;
}
.mui-page.mui-transitioning {
-webkit-transition: -webkit-transform 300ms ease;
transition: transform 300ms ease;
}
.mui-page-left {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.mui-ios .mui-page-left {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.mui-navbar {
position: fixed;
right: 0;
left: 0;
z-index: 10;
height: 44px;
background-color: #f7f7f8;
}
.mui-navbar .mui-bar {
position: absolute;
/* background: transparent; */
text-align: center;
}
.mui-android .mui-navbar-inner.mui-navbar-left {
opacity: 0;
}
.mui-ios .mui-navbar-left .mui-left,
.mui-ios .mui-navbar-left .mui-center,
.mui-ios .mui-navbar-left .mui-right {
opacity: 0;
}
.mui-navbar .mui-btn-nav {
-webkit-transition: none;
transition: none;
-webkit-transition-duration: .0s;
transition-duration: .0s;
}
.mui-navbar .mui-bar .mui-title {
display: inline-block;
width: auto;
}
.mui-page-shadow {
position: absolute;
right: 100%;
top: 0;
width: 16px;
height: 100%;
z-index: -1;
content: '';
}
.mui-page-shadow {
background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
background: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
}
.mui-navbar-inner.mui-transitioning,
.mui-navbar-inner .mui-transitioning {
-webkit-transition: opacity 300ms ease, -webkit-transform 300ms ease;
transition: opacity 300ms ease, transform 300ms ease;
}
.mui-page {
display: none;
}
.mui-pages .mui-page {
display: block;
}
.mui-page .mui-table-view:first-child {
margin-top: 15px;
}
.mui-page .mui-table-view:last-child {
margin-bottom: 30px;
}
.mui-table-view {
margin-top: 20px;
}
.mui-table-view span.mui-pull-right {
color: #999;
}
.mui-table-view-divider {
background-color: #efeff4;
font-size: 14px;
}
.mui-table-view-divider:before,
.mui-table-view-divider:after {
height: 0;
}
.head {
height: 40px;
}
#head {
line-height: 40px;
}
.head-img {
width: 40px;
height: 40px;
}
#head-img1 {
position: absolute;
bottom: 10px;
right: 40px;
width: 40px;
height: 40px;
}
.update {
font-style: normal;
color: #999999;
margin-right: -25px;
font-size: 15px
}
.mui-fullscreen {
position: fixed;
z-index: 20;
background-color: #000;
}
.dtl_deleterow {
float: right;
color: Red;
margin-right: 10px;
}
.dtlchild_deleterow {
float: right;
color: Red;
margin-right: 10px;
}
.dtl_deleterow:hover {
color: Blue;
}
.dtl_addpanel {
text-align: center;
}
.dtl_addpanel a {
cursor: pointer;
font-size: 0.9em;
color: red;
}
.dtlchild_addpanel {
text-align: center;
}
.dtlchild_addpanel a {
cursor: pointer;
font-size: 0.9em;
color: red;
}
.dtl_addpanel_b {
font-size: larger;
color: red;
}
p {
color: #000;
}
h3, h4, h5 {
color: #000;
}
.mui-bar-tab .mui-tab-item {
color: #000;
}
.image-local {
width: 35px;
font-size: 16px;
line-height: 28px;
color: #fff;
/* background-color: #0073eb; */
border: none;
display: inline-block;
height: 28px;
box-sizing: border-box;
outline: none;
float: right;
padding-right: 15px;
}
</style>
</head>
<body>
<!--页面主结构开始-->
<div id="app" class="mui-views">
<div class="mui-view">
<div class="mui-navbar">
</div>
<div class="mui-pages">
</div>
</div>
</div>
<!--页面主结构结束-->
<!--单页面开始 MyFlowGener主页面-->
<div id="main" class="mui-page">
<!--页面标题栏开始-->
<div class="mui-navbar-inner mui-bar mui-bar-nav">
<a class="mui-icon mui-icon-left-nav mui-pull-left back-hidden" href="javascript:Back();"></a>
<!--<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
<span class="mui-icon mui-icon-left-nav"></span>
</button>-->
<h1 id="title" class="mui-center mui-title">页面加载中。。。</h1>
</div>
<!--页面标题栏结束-->
<div class="mui-page-content">
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<form id="divCCForm" method="post" class="mui-input-group">
<!--flowInfo-->
<div class="flowInfo" id="flowInfo"></div>
<!--childThread-->
<div class="childThread" id='childThread'></div>
<!-- 多表单选择 -->
<div id="FrmNodes"></div>
<!--主表单-->
<div id="CCForm" style="width: 100%;"></div>
</form>
</div>
</div>
<div><p>表单底部</p></div>
<nav id="bottomToolBar" class="mui-bar mui-bar-tab"></nav>
</div>
<div id="Popover" class="mui-popover mui-bar-popover">
<div class="mui-popover-arrow"></div>
<ul class="mui-table-view" id="popoverBar" style="width:96px"></ul>
</div>
</div>
<!--单页面开始dtl -->
<div id="frmDtl" class="mui-page">
<div class="mui-navbar-inner mui-bar mui-bar-nav">
<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
<span class="mui-icon mui-icon-left-nav"></span>
</button>
<h1 id="frmDtlTitle" class="mui-center mui-title">从表</h1>
<a id='dtlDone' class="mui-btn-link mui-btn-nav mui-pull-right"></a>
</div>
<div class="mui-page-content">
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<form id="form_Dtl" action="">
<div id="DtlContent" class="mui-input-group">
</div>
<div id="btn"></div>
</form>
</div>
</div>
</div>
<input type="hidden" id="HD_CurDtl_No" />
</div>
<!--单页面开始frmChildDtl -->
<div id="frmChildDtl" class="mui-page">
<div class="mui-navbar-inner mui-bar mui-bar-nav">
<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
<span class="mui-icon mui-icon-left-nav"></span>
</button>
<h1 id="frmChildDtlTitle" class="mui-center mui-title">从表</h1>
<a id='ChildDtlDone' class="mui-btn-link mui-btn-nav mui-pull-right"></a>
</div>
<div class="mui-page-content">
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<form id="form_ChildDtl" action="">
<div id="ChildDtlContent" class="mui-input-group">
</div>
</form>
</div>
</div>
</div>
<input type="hidden" id="HD_CurChildDtl_No" />
<input type="hidden" id="HD_CurDtl_OID" />
</div>
<!--单页面开始 pop BranchesAndLeft -->
<div id="branchesAndLeaf" class="mui-page">
<div class="mui-navbar-inner mui-bar mui-bar-nav">
<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
<span class="mui-icon mui-icon-left-nav"></span>
</button>
<h1 id="BLTitle" class="mui-center mui-title">页面加载中。。。</h1>
<a id='done' class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-right">完成</a>
</div>
<div class="mui-page-content">
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<div id='list' class="mui-indexed-list" style="height:100%">
<!-- 搜索框 -->
<div class="mui-indexed-list-search mui-input-row mui-search">
<input id="TB_Key" type="search" class="mui-input-clear mui-indexed-list-search-input" placeholder="">
</div>
<!-- 搜索索引 -->
<div style="text-align:right;padding:11px 15px">
<a id="LevelIdx" href="#">返回上一级</a>
</div>
<div class="mui-table-view-divider mui-indexed-list-group"></div>
<!-- 列表 -->
<div class="mui-indexed-list-inner">
<div id="alert" class="mui-indexed-list-empty-alert "><span style=" content:'\e466';"></span>未搜索到相关结果</div>
<ul id="treeView" class="mui-table-view" style="margin-top:0px">
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!--单页面开始 pop Branches -->
<div id="branches" class="mui-page">
<div class="mui-navbar-inner mui-bar mui-bar-nav">
<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
<span class="mui-icon mui-icon-left-nav"></span>
</button>
<h1 id="BTitle" class="mui-center mui-title">页面加载中。。。</h1>
<a id='Bdone' class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-right">完成</a>
</div>
<div class="mui-page-content">
<div class="mui-scroll-wrapper">
<div class="mui-scroll" style="height:100%;top:15px">
<div id='Blist' class="mui-indexed-list" style="height:100%">
<!-- 搜索框 -->
<div class="mui-indexed-list-search mui-input-row mui-search">
<input id="TB_B_Key" type="search" class="mui-input-clear mui-indexed-list-search-input" placeholder="">
</div>
<!-- 搜索索引 -->
<div style="text-align:right;padding:11px 15px">
<a id="BLevelIdx" href="#">返回上一级</a>
</div>
<div class="mui-table-view-divider mui-indexed-list-group"></div>
<!-- 列表 -->
<div class="mui-indexed-list-inner">
<div id="Balert" class="mui-indexed-list-empty-alert "><span style=" content:'\e466';"></span>未搜索到相关结果</div>
<ul id="BtreeView" class="mui-table-view" style="margin-top:0px">
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!--单页面开始 pop 表格展示 -->
<div id="tableSearch" class="mui-page">
<div class="mui-navbar-inner mui-bar mui-bar-nav">
<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
<span class="mui-icon mui-icon-left-nav"></span>
</button>
<h1 id="TSTitle" class="mui-center mui-title">页面加载中。。。</h1>
<a id='TSDone' class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-right">完成</a>
</div>
<div class="mui-page-content">
<div class="mui-scroll-wrapper">
<div class="mui-scroll" style="height:100%;top:15px">
<div id='TSlist' class="mui-indexed-list" style="height:100%">
<!-- 搜索框 -->
<div class="mui-indexed-list-search mui-input-row mui-search">
<input id="TB_TS_Key" type="search" class="mui-input-clear mui-indexed-list-search-input" placeholder="">
</div>
<div class="mui-table-view-divider mui-indexed-list-group"></div>
<!-- 列表 -->
<div>
<div class="col-md-4 col-sm-4" id="viewGrid_Panel" style="width:99%;height:400px;overflow:scroll">
<table id="treeGrid" class="table table-striped table-border table-hover" style="margin-top:0px"></table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="preview">
<img src="image/cbd.jpg" />
</div>
<!--<!--单页面开始 文本框自动填充 tbFullCtrl -->
<div id="tbFullCtrl" class="mui-page">
<div class="mui-navbar-inner mui-bar mui-bar-nav">
<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
<span class="mui-icon mui-icon-left-nav"></span>
</button>
<h1 id="TBFCTitle" class="mui-center mui-title">文本框自动填充</h1>
<a id='TBFCDone' class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-right">完成</a>
</div>
<div class="mui-page-content">
<div class="mui-scroll-wrapper">
<div class="mui-scroll" style="height:100%;top:15px">
<div id='TBFClist' class="mui-indexed-list" style="height:100%">
<!-- 搜索框 -->
<div class="mui-indexed-list-search mui-input-row mui-search">
<input id="TB_TBFC_Key" type="search" class="mui-input-clear mui-indexed-list-search-input" placeholder="">
</div>
<div class="mui-table-view-divider mui-indexed-list-group"></div>
<!-- 列表 -->
<div>
<div class="col-md-4 col-sm-4" id="viewGrid_Panel" style="width:99%;height:400px;overflow:scroll">
<table id="TBFCtreeGrid" class="table table-striped table-border table-hover" style="margin-top:0px"></table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
mui.init({
beforeback: function () {//监听物理返回按键的方法
Back();
return false;
}
});
</script>
<script src="Scripts/bootstrap/js/bootstrap.min.js"></script>
<script src="Scripts/bootstrap/BootstrapUIDialog.js"></script>
</body>
<style type="text/css">
.table{
border:1px solid #cad9ea;
color:#666;
padding:0;
width:99%;
overflow-y:auto;
_overflow:auto;
word-bread:break-all;
word-wrap:break-word;
}
.table th{
background-repeat:repeat-x;
height:30px;
background-color:#efeff4;
}
.table td,
.table th{
border:1px solid #cad9ea;
padding:0 1em 0;
}
.table tr.alter{
background-color:#efeff4;
}
.success{
background-color:rgba(76, 217, 100, 0.05);
}
.mui-bar-popover {
width: 30%;
}
</style>
<style>
#preview {
display:none;
position:absolute;
z-index:9999;
top:0;
left:0;
bottom:0;
right:0;
background-color:#000;
}
#preview img {
position: absolute;
margin: auto;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
max-height:100%;
}
</style>
</html>