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.
408 lines
17 KiB
Plaintext
408 lines
17 KiB
Plaintext
11 months ago
|
<!DOCTYPE>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<title>驰骋BPM云-专业版</title>
|
||
|
<link href="../../WF/Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="../../WF/Scripts/easyUI145/themes/default/dialog.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="../../WF/Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
|
||
|
|
||
|
<link href="../../WF/Admin/CCFormDesigner/normalize/css/ns-default.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="../../WF/Admin/CCFormDesigner/normalize/css/ns-style-bar.css" rel="stylesheet" type="text/css" />
|
||
|
|
||
|
<script src="../../WF/Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/Scripts/easyUI145/jquery.easyui.min.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/Scripts/EasyUIUtility.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/Scripts/config.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/Scripts/QueryString.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/Comm/Gener.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/Scripts/Cookie.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<!-- load tree-->
|
||
|
<script src="FuncTrees.js" type="text/javascript"></script>
|
||
|
<script src="Default.js"></script>
|
||
|
<link href="Default.css" rel="stylesheet" />
|
||
|
<style>
|
||
|
.tree-title {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.window-header {
|
||
|
height: 18px;
|
||
|
}
|
||
|
</style>
|
||
|
<script type="text/javascript">
|
||
|
var imghref = null;
|
||
|
//判断某个路径下的图片是否存在
|
||
|
function isHasImg(pathImg) {
|
||
|
var ImgObj = new Image();
|
||
|
ImgObj.src = pathImg;
|
||
|
if (ImgObj.fileSize > 0 || (ImgObj.width > 0 && ImgObj.height > 0)) {
|
||
|
return true;
|
||
|
} else {
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
function ChangeBaseinfo() {
|
||
|
|
||
|
addTab("ChangeB", "组织信息", "/Admin/Setting/BaseInfo.html?EnsName=BP.Cloud.Emps");
|
||
|
}
|
||
|
|
||
|
$(function () {
|
||
|
|
||
|
var webuser = new WebUser();
|
||
|
var imghref = "/Admin/Portal/UPOrgIcon.html?EmpNo=" + webuser.No;
|
||
|
var imghref = "'javascrpt:ChangeBaseinfo()";
|
||
|
$("#ahref").attr("href", imghref);
|
||
|
var imgsrc = "/DataUser/OrgIcon/" + webuser.No + ".jpg"
|
||
|
$("#img").on("click", function (event) {
|
||
|
ChangeBaseinfo();
|
||
|
});
|
||
|
if (isHasImg(imgsrc)) {
|
||
|
$("#img").attr("src", imgsrc);
|
||
|
}
|
||
|
|
||
|
var html = "账号:" + webUser.No;
|
||
|
html += " 名称:" + webUser.Name;
|
||
|
document.getElementById("userInfo").innerText = html;
|
||
|
})
|
||
|
</script>
|
||
|
</head>
|
||
|
<body class="easyui-layout" data-options="fit: true">
|
||
|
<div id="ShowMsg" class="panel window mymask mymaskContainer" style="display: block;
|
||
|
width: 32px; height: 32px; z-index: 21008; text-align: center; font-size: 14px;
|
||
|
font-weight: bold;">
|
||
|
<img alt="" src="./Img/loading_small.gif" align='middle' style="width: 32px; height: 32px;" />
|
||
|
</div>
|
||
|
<div class="window-mask mymask" style="width: 100%; height: 100%; display: block;
|
||
|
z-index: 21006;">
|
||
|
</div>
|
||
|
<div data-options="region:'west',border:true,split:true" title="<img id='img' src='/DataUser/ICON/CCBPMDesigner.png' style='display:block; margin: auto;width:160px;vertical-align:middle;height:50px;'/>"
|
||
|
style="width: 270px;">
|
||
|
<div id="menuTab" class="easyui-tabs bar-menu" data-options="fit:true,border:false">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div data-options="region:'center',border:true" collapsible="true">
|
||
|
|
||
|
|
||
|
<div id="tabs" class="easyui-tabs cs-header" fit="true" border="false" data-options="tools:'#tab-tools',onBeforeClose:EventListener_TabClose,onClose:EventListener_TabCloseed">
|
||
|
</div>
|
||
|
|
||
|
<div id="tab-tools" style="height: 32px!important;">
|
||
|
<label id="userInfo"></label>
|
||
|
<a href="#" class="easyui-linkbutton" id="Login2App" data-options="plain:true" onclick="LoginApp()">
|
||
|
<img alt='使用普通用户,登录前台demo系统' class="ico" src='/WF/AppClassic/Img/ico-user.png' />登录前台
|
||
|
</a>
|
||
|
<a href="#" class="easyui-linkbutton" data-options="plain:true"
|
||
|
onclick="LoginOut()">
|
||
|
<img alt='退出ccbpm流程设计器' class="ico" src='../../WF/AppClassic/Img/ico-exit.png' />退出
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- context menu -->
|
||
|
<div id="mFlowRoot" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="newFlow()" data-options="iconCls:'icon-add'">
|
||
|
新建流程
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="SearchFlow()" data-options="iconCls:'icon-Search'">
|
||
|
按关键字查询流程
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="newFlowSort(true)" data-options="iconCls:'icon-tree_folder'">
|
||
|
新建子级类别
|
||
|
</div>
|
||
|
<div onclick="editFlowSort()" data-options="iconCls:'icon-edit'">
|
||
|
编辑
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="RefreshNode('flowTree', 'F99')" data-options="iconCls:'icon-reload'">
|
||
|
刷新
|
||
|
</div>
|
||
|
</div>
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/open.png" />
|
||
|
<div id="mFlowSort" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="newFlow()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/edit_add.png">新建流程
|
||
|
</div>
|
||
|
|
||
|
<div onclick="ImpFlowBySort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/redo.png">导入流程模板
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="newFlowSort(false)">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/tree_folder.gif">新建同级类别
|
||
|
</div>
|
||
|
<div onclick="newFlowSort(true)">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/tree_folder.gif">新建子级类别
|
||
|
</div>
|
||
|
<div onclick="editFlowSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/pencil.png">编辑
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="deleteFlowSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/delete.png">删除
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="moveUpFlowSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/up.gif">上移
|
||
|
</div>
|
||
|
<div onclick="moveDownFlowSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/down.gif">下移
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="RefreshNode('flowTree', 'F99')">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/reload.png">刷新
|
||
|
</div>
|
||
|
<div onclick="viewFlowSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/tip.png">树节点属性
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mFlow" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="showFlow()">
|
||
|
<img src="Img/ico-flow-pic.png">设计流程图
|
||
|
</div>
|
||
|
<!--<div onclick="RefreshFlowJson()" data-options="iconCls:'icon-reset'">重置流程图</div>-->
|
||
|
<!--<div class="menu-sep">
|
||
|
</div>-->
|
||
|
<div onclick="ImpFlow()">
|
||
|
<img src="Img/ico-flow-import.png">导入流程模板
|
||
|
</div>
|
||
|
<div onclick="ExpFlow()">
|
||
|
<img src="Img/ico-flow-export.png">导出流程模板
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="DeleteFlow()">
|
||
|
<img src="Img/ico-flow-delete.png">删除流程
|
||
|
</div>
|
||
|
<div onclick="FlowProperty()">
|
||
|
<img src="Img/ico-flow-prototype.png">流程属性
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="moveUpFlow()">
|
||
|
<img src="Img/ico-flow-up.png">上移
|
||
|
</div>
|
||
|
<div onclick="moveDownFlow()">
|
||
|
<img src="Img/ico-flow-down.png">下移
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- <div onclick="ImpLocalFlow()" data-options="iconCls:'icon-imp'">导入本机流程模版</div>
|
||
|
<div onclick="ImpColudFlow()" data-options="iconCls:'icon-imp'">导入ccbpm云服务流程模版</div>-->
|
||
|
</div>
|
||
|
<div id="mFormRoot" class="easyui-menu" style="width: 120px;">
|
||
|
<!--<div onclick="newSrc()" data-options="iconCls:'icon-add'">新建数据源</div>-->
|
||
|
<div onclick="RefreshNode('formTree', '1')" data-options="iconCls:'icon-reload'">
|
||
|
刷新
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mFormSrc" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="newCCFormSort(true)" data-options="iconCls:'icon-add'">
|
||
|
新建下级目录
|
||
|
</div>
|
||
|
<!-- <div onclick="newFrm()" data-options="iconCls:'icon-new'">
|
||
|
新建表单</div>-->
|
||
|
<!--<div onclick="newSrc()" data-options="iconCls:'icon-add'">新建数据源</div>-->
|
||
|
</div>
|
||
|
<div id="mFormSort" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="newFrm(0)">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/excel.gif">新建独立表单
|
||
|
</div>
|
||
|
<div onclick="newFrm(1)">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/sheet.png">新建单据表单
|
||
|
</div>
|
||
|
<div onclick="newFrm(2)">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/edit_add.png">新建实体表单
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="newCCFormSort(false)">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/tree_folder.gif">新建同级类别
|
||
|
</div>
|
||
|
<div onclick="newCCFormSort(true)">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/tree_folder.gif">新建子级类别
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="EditCCFormSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/pencil.png">编辑
|
||
|
</div>
|
||
|
<div onclick="DeleteCCFormSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/delete.png">删除
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="moveUpCCFormSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/up.gif">上移
|
||
|
</div>
|
||
|
<div onclick="moveDownCCFormSort()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/down.gif">下移
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="RefreshNode('formTree', '1')">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/reload.png">刷新
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mForm" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="Bill_CCForm()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/property.png">表单属性
|
||
|
</div>
|
||
|
<div onclick="Bill_Open()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/property.png">数据查询
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<!-- <div onclick="CCForm_Attr()" data-options="iconCls:'icon-property'">
|
||
|
表单属性</div>-->
|
||
|
<div onclick="designFoolFrm()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/sheet.png">设计傻瓜表单
|
||
|
</div>
|
||
|
<div onclick="designFreeFrm()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/library.png">设计自由表单
|
||
|
</div>
|
||
|
<!--<div onclick="CopyFrm()" data-options="iconCls:'icon-copy'">复制表单</div>-->
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="moveUpCCFormTree()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/up.gif">上移
|
||
|
</div>
|
||
|
<div onclick="moveDownCCFormTree()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/down.gif">下移
|
||
|
</div>
|
||
|
<div onclick="deleteCCFormTreeMapData()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/delete.png">删除
|
||
|
</div>
|
||
|
|
||
|
<div onclick="CopyFrm()">
|
||
|
<img src="../../WF/Scripts/easyUI145/themes/icons/copy.png">复制
|
||
|
</div>
|
||
|
<!--<div class="menu-sep"></div>
|
||
|
<div onclick="RefreshNode('formTree', '1')" data-options="iconCls:'icon-reload'">刷新</div>-->
|
||
|
</div>
|
||
|
<div id="mSrcRoot" class="easyui-menu" style="width: 120px;">
|
||
|
<!--<div onclick="newSrc()" data-options="iconCls:'icon-add'">新建数据源</div>-->
|
||
|
<div onclick="RefreshNode('formTree', 'SrcRoot')" data-options="iconCls:'icon-reload'">
|
||
|
刷新
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mSrc" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="srcProperty()" data-options="iconCls:'icon-sheet'">
|
||
|
数据源属性
|
||
|
</div>
|
||
|
<!--<div onclick="newSrc()" data-options="iconCls:'icon-add'">新建数据源</div>-->
|
||
|
<div onclick="newSrcTable()" data-options="iconCls:'icon-new'">
|
||
|
新建表
|
||
|
</div>
|
||
|
<div onclick="alert('删除数据源,待开发')" data-options="iconCls:'icon-delete'">
|
||
|
删除数据源
|
||
|
</div>
|
||
|
<div onclick="RefreshNode('formTree', 'SrcRoot')" data-options="iconCls:'icon-reload'">
|
||
|
刷新
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mSrcTable" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="srcTableProperty()" data-options="iconCls:'icon-sheet'">
|
||
|
表属性
|
||
|
</div>
|
||
|
<div onclick="newSrcTable()" data-options="iconCls:'icon-new'">
|
||
|
新建表
|
||
|
</div>
|
||
|
<div onclick="srcTableData()" data-options="iconCls:'icon-edit'">
|
||
|
查看&编辑数据
|
||
|
</div>
|
||
|
<div onclick="alert('删除表,待开发')" data-options="iconCls:'icon-delete'">
|
||
|
删除表
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mm" class="easyui-menu cs-tab-menu">
|
||
|
<div id="mm-tabupdate">
|
||
|
刷新
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div id="mm-tabclose">
|
||
|
关闭
|
||
|
</div>
|
||
|
<div id="mm-tabcloseother">
|
||
|
关闭其他
|
||
|
</div>
|
||
|
<div id="mm-tabcloseall">
|
||
|
关闭全部
|
||
|
</div>
|
||
|
<div id="mm-tabcloseright">
|
||
|
关闭右侧
|
||
|
</div>
|
||
|
<div id="mm-tabcloseleft">
|
||
|
关闭左侧
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mDeptRoot" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="newSubDept()" data-options="iconCls:'icon-new'">
|
||
|
增加下级部门
|
||
|
</div>
|
||
|
<div onclick="editDept()" data-options="iconCls:'icon-edit'">
|
||
|
编辑部门
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="newStation()" data-options="iconCls:'icon-add'">
|
||
|
增加岗位
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mDept" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="newSubDept()" data-options="iconCls:'icon-new'">
|
||
|
增加下级部门
|
||
|
</div>
|
||
|
<div onclick="newDept()" data-options="iconCls:'icon-new'">
|
||
|
增加同级部门
|
||
|
</div>
|
||
|
<div onclick="editDept()" data-options="iconCls:'icon-edit'">
|
||
|
编辑部门
|
||
|
</div>
|
||
|
<div onclick="deleteDept()" data-options="iconCls:'icon-delete'">
|
||
|
删除部门
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="newStation()" data-options="iconCls:'icon-add'">
|
||
|
增加岗位
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mStation" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="editStation()" data-options="iconCls:'icon-edit'">
|
||
|
编辑岗位
|
||
|
</div>
|
||
|
<div onclick="deleteStation()" data-options="iconCls:'icon-delete'">
|
||
|
删除岗位
|
||
|
</div>
|
||
|
<div class="menu-sep">
|
||
|
</div>
|
||
|
<div onclick="newEmp()" data-options="iconCls:'icon-add'">
|
||
|
增加人员
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="mEmp" class="easyui-menu" style="width: 120px;">
|
||
|
<div onclick="editEmp()" data-options="iconCls:'icon-edit'">
|
||
|
编辑人员
|
||
|
</div>
|
||
|
<div onclick="deleteEmp()" data-options="iconCls:'icon-delete'">
|
||
|
删除人员
|
||
|
</div>
|
||
|
</div>
|
||
|
<script src="../../WF/CCFormDesigner/normalize/js/classie.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/CCFormDesigner/normalize/js/modernizr.custom.js" type="text/javascript"></script>
|
||
|
<script src="../../WF/CCFormDesigner/normalize/js/notificationFx.js" type="text/javascript"></script>
|
||
|
</body>
|
||
|
</html>
|