在内网,可以正常加载。显示内容如下:
/*!
* Appnode 公有应用组件
* Copyright 2014-2018 Quyun Inc
* Released on 2018-04-18 20:58:31
*/
define(["angular","base.services","quyun.dialog","quyun.table"],function(e){e.module("notification.announcement.services",["quyun.dialog","quyun.table","base.services"]).factory("NotificationAnnouncement",["$rootScope","Dialog","Api",function(a,n,t){var o={};return o.detail=function(e,a){var o,i={config:a,title:a.data.Title,templateUrl:"/"+g_appNode.data.components+"/modules/notification/views/dialogs/notification-detail.html",buttons:{ok:{display:"hidden"},cancel:{name:"确定"}},data:a.data,init:function(){o=this,o.getDetail(a.data)},getDetail:function(e){t.call("Announcement.Detail",{Id:e.Id,NodeId:a.api.nodeid},{api:{ccenter_app:"notification"},successCallback:function(e){a.data.IsRead="Y",o.data=e.DATA.Announcement},errorCallback:function(e){t.error(o,e.MESSAGE)}})}};n.custom(i)},o.Delete=function(a,t){var o,i=t.data;i.constructor==String?(o="确认删除该公告?",i=[i]):o="确认删除所选公告?";var r={config:t,title:"删除公告",successNote:"成功删除公告!",template:o};r.urlParams=function(){return e.extend({Id:i},a)},n.confirm(r)},o.SetRead=function(a,t){var o,i=t.data;i.constructor==String?(o="确认将该公告标记为已读?",i=[i]):o="确认将所选公告标记为已读?","Y"==a.IsAll&&(o="确认将所有公告标记为已读?");var r={config:t,title:"设置已读",successNote:"成功设置已读!",template:o};r.urlParams=function(){var n={};return"Y"!=a.IsAll&&(n.Id=i),e.extend(n,a)},n.confirm(r)},o.Tidy=function(a,t){var o,i={config:t,title:"清理公告",successNote:"成功清理公告!",templateUrl:"/"+g_appNode.data.components+"/modules/notification/views/dialogs/notification-tidy.html",data:t.data,cate:"公告",init:function(){o=this,o.data={BeforeDay:30}}};i.urlParams=function(){return e.extend({BeforeDay:o.data.BeforeDay},a)},n.custom(i)},o}])});