移交管理调整:
1、索引项目中,删除英文,保留中文; 2、尾项管理中,筛选条件调整; 3、尾项管理中,支持点击图片预览; 4、增加尾项统计表中的完成比例; 5、更新管道表的表格(增加焊接信息、试压包状态、电伴热和保温/冷信息); 6、更新移交统计表(补充管道试压包其他信息统计); 7、删除索引项目中的地管和消防2个项目;
This commit is contained in:
		
						commit
						27df9766f7
					
				| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
 | 
				
			||||||
 | 
					values('1FBC729D-0A8E-423C-B133-B64583BF9611','进度软件(新)','',70,'0','Menu_JDGL',0,0,0)
 | 
				
			||||||
 | 
					go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
 | 
				
			||||||
 | 
					values('368DB90C-8A47-44F7-A69A-D2D60A6E338C','费用项裁剪','JDGL/Progress/WbsManager.aspx',10,'1FBC729D-0A8E-423C-B133-B64583BF9611','Menu_JDGL',0,1,0)
 | 
				
			||||||
 | 
					go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,298 @@
 | 
				
			||||||
 | 
					<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnlineEditingPrivate.aspx.cs" Inherits="FineUIPro.Web.AttachFile.OnlineEditingPrivate" %>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<html xmlns="http://www.w3.org/1999/xhtml">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<head runat="server">
 | 
				
			||||||
 | 
					    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 | 
				
			||||||
 | 
					    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
 | 
				
			||||||
 | 
					    <title>
 | 
				
			||||||
 | 
					        Spire.Office
 | 
				
			||||||
 | 
					    </title>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <style>
 | 
				
			||||||
 | 
					        html {
 | 
				
			||||||
 | 
					            height: 100%;
 | 
				
			||||||
 | 
					            width: 100%;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        body {
 | 
				
			||||||
 | 
					            background: #fff;
 | 
				
			||||||
 | 
					            color: #333;
 | 
				
			||||||
 | 
					            font-family: Arial, Tahoma, sans-serif;
 | 
				
			||||||
 | 
					            font-size: 12px;
 | 
				
			||||||
 | 
					            font-weight: normal;
 | 
				
			||||||
 | 
					            height: 100%;
 | 
				
			||||||
 | 
					            margin: 0;
 | 
				
			||||||
 | 
					            overflow-y: hidden;
 | 
				
			||||||
 | 
					            padding: 0;
 | 
				
			||||||
 | 
					            text-decoration: none;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        form {
 | 
				
			||||||
 | 
					            height: 100%;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        div {
 | 
				
			||||||
 | 
					            margin: 0;
 | 
				
			||||||
 | 
					            padding: 0;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <script language="javascript" type="text/javascript"
 | 
				
			||||||
 | 
					        src="http://47.104.102.122:8000/web/editors/spireapi/SpireCloudEditor.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <script type="text/javascript" language="javascript">
 | 
				
			||||||
 | 
					        var docEditor;
 | 
				
			||||||
 | 
					        var fileName = "";
 | 
				
			||||||
 | 
					        var lang = "zh";
 | 
				
			||||||
 | 
					        var fileType = "";
 | 
				
			||||||
 | 
					        var token = null;
 | 
				
			||||||
 | 
					        var appid = null;
 | 
				
			||||||
 | 
					        var appkey = null;
 | 
				
			||||||
 | 
					        //console.log(Appid + "---" + appkey);
 | 
				
			||||||
 | 
					        var innerAlert = function (message) {
 | 
				
			||||||
 | 
					            if (console && console.log)
 | 
				
			||||||
 | 
					                console.log(message);
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        var onReady = function () {
 | 
				
			||||||
 | 
					            innerAlert("Document editor ready");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        var onDocumentStateChange = function (event) {
 | 
				
			||||||
 | 
					            var title = document.title.replace(/\*$/g, "");
 | 
				
			||||||
 | 
					            document.title = title + (event.data ? "*" : "");
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        var onRequestEditRights = function () {
 | 
				
			||||||
 | 
					            location.href = location.href.replace(RegExp("action=view\&?", "i"), "");
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        var onError = function (event) {
 | 
				
			||||||
 | 
					            if (event)
 | 
				
			||||||
 | 
					                innerAlert(event.data);
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        var onOutdatedVersion = function (event) {
 | 
				
			||||||
 | 
					            location.reload(true);
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        function ajax(options) {
 | 
				
			||||||
 | 
					            options = options || {};
 | 
				
			||||||
 | 
					            var method = (options.type || "GET").toUpperCase(),
 | 
				
			||||||
 | 
					                url = options.url,
 | 
				
			||||||
 | 
					                queryString = null;
 | 
				
			||||||
 | 
					            if (!url)
 | 
				
			||||||
 | 
					                return;
 | 
				
			||||||
 | 
					            if (options.data) {
 | 
				
			||||||
 | 
					                queryString = [];
 | 
				
			||||||
 | 
					                for (var attr in options.data) {
 | 
				
			||||||
 | 
					                    queryString.push(attr + "=" + options.data[attr]);
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                queryString = queryString.join("&");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            if (method === "GET" && queryString) {
 | 
				
			||||||
 | 
					                url += "?" + queryString;
 | 
				
			||||||
 | 
					                queryString = "";
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            var xhr = new XMLHttpRequest();
 | 
				
			||||||
 | 
					            xhr.open(method, url, true);
 | 
				
			||||||
 | 
					            if (method === "POST")
 | 
				
			||||||
 | 
					                xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
 | 
				
			||||||
 | 
					                xhr.setRequestHeader("token", "<%=this.CurrUser.UserId%>");
 | 
				
			||||||
 | 
					            xhr.send(queryString);
 | 
				
			||||||
 | 
					            xhr.onreadystatechange = function () {
 | 
				
			||||||
 | 
					                if (xhr.readyState === 4) {
 | 
				
			||||||
 | 
					                    if (xhr.status === 200) {
 | 
				
			||||||
 | 
					                        var data = xhr.responseText;
 | 
				
			||||||
 | 
					                        if (options.dataType === "json")
 | 
				
			||||||
 | 
					                            data = JSON.parse(data);
 | 
				
			||||||
 | 
					                        options.success && options.success(data);
 | 
				
			||||||
 | 
					                    } else {
 | 
				
			||||||
 | 
					                        options.error && options.error(xhr.status);
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        var callbackfn = function (result) {
 | 
				
			||||||
 | 
					            console.log(result.data);
 | 
				
			||||||
 | 
					            if (result && result.data) {
 | 
				
			||||||
 | 
					                var data = result.data,
 | 
				
			||||||
 | 
					                    fileName = data[0],
 | 
				
			||||||
 | 
					                    url = data[1];
 | 
				
			||||||
 | 
					                if (fileName.indexOf('=') > -1)
 | 
				
			||||||
 | 
					                    fileName = fileName.split('=')[1];
 | 
				
			||||||
 | 
					                var host = location.hostname;
 | 
				
			||||||
 | 
					                ajax({
 | 
				
			||||||
 | 
					                    url: '<%=CallBackUrl%>',
 | 
				
			||||||
 | 
					                    type: 'post',
 | 
				
			||||||
 | 
					                    data: {
 | 
				
			||||||
 | 
					                        'UrlStr': url,
 | 
				
			||||||
 | 
					                        'PCUrl': '<%=PCUrl%>',
 | 
				
			||||||
 | 
					                    },
 | 
				
			||||||
 | 
					                    dataType: 'json',
 | 
				
			||||||
 | 
					                    async: false,
 | 
				
			||||||
 | 
					                    success: function (json) {
 | 
				
			||||||
 | 
					                        if (json.code == 1 || json.code == '1') {
 | 
				
			||||||
 | 
					                            alert('保存成功');
 | 
				
			||||||
 | 
					                        } else {
 | 
				
			||||||
 | 
					                            this.error(json, '保存失败');
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                    },
 | 
				
			||||||
 | 
					                    error: function (json, msg) {
 | 
				
			||||||
 | 
					                        alert(+msg);
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                });
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        var connectEditor = function () {
 | 
				
			||||||
 | 
					            var type = 'desktop';
 | 
				
			||||||
 | 
					            if (type == "desktop") {
 | 
				
			||||||
 | 
					                var app = navigator.appVersion;
 | 
				
			||||||
 | 
					                if (app.toLowerCase().indexOf('window') != -1) {
 | 
				
			||||||
 | 
					                    type = "desktop";
 | 
				
			||||||
 | 
					                } else {
 | 
				
			||||||
 | 
					                    type = "mobile";
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            };
 | 
				
			||||||
 | 
					           // var urlString = "https://cloud.e-iceblue.cn/demo/sample.docx";
 | 
				
			||||||
 | 
					            var urlString = "<%=BLL.Funs.SGGLUrl%>" + "<%=PCUrl%>";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            var arrfn = urlString.split(".");
 | 
				
			||||||
 | 
					            var strp = arrfn[arrfn.length - 1];
 | 
				
			||||||
 | 
					            var documentTypeValue = null;
 | 
				
			||||||
 | 
					            switch (strp) {
 | 
				
			||||||
 | 
					                case "xls":
 | 
				
			||||||
 | 
					                case "xlsx":
 | 
				
			||||||
 | 
					                case "xlsm":
 | 
				
			||||||
 | 
					                case "xlt":
 | 
				
			||||||
 | 
					                case "xltx":
 | 
				
			||||||
 | 
					                case "xltm":
 | 
				
			||||||
 | 
					                case "ods":
 | 
				
			||||||
 | 
					                case "fods":
 | 
				
			||||||
 | 
					                case "ots":
 | 
				
			||||||
 | 
					                case "csv":
 | 
				
			||||||
 | 
					                    documentTypeValue = "spreadsheet";
 | 
				
			||||||
 | 
					                    break;
 | 
				
			||||||
 | 
					                case "pps":
 | 
				
			||||||
 | 
					                case "ppsx":
 | 
				
			||||||
 | 
					                case "ppsm":
 | 
				
			||||||
 | 
					                case "ppt":
 | 
				
			||||||
 | 
					                case "pptx":
 | 
				
			||||||
 | 
					                case "pptm":
 | 
				
			||||||
 | 
					                case "pot":
 | 
				
			||||||
 | 
					                case "potx":
 | 
				
			||||||
 | 
					                case "potm":
 | 
				
			||||||
 | 
					                case "odp":
 | 
				
			||||||
 | 
					                case "fodp":
 | 
				
			||||||
 | 
					                case "otp":
 | 
				
			||||||
 | 
					                    documentTypeValue = "presentation";
 | 
				
			||||||
 | 
					                    break;
 | 
				
			||||||
 | 
					                default:
 | 
				
			||||||
 | 
					                    documentTypeValue = "document";
 | 
				
			||||||
 | 
					                    break;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            docEditor = new SpireCloudEditor.OpenApi("iframeEditor", {
 | 
				
			||||||
 | 
					                    fileAttrs: {
 | 
				
			||||||
 | 
					                        fileInfo: {
 | 
				
			||||||
 | 
					                            name: '',
 | 
				
			||||||
 | 
					                            ext: '',
 | 
				
			||||||
 | 
					                            primary: '',
 | 
				
			||||||
 | 
					                            creator: '',
 | 
				
			||||||
 | 
					                            createTime: new Date('20210505')
 | 
				
			||||||
 | 
					                        },
 | 
				
			||||||
 | 
					                        sourceUrl: urlString,
 | 
				
			||||||
 | 
					                        createUrl: '',
 | 
				
			||||||
 | 
					                        callbackUrl: '', ////This item can be empty, but only if the 'onSave' callback function must be defined in events. If the callback function is undefined and this item is empty, Cloud Editor will not provide save function.
 | 
				
			||||||
 | 
					                        verification: null, //用户文件系统下载文件时若需要验证类似token的数据可以写在这里
 | 
				
			||||||
 | 
					                        canEdit: true
 | 
				
			||||||
 | 
					                    },
 | 
				
			||||||
 | 
					                    templates:"",
 | 
				
			||||||
 | 
					                    whiteLabel:true,
 | 
				
			||||||
 | 
					                    user: {
 | 
				
			||||||
 | 
					                        primary: '',
 | 
				
			||||||
 | 
					                        name: '<%=this.CurrUser.UserName%>',
 | 
				
			||||||
 | 
					                        canSave: true,
 | 
				
			||||||
 | 
					                        customization: {
 | 
				
			||||||
 | 
					                            public: {
 | 
				
			||||||
 | 
					                                common: {
 | 
				
			||||||
 | 
					                                    whiteLabel: true,
 | 
				
			||||||
 | 
					                                    defaultZoom: 1,
 | 
				
			||||||
 | 
					                                    openReviewChanges: false,
 | 
				
			||||||
 | 
					                                    permGroups: ['everyone'], //限制编辑分组
 | 
				
			||||||
 | 
					                                    viewVersion: false,
 | 
				
			||||||
 | 
					                                    header: {
 | 
				
			||||||
 | 
					                                        hideTitle: false,
 | 
				
			||||||
 | 
					                                        defaultView: 'full'
 | 
				
			||||||
 | 
					                                    }
 | 
				
			||||||
 | 
					                                },
 | 
				
			||||||
 | 
					                                word: null, //doc定制
 | 
				
			||||||
 | 
					                                powerpoint: null, //ppt定制
 | 
				
			||||||
 | 
					                                excel: null //xls定制
 | 
				
			||||||
 | 
					                            },
 | 
				
			||||||
 | 
					                            "private": {
 | 
				
			||||||
 | 
					                                "token": null,
 | 
				
			||||||
 | 
					                                "appid": null,
 | 
				
			||||||
 | 
					                                "appkey": null
 | 
				
			||||||
 | 
					                            }
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                    },
 | 
				
			||||||
 | 
					                    editorAttrs: { //编辑器配置
 | 
				
			||||||
 | 
					                        editorWidth: '100%',
 | 
				
			||||||
 | 
					                        editorHeight: '100%',
 | 
				
			||||||
 | 
					                        editorMode: '<%=editorMode%>',
 | 
				
			||||||
 | 
					                        editorType: 'document', //编辑器类型,可不配置,程序根据文件类型获取,结果为 document,presentation,spreadsheet
 | 
				
			||||||
 | 
					                        platform: 'windows', //编辑器平台类型,可选windows, mobile, embedded
 | 
				
			||||||
 | 
					                        viewLanguage: 'zh', //平台界面展示语言可选en/zh
 | 
				
			||||||
 | 
					                        canChat: true, //是否可聊天
 | 
				
			||||||
 | 
					                        canComment: true, //是否可批注
 | 
				
			||||||
 | 
					                        canReview: true,
 | 
				
			||||||
 | 
					                        canDownload: true,
 | 
				
			||||||
 | 
					                        canForcesave: true,
 | 
				
			||||||
 | 
					                        embedded: {
 | 
				
			||||||
 | 
					                            saveUrl: '',
 | 
				
			||||||
 | 
					                            embedUrl: '',
 | 
				
			||||||
 | 
					                            shareUrl: ''
 | 
				
			||||||
 | 
					                        },
 | 
				
			||||||
 | 
					                        events: {
 | 
				
			||||||
 | 
					                            'onReady': onReady,
 | 
				
			||||||
 | 
					                            'onDocumentStateChange': onDocumentStateChange,
 | 
				
			||||||
 | 
					                            'onError': onError,
 | 
				
			||||||
 | 
					                            'onRequestEditRights': onRequestEditRights,
 | 
				
			||||||
 | 
					                            'onOutdatedVersion': onOutdatedVersion,
 | 
				
			||||||
 | 
					                            'onSave': callbackfn
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                appid,
 | 
				
			||||||
 | 
					                appkey
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        if (window.addEventListener) {
 | 
				
			||||||
 | 
					            window.addEventListener("load", connectEditor);
 | 
				
			||||||
 | 
					        } else if (window.attachEvent) {
 | 
				
			||||||
 | 
					            window.attachEvent("load", connectEditor);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    </script>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					    <form name="form1" method="post" action="./docEditor.aspx?fileID=demo+(2).docx&lang=zh" id="form1">
 | 
				
			||||||
 | 
					        <div>
 | 
				
			||||||
 | 
					            <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
 | 
				
			||||||
 | 
					                value="/wEPDwUKMTkyMjc5MTU4M2RkBQQQBsVcOHQbzTlwYapiES2Trc9Z/U4CC+r9rluZubc=" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					        <div>
 | 
				
			||||||
 | 
					            <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="C2EAC0DE" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					        <div id="iframeEditor">
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					    </form>
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,79 @@
 | 
				
			||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					using System.Linq;
 | 
				
			||||||
 | 
					using System.Web;
 | 
				
			||||||
 | 
					using System.Web.UI;
 | 
				
			||||||
 | 
					using System.Web.UI.WebControls;
 | 
				
			||||||
 | 
					using BLL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace FineUIPro.Web.AttachFile
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public partial class OnlineEditingPrivate : PageBase
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        #region 定义参数
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					        public string CallBackUrl
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                var sysSet = (from x in Funs.DB.Sys_Const where x.ConstText == "OnlineEditCallBackurl" select x).ToList().FirstOrDefault();
 | 
				
			||||||
 | 
					                if (sysSet != null)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    return sysSet.ConstValue;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    return "";
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public string ReadOnly
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return (string)ViewState["ReadOnly"];
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            set
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                ViewState["ReadOnly"] = value;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public string PCUrl
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return (string)ViewState["PCUrl"];
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            set
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                ViewState["PCUrl"] = value;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public string editorMode
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return (string)ViewState["editorMode"];
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            set
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                ViewState["editorMode"] = value;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        protected void Page_Load(object sender, EventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            if (!IsPostBack)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                /*UserId = Request.Params["UserId"];
 | 
				
			||||||
 | 
					                AttachFileId = Request.Params["AttachFileId"];
 | 
				
			||||||
 | 
					                ReadOnly = Request.Params["ReadOnly"];*/
 | 
				
			||||||
 | 
					                PCUrl = Request.Params["fileUrl"];
 | 
				
			||||||
 | 
					                editorMode = Request.Params["editorMode"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,17 @@
 | 
				
			||||||
 | 
					//------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					// <自动生成>
 | 
				
			||||||
 | 
					//     此代码由工具生成。
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					//     对此文件的更改可能导致不正确的行为,如果
 | 
				
			||||||
 | 
					//     重新生成代码,则所做更改将丢失。
 | 
				
			||||||
 | 
					// </自动生成>
 | 
				
			||||||
 | 
					//------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace FineUIPro.Web.AttachFile
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public partial class OnlineEditingPrivate
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -968,7 +968,17 @@ namespace FineUIPro.Web.AttachFile
 | 
				
			||||||
                        if (isSupportType)
 | 
					                        if (isSupportType)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            url = url.Replace(Funs.RootPath, "");
 | 
					                            url = url.Replace(Funs.RootPath, "");
 | 
				
			||||||
                            PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../AttachFile/OnlineEditing.aspx?fileUrl={0}&&editorMode={1}", url, editorMode, "编辑  -")));
 | 
					                            var sysSet4 = (from x in Funs.DB.Sys_Const where x.ConstText == "IsUseLoaclService" select x).ToList().FirstOrDefault();
 | 
				
			||||||
 | 
					                            if (sysSet4!=null&& sysSet4.ConstValue=="1")
 | 
				
			||||||
 | 
					                            {
 | 
				
			||||||
 | 
					                                PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../AttachFile/OnlineEditingPrivate.aspx?fileUrl={0}&&editorMode={1}", url, editorMode, "编辑  -")));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                            }
 | 
				
			||||||
 | 
					                            else
 | 
				
			||||||
 | 
					                            {
 | 
				
			||||||
 | 
					                                PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../AttachFile/OnlineEditing.aspx?fileUrl={0}&&editorMode={1}", url, editorMode, "编辑  -")));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                            }
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        else
 | 
					                        else
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| 
						 | 
					@ -208,6 +208,7 @@
 | 
				
			||||||
    <Content Include="AttachFile\lib\popcorn.subtitle.js" />
 | 
					    <Content Include="AttachFile\lib\popcorn.subtitle.js" />
 | 
				
			||||||
    <Content Include="AttachFile\Look.aspx" />
 | 
					    <Content Include="AttachFile\Look.aspx" />
 | 
				
			||||||
    <Content Include="AttachFile\OnlineEditing.aspx" />
 | 
					    <Content Include="AttachFile\OnlineEditing.aspx" />
 | 
				
			||||||
 | 
					    <Content Include="AttachFile\OnlineEditingPrivate.aspx" />
 | 
				
			||||||
    <Content Include="AttachFile\player.aspx" />
 | 
					    <Content Include="AttachFile\player.aspx" />
 | 
				
			||||||
    <Content Include="AttachFile\res\webuploader\Uploader.swf" />
 | 
					    <Content Include="AttachFile\res\webuploader\Uploader.swf" />
 | 
				
			||||||
    <Content Include="AttachFile\res\webuploader\webuploader.nolog.js" />
 | 
					    <Content Include="AttachFile\res\webuploader\webuploader.nolog.js" />
 | 
				
			||||||
| 
						 | 
					@ -1452,6 +1453,7 @@
 | 
				
			||||||
    <Content Include="JDGL\CostAnalysis\JDReport.aspx" />
 | 
					    <Content Include="JDGL\CostAnalysis\JDReport.aspx" />
 | 
				
			||||||
    <Content Include="JDGL\CostAnalysis\PlanAdjust.aspx" />
 | 
					    <Content Include="JDGL\CostAnalysis\PlanAdjust.aspx" />
 | 
				
			||||||
    <Content Include="JDGL\CostAnalysis\RectificationMeasureSet.aspx" />
 | 
					    <Content Include="JDGL\CostAnalysis\RectificationMeasureSet.aspx" />
 | 
				
			||||||
 | 
					    <Content Include="JDGL\Progress\WbsManager.aspx" />
 | 
				
			||||||
    <Content Include="JDGL\WBSCompleteAndReal\WBSCompleteAudit.aspx" />
 | 
					    <Content Include="JDGL\WBSCompleteAndReal\WBSCompleteAudit.aspx" />
 | 
				
			||||||
    <Content Include="JDGL\WBSCompleteAndReal\WBSReport.aspx" />
 | 
					    <Content Include="JDGL\WBSCompleteAndReal\WBSReport.aspx" />
 | 
				
			||||||
    <Content Include="JDGL\WBSPlan\SeeDetailHistory.aspx" />
 | 
					    <Content Include="JDGL\WBSPlan\SeeDetailHistory.aspx" />
 | 
				
			||||||
| 
						 | 
					@ -6393,6 +6395,13 @@
 | 
				
			||||||
    <Compile Include="AttachFile\OnlineEditing.aspx.designer.cs">
 | 
					    <Compile Include="AttachFile\OnlineEditing.aspx.designer.cs">
 | 
				
			||||||
      <DependentUpon>OnlineEditing.aspx</DependentUpon>
 | 
					      <DependentUpon>OnlineEditing.aspx</DependentUpon>
 | 
				
			||||||
    </Compile>
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="AttachFile\OnlineEditingPrivate.aspx.cs">
 | 
				
			||||||
 | 
					      <DependentUpon>OnlineEditingPrivate.aspx</DependentUpon>
 | 
				
			||||||
 | 
					      <SubType>ASPXCodeBehind</SubType>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="AttachFile\OnlineEditingPrivate.aspx.designer.cs">
 | 
				
			||||||
 | 
					      <DependentUpon>OnlineEditingPrivate.aspx</DependentUpon>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
    <Compile Include="AttachFile\player.aspx.cs">
 | 
					    <Compile Include="AttachFile\player.aspx.cs">
 | 
				
			||||||
      <DependentUpon>player.aspx</DependentUpon>
 | 
					      <DependentUpon>player.aspx</DependentUpon>
 | 
				
			||||||
      <SubType>ASPXCodeBehind</SubType>
 | 
					      <SubType>ASPXCodeBehind</SubType>
 | 
				
			||||||
| 
						 | 
					@ -14285,6 +14294,13 @@
 | 
				
			||||||
    <Compile Include="JDGL\CostAnalysis\RectificationMeasureSet.aspx.designer.cs">
 | 
					    <Compile Include="JDGL\CostAnalysis\RectificationMeasureSet.aspx.designer.cs">
 | 
				
			||||||
      <DependentUpon>RectificationMeasureSet.aspx</DependentUpon>
 | 
					      <DependentUpon>RectificationMeasureSet.aspx</DependentUpon>
 | 
				
			||||||
    </Compile>
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="JDGL\Progress\WbsManager.aspx.cs">
 | 
				
			||||||
 | 
					      <DependentUpon>WbsManager.aspx</DependentUpon>
 | 
				
			||||||
 | 
					      <SubType>ASPXCodeBehind</SubType>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="JDGL\Progress\WbsManager.aspx.designer.cs">
 | 
				
			||||||
 | 
					      <DependentUpon>WbsManager.aspx</DependentUpon>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
    <Compile Include="JDGL\WBSCompleteAndReal\WBSCompleteAudit.aspx.cs">
 | 
					    <Compile Include="JDGL\WBSCompleteAndReal\WBSCompleteAudit.aspx.cs">
 | 
				
			||||||
      <DependentUpon>WBSCompleteAudit.aspx</DependentUpon>
 | 
					      <DependentUpon>WBSCompleteAudit.aspx</DependentUpon>
 | 
				
			||||||
      <SubType>ASPXCodeBehind</SubType>
 | 
					      <SubType>ASPXCodeBehind</SubType>
 | 
				
			||||||
| 
						 | 
					@ -19305,7 +19321,7 @@
 | 
				
			||||||
      </FlavorProperties>
 | 
					      </FlavorProperties>
 | 
				
			||||||
    </VisualStudio>
 | 
					    </VisualStudio>
 | 
				
			||||||
  </ProjectExtensions>
 | 
					  </ProjectExtensions>
 | 
				
			||||||
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" />
 | 
					  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v16.0\WebApplications\Microsoft.WebApplication.targets" />
 | 
				
			||||||
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
 | 
					  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
 | 
				
			||||||
       Other similar extension points exist, see Microsoft.Common.targets.
 | 
					       Other similar extension points exist, see Microsoft.Common.targets.
 | 
				
			||||||
  <Target Name="BeforeBuild">
 | 
					  <Target Name="BeforeBuild">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,223 @@
 | 
				
			||||||
 | 
					<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WbsManager.aspx.cs" Inherits="FineUIPro.Web.JDGL.Progress.WbsManager" %>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<html xmlns="http://www.w3.org/1999/xhtml">
 | 
				
			||||||
 | 
					<head runat="server">
 | 
				
			||||||
 | 
					<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 | 
				
			||||||
 | 
					    <title>费用项裁剪</title>
 | 
				
			||||||
 | 
					    <style type="text/css">
 | 
				
			||||||
 | 
					        .f-grid-row .f-grid-cell-inner {
 | 
				
			||||||
 | 
					            white-space: normal;
 | 
				
			||||||
 | 
					            word-break: break-all;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .row-grid-disabled .f-grid-cell-inner {
 | 
				
			||||||
 | 
					            opacity: .5;
 | 
				
			||||||
 | 
					            filter: alpha(opacity=50);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .f-grid-row.orange, .f-grid-row.orange .ui-icon, .f-grid-row.orange a {
 | 
				
			||||||
 | 
					            background-color: Orange;
 | 
				
			||||||
 | 
					            color: #fff;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .f-grid-row.red, .f-grid-row.red .ui-icon, .f-grid-row.red a {
 | 
				
			||||||
 | 
					            background-color: Red;
 | 
				
			||||||
 | 
					            color: #fff;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .customlabel span {
 | 
				
			||||||
 | 
					            color: red;
 | 
				
			||||||
 | 
					            font-weight: bold;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .f-grid-colheader-text {
 | 
				
			||||||
 | 
					            white-space: normal;
 | 
				
			||||||
 | 
					            word-break: break-all;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					    <form id="form1" runat="server">
 | 
				
			||||||
 | 
					      <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
 | 
				
			||||||
 | 
					    < <f:Panel ID="Panel1" CssClass="blockpanel" Margin="20px" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
 | 
				
			||||||
 | 
					            <Items>
 | 
				
			||||||
 | 
					                <f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true" RegionSplitWidth="3px" EnableCollapse="true"
 | 
				
			||||||
 | 
					                    Width="300px" Title="费用项裁剪设置" ShowBorder="true" ShowHeader="true" BodyPadding="10px" Layout="Fit">
 | 
				
			||||||
 | 
					                    <Items>
 | 
				
			||||||
 | 
					                        <f:Tree ID="trWBS" Width="290" EnableCollapse="true" ShowHeader="true" OnNodeCommand="trWBS_NodeCommand"
 | 
				
			||||||
 | 
					                            OnNodeExpand="trWBS_NodeExpand"
 | 
				
			||||||
 | 
					                            AutoLeafIdentification="true" runat="server">
 | 
				
			||||||
 | 
					                            <Listeners>
 | 
				
			||||||
 | 
					                                <f:Listener Event="beforenodecontextmenu" Handler="onTreeNodeContextMenu" />
 | 
				
			||||||
 | 
					                            </Listeners>
 | 
				
			||||||
 | 
					                        </f:Tree>
 | 
				
			||||||
 | 
					                        <f:HiddenField runat="server" ID="hdSelectId">
 | 
				
			||||||
 | 
					                        </f:HiddenField>
 | 
				
			||||||
 | 
					                        <f:HiddenField runat="server" ID="hdType">
 | 
				
			||||||
 | 
					                        </f:HiddenField>
 | 
				
			||||||
 | 
					                    </Items>
 | 
				
			||||||
 | 
					                </f:Panel>
 | 
				
			||||||
 | 
					                <f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" Layout="Fit"
 | 
				
			||||||
 | 
					                    Title="中间面板" ShowBorder="true" ShowHeader="false" BodyPadding="10px">
 | 
				
			||||||
 | 
					                    <Items>
 | 
				
			||||||
 | 
					                        <f:Grid ID="Grid1" Width="870px" ShowBorder="true" ShowHeader="false" EnableCollapse="true" ForceFit="true"
 | 
				
			||||||
 | 
					                            runat="server" BoxFlex="1" DataKeyNames="CostControlId" AllowSorting="true" EnableColumnLines="true" EnableCheckBoxSelect="true"
 | 
				
			||||||
 | 
					                            SortField="CostControlCode,CostControlName" SortDirection="ASC" AllowCellEditing="true" ClicksToEdit="1" ShowSelectedCell="true"
 | 
				
			||||||
 | 
					                            DataIDField="CostControlId" AllowPaging="true" IsDatabasePaging="true" PageSize="100" OnPageIndexChange="Grid1_PageIndexChange"
 | 
				
			||||||
 | 
					                            OnRowDataBound="Grid1_RowDataBound" AllowFilters="true" OnFilterChange="Grid1_FilterChange">
 | 
				
			||||||
 | 
					                            <Toolbars>
 | 
				
			||||||
 | 
					                                <f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Right">
 | 
				
			||||||
 | 
					                                    <Items>
 | 
				
			||||||
 | 
					                                        <f:Button ID="btnAdd" Icon="Add" runat="server" ToolTip="增加" Hidden="true"
 | 
				
			||||||
 | 
					                                            OnClick="btnAdd_Click">
 | 
				
			||||||
 | 
					                                        </f:Button>
 | 
				
			||||||
 | 
					                                        <f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="保存" Hidden="true" OnClick="btnSave_Click">
 | 
				
			||||||
 | 
					                                        </f:Button>
 | 
				
			||||||
 | 
					                                    </Items>
 | 
				
			||||||
 | 
					                                </f:Toolbar>
 | 
				
			||||||
 | 
					                            </Toolbars>
 | 
				
			||||||
 | 
					                            <Columns>
 | 
				
			||||||
 | 
					                                <f:RenderField Width="100px" ColumnID="CostControlCode" DataField="CostControlCode" FieldType="String"
 | 
				
			||||||
 | 
					                                    HeaderText="费用清单编号" HeaderTextAlign="Center" TextAlign="Left">
 | 
				
			||||||
 | 
					                                </f:RenderField>
 | 
				
			||||||
 | 
					                                <f:RenderField Width="400px" ColumnID="CostControlName" DataField="CostControlName" FieldType="String"
 | 
				
			||||||
 | 
					                                    HeaderText="内容" HeaderTextAlign="Center" TextAlign="Left">
 | 
				
			||||||
 | 
					                                </f:RenderField>
 | 
				
			||||||
 | 
					                                <f:RenderField Width="100px" ColumnID="EquipmentMaterialTypeName" DataField="EquipmentMaterialTypeName" FieldType="String"
 | 
				
			||||||
 | 
					                                    HeaderText="设备材料分类" HeaderTextAlign="Center" TextAlign="Left">
 | 
				
			||||||
 | 
					                                </f:RenderField>
 | 
				
			||||||
 | 
					                                <f:RenderField Width="70px" ColumnID="Unit" DataField="Unit" FieldType="String"
 | 
				
			||||||
 | 
					                                    HeaderText="单位" HeaderTextAlign="Center" TextAlign="Left">
 | 
				
			||||||
 | 
					                                </f:RenderField>
 | 
				
			||||||
 | 
					                                <%--<f:RenderField Width="130px" ColumnID="TotalNum" DataField="TotalNum" FieldType="Double"
 | 
				
			||||||
 | 
					                                    HeaderText="合同工作量" HeaderTextAlign="Center" TextAlign="Left">
 | 
				
			||||||
 | 
					                                    <Editor>
 | 
				
			||||||
 | 
					                                        <f:NumberBox ID="nbTotalNum" NoDecimal="false" NoNegative="true" MinValue="0"
 | 
				
			||||||
 | 
					                                            runat="server">
 | 
				
			||||||
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
 | 
					                                    </Editor>
 | 
				
			||||||
 | 
					                                </f:RenderField>
 | 
				
			||||||
 | 
					                                <f:RenderField Width="100px" ColumnID="RealPrice" DataField="RealPrice" FieldType="Double"
 | 
				
			||||||
 | 
					                                    HeaderText="实际单价" HeaderTextAlign="Center" TextAlign="Left">
 | 
				
			||||||
 | 
					                                    <Editor>
 | 
				
			||||||
 | 
					                                        <f:NumberBox ID="nbRealPrice" NoDecimal="false" NoNegative="true" MinValue="0"
 | 
				
			||||||
 | 
					                                            runat="server">
 | 
				
			||||||
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
 | 
					                                    </Editor>
 | 
				
			||||||
 | 
					                                </f:RenderField>
 | 
				
			||||||
 | 
					                                <f:RenderField Width="100px" ColumnID="PlanPrice" DataField="PlanPrice" FieldType="Double"
 | 
				
			||||||
 | 
					                                    HeaderText="预算单价" HeaderTextAlign="Center" TextAlign="Left">
 | 
				
			||||||
 | 
					                                    <Editor>
 | 
				
			||||||
 | 
					                                        <f:NumberBox ID="nbPlanPrice" NoDecimal="false" NoNegative="true" MinValue="0"
 | 
				
			||||||
 | 
					                                            runat="server">
 | 
				
			||||||
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
 | 
					                                    </Editor>
 | 
				
			||||||
 | 
					                                </f:RenderField>--%>
 | 
				
			||||||
 | 
					                                <f:RenderField Width="70px" ColumnID="CostControlId" DataField="CostControlId" FieldType="String"
 | 
				
			||||||
 | 
					                                    HeaderText="主键" HeaderTextAlign="Center" TextAlign="Left" Hidden="true">
 | 
				
			||||||
 | 
					                                </f:RenderField>
 | 
				
			||||||
 | 
					                            </Columns>
 | 
				
			||||||
 | 
					                            <Listeners>
 | 
				
			||||||
 | 
					                                <f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
 | 
				
			||||||
 | 
					                            </Listeners>
 | 
				
			||||||
 | 
					                            <PageItems>
 | 
				
			||||||
 | 
					                                <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
 | 
				
			||||||
 | 
					                                </f:ToolbarSeparator>
 | 
				
			||||||
 | 
					                                <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
 | 
				
			||||||
 | 
					                                </f:ToolbarText>
 | 
				
			||||||
 | 
					                                <f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
 | 
				
			||||||
 | 
					                                    OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
 | 
				
			||||||
 | 
					                                    <f:ListItem Text="100" Value="100" />
 | 
				
			||||||
 | 
					                                    <f:ListItem Text="200" Value="200" />
 | 
				
			||||||
 | 
					                                    <f:ListItem Text="300" Value="300" />
 | 
				
			||||||
 | 
					                                    <f:ListItem Text="400" Value="400" />
 | 
				
			||||||
 | 
					                                </f:DropDownList>
 | 
				
			||||||
 | 
					                            </PageItems>
 | 
				
			||||||
 | 
					                        </f:Grid>
 | 
				
			||||||
 | 
					                    </Items>
 | 
				
			||||||
 | 
					                </f:Panel>
 | 
				
			||||||
 | 
					            </Items>
 | 
				
			||||||
 | 
					        </f:Panel>
 | 
				
			||||||
 | 
					        <f:Window ID="Window1" Title="编辑" Hidden="true" EnableIFrame="true" EnableMaximize="true"
 | 
				
			||||||
 | 
					            Target="Self" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
 | 
				
			||||||
 | 
					            Width="800px" Height="350px">
 | 
				
			||||||
 | 
					        </f:Window>
 | 
				
			||||||
 | 
					        <f:Window ID="Window2" Title="拷贝" Hidden="true" EnableIFrame="true" EnableMaximize="true"
 | 
				
			||||||
 | 
					            Target="Self" EnableResize="true" runat="server" OnClose="Window2_Close" IsModal="true"
 | 
				
			||||||
 | 
					            Width="800px" Height="450px">
 | 
				
			||||||
 | 
					        </f:Window>
 | 
				
			||||||
 | 
					        <f:Window ID="Window3" Title="编辑" Hidden="true" EnableIFrame="true" EnableMaximize="true"
 | 
				
			||||||
 | 
					            Target="Top" EnableResize="true" runat="server" IsModal="true" Width="800px" OnClose="Window3_Close"
 | 
				
			||||||
 | 
					            Height="350px">
 | 
				
			||||||
 | 
					        </f:Window>
 | 
				
			||||||
 | 
					        <f:Window ID="Window4" Title="设置计划" Hidden="true" EnableIFrame="true" EnableMaximize="true"
 | 
				
			||||||
 | 
					            Target="Top" EnableResize="true" runat="server" IsModal="true" Width="800px"
 | 
				
			||||||
 | 
					            Height="550px">
 | 
				
			||||||
 | 
					        </f:Window>
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        <f:Menu ID="Menu2" runat="server">
 | 
				
			||||||
 | 
					            <Items>
 | 
				
			||||||
 | 
					                <f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Hidden="true" Text="修改" Icon="Pencil"
 | 
				
			||||||
 | 
					                    OnClick="btnMenuModify_Click">
 | 
				
			||||||
 | 
					                </f:MenuButton>
 | 
				
			||||||
 | 
					                <f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Hidden="true" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?"
 | 
				
			||||||
 | 
					                    OnClick="btnMenuDel_Click">
 | 
				
			||||||
 | 
					                </f:MenuButton>
 | 
				
			||||||
 | 
					            </Items>
 | 
				
			||||||
 | 
					        </f:Menu>
 | 
				
			||||||
 | 
					    </form>
 | 
				
			||||||
 | 
					    <script type="text/javascript">
 | 
				
			||||||
 | 
					        var treeID = '<%= trWBS.ClientID %>';
 | 
				
			||||||
 | 
					       
 | 
				
			||||||
 | 
					        var menuID2 = '<%= Menu2.ClientID %>';
 | 
				
			||||||
 | 
					        var btn = '<%= btnSave.ClientID %>';
 | 
				
			||||||
 | 
					        // 返回false,来阻止浏览器右键菜单
 | 
				
			||||||
 | 
					        function onRowContextMenu(event, rowId) {
 | 
				
			||||||
 | 
					            F(menuID2).show();  //showAt(event.pageX, event.pageY);
 | 
				
			||||||
 | 
					            return false;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 保存当前菜单对应的树节点ID
 | 
				
			||||||
 | 
					        var currentNodeId;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 返回false,来阻止浏览器右键菜单
 | 
				
			||||||
 | 
					        function onTreeNodeContextMenu(event, nodeId) {
 | 
				
			||||||
 | 
					            currentNodeId = nodeId;
 | 
				
			||||||
 | 
					            F(menuID).show();
 | 
				
			||||||
 | 
					            return false;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        function show() {
 | 
				
			||||||
 | 
					            F(btn).click();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 设置所有菜单项的禁用状态
 | 
				
			||||||
 | 
					        function setMenuItemsDisabled(disabled) {
 | 
				
			||||||
 | 
					            var menu = F(menuID);
 | 
				
			||||||
 | 
					            $.each(menu.items, function (index, item) {
 | 
				
			||||||
 | 
					                item.setDisabled(disabled);
 | 
				
			||||||
 | 
					            });
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 显示菜单后,检查是否禁用菜单项
 | 
				
			||||||
 | 
					        function onMenuShow() {
 | 
				
			||||||
 | 
					            if (currentNodeId) {
 | 
				
			||||||
 | 
					                var tree = F(treeID);
 | 
				
			||||||
 | 
					                var nodeData = tree.getNodeData(currentNodeId);
 | 
				
			||||||
 | 
					                if (nodeData.leaf) {
 | 
				
			||||||
 | 
					                    setMenuItemsDisabled(true);
 | 
				
			||||||
 | 
					                } else {
 | 
				
			||||||
 | 
					                    setMenuItemsDisabled(false);
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        function updateDate() {
 | 
				
			||||||
 | 
					            // 回发到后台更新
 | 
				
			||||||
 | 
					            __doPostBack('', 'UPDATE_Date');
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    </script>
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,277 @@
 | 
				
			||||||
 | 
					using BLL;
 | 
				
			||||||
 | 
					using Newtonsoft.Json.Linq;
 | 
				
			||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					using System.Data;
 | 
				
			||||||
 | 
					using System.Data.SqlClient;
 | 
				
			||||||
 | 
					using System.Linq;
 | 
				
			||||||
 | 
					using System.Web.UI.WebControls;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace FineUIPro.Web.JDGL.Progress
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public partial class WbsManager : PageBase
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        #region 页面加载
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 页面加载
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void Page_Load(object sender, EventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            if (!IsPostBack)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                GetButtonPower();
 | 
				
			||||||
 | 
					                InitTreeMenu();
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private void InitTreeMenu() { 
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        #region 树节点展开
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 树节点展开
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void trWBS_NodeExpand(object sender, TreeNodeEventArgs e) { 
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        #region   Tree点击事件
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Tree点击事件
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void trWBS_NodeCommand(object sender, TreeCommandEventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        #region  关闭窗口
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 关闭窗口
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void Window1_Close(object sender, WindowCloseEventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            ShowNotify("保存成功!", MessageBoxIcon.Success);
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
 | 
					            //getWBSSet();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 关闭窗口
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void Window2_Close(object sender, WindowCloseEventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            ShowNotify("拷贝成功!", MessageBoxIcon.Success);
 | 
				
			||||||
 | 
					           
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 关闭窗口
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void Window3_Close(object sender, WindowCloseEventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            ShowNotify("保存成功!", MessageBoxIcon.Success);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					           
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        #region 保存事件
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 保存
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void btnSave_Click(object sender, EventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            if (Grid1.Rows.Count > 0)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                JArray mergedData = Grid1.GetMergedData();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                bool isPass = true;
 | 
				
			||||||
 | 
					                if (isPass)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    foreach (var item in this.Grid1.SelectedRowIDArray)
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        Model.WBS_CostControl costControl = BLL.CostControlService.GetCostControlByCostControlId(item);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    foreach (JObject mergedRow in mergedData)
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        JObject values = mergedRow.Value<JObject>("values");
 | 
				
			||||||
 | 
					                        string costControlId = values.Value<string>("CostControlId");
 | 
				
			||||||
 | 
					                        //string totalNum = values.Value<string>("TotalNum");
 | 
				
			||||||
 | 
					                        //string realPrice = values.Value<string>("RealPrice");
 | 
				
			||||||
 | 
					                        //string planPrice = values.Value<string>("PlanPrice");
 | 
				
			||||||
 | 
					                        Model.WBS_CostControl costControl = BLL.CostControlService.GetCostControlByCostControlId(costControlId);
 | 
				
			||||||
 | 
					                        if (this.Grid1.SelectedRowIDArray.Contains(costControlId))
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            costControl.IsSelected = true;
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        else
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            costControl.IsSelected = false;
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        BLL.CostControlService.UpdateCostControl(costControl);
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                BindGrid();
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            Alert.ShowInTop("保存成功!", MessageBoxIcon.Success);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        #region 绑定数据
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private string upStartDate = string.Empty;
 | 
				
			||||||
 | 
					        private string upEndDate = string.Empty;
 | 
				
			||||||
 | 
					        protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            string id = e.RowID;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 绑定数据
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void Grid1_FilterChange(object sender, EventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            BindGrid();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            Grid1.PageIndex = e.NewPageIndex;
 | 
				
			||||||
 | 
					            BindGrid();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Grid1排序
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void Grid1_Sort(object sender, GridSortEventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            Grid1.SortDirection = e.SortDirection;
 | 
				
			||||||
 | 
					            Grid1.SortField = e.SortField;
 | 
				
			||||||
 | 
					            BindGrid();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 分页下拉选择事件
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
 | 
				
			||||||
 | 
					            BindGrid();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 加载Grid
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        private void BindGrid()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        #region 获取按钮权限
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 获取按钮权限
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="button"></param>
 | 
				
			||||||
 | 
					        /// <returns></returns>
 | 
				
			||||||
 | 
					        private void GetButtonPower()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            if (Request.Params["value"] == "0")
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.WBSSetAuditMenuId);
 | 
				
			||||||
 | 
					            if (buttonList.Count() > 0)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                if (buttonList.Contains(BLL.Const.BtnAdd))
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    
 | 
				
			||||||
 | 
					                    this.btnAdd.Hidden = false;
 | 
				
			||||||
 | 
					                    //this.btnMenuDetail.Hidden = false;
 | 
				
			||||||
 | 
					                    //this.btnMenuWeekDetail.Hidden = false;
 | 
				
			||||||
 | 
					                    //this.btnMenuCopy2.Hidden = false;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                if (buttonList.Contains(BLL.Const.BtnModify))
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    this.btnMenuModify.Hidden = false;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                if (buttonList.Contains(BLL.Const.BtnSave))
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    this.btnSave.Hidden = false;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                if (buttonList.Contains(BLL.Const.BtnDelete))
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    this.btnMenuDel.Hidden = false;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                //if (buttonList.Contains(BLL.Const.BtnAuditing))
 | 
				
			||||||
 | 
					                //{
 | 
				
			||||||
 | 
					                //    this.btnMenuAudit.Hidden = false;
 | 
				
			||||||
 | 
					                //}
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        #region 增加费用项
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// 增加费控项
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <param name="sender"></param>
 | 
				
			||||||
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
 | 
					        protected void btnAdd_Click(object sender, EventArgs e) {
 | 
				
			||||||
 | 
					            if (!string.IsNullOrEmpty(trWBS.SelectedNodeID))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                this.hdSelectId.Text = this.trWBS.SelectedNodeID;
 | 
				
			||||||
 | 
					                Model.Wbs_WbsSet wbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(this.trWBS.SelectedNodeID);
 | 
				
			||||||
 | 
					                if (wbsSet != null)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    var list = BLL.WbsSetService.GetWbsSetsBySuperWbsSetId(this.trWBS.SelectedNodeID);
 | 
				
			||||||
 | 
					                    if (list.Count == 0)
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        string openUrl = String.Format("CostControlEdit.aspx?operating=add&Id={0}", trWBS.SelectedNodeID, "增加 - ");
 | 
				
			||||||
 | 
					                        PageContext.RegisterStartupScript(Window3.GetShowReference(openUrl));
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                    else
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        ShowNotify("请选择工作项节点进行增加!", MessageBoxIcon.Warning);
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ShowNotify("请选择工作项节点进行增加!", MessageBoxIcon.Warning);
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            else
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                ShowNotify("请选择树节点!", MessageBoxIcon.Warning);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        #endregion
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,215 @@
 | 
				
			||||||
 | 
					//------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					// <自动生成>
 | 
				
			||||||
 | 
					//     此代码由工具生成。
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					//     对此文件的更改可能导致不正确的行为,如果
 | 
				
			||||||
 | 
					//     重新生成代码,则所做更改将丢失。
 | 
				
			||||||
 | 
					// </自动生成>
 | 
				
			||||||
 | 
					//------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace FineUIPro.Web.JDGL.Progress
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public partial class WbsManager
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// form1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// PageManager1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.PageManager PageManager1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Panel1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Panel Panel1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// panelLeftRegion 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Panel panelLeftRegion;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// trWBS 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Tree trWBS;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// hdSelectId 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.HiddenField hdSelectId;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// hdType 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.HiddenField hdType;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// panelCenterRegion 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Panel panelCenterRegion;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Grid1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Grid Grid1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Toolbar1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Toolbar Toolbar1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// btnAdd 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Button btnAdd;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// btnSave 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Button btnSave;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// ToolbarSeparator1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// ToolbarText1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.ToolbarText ToolbarText1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// ddlPageSize 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.DropDownList ddlPageSize;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Window1 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Window Window1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Window2 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Window Window2;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Window3 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Window Window3;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Window4 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Window Window4;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Menu2 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.Menu Menu2;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// btnMenuModify 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.MenuButton btnMenuModify;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// btnMenuDel 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.MenuButton btnMenuDel;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -376,6 +376,13 @@
 | 
				
			||||||
                                                <f:TextBox ID="txtCallBackapiurl" runat="server" Label="文档保存回调地址" LabelWidth="230px"></f:TextBox>
 | 
					                                                <f:TextBox ID="txtCallBackapiurl" runat="server" Label="文档保存回调地址" LabelWidth="230px"></f:TextBox>
 | 
				
			||||||
                                            </Items>
 | 
					                                            </Items>
 | 
				
			||||||
                                        </f:FormRow>
 | 
					                                        </f:FormRow>
 | 
				
			||||||
 | 
					                                        <f:FormRow ColumnWidths="100%">
 | 
				
			||||||
 | 
					                                            <Items>
 | 
				
			||||||
 | 
					                                                <f:CheckBox ID="ckIsUseLoaclService" runat="server" Label="是否使用本地服务" LabelWidth="230px">
 | 
				
			||||||
 | 
					                                                </f:CheckBox>
 | 
				
			||||||
 | 
					                                            </Items>
 | 
				
			||||||
 | 
					                                        </f:FormRow>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                                    </Rows>
 | 
					                                    </Rows>
 | 
				
			||||||
                                </f:Form>
 | 
					                                </f:Form>
 | 
				
			||||||
                            </Items>
 | 
					                            </Items>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1048,6 +1048,18 @@ namespace FineUIPro.Web.SysManage
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                txtCallBackapiurl.Text = sysSet3.ConstValue;
 | 
					                txtCallBackapiurl.Text = sysSet3.ConstValue;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            var sysSet4 = (from x in db.Sys_Const where x.ConstText == "IsUseLoaclService" select x).ToList().FirstOrDefault();
 | 
				
			||||||
 | 
					            if (sysSet4 != null)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                if (sysSet4.ConstValue=="1")
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ckIsUseLoaclService .Checked=true;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ckIsUseLoaclService.Checked = false;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        protected void OnlineMenuSetSave_OnClick(object sender, EventArgs e)
 | 
					        protected void OnlineMenuSetSave_OnClick(object sender, EventArgs e)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
| 
						 | 
					@ -1115,6 +1127,36 @@ namespace FineUIPro.Web.SysManage
 | 
				
			||||||
                Funs.DB.Sys_Const.InsertOnSubmit(sysSet3);
 | 
					                Funs.DB.Sys_Const.InsertOnSubmit(sysSet3);
 | 
				
			||||||
                Funs.DB.SubmitChanges();
 | 
					                Funs.DB.SubmitChanges();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            Model.Sys_Const sysSet4 = db.Sys_Const.FirstOrDefault(x => x.ConstText == "IsUseLoaclService");
 | 
				
			||||||
 | 
					            if (sysSet4 != null)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                if (ckIsUseLoaclService.Checked)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    sysSet4.ConstValue ="1";
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    sysSet4.ConstValue = "0";
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                db.SubmitChanges();
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            else
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                sysSet4 = new Model.Sys_Const();
 | 
				
			||||||
 | 
					                if (ckIsUseLoaclService.Checked)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    sysSet4.ConstValue = "1";
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    sysSet4.ConstValue = "0";
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                sysSet4.ConstText = "IsUseLoaclService";
 | 
				
			||||||
 | 
					                sysSet4.ID = SQLHelper.GetNewID();
 | 
				
			||||||
 | 
					                Funs.DB.Sys_Const.InsertOnSubmit(sysSet4);
 | 
				
			||||||
 | 
					                Funs.DB.SubmitChanges();
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
            ShowNotify("保存成功!", MessageBoxIcon.Success);
 | 
					            ShowNotify("保存成功!", MessageBoxIcon.Success);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        #endregion
 | 
					        #endregion
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -869,6 +869,15 @@ namespace FineUIPro.Web.SysManage
 | 
				
			||||||
        /// </remarks>
 | 
					        /// </remarks>
 | 
				
			||||||
        protected global::FineUIPro.TextBox txtCallBackapiurl;
 | 
					        protected global::FineUIPro.TextBox txtCallBackapiurl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// ckIsUseLoaclService 控件。
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <remarks>
 | 
				
			||||||
 | 
					        /// 自动生成的字段。
 | 
				
			||||||
 | 
					        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
				
			||||||
 | 
					        /// </remarks>
 | 
				
			||||||
 | 
					        protected global::FineUIPro.CheckBox ckIsUseLoaclService;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// Toolbar5 控件。
 | 
					        /// Toolbar5 控件。
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,203 @@
 | 
				
			||||||
 | 
					<?xml version="1.0"?>
 | 
				
			||||||
 | 
					<!--
 | 
				
			||||||
 | 
					  有关如何配置 ASP.NET 应用程序的详细消息,请访问
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  http://go.microsoft.com/fwlink/?LinkId=169433
 | 
				
			||||||
 | 
					  -->
 | 
				
			||||||
 | 
					<configuration>
 | 
				
			||||||
 | 
					  <configSections>
 | 
				
			||||||
 | 
					    <section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
 | 
				
			||||||
 | 
					  </configSections>
 | 
				
			||||||
 | 
					  <FineUIPro DebugMode="true" Theme="Cupertino"/>
 | 
				
			||||||
 | 
					  <appSettings>
 | 
				
			||||||
 | 
					    <!--连接字符串-->
 | 
				
			||||||
 | 
					    <!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
 | 
				
			||||||
 | 
						  <add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
 | 
				
			||||||
 | 
						  <!--系统名称-->
 | 
				
			||||||
 | 
					    <add key="SystemName" value="智慧施工管理信息系统V1.0"/>
 | 
				
			||||||
 | 
					    <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
 | 
				
			||||||
 | 
					    <add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
 | 
				
			||||||
 | 
					    <add key="SGGLUrl" value="http://localhost:8579/"/>
 | 
				
			||||||
 | 
					    <add key="SystemVersion" value="SGGLPackFile_V2021-02-01-001"/>
 | 
				
			||||||
 | 
					    <!--启用与集团实名制 True启用 False 不启用-->
 | 
				
			||||||
 | 
					    <add key="EnableRealName" value="False"/>
 | 
				
			||||||
 | 
					    <add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour1"/>
 | 
				
			||||||
 | 
					    <add key="ControlApiUrl" value="http://webwh02.cwcec.com:9123/api/services/app"/>
 | 
				
			||||||
 | 
					    <add key="Intervaltime" value="20"/>
 | 
				
			||||||
 | 
					    <!--<add key="RealNameClientId" value="1338326379741057025"/>
 | 
				
			||||||
 | 
					    <add key="RealNameUserName" value="zgwhgcyxgs@CNCEC"/>
 | 
				
			||||||
 | 
					    <add key="RealNamePassWord" value="0nkbqy9n0"/>-->
 | 
				
			||||||
 | 
					    <!--附件上传物理路径-->
 | 
				
			||||||
 | 
					    <add key="localRoot" value="D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\"/>
 | 
				
			||||||
 | 
					    <!--视频服务器-->
 | 
				
			||||||
 | 
					    <add key="Video_URL" value="http://camera.cwcec.com:10000/"/>
 | 
				
			||||||
 | 
					    <!--BAIDU AI配置-->
 | 
				
			||||||
 | 
					    <add key="APP_ID" value="23518716"/>
 | 
				
			||||||
 | 
					    <add key="API_KEY" value="9UGmBxS0TOIDGM5adGrOcBnr"/>
 | 
				
			||||||
 | 
					    <add key="SECRET_KEY" value="6yq7q5PTTGfocWDmSN7hjxuiixsfURe1"/>
 | 
				
			||||||
 | 
					    <!--人脸检测参数-->
 | 
				
			||||||
 | 
					    <!--人脸活体检测参数1最好,0最差 建议0.995 -->
 | 
				
			||||||
 | 
					    <add key="BD_face_liveness" value="0.3"/>
 | 
				
			||||||
 | 
					    <!--人脸高宽建议100-200-->
 | 
				
			||||||
 | 
					    <!--<add key="BD_width" value="200" />-->
 | 
				
			||||||
 | 
					    <!--<add key="BD_height" value="200" />-->
 | 
				
			||||||
 | 
					    <!--人脸角度-->
 | 
				
			||||||
 | 
					    <add key="BD_roll" value="40"/>
 | 
				
			||||||
 | 
					    <!--人脸遮档度0最好,1最不好-->
 | 
				
			||||||
 | 
					    <add key="BD_occlusion" value="1"/>
 | 
				
			||||||
 | 
					    <!--人脸模糊度0最好,1最不好-->
 | 
				
			||||||
 | 
					    <add key="BD_blur" value="0.1"/>
 | 
				
			||||||
 | 
					    <add key="CEMS_IMG_URL" value="http://localhost/SGGL/"/>
 | 
				
			||||||
 | 
					    <!--跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版-->
 | 
				
			||||||
 | 
					    <add key="miniprogram_state" value="developer"/>
 | 
				
			||||||
 | 
					  </appSettings>
 | 
				
			||||||
 | 
					  <!--
 | 
				
			||||||
 | 
					    有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    可在 <httpRuntime> 标记上设置以下特性。
 | 
				
			||||||
 | 
					      <system.Web>
 | 
				
			||||||
 | 
					        <httpRuntime targetFramework="4.6.1" />
 | 
				
			||||||
 | 
					      </system.Web>
 | 
				
			||||||
 | 
					  -->
 | 
				
			||||||
 | 
					  <system.web>
 | 
				
			||||||
 | 
					    <!--  会话状态设置 默认情况下,ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie,请设置 sessionState cookieless="true" -->
 | 
				
			||||||
 | 
					    <sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
 | 
				
			||||||
 | 
					    <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
 | 
				
			||||||
 | 
					      <controls>
 | 
				
			||||||
 | 
					        <add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f"/>
 | 
				
			||||||
 | 
					        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 | 
				
			||||||
 | 
					        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 | 
				
			||||||
 | 
					      </controls>
 | 
				
			||||||
 | 
					    </pages>
 | 
				
			||||||
 | 
					    <httpModules>
 | 
				
			||||||
 | 
					      <add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
 | 
				
			||||||
 | 
					      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 | 
				
			||||||
 | 
					    </httpModules>
 | 
				
			||||||
 | 
					    <httpHandlers>
 | 
				
			||||||
 | 
					      <add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
 | 
				
			||||||
 | 
					      <add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
 | 
				
			||||||
 | 
					    </httpHandlers>
 | 
				
			||||||
 | 
					    <compilation debug="true" targetFramework="4.6.1"/>
 | 
				
			||||||
 | 
					    <httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000"/>
 | 
				
			||||||
 | 
					    <authentication mode="Forms">
 | 
				
			||||||
 | 
					      <forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
 | 
				
			||||||
 | 
					    </authentication>
 | 
				
			||||||
 | 
					    <membership>
 | 
				
			||||||
 | 
					      <providers>
 | 
				
			||||||
 | 
					        <clear/>
 | 
				
			||||||
 | 
					        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
 | 
				
			||||||
 | 
					      </providers>
 | 
				
			||||||
 | 
					    </membership>
 | 
				
			||||||
 | 
					    <profile>
 | 
				
			||||||
 | 
					      <providers>
 | 
				
			||||||
 | 
					        <clear/>
 | 
				
			||||||
 | 
					        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
 | 
				
			||||||
 | 
					      </providers>
 | 
				
			||||||
 | 
					    </profile>
 | 
				
			||||||
 | 
					    <roleManager enabled="false">
 | 
				
			||||||
 | 
					      <providers>
 | 
				
			||||||
 | 
					        <clear/>
 | 
				
			||||||
 | 
					        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
 | 
				
			||||||
 | 
					        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
 | 
				
			||||||
 | 
					      </providers>
 | 
				
			||||||
 | 
					    </roleManager>
 | 
				
			||||||
 | 
					    <customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
 | 
				
			||||||
 | 
					  </system.web>
 | 
				
			||||||
 | 
					  <location path="res.axd"/>
 | 
				
			||||||
 | 
					  <system.webServer>
 | 
				
			||||||
 | 
					    <staticContent>
 | 
				
			||||||
 | 
					      <mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
 | 
				
			||||||
 | 
					      <mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
 | 
				
			||||||
 | 
					    </staticContent>
 | 
				
			||||||
 | 
					    <validation validateIntegratedModeConfiguration="false"/>
 | 
				
			||||||
 | 
					    <modules runAllManagedModulesForAllRequests="true">
 | 
				
			||||||
 | 
					      <add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
 | 
				
			||||||
 | 
					      <remove name="ScriptModule"/>
 | 
				
			||||||
 | 
					      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 | 
				
			||||||
 | 
					    </modules>
 | 
				
			||||||
 | 
					    <handlers>
 | 
				
			||||||
 | 
					      <remove name="ChartImageHandler"/>
 | 
				
			||||||
 | 
					      <add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro"/>
 | 
				
			||||||
 | 
					      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
 | 
				
			||||||
 | 
					    </handlers>
 | 
				
			||||||
 | 
					    <defaultDocument>
 | 
				
			||||||
 | 
					      <files>
 | 
				
			||||||
 | 
					        <add value="Login.aspx"/>
 | 
				
			||||||
 | 
					      </files>
 | 
				
			||||||
 | 
					    </defaultDocument>
 | 
				
			||||||
 | 
					    <security>
 | 
				
			||||||
 | 
					      <requestFiltering>
 | 
				
			||||||
 | 
					        <requestLimits maxAllowedContentLength="500000000"/>
 | 
				
			||||||
 | 
					      </requestFiltering>
 | 
				
			||||||
 | 
					    </security>
 | 
				
			||||||
 | 
					  </system.webServer>
 | 
				
			||||||
 | 
					  <!-- SERVER -->
 | 
				
			||||||
 | 
					  <system.serviceModel>
 | 
				
			||||||
 | 
					    <client>
 | 
				
			||||||
 | 
					      <endpoint address="http://localhost/CNCECHSSE/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint"/>
 | 
				
			||||||
 | 
					      <endpoint address="https://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap"/>
 | 
				
			||||||
 | 
					    </client>
 | 
				
			||||||
 | 
					    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
 | 
				
			||||||
 | 
					    <services>
 | 
				
			||||||
 | 
					      <service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
 | 
				
			||||||
 | 
					        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
 | 
				
			||||||
 | 
					      </service>
 | 
				
			||||||
 | 
					    </services>
 | 
				
			||||||
 | 
					    <behaviors>
 | 
				
			||||||
 | 
					      <serviceBehaviors>
 | 
				
			||||||
 | 
					        <behavior name="BLL.HSSEServiceBehavior">
 | 
				
			||||||
 | 
					          <serviceMetadata httpGetEnabled="true"/>
 | 
				
			||||||
 | 
					          <serviceDebug includeExceptionDetailInFaults="false"/>
 | 
				
			||||||
 | 
					          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
 | 
				
			||||||
 | 
					          <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
 | 
				
			||||||
 | 
					        </behavior>
 | 
				
			||||||
 | 
					      </serviceBehaviors>
 | 
				
			||||||
 | 
					    </behaviors>
 | 
				
			||||||
 | 
					    <bindings>
 | 
				
			||||||
 | 
					      <basicHttpBinding>
 | 
				
			||||||
 | 
					        <binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
 | 
				
			||||||
 | 
					          <security mode="Transport"/>
 | 
				
			||||||
 | 
					        </binding>
 | 
				
			||||||
 | 
					      </basicHttpBinding>
 | 
				
			||||||
 | 
					      <wsHttpBinding>
 | 
				
			||||||
 | 
					        <binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
 | 
				
			||||||
 | 
					          <readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000"/>
 | 
				
			||||||
 | 
					          <security mode="Transport">
 | 
				
			||||||
 | 
					            <transport clientCredentialType="Windows" proxyCredentialType="None"/>
 | 
				
			||||||
 | 
					            <message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
 | 
				
			||||||
 | 
					          </security>
 | 
				
			||||||
 | 
					        </binding>
 | 
				
			||||||
 | 
					        <binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
 | 
				
			||||||
 | 
					          <security mode="Transport">
 | 
				
			||||||
 | 
					            <transport clientCredentialType="Windows" proxyCredentialType="None"/>
 | 
				
			||||||
 | 
					            <message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
 | 
				
			||||||
 | 
					          </security>
 | 
				
			||||||
 | 
					        </binding>
 | 
				
			||||||
 | 
					      </wsHttpBinding>
 | 
				
			||||||
 | 
					    </bindings>
 | 
				
			||||||
 | 
					  </system.serviceModel>
 | 
				
			||||||
 | 
					  <runtime>
 | 
				
			||||||
 | 
					    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 | 
				
			||||||
 | 
								<dependentAssembly>
 | 
				
			||||||
 | 
									<assemblyIdentity name="System.ValueTuple" publicKeyToken="CC7B13FFCD2DDD51" culture="neutral"/>
 | 
				
			||||||
 | 
									<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
 | 
				
			||||||
 | 
								</dependentAssembly>
 | 
				
			||||||
 | 
					      <dependentAssembly>
 | 
				
			||||||
 | 
					        <assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral"/>
 | 
				
			||||||
 | 
					        <bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0"/>
 | 
				
			||||||
 | 
					      </dependentAssembly>
 | 
				
			||||||
 | 
					      <dependentAssembly>
 | 
				
			||||||
 | 
					        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
 | 
				
			||||||
 | 
					        <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
 | 
				
			||||||
 | 
					      </dependentAssembly>
 | 
				
			||||||
 | 
					      <dependentAssembly>
 | 
				
			||||||
 | 
					        <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
 | 
				
			||||||
 | 
					        <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1"/>
 | 
				
			||||||
 | 
					      </dependentAssembly>
 | 
				
			||||||
 | 
					      <dependentAssembly>
 | 
				
			||||||
 | 
					        <assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
 | 
				
			||||||
 | 
					        <bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1"/>
 | 
				
			||||||
 | 
					      </dependentAssembly>
 | 
				
			||||||
 | 
					    </assemblyBinding>
 | 
				
			||||||
 | 
					  </runtime>
 | 
				
			||||||
 | 
					</configuration>
 | 
				
			||||||
| 
						 | 
					@ -138,7 +138,6 @@
 | 
				
			||||||
<TreeNode id="FD572EFA-8E87-43D1-B514-25A39768106F" Text="生态环保工作总结报告" NavigateUrl="HSSE/InformationProject/EPSummaryReport.aspx"></TreeNode>
 | 
					<TreeNode id="FD572EFA-8E87-43D1-B514-25A39768106F" Text="生态环保工作总结报告" NavigateUrl="HSSE/InformationProject/EPSummaryReport.aspx"></TreeNode>
 | 
				
			||||||
<TreeNode id="25CE6894-2840-4DC4-AD2E-D72292849CEE" Text="建筑行业能源节约与生态环境保护汇总表" NavigateUrl="ZHGL/Environmental/ProjectArchitectureReport.aspx"></TreeNode>
 | 
					<TreeNode id="25CE6894-2840-4DC4-AD2E-D72292849CEE" Text="建筑行业能源节约与生态环境保护汇总表" NavigateUrl="ZHGL/Environmental/ProjectArchitectureReport.aspx"></TreeNode>
 | 
				
			||||||
<TreeNode id="A44E98F6-E9FE-43F8-8349-C166263BF608" Text="化工行业能源节约与生态环境保护汇总表" NavigateUrl="ZHGL/Environmental/ProjectChemicalReport.aspx"></TreeNode>
 | 
					<TreeNode id="A44E98F6-E9FE-43F8-8349-C166263BF608" Text="化工行业能源节约与生态环境保护汇总表" NavigateUrl="ZHGL/Environmental/ProjectChemicalReport.aspx"></TreeNode>
 | 
				
			||||||
<TreeNode id="EFA6E45F-1267-4804-BEE7-41E0C5461204" Text="中央企业节能环保产业企业基本情况和经营情况报表" NavigateUrl="ZHGL/Environmental/ProjectOperationReport.aspx"></TreeNode>
 | 
					 | 
				
			||||||
<TreeNode id="9DE996D9-A2CF-40C8-86D3-6A472AB30E5D" Text="中央企业节能环保产业企业生产和服务业务情况报表" NavigateUrl="ZHGL/Environmental/ProjectEnergyReport.aspx"></TreeNode>
 | 
					<TreeNode id="9DE996D9-A2CF-40C8-86D3-6A472AB30E5D" Text="中央企业节能环保产业企业生产和服务业务情况报表" NavigateUrl="ZHGL/Environmental/ProjectEnergyReport.aspx"></TreeNode>
 | 
				
			||||||
</TreeNode>
 | 
					</TreeNode>
 | 
				
			||||||
<TreeNode id="9BEB66C0-E6DE-44DD-94F6-5C7433E6DE62" Text="项目HSE总结" NavigateUrl="HSSE/ActionPlan/ActionPlanSummary.aspx"></TreeNode>
 | 
					<TreeNode id="9BEB66C0-E6DE-44DD-94F6-5C7433E6DE62" Text="项目HSE总结" NavigateUrl="HSSE/ActionPlan/ActionPlanSummary.aspx"></TreeNode>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,4 +22,6 @@
 | 
				
			||||||
<TreeNode id="7EC1FBAF-BEC9-46CD-9E3B-0D0093B4E1C2" Text="仪表完成情况" NavigateUrl="JDGL/Check/MeterCompletion.aspx"></TreeNode>
 | 
					<TreeNode id="7EC1FBAF-BEC9-46CD-9E3B-0D0093B4E1C2" Text="仪表完成情况" NavigateUrl="JDGL/Check/MeterCompletion.aspx"></TreeNode>
 | 
				
			||||||
<TreeNode id="C7037A5D-D8A6-4C1C-A5B8-2083C31C0A7B" Text="全厂地下管网完成情况" NavigateUrl="JDGL/Check/UndergroundPipeCompletion.aspx"></TreeNode>
 | 
					<TreeNode id="C7037A5D-D8A6-4C1C-A5B8-2083C31C0A7B" Text="全厂地下管网完成情况" NavigateUrl="JDGL/Check/UndergroundPipeCompletion.aspx"></TreeNode>
 | 
				
			||||||
</TreeNode>
 | 
					</TreeNode>
 | 
				
			||||||
 | 
					<TreeNode id="1FBC729D-0A8E-423C-B133-B64583BF9611" Text="进度软件(新)" NavigateUrl=""><TreeNode id="368DB90C-8A47-44F7-A69A-D2D60A6E338C" Text="费用项裁剪" NavigateUrl="JDGL/Progress/WbsManager.aspx"></TreeNode>
 | 
				
			||||||
 | 
					</TreeNode>
 | 
				
			||||||
</Tree>
 | 
					</Tree>
 | 
				
			||||||
		Loading…
	
		Reference in New Issue