123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698 |
-
- Namespace.register("U.Word.Panel");
- U.Word.Panel.Loadeditor = function () {
- var _worddiv, _UDTD, _UDGD, _wordeditor, _UDKD;
-
- if (!$("#UD_SYQXR")[0]) {
- _worddiv = $("#UD_SYQXR_Parent")[0];
- _wordeditor = $$("div", { "id": "UD_SYQXR" });
- _pagediv = $$("div", { "className": "U_Boom_CO_Editor_body_main_m" }, _wordeditor);
- _header = $$("div", { "className": "U_Boom_CO_Editor_body_main_border" }, _pagediv);
- $$("div", { "className": "U_Boom_CO_Editor_body_main_bordero" }, _header);
- $$("div", { "className": "U_Boom_CO_Editor_body_main_bordert" }, _header);
- $$("div", { "className": "U_Boom_CO_Editor_body_main_text", contentEditable: "true", spellcheck: "false", "innerHTML": "", "id": "Txt" + Guid.NewGuid() }, _pagediv);
- _footer = $$("div", { "className": "U_Boom_CO_Editor_body_main_border" }, _pagediv);
- $$("div", { "className": "U_Boom_CO_Editor_body_main_borders" }, _footer);
- $$("div", { "className": "U_Boom_CO_Editor_body_main_borderf" }, _footer);
-
- U.UI.Form({
- min: false, max: false, close: false, draw: false, className: "UD_SYF_S",
- SO: _worddiv, content: _wordeditor, title: false, hst: false, bst: { "style": { "overflow": "hidden" } },
- style: { "backgroundColor": "transparent", "border": "0", "width": "auto", "top": "15px", "left": "30px" }
- });
- }
- }
- U.Word.Panel.LoadPlayUser = function (fileinfo) {
- var _coopwindow, _frienddiv, _example, _wordsize, _marginleft;
-
- if (!$("#U_Boom_CO_Editor_body_left_invite_user")[0]) {
- _wordsize = U.M.GetElementInfo($("#UD_SYQXR")[0]);
- _marginleft = _wordsize["OW"] + 50;
-
- _coopwindow = $("#U_Boom_CO_Editor_body_left")[0];
- _frienddiv = $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user", "id": "U_Boom_CO_Editor_body_left_invite_user" });
- _example = $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user_a", "onclick": [[U.Word.Panel.DisplayInsertUser, ([])]] }, _frienddiv);
- $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user_a_img" }, _example);
- $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user_a_div", "innerHTML": "邀请" }, _example);
- U.UI.Form({
- min: false, max: false, draw: false,
- SO: _coopwindow, content: _frienddiv, title: "<div class='UD_SYF_STI'>邀请协作人员</div>", className: "UD_SYF_S",
- hst: { style: { "padding": "0" }, "className": "U_Boom_CO_Editor_body_left_invite_name" },
- style: { "border": "1px #d6dff0 solid", "position": "absolute", "width": "300px", "height": "250px", "top": "25px", "left": _marginleft + "px" }
- });
- }
- U.Word.Panel.DisPlayUser(fileinfo);
- }
- U.Word.Panel.DisPlayUser = function (UDE, UDOD) {
- UDOD = UDOD || $("#U_Boom_CO_Editor_body_left_invite_user")[0];
- var HYD = UDOD.children[0];
- UDOD.innerHTML = ""
- $(UDOD).append(HYD);
- if (UDE) {
- var UGF = _$(US.Friend[3]).Select({ "GroupManageID": UDE.UserDirectoryEncrypt || UDE.GroupID });
- for (i = 0; i < UGF.length; i++) {
- _UDOD = $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user_a" }, UDOD);
- _UDTD = $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user_a_img", "style": { "background": "" } }, _UDOD);
- $$("img", { "src": U.M.GetImgU(UGF[i].UserThumbnailImageHead) }, _UDTD);
- $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user_a_div", "innerHTML": UGF[i].UserNickName }, _UDOD);
- }
- }
- }
- U.Word.Panel.DisplayInsertUser = function () {
- var _UGE = U.Word.TF,
- _UID = _UGE["UID"],
- _UFID = _UGE["ID"],
- _UET = _UGE["ET"],
- _UQID = _UET.UserDirectoryEncrypt || _UET.GroupID;
- if (_UQID == US.userInfo.userid) { _UQID = ""; }
- if (_UET && _UET.UserDirectoryID) {
- top.U.F.J.ANewQZ(null, {
- fun: U.M.apply(this, [[top.U.F.J.CXNEWTJ,
- ([_UQID, _UET.UserDirectoryName || _UET.UserFilesName, "由文档" + (_UET.UserDirectoryName || _UET.UserFilesName) + "发起的互联办公群组。", _UFID, U.M.apply(null, [[U.Word.Panel.InsertUser, ([_UET])]])])]])
- });
-
- }
- else {
- U.Word.Save();
- }
- }
- U.Word.Panel.InsertUser = function (UET, GroupID, _FriendUser, groupid, _UGN) {
-
-
-
-
- if (!(UET.UserDirectoryEncrypt && UET.UserId != UET.UserDirectoryEncrypt)) {
-
- U.A.Request("UseStudioDisk.CopyFile", ([US.userInfo.userid, GroupID.GroupManageID, UET.UserFilesID || UET.UserDirectoryID, GroupID.GroupManageID, 1]), top.U.Dk.RE.AsynUFStick, (["", GroupID.GroupManageID, [UET], [UET], U.M.apply(null, [[U.Word.Panel.AsynInsertUser, ([UET, _FriendUser, groupid, _UGN])]]), US.userInfo.userid, GroupID.GroupManageID, "Copy", UET.UserDirectoryParentID]));
- }
-
-
-
- }
- U.Word.Panel.AsynInsertUser = function (UET, _FriendUser, groupid, _UGN, arr) {
-
-
- top.U.D.Office.Word(US.userInfo, arr[0])
- U.A.Request(US.CD, ([US.DB, "UseStudio_Friends", "UF_D_A_AFMS", US.userInfo.userid, _FriendUser, US.userInfo.UserNickName || US.userInfo.username, '' + groupid + ',' + _UGN + ',' + UET.UserDirectoryModifyTime + ',' + arr[0].UserDirectoryID + ',' + UET.UserDirectoryName + '.UW', 5, false]), U.M.apply(), ([""]));
-
- }
- U.Word.Panel.LoadHotTemplates = function (fileinfo) {
- var _UDTD, _UDOD, _USM, _UW;
- if (!$("#U_Boom_CO_Editor_body_left_template_hot")[0]) {
- _UDTD = $("#U_Boom_CO_Editor_body_left")[0];
- _USM = U.M.GetElementInfo($("#UD_SYQXR")[0]);
- _UW = _USM["OW"] + 50;
-
- _UDOD = $$("div", { "className": "U_Boom_CO_Editor_body_left_template_user", id: "U_Boom_CO_Editor_body_left_template_hot" });
- U.UI.Form({
- min: false, max: false, draw: false, SO: _UDTD,
- content: _UDOD, title: "<div class='UD_SYF_STI'>热门模板提供</div>", className: "UD_SYF_S",
- hst: { style: { "padding": "0" }, "className": "U_Boom_CO_Editor_body_left_invite_name" },
- style: { "border": "1px #d6dff0 solid", "width": "300px", "height": "270px", "position": "absolute", "top": "840px", "left": _UW + "px" }
- });
- }
- U.Word.Panel.GetHotTemplates("00000000-0000-0000-0000-000000000000", 1, 10);
- }
- U.Word.Panel.GetHotTemplates = function (UDID, S, E, UDOD) {
- UDOD = UDOD || $("#U_Boom_CO_Editor_body_left_template_hot")[0];
- U.A.Request(US.CD, ([US.DB, "UseStudio_Office", "UD_A_SelectHotTemplate", UDID, S, E]), U.Word.Panel.AsynGetHotTemplates, ([null, UDOD]));
- }
- U.Word.Panel.AsynGetHotTemplates = function (request) {
- var i, _UDOD,
- _UDFD = $$("frag"),
- context = request.context,
- request = request.value;
- context[1].innerHTML = "";
- for (i = 0; i < request.length; i++) {
- _UDOD = $$("div", { "className": "U_Boom_CO_Editor_body_left_template_user_m", "onclick": [[U.Word.Panel.OpenHotTemplates, ([request[i].TemplateId])]] }, _UDFD);
- $$("div", { "className": "U_Boom_CO_Editor_body_left_template_user_m_s", "style": { "background-image": "url(" + request[i].UseFilesServerThumbnailName + ")" } }, _UDOD);
- $$("div", { "className": "U_Boom_CO_Editor_body_left_template_user_m_x", "innerHTML": request[i]["UserFilesName"] }, _UDOD);
- }
- $(context[1]).append(_UDFD);
- }
- U.Word.Panel.OpenHotTemplates = function (ArrTD) {
- top.U.Boom.I.GetHomeTemp.particulars(ArrTD);
- }
- U.Word.Panel.Loadlink = function (fileinfo) {
- var _rightwindow, _linkdiv, _wordsize, _marginleft;
-
- if (!$("#U_Boom_CO_Editor_body_left_href_pay_a")[0]) {
-
- _rightwindow = $("#U_Boom_CO_Editor_body_left")[0];
- _wordsize = U.M.GetElementInfo($("#UD_SYQXR")[0]);
- _marginleft = _wordsize["OW"] + 50;
-
- _linkdiv = $$("div", { "className": "U_Boom_CO_Editor_body_left_href_pay_a", id: "U_Boom_CO_Editor_body_left_href_pay_a", "innerHTML": "将此站点生成链接", "onclick": [[U.Word.Panel.SetDNS]] });
- U.UI.Form({
- min: false, max: false, draw: false, SO: _rightwindow,
- content: _linkdiv, title: "<div class='UD_SYF_STI'>查看目录</div>", className: "UD_SYF_S",
- hst: { style: { "padding": "0" }, "className": "U_Boom_CO_Editor_body_left_invite_name" },
- style: { "border": "1px #d6dff0 solid", "position": "absolute", "width": "300px", "height": "250px", "top": "570px", "left": _marginleft + "px" }
- });
- }
-
- }
- U.Word.Panel.Getlink = function (UDID, UDOD) {
- UDOD = UDOD || $("#U_Boom_CO_Editor_body_left_href_pay_a")[0];
- U.A.Request(US.CD, ([US.DB, "UseStudio_Office", "UD_A_SelectHotTemplate", UDID, UOID, US, UE]), U.Word.Panel.AsynGetlink, ([null, UDOD]));
- }
- U.Word.Panel.AsynGetlink = function (request) {
- var context = request.context;
- request.value;
- if (request) {
- context[1].innerHTML = request;
- }
- }
- U.Word.Panel.SetDNS = function () {
- var _UGE = U.Word.TF,
- _UFID = _UGE.ID,
- _USID = _UGE.UID,
- _UFNM = _UGE.ET.UserDirectoryName;
- if (_UFID) {
- var _UDOD = $$("div", { "class": "U_Boom_CO_Popup_18" }),
- _UDSBD, _UDNA, _UDRT, _UDYM, _UDSD = $$("div", { "class": "U_Boom_CO_Popup_18_Set" }, _UDOD),
- _UDQCD, _UDUR, _UDQBD, _UDBG, _UDQD = $$("div", { "class": "U_Boom_CO_Popup_18_Que" }, _UDOD);
-
- $$("div", { "class": "U_Boom_CO_Popup_18_Set_Tag", "innerHTML": "目前默认域名 <span>设置个性域名,让好友同事更快记住链接</span>" }, _UDSD),
- _UDNA = $$("div", { "class": "U_Boom_CO_Popup_18_Set_Name", "innerHTML": "等待域名生成" }, _UDSD),
- _UDSBD = $$("div", { "class": "U_Boom_CO_Popup_18_Btn" }, _UDSD),
-
- _UDRT = $$("div", { "class": "U_Boom_CO_Popup_18_Que_Right", "style": { "display": "none" } }, _UDQD);
- $$("div", { "class": "U_Boom_CO_Popup_18_Que_Tag", "innerHTML": "设置成功" }, _UDRT);
- _UDUR = $$("input", { "type": "text", "class": "U_Boom_CO_Popup_18_Que_Url" }, _UDRT);
-
- _UDQCD = $$("div", { "class": "U_Boom_CO_Popup_18_Que_Code", "style": { "display": "none" } }, _UDQD);
- _UDBG = $$("div", { "class": "U_Boom_CO_Popup_18_Que_QR" }, _UDQCD);
- $$("div", { "class": "U_Boom_CO_Popup_18_Que_Con", "innerHTML": "扫一扫 </br> 分享此文档给好友" }, _UDQCD);
-
- _UDYM = $$("div", { "class": "U_Boom_CO_Popup_18_Set_Yu" }, _UDOD);
- $$("div", { "class": "U_Boom_CO_Popup_18_Set_Yu_Text", "innerHTML": "对域名不满意?可以到" }, _UDYM),
- $$("div", { "class": "U_Boom_CO_Popup_18_Set_Yu_Ming", "innerHTML": "域名管理中心", "onclick": [[U.Word.Panel.Yuming]] }, _UDYM),
- _UDQBD = $$("div", { "class": "U_Boom_CO_Popup_18_Btn", "style": { "display": "none" } }, _UDQD);
- $$("div", { "innerHTML": "取消", "onclick": [[U.Word.Panel.Close, ([_UDOD])]] }, _UDSBD),
- $$("div", { "innerHTML": "设置", "onclick": [[U.Word.Panel.QDSZ, ([_UDRT, _UDSD, _UDUR, _UDNA, _UDQBD])]] }, _UDSBD),
- $$("div", { "innerHTML": "取消", "onclick": [[U.Word.Panel.Close, ([_UDOD])]] }, _UDQBD);
- $$("div", { "innerHTML": "生成二维码", "onclick": [[U.Word.Panel.CodeSet, ([_UDUR, _UDBG, _UDQCD])]] }, _UDQBD);
- $$("div", { "innerHTML": "复制链接分享", "onclick": [[U.Word.CopySet, ([_UDUR])]] }, _UDQBD);
- top.U.UI.From({ min: false, max: false, id: "U_Boom_CO_Popup_18", style: { "width": "580px", "height": "auto" }, content: _UDOD, title: "提示", hst: {}, bst: {} });
- U.Word.Panel.eaDomain(_UFID, _UDNA, _UDRT, _UDSD, _UDUR, _UDNA, _UDYM, _UDQBD, _USID, _UFNM);
- } else {
- U.Word.Save();
- }
- }
- U.Word.Panel.eaDomain = function (UDID, UDOD, _UDRT, _UDSD, _UDUR, _UDNA, _UDYM, _UDQBD, _USID, _UFNM) {
- var fid = UDID;
- var fname = _UFNM;
- var UserID = _USID;
- var d = new Date();
- d.setMonth(d.getMonth() + 1);
- var yy1 = d.getFullYear();
- var mm1 = d.getMonth() + 1;
- var dd1 = d.getDate();
- if (mm1 < 10) {
- mm1 = '0' + mm1;
- }
- if (dd1 < 10) {
- dd1 = '0' + dd1;
- }
- var ExTime = yy1 + '-' + mm1 + '-' + dd1;
- _UDUR.value = Math.ceil(Math.random() * 1000) + ".boomyun.com";
-
-
- U.A.Request("http://cd.1473.cn/php", (["db.1473.cn", "UseStudio_DNS", 'GetDnsInfoByFileId', fid]), function (r) {
- if (r.value.length == 0) {
-
-
- U.A.Request("http://cd.1473.cn/php", (["db.1473.cn", "UseStudio_DNS", 'DNS_InsertDnsInformation', fid, fname, '.' + 'com', ExTime, '0', _UDUR.value, UserID, "1"]), function (r) {
-
-
- U.A.Request("http://cd.1473.cn/php", (["db.1473.cn", "UseStudio_DNS", 'GetDnsInfoByFileId', fid]), function (r) {
- _UDNA.innerHTML = r.value[0].Domain;
- });
- });
- } else {
- _UDRT.style.display = "block";
- _UDSD.style.display = "none";
- _UDQBD.style.display = "block";
- _UDYM.style.display = "block";
- _UDUR.value = r.value[0].Domain;
- }
- });
- }
- U.Word.Panel.CodeSet = function (_UDUR, _UDBG, _UDQCD) {
-
- top.U.QR.Code.generate("180", "180", "black", "white", $(_UDUR)[0].value, $(_UDBG)[0]);
- _UDQCD.style.display = "block";
- }
- U.Word.Panel.QDSZ = function (_UDRT, _UDSD, _UDUR, _UDNA, _UDQBD) {
- _UDRT.style.display = "block";
- _UDSD.style.display = "none";
- _UDQBD.style.display = "block";
- _UDUR.innerHTML = _UDNA.innerHTML;
- }
- U.Word.Panel.Createlink = function (UDE, UDOD) {
- U.A.Request(US.CD, ([US.DB, "UseStudio_Disk", "UD_I_AddDns", UDE.UserFileId, US.userInfo.userid, 1]), U.Word.Panel.AsynCreatelink, ([null, UDOD]));
- }
- U.Word.Panel.AsynCreatelink = function (request) {
- var context = request.context;
- request.value;
- if (request) {
- context[1].innerHTML = request.UserDomain + ".1473.cn";
- }
- }
- U.Word.Panel.Close = function (UDOD) {
- $(UDOD)[0].parentElement.parentElement.parentElement.style.display = "none";
- }
- U.Word.Panel.Yuming = function () {
- if (!top.$("#U_Boom_Y_B_Manage_Pop")[0]) {
- top.U.Yuming.MC.StateBox(U.Word.TF["ET"].UserallDirectoryName);
- top.U.D.SetDTop(top.$("#U_Boom_Y_B_Manage_Pop")[0]);
- } else {
- top.$("#U_Boom_Y_B_Manage_Pop")[0].style.display = "block";
- top.U.D.SetDTop(top.$("#U_Boom_Y_B_Manage_Pop")[0]);
- }
- }
- U.Word.Panel.LoadOfficeHistory = function (fileinfo, uid) {
- var _UDOD, _UDTD, _USM, _UW;
- if (!$("#U_Boom_CO_Editor_body_left_invite_history")[0]) {
- _UDTD = $("#U_Boom_CO_Editor_body_left")[0];
- _USM = U.M.GetElementInfo($("#UD_SYQXR")[0]);
- _UW = _USM["OW"] + 50;
-
- _UDOD = $$("div", { "className": "U_Boom_CO_Editor_body_left_invite_user", "id": "U_Boom_CO_Editor_body_left_invite_history" });
- U.UI.Form({
- min: false, max: false, draw: false, SO: _UDTD,
- content: _UDOD, title: "<div class='UD_SYF_STI'>编辑历史</div>", className: "UD_SYF_S",
- hst: { style: { "padding": "0" }, "className": "U_Boom_CO_Editor_body_left_invite_name" },
- bst: {},
- style: {
- "width": "300px", "height": "250px", "position": "absolute", "top": "300px", "left": _UW + "px", "border-radius": "0px",
- "border": "1px #d6dff0 solid"
- }
- });
- }
- if (fileinfo) {
- U.Word.Panel.ViewEditHistory(uid, fileinfo.UserDirectoryID, "00000000-0000-0000-0000-000000000000", 1, 10);
- }
- }
- U.Word.Panel.InsertOfficeHistory = function (UFID, UID, UTH, UDOD) {
- var UDOD = UDOD || $("#U_Boom_CO_Editor_body_left_invite_history")[0];
- var UHID = Guid.NewGuid();
- U.A.Request(US.CD, ([US.DB, "UseStudio_Office", "UD_A_InsertOfficeHistory", UHID, UID, UTH, UFID]), U.Word.Panel.AsynViewEditHistory, ([null, UDOD, UID]));
- }
- U.Word.Panel.ViewEditHistory = function (UID, UDID, UOID, S, E, UDOD) {
- setInterval(function () {
- UDOD = UDOD || $("#U_Boom_CO_Editor_body_left_invite_history")[0];
- U.A.Request(US.CD, ([US.DB, "UseStudio_Office", "UD_A_SelectOfficeHistory", UDID, UOID, S, E]), U.Word.Panel.AsynViewEditHistory, ([null, UDOD, UID]));
- }, 1000)
- }
- U.Word.Panel.AsynViewEditHistory = function (request) {
- var i, _UDOD, _UDTD, _UDSD, _UDFDC,
- context = request.context,
- _UDE = request.value,
- _UDFD = $(context[1]),
- _UID = context[2];
- _UDFD[0].innerHTML = "";
- if (_UDE.length == 0 && !$("#U_Boom_CO_Editor_History_N")[0]) {
- $$("div", { "innerHTML": "暂无历史", "style": { "text-align": "center", "margin-top": "50px" } }, _UDFD[0]);
- }
- else {
-
- for (i = 0; i < _UDE.length; i++) {
- _UDOD = $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o" }, _UDFD[0]);
- _UDTD = $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_l" }, _UDOD);
- $$("img", { "src": U.M.GetImgU(_UDE[i].UseFilesServerThumbnailName) }, _UDTD);
- _UDTD = $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_r" }, _UDOD);
- _UDSD = $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_r_s" }, _UDTD);
- $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_r_s_l", "innerHTML": _UDE[i].UserNickName || _UDE[i].UserName }, _UDSD);
- $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_r_s_r", "innerHTML": U.MT.getTDInterval(_UDE[i].CreateTime, "String") + "保存更新" }, _UDSD);
- _UDSD = $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_r_x" }, _UDTD);
- (_UDE[i].UserId != _UID) && $$("div", { "innerHTML": "对话", "style": { "margin-right": "10px" }, "onclick": [[]] }, _UDSD);
- $$("div", { "innerHTML": "详情", "onclick": [[U.Word.EditHistory, ([_UDE[i]])]] }, _UDSD);
- }
- _xzqb = $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_r_all" }, _UDFD[0]);
- $$("div", { "className": "U_Boom_CO_Editor_body_right_user_o_r_all_a", "innerHTML": "显示全部", "onclick": [[U.Word.EditHistoryq, ([_UDE])]] }, _xzqb);
- if (_UDE.length == 1 && (_UDFDC = _UDFD.Child()).length > 0) { _UDFD.append(_UDFDC[_UDFDC.length - 1], "", _UDFDC[0]); }
- }
- }
- U.Word.Panel.EditHistory = function (UDE) {
- var _UDOD = $$("div"),
- _UCT = top.U.UI.Form({
- content: _UDOD, id: "EditHistor", bst: { "style": { "overflow": "hidden" } },
- "style": { "width": "750px", "height": "550px", "overflow": "hidden" },
- title: "历史记录", draw: false, max: false, min: false
- });
- U.A.Request(US.CD, ([US.DB, "Usestudio_Office", "UD_A_SelectHistoryDetails", UDE.HistoryId]), U.Word.Panel.AsynEditHistory, ([_UDOD, UDE]));
- }
- U.Word.EditHistoryq = function (UDE) {
- var _UDOD = $$("div"),
- _UCT = top.U.UI.Form({
- content: _UDOD, id: "EditHistorq", bst: { "style": { "overflow": "hidden" } },
- "style": { "width": "750px", "height": "550px", "overflow": "hidden" },
- title: "历史记录", draw: true, max: true, min: true
- });
- var _UDOD, _UDBD, _UDTD, _UDSD;
- for (g = 0; g < UDE.length; g++) {
-
- _UDBD = $$("div", { "class": "U_Boom_Forms_Other_EditHistory_Container" }, _UDOD);
- _UDTD = $$("div", { "class": "U_Boom_Forms_Other_EditHistory_Container_Head" }, _UDBD);
- $$("img", { "src": U.M.GetImgU(UDE[g].UserThumbnailImageHead), "onerror": U.M.ImgError, "alt": UDE[g].UserName, "title": UDE[g].UserName }, _UDTD);
- $$("div", { "innerHTML": UDE[g].UserNickName + " " + U.MT.getTDInterval(UDE[g].CreateTime) + " 更改了以下内容" + "<br></br>" }, _UDTD);
- $$("div", { "innerHTML": UDE[g].OfficeContent }, _UDTD);
-
- }
- }
- U.Word.Panel.AsynEditHistory = function (request) {
- var i, _UDOD = request.context[0], _UDBD, _UDTD, _UDSD, _UDATA = request.value, _L = _UDATA.length;
- for (i = 0; i < _L; i++) {
- _UDBD = $$("div", { "class": "U_Boom_Forms_Other_EditHistory_Container" }, _UDOD);
- _UDTD = $$("div", { "class": "U_Boom_Forms_Other_EditHistory_Container_Head" }, _UDBD);
- $$("img", { "src": U.M.GetImgU(_UDATA[i].UserThumbnailImageHead), "onerror": U.M.ImgError, "alt": request.context[1].UserName , "title": request.context[1].UserName }, _UDTD);
- $$("div", { "innerHTML": (request.context[1].UserNickName) + " " + U.MT.getTDInterval(_UDATA[i].CreateTime) + " 更改了以下内容" }, _UDTD);
- $$("div", { "innerHTML": _UDATA[i].OfficeContent }, _UDTD);
- }
- }
- U.Word.AsynEditHistoryq = function (request) {
- var i, _UDOD = request.context[0], _UDBD, _UDTD, _UDSD, _UDATA = request.value, _L = _UDATA.length;
- for (i = 0; i < UDE; i++) {
- _UDBD = $$("div", { "class": "U_Boom_Forms_Other_EditHistory_Container" }, _UDOD);
- _UDTD = $$("div", { "class": "U_Boom_Forms_Other_EditHistory_Container_Head" }, _UDBD);
- $$("img", { "src": U.M.GetImgU(_UDATA[i].UserThumbnailImageHead), "onerror": U.M.ImgError, "alt": request.context[1].UserName , "title": request.context[1].UserName }, _UDTD);
- $$("div", { "innerHTML": (request.context[1].UserNickName) + " " + U.MT.getTDInterval(request.context[1].CreateTime) + " 更改了以下内容" }, _UDTD);
- $$("div", { "innerHTML": request.context[1].OfficeContent }, _UDTD);
- }
- }
|