资源简介
该系统,是应该医院网页系统,包括《挂号收费、门诊医生、医技处理、药房管理、财务管理、系统信息》,等等子网页
代码片段和文件信息
package com.baidu.ueditor;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.baidu.ueditor.define.ActionMap;
import com.baidu.ueditor.define.AppInfo;
import com.baidu.ueditor.define.baseState;
import com.baidu.ueditor.define.State;
import com.baidu.ueditor.hunter.FileManager;
import com.baidu.ueditor.hunter.ImageHunter;
import com.baidu.ueditor.upload.Uploader;
public class ActionEnter {
private HttpServletRequest request = null;
private String rootPath = null;
private String contextPath = null;
private String actionType = null;
private ConfigManager configManager = null;
public ActionEnter ( HttpServletRequest request String rootPath ) {
this.request = request;
this.rootPath = rootPath;
this.actionType = request.getParameter( “action“ );
this.contextPath = request.getContextPath();
this.configManager = ConfigManager.getInstance( this.rootPath this.contextPath request.getRequestURI() );
}
public String exec () {
String callbackName = this.request.getParameter(“callback“);
if ( callbackName != null ) {
if ( !validCallbackName( callbackName ) ) {
return new baseState( false AppInfo.ILLEGAL ).toJSONString();
}
return callbackName+“(“+this.invoke()+“);“;
} else {
return this.invoke();
}
}
public String invoke() {
if ( actionType == null || !ActionMap.mapping.containsKey( actionType ) ) {
return new baseState( false AppInfo.INVALID_ACTION ).toJSONString();
}
if ( this.configManager == null || !this.configManager.valid() ) {
return new baseState( false AppInfo.CONFIG_ERROR ).toJSONString();
}
State state = null;
int actionCode = ActionMap.getType( this.actionType );
Mapject> conf = null;
switch ( actionCode ) {
case ActionMap.CONFIG:
return this.configManager.getAllConfig().toString();
case ActionMap.UPLOAD_IMAGE:
case ActionMap.UPLOAD_SCRAWL:
case ActionMap.UPLOAD_VIDEO:
case ActionMap.UPLOAD_FILE:
conf = this.configManager.getConfig( actionCode );
state = new Uploader( request conf ).doExec();
break;
case ActionMap.CATCH_IMAGE:
conf = configManager.getConfig( actionCode );
String[] list = this.request.getParameterValues( (String)conf.get( “fieldName“ ) );
state = new ImageHunter( conf ).capture( list );
break;
case ActionMap.LIST_IMAGE:
case ActionMap.LIST_FILE:
conf = configManager.getConfig( actionCode );
int start = this.getStartIndex();
state = new FileManager( conf ).listFile( start );
break;
}
return state.toJSONString();
}
public int getStartIndex () {
String start = this.request.getParameter( “start“ );
try {
return Integer.parseInt( start );
} catch ( Exception e ) {
return 0;
}
}
/**
* callback参数验证
*/
public boolean valid
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 658 2019-05-24 10:44 his\.project
文件 8833 2019-05-24 10:44 his\article-list.html
文件 3999 2019-05-24 10:44 his\doctor-category.html
文件 1150 2019-05-24 10:44 his\favicon.ico
文件 9084 2019-05-24 10:44 his\index.html
文件 75893 2019-05-24 10:44 his\lib\datatables\1.10.0\jquery.dataTables.min.js
文件 7031 2019-05-24 10:44 his\lib\DD_belatedPNG_0.0.8a-min.js
文件 351550 2019-05-24 10:44 his\lib\echarts\3.4.0\echarts.common.min.js
文件 773 2019-05-24 10:44 his\lib\expressInstall.swf
文件 21982 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\highcharts-3d.js
文件 27096 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\highcharts-more.js
文件 193077 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\highcharts.js
文件 19140 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\accessibility.js
文件 54564 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\accessibility.src.js
文件 3371 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\annotations.js
文件 13428 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\annotations.src.js
文件 6523 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\boost.js
文件 27551 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\boost.src.js
文件 3469 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\broken-axis.js
文件 12282 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\broken-axis.src.js
文件 9040 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\data.js
文件 41606 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\data.src.js
文件 8569 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\drilldown.js
文件 28256 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\drilldown.src.js
文件 9395 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\exporting.js
文件 36598 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\exporting.src.js
文件 1975 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\funnel.js
文件 11258 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\funnel.src.js
文件 7113 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\gantt.js
文件 30354 2019-05-24 10:44 his\lib\hcharts\Highcharts\5.0.6\js\modules\gantt.src.js
............此处省略1314个文件信息
评论
共有 条评论