HTTP/1.1 200 OK
CONNECTION: keep-alive
Date: Thu, 31 Oct 2024 22:28:23 GMT
Last-Modified: Tue, 15 Nov 2022 10:55:50 GMT
Etag: "1668509750:d71"
CONTENT-LENGTH: 3441
P3P: CP=CAO PSA OUR
CACHE-CONTROL: max-age=0
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1;mode=block
Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval'
X-Content-Type-Options: nosniff
CONTENT-TYPE: text/html
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="UTF-8"> <title>WEB SERVICE</title> <link href="./baseProj/images/favicon.ico" type="image/x-icon" rel="shortcut icon"> <script src="ext/ext-all.js"></script> <script type="text/javascript" src="./projectPath.js"></script> <script type="text/javascript" src="/app/libs/require.js"></script> <script type="text/javascript" src="/app/jsCore/require-config.js"></script> <script type="text/javascript"> Ext.onReady(function () {
//启用缓存
Ext.Loader.setConfig({
"disableCaching": false,
"paths":{
"basePath": BASEURL, //配置基础项目的文件路径
"projectPath": PROJECT_URL //配置定制项目的文件路径
}
});
//定义项目的加载路径
var basePath = Ext.Loader.getPath('basePath'),
projectPath = Ext.Loader.getPath('projectPath');
//设置类的地址路径
Ext.Loader.setPath({
"jsCore": "app/jsCore",
'component': "baseProj/js/component",
'js': 'baseProj/js',
'plugin': 'app/plugin',
'widget': 'baseProj/js/widget',
'baseCls':'app/baseCls',
'app': 'baseCls', //各个项目统一一个app
'customJs': projectPath+'js', // 非基线项目引用的js路径
'desktop':PROJ_MODULE.indexOf('desktop') != -1? projectPath+'js/desktop':basePath+'/js/desktop', //加载指定项目的Desktop.js
'data': PROJ_MODULE.indexOf('data') != -1 ? projectPath + 'data': basePath + '/data' //加载指定项目的数据文件
});
require(['pubsub', 'core', 'extend', 'libs/qrcode', 'libs/jsonpath', 'libs/json2',
'libs/base64',
'libs/md5', 'libs/aes', 'libs/rsa', 'libs/xss', 'libs/moment',
// 'timeaxes/TimeAxes',
// 'timeaxes/TimeAxesAdaptor',
// 'timeaxes/TimeGridLayer',
// 'timeaxes/TimeAxes_old',
// 'timeaxes/TimeGridLayer_old',
// 'h5Player',
// 'FileSaver'
], function () {
//载入必要的模块,字符串文件加载完成后,初始化和加载应用
Ext.require(['jsCore.Common', 'data.Constants'], function () {