code
stringlengths 1
2.08M
| language
stringclasses 1
value |
|---|---|
/**
* @author ZhangHuihua@msn.com
* ----------------------------------------------------------
* These functions use the same 'format' strings as the
* java.text.SimpleDateFormat class, with minor exceptions.
* The format string consists of the following abbreviations:
*
* Field | Full Form | Short Form
* -------------+--------------------+-----------------------
* Year | yyyy (4 digits) | yy (2 digits), y (2 or 4 digits)
* Month | MMM (name or abbr.)| MM (2 digits), M (1 or 2 digits)
* | NNN (abbr.) |
* Day of Month | dd (2 digits) | d (1 or 2 digits)
* Day of Week | EE (name) | E (abbr)
* Hour (1-12) | hh (2 digits) | h (1 or 2 digits)
* Hour (0-23) | HH (2 digits) | H (1 or 2 digits)
* Hour (0-11) | KK (2 digits) | K (1 or 2 digits)
* Hour (1-24) | kk (2 digits) | k (1 or 2 digits)
* Minute | mm (2 digits) | m (1 or 2 digits)
* Second | ss (2 digits) | s (1 or 2 digits)
* AM/PM | a |
*
* NOTE THE DIFFERENCE BETWEEN MM and mm! Month=MM, not mm!
* Examples:
* "MMM d, y" matches: January 01, 2000
* Dec 1, 1900
* Nov 20, 00
* "M/d/yy" matches: 01/20/00
* 9/2/00
* "MMM dd, yyyy hh:mm:ssa" matches: "January 01, 2000 12:30:45AM"
* ----------------------------------------------------------
*/
(function(){
var MONTH_NAMES=new Array('January','February','March','April','May','June','July','August','September','October','November','December','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
var DAY_NAMES=new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sun','Mon','Tue','Wed','Thu','Fri','Sat');
function LZ(x) {return(x<0||x>9?"":"0")+x}
/**
* formatDate (date_object, format)
* Returns a date in the output format specified.
* The format string uses the same abbreviations as in parseDate()
* @param {Object} date
* @param {Object} format
*/
function formatDate(date,format) {
format=format+"";
var result="";
var i_format=0;
var c="";
var token="";
var y=date.getYear()+"";
var M=date.getMonth()+1;
var d=date.getDate();
var E=date.getDay();
var H=date.getHours();
var m=date.getMinutes();
var s=date.getSeconds();
var yyyy,yy,MMM,MM,dd,hh,h,mm,ss,ampm,HH,H,KK,K,kk,k;
// Convert real date parts into formatted versions
var value={};
if (y.length < 4) {y=""+(y-0+1900);}
value["y"]=""+y;
value["yyyy"]=y;
value["yy"]=y.substring(2,4);
value["M"]=M;
value["MM"]=LZ(M);
value["MMM"]=MONTH_NAMES[M-1];
value["NNN"]=MONTH_NAMES[M+11];
value["d"]=d;
value["dd"]=LZ(d);
value["E"]=DAY_NAMES[E+7];
value["EE"]=DAY_NAMES[E];
value["H"]=H;
value["HH"]=LZ(H);
if (H==0){value["h"]=12;}
else if (H>12){value["h"]=H-12;}
else {value["h"]=H;}
value["hh"]=LZ(value["h"]);
if (H>11){value["K"]=H-12;} else {value["K"]=H;}
value["k"]=H+1;
value["KK"]=LZ(value["K"]);
value["kk"]=LZ(value["k"]);
if (H > 11) { value["a"]="PM"; }
else { value["a"]="AM"; }
value["m"]=m;
value["mm"]=LZ(m);
value["s"]=s;
value["ss"]=LZ(s);
while (i_format < format.length) {
c=format.charAt(i_format);
token="";
while ((format.charAt(i_format)==c) && (i_format < format.length)) {
token += format.charAt(i_format++);
}
if (value[token] != null) { result += value[token]; }
else { result += token; }
}
return result;
}
function _isInteger(val) {
return (new RegExp(/^\d+$/).test(val));
}
function _getInt(str,i,minlength,maxlength) {
for (var x=maxlength; x>=minlength; x--) {
var token=str.substring(i,i+x);
if (token.length < minlength) { return null; }
if (_isInteger(token)) { return token; }
}
return null;
}
/**
* parseDate( date_string , format_string )
*
* This function takes a date string and a format string. It matches
* If the date string matches the format string, it returns the date.
* If it does not match, it returns 0.
* @param {Object} val
* @param {Object} format
*/
function parseDate(val,format) {
val=val+"";
format=format+"";
var i_val=0;
var i_format=0;
var c="";
var token="";
var token2="";
var x,y;
var now=new Date(1900,0,1);
var year=now.getYear();
var month=now.getMonth()+1;
var date=1;
var hh=now.getHours();
var mm=now.getMinutes();
var ss=now.getSeconds();
var ampm="";
while (i_format < format.length) {
// Get next token from format string
c=format.charAt(i_format);
token="";
while ((format.charAt(i_format)==c) && (i_format < format.length)) {
token += format.charAt(i_format++);
}
// Extract contents of value based on format token
if (token=="yyyy" || token=="yy" || token=="y") {
if (token=="yyyy") { x=4;y=4; }
if (token=="yy") { x=2;y=2; }
if (token=="y") { x=2;y=4; }
year=_getInt(val,i_val,x,y);
if (year==null) { return 0; }
i_val += year.length;
if (year.length==2) {
if (year > 70) { year=1900+(year-0); }
else { year=2000+(year-0); }
}
} else if (token=="MMM"||token=="NNN"){
month=0;
for (var i=0; i<MONTH_NAMES.length; i++) {
var month_name=MONTH_NAMES[i];
if (val.substring(i_val,i_val+month_name.length).toLowerCase()==month_name.toLowerCase()) {
if (token=="MMM"||(token=="NNN"&&i>11)) {
month=i+1;
if (month>12) { month -= 12; }
i_val += month_name.length;
break;
}
}
}
if ((month < 1)||(month>12)){return 0;}
} else if (token=="EE"||token=="E"){
for (var i=0; i<DAY_NAMES.length; i++) {
var day_name=DAY_NAMES[i];
if (val.substring(i_val,i_val+day_name.length).toLowerCase()==day_name.toLowerCase()) {
i_val += day_name.length;
break;
}
}
} else if (token=="MM"||token=="M") {
month=_getInt(val,i_val,token.length,2);
if(month==null||(month<1)||(month>12)){return 0;}
i_val+=month.length;
} else if (token=="dd"||token=="d") {
date=_getInt(val,i_val,token.length,2);
if(date==null||(date<1)||(date>31)){return 0;}
i_val+=date.length;
} else if (token=="hh"||token=="h") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<1)||(hh>12)){return 0;}
i_val+=hh.length;
} else if (token=="HH"||token=="H") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<0)||(hh>23)){return 0;}
i_val+=hh.length;}
else if (token=="KK"||token=="K") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<0)||(hh>11)){return 0;}
i_val+=hh.length;
} else if (token=="kk"||token=="k") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<1)||(hh>24)){return 0;}
i_val+=hh.length;hh--;
} else if (token=="mm"||token=="m") {
mm=_getInt(val,i_val,token.length,2);
if(mm==null||(mm<0)||(mm>59)){return 0;}
i_val+=mm.length;
} else if (token=="ss"||token=="s") {
ss=_getInt(val,i_val,token.length,2);
if(ss==null||(ss<0)||(ss>59)){return 0;}
i_val+=ss.length;
} else if (token=="a") {
if (val.substring(i_val,i_val+2).toLowerCase()=="am") {ampm="AM";}
else if (val.substring(i_val,i_val+2).toLowerCase()=="pm") {ampm="PM";}
else {return 0;}
i_val+=2;
} else {
if (val.substring(i_val,i_val+token.length)!=token) {return 0;}
else {i_val+=token.length;}
}
}
// If there are any trailing characters left in the value, it doesn't match
if (i_val != val.length) { return 0; }
// Is date valid for month?
if (month==2) {
// Check for leap year
if ( ( (year%4==0)&&(year%100 != 0) ) || (year%400==0) ) { // leap year
if (date > 29){ return 0; }
} else { if (date > 28) { return 0; } }
}
if ((month==4)||(month==6)||(month==9)||(month==11)) {
if (date > 30) { return 0; }
}
// Correct hours value
if (hh<12 && ampm=="PM") { hh=hh-0+12; }
else if (hh>11 && ampm=="AM") { hh-=12; }
return new Date(year,month-1,date,hh,mm,ss);
}
Date.prototype.formatDate = function(dateFmt) {
return formatDate(this, dateFmt);
};
String.prototype.parseDate = function(dateFmt) {
if (this.length < dateFmt.length) {
dateFmt = dateFmt.slice(0,this.length);
}
return parseDate(this, dateFmt);
};
/**
* replaceTmEval("{1+2}-{2-1}")
*/
function replaceTmEval(data){
return data.replace(RegExp("({[A-Za-z0-9_+-]*})","g"), function($1){
return eval('(' + $1.replace(/[{}]+/g, "") + ')');
});
}
/**
* dateFmt:%y-%M-%d
* %y-%M-{%d+1}
* ex: new Date().formatDateTm('%y-%M-{%d-1}')
* new Date().formatDateTm('2012-1')
*/
Date.prototype.formatDateTm = function(dateFmt) {
var y = this.getFullYear();
var m = this.getMonth()+1;
var d = this.getDate();
var sDate = dateFmt.replaceAll("%y",y).replaceAll("%M",m).replaceAll("%d",d);
sDate = replaceTmEval(sDate);
var _y=1900, _m=0, _d=1;
var aDate = sDate.split('-');
if (aDate.length > 0) _y = aDate[0];
if (aDate.length > 1) _m = aDate[1]-1;
if (aDate.length > 2) _d = aDate[2];
return new Date(_y,_m,_d).formatDate('yyyy-MM-dd');
};
})();
|
JavaScript
|
/**
* @author Roger Wu
*/
(function($) {
var jmenus = new Map();
// If the DWZ scope is not available, add it
$.dwz = $.dwz || {};
$(window).resize(function(){
setTimeout(function(){
for (var i=0; i<jmenus.size();i++){
fillSpace(jmenus.element(i).key);
}
}, 100);
});
$.fn.extend({
accordion: function(options, data) {
var args = Array.prototype.slice.call(arguments, 1);
return this.each(function() {
if (options.fillSpace) jmenus.put(options.fillSpace, this);
if (typeof options == "string") {
var accordion = $.data(this, "dwz-accordion");
accordion[options].apply(accordion, args);
// INIT with optional options
} else if (!$(this).is(".dwz-accordion"))
$.data(this, "dwz-accordion", new $.dwz.accordion(this, options));
});
},
/**
* deprecated, use accordion("activate", index) instead
* @param {Object} index
*/
activate: function(index) {
return this.accordion("activate", index);
}
});
$.dwz.accordion = function(container, options) {
// setup configuration
this.options = options = $.extend({}, $.dwz.accordion.defaults, options);
this.element = container;
$(container).addClass("dwz-accordion");
if ( options.navigation ) {
var current = $(container).find("a").filter(options.navigationFilter);
if ( current.length ) {
if ( current.filter(options.header).length ) {
options.active = current;
} else {
options.active = current.parent().parent().prev();
current.addClass("current");
}
}
}
// calculate active if not specified, using the first header
options.headers = $(container).find(options.header);
options.active = findActive(options.headers, options.active);
if ( options.fillSpace ) {
fillSpace(options.fillSpace);
} else if ( options.autoheight ) {
var maxHeight = 0;
options.headers.next().each(function() {
maxHeight = Math.max(maxHeight, $(this).outerHeight());
}).height(maxHeight);
}
options.headers
.not(options.active || "")
.next()
.hide();
options.active.find("h2").addClass(options.selectedClass);
if (options.event)
$(container).bind((options.event) + ".dwz-accordion", clickHandler);
};
$.dwz.accordion.prototype = {
activate: function(index) {
// call clickHandler with custom event
clickHandler.call(this.element, {
target: findActive( this.options.headers, index )[0]
});
},
enable: function() {
this.options.disabled = false;
},
disable: function() {
this.options.disabled = true;
},
destroy: function() {
this.options.headers.next().css("display", "");
if ( this.options.fillSpace || this.options.autoheight ) {
this.options.headers.next().css("height", "");
}
$.removeData(this.element, "dwz-accordion");
$(this.element).removeClass("dwz-accordion").unbind(".dwz-accordion");
}
}
function scopeCallback(callback, scope) {
return function() {
return callback.apply(scope, arguments);
};
}
function completed(cancel) {
// if removed while animated data can be empty
if (!$.data(this, "dwz-accordion"))
return;
var instance = $.data(this, "dwz-accordion");
var options = instance.options;
options.running = cancel ? 0 : --options.running;
if ( options.running )
return;
if ( options.clearStyle ) {
options.toShow.add(options.toHide).css({
height: "",
overflow: ""
});
}
$(this).triggerHandler("change.dwz-accordion", [options.data], options.change);
}
function fillSpace(key){
var obj = jmenus.get(key);
if (!obj) return;
var parent = $(obj).parent();
var height = parent.height() - (($(".accordionHeader", obj).size()) * ($(".accordionHeader:first-child", obj).outerHeight())) -2;
var os = parent.children().not(obj);
$.each(os, function(i){
height -= $(os[i]).outerHeight();
});
$(".accordionContent",obj).height(height);
}
function toggle(toShow, toHide, data, clickedActive, down) {
var options = $.data(this, "dwz-accordion").options;
options.toShow = toShow;
options.toHide = toHide;
options.data = data;
var complete = scopeCallback(completed, this);
// count elements to animate
options.running = toHide.size() == 0 ? toShow.size() : toHide.size();
if ( options.animated ) {
if ( !options.alwaysOpen && clickedActive ) {
$.dwz.accordion.animations[options.animated]({
toShow: jQuery([]),
toHide: toHide,
complete: complete,
down: down,
autoheight: options.autoheight
});
} else {
$.dwz.accordion.animations[options.animated]({
toShow: toShow,
toHide: toHide,
complete: complete,
down: down,
autoheight: options.autoheight
});
}
} else {
if ( !options.alwaysOpen && clickedActive ) {
toShow.toggle();
} else {
toHide.hide();
toShow.show();
}
complete(true);
}
}
function clickHandler(event) {
var options = $.data(this, "dwz-accordion").options;
if (options.disabled)
return false;
// called only when using activate(false) to close all parts programmatically
if ( !event.target && !options.alwaysOpen ) {
options.active.find("h2").toggleClass(options.selectedClass);
var toHide = options.active.next(),
data = {
instance: this,
options: options,
newHeader: jQuery([]),
oldHeader: options.active,
newContent: jQuery([]),
oldContent: toHide
},
toShow = options.active = $([]);
toggle.call(this, toShow, toHide, data );
return false;
}
// get the click target
var clicked = $(event.target);
// due to the event delegation model, we have to check if one
// of the parent elements is our actual header, and find that
if ( clicked.parents(options.header).length )
while ( !clicked.is(options.header) )
clicked = clicked.parent();
var clickedActive = clicked[0] == options.active[0];
// if animations are still active, or the active header is the target, ignore click
if (options.running || (options.alwaysOpen && clickedActive))
return false;
if (!clicked.is(options.header))
return;
// switch classes
options.active.find("h2").toggleClass(options.selectedClass);
if ( !clickedActive ) {
clicked.find("h2").addClass(options.selectedClass);
}
// find elements to show and hide
var toShow = clicked.next(),
toHide = options.active.next(),
//data = [clicked, options.active, toShow, toHide],
data = {
instance: this,
options: options,
newHeader: clicked,
oldHeader: options.active,
newContent: toShow,
oldContent: toHide
},
down = options.headers.index( options.active[0] ) > options.headers.index( clicked[0] );
options.active = clickedActive ? $([]) : clicked;
toggle.call(this, toShow, toHide, data, clickedActive, down );
return false;
};
function findActive(headers, selector) {
return selector != undefined
? typeof selector == "number"
? headers.filter(":eq(" + selector + ")")
: headers.not(headers.not(selector))
: selector === false
? $([])
: headers.filter(":eq(0)");
}
$.extend($.dwz.accordion, {
defaults: {
selectedClass: "collapsable",
alwaysOpen: true,
animated: 'slide',
event: "click",
header: ".accordionHeader",
autoheight: true,
running: 0,
navigationFilter: function() {
return this.href.toLowerCase() == location.href.toLowerCase();
}
},
animations: {
slide: function(options, additions) {
options = $.extend({
easing: "swing",
duration: 300
}, options, additions);
if ( !options.toHide.size() ) {
options.toShow.animate({height: "show"}, options);
return;
}
var hideHeight = options.toHide.height(),
showHeight = options.toShow.height(),
difference = showHeight / hideHeight;
options.toShow.css({ height: 0}).show();
options.toHide.filter(":hidden").each(options.complete).end().filter(":visible").animate({height:"hide"},{
step: function(now) {
var current = (hideHeight - now) * difference;
if ($.browser.msie || $.browser.opera) {
current = Math.ceil(current);
}
options.toShow.height( current );
},
duration: options.duration,
easing: options.easing,
complete: function() {
if ( !options.autoheight ) {
options.toShow.css({height:"auto"});
}
options.toShow.css({overflow:"auto"});
options.complete();
}
});
},
bounceslide: function(options) {
this.slide(options, {
easing: options.down ? "bounceout" : "swing",
duration: options.down ? 1000 : 200
});
},
easeslide: function(options) {
this.slide(options, {
easing: "easeinout",
duration: 700
})
}
}
});
})(jQuery);
|
JavaScript
|
/**
* reference dwz.util.date.js
* @author ZhangHuihua@msn.com
*
*/
(function($){
$.setRegional("datepicker", {
dayNames:['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
monthNames:['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
});
$.fn.datepicker = function(opts){
var setting = {
box$:"#calendar",
year$:"#calendar [name=year]", month$:"#calendar [name=month]",
tmInputs$:"#calendar .time :text", hour$:"#calendar .time .hh", minute$:"#calendar .time .mm", second$:"#calendar .time .ss",
tmBox$:"#calendar .tm", tmUp$:"#calendar .time .up", tmDown$:"#calendar .time .down",
close$:"#calendar .close", calIcon$:"a.inputDateButton",
main$:"#calendar .main", days$:"#calendar .days", dayNames$:"#calendar .dayNames",
clearBut$:"#calendar .clearBut", okBut$:"#calendar .okBut"
};
function changeTmMenu(sltClass){
var $tm = $(setting.tmBox$);
$tm.removeClass("hh").removeClass("mm").removeClass("ss");
if (sltClass) {
$tm.addClass(sltClass);
$(setting.tmInputs$).removeClass("slt").filter("." + sltClass).addClass("slt");
}
}
function clickTmMenu($input, type){
$(setting.tmBox$).find("."+type+" li").each(function(){
var $li = $(this);
$li.click(function(){
$input.val($li.text());
});
});
}
function keydownInt(e){
if (!((e.keyCode >= 48 && e.keyCode <= 57) || (e.keyCode == DWZ.keyCode.DELETE || e.keyCode == DWZ.keyCode.BACKSPACE))) { return false; }
}
function changeTm($input, type){
var ivalue = parseInt($input.val()), istart = parseInt($input.attr("start")) || 0, iend = parseInt($input.attr("end"));
var istep = parseInt($input.attr('step') || 1);
if (type == 1) {
if (ivalue <= iend-istep){$input.val(ivalue + istep);}
} else if (type == -1){
if (ivalue >= istart+istep){$input.val(ivalue - istep);}
} else if (ivalue > iend) {
$input.val(iend);
} else if (ivalue < istart) {
$input.val(istart);
}
}
return this.each(function(){
var $this = $(this);
var dp = new Datepicker($this.val(), opts);
function generateCalendar(dp){
var dw = dp.getDateWrap();
var minDate = dp.getMinDate();
var maxDate = dp.getMaxDate();
var monthStart = new Date(dw.year,dw.month-1,1);
var startDay = monthStart.getDay();
var dayStr="";
if (startDay > 0){
monthStart.setMonth(monthStart.getMonth() - 1);
var prevDateWrap = dp.getDateWrap(monthStart);
for(var t=prevDateWrap.days-startDay+1;t<=prevDateWrap.days;t++) {
var _date = new Date(dw.year,dw.month-2,t);
var _ctrClass = (_date >= minDate && _date <= maxDate) ? '' : 'disabled';
dayStr+='<dd class="other '+_ctrClass+'" chMonth="-1" day="' + t + '">'+t+'</dd>';
}
}
for(var t=1;t<=dw.days;t++){
var _date = new Date(dw.year,dw.month-1,t);
var _ctrClass = (_date >= minDate && _date <= maxDate) ? '' : 'disabled';
if(t==dw.day){
dayStr+='<dd class="slt '+_ctrClass+'" day="' + t + '">'+t+'</dd>';
}else{
dayStr+='<dd class="'+_ctrClass+'" day="' + t + '">'+t+'</dd>';
}
}
for(var t=1;t<=42-startDay-dw.days;t++){
var _date = new Date(dw.year,dw.month,t);
var _ctrClass = (_date >= minDate && _date <= maxDate) ? '' : 'disabled';
dayStr+='<dd class="other '+_ctrClass+'" chMonth="1" day="' + t + '">'+t+'</dd>';
}
var $days = $(setting.days$).html(dayStr).find("dd");
$days.not('.disabled').click(function(){
var $day = $(this);
if (!dp.hasTime()) {
$this.val(dp.formatDate(dp.changeDay($day.attr("day"), $day.attr("chMonth"))));
closeCalendar();
} else {
$days.removeClass("slt");
$day.addClass("slt");
}
});
if (!dp.hasDate()) $(setting.main$).addClass('nodate'); // 仅时间,无日期
if (dp.hasTime()) {
$("#calendar .time").show();
var $hour = $(setting.hour$).val(dw.hour).focus(function(){
changeTmMenu("hh");
});
var iMinute = parseInt(dw.minute / dp.opts.mmStep) * dp.opts.mmStep;
var $minute = $(setting.minute$).val(iMinute).attr('step',dp.opts.mmStep).focus(function(){
changeTmMenu("mm");
});
var $second = $(setting.second$).val(dp.hasSecond() ? dw.second : 0).attr('step',dp.opts.ssStep).focus(function(){
changeTmMenu("ss");
});
$hour.add($minute).add($second).click(function(){return false});
clickTmMenu($hour,"hh");
clickTmMenu($minute,"mm");
clickTmMenu($second,"ss");
$(setting.box$).click(function(){
changeTmMenu();
});
var $inputs = $(setting.tmInputs$);
$inputs.keydown(keydownInt).each(function(){
var $input = $(this);
$input.keyup(function(){
changeTm($input, 0);
});
});
$(setting.tmUp$).click(function(){
$inputs.filter(".slt").each(function(){
changeTm($(this), 1);
});
});
$(setting.tmDown$).click(function(){
$inputs.filter(".slt").each(function(){
changeTm($(this), -1);
});
});
if (!dp.hasHour()) $hour.attr("disabled",true);
if (!dp.hasMinute()) $minute.attr("disabled",true);
if (!dp.hasSecond()) $second.attr("disabled",true);
}
}
function closeCalendar() {
$(setting.box$).remove();
$(document).unbind("click", closeCalendar);
}
$this.click(function(event){
closeCalendar();
var dp = new Datepicker($this.val(), opts);
var offset = $this.offset();
var iTop = offset.top+this.offsetHeight;
$(DWZ.frag['calendarFrag']).appendTo("body").css({
left:offset.left+'px',
top:iTop+'px'
}).show().click(function(event){
event.stopPropagation();
});
($.fn.bgiframe && $(setting.box$).bgiframe());
var dayNames = "";
$.each($.regional.datepicker.dayNames, function(i,v){
dayNames += "<dt>" + v + "</dt>"
});
$(setting.dayNames$).html(dayNames);
var dw = dp.getDateWrap();
var $year = $(setting.year$);
var yearstart = dp.getMinDate().getFullYear();
var yearend = dp.getMaxDate().getFullYear();
for(y=yearstart; y<=yearend; y++){
$year.append('<option value="'+ y +'"'+ (dw.year==y ? 'selected="selected"' : '') +'>'+ y +'</option>');
}
var $month = $(setting.month$);
$.each($.regional.datepicker.monthNames, function(i,v){
var m = i+1;
$month.append('<option value="'+ m +'"'+ (dw.month==m ? 'selected="selected"' : '') +'>'+ v +'</option>');
});
// generate calendar
generateCalendar(dp);
$year.add($month).change(function(){
dp.changeDate($year.val(), $month.val());
generateCalendar(dp);
});
// fix top
var iBoxH = $(setting.box$).outerHeight(true);
if (iTop > iBoxH && iTop > $(window).height()-iBoxH) {
$(setting.box$).css("top", offset.top - iBoxH);
}
$(setting.close$).click(function(){
closeCalendar();
});
$(setting.clearBut$).click(function(){
$this.val("");
closeCalendar();
});
$(setting.okBut$).click(function(){
var $dd = $(setting.days$).find("dd.slt");
if ($dd.hasClass("disabled")) return false;
var date = dp.changeDay($dd.attr("day"), $dd.attr("chMonth"));
if (dp.hasTime()) {
date.setHours(parseInt($(setting.hour$).val()));
date.setMinutes(parseInt($(setting.minute$).val()));
date.setSeconds(parseInt($(setting.second$).val()));
}
$this.val(dp.formatDate(date));
closeCalendar();
});
$(document).bind("click", closeCalendar);
return false;
});
$this.parent().find(setting.calIcon$).click(function(){
$this.trigger("click");
return false;
});
});
}
var Datepicker = function(sDate, opts) {
this.opts = $.extend({
pattern:'yyyy-MM-dd',
minDate:"1900-01-01",
maxDate:"2099-12-31",
mmStep:1,
ssStep:1
}, opts);
//动态minDate、maxDate
var now = new Date();
this.opts.minDate = now.formatDateTm(this.opts.minDate);
this.opts.maxDate = now.formatDateTm(this.opts.maxDate);
this.sDate = sDate.trim();
}
$.extend(Datepicker.prototype, {
get: function(name) {
return this.opts[name];
},
_getDays: function (y,m){//获取某年某月的天数
return m==2?(y%4||!(y%100)&&y%400?28:29):(/4|6|9|11/.test(m)?30:31);
},
_minMaxDate: function(sDate){
var _count = sDate.split('-').length -1;
var _format = 'y-M-d';
if (_count == 1) _format = 'y-M';
else if (_count == 0) _format = 'y';
return sDate.parseDate(_format);
},
getMinDate: function(){
return this._minMaxDate(this.opts.minDate);
},
getMaxDate: function(){
var _sDate = this.opts.maxDate;
var _count = _sDate.split('-').length -1;
var _date = this._minMaxDate(_sDate);
if (_count < 2) { //format:y-M、y
var _day = this._getDays(_date.getFullYear(), _date.getMonth()+1);
_date.setDate(_day);
if (_count == 0) {//format:y
_date.setMonth(11);
}
}
return _date;
},
getDateWrap: function(date){ //得到年,月,日
if (!date) date = this.parseDate(this.sDate) || new Date();
var y = date.getFullYear();
var m = date.getMonth()+1;
var days = this._getDays(y,m);
return {
year:y, month:m, day:date.getDate(),
hour:date.getHours(),minute:date.getMinutes(),second:date.getSeconds(),
days: days, date:date
}
},
/**
* @param {year:2010, month:05, day:24}
*/
changeDate: function(y, m, d){
var date = new Date(y, m - 1, d || 1);
this.sDate = this.formatDate(date);
return date;
},
changeDay: function(day, chMonth){
if (!chMonth) chMonth = 0;
var dw = this.getDateWrap();
return this.changeDate(dw.year, dw.month+parseInt(chMonth), day);
},
parseDate: function(sDate){
if (!sDate) return null;
return sDate.parseDate(this.opts.pattern);
},
formatDate: function(date){
return date.formatDate(this.opts.pattern);
},
hasHour: function() {
return this.opts.pattern.indexOf("H") != -1;
},
hasMinute: function() {
return this.opts.pattern.indexOf("m") != -1;
},
hasSecond: function() {
return this.opts.pattern.indexOf("s") != -1;
},
hasTime: function() {
return this.hasHour() || this.hasMinute() || this.hasSecond();
},
hasDate: function() {
var _dateKeys = ['y','M','d','E'];
for (var i=0; i<_dateKeys.length; i++){
if (this.opts.pattern.indexOf(_dateKeys[i]) != -1) return true;
}
return false;
}
});
})(jQuery);
|
JavaScript
|
/**
* @author Roger Wu
*/
(function($){
var allSelectBox = [];
var killAllBox = function(bid){
$.each(allSelectBox, function(i){
if (allSelectBox[i] != bid) {
if (!$("#" + allSelectBox[i])[0]) {
$("#op_" + allSelectBox[i]).remove();
//allSelectBox.splice(i,1);
} else {
$("#op_" + allSelectBox[i]).css({ height: "", width: "" }).hide();
}
$(document).unbind("click", killAllBox);
}
});
};
$.extend($.fn, {
comboxSelect: function(options){
var op = $.extend({ selector: ">a" }, options);
return this.each(function(){
var box = $(this);
var selector = $(op.selector, box);
allSelectBox.push(box.attr("id"));
$(op.selector, box).click(function(){
var options = $("#op_"+box.attr("id"));
if (options.is(":hidden")) {
if(options.height() > 300) {
options.css({height:"300px",overflow:"scroll"});
}
var top = box.offset().top+box[0].offsetHeight-50;
if(top + options.height() > $(window).height() - 20) {
top = $(window).height() - 20 - options.height();
}
options.css({top:top,left:box.offset().left}).show();
killAllBox(box.attr("id"));
$(document).click(killAllBox);
} else {
$(document).unbind("click", killAllBox);
killAllBox();
}
return false;
});
$("#op_"+box.attr("id")).find(">li").comboxOption(selector, box);
});
},
comboxOption: function(selector, box){
return this.each(function(){
$(">a", this).click(function(){
var $this = $(this);
$this.parent().parent().find(".selected").removeClass("selected");
$this.addClass("selected");
selector.text($this.text());
var $input = $("select", box);
if ($input.val() != $this.attr("value")) {
$("select", box).val($this.attr("value")).trigger("change");
}
});
});
},
combox:function(){
/* 清理下拉层 */
var _selectBox = [];
$.each(allSelectBox, function(i){
if ($("#" + allSelectBox[i])[0]) {
_selectBox.push(allSelectBox[i]);
} else {
$("#op_" + allSelectBox[i]).remove();
}
});
allSelectBox = _selectBox;
return this.each(function(i){
var $this = $(this).removeClass("combox");
var name = $this.attr("name");
var value= $this.val();
var label = $("option[value=" + value + "]",$this).text();
var ref = $this.attr("ref");
var refUrl = $this.attr("refUrl") || "";
var cid = $this.attr("id") || Math.round(Math.random()*10000000);
var select = '<div class="combox"><div id="combox_'+ cid +'" class="select"' + (ref?' ref="' + ref + '"' : '') + '>';
select += '<a href="javascript:" class="'+$this.attr("class")+'" name="' + name +'" value="' + value + '">' + label +'</a></div></div>';
var options = '<ul class="comboxop" id="op_combox_'+ cid +'">';
$("option", $this).each(function(){
var option = $(this);
options +="<li><a class=\""+ (value==option[0].value?"selected":"") +"\" href=\"#\" value=\"" + option[0].value + "\">" + option[0].text + "</a></li>";
});
options +="</ul>";
$("body").append(options);
$this.after(select);
$("div.select", $this.next()).comboxSelect().append($this);
if (ref && refUrl) {
function _onchange(event){
var $ref = $("#"+ref);
if ($ref.size() == 0) return false;
$.ajax({
type:'POST', dataType:"json", url:refUrl.replace("{value}", encodeURIComponent($this.attr("value"))), cache: false,
data:{},
success: function(json){
if (!json) return;
var html = '';
$.each(json, function(i){
if (json[i] && json[i].length > 1){
html += '<option value="'+json[i][0]+'">' + json[i][1] + '</option>';
}
});
var $refCombox = $ref.parents("div.combox:first");
$ref.html(html).insertAfter($refCombox);
$refCombox.remove();
$ref.trigger("change").combox();
},
error: DWZ.ajaxError
});
}
$this.unbind("change", _onchange).bind("change", _onchange);
}
});
}
});
})(jQuery);
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*/
(function($){
$.fn.extend({
checkboxCtrl: function(parent){
return this.each(function(){
var $trigger = $(this);
$trigger.click(function(){
var group = $trigger.attr("group");
if ($trigger.is(":checkbox")) {
var type = $trigger.is(":checked") ? "all" : "none";
if (group) $.checkbox.select(group, type, parent);
} else {
if (group) $.checkbox.select(group, $trigger.attr("selectType") || "all", parent);
}
});
});
}
});
$.checkbox = {
selectAll: function(_name, _parent){
this.select(_name, "all", _parent);
},
unSelectAll: function(_name, _parent){
this.select(_name, "none", _parent);
},
selectInvert: function(_name, _parent){
this.select(_name, "invert", _parent);
},
select: function(_name, _type, _parent){
$parent = $(_parent || document);
$checkboxLi = $parent.find(":checkbox[name='"+_name+"']");
switch(_type){
case "invert":
$checkboxLi.each(function(){
$checkbox = $(this);
$checkbox.attr('checked', !$checkbox.is(":checked"));
});
break;
case "none":
$checkboxLi.attr('checked', false);
break;
default:
$checkboxLi.attr('checked', true);
break;
}
}
};
})(jQuery);
|
JavaScript
|
/**
* @author Roger Wu
*/
(function($){
$.extend($.fn, {
jBlindUp: function(options){
var op = $.extend({duration: 500, easing: "swing", call: function(){}}, options);
return this.each(function(){
var $this = $(this);
$(this).animate({height: 0}, {
step: function(){},
duration: op.duration,
easing: op.easing,
complete: function(){
$this.css({display: "none"});
op.call();
}
});
});
},
jBlindDown: function(options){
var op = $.extend({to:0, duration: 500,easing: "swing",call: function(){}}, options);
return this.each(function(){
var $this = $(this);
var fixedPanelHeight = (op.to > 0)?op.to:$.effect.getDimensions($this[0]).height;
$this.animate({height: fixedPanelHeight}, {
step: function(){},
duration: op.duration,
easing: op.easing,
complete: function(){
$this.css({display: ""});
op.call(); }
});
});
},
jSlideUp:function(options) {
var op = $.extend({to:0, duration: 500,easing: "swing",call: function(){}}, options);
return this.each(function(){
var $this = $(this);
$this.wrapInner("<div></div>");
var fixedHeight = (op.to > 0)?op.to:$.effect.getDimensions($(">div",$this)[0]).height;
$this.css({overflow:"visible",position:"relative"});
$(">div",$this).css({position:"relative"}).animate({top: -fixedHeight}, {
easing: op.easing,
duration: op.duration,
complete:function(){$this.html($(this).html());}
});
});
},
jSlideDown:function(options) {
var op = $.extend({to:0, duration: 500,easing: "swing",call: function(){}}, options);
return this.each(function(){
var $this = $(this);
var fixedHeight = (op.to > 0)?op.to:$.effect.getDimensions($this[0]).height;
$this.wrapInner("<div style=\"top:-" + fixedHeight + "px;\"></div>");
$this.css({overflow:"visible",position:"relative", height:"0px"})
.animate({height: fixedHeight}, {
duration: op.duration,
easing: op.easing,
complete: function(){ $this.css({display: "", overflow:""}); op.call(); }
});
$(">div",$this).css({position:"relative"}).animate({top: 0}, {
easing: op.easing,
duration: op.duration,
complete:function(){$this.html($(this).html());}
});
});
}
});
$.effect = {
getDimensions: function(element, displayElement){
var dimensions = new $.effect.Rectangle;
var displayOrig = $(element).css('display');
var visibilityOrig = $(element).css('visibility');
var isZero = $(element).height()==0?true:false;
if ($(element).is(":hidden")) {
$(element).css({visibility: 'hidden', display: 'block'});
if(isZero)$(element).css("height","");
if ($.browser.opera)
refElement.focus();
}
dimensions.height = $(element).outerHeight();
dimensions.width = $(element).outerWidth();
if (displayOrig == 'none'){
$(element).css({visibility: visibilityOrig, display: 'none'});
if(isZero) if(isZero)$(element).css("height","0px");
}
return dimensions;
}
}
$.effect.Rectangle = function(){
this.width = 0;
this.height = 0;
this.unit = "px";
}
})(jQuery);
|
JavaScript
|
/**
* @license Copyright (c) 2009-2013, xhEditor.com. All rights reserved.
* For licensing, see LGPL-LICENSE.txt or http://xheditor.com/license/lgpl.txt
*/
XHEDITOR.setLang({
'default': '默认',
'none': '无',
'defaultReadTip': '可视化编辑器,alt+1到9键,切换到工具区,tab键,选择按钮,esc键,返回编辑',
'Cut': '剪切 (Ctrl+X)',
'Copy': '复制 (Ctrl+C)',
'Paste': '粘贴 (Ctrl+V)',
'Pastetext': '粘贴文本',
'PastetextTip': '使用键盘快捷键(Ctrl+V)把内容粘贴到方框里,按 确定',
'Blocktag': '段落标签',
'Fontface': '字体',
'FontSize': '字体大小',
'Bold': '加粗 (Ctrl+B)',
'Italic': '斜体 (Ctrl+I)',
'Underline': '下划线 (Ctrl+U)',
'Strikethrough': '删除线',
'FontColor': '字体颜色',
'BackColor': '背景颜色',
'SelectAll': '全选 (Ctrl+A)',
'Removeformat': '删除文字格式',
'Align': '对齐',
'List': '列表',
'Outdent': '减少缩进',
'Indent': '增加缩进',
'Link': '超链接 (Ctrl+L)',
'Unlink': '取消超链接',
'Anchor': '锚点',
'Img': '图片',
'Flash': 'Flash动画',
'Media': '多媒体文件',
'Hr': '插入水平线',
'Emot': '表情',
'Table': '表格',
'Source': '源代码',
'WYSIWYG': '可视化编辑',
'Preview': '预览',
'Print': '打印 (Ctrl+P)',
'Fullscreen': '全屏编辑 (Esc)',
'About': '关于 xhEditor',
'dialogOk': '确定',
'dialogCancel': '取消',
'cutDisabledTip': '您的浏览器安全设置不允许使用剪切操作,请使用键盘快捷键(Ctrl + X)来完成',
'copyDisabledTip': '您的浏览器安全设置不允许使用复制操作,请使用键盘快捷键(Ctrl + C)来完成',
'pasteDisabledTip': '您的浏览器安全设置不允许使用粘贴操作,请使用键盘快捷键(Ctrl + V)来完成',
'close': '关闭',
'listFontname': [{n:'宋体',c:'SimSun'},{n:'仿宋体',c:'FangSong_GB2312'},{n:'黑体',c:'SimHei'},{n:'楷体',c:'KaiTi_GB2312'},{n:'微软雅黑',c:'Microsoft YaHei'},{n:'Arial'},{n:'Arial Black'},{n:'Comic Sans MS'},{n:'Courier New'},{n:'System'},{n:'Times New Roman'},{n:'Tahoma'},{n:'Verdana'}],
'listBlocktag': {
'p': '普通段落',
'h1': '标题1',
'h2': '标题2',
'h3': '标题3',
'h4': '标题4',
'h5': '标题5',
'h6': '标题6',
'pre': '已编排格式',
'address': '地址'
},
'fontsize': {
'x-small': '极小',
'small': '特小',
'medium': '小',
'large': '中',
'x-large': '大',
'xx-large': '特大',
'-webkit-xxx-large': '极大'
},
'align': {
'justifyleft': '左对齐',
'justifycenter': '居中',
'justifyright': '右对齐',
'justifyfull': '两端对齐'
},
'list': {
'insertOrderedList': '数字列表',
'insertUnorderedList': '符号列表'
},
'link': {
'url': '链接地址: ',
'target': '打开方式: ',
'targetBlank': '新窗口',
'targetSelf': '当前窗口',
'targetParent': '父窗口',
'linkText': '链接文字: ',
'defText': '点击打开链接',
'anchor': '页内锚点: ',
'anchorNone': '未选择'
},
'anchor': {
'name': '锚点名称: '
},
'img': {
'url': '图片文件: ',
'alt': '替换文本: ',
'align': '对齐方式: ',
'alignLeft': '左对齐',
'alignRight': '右对齐',
'alignTop': '顶端',
'alignMiddle': '居中',
'alignBaseline': '基线',
'alignBottom': '底边',
'width': '宽 度: ',
'height': '高 度: ',
'border': '边框大小: ',
'hspace': '水平间距: ',
'vspace': '垂直间距: '
},
'flash': {
'url': '动画文件: ',
'width': '宽 度: ',
'height': '高 度: '
},
'media': {
'url': '媒体文件: ',
'width': '宽 度: ',
'height': '高 度: '
},
'emot.default': {
'smile': '微笑',
'tongue': '吐舌头',
'titter': '偷笑',
'laugh': '大笑',
'sad': '难过',
'wronged': '委屈',
'fastcry': '快哭了',
'cry': '哭',
'wail': '大哭',
'mad': '生气',
'knock': '敲打',
'curse': '骂人',
'crazy': '抓狂',
'angry': '发火',
'ohmy': '惊讶',
'awkward': '尴尬',
'panic': '惊恐',
'shy': '害羞',
'cute': '可怜',
'envy': '羡慕',
'proud': '得意',
'struggle': '奋斗',
'quiet': '安静',
'shutup': '闭嘴',
'doubt': '疑问',
'despise': '鄙视',
'sleep': '睡觉',
'bye': '再见'
},
'table': {
'rows': '行 数: ',
'columns': '列 数: ',
'headers': '标题单元: ',
'headersRow': '第一行',
'headersCol': '第一列',
'headersBoth': '第一行和第一列',
'width': '宽 度: ',
'height': '高 度: ',
'border': '边框大小: ',
'cellSpacing': '表格间距: ',
'cellPadding': '表格填充: ',
'align': '对齐方式: ',
'alignLeft': '左对齐',
'alignCenter': '居中',
'alignRight': '右对齐',
'caption': '表格标题: '
},
'upload': {
'btnText' : '上传',
'browserTitle': '浏览文件',
'progressTitle': '文件上传中(Esc取消上传)',
'progressTip': '文件上传中,请稍候……',
'countLimit': '请不要一次上传超过{$0}个文件',
'extLimit': '文件的扩展名必需为:{$0}',
'typeLimit': '每次只能拖放上传同一类型文件',
'apiError': '{$0} 上传接口发生错误!\r\n\r\n返回的错误内容为: \r\n\r\n{$1}'
},
'aboutXheditor': 'xhEditor是基于jQuery开发的跨平台轻量可视化XHTML编辑器,基于<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">LGPL</a>开源协议发布。'
});
|
JavaScript
|
/**
* @license Copyright (c) 2009-2013, xhEditor.com. All rights reserved.
* For licensing, see LGPL-LICENSE.txt or http://xheditor.com/license/lgpl.txt
*/
XHEDITOR.setLang({
'default': '預設',
'none': '無',
'defaultReadTip': '可視化編輯器,alt+1到9鍵,切換到工具區,tab鍵,選擇按鈕,esc鍵,返回編輯',
'Cut': '剪下 (Ctrl+X)',
'Copy': '複製 (Ctrl+C)',
'Paste': '貼上 (Ctrl+V)',
'Pastetext': '貼上文本',
'PastetextTip': '使用鍵盤快捷鍵(Ctrl+V)把內容貼上到方框裡,按 確定',
'Blocktag': '段落標籤',
'Fontface': '字型',
'FontSize': '字型大小',
'Bold': '粗體 (Ctrl+B)',
'Italic': '斜體 (Ctrl+I)',
'Underline': '底線 (Ctrl+U)',
'Strikethrough': '刪除線',
'FontColor': '字型顏色',
'BackColor': '背景顏色',
'SelectAll': '全選 (Ctrl+A)',
'Removeformat': '刪除文字格式',
'Align': '對齊',
'List': '列表',
'Outdent': '減少縮排',
'Indent': '增加縮排',
'Link': '超連結 (Ctrl+L)',
'Unlink': '取消超連結',
'Anchor': '錨點',
'Img': '圖片',
'Flash': 'Flash動畫',
'Media': '多媒體文件',
'Hr': '插入水平線',
'Emot': '表情',
'Table': '表格',
'Source': '原始碼',
'WYSIWYG': '可視化編輯',
'Preview': '預覽',
'Print': '打印 (Ctrl+P)',
'Fullscreen': '全螢幕編輯 (Esc)',
'About': '關於 xhEditor',
'dialogOk': '確定',
'dialogCancel': '取消',
'cutDisabledTip': '您的瀏覽器安全設置不允許使用剪下操作,請使用鍵盤快捷鍵(Ctrl + X)來完成',
'copyDisabledTip': '您的瀏覽器安全設置不允許使用複製操作,請使用鍵盤快捷鍵(Ctrl + C)來完成',
'pasteDisabledTip': '您的瀏覽器安全設置不允許使用貼上操作,請使用鍵盤快捷鍵(Ctrl + V)來完成',
'close': '關閉',
'listFontname': [{n:'新細明體',c:'PMingLiu'},{n:'細明體',c:'mingliu'},{n:'標楷體',c:'DFKai-SB'},{n:'微軟正黑體',c:'Microsoft JhengHei'},{n:'Arial'},{n:'Arial Black'},{n:'Comic Sans MS'},{n:'Courier New'},{n:'System'},{n:'Times New Roman'},{n:'Tahoma'},{n:'Verdana'}],
'listBlocktag': {
'p': '普通段落',
'h1': '標題1',
'h2': '標題2',
'h3': '標題3',
'h4': '標題4',
'h5': '標題5',
'h6': '標題6',
'pre': '已編排格式',
'address': '地址'
},
'fontsize': {
'x-small': '極小',
'small': '特小',
'medium': '小',
'large': '中',
'x-large': '大',
'xx-large': '特大',
'-webkit-xxx-large': '極大'
},
'align': {
'justifyleft': '靠左對齊',
'justifycenter': '置中',
'justifyright': '靠右對齊',
'justifyfull': '左右對齊'
},
'list': {
'insertOrderedList': '數字列表',
'insertUnorderedList': '符號列表'
},
'link': {
'url': '鏈接地址: ',
'target': '打開方式: ',
'targetBlank': '新窗口',
'targetSelf': '當前窗口',
'targetParent': '父窗口',
'linkText': '鏈接文字: ',
'defText': '點擊打開鏈接',
'anchor': '頁內錨點: ',
'anchorNone': '未選擇'
},
'anchor': {
'name': '錨點名稱: '
},
'img': {
'url': '圖片文件: ',
'alt': '替換文本: ',
'align': '對齊方式: ',
'alignLeft': '靠左對齊',
'alignRight': '靠右對齊',
'alignTop': '頂端',
'alignMiddle': '置中',
'alignBaseline': '基線',
'alignBottom': '底邊',
'width': '寬 度: ',
'height': '高 度: ',
'border': '邊框大小: ',
'hspace': '水平間距: ',
'vspace': '垂直間距: '
},
'flash': {
'url': '動畫文件: ',
'width': '寬 度: ',
'height': '高 度: '
},
'media': {
'url': '媒體文件: ',
'width': '寬 度: ',
'height': '高 度: '
},
'emot.default': {
'smile': '微笑',
'tongue': '吐舌頭',
'titter': '偷笑',
'laugh': '大笑',
'sad': '難過',
'wronged': '委屈',
'fastcry': '快哭了',
'cry': '哭',
'wail': '大哭',
'mad': '生氣',
'knock': '敲打',
'curse': '罵人',
'crazy': '抓狂',
'angry': '發火',
'ohmy': '驚訝',
'awkward': '尷尬',
'panic': '驚恐',
'shy': '害羞',
'cute': '可憐',
'envy': '羨慕',
'proud': '得意',
'struggle': '奮鬥',
'quiet': '安靜',
'shutup': '閉嘴',
'doubt': '疑問',
'despise': '鄙視',
'sleep': '睡覺',
'bye': '再見'
},
'table': {
'rows': '行 數: ',
'columns': '列 數: ',
'headers': '標題單元: ',
'headersRow': '第一行',
'headersCol': '第一列',
'headersBoth': '第一行和第一列',
'width': '寬 度: ',
'height': '高 度: ',
'border': '邊框大小: ',
'cellSpacing': '表格間距: ',
'cellPadding': '表格填充: ',
'align': '對齊方式: ',
'alignLeft': '靠左對齊',
'alignCenter': '置中',
'alignRight': '靠右對齊',
'caption': '表格標題: '
},
'upload': {
'btnText' : '上傳',
'browserTitle': '瀏覽文件',
'progressTitle': '文件上傳中(Esc取消上傳)',
'progressTip': '文件上傳中,請稍候……',
'countLimit': '請不要一次上傳超過{$0}個文件',
'extLimit': '文件的擴展名必需為:{$0}',
'typeLimit': '每次只能拖放上傳同一類型文件',
'apiError': '{$0} 上傳接口發生錯誤!\r\n\r\n返回的錯誤內容為: \r\n\r\n{$1}'
},
'aboutXheditor': 'xhEditor是基於jQuery開發的跨平台輕量可視化XHTML編輯器,基於<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">LGPL</a>開源協議發佈。'
});
|
JavaScript
|
/**
* @license Copyright (c) 2009-2013, xhEditor.com. All rights reserved.
* For licensing, see LGPL-LICENSE.txt or http://xheditor.com/license/lgpl.txt
*/
XHEDITOR.setLang({
'default': 'Default',
'none': 'None',
'defaultReadTip': 'WYSIWYG Editor,press alt+1-9,toogle to tool area,press tab,select button,press esc,return editor',
'Cut': 'Cut (Ctrl+X)',
'Copy': 'Copy (Ctrl+C)',
'Paste': 'Paste (Ctrl+V)',
'Pastetext': 'Paste as plain text',
'PastetextTip': 'Use Ctrl+V on your keyboard to paste the text.',
'Blocktag': 'Block tag',
'Fontface': 'Font family',
'FontSize': 'Font size',
'Bold': 'Bold (Ctrl+B)',
'Italic': 'Italic (Ctrl+I)',
'Underline': 'Underline (Ctrl+U)',
'Strikethrough': 'Strikethrough',
'FontColor': 'Select text color',
'BackColor': 'Select background color',
'SelectAll': 'SelectAll (Ctrl+A)',
'Removeformat': 'Remove formatting',
'Align': 'Align',
'List': 'List',
'Outdent': 'Outdent',
'Indent': 'Indent',
'Link': 'Insert/edit link (Ctrl+L)',
'Unlink': 'Unlink',
'Anchor': 'Anchor',
'Img': 'Insert/edit image',
'Flash': 'Insert/edit flash',
'Media': 'Insert/edit media',
'Hr': 'Horizontal rule',
'Emot': 'Emotions',
'Table': 'Insert a new table',
'Source': 'Edit source code',
'WYSIWYG': 'WYSIWYG mode',
'Preview': 'Preview',
'Print': 'Print (Ctrl+P)',
'Fullscreen': 'Toggle fullscreen (Esc)',
'About': 'About xhEditor',
'dialogOk': 'Ok',
'dialogCancel': 'Cancel',
'cutDisabledTip': 'Currently not supported by your browser, use keyboard shortcuts(Ctrl+X) instead.',
'copyDisabledTip': 'Currently not supported by your browser, use keyboard shortcuts(Ctrl+C) instead.',
'pasteDisabledTip': 'Currently not supported by your browser, use keyboard shortcuts(Ctrl+V) instead.',
'close': 'Close',
'listFontname': [{n:'Arial'},{n:'Arial Black'},{n:'Comic Sans MS'},{n:'Courier New'},{n:'System'},{n:'Times New Roman'},{n:'Tahoma'},{n:'Verdana'}],
'listBlocktag': {
'p': 'Paragraph',
'h1': 'Heading 1',
'h2': 'Heading 2',
'h3': 'Heading 3',
'h4': 'Heading 4',
'h5': 'Heading 5',
'h6': 'Heading 6',
'pre': 'Preformatted',
'address': 'Address'
},
'fontsize': {
'x-small': '1',
'small': '2',
'medium': '3',
'large': '4',
'x-large': '5',
'xx-large': '6',
'-webkit-xxx-large': '7'
},
'align': {
'justifyleft': 'Align left',
'justifycenter': 'Align center',
'justifyright': 'Align right',
'justifyfull': 'Align full'
},
'list': {
'insertOrderedList': 'Ordered list',
'insertUnorderedList': 'Unordered list'
},
'link': {
'url': 'Link URL: ',
'target': 'Target: ',
'targetBlank': 'New window',
'targetSelf': 'Same window',
'targetParent': 'Parent window',
'linkText': 'Link Text:',
'defText': 'Click here',
'anchor': 'Anchor: ',
'anchorNone': 'None selected'
},
'anchor': {
'name': 'Anchor name: '
},
'img': {
'url': 'Img URL: ',
'alt': 'Alt text: ',
'align': 'Alignment:',
'alignLeft': 'Left',
'alignRight': 'Right',
'alignTop': 'Top',
'alignMiddle': 'Middle',
'alignBaseline': 'Baseline',
'alignBottom': 'Bottom',
'width': 'Width: ',
'height': 'Height: ',
'border': 'Border: ',
'hspace': 'Hspace: ',
'vspace': 'Vspace: '
},
'flash': {
'url': 'Flash URL:',
'width': 'Width: ',
'height': 'Height: '
},
'media': {
'url': 'Media URL:',
'width': 'Width: ',
'height': 'Height: '
},
'emot.default': {
'smile': 'Smile',
'tongue': 'Tongue',
'titter': 'Titter',
'laugh': 'Laugh',
'sad': 'Sad',
'wronged': 'Wronged',
'fastcry': 'Fast cry',
'cry': 'Cry',
'wail': 'Wail',
'mad': 'Mad',
'knock': 'Knock',
'curse': 'Curse',
'crazy': 'Crazy',
'angry': 'Angry',
'ohmy': 'Oh my',
'awkward': 'Awkward',
'panic': 'Panic',
'shy': 'Shy',
'cute': 'Cute',
'envy': 'Envy',
'proud': 'Proud',
'struggle': 'Struggle',
'quiet': 'Quiet',
'shutup': 'Shut up',
'doubt': 'Doubt',
'despise': 'Despise',
'sleep': 'Sleep',
'bye': 'Bye'
},
'table': {
'rows': 'Rows: ',
'columns': 'Cols: ',
'headers': 'Headers: ',
'headersRow': 'First row',
'headersCol': 'First column',
'headersBoth': 'Both',
'width': 'Width: ',
'height': 'Height: ',
'border': 'Border: ',
'cellSpacing': 'CellSpacing:',
'cellPadding': 'CellPadding:',
'align': 'Align: ',
'alignLeft': 'Left',
'alignCenter': 'Center',
'alignRight': 'Right',
'caption': 'Caption: '
},
'upload': {
'btnText' : 'Upload',
'browserTitle': 'Browser file',
'progressTitle': 'File uploading(Esc cancel)',
'progressTip': 'File uploading,please wait...',
'countLimit': 'Please do not upload more then {$0} files.',
'extLimit': 'Upload file extension required for this: {$0}',
'typeLimit': 'You can only drag and drop the same type of files.',
'apiError': '{$0} upload interface error!\r\n\r\nreturn error:\r\n\r\n{$1}'
},
'aboutXheditor': 'xhEditor is a platform independent WYSWYG XHTML editor based by jQuery,released as Open Source under <a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">LGPL</a>.'
});
|
JavaScript
|
/**
* SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com
*
* mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/
*
* SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilz�n and Mammon Media and is released under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
* SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
*/
/* ******************* */
/* Constructor & Init */
/* ******************* */
var SWFUpload;
if (SWFUpload == undefined) {
SWFUpload = function (settings) {
this.initSWFUpload(settings);
};
}
SWFUpload.prototype.initSWFUpload = function (settings) {
try {
this.customSettings = {}; // A container where developers can place their own settings associated with this instance.
this.settings = settings;
this.eventQueue = [];
this.movieName = "SWFUpload_" + SWFUpload.movieCount++;
this.movieElement = null;
// Setup global control tracking
SWFUpload.instances[this.movieName] = this;
// Load the settings. Load the Flash movie.
this.initSettings();
this.loadFlash();
this.displayDebugInfo();
} catch (ex) {
delete SWFUpload.instances[this.movieName];
throw ex;
}
};
/* *************** */
/* Static Members */
/* *************** */
SWFUpload.instances = {};
SWFUpload.movieCount = 0;
SWFUpload.version = "2.2.0 2009-03-25";
SWFUpload.QUEUE_ERROR = {
QUEUE_LIMIT_EXCEEDED : -100,
FILE_EXCEEDS_SIZE_LIMIT : -110,
ZERO_BYTE_FILE : -120,
INVALID_FILETYPE : -130
};
SWFUpload.UPLOAD_ERROR = {
HTTP_ERROR : -200,
MISSING_UPLOAD_URL : -210,
IO_ERROR : -220,
SECURITY_ERROR : -230,
UPLOAD_LIMIT_EXCEEDED : -240,
UPLOAD_FAILED : -250,
SPECIFIED_FILE_ID_NOT_FOUND : -260,
FILE_VALIDATION_FAILED : -270,
FILE_CANCELLED : -280,
UPLOAD_STOPPED : -290
};
SWFUpload.FILE_STATUS = {
QUEUED : -1,
IN_PROGRESS : -2,
ERROR : -3,
COMPLETE : -4,
CANCELLED : -5
};
SWFUpload.BUTTON_ACTION = {
SELECT_FILE : -100,
SELECT_FILES : -110,
START_UPLOAD : -120
};
SWFUpload.CURSOR = {
ARROW : -1,
HAND : -2
};
SWFUpload.WINDOW_MODE = {
WINDOW : "window",
TRANSPARENT : "transparent",
OPAQUE : "opaque"
};
// Private: takes a URL, determines if it is relative and converts to an absolute URL
// using the current site. Only processes the URL if it can, otherwise returns the URL untouched
SWFUpload.completeURL = function(url) {
if (typeof(url) !== "string" || url.match(/^https?:\/\//i) || url.match(/^\//)) {
return url;
}
var currentURL = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
var indexSlash = window.location.pathname.lastIndexOf("/");
if (indexSlash <= 0) {
path = "/";
} else {
path = window.location.pathname.substr(0, indexSlash) + "/";
}
return /*currentURL +*/ path + url;
};
/* ******************** */
/* Instance Members */
/* ******************** */
// Private: initSettings ensures that all the
// settings are set, getting a default value if one was not assigned.
SWFUpload.prototype.initSettings = function () {
this.ensureDefault = function (settingName, defaultValue) {
this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName];
};
// Upload backend settings
this.ensureDefault("upload_url", "");
this.ensureDefault("preserve_relative_urls", false);
this.ensureDefault("file_post_name", "Filedata");
this.ensureDefault("post_params", {});
this.ensureDefault("use_query_string", false);
this.ensureDefault("requeue_on_error", false);
this.ensureDefault("http_success", []);
this.ensureDefault("assume_success_timeout", 0);
// File Settings
this.ensureDefault("file_types", "*.*");
this.ensureDefault("file_types_description", "All Files");
this.ensureDefault("file_size_limit", 0); // Default zero means "unlimited"
this.ensureDefault("file_upload_limit", 0);
this.ensureDefault("file_queue_limit", 0);
// Flash Settings
this.ensureDefault("flash_url", "swfupload.swf");
this.ensureDefault("prevent_swf_caching", true);
// Button Settings
this.ensureDefault("button_image_url", "");
this.ensureDefault("button_width", 1);
this.ensureDefault("button_height", 1);
this.ensureDefault("button_text", "");
this.ensureDefault("button_text_style", "color: #000000; font-size: 16pt;");
this.ensureDefault("button_text_top_padding", 0);
this.ensureDefault("button_text_left_padding", 0);
this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES);
this.ensureDefault("button_disabled", false);
this.ensureDefault("button_placeholder_id", "");
this.ensureDefault("button_placeholder", null);
this.ensureDefault("button_cursor", SWFUpload.CURSOR.ARROW);
this.ensureDefault("button_window_mode", SWFUpload.WINDOW_MODE.WINDOW);
// Debug Settings
this.ensureDefault("debug", false);
this.settings.debug_enabled = this.settings.debug; // Here to maintain v2 API
// Event Handlers
this.settings.return_upload_start_handler = this.returnUploadStart;
this.ensureDefault("swfupload_loaded_handler", null);
this.ensureDefault("file_dialog_start_handler", null);
this.ensureDefault("file_queued_handler", null);
this.ensureDefault("file_queue_error_handler", null);
this.ensureDefault("file_dialog_complete_handler", null);
this.ensureDefault("upload_start_handler", null);
this.ensureDefault("upload_progress_handler", null);
this.ensureDefault("upload_error_handler", null);
this.ensureDefault("upload_success_handler", null);
this.ensureDefault("upload_complete_handler", null);
this.ensureDefault("debug_handler", this.debugMessage);
this.ensureDefault("custom_settings", {});
// Other settings
this.customSettings = this.settings.custom_settings;
// Update the flash url if needed
if (!!this.settings.prevent_swf_caching) {
this.settings.flash_url = this.settings.flash_url + (this.settings.flash_url.indexOf("?") < 0 ? "?" : "&") + "preventswfcaching=" + new Date().getTime();
}
if (!this.settings.preserve_relative_urls) {
//this.settings.flash_url = SWFUpload.completeURL(this.settings.flash_url); // Don't need to do this one since flash doesn't look at it
this.settings.upload_url = SWFUpload.completeURL(this.settings.upload_url);
this.settings.button_image_url = SWFUpload.completeURL(this.settings.button_image_url);
}
delete this.ensureDefault;
};
// Private: loadFlash replaces the button_placeholder element with the flash movie.
SWFUpload.prototype.loadFlash = function () {
var targetElement, tempParent;
// Make sure an element with the ID we are going to use doesn't already exist
if (document.getElementById(this.movieName) !== null) {
throw "ID " + this.movieName + " is already in use. The Flash Object could not be added";
}
// Get the element where we will be placing the flash movie
targetElement = document.getElementById(this.settings.button_placeholder_id) || this.settings.button_placeholder;
if (targetElement == undefined) {
throw "Could not find the placeholder element: " + this.settings.button_placeholder_id;
}
// Append the container and load the flash
tempParent = document.createElement("div");
tempParent.innerHTML = this.getFlashHTML(); // Using innerHTML is non-standard but the only sensible way to dynamically add Flash in IE (and maybe other browsers)
targetElement.parentNode.replaceChild(tempParent.firstChild, targetElement);
// Fix IE Flash/Form bug
if (window[this.movieName] == undefined) {
window[this.movieName] = this.getMovieElement();
}
};
// Private: getFlashHTML generates the object tag needed to embed the flash in to the document
SWFUpload.prototype.getFlashHTML = function () {
// Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay
return ['<object id="', this.movieName, '" type="application/x-shockwave-flash" data="', this.settings.flash_url, '" width="', this.settings.button_width, '" height="', this.settings.button_height, '" class="swfupload">',
'<param name="wmode" value="', this.settings.button_window_mode, '" />',
'<param name="movie" value="', this.settings.flash_url, '" />',
'<param name="quality" value="high" />',
'<param name="menu" value="false" />',
'<param name="allowScriptAccess" value="always" />',
'<param name="flashvars" value="' + this.getFlashVars() + '" />',
'</object>'].join("");
};
// Private: getFlashVars builds the parameter string that will be passed
// to flash in the flashvars param.
SWFUpload.prototype.getFlashVars = function () {
// Build a string from the post param object
var paramString = this.buildParamString();
var httpSuccessString = this.settings.http_success.join(",");
// Build the parameter string
return ["movieName=", encodeURIComponent(this.movieName),
"&uploadURL=", encodeURIComponent(this.settings.upload_url),
"&useQueryString=", encodeURIComponent(this.settings.use_query_string),
"&requeueOnError=", encodeURIComponent(this.settings.requeue_on_error),
"&httpSuccess=", encodeURIComponent(httpSuccessString),
"&assumeSuccessTimeout=", encodeURIComponent(this.settings.assume_success_timeout),
"&params=", encodeURIComponent(paramString),
"&filePostName=", encodeURIComponent(this.settings.file_post_name),
"&fileTypes=", encodeURIComponent(this.settings.file_types),
"&fileTypesDescription=", encodeURIComponent(this.settings.file_types_description),
"&fileSizeLimit=", encodeURIComponent(this.settings.file_size_limit),
"&fileUploadLimit=", encodeURIComponent(this.settings.file_upload_limit),
"&fileQueueLimit=", encodeURIComponent(this.settings.file_queue_limit),
"&debugEnabled=", encodeURIComponent(this.settings.debug_enabled),
"&buttonImageURL=", encodeURIComponent(this.settings.button_image_url),
"&buttonWidth=", encodeURIComponent(this.settings.button_width),
"&buttonHeight=", encodeURIComponent(this.settings.button_height),
"&buttonText=", encodeURIComponent(this.settings.button_text),
"&buttonTextTopPadding=", encodeURIComponent(this.settings.button_text_top_padding),
"&buttonTextLeftPadding=", encodeURIComponent(this.settings.button_text_left_padding),
"&buttonTextStyle=", encodeURIComponent(this.settings.button_text_style),
"&buttonAction=", encodeURIComponent(this.settings.button_action),
"&buttonDisabled=", encodeURIComponent(this.settings.button_disabled),
"&buttonCursor=", encodeURIComponent(this.settings.button_cursor)
].join("");
};
// Public: getMovieElement retrieves the DOM reference to the Flash element added by SWFUpload
// The element is cached after the first lookup
SWFUpload.prototype.getMovieElement = function () {
if (this.movieElement == undefined) {
this.movieElement = document.getElementById(this.movieName);
}
if (this.movieElement === null) {
throw "Could not find Flash element";
}
return this.movieElement;
};
// Private: buildParamString takes the name/value pairs in the post_params setting object
// and joins them up in to a string formatted "name=value&name=value"
SWFUpload.prototype.buildParamString = function () {
var postParams = this.settings.post_params;
var paramStringPairs = [];
if (typeof(postParams) === "object") {
for (var name in postParams) {
if (postParams.hasOwnProperty(name)) {
paramStringPairs.push(encodeURIComponent(name.toString()) + "=" + encodeURIComponent(postParams[name].toString()));
}
}
}
return paramStringPairs.join("&");
};
// Public: Used to remove a SWFUpload instance from the page. This method strives to remove
// all references to the SWF, and other objects so memory is properly freed.
// Returns true if everything was destroyed. Returns a false if a failure occurs leaving SWFUpload in an inconsistant state.
// Credits: Major improvements provided by steffen
SWFUpload.prototype.destroy = function () {
try {
// Make sure Flash is done before we try to remove it
this.cancelUpload(null, false);
// Remove the SWFUpload DOM nodes
var movieElement = null;
movieElement = this.getMovieElement();
if (movieElement && typeof(movieElement.CallFunction) === "unknown") { // We only want to do this in IE
// Loop through all the movie's properties and remove all function references (DOM/JS IE 6/7 memory leak workaround)
for (var i in movieElement) {
try {
if (typeof(movieElement[i]) === "function") {
movieElement[i] = null;
}
} catch (ex1) {}
}
// Remove the Movie Element from the page
try {
movieElement.parentNode.removeChild(movieElement);
} catch (ex) {}
}
// Remove IE form fix reference
window[this.movieName] = null;
// Destroy other references
SWFUpload.instances[this.movieName] = null;
delete SWFUpload.instances[this.movieName];
this.movieElement = null;
this.settings = null;
this.customSettings = null;
this.eventQueue = null;
this.movieName = null;
return true;
} catch (ex2) {
return false;
}
};
// Public: displayDebugInfo prints out settings and configuration
// information about this SWFUpload instance.
// This function (and any references to it) can be deleted when placing
// SWFUpload in production.
SWFUpload.prototype.displayDebugInfo = function () {
this.debug(
[
"---SWFUpload Instance Info---\n",
"Version: ", SWFUpload.version, "\n",
"Movie Name: ", this.movieName, "\n",
"Settings:\n",
"\t", "upload_url: ", this.settings.upload_url, "\n",
"\t", "flash_url: ", this.settings.flash_url, "\n",
"\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n",
"\t", "requeue_on_error: ", this.settings.requeue_on_error.toString(), "\n",
"\t", "http_success: ", this.settings.http_success.join(", "), "\n",
"\t", "assume_success_timeout: ", this.settings.assume_success_timeout, "\n",
"\t", "file_post_name: ", this.settings.file_post_name, "\n",
"\t", "post_params: ", this.settings.post_params.toString(), "\n",
"\t", "file_types: ", this.settings.file_types, "\n",
"\t", "file_types_description: ", this.settings.file_types_description, "\n",
"\t", "file_size_limit: ", this.settings.file_size_limit, "\n",
"\t", "file_upload_limit: ", this.settings.file_upload_limit, "\n",
"\t", "file_queue_limit: ", this.settings.file_queue_limit, "\n",
"\t", "debug: ", this.settings.debug.toString(), "\n",
"\t", "prevent_swf_caching: ", this.settings.prevent_swf_caching.toString(), "\n",
"\t", "button_placeholder_id: ", this.settings.button_placeholder_id.toString(), "\n",
"\t", "button_placeholder: ", (this.settings.button_placeholder ? "Set" : "Not Set"), "\n",
"\t", "button_image_url: ", this.settings.button_image_url.toString(), "\n",
"\t", "button_width: ", this.settings.button_width.toString(), "\n",
"\t", "button_height: ", this.settings.button_height.toString(), "\n",
"\t", "button_text: ", this.settings.button_text.toString(), "\n",
"\t", "button_text_style: ", this.settings.button_text_style.toString(), "\n",
"\t", "button_text_top_padding: ", this.settings.button_text_top_padding.toString(), "\n",
"\t", "button_text_left_padding: ", this.settings.button_text_left_padding.toString(), "\n",
"\t", "button_action: ", this.settings.button_action.toString(), "\n",
"\t", "button_disabled: ", this.settings.button_disabled.toString(), "\n",
"\t", "custom_settings: ", this.settings.custom_settings.toString(), "\n",
"Event Handlers:\n",
"\t", "swfupload_loaded_handler assigned: ", (typeof this.settings.swfupload_loaded_handler === "function").toString(), "\n",
"\t", "file_dialog_start_handler assigned: ", (typeof this.settings.file_dialog_start_handler === "function").toString(), "\n",
"\t", "file_queued_handler assigned: ", (typeof this.settings.file_queued_handler === "function").toString(), "\n",
"\t", "file_queue_error_handler assigned: ", (typeof this.settings.file_queue_error_handler === "function").toString(), "\n",
"\t", "upload_start_handler assigned: ", (typeof this.settings.upload_start_handler === "function").toString(), "\n",
"\t", "upload_progress_handler assigned: ", (typeof this.settings.upload_progress_handler === "function").toString(), "\n",
"\t", "upload_error_handler assigned: ", (typeof this.settings.upload_error_handler === "function").toString(), "\n",
"\t", "upload_success_handler assigned: ", (typeof this.settings.upload_success_handler === "function").toString(), "\n",
"\t", "upload_complete_handler assigned: ", (typeof this.settings.upload_complete_handler === "function").toString(), "\n",
"\t", "debug_handler assigned: ", (typeof this.settings.debug_handler === "function").toString(), "\n"
].join("")
);
};
/* Note: addSetting and getSetting are no longer used by SWFUpload but are included
the maintain v2 API compatibility
*/
// Public: (Deprecated) addSetting adds a setting value. If the value given is undefined or null then the default_value is used.
SWFUpload.prototype.addSetting = function (name, value, default_value) {
if (value == undefined) {
return (this.settings[name] = default_value);
} else {
return (this.settings[name] = value);
}
};
// Public: (Deprecated) getSetting gets a setting. Returns an empty string if the setting was not found.
SWFUpload.prototype.getSetting = function (name) {
if (this.settings[name] != undefined) {
return this.settings[name];
}
return "";
};
// Private: callFlash handles function calls made to the Flash element.
// Calls are made with a setTimeout for some functions to work around
// bugs in the ExternalInterface library.
SWFUpload.prototype.callFlash = function (functionName, argumentArray) {
argumentArray = argumentArray || [];
var movieElement = this.getMovieElement();
var returnValue, returnString;
// Flash's method if calling ExternalInterface methods (code adapted from MooTools).
try {
returnString = movieElement.CallFunction('<invoke name="' + functionName + '" returntype="javascript">' + __flash__argumentsToXML(argumentArray, 0) + '</invoke>');
returnValue = eval(returnString);
} catch (ex) {
throw "Call to " + functionName + " failed";
}
// Unescape file post param values
if (returnValue != undefined && typeof returnValue.post === "object") {
returnValue = this.unescapeFilePostParams(returnValue);
}
return returnValue;
};
/* *****************************
-- Flash control methods --
Your UI should use these
to operate SWFUpload
***************************** */
// WARNING: this function does not work in Flash Player 10
// Public: selectFile causes a File Selection Dialog window to appear. This
// dialog only allows 1 file to be selected.
SWFUpload.prototype.selectFile = function () {
this.callFlash("SelectFile");
};
// WARNING: this function does not work in Flash Player 10
// Public: selectFiles causes a File Selection Dialog window to appear/ This
// dialog allows the user to select any number of files
// Flash Bug Warning: Flash limits the number of selectable files based on the combined length of the file names.
// If the selection name length is too long the dialog will fail in an unpredictable manner. There is no work-around
// for this bug.
SWFUpload.prototype.selectFiles = function () {
this.callFlash("SelectFiles");
};
// Public: startUpload starts uploading the first file in the queue unless
// the optional parameter 'fileID' specifies the ID
SWFUpload.prototype.startUpload = function (fileID) {
this.callFlash("StartUpload", [fileID]);
};
// Public: cancelUpload cancels any queued file. The fileID parameter may be the file ID or index.
// If you do not specify a fileID the current uploading file or first file in the queue is cancelled.
// If you do not want the uploadError event to trigger you can specify false for the triggerErrorEvent parameter.
SWFUpload.prototype.cancelUpload = function (fileID, triggerErrorEvent) {
if (triggerErrorEvent !== false) {
triggerErrorEvent = true;
}
this.callFlash("CancelUpload", [fileID, triggerErrorEvent]);
};
// Public: stopUpload stops the current upload and requeues the file at the beginning of the queue.
// If nothing is currently uploading then nothing happens.
SWFUpload.prototype.stopUpload = function () {
this.callFlash("StopUpload");
};
/* ************************
* Settings methods
* These methods change the SWFUpload settings.
* SWFUpload settings should not be changed directly on the settings object
* since many of the settings need to be passed to Flash in order to take
* effect.
* *********************** */
// Public: getStats gets the file statistics object.
SWFUpload.prototype.getStats = function () {
return this.callFlash("GetStats");
};
// Public: setStats changes the SWFUpload statistics. You shouldn't need to
// change the statistics but you can. Changing the statistics does not
// affect SWFUpload accept for the successful_uploads count which is used
// by the upload_limit setting to determine how many files the user may upload.
SWFUpload.prototype.setStats = function (statsObject) {
this.callFlash("SetStats", [statsObject]);
};
// Public: getFile retrieves a File object by ID or Index. If the file is
// not found then 'null' is returned.
SWFUpload.prototype.getFile = function (fileID) {
if (typeof(fileID) === "number") {
return this.callFlash("GetFileByIndex", [fileID]);
} else {
return this.callFlash("GetFile", [fileID]);
}
};
// Public: addFileParam sets a name/value pair that will be posted with the
// file specified by the Files ID. If the name already exists then the
// exiting value will be overwritten.
SWFUpload.prototype.addFileParam = function (fileID, name, value) {
return this.callFlash("AddFileParam", [fileID, name, value]);
};
// Public: removeFileParam removes a previously set (by addFileParam) name/value
// pair from the specified file.
SWFUpload.prototype.removeFileParam = function (fileID, name) {
this.callFlash("RemoveFileParam", [fileID, name]);
};
// Public: setUploadUrl changes the upload_url setting.
SWFUpload.prototype.setUploadURL = function (url) {
this.settings.upload_url = url.toString();
this.callFlash("SetUploadURL", [url]);
};
// Public: setPostParams changes the post_params setting
SWFUpload.prototype.setPostParams = function (paramsObject) {
this.settings.post_params = paramsObject;
this.callFlash("SetPostParams", [paramsObject]);
};
// Public: addPostParam adds post name/value pair. Each name can have only one value.
SWFUpload.prototype.addPostParam = function (name, value) {
this.settings.post_params[name] = value;
this.callFlash("SetPostParams", [this.settings.post_params]);
};
// Public: removePostParam deletes post name/value pair.
SWFUpload.prototype.removePostParam = function (name) {
delete this.settings.post_params[name];
this.callFlash("SetPostParams", [this.settings.post_params]);
};
// Public: setFileTypes changes the file_types setting and the file_types_description setting
SWFUpload.prototype.setFileTypes = function (types, description) {
this.settings.file_types = types;
this.settings.file_types_description = description;
this.callFlash("SetFileTypes", [types, description]);
};
// Public: setFileSizeLimit changes the file_size_limit setting
SWFUpload.prototype.setFileSizeLimit = function (fileSizeLimit) {
this.settings.file_size_limit = fileSizeLimit;
this.callFlash("SetFileSizeLimit", [fileSizeLimit]);
};
// Public: setFileUploadLimit changes the file_upload_limit setting
SWFUpload.prototype.setFileUploadLimit = function (fileUploadLimit) {
this.settings.file_upload_limit = fileUploadLimit;
this.callFlash("SetFileUploadLimit", [fileUploadLimit]);
};
// Public: setFileQueueLimit changes the file_queue_limit setting
SWFUpload.prototype.setFileQueueLimit = function (fileQueueLimit) {
this.settings.file_queue_limit = fileQueueLimit;
this.callFlash("SetFileQueueLimit", [fileQueueLimit]);
};
// Public: setFilePostName changes the file_post_name setting
SWFUpload.prototype.setFilePostName = function (filePostName) {
this.settings.file_post_name = filePostName;
this.callFlash("SetFilePostName", [filePostName]);
};
// Public: setUseQueryString changes the use_query_string setting
SWFUpload.prototype.setUseQueryString = function (useQueryString) {
this.settings.use_query_string = useQueryString;
this.callFlash("SetUseQueryString", [useQueryString]);
};
// Public: setRequeueOnError changes the requeue_on_error setting
SWFUpload.prototype.setRequeueOnError = function (requeueOnError) {
this.settings.requeue_on_error = requeueOnError;
this.callFlash("SetRequeueOnError", [requeueOnError]);
};
// Public: setHTTPSuccess changes the http_success setting
SWFUpload.prototype.setHTTPSuccess = function (http_status_codes) {
if (typeof http_status_codes === "string") {
http_status_codes = http_status_codes.replace(" ", "").split(",");
}
this.settings.http_success = http_status_codes;
this.callFlash("SetHTTPSuccess", [http_status_codes]);
};
// Public: setHTTPSuccess changes the http_success setting
SWFUpload.prototype.setAssumeSuccessTimeout = function (timeout_seconds) {
this.settings.assume_success_timeout = timeout_seconds;
this.callFlash("SetAssumeSuccessTimeout", [timeout_seconds]);
};
// Public: setDebugEnabled changes the debug_enabled setting
SWFUpload.prototype.setDebugEnabled = function (debugEnabled) {
this.settings.debug_enabled = debugEnabled;
this.callFlash("SetDebugEnabled", [debugEnabled]);
};
// Public: setButtonImageURL loads a button image sprite
SWFUpload.prototype.setButtonImageURL = function (buttonImageURL) {
if (buttonImageURL == undefined) {
buttonImageURL = "";
}
this.settings.button_image_url = buttonImageURL;
this.callFlash("SetButtonImageURL", [buttonImageURL]);
};
// Public: setButtonDimensions resizes the Flash Movie and button
SWFUpload.prototype.setButtonDimensions = function (width, height) {
this.settings.button_width = width;
this.settings.button_height = height;
var movie = this.getMovieElement();
if (movie != undefined) {
movie.style.width = width + "px";
movie.style.height = height + "px";
}
this.callFlash("SetButtonDimensions", [width, height]);
};
// Public: setButtonText Changes the text overlaid on the button
SWFUpload.prototype.setButtonText = function (html) {
this.settings.button_text = html;
this.callFlash("SetButtonText", [html]);
};
// Public: setButtonTextPadding changes the top and left padding of the text overlay
SWFUpload.prototype.setButtonTextPadding = function (left, top) {
this.settings.button_text_top_padding = top;
this.settings.button_text_left_padding = left;
this.callFlash("SetButtonTextPadding", [left, top]);
};
// Public: setButtonTextStyle changes the CSS used to style the HTML/Text overlaid on the button
SWFUpload.prototype.setButtonTextStyle = function (css) {
this.settings.button_text_style = css;
this.callFlash("SetButtonTextStyle", [css]);
};
// Public: setButtonDisabled disables/enables the button
SWFUpload.prototype.setButtonDisabled = function (isDisabled) {
this.settings.button_disabled = isDisabled;
this.callFlash("SetButtonDisabled", [isDisabled]);
};
// Public: setButtonAction sets the action that occurs when the button is clicked
SWFUpload.prototype.setButtonAction = function (buttonAction) {
this.settings.button_action = buttonAction;
this.callFlash("SetButtonAction", [buttonAction]);
};
// Public: setButtonCursor changes the mouse cursor displayed when hovering over the button
SWFUpload.prototype.setButtonCursor = function (cursor) {
this.settings.button_cursor = cursor;
this.callFlash("SetButtonCursor", [cursor]);
};
/* *******************************
Flash Event Interfaces
These functions are used by Flash to trigger the various
events.
All these functions a Private.
Because the ExternalInterface library is buggy the event calls
are added to a queue and the queue then executed by a setTimeout.
This ensures that events are executed in a determinate order and that
the ExternalInterface bugs are avoided.
******************************* */
SWFUpload.prototype.queueEvent = function (handlerName, argumentArray) {
// Warning: Don't call this.debug inside here or you'll create an infinite loop
if (argumentArray == undefined) {
argumentArray = [];
} else if (!(argumentArray instanceof Array)) {
argumentArray = [argumentArray];
}
var self = this;
if (typeof this.settings[handlerName] === "function") {
// Queue the event
this.eventQueue.push(function () {
this.settings[handlerName].apply(this, argumentArray);
});
// Execute the next queued event
setTimeout(function () {
self.executeNextEvent();
}, 0);
} else if (this.settings[handlerName] !== null) {
throw "Event handler " + handlerName + " is unknown or is not a function";
}
};
// Private: Causes the next event in the queue to be executed. Since events are queued using a setTimeout
// we must queue them in order to garentee that they are executed in order.
SWFUpload.prototype.executeNextEvent = function () {
// Warning: Don't call this.debug inside here or you'll create an infinite loop
var f = this.eventQueue ? this.eventQueue.shift() : null;
if (typeof(f) === "function") {
f.apply(this);
}
};
// Private: unescapeFileParams is part of a workaround for a flash bug where objects passed through ExternalInterface cannot have
// properties that contain characters that are not valid for JavaScript identifiers. To work around this
// the Flash Component escapes the parameter names and we must unescape again before passing them along.
SWFUpload.prototype.unescapeFilePostParams = function (file) {
var reg = /[$]([0-9a-f]{4})/i;
var unescapedPost = {};
var uk;
if (file != undefined) {
for (var k in file.post) {
if (file.post.hasOwnProperty(k)) {
uk = k;
var match;
while ((match = reg.exec(uk)) !== null) {
uk = uk.replace(match[0], String.fromCharCode(parseInt("0x" + match[1], 16)));
}
unescapedPost[uk] = file.post[k];
}
}
file.post = unescapedPost;
}
return file;
};
// Private: Called by Flash to see if JS can call in to Flash (test if External Interface is working)
SWFUpload.prototype.testExternalInterface = function () {
try {
return this.callFlash("TestExternalInterface");
} catch (ex) {
return false;
}
};
// Private: This event is called by Flash when it has finished loading. Don't modify this.
// Use the swfupload_loaded_handler event setting to execute custom code when SWFUpload has loaded.
SWFUpload.prototype.flashReady = function () {
// Check that the movie element is loaded correctly with its ExternalInterface methods defined
var movieElement = this.getMovieElement();
if (!movieElement) {
this.debug("Flash called back ready but the flash movie can't be found.");
return;
}
this.cleanUp(movieElement);
this.queueEvent("swfupload_loaded_handler");
};
// Private: removes Flash added fuctions to the DOM node to prevent memory leaks in IE.
// This function is called by Flash each time the ExternalInterface functions are created.
SWFUpload.prototype.cleanUp = function (movieElement) {
// Pro-actively unhook all the Flash functions
try {
if (this.movieElement && typeof(movieElement.CallFunction) === "unknown") { // We only want to do this in IE
this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");
for (var key in movieElement) {
try {
if (typeof(movieElement[key]) === "function") {
movieElement[key] = null;
}
} catch (ex) {
}
}
}
} catch (ex1) {
}
// Fix Flashes own cleanup code so if the SWFMovie was removed from the page
// it doesn't display errors.
window["__flash__removeCallback"] = function (instance, name) {
try {
if (instance) {
instance[name] = null;
}
} catch (flashEx) {
}
};
};
/* This is a chance to do something before the browse window opens */
SWFUpload.prototype.fileDialogStart = function () {
this.queueEvent("file_dialog_start_handler");
};
/* Called when a file is successfully added to the queue. */
SWFUpload.prototype.fileQueued = function (file) {
file = this.unescapeFilePostParams(file);
this.queueEvent("file_queued_handler", file);
};
/* Handle errors that occur when an attempt to queue a file fails. */
SWFUpload.prototype.fileQueueError = function (file, errorCode, message) {
file = this.unescapeFilePostParams(file);
this.queueEvent("file_queue_error_handler", [file, errorCode, message]);
};
/* Called after the file dialog has closed and the selected files have been queued.
You could call startUpload here if you want the queued files to begin uploading immediately. */
SWFUpload.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued, numFilesInQueue) {
this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued, numFilesInQueue]);
};
SWFUpload.prototype.uploadStart = function (file) {
file = this.unescapeFilePostParams(file);
this.queueEvent("return_upload_start_handler", file);
};
SWFUpload.prototype.returnUploadStart = function (file) {
var returnValue;
if (typeof this.settings.upload_start_handler === "function") {
file = this.unescapeFilePostParams(file);
returnValue = this.settings.upload_start_handler.call(this, file);
} else if (this.settings.upload_start_handler != undefined) {
throw "upload_start_handler must be a function";
}
// Convert undefined to true so if nothing is returned from the upload_start_handler it is
// interpretted as 'true'.
if (returnValue === undefined) {
returnValue = true;
}
returnValue = !!returnValue;
this.callFlash("ReturnUploadStart", [returnValue]);
};
SWFUpload.prototype.uploadProgress = function (file, bytesComplete, bytesTotal) {
file = this.unescapeFilePostParams(file);
this.queueEvent("upload_progress_handler", [file, bytesComplete, bytesTotal]);
};
SWFUpload.prototype.uploadError = function (file, errorCode, message) {
file = this.unescapeFilePostParams(file);
this.queueEvent("upload_error_handler", [file, errorCode, message]);
};
SWFUpload.prototype.uploadSuccess = function (file, serverData, responseReceived) {
file = this.unescapeFilePostParams(file);
this.queueEvent("upload_success_handler", [file, serverData, responseReceived]);
};
SWFUpload.prototype.uploadComplete = function (file) {
file = this.unescapeFilePostParams(file);
this.queueEvent("upload_complete_handler", file);
};
/* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
internal debug console. You can override this event and have messages written where you want. */
SWFUpload.prototype.debug = function (message) {
this.queueEvent("debug_handler", message);
};
/* **********************************
Debug Console
The debug console is a self contained, in page location
for debug message to be sent. The Debug Console adds
itself to the body if necessary.
The console is automatically scrolled as messages appear.
If you are using your own debug handler or when you deploy to production and
have debug disabled you can remove these functions to reduce the file size
and complexity.
********************************** */
// Private: debugMessage is the default debug_handler. If you want to print debug messages
// call the debug() function. When overriding the function your own function should
// check to see if the debug setting is true before outputting debug information.
SWFUpload.prototype.debugMessage = function (message) {
if (this.settings.debug) {
var exceptionMessage, exceptionValues = [];
// Check for an exception object and print it nicely
if (typeof message === "object" && typeof message.name === "string" && typeof message.message === "string") {
for (var key in message) {
if (message.hasOwnProperty(key)) {
exceptionValues.push(key + ": " + message[key]);
}
}
exceptionMessage = exceptionValues.join("\n") || "";
exceptionValues = exceptionMessage.split("\n");
exceptionMessage = "EXCEPTION: " + exceptionValues.join("\nEXCEPTION: ");
SWFUpload.Console.writeLine(exceptionMessage);
} else {
SWFUpload.Console.writeLine(message);
}
}
};
SWFUpload.Console = {};
SWFUpload.Console.writeLine = function (message) {
var console, documentForm;
try {
console = document.getElementById("SWFUpload_Console");
if (!console) {
documentForm = document.createElement("form");
document.getElementsByTagName("body")[0].appendChild(documentForm);
console = document.createElement("textarea");
console.id = "SWFUpload_Console";
console.style.fontFamily = "monospace";
console.setAttribute("wrap", "off");
console.wrap = "off";
console.style.overflow = "auto";
console.style.width = "700px";
console.style.height = "350px";
console.style.margin = "5px";
documentForm.appendChild(console);
}
console.value += message + "\n";
console.scrollTop = console.scrollHeight - console.clientHeight;
} catch (ex) {
alert("Exception: " + ex.name + " Message: " + ex.message);
}
};
|
JavaScript
|
/*!
* MultiUpload for xheditor
* @requires xhEditor
*
* @author Yanis.Wang<yanis.wang@gmail.com>
* @site http://xheditor.com/
* @licence LGPL(http://www.opensource.org/licenses/lgpl-license.php)
*
* @Version: 0.9.2 (build 100505)
*/
var swfu,selQueue=[],selectID,arrMsg=[],allSize=0,uploadSize=0;
function removeFile()
{
var file;
if(!selectID)return;
for(var i in selQueue)
{
file=selQueue[i];
if(file.id==selectID)
{
selQueue.splice(i,1);
allSize-=file.size;
swfu.cancelUpload(file.id);
$('#'+file.id).remove();
selectID=null;
break;
}
}
$('#btnClear').hide();
if(selQueue.length==0)$('#controlBtns').hide();
}
function startUploadFiles()
{
if(swfu.getStats().files_queued>0)
{
$('#controlBtns').hide();
swfu.startUpload();
}
else alert('上传前请先添加文件');
}
function setFileState(fileid,txt)
{
$('#'+fileid+'_state').text(txt);
}
function fileQueued(file)//队列添加成功
{
for(var i in selQueue)if(selQueue[i].name==file.name){swfu.cancelUpload(file.id);return false;}//防止同名文件重复添加
if(selQueue.length==0)$('#controlBtns').show();
selQueue.push(file);
allSize+=file.size;
$('#listBody').append('<tr id="'+file.id+'"><td>'+file.name+'</td><td>'+formatBytes(file.size)+'</td><td id="'+file.id+'_state">就绪</td></tr>');
$('#'+file.id).hover(function(){$(this).addClass('hover');},function(){$(this).removeClass('hover');})
.click(function(){selectID=file.id;$('#listBody tr').removeClass('select');$(this).removeClass('hover').addClass('select');$('#btnClear').show();})
}
function fileQueueError(file, errorCode, message)//队列添加失败
{
var errorName='';
switch (errorCode)
{
case SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED:
errorName = "只能同时上传 "+this.settings.file_upload_limit+" 个文件";
break;
case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:
errorName = "选择的文件超过了当前大小限制:"+this.settings.file_size_limit;
break;
case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:
errorName = "零大小文件";
break;
case SWFUpload.QUEUE_ERROR.INVALID_FILETYPE:
errorName = "文件扩展名必需为:"+this.settings.file_types_description+" ("+this.settings.file_types+")";
break;
default:
errorName = "未知错误";
break;
}
alert(errorName);
}
function uploadStart(file)//单文件上传开始
{
setFileState(file.id,'上传中…');
}
function uploadProgress(file, bytesLoaded, bytesTotal)//单文件上传进度
{
var percent=Math.ceil((uploadSize+bytesLoaded)/allSize*100);
$('#progressBar span').text(percent+'% ('+formatBytes(uploadSize+bytesLoaded)+' / '+formatBytes(allSize)+')');
$('#progressBar div').css('width',percent+'%');
}
function uploadSuccess(file, serverData)//单文件上传成功
{
var data=Object;
try{eval("data=" + serverData);}catch(ex){};
if(data.err!=undefined&&data.msg!=undefined)
{
if(!data.err)
{
uploadSize+=file.size;
arrMsg.push(data.msg);
setFileState(file.id,'上传成功');
}
else
{
setFileState(file.id,'上传失败');
alert(data.err);
}
}
else setFileState(file.id,'上传失败!');
}
function uploadError(file, errorCode, message)//单文件上传错误
{
setFileState(file.id,'上传失败!');
}
function uploadComplete(file)//文件上传周期结束
{
if(swfu.getStats().files_queued>0)swfu.startUpload();
else uploadAllComplete();
}
function uploadAllComplete()//全部文件上传成功
{
callback(arrMsg);
}
function formatBytes(bytes) {
var s = ['Byte', 'KB', 'MB', 'GB', 'TB', 'PB'];
var e = Math.floor(Math.log(bytes)/Math.log(1024));
return (bytes/Math.pow(1024, Math.floor(e))).toFixed(2)+" "+s[e];
}
|
JavaScript
|
/**
* HTML2Markdown - An HTML to Markdown converter.
*
* This implementation uses HTML DOM parsing for conversion. Parsing code was
* abstracted out in a parsing function which should be easy to remove in favor
* of other parsing libraries.
*
* Converted MarkDown was tested with ShowDown library for HTML rendering. And
* it tries to create MarkDown that does not confuse ShowDown when certain
* combination of HTML tags come together.
*
* @author Himanshu Gilani
* @author Kates Gasis (original author)
*
*/
if (typeof require != "undefined") {
var htmlparser = require("./htmldomparser");
var HTMLParser = htmlparser.HTMLParser;
}
/**
* HTML2Markdown
* @param html - html string to convert
* @return converted markdown text
*/
function HTML2Markdown(html, opts) {
var logging = false;
var nodeList = [];
var listTagStack = [];
var linkAttrStack = [];
var blockquoteStack = [];
var preStack = [];
var links = [];
opts = opts || {};
var inlineStyle = opts['inlineStyle'] || false;
var markdownTags = {
"hr": "- - -\n\n",
"br": " \n",
"title": "# ",
"h1": "# ",
"h2": "## ",
"h3": "### ",
"h4": "#### ",
"h5": "##### ",
"h6": "###### ",
"b": "**",
"strong": "**",
"i": "_",
"em": "_",
"dfn": "_",
"var": "_",
"cite": "_",
"span": " ",
"ul": "* ",
"ol": "1. ",
"dl": "- ",
"blockquote": "> "
};
function getListMarkdownTag() {
var listItem = "";
if(listTagStack) {
for ( var i = 0; i < listTagStack.length - 1; i++) {
listItem += " ";
}
}
listItem += peek(listTagStack);
return listItem;
}
function convertAttrs(attrs) {
var attributes = {};
for(var k in attrs) {
var attr = attrs[k];
attributes[attr.name] = attr;
}
return attributes;
}
function peek(list) {
if(list && list.length > 0) {
return list.slice(-1)[0];
}
return "";
}
function peekTillNotEmpty(list) {
if(!list) {
return "";
}
for(var i = list.length - 1; i>=0; i-- ){
if(list[i] != "") {
return list[i];
}
}
return "";
}
function removeIfEmptyTag(start) {
var cleaned = false;
if(start == peekTillNotEmpty(nodeList)) {
while(peek(nodeList) != start) {
nodeList.pop();
}
nodeList.pop();
cleaned = true;
}
return cleaned;
}
function sliceText(start) {
var text = [];
while(nodeList.length > 0 && peek(nodeList) != start) {
var t = nodeList.pop();
text.unshift(t);
}
return text.join("");
}
function block(isEndBlock) {
var lastItem = nodeList.pop();
if (!lastItem) {
return;
}
if(!isEndBlock) {
var block;
if(/\s*\n\n\s*$/.test(lastItem)) {
lastItem = lastItem.replace(/\s*\n\n\s*$/, "\n\n");
block = "";
} else if(/\s*\n\s*$/.test(lastItem)) {
lastItem = lastItem.replace(/\s*\n\s*$/, "\n");
block = "\n";
} else if(/\s+$/.test(lastItem)) {
block = "\n\n";
} else {
block = "\n\n";
}
nodeList.push(lastItem);
nodeList.push(block);
} else {
nodeList.push(lastItem);
if(!lastItem.endsWith("\n")) {
nodeList.push("\n\n");
}
}
}
function listBlock() {
if(nodeList.length > 0) {
var li = peek(nodeList);
if(!li.endsWith("\n")) {
nodeList.push("\n");
}
} else {
nodeList.push("\n");
}
}
try {
var dom;
if(html) {
var e = document.createElement('div');
e.innerHTML = html;
dom = e;
} else {
dom = window.document.body;
}
HTMLParser(dom,{
start: function(tag, attrs, unary) {
tag = tag.toLowerCase();
if(logging) {
console.log("start: "+ tag);
}
if(unary && (tag != "br" && tag != "hr" && tag != "img")) {
return;
}
switch (tag) {
case "br":
nodeList.push(markdownTags[tag]);
break;
case "hr":
block();
nodeList.push(markdownTags[tag]);
break;
case "title":
case "h1":
case "h2":
case "h3":
case "h4":
case "h5":
case "h6":
block();
nodeList.push(markdownTags[tag]);
break;
case "b":
case "strong":
case "i":
case "em":
case "dfn":
case "var":
case "cite":
nodeList.push(markdownTags[tag]);
break;
case "span":
if(! /\s+$/.test(peek(nodeList))) {
nodeList.push(markdownTags[tag]);
}
break;
case "p":
case "div":
case "td":
block();
break;
case "ul":
case "ol":
case "dl":
listTagStack.push(markdownTags[tag]);
// lists are block elements
if(listTagStack.length > 1) {
listBlock();
} else {
block();
}
break;
case "li":
case "dt":
var li = getListMarkdownTag();
nodeList.push(li);
break;
case "a":
var attribs = convertAttrs(attrs);
linkAttrStack.push(attribs);
nodeList.push("[");
break;
case "img":
var attribs = convertAttrs(attrs);
var alt, title, url;
attribs["src"] ? url = getNormalizedUrl(attribs["src"].value) : url = "";
if(!url) {
break;
}
attribs['alt'] ? alt = attribs['alt'].value.trim() : alt = "";
attribs['title'] ? title = attribs['title'].value.trim() : title = "";
// if parent of image tag is nested in anchor tag use inline style
if(!inlineStyle && !peekTillNotEmpty(nodeList).startsWith("[")) {
var l = links.indexOf(url);
if(l == -1) {
links.push(url);
l=links.length-1;
}
block();
nodeList.push("![");
if(alt!= "") {
nodeList.push(alt);
} else if (title != null) {
nodeList.push(title);
}
nodeList.push("][" + l + "]");
block();
} else {
//if image is not a link image then treat images as block elements
if(!peekTillNotEmpty(nodeList).startsWith("[")) {
block();
}
nodeList.push(" + ")");
if(!peekTillNotEmpty(nodeList).startsWith("[")) {
block(true);
}
}
break;
case "blockquote":
block();
blockquoteStack.push(markdownTags[tag]);
nodeList.push(blockquoteStack.join(""));
break;
case "pre":
case "code":
block();
preStack.push(true);
break;
}
},
chars: function(text) {
if(preStack.length > 0) {
text = " " + text.replace(/\n/g,"\n ");
} else if(text.trim() != "") {
text = text.replace(/\s+/g, " ");
var prevText = peekTillNotEmpty(nodeList);
if(/\s+$/.test(prevText)) {
text = text.replace(/^\s+/g, "");
}
} else {
nodeList.push("");
return;
}
if(logging) {
console.log("text: "+ text);
}
nodeList.push(text);
},
end: function(tag) {
tag = tag.toLowerCase();
if(logging) {
console.log("end: "+ tag);
}
switch (tag) {
case "title":
case "h1":
case "h2":
case "h3":
case "h4":
case "h5":
case "h6":
if(!removeIfEmptyTag(markdownTags[tag])) {
block(true);
}
break;
case "p":
case "div":
case "td":
while(nodeList.length > 0 && peek(nodeList).trim() == "") {
nodeList.pop();
}
block(true);
break;
case "b":
case "strong":
case "i":
case "em":
case "dfn":
case "var":
case "cite":
if(!removeIfEmptyTag(markdownTags[tag])) {
nodeList.push(sliceText(markdownTags[tag]).trim());
nodeList.push(markdownTags[tag]);
}
break;
case "a":
var text = sliceText("[");
text = text.replace(/\s+/g, " ");
text = text.trim();
if(text == "") {
nodeList.pop();
break;
}
var attrs = linkAttrStack.pop();
var url;
attrs["href"] && attrs["href"].value != "" ? url = getNormalizedUrl(attrs["href"].value) : url = "";
if(url == "") {
nodeList.pop();
nodeList.push(text);
break;
}
nodeList.push(text);
if(!inlineStyle && !peek(nodeList).startsWith("!")){
var l = links.indexOf(url);
if(l == -1) {
links.push(url);
l=links.length-1;
}
nodeList.push("][" + l + "]");
} else {
if(peek(nodeList).startsWith("!")){
var text = nodeList.pop();
text = nodeList.pop() + text;
block();
nodeList.push(text);
}
var title = attrs["title"];
nodeList.push("](" + url + (title ? " \"" + title.value.trim().replace(/\s+/g, " ") + "\"" : "") + ")");
if(peek(nodeList).startsWith("!")){
block(true);
}
}
break;
case "ul":
case "ol":
case "dl":
listBlock();
listTagStack.pop();
break;
case "li":
case "dt":
var li = getListMarkdownTag();
if(!removeIfEmptyTag(li)) {
var text = sliceText(li).trim();
if(text.startsWith("[![")) {
nodeList.pop();
block();
nodeList.push(text);
block(true);
} else {
nodeList.push(text);
listBlock();
}
}
break;
case "blockquote":
blockquoteStack.pop();
break;
case "pre":
case "code":
block(true);
preStack.pop();
break;
case "span":
if(peek(nodeList).trim() == "") {
nodeList.pop();
if(peek(nodeList) == " ") {
nodeList.pop();
} else {
nodeList.push(markdownTags[tag]);
}
} else {
var text = nodeList.pop();
nodeList.push(text.trim());
nodeList.push(markdownTags[tag]);
}
break;
case "br":
case "hr":
case "img":
case "table":
case "tr":
break;
}
}
}, {"nodesToIgnore": ["script", "noscript", "object", "iframe", "frame", "head", "style", "label"]});
if(!inlineStyle) {
for ( var i = 0; i < links.length; i++) {
if(i == 0) {
var lastItem = nodeList.pop();
nodeList.push(lastItem.replace(/\s+$/g, ""));
nodeList.push("\n\n[" + i + "]: " + links[i]);
} else {
nodeList.push("\n[" + i + "]: " + links[i]);
}
}
}
} catch(e) {
console.log(e.stack);
console.trace();
}
return nodeList.join("");
}
function getNormalizedUrl(s) {
var urlBase = location.href;
var urlDir = urlBase.replace(/\/[^\/]*$/, '/');
var urlPage = urlBase.replace(/#[^\/#]*$/, '');
var url;
if(/^[a-zA-Z]([a-zA-Z0-9 -.])*:/.test(s)) {
// already absolute url
url = s;
} else if(/^\x2f/.test(s)) {// %2f --> /
// url is relative to site
location.protocol != "" ? url = location.protocol + "//" : url ="";
url+= location.hostname;
if(location.port != "80") {
url+=":"+location.port;
}
url += s;
} else if(/^#/.test(s)) {
// url is relative to page
url = urlPage + s;
} else {
url = urlDir + s;
}
return encodeURI(url);
}
if (typeof exports != "undefined") {
exports.HTML2Markdown = HTML2Markdown;
}
if (typeof exports != "undefined") {
exports.HTML2MarkDown = HTML2MarkDown;
}
/* add the useful functions to String object*/
if (typeof String.prototype.trim != 'function') {
String.prototype.trim = function() {
return replace(/^\s+|\s+$/g,"");
};
}
if (typeof String.prototype.isNotEmpty != 'function') {
String.prototype.isNotEmpty = function() {
if (/\S/.test(this)) {
return true;
} else {
return false;
}
};
}
if (typeof String.prototype.replaceAll != 'function') {
String.prototype.replaceAll = function(stringToFind,stringToReplace){
var temp = this;
var index = temp.indexOf(stringToFind);
while(index != -1){
temp = temp.replace(stringToFind,stringToReplace);
index = temp.indexOf(stringToFind);
}
return temp;
};
}
if (typeof String.prototype.startsWith != 'function') {
String.prototype.startsWith = function(str) {
return this.indexOf(str) == 0;
};
}
if (typeof String.prototype.endsWith != 'function') {
String.prototype.endsWith = function(suffix) {
return this.match(suffix+"$") == suffix;
};
}
if (typeof Array.prototype.indexOf != 'function') {
Array.prototype.indexOf = function(obj, fromIndex) {
if (fromIndex == null) {
fromIndex = 0;
} else if (fromIndex < 0) {
fromIndex = Math.max(0, this.length + fromIndex);
}
for ( var i = fromIndex, j = this.length; i < j; i++) {
if (this[i] === obj)
return i;
}
return -1;
};
}
|
JavaScript
|
/*!
* WYSIWYG UBB Editor support for xhEditor
* @requires xhEditor
*
* @author Yanis.Wang<yanis.wang@gmail.com>
* @site http://xheditor.com/
* @licence LGPL(http://www.opensource.org/licenses/lgpl-license.php)
*
* @Version: 0.9.12 (build 120228)
*/
function ubb2html(sUBB)
{
var i,sHtml=String(sUBB),arrcode=new Array(),cnum=0;
var arrFontsize=['10px','13px','16px','18px','24px','32px','48px'];
sHtml=sHtml.replace(/[<>&"]/g,function(c){return {'<':'<','>':'>','&':'&','"':'"'}[c];});
sHtml=sHtml.replace(/\r?\n/g,"<br />");
sHtml=sHtml.replace(/\[code\s*(?:=\s*([^\]]+?))?\]([\s\S]*?)\[\/code\]/ig,function(all,t,c){//code特殊处理
cnum++;arrcode[cnum]=all;
return "[\tubbcodeplace_"+cnum+"\t]";
});
sHtml=sHtml.replace(/\[(\/?)(b|u|i|s|sup|sub)\]/ig,'<$1$2>');
sHtml=sHtml.replace(/\[color\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,'<font color="$1">');
sHtml=sHtml.replace(/\[font\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,'<font face="$1">');
sHtml=sHtml.replace(/\[\/(color|font)\]/ig,'</font>');
sHtml=sHtml.replace(/\[size\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,function(all,size){
if(size.match(/^\d+$/))size=arrFontsize[size-1];
return '<span style="font-size:'+size+';">';
});
sHtml=sHtml.replace(/\[back\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,'<span style="background-color:$1;">');
sHtml=sHtml.replace(/\[\/(size|back)\]/ig,'</span>');
for(i=0;i<3;i++)sHtml=sHtml.replace(/\[align\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\](((?!\[align(?:\s+[^\]]+)?\])[\s\S])*?)\[\/align\]/ig,'<p align="$1">$2</p>');
sHtml=sHtml.replace(/\[img\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/img\]/ig,'<img src="$1" alt="" />');
sHtml=sHtml.replace(/\[img\s*=([^,\]]*)(?:\s*,\s*(\d*%?)\s*,\s*(\d*%?)\s*)?(?:,?\s*(\w+))?\s*\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*)?\s*\[\/img\]/ig,function(all,alt,p1,p2,p3,src){
var str='<img src="'+src+'" alt="'+alt+'"',a=p3?p3:(!isNum(p1)?p1:'');
if(isNum(p1))str+=' width="'+p1+'"';
if(isNum(p2))str+=' height="'+p2+'"'
if(a)str+=' align="'+a+'"';
str+=' />';
return str;
});
sHtml=sHtml.replace(/\[emot\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\/\]/ig,'<img emot="$1" />');
sHtml=sHtml.replace(/\[url\]\s*(((?!")[\s\S])*?)(?:"[\s\S]*?)?\s*\[\/url\]/ig,'<a href="$1">$1</a>');
sHtml=sHtml.replace(/\[url\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]\s*([\s\S]*?)\s*\[\/url\]/ig,'<a href="$1">$2</a>');
sHtml=sHtml.replace(/\[email\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/email\]/ig,'<a href="mailto:$1">$1</a>');
sHtml=sHtml.replace(/\[email\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]\s*([\s\S]+?)\s*\[\/email\]/ig,'<a href="mailto:$1">$2</a>');
sHtml=sHtml.replace(/\[quote\]/ig,'<blockquote>');
sHtml=sHtml.replace(/\[\/quote\]/ig,'</blockquote>');
sHtml=sHtml.replace(/\[flash\s*(?:=\s*(\d+)\s*,\s*(\d+)\s*)?\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/flash\]/ig,function(all,w,h,url){
if(!w)w=480;if(!h)h=400;
return '<embed type="application/x-shockwave-flash" src="'+url+'" wmode="opaque" quality="high" bgcolor="#ffffff" menu="false" play="true" loop="true" width="'+w+'" height="'+h+'"/>';
});
sHtml=sHtml.replace(/\[media\s*(?:=\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+)\s*)?)?\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/media\]/ig,function(all,w,h,play,url){
if(!w)w=480;if(!h)h=400;
return '<embed type="application/x-mplayer2" src="'+url+'" enablecontextmenu="false" autostart="'+(play=='1'?'true':'false')+'" width="'+w+'" height="'+h+'"/>';
});
sHtml=sHtml.replace(/\[table\s*(?:=\s*(\d{1,4}%?)\s*(?:,\s*([^\]"]+)(?:"[^\]]*?)?)?)?\s*\]/ig,function(all,w,b){
var str='<table';
if(w)str+=' width="'+w+'"';
if(b)str+=' bgcolor="'+b+'"';
return str+'>';
});
sHtml=sHtml.replace(/\[tr\s*(?:=\s*([^\]"]+?)(?:"[^\]]*?)?)?\s*\]/ig,function(all,bg){
return '<tr'+(bg?' bgcolor="'+bg+'"':'')+'>';
});
sHtml=sHtml.replace(/\[td\s*(?:=\s*(\d{1,2})\s*,\s*(\d{1,2})\s*(?:,\s*(\d{1,4}%?))?)?\s*\]/ig,function(all,col,row,w){
return '<td'+(col>1?' colspan="'+col+'"':'')+(row>1?' rowspan="'+row+'"':'')+(w?' width="'+w+'"':'')+'>';
});
sHtml=sHtml.replace(/\[\/(table|tr|td)\]/ig,'</$1>');
sHtml=sHtml.replace(/\[\*\]((?:(?!\[\*\]|\[\/list\]|\[list\s*(?:=[^\]]+)?\])[\s\S])+)/ig,'<li>$1</li>');
sHtml=sHtml.replace(/\[list\s*(?:=\s*([^\]"]+?)(?:"[^\]]*?)?)?\s*\]/ig,function(all,type){
var str='<ul';
if(type)str+=' type="'+type+'"';
return str+'>';
});
sHtml=sHtml.replace(/\[\/list\]/ig,'</ul>');
sHtml=sHtml.replace(/\[hr\/\]/ig,'<hr />');
for(i=1;i<=cnum;i++)sHtml=sHtml.replace("[\tubbcodeplace_"+i+"\t]", arrcode[i]);
sHtml=sHtml.replace(/(^|<\/?\w+(?:\s+[^>]*?)?>)([^<$]+)/ig, function(all,tag,text){
return tag+text.replace(/[\t ]/g,function(c){return {'\t':' ',' ':' '}[c];});
});
function isNum(s){if(s!=null&&s!='')return !isNaN(s);else return false;}
return sHtml;
}
function html2ubb(sHtml)
{
var regSrc=/\s+src\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i,regWidth=/\s+width\s*=\s*(["']?)\s*(\d+(?:\.\d+)?%?)\s*\1(\s|$)/i,regHeight=/\s+height\s*=\s*(["']?)\s*(\d+(?:\.\d+)?%?)\s*\1(\s|$)/i,regBg=/(?:background|background-color|bgcolor)\s*[:=]\s*(["']?)\s*((rgb\s*\(\s*\d{1,3}%?,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\))|(#[0-9a-f]{3,6})|([a-z]{1,20}))\s*\1/i
var i,sUBB=String(sHtml),arrcode=new Array(),cnum=0;
sUBB=sUBB.replace(/[ \t]*\r?\n[ \t]*/g,'');
sUBB = sUBB.replace(/<(script|style)(\s+[^>]*?)?>[\s\S]*?<\/\1>/ig, '');
sUBB = sUBB.replace(/<!--[\s\S]*?-->/ig,'');
sUBB=sUBB.replace(/<br(\s+[^>]*)?\/?>/ig,"\r\n");
sUBB=sUBB.replace(/\[code\s*(=\s*([^\]]+?))?\]([\s\S]*?)\[\/code\]/ig,function(all,t,c){//code特殊处理
cnum++;arrcode[cnum]=all;
return "[\tubbcodeplace_"+cnum+"\t]";
});
sUBB=sUBB.replace(/<(\/?)(b|u|i|s)(\s+[^>]*?)?>/ig,'[$1$2]');
sUBB=sUBB.replace(/<(\/?)strong(\s+[^>]*?)?>/ig,'[$1b]');
sUBB=sUBB.replace(/<(\/?)em(\s+[^>]*?)?>/ig,'[$1i]');
sUBB=sUBB.replace(/<(\/?)(strike|del)(\s+[^>]*?)?>/ig,'[$1s]');
sUBB=sUBB.replace(/<(\/?)(sup|sub)(\s+[^>]*?)?>/ig,'[$1$2]');
//font转ubb
function font2ubb(all,tag,attrs,content)
{
if(!attrs)return content;
var arrStart=[],arrEnd=[];
var match;
match=attrs.match(/ face\s*=\s*"\s*([^"]+)\s*"/i);
if(match){
arrStart.push('[font='+match[1]+']');
arrEnd.push('[/font]');
}
match=attrs.match(/ size\s*=\s*"\s*(\d+)\s*"/i);
if(match){
arrStart.push('[size='+match[1]+']');
arrEnd.push('[/size]');
}
match=attrs.match(/ color\s*=\s*"\s*([^"]+)\s*"/i);
if(match){
arrStart.push('[color='+formatColor(match[1])+']');
arrEnd.push('[/color]');
}
return arrStart.join('')+content+arrEnd.join('');
}
sUBB = sUBB.replace(/<(font)(\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,font2ubb);//第3层
sUBB = sUBB.replace(/<(font)(\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?)<\/\1>/ig,font2ubb);//第2层
sUBB = sUBB.replace(/<(font)(\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S])*?)<\/\1>/ig,font2ubb);//最里层
for(i=0;i<3;i++)sUBB=sUBB.replace(/<(span)(?:\s+[^>]*?)?\s+style\s*=\s*"((?:[^"]*?;)*\s*(?:font-family|font-size|color|background|background-color)\s*:[^"]*)"(?: [^>]+)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,function(all,tag,style,content){
var face=style.match(/(?:^|;)\s*font-family\s*:\s*([^;]+)/i),size=style.match(/(?:^|;)\s*font-size\s*:\s*([^;]+)/i),color=style.match(/(?:^|;)\s*color\s*:\s*([^;]+)/i),back=style.match(/(?:^|;)\s*(?:background|background-color)\s*:\s*([^;]+)/i),str=content;
var arrStart=[],arrEnd=[];
if(face){
arrStart.push('[font='+face[1]+']');
arrEnd.push('[/font]');
}
if(size){
arrStart.push('[size='+size[1]+']');
arrEnd.push('[/size]');
}
if(color){
arrStart.push('[color='+formatColor(color[1])+']');
arrEnd.push('[/color]');
}
if(back){
arrStart.push('[back='+formatColor(back[1])+']');
arrEnd.push('[/back]');
}
return arrStart.join('')+str+arrEnd.join('');
});
function formatColor(c)
{
var matchs;
if(matchs=c.match(/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i)){c=(matchs[1]*65536+matchs[2]*256+matchs[3]*1).toString(16);while(c.length<6)c='0'+c;c='#'+c;}
c=c.replace(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i,'#$1$1$2$2$3$3');
return c;
}
for(i=0;i<3;i++)sUBB=sUBB.replace(/<(div|p)(?:\s+[^>]*?)?[\s"';]\s*(?:text-)?align\s*[=:]\s*(["']?)\s*(left|center|right)\s*\2[^>]*>(((?!<\1(\s+[^>]*?)?>)[\s\S])+?)<\/\1>/ig,'[align=$3]$4[/align]');
for(i=0;i<3;i++)sUBB=sUBB.replace(/<(center)(?:\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S])*?)<\/\1>/ig,'[align=center]$2[/align]');
for(i=0;i<3;i++)sUBB=sUBB.replace(/<(p|div)(?:\s+[^>]*?)?\s+style\s*=\s*"(?:[^;"]*;)*\s*text-align\s*:([^;"]*)[^"]*"(?: [^>]+)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,function(all,tag,align,content){
return '[align='+align+']'+content+'[/align]';
});
sUBB=sUBB.replace(/<a(?:\s+[^>]*?)?\s+href=(["'])\s*(.+?)\s*\1[^>]*>\s*([\s\S]*?)\s*<\/a>/ig,function(all,q,url,text){
if(!(url&&text))return '';
var tag='url',str;
if(url.match(/^mailto:/i))
{
tag='email';
url=url.replace(/mailto:(.+?)/i,'$1');
}
str='['+tag;
if(url!=text)str+='='+url;
return str+']'+text+'[/'+tag+']';
});
sUBB=sUBB.replace(/<img(\s+[^>]*?)\/?>/ig,function(all,attr){
var emot=attr.match(/\s+emot\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i);
if(emot)return '[emot='+emot[2]+'/]';
var url=attr.match(regSrc),alt=attr.match(/\s+alt\s*=\s*(["']?)\s*(.*?)\s*\1(\s|$)/i),w=attr.match(regWidth),h=attr.match(regHeight),align=attr.match(/\s+align\s*=\s*(["']?)\s*(\w+)\s*\1(\s|$)/i),str='[img',p='';
if(!url)return '';
p+=alt[2];
if(w||h)p+=','+(w?w[2]:'')+','+(h?h[2]:'');
if(align)p+=','+align[2];
if(p)str+='='+p;
str+=']'+url[2]+'[/img]';
return str;
});
sUBB=sUBB.replace(/<blockquote(?:\s+[^>]*?)?>/ig,'[quote]');
sUBB=sUBB.replace(/<\/blockquote>/ig,'[/quote]');
sUBB=sUBB.replace(/<embed((?:\s+[^>]*?)?(?:\s+type\s*=\s*"\s*application\/x-shockwave-flash\s*"|\s+classid\s*=\s*"\s*clsid:d27cdb6e-ae6d-11cf-96b8-4445535400000\s*")[^>]*?)\/?>/ig,function(all,attr){
var url=attr.match(regSrc),w=attr.match(regWidth),h=attr.match(regHeight),str='[flash';
if(!url)return '';
if(w&&h)str+='='+w[2]+','+h[2];
str+=']'+url[2];
return str+'[/flash]';
});
sUBB=sUBB.replace(/<embed((?:\s+[^>]*?)?(?:\s+type\s*=\s*"\s*application\/x-mplayer2\s*"|\s+classid\s*=\s*"\s*clsid:6bf52a52-394a-11d3-b153-00c04f79faa6\s*")[^>]*?)\/?>/ig,function(all,attr){
var url=attr.match(regSrc),w=attr.match(regWidth),h=attr.match(regHeight),p=attr.match(/\s+autostart\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i),str='[media',auto='0';
if(!url)return '';
if(p)if(p[2]=='true')auto='1';
if(w&&h)str+='='+w[2]+','+h[2]+','+auto;
str+=']'+url[2];
return str+'[/media]';
});
sUBB=sUBB.replace(/<table(\s+[^>]*?)?>/ig,function(all,attr){
var str='[table';
if(attr)
{
var w=attr.match(regWidth),b=attr.match(regBg);
if(w)
{
str+='='+w[2];
if(b)str+=','+b[2];
}
}
return str+']';
});
sUBB=sUBB.replace(/<tr(\s+[^>]*?)?>/ig,function(all,attr){
var str='[tr';
if(attr)
{
var bg=attr.match(regBg)
if(bg)str+='='+bg[2];
}
return str+']';
});
sUBB=sUBB.replace(/<(?:th|td)(\s+[^>]*?)?>/ig,function(all,attr){
var str='[td';
if(attr)
{
var col=attr.match(/\s+colspan\s*=\s*(["']?)\s*(\d+)\s*\1(\s|$)/i),row=attr.match(/\s+rowspan\s*=\s*(["']?)\s*(\d+)\s*\1(\s|$)/i),w=attr.match(regWidth);
col=col?col[2]:1;
row=row?row[2]:1;
if(col>1||row>1||w)str+='='+col+','+row;
if(w)str+=','+w[2];
}
return str+']';
});
sUBB=sUBB.replace(/<\/(table|tr)>/ig,'[/$1]');
sUBB=sUBB.replace(/<\/(th|td)>/ig,'[/td]');
sUBB=sUBB.replace(/<ul(\s+[^>]*?)?>/ig,function(all,attr){
var t;
if(attr)t=attr.match(/\s+type\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i);
return '[list'+(t?'='+t[2]:'')+']';
});
sUBB=sUBB.replace(/<ol(\s+[^>]*?)?>/ig,'[list=1]');
sUBB=sUBB.replace(/<li(\s+[^>]*?)?>/ig,'[*]');
sUBB=sUBB.replace(/<\/li>/ig,'');
sUBB=sUBB.replace(/<\/(ul|ol)>/ig,'[/list]');
sUBB=sUBB.replace(/<h([1-6])(\s+[^>]*?)?>/ig,function(all,n){return '\r\n\r\n[size='+(7-n)+'][b]'});
sUBB=sUBB.replace(/<\/h[1-6]>/ig,'[/b][/size]\r\n\r\n');
sUBB=sUBB.replace(/<address(\s+[^>]*?)?>/ig,'\r\n[i]');
sUBB=sUBB.replace(/<\/address>/ig,'[i]\r\n');
sUBB=sUBB.replace(/<hr(\s+[^>]*?)?\/>/ig,'[hr/]');
for(i=0;i<3;i++)sUBB=sUBB.replace(/<(p)(?:\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,"\r\n\r\n$2\r\n\r\n");
for(i=0;i<3;i++)sUBB=sUBB.replace(/<(div)(?:\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,"\r\n$2\r\n");
sUBB=sUBB.replace(/((\s| )*\r?\n){3,}/g,"\r\n\r\n");//限制最多2次换行
sUBB=sUBB.replace(/^((\s| )*\r?\n)+/g,'');//清除开头换行
sUBB=sUBB.replace(/((\s| )*\r?\n)+$/g,'');//清除结尾换行
for(i=1;i<=cnum;i++)sUBB=sUBB.replace("[\tubbcodeplace_"+i+"\t]", arrcode[i]);
sUBB=sUBB.replace(/<[^<>]+?>/g,'');//删除所有HTML标签
var arrEntities={'lt':'<','gt':'>','nbsp':' ','amp':'&','quot':'"'};
sUBB=sUBB.replace(/&(lt|gt|nbsp|amp|quot);/ig,function(all,t){return arrEntities[t];});
//清除空内容的UBB标签
sUBB=sUBB.replace(/\[([a-z]+)(?:=[^\[\]]+)?\]\s*\[\/\1\]/ig,'');
return sUBB;
}
|
JavaScript
|
/*
* HTMLParser - This implementation of parser assumes we are parsing HTML in browser
* and user DOM methods available in browser for parsing HTML.
*
* @author Himanshu Gilani
*
*/
var HTMLParser = function(node, handler, opts) {
opts = opts || {};
var nodesToIgnore = opts['nodesToIgnore'] || [];
var parseHiddenNodes = opts['parseHiddenNodes'] || 'false';
var c = node.childNodes;
for ( var i = 0; i < c.length; i++) {
try {
var ignore = false;
for(var k=0; k< nodesToIgnore.length; k++) {
if(c[i].nodeName.toLowerCase() == nodesToIgnore[k]) {
ignore= true;
break;
}
}
//NOTE hidden node testing is expensive in FF.
if (ignore || (!parseHiddenNodes && isHiddenNode(c[i])) ){
continue;
}
if (c[i].nodeName.toLowerCase() != "#text" && c[i].nodeName.toLowerCase() != "#comment") {
var attrs = [];
if (c[i].hasAttributes()) {
var attributes = c[i].attributes;
for ( var a = 0; a < attributes.length; a++) {
var attribute = attributes.item(a);
attrs.push({
name : attribute.nodeName,
value : attribute.nodeValue,
});
}
}
if (handler.start) {
if (c[i].hasChildNodes()) {
handler.start(c[i].nodeName, attrs, false);
if (c[i].nodeName.toLowerCase() == "pre" || c[i].nodeName.toLowerCase() == "code") {
handler.chars(c[i].innerHTML);
} else if (c[i].nodeName.toLowerCase() == "iframe" || c[i].nodeName.toLowerCase() == "frame") {
if (c[i].contentDocument && c[i].contentDocument.documentElement) {
return HTMLParser(c[i].contentDocument.documentElement, handler, opts);
}
} else if (c[i].hasChildNodes()) {
HTMLParser(c[i], handler, opts);
}
if (handler.end) {
handler.end(c[i].nodeName);
}
} else {
handler.start(c[i].nodeName, attrs, true);
}
}
} else if (c[i].nodeName.toLowerCase() == "#text") {
if (handler.chars) {
handler.chars(c[i].nodeValue);
}
} else if (c[i].nodeName.toLowerCase() == "#comment") {
if (handler.comment) {
handler.comment(c[i].nodeValue);
}
}
} catch (e) {
//properly log error
console.log("error while parsing node: " + c[i].nodeName.toLowerCase());
}
}
};
function isHiddenNode(node) {
if(node.nodeName.toLowerCase() == "title"){
return false;
}
if (window.getComputedStyle) {
try {
var style = window.getComputedStyle(node, null);
if (style.getPropertyValue && style.getPropertyValue('display') == 'none') {
return true;
}
} catch (e) {
// consume and ignore. node styles are not accessible
}
return false;
}
}
|
JavaScript
|
/**
* jQuery ajax history plugins
* @author ZhangHuihua@msn.com
*/
(function($){
$.extend({
History: {
_hash: new Array(),
_cont: undefined,
_currentHash: "",
_callback: undefined,
init: function(cont, callback){
$.History._cont = cont;
$.History._callback = callback;
var current_hash = location.hash.replace(/\?.*$/, '');
$.History._currentHash = current_hash;
if ($.browser.msie) {
if ($.History._currentHash == '') {
$.History._currentHash = '#';
}
$("body").append('<iframe id="jQuery_history" style="display: none;" src="about:blank"></iframe>');
var ihistory = $("#jQuery_history")[0];
var iframe = ihistory.contentDocument || ihistory.contentWindow.document;
iframe.open();
iframe.close();
iframe.location.hash = current_hash;
}
if ($.isFunction(this._callback))
$.History._callback(current_hash.skipChar("#"));
setInterval($.History._historyCheck, 100);
},
_historyCheck: function(){
var current_hash = "";
if ($.browser.msie) {
var ihistory = $("#jQuery_history")[0];
var iframe = ihistory.contentWindow;
current_hash = iframe.location.hash.skipChar("#").replace(/\?.*$/, '');
} else {
current_hash = location.hash.skipChar('#').replace(/\?.*$/, '');
}
// if (!current_hash) {
// if (current_hash != $.History._currentHash) {
// $.History._currentHash = current_hash;
// //TODO
// }
// } else {
if (current_hash != $.History._currentHash) {
$.History._currentHash = current_hash;
$.History.loadHistory(current_hash);
}
// }
},
addHistory: function(hash, fun, args){
$.History._currentHash = hash;
var history = [hash, fun, args];
$.History._hash.push(history);
if ($.browser.msie) {
var ihistory = $("#jQuery_history")[0];
var iframe = ihistory.contentDocument || ihistory.contentWindow.document;
iframe.open();
iframe.close();
iframe.location.hash = hash.replace(/\?.*$/, '');
location.hash = hash.replace(/\?.*$/, '');
} else {
location.hash = hash.replace(/\?.*$/, '');
}
},
loadHistory: function(hash){
if ($.browser.msie) {
location.hash = hash;
}
for (var i = 0; i < $.History._hash.length; i += 1) {
if ($.History._hash[i][0] == hash) {
$.History._hash[i][1]($.History._hash[i][2]);
return;
}
}
}
}
});
})(jQuery);
|
JavaScript
|
/**
* @author Roger Wu
* @version 1.0
*/
(function($){
$.extend($.fn, {
jPanel:function(options){
var op = $.extend({header:"panelHeader", headerC:"panelHeaderContent", content:"panelContent", coll:"collapsable", exp:"expandable", footer:"panelFooter", footerC:"panelFooterContent"}, options);
return this.each(function(){
var $panel = $(this);
var close = $panel.hasClass("close");
var collapse = $panel.hasClass("collapse");
var $content = $(">div", $panel).addClass(op.content);
var title = $(">h1",$panel).wrap('<div class="'+op.header+'"><div class="'+op.headerC+'"></div></div>');
if(collapse)$("<a href=\"\"></a>").addClass(close?op.exp:op.coll).insertAfter(title);
var header = $(">div:first", $panel);
var footer = $('<div class="'+op.footer+'"><div class="'+op.footerC+'"></div></div>').appendTo($panel);
var defaultH = $panel.attr("defH")?$panel.attr("defH"):0;
var minH = $panel.attr("minH")?$panel.attr("minH"):0;
if (close)
$content.css({
height: "0px",
display: "none"
});
else {
if (defaultH > 0)
$content.height(defaultH + "px");
else if(minH > 0){
$content.css("minHeight", minH+"px");
}
}
if(!collapse) return;
var $pucker = $("a", header);
var inH = $content.innerHeight() - 6;
if(minH > 0 && minH >= inH) defaultH = minH;
else defaultH = inH;
$pucker.click(function(){
if($pucker.hasClass(op.exp)){
$content.jBlindDown({to:defaultH,call:function(){
$pucker.removeClass(op.exp).addClass(op.coll);
if(minH > 0) $content.css("minHeight",minH+"px");
}});
} else {
if(minH > 0) $content.css("minHeight","");
if(minH >= inH) $content.css("height", minH+"px");
$content.jBlindUp({call:function(){
$pucker.removeClass(op.coll).addClass(op.exp);
}});
}
return false;
});
});
}
});
})(jQuery);
|
JavaScript
|
function initEnv() {
$("body").append(DWZ.frag["dwzFrag"]);
if ( $.browser.msie && /6.0/.test(navigator.userAgent) ) {
try {
document.execCommand("BackgroundImageCache", false, true);
}catch(e){}
}
//清理浏览器内存,只对IE起效
if ($.browser.msie) {
window.setInterval("CollectGarbage();", 10000);
}
$(window).resize(function(){
initLayout();
$(this).trigger(DWZ.eventType.resizeGrid);
});
var ajaxbg = $("#background,#progressBar");
ajaxbg.hide();
$(document).ajaxStart(function(){
ajaxbg.show();
}).ajaxStop(function(){
ajaxbg.hide();
});
$("#leftside").jBar({minW:150, maxW:700});
if ($.taskBar) $.taskBar.init();
navTab.init();
if ($.fn.switchEnv) $("#switchEnvBox").switchEnv();
if ($.fn.navMenu) $("#navMenu").navMenu();
setTimeout(function(){
initLayout();
initUI();
// navTab styles
var jTabsPH = $("div.tabsPageHeader");
jTabsPH.find(".tabsLeft").hoverClass("tabsLeftHover");
jTabsPH.find(".tabsRight").hoverClass("tabsRightHover");
jTabsPH.find(".tabsMore").hoverClass("tabsMoreHover");
}, 10);
}
function initLayout(){
var iContentW = $(window).width() - (DWZ.ui.sbar ? $("#sidebar").width() + 10 : 34) - 5;
var iContentH = $(window).height() - $("#header").height() - 34;
$("#container").width(iContentW);
$("#container .tabsPageContent").height(iContentH - 34).find("[layoutH]").layoutH();
$("#sidebar, #sidebar_s .collapse, #splitBar, #splitBarProxy").height(iContentH - 5);
$("#taskbar").css({top: iContentH + $("#header").height() + 5, width:$(window).width()});
}
function initUI(_box){
var $p = $(_box || document);
$("div.panel", $p).jPanel();
//tables
$("table.table", $p).jTable();
// css tables
$('table.list', $p).cssTable();
//auto bind tabs
$("div.tabs", $p).each(function(){
var $this = $(this);
var options = {};
options.currentIndex = $this.attr("currentIndex") || 0;
options.eventType = $this.attr("eventType") || "click";
$this.tabs(options);
});
$("ul.tree", $p).jTree();
$('div.accordion', $p).each(function(){
var $this = $(this);
$this.accordion({fillSpace:$this.attr("fillSpace"),alwaysOpen:true,active:0});
});
$(":button.checkboxCtrl, :checkbox.checkboxCtrl", $p).checkboxCtrl($p);
if ($.fn.combox) $("select.combox",$p).combox();
if ($.fn.xheditor) {
$("textarea.editor", $p).each(function(){
var $this = $(this);
var op = {html5Upload:false, skin: 'vista',tools: $this.attr("tools") || 'full'};
var upAttrs = [
["upLinkUrl","upLinkExt","zip,rar,txt"],
["upImgUrl","upImgExt","jpg,jpeg,gif,png"],
["upFlashUrl","upFlashExt","swf"],
["upMediaUrl","upMediaExt","avi"]
];
$(upAttrs).each(function(i){
var urlAttr = upAttrs[i][0];
var extAttr = upAttrs[i][1];
if ($this.attr(urlAttr)) {
op[urlAttr] = $this.attr(urlAttr);
op[extAttr] = $this.attr(extAttr) || upAttrs[i][2];
}
});
$this.xheditor(op);
});
}
if ($.fn.uploadify) {
$(":file[uploaderOption]", $p).each(function(){
var $this = $(this);
var options = {
fileObjName: $this.attr("name") || "file",
auto: true,
multi: true,
onUploadError: uploadifyError
};
var uploaderOption = DWZ.jsonEval($this.attr("uploaderOption"));
$.extend(options, uploaderOption);
DWZ.debug("uploaderOption: "+DWZ.obj2str(uploaderOption));
$this.uploadify(options);
});
}
// init styles
$("input[type=text], input[type=password], textarea", $p).addClass("textInput").focusClass("focus");
$("input[readonly], textarea[readonly]", $p).addClass("readonly");
$("input[disabled=true], textarea[disabled=true]", $p).addClass("disabled");
$("input[type=text]", $p).not("div.tabs input[type=text]", $p).filter("[alt]").inputAlert();
//Grid ToolBar
$("div.panelBar li, div.panelBar", $p).hoverClass("hover");
//Button
$("div.button", $p).hoverClass("buttonHover");
$("div.buttonActive", $p).hoverClass("buttonActiveHover");
//tabsPageHeader
$("div.tabsHeader li, div.tabsPageHeader li, div.accordionHeader, div.accordion", $p).hoverClass("hover");
//validate form
$("form.required-validate", $p).each(function(){
var $form = $(this);
$form.validate({
onsubmit: false,
focusInvalid: false,
focusCleanup: true,
errorElement: "span",
ignore:".ignore",
invalidHandler: function(form, validator) {
var errors = validator.numberOfInvalids();
if (errors) {
var message = DWZ.msg("validateFormError",[errors]);
alertMsg.error(message);
}
}
});
$form.find('input[customvalid]').each(function(){
var $input = $(this);
$input.rules("add", {
customvalid: $input.attr("customvalid")
})
});
});
if ($.fn.datepicker){
$('input.date', $p).each(function(){
var $this = $(this);
var opts = {};
if ($this.attr("dateFmt")) opts.pattern = $this.attr("dateFmt");
if ($this.attr("minDate")) opts.minDate = $this.attr("minDate");
if ($this.attr("maxDate")) opts.maxDate = $this.attr("maxDate");
if ($this.attr("mmStep")) opts.mmStep = $this.attr("mmStep");
if ($this.attr("ssStep")) opts.ssStep = $this.attr("ssStep");
$this.datepicker(opts);
});
}
// navTab
$("a[target=navTab]", $p).each(function(){
$(this).click(function(event){
var $this = $(this);
var title = $this.attr("title") || $this.text();
var tabid = $this.attr("rel") || "_blank";
var fresh = eval($this.attr("fresh") || "true");
var external = eval($this.attr("external") || "false");
var url = unescape($this.attr("href")).replaceTmById($(event.target).parents(".unitBox:first"));
DWZ.debug(url);
if (!url.isFinishedTm()) {
alertMsg.error($this.attr("warn") || DWZ.msg("alertSelectMsg"));
return false;
}
navTab.openTab(tabid, url,{title:title, fresh:fresh, external:external});
event.preventDefault();
});
});
//dialogs
$("a[target=dialog]", $p).each(function(){
$(this).click(function(event){
var $this = $(this);
var title = $this.attr("title") || $this.text();
var rel = $this.attr("rel") || "_blank";
var options = {};
var w = $this.attr("width");
var h = $this.attr("height");
if (w) options.width = w;
if (h) options.height = h;
options.max = eval($this.attr("max") || "false");
options.mask = eval($this.attr("mask") || "false");
options.maxable = eval($this.attr("maxable") || "true");
options.minable = eval($this.attr("minable") || "true");
options.fresh = eval($this.attr("fresh") || "true");
options.resizable = eval($this.attr("resizable") || "true");
options.drawable = eval($this.attr("drawable") || "true");
options.close = eval($this.attr("close") || "");
options.param = $this.attr("param") || "";
var url = unescape($this.attr("href")).replaceTmById($(event.target).parents(".unitBox:first"));
DWZ.debug(url);
if (!url.isFinishedTm()) {
alertMsg.error($this.attr("warn") || DWZ.msg("alertSelectMsg"));
return false;
}
$.pdialog.open(url, rel, title, options);
return false;
});
});
$("a[target=ajax]", $p).each(function(){
$(this).click(function(event){
var $this = $(this);
var rel = $this.attr("rel");
if (rel) {
var $rel = $("#"+rel);
$rel.loadUrl($this.attr("href"), {}, function(){
$rel.find("[layoutH]").layoutH();
});
}
event.preventDefault();
});
});
$("div.pagination", $p).each(function(){
var $this = $(this);
$this.pagination({
targetType:$this.attr("targetType"),
rel:$this.attr("rel"),
totalCount:$this.attr("totalCount"),
numPerPage:$this.attr("numPerPage"),
pageNumShown:$this.attr("pageNumShown"),
currentPage:$this.attr("currentPage")
});
});
if ($.fn.sortDrag) $("div.sortDrag", $p).sortDrag();
// dwz.ajax.js
if ($.fn.ajaxTodo) $("a[target=ajaxTodo]", $p).ajaxTodo();
if ($.fn.dwzExport) $("a[target=dwzExport]", $p).dwzExport();
if ($.fn.lookup) $("a[lookupGroup]", $p).lookup();
if ($.fn.multLookup) $("[multLookup]:button", $p).multLookup();
if ($.fn.suggest) $("input[suggestFields]", $p).suggest();
if ($.fn.itemDetail) $("table.itemDetail", $p).itemDetail();
if ($.fn.selectedTodo) $("a[target=selectedTodo]", $p).selectedTodo();
if ($.fn.pagerForm) $("form[rel=pagerForm]", $p).pagerForm({parentBox:$p});
// 这里放其他第三方jQuery插件...
}
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*
*/
var navTab = {
componentBox: null, // tab component. contain tabBox, prevBut, nextBut, panelBox
_tabBox: null,
_prevBut: null,
_nextBut: null,
_panelBox: null,
_moreBut:null,
_moreBox:null,
_currentIndex: 0,
_op: {id:"navTab", stTabBox:".navTab-tab", stPanelBox:".navTab-panel", mainTabId:"main", close$:"a.close", prevClass:"tabsLeft", nextClass:"tabsRight", stMore:".tabsMore", stMoreLi:"ul.tabsMoreList"},
init: function(options){
if ($.History) $.History.init("#container");
var $this = this;
$.extend(this._op, options);
this.componentBox = $("#"+this._op.id);
this._tabBox = this.componentBox.find(this._op.stTabBox);
this._panelBox = this.componentBox.find(this._op.stPanelBox);
this._prevBut = this.componentBox.find("."+this._op.prevClass);
this._nextBut = this.componentBox.find("."+this._op.nextClass);
this._moreBut = this.componentBox.find(this._op.stMore);
this._moreBox = this.componentBox.find(this._op.stMoreLi);
this._prevBut.click(function(event) {$this._scrollPrev()});
this._nextBut.click(function(event) {$this._scrollNext()});
this._moreBut.click(function(){
$this._moreBox.show();
return false;
});
$(document).click(function(){$this._moreBox.hide()});
this._contextmenu(this._tabBox);
this._contextmenu(this._getTabs());
this._init();
this._ctrlScrollBut();
},
_init: function(){
var $this = this;
this._getTabs().each(function(iTabIndex){
$(this).unbind("click").click(function(event){
$this._switchTab(iTabIndex);
});
$(this).find(navTab._op.close$).unbind("click").click(function(){
$this._closeTab(iTabIndex);
});
});
this._getMoreLi().each(function(iTabIndex){
$(this).find(">a").unbind("click").click(function(event){
$this._switchTab(iTabIndex);
});
});
this._switchTab(this._currentIndex);
},
_contextmenu:function($obj){ // navTab右键菜单
var $this = this;
$obj.contextMenu('navTabCM', {
bindings:{
reload:function(t,m){
$this._reload(t, true);
},
closeCurrent:function(t,m){
var tabId = t.attr("tabid");
if (tabId) $this.closeTab(tabId);
else $this.closeCurrentTab();
},
closeOther:function(t,m){
var index = $this._indexTabId(t.attr("tabid"));
$this._closeOtherTab(index > 0 ? index : $this._currentIndex);
},
closeAll:function(t,m){
$this.closeAllTab();
}
},
ctrSub:function(t,m){
var mReload = m.find("[rel='reload']");
var mCur = m.find("[rel='closeCurrent']");
var mOther = m.find("[rel='closeOther']");
var mAll = m.find("[rel='closeAll']");
var $tabLi = $this._getTabs();
if ($tabLi.size() < 2) {
mCur.addClass("disabled");
mOther.addClass("disabled");
mAll.addClass("disabled");
}
if ($this._currentIndex == 0 || t.attr("tabid") == $this._op.mainTabId) {
mCur.addClass("disabled");
mReload.addClass("disabled");
} else if ($tabLi.size() == 2) {
mOther.addClass("disabled");
}
}
});
},
_getTabs: function(){
return this._tabBox.find("> li");
},
_getPanels: function(){
return this._panelBox.find("> div");
},
_getMoreLi: function(){
return this._moreBox.find("> li");
},
_getTab: function(tabid){
var index = this._indexTabId(tabid);
if (index >= 0) return this._getTabs().eq(index);
},
getPanel: function(tabid){
var index = this._indexTabId(tabid);
if (index >= 0) return this._getPanels().eq(index);
},
_getTabsW: function(iStart, iEnd){
return this._tabsW(this._getTabs().slice(iStart, iEnd));
},
_tabsW:function($tabs){
var iW = 0;
$tabs.each(function(){
iW += $(this).outerWidth(true);
});
return iW;
},
_indexTabId: function(tabid){
if (!tabid) return -1;
var iOpenIndex = -1;
this._getTabs().each(function(index){
if ($(this).attr("tabid") == tabid){iOpenIndex = index; return;}
});
return iOpenIndex;
},
_getLeft: function(){
return this._tabBox.position().left;
},
_getScrollBarW: function(){
return this.componentBox.width()-55;
},
_visibleStart: function(){
var iLeft = this._getLeft(), iW = 0;
var $tabs = this._getTabs();
for (var i=0; i<$tabs.size(); i++){
if (iW + iLeft >= 0) return i;
iW += $tabs.eq(i).outerWidth(true);
}
return 0;
},
_visibleEnd: function(){
var iLeft = this._getLeft(), iW = 0;
var $tabs = this._getTabs();
for (var i=0; i<$tabs.size(); i++){
iW += $tabs.eq(i).outerWidth(true);
if (iW + iLeft > this._getScrollBarW()) return i;
}
return $tabs.size();
},
_scrollPrev: function(){
var iStart = this._visibleStart();
if (iStart > 0){
this._scrollTab(-this._getTabsW(0, iStart-1));
}
},
_scrollNext: function(){
var iEnd = this._visibleEnd();
if (iEnd < this._getTabs().size()){
this._scrollTab(-this._getTabsW(0, iEnd+1) + this._getScrollBarW());
}
},
_scrollTab: function(iLeft, isNext){
var $this = this;
this._tabBox.animate({ left: iLeft+'px' }, 200, function(){$this._ctrlScrollBut();});
},
_scrollCurrent: function(){ // auto scroll current tab
var iW = this._tabsW(this._getTabs());
if (iW <= this._getScrollBarW()){
this._scrollTab(0);
} else if (this._getLeft() < this._getScrollBarW() - iW){
this._scrollTab(this._getScrollBarW()-iW);
} else if (this._currentIndex < this._visibleStart()) {
this._scrollTab(-this._getTabsW(0, this._currentIndex));
} else if (this._currentIndex >= this._visibleEnd()) {
this._scrollTab(this._getScrollBarW() - this._getTabs().eq(this._currentIndex).outerWidth(true) - this._getTabsW(0, this._currentIndex));
}
},
_ctrlScrollBut: function(){
var iW = this._tabsW(this._getTabs());
if (this._getScrollBarW() > iW){
this._prevBut.hide();
this._nextBut.hide();
this._tabBox.parent().removeClass("tabsPageHeaderMargin");
} else {
this._prevBut.show().removeClass("tabsLeftDisabled");
this._nextBut.show().removeClass("tabsRightDisabled");
this._tabBox.parent().addClass("tabsPageHeaderMargin");
if (this._getLeft() >= 0){
this._prevBut.addClass("tabsLeftDisabled");
} else if (this._getLeft() <= this._getScrollBarW() - iW) {
this._nextBut.addClass("tabsRightDisabled");
}
}
},
_switchTab: function(iTabIndex){
var $tab = this._getTabs().removeClass("selected").eq(iTabIndex).addClass("selected");
this._getPanels().hide().eq(iTabIndex).show();
this._getMoreLi().removeClass("selected").eq(iTabIndex).addClass("selected");
this._currentIndex = iTabIndex;
this._scrollCurrent();
this._reload($tab);
},
_closeTab: function(index, openTabid){
this._getTabs().eq(index).remove();
this._getPanels().eq(index).trigger(DWZ.eventType.pageClear).remove();
this._getMoreLi().eq(index).remove();
if (this._currentIndex >= index) this._currentIndex--;
if (openTabid) {
var openIndex = this._indexTabId(openTabid);
if (openIndex > 0) this._currentIndex = openIndex;
}
this._init();
this._scrollCurrent();
this._reload(this._getTabs().eq(this._currentIndex));
},
closeTab: function(tabid){
var index = this._indexTabId(tabid);
if (index > 0) { this._closeTab(index); }
},
closeCurrentTab: function(openTabid){ //openTabid 可以为空,默认关闭当前tab后,打开最后一个tab
if (this._currentIndex > 0) {this._closeTab(this._currentIndex, openTabid);}
},
closeAllTab: function(){
this._getTabs().filter(":gt(0)").remove();
this._getPanels().filter(":gt(0)").trigger(DWZ.eventType.pageClear).remove();
this._getMoreLi().filter(":gt(0)").remove();
this._currentIndex = 0;
this._init();
this._scrollCurrent();
},
_closeOtherTab: function(index){
index = index || this._currentIndex;
if (index > 0) {
var str$ = ":eq("+index+")";
this._getTabs().not(str$).filter(":gt(0)").remove();
this._getPanels().not(str$).filter(":gt(0)").trigger(DWZ.eventType.pageClear).remove();
this._getMoreLi().not(str$).filter(":gt(0)").remove();
this._currentIndex = 1;
this._init();
this._scrollCurrent();
} else {
this.closeAllTab();
}
},
_loadUrlCallback: function($panel){
$panel.find("[layoutH]").layoutH();
$panel.find(":button.close").click(function(){
navTab.closeCurrentTab();
});
},
_reload: function($tab, flag){
flag = flag || $tab.data("reloadFlag");
var url = $tab.attr("url");
if (flag && url) {
$tab.data("reloadFlag", null);
var $panel = this.getPanel($tab.attr("tabid"));
if ($tab.hasClass("external")){
navTab.openExternal(url, $panel);
}else {
//获取pagerForm参数
var $pagerForm = $("#pagerForm", $panel);
var args = $pagerForm.size()>0 ? $pagerForm.serializeArray() : {}
$panel.loadUrl(url, args, function(){navTab._loadUrlCallback($panel);});
}
}
},
reloadFlag: function(tabid){
var $tab = this._getTab(tabid);
if ($tab){
if (this._indexTabId(tabid) == this._currentIndex) this._reload($tab, true);
else $tab.data("reloadFlag", 1);
}
},
reload: function(url, options){
var op = $.extend({data:{}, navTabId:"", callback:null}, options);
var $tab = op.navTabId ? this._getTab(op.navTabId) : this._getTabs().eq(this._currentIndex);
var $panel = op.navTabId ? this.getPanel(op.navTabId) : this._getPanels().eq(this._currentIndex);
if ($panel){
if (!url) {
url = $tab.attr("url");
}
if (url) {
if ($tab.hasClass("external")) {
navTab.openExternal(url, $panel);
} else {
if ($.isEmptyObject(op.data)) { //获取pagerForm参数
var $pagerForm = $("#pagerForm", $panel);
op.data = $pagerForm.size()>0 ? $pagerForm.serializeArray() : {}
}
$panel.ajaxUrl({
type:"POST", url:url, data:op.data, callback:function(response){
navTab._loadUrlCallback($panel);
if ($.isFunction(op.callback)) op.callback(response);
}
});
}
}
}
},
getCurrentPanel: function() {
return this._getPanels().eq(this._currentIndex);
},
checkTimeout:function(){
var json = DWZ.jsonEval(this.getCurrentPanel().html());
if (json && json.statusCode == DWZ.statusCode.timeout) this.closeCurrentTab();
},
openExternal:function(url, $panel){
var ih = navTab._panelBox.height();
$panel.html(DWZ.frag["externalFrag"].replaceAll("{url}", url).replaceAll("{height}", ih+"px"));
},
/**
*
* @param {Object} tabid
* @param {Object} url
* @param {Object} params: title, data, fresh
*/
openTab: function(tabid, url, options){ //if found tabid replace tab, else create a new tab.
var op = $.extend({title:"New Tab", data:{}, fresh:true, external:false}, options);
var iOpenIndex = this._indexTabId(tabid);
if (iOpenIndex >= 0){
var $tab = this._getTabs().eq(iOpenIndex);
var span$ = $tab.attr("tabid") == this._op.mainTabId ? "> span > span" : "> span";
$tab.find(">a").attr("title", op.title).find(span$).text(op.title);
var $panel = this._getPanels().eq(iOpenIndex);
if(op.fresh || $tab.attr("url") != url) {
$tab.attr("url", url);
if (op.external || url.isExternalUrl()) {
$tab.addClass("external");
navTab.openExternal(url, $panel);
} else {
$tab.removeClass("external");
$panel.ajaxUrl({
type:"GET", url:url, data:op.data, callback:function(){
navTab._loadUrlCallback($panel);
}
});
}
}
this._currentIndex = iOpenIndex;
} else {
var tabFrag = '<li tabid="#tabid#"><a href="javascript:" title="#title#" class="#tabid#"><span>#title#</span></a><a href="javascript:;" class="close">close</a></li>';
this._tabBox.append(tabFrag.replaceAll("#tabid#", tabid).replaceAll("#title#", op.title));
this._panelBox.append('<div class="page unitBox"></div>');
this._moreBox.append('<li><a href="javascript:" title="#title#">#title#</a></li>'.replaceAll("#title#", op.title));
var $tabs = this._getTabs();
var $tab = $tabs.filter(":last");
var $panel = this._getPanels().filter(":last");
if (op.external || url.isExternalUrl()) {
$tab.addClass("external");
navTab.openExternal(url, $panel);
} else {
$tab.removeClass("external");
$panel.ajaxUrl({
type:"GET", url:url, data:op.data, callback:function(){
navTab._loadUrlCallback($panel);
}
});
}
if ($.History) {
setTimeout(function(){
$.History.addHistory(tabid, function(tabid){
var i = navTab._indexTabId(tabid);
if (i >= 0) navTab._switchTab(i);
}, tabid);
}, 10);
}
this._currentIndex = $tabs.size() - 1;
this._contextmenu($tabs.filter(":last").hoverClass("hover"));
}
this._init();
this._scrollCurrent();
this._getTabs().eq(this._currentIndex).attr("url", url);
}
};
|
JavaScript
|
/**
* @author Roger Wu
*/
/*@cc_on _d=document;eval('var document=_d')@*/
/*@cc_on eval((function(props) {var code = [];for (var i = 0,l = props.length;i<l;i++){var prop = props[i];window['_'+prop]=window[prop];code.push(prop+'=_'+prop);}return 'var '+code.join(',');})('document self top parent alert setInterval clearInterval setTimeout clearTimeout'.split(' ')))@*/
|
JavaScript
|
/**
* @requires jquery.validate.js
* @author ZhangHuihua@msn.com
*/
(function($){
if ($.validator) {
$.validator.addMethod("alphanumeric", function(value, element) {
return this.optional(element) || /^\w+$/i.test(value);
}, "Letters, numbers or underscores only please");
$.validator.addMethod("lettersonly", function(value, element) {
return this.optional(element) || /^[a-z]+$/i.test(value);
}, "Letters only please");
$.validator.addMethod("phone", function(value, element) {
return this.optional(element) || /^[0-9 \(\)]{7,30}$/.test(value);
}, "Please specify a valid phone number");
$.validator.addMethod("postcode", function(value, element) {
return this.optional(element) || /^[0-9 A-Za-z]{5,20}$/.test(value);
}, "Please specify a valid postcode");
$.validator.addMethod("date", function(value, element) {
value = value.replace(/\s+/g, "");
if (String.prototype.parseDate){
var $input = $(element);
var pattern = $input.attr('dateFmt') || 'yyyy-MM-dd';
return !$input.val() || $input.val().parseDate(pattern);
} else {
return this.optional(element) || value.match(/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/);
}
}, "Please enter a valid date.");
/*自定义js函数验证
* <input type="text" name="xxx" customvalid="xxxFn(element)" title="xxx" />
*/
$.validator.addMethod("customvalid", function(value, element, params) {
try{
return eval('(' + params + ')');
}catch(e){
return false;
}
}, "Please fix this field.");
$.validator.addClassRules({
date: {date: true},
alphanumeric: { alphanumeric: true },
lettersonly: { lettersonly: true },
phone: { phone: true },
postcode: {postcode: true}
});
$.validator.setDefaults({errorElement:"span"});
$.validator.autoCreateRanges = true;
}
})(jQuery);
|
JavaScript
|
/**
* @desc 兼容不同的浏览器居中scrollCenter
* @author ZhangHuihua@msn.com
*/
(function($){
$.fn.extend({
getWindowSize: function(){
if ($.browser.opera) { return { width: window.innerWidth, height: window.innerHeight }; }
return { width: $(window).width(), height: $(window).height() };
},
/**
* @param options
*/
scrollCenter: function(options){
// 扩展参数
var op = $.extend({ z: 1000000, mode:"WH"}, options);
// 追加到 document.body 并设置其样式
var windowSize = this.getWindowSize();
return this.each(function(){
var $this = $(this).css({
'position': 'absolute',
'z-index': op.z
});
// 当前位置参数
var bodyScrollTop = $(document).scrollTop();
var bodyScrollLeft = $(document).scrollLeft();
var movedivTop = (windowSize.height - $this.height()) / 2 + bodyScrollTop;
var movedivLeft = (windowSize.width - $this.width()) / 2 + bodyScrollLeft;
if (op.mode == "W") {
$this.appendTo(document.body).css({
'left': movedivLeft + 'px'
});
} else if (op.model == "H"){
$this.appendTo(document.body).css({
'top': movedivTop + 'px'
});
} else {
$this.appendTo(document.body).css({
'top': (windowSize.height - $this.height()) / 2 + $(window).scrollTop() + 'px',
'left': movedivLeft + 'px'
});
}
// 滚动事件
$(window).scroll(function(e){
var windowSize = $this.getWindowSize();
var tmpBodyScrollTop = $(document).scrollTop();
var tmpBodyScrollLeft = $(document).scrollLeft();
movedivTop += tmpBodyScrollTop - bodyScrollTop;
movedivLeft += tmpBodyScrollLeft - bodyScrollLeft;
bodyScrollTop = tmpBodyScrollTop;
bodyScrollLeft = tmpBodyScrollLeft;
// 以动画方式进行移动
if (op.mode == "W") {
$this.stop().animate({
'left': movedivLeft + 'px'
});
} else if (op.mode == "H") {
$this.stop().animate({
'top': movedivTop + 'px'
});
} else {
$this.stop().animate({
'top': movedivTop + 'px',
'left': movedivLeft + 'px'
});
}
});
// 窗口大小重设事件
$(window).resize(function(){
var windowSize = $this.getWindowSize();
movedivTop = (windowSize.height - $this.height()) / 2 + $(document).scrollTop();
movedivLeft = (windowSize.width - $this.width()) / 2 + $(document).scrollLeft();
if (op.mode == "W") {
$this.stop().animate({
'left': movedivLeft + 'px'
});
} else if (op.mode == "H") {
$this.stop().animate({
'top': movedivTop + 'px'
});
} else {
$this.stop().animate({
'top': movedivTop + 'px',
'left': movedivLeft + 'px'
});
}
});
});
}
});
})(jQuery);
|
JavaScript
|
/**
* @author Roger Wu
* @version 1.0
*/
(function($){
$.fn.extend({
jTask:function(options){
return this.each(function(){
var $task = $(this);
var id = $task.attr("id");
$task.click(function(e){
var dialog = $("body").data(id);
if ($task.hasClass("selected")) {
$("a.minimize", dialog).trigger("click");
} else {
if (dialog.is(":hidden")) {
$.taskBar.restoreDialog(dialog);
} else
$(dialog).trigger("click");
}
$.taskBar.scrollCurrent($(this));
return false;
});
$("div.close", $task).click(function(e){
$.pdialog.close(id)
return false;
}).hoverClass("closeHover");
$task.hoverClass("hover");
});
}
});
$.taskBar = {
_taskBar:null,
_taskBox:null,
_prevBut:null,
_nextBut:null,
_op:{id:"taskbar", taskBox:"div.taskbarContent",prevBut:".taskbarLeft",prevDis:"taskbarLeftDisabled", nextBut:".taskbarRight",nextDis:"taskbarRightDisabled", selected:"selected",boxMargin:"taskbarMargin"},
init:function(options) {
var $this = this;
$.extend(this._op, options);
this._taskBar = $("#" + this._op.id);
if (this._taskBar.size() == 0) {
this._taskBar = $(DWZ.frag["taskbar"]).appendTo($("#layout"));
this._taskBar.find(".taskbarLeft").hoverClass("taskbarLeftHover");
this._taskBar.find(".taskbarRight").hoverClass("taskbarRightHover");
}
this._taskBox = this._taskBar.find(this._op.taskBox);
this._taskList = this._taskBox.find(">ul");
this._prevBut = this._taskBar.find(this._op.prevBut);
this._nextBut = this._taskBar.find(this._op.nextBut);
this._prevBut.click(function(e){$this.scrollLeft()});
this._nextBut.click(function(e){$this.scrollRight()});
this._contextmenu(this._taskBox); // taskBar右键菜单
},
_contextmenu:function(obj) {
$(obj).contextMenu('dialogCM', {
bindings:{
closeCurrent:function(t,m){
var obj = t.isTag("li")?t:$.taskBar._getCurrent();
$("div.close", obj).trigger("click");
},
closeOther:function(t,m){
var selector = t.isTag("li")?("#" +t.attr("id")):".selected";
var tasks = $.taskBar._taskList.find(">li:not(:"+selector+")");
tasks.each(function(i){
$("div.close",tasks[i]).trigger("click");
});
},
closeAll:function(t,m){
var tasks = $.taskBar._getTasks();
tasks.each(function(i){
$("div.close",tasks[i]).trigger("click");
});
}
},
ctrSub:function(t,m){
var mCur = m.find("[rel='closeCurrent']");
var mOther = m.find("[rel='closeOther']");
if(!$.taskBar._getCurrent()[0]) {
mCur.addClass("disabled");
mOther.addClass("disabled");
} else {
if($.taskBar._getTasks().size() == 1)
mOther.addClass("disabled");
}
}
});
},
_scrollCurrent:function(){
var iW = this._tasksW(this._getTasks());
if (iW > this._getTaskBarW()) {
var $this = this;
var lTask = $(">li:last-child", this._taskList);
var left = this._getTaskBarW() - lTask.position().left - lTask.outerWidth(true);
this._taskList.animate({
left: left + 'px'
}, 200, function(){
$this._ctrlScrollBut();
});
} else {
this._ctrlScrollBut();
}
},
_getTaskBarW:function(){
return this._taskBox.width()- (this._prevBut.is(":hidden")?this._prevBut.width()+2:0) - (this._nextBut.is(":hidden")?this._nextBut.width()+2:0);
},
_scrollTask:function(task){
var $this = this;
if(task.position().left + this._getLeft()+task.outerWidth() > this._getBarWidth()) {
var left = this._getTaskBarW()- task.position().left - task.outerWidth(true) - 2;
this._taskList.animate({left: left + 'px'}, 200, function(){
$this._ctrlScrollBut();
});
} else if(task.position().left + this._getLeft() < 0) {
var left = this._getLeft()-(task.position().left + this._getLeft());
this._taskList.animate({left: left + 'px'}, 200, function(){
$this._ctrlScrollBut();
});
}
},
/**
* 控制左右移动按钮何时显示与隐藏
*/
_ctrlScrollBut:function(){
var iW = this._tasksW(this._getTasks());
if (this._getTaskBarW() > iW) {
this._taskBox.removeClass(this._op.boxMargin);
this._nextBut.hide();
this._prevBut.hide();
if(this._getTasks().eq(0)[0])this._scrollTask(this._getTasks().eq(0));
} else {
this._taskBox.addClass(this._op.boxMargin);
this._nextBut.show().removeClass(this._op.nextDis);
this._prevBut.show().removeClass(this._op.prevDis);
if (this._getLeft() >= 0){
this._prevBut.addClass(this._op.prevDis);
}
if (this._getLeft() <= this._getTaskBarW() - iW) {
this._nextBut.addClass(this._op.nextDis);
}
}
},
_getLeft: function(){
return this._taskList.position().left;
},
/**
* 取得第一个完全显示在taskbar上的任务
*/
_visibleStart: function(){
var iLeft = this._getLeft();
var jTasks = this._getTasks();
for (var i=0; i<jTasks.size(); i++){
if (jTasks.eq(i).position().left + jTasks.eq(i).outerWidth(true) + iLeft >= 0) return jTasks.eq(i);
}
return jTasks.eq(0);
},
/**
* 取得最后一个完全显示在taskbar上的任务
*/
_visibleEnd: function(){
var iLeft = this._getLeft();
var jTasks = this._getTasks();
for (var i=0; i<jTasks.size(); i++){
if (jTasks.eq(i).position().left + jTasks.eq(i).outerWidth(true) + iLeft > this._getBarWidth()) return jTasks.eq(i);
}
return jTasks.eq(jTasks.size()-1);
},
/**
* 取得所有的任务
*/
_getTasks:function(){
return this._taskList.find(">li");
},
/**
* 计算所传入的所有任务的宽度和
* @param {Object} jTasks
*/
_tasksW:function(jTasks){
var iW = 0;
jTasks.each(function(){
iW += $(this).outerWidth(true);
});
return iW;
},
_getBarWidth: function() {
return this._taskBar.innerWidth();
},
/**
* 在任务栏上新加一个任务
* @param {Object} id
* @param {Object} title
*/
addDialog: function(id, title){
this.show();
var task = $("#"+id,this._taskList);
if (!task[0]) {
var taskFrag = '<li id="#taskid#"><div class="taskbutton"><span>#title#</span></div><div class="close">Close</div></li>';
this._taskList.append(taskFrag.replace("#taskid#", id).replace("#title#", title));
task = $("#"+id,this._taskList);
task.jTask();
} else {
$(">div>span", task).text(title);
}
this._contextmenu(task);
this.switchTask(id);
this._scrollTask(task);
},
/**
* 关闭一个任务
* @param {Object} id
*/
closeDialog: function(obj){
var task = (typeof obj == 'string')? $("#"+obj, this._taskList):obj;
task.remove();
if(this._getTasks().size() == 0){
this.hide();
}
this._scrollCurrent();
},
/**
*
* @param {Object} id or dialog
*/
restoreDialog:function(obj){
var dialog = (typeof obj == 'string')?$("body").data(obj):obj;
var id = (typeof obj == 'string')?obj:dialog.data("id");
var task = $.taskBar.getTask(id);
$(".resizable").css({top: $(window).height()-60,left:$(task).position().left,height:$(task).outerHeight(),width:$(task).outerWidth()
}).show().animate({top:$(dialog).css("top"),left: $(dialog).css("left"),width:$(dialog).css("width"),height:$(dialog).css("height")},250,function(){
$(this).hide();
$(dialog).show();
$.pdialog.attachShadow(dialog);
});
$.taskBar.switchTask(id);
},
/**
* 把任务变成不是当前的
* @param {Object} id
*/
inactive:function(id){
$("#" + id, this._taskList).removeClass("selected");
},
/**
* 向左移一个任务
*/
scrollLeft: function(){
var task = this._visibleStart();
this._scrollTask(task);
},
/**
* 向右移一个任务
*/
scrollRight: function(){
var task = this._visibleEnd();
this._scrollTask(task);
},
/**
* 移出当前点击的任务
* @param {Object} task
*/
scrollCurrent:function(task){
this._scrollTask(task);
},
/**
* 切换任务
* @param {Object} id
*/
switchTask:function(id) {
this._getCurrent().removeClass("selected");
this.getTask(id).addClass("selected");
},
_getCurrent:function() {
return this._taskList.find(">.selected");
},
getTask:function(id) {
return $("#" + id, this._taskList);
},
/**
* 显示任务栏
*/
show:function(){
if (this._taskBar.is(":hidden")) {
this._taskBar.css("top", $(window).height() - 34 + this._taskBar.outerHeight()).show();
this._taskBar.animate({
top: $(window).height() - this._taskBar.outerHeight()
}, 500);
}
},
/**
* 隐藏任务栏
*/
hide:function(){
this._taskBar.animate({
top: $(window).height() - 29 + this._taskBar.outerHeight(true)
}, 500,function(){
$.taskBar._taskBar.hide();
});
}
}
})(jQuery);
|
JavaScript
|
/**
*
* @author ZhangHuihua@msn.com
* @param {Object} opts Several options
*/
(function($){
$.fn.extend({
pagination: function(opts){
var setting = {
first$:"li.j-first", prev$:"li.j-prev", next$:"li.j-next", last$:"li.j-last", nums$:"li.j-num>a", jumpto$:"li.jumpto",
pageNumFrag:'<li class="#liClass#"><a href="javascript:;">#pageNum#</a></li>'
};
return this.each(function(){
var $this = $(this);
var pc = new Pagination(opts);
var interval = pc.getInterval();
var pageNumFrag = '';
for (var i=interval.start; i<interval.end;i++){
pageNumFrag += setting.pageNumFrag.replaceAll("#pageNum#", i).replaceAll("#liClass#", i==pc.getCurrentPage() ? 'selected j-num' : 'j-num');
}
$this.html(DWZ.frag["pagination"].replaceAll("#pageNumFrag#", pageNumFrag).replaceAll("#currentPage#", pc.getCurrentPage())).find("li").hoverClass();
var $first = $this.find(setting.first$);
var $prev = $this.find(setting.prev$);
var $next = $this.find(setting.next$);
var $last = $this.find(setting.last$);
if (pc.hasPrev()){
$first.add($prev).find(">span").hide();
_bindEvent($prev, pc.getCurrentPage()-1, pc.targetType(), pc.rel());
_bindEvent($first, 1, pc.targetType(), pc.rel());
} else {
$first.add($prev).addClass("disabled").find(">a").hide();
}
if (pc.hasNext()) {
$next.add($last).find(">span").hide();
_bindEvent($next, pc.getCurrentPage()+1, pc.targetType(), pc.rel());
_bindEvent($last, pc.numPages(), pc.targetType(), pc.rel());
} else {
$next.add($last).addClass("disabled").find(">a").hide();
}
$this.find(setting.nums$).each(function(i){
_bindEvent($(this), i+interval.start, pc.targetType(), pc.rel());
});
$this.find(setting.jumpto$).each(function(){
var $this = $(this);
var $inputBox = $this.find(":text");
var $button = $this.find(":button");
$button.click(function(event){
var pageNum = $inputBox.val();
if (pageNum && pageNum.isPositiveInteger()) {
dwzPageBreak({targetType:pc.targetType(), rel:pc.rel(), data: {pageNum:pageNum}});
}
});
$inputBox.keyup(function(event){
if (event.keyCode == DWZ.keyCode.ENTER) $button.click();
});
});
});
function _bindEvent($target, pageNum, targetType, rel){
$target.bind("click", {pageNum:pageNum}, function(event){
dwzPageBreak({targetType:targetType, rel:rel, data:{pageNum:event.data.pageNum}});
event.preventDefault();
});
}
},
orderBy: function(options){
var op = $.extend({ targetType:"navTab", rel:"", asc:"asc", desc:"desc"}, options);
return this.each(function(){
var $this = $(this).css({cursor:"pointer"}).click(function(){
var orderField = $this.attr("orderField");
var orderDirection = $this.hasClass(op.asc) ? op.desc : op.asc;
dwzPageBreak({targetType:op.targetType, rel:op.rel, data:{orderField: orderField, orderDirection: orderDirection}});
});
});
},
pagerForm: function(options){
var op = $.extend({pagerForm$:"#pagerForm", parentBox:document}, options);
var frag = '<input type="hidden" name="#name#" value="#value#" />';
return this.each(function(){
var $searchForm = $(this), $pagerForm = $(op.pagerForm$, op.parentBox);
var actionUrl = $pagerForm.attr("action").replaceAll("#rel#", $searchForm.attr("action"));
$pagerForm.attr("action", actionUrl);
$searchForm.find(":input").each(function(){
var $input = $(this), name = $input.attr("name");
if (name && (!$input.is(":checkbox,:radio") || $input.is(":checked"))){
if ($pagerForm.find(":input[name='"+name+"']").length == 0) {
var inputFrag = frag.replaceAll("#name#", name).replaceAll("#value#", $input.val());
$pagerForm.append(inputFrag);
}
}
});
});
}
});
var Pagination = function(opts) {
this.opts = $.extend({
targetType:"navTab", // navTab, dialog
rel:"", //用于局部刷新div id号
totalCount:0,
numPerPage:10,
pageNumShown:10,
currentPage:1,
callback:function(){return false;}
}, opts);
}
$.extend(Pagination.prototype, {
targetType:function(){return this.opts.targetType},
rel:function(){return this.opts.rel},
numPages:function() {
return Math.ceil(this.opts.totalCount/this.opts.numPerPage);
},
getInterval:function(){
var ne_half = Math.ceil(this.opts.pageNumShown/2);
var np = this.numPages();
var upper_limit = np - this.opts.pageNumShown;
var start = this.getCurrentPage() > ne_half ? Math.max( Math.min(this.getCurrentPage() - ne_half, upper_limit), 0 ) : 0;
var end = this.getCurrentPage() > ne_half ? Math.min(this.getCurrentPage()+ne_half, np) : Math.min(this.opts.pageNumShown, np);
return {start:start+1, end:end+1};
},
getCurrentPage:function(){
var currentPage = parseInt(this.opts.currentPage);
if (isNaN(currentPage)) return 1;
return currentPage;
},
hasPrev:function(){
return this.getCurrentPage() > 1;
},
hasNext:function(){
return this.getCurrentPage() < this.numPages();
}
});
})(jQuery);
|
JavaScript
|
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Version 2.1.3-pre
*/
(function($){
$.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) {
s = $.extend({
top : 'auto', // auto == .currentStyle.borderTopWidth
left : 'auto', // auto == .currentStyle.borderLeftWidth
width : 'auto', // auto == offsetWidth
height : 'auto', // auto == offsetHeight
opacity : true,
src : 'javascript:false;'
}, s);
var html = '<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+
'style="display:block;position:absolute;z-index:-1;'+
(s.opacity !== false?'filter:Alpha(Opacity=\'0\');':'')+
'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';'+
'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';'+
'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';'+
'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';'+
'"/>';
return this.each(function() {
if ( $(this).children('iframe.bgiframe').length === 0 )
this.insertBefore( document.createElement(html), this.firstChild );
});
} : function() { return this; });
// old alias
$.fn.bgIframe = $.fn.bgiframe;
function prop(n) {
return n && n.constructor === Number ? n + 'px' : n;
}
})(jQuery);
|
JavaScript
|
/**
* @author Roger Wu
*/
(function($){
$.fn.jDrag = function(options){
if (typeof options == 'string') {
if (options == 'destroy')
return this.each(function(){
$(this).unbind('mousedown', $.rwdrag.start);
$.data(this, 'pp-rwdrag', null);
});
}
return this.each(function(){
var el = $(this);
$.data($.rwdrag, 'pp-rwdrag', {
options: $.extend({
el: el,
obj: el
}, options)
});
if (options.event)
$.rwdrag.start(options.event);
else {
var select = options.selector;
$(select, obj).bind('mousedown', $.rwdrag.start);
}
});
};
$.rwdrag = {
start: function(e){
document.onselectstart=function(e){return false};//禁止选择
var data = $.data(this, 'pp-rwdrag');
var el = data.options.el[0];
$.data(el, 'pp-rwdrag', {
options: data.options
});
if (!$.rwdrag.current) {
$.rwdrag.current = {
el: el,
oleft: parseInt(el.style.left) || 0,
otop: parseInt(el.style.top) || 0,
ox: e.pageX || e.screenX,
oy: e.pageY || e.screenY
};
$(document).bind("mouseup", $.rwdrag.stop).bind("mousemove", $.rwdrag.drag);
}
},
drag: function(e){
if (!e) var e = window.event;
var current = $.rwdrag.current;
var data = $.data(current.el, 'pp-rwdrag');
var left = (current.oleft + (e.pageX || e.clientX) - current.ox);
var top = (current.otop + (e.pageY || e.clientY) - current.oy);
if (top < 1) top = 0;
if (data.options.move == 'horizontal') {
if ((data.options.minW && left >= $(data.options.obj).cssv("left") + data.options.minW) && (data.options.maxW && left <= $(data.options.obj).cssv("left") + data.options.maxW))
current.el.style.left = left + 'px';
else if (data.options.scop) {
if (data.options.relObj) {
if ((left - parseInt(data.options.relObj.style.left)) > data.options.cellMinW) {
current.el.style.left = left + 'px';
}
} else
current.el.style.left = left + 'px';
}
} else if (data.options.move == 'vertical') {
current.el.style.top = top + 'px';
} else {
var selector = data.options.selector ? $(data.options.selector, data.options.obj) : $(data.options.obj);
if (left >= -selector.outerWidth() * 2 / 3 && top >= 0 && (left + selector.outerWidth() / 3 < $(window).width()) && (top + selector.outerHeight() < $(window).height())) {
current.el.style.left = left + 'px';
current.el.style.top = top + 'px';
}
}
if (data.options.drag) {
data.options.drag.apply(current.el, [current.el]);
}
return $.rwdrag.preventEvent(e);
},
stop: function(e){
var current = $.rwdrag.current;
var data = $.data(current.el, 'pp-rwdrag');
$(document).unbind('mousemove', $.rwdrag.drag).unbind('mouseup', $.rwdrag.stop);
if (data.options.stop) {
data.options.stop.apply(current.el, [current.el]);
}
$.rwdrag.current = null;
document.onselectstart=function(e){return true};//启用选择
return $.rwdrag.preventEvent(e);
},
preventEvent:function(e){
if (e.stopPropagation) e.stopPropagation();
if (e.preventDefault) e.preventDefault();
return false;
}
};
})(jQuery);
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*/
$.setRegional("alertMsg", {
title:{error:"Error", info:"Information", warn:"Warning", correct:"Successful", confirm:"Confirmation"},
butMsg:{ok:"OK", yes:"Yes", no:"No", cancel:"Cancel"}
});
var alertMsg = {
_boxId: "#alertMsgBox",
_bgId: "#alertBackground",
_closeTimer: null,
_types: {error:"error", info:"info", warn:"warn", correct:"correct", confirm:"confirm"},
_getTitle: function(key){
return $.regional.alertMsg.title[key];
},
_keydownOk: function(event){
if (event.keyCode == DWZ.keyCode.ENTER) event.data.target.trigger("click");
return false;
},
_keydownEsc: function(event){
if (event.keyCode == DWZ.keyCode.ESC) event.data.target.trigger("click");
},
/**
*
* @param {Object} type
* @param {Object} msg
* @param {Object} buttons [button1, button2]
*/
_open: function(type, msg, buttons){
$(this._boxId).remove();
var butsHtml = "";
if (buttons) {
for (var i = 0; i < buttons.length; i++) {
var sRel = buttons[i].call ? "callback" : "";
butsHtml += DWZ.frag["alertButFrag"].replace("#butMsg#", buttons[i].name).replace("#callback#", sRel);
}
}
var boxHtml = DWZ.frag["alertBoxFrag"].replace("#type#", type).replace("#title#", this._getTitle(type)).replace("#message#", msg).replace("#butFragment#", butsHtml);
$(boxHtml).appendTo("body").css({top:-$(this._boxId).height()+"px"}).animate({top:"0px"}, 500);
if (this._closeTimer) {
clearTimeout(this._closeTimer);
this._closeTimer = null;
}
if (this._types.info == type || this._types.correct == type){
this._closeTimer = setTimeout(function(){alertMsg.close()}, 3500);
} else {
$(this._bgId).show();
}
var jButs = $(this._boxId).find("a.button");
var jCallButs = jButs.filter("[rel=callback]");
var jDoc = $(document);
for (var i = 0; i < buttons.length; i++) {
if (buttons[i].call) jCallButs.eq(i).click(buttons[i].call);
if (buttons[i].keyCode == DWZ.keyCode.ENTER) {
jDoc.bind("keydown",{target:jButs.eq(i)}, this._keydownOk);
}
if (buttons[i].keyCode == DWZ.keyCode.ESC) {
jDoc.bind("keydown",{target:jButs.eq(i)}, this._keydownEsc);
}
}
},
close: function(){
$(document).unbind("keydown", this._keydownOk).unbind("keydown", this._keydownEsc);
$(this._boxId).animate({top:-$(this._boxId).height()}, 500, function(){
$(this).remove();
});
$(this._bgId).hide();
},
error: function(msg, options) {
this._alert(this._types.error, msg, options);
},
info: function(msg, options) {
this._alert(this._types.info, msg, options);
},
warn: function(msg, options) {
this._alert(this._types.warn, msg, options);
},
correct: function(msg, options) {
this._alert(this._types.correct, msg, options);
},
_alert: function(type, msg, options) {
var op = {okName:$.regional.alertMsg.butMsg.ok, okCall:null};
$.extend(op, options);
var buttons = [
{name:op.okName, call: op.okCall, keyCode:DWZ.keyCode.ENTER}
];
this._open(type, msg, buttons);
},
/**
*
* @param {Object} msg
* @param {Object} options {okName, okCal, cancelName, cancelCall}
*/
confirm: function(msg, options) {
var op = {okName:$.regional.alertMsg.butMsg.ok, okCall:null, cancelName:$.regional.alertMsg.butMsg.cancel, cancelCall:null};
$.extend(op, options);
var buttons = [
{name:op.okName, call: op.okCall, keyCode:DWZ.keyCode.ENTER},
{name:op.cancelName, call: op.cancelCall, keyCode:DWZ.keyCode.ESC}
];
this._open(this._types.confirm, msg, buttons);
}
};
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*
*/
(function($){
$.printBox = function(rel){
var _printBoxId = 'printBox';
var $contentBox = rel ? $('#'+rel) : $("body"),
$printBox = $('#'+_printBoxId);
if ($printBox.size()==0){
$printBox = $('<div id="'+_printBoxId+'"></div>').appendTo("body");
}
$printBox.html($contentBox.html()).find("[layoutH]").height("auto");
window.print();
}
})(jQuery);
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*
*/
var DWZ = {
// sbar: show sidebar
keyCode: {
ENTER: 13, ESC: 27, END: 35, HOME: 36,
SHIFT: 16, TAB: 9,
LEFT: 37, RIGHT: 39, UP: 38, DOWN: 40,
DELETE: 46, BACKSPACE:8
},
eventType: {
pageClear:"pageClear", // 用于重新ajaxLoad、关闭nabTab, 关闭dialog时,去除xheditor等需要特殊处理的资源
resizeGrid:"resizeGrid" // 用于窗口或dialog大小调整
},
isOverAxis: function(x, reference, size) {
//Determines when x coordinate is over "b" element axis
return (x > reference) && (x < (reference + size));
},
isOver: function(y, x, top, left, height, width) {
//Determines when x, y coordinates is over "b" element
return this.isOverAxis(y, top, height) && this.isOverAxis(x, left, width);
},
pageInfo: {pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"},
statusCode: {ok:200, error:300, timeout:301},
ui:{sbar:true},
frag:{}, //page fragment
_msg:{}, //alert message
_set:{
loginUrl:"", //session timeout
loginTitle:"", //if loginTitle open a login dialog
debug:false
},
msg:function(key, args){
var _format = function(str,args) {
args = args || [];
var result = str || "";
for (var i = 0; i < args.length; i++){
result = result.replace(new RegExp("\\{" + i + "\\}", "g"), args[i]);
}
return result;
}
return _format(this._msg[key], args);
},
debug:function(msg){
if (this._set.debug) {
if (typeof(console) != "undefined") console.log(msg);
else alert(msg);
}
},
loadLogin:function(){
if ($.pdialog && DWZ._set.loginTitle) {
$.pdialog.open(DWZ._set.loginUrl, "login", DWZ._set.loginTitle, {mask:true,width:520,height:260});
} else {
window.location = DWZ._set.loginUrl;
}
},
/*
* json to string
*/
obj2str:function(o) {
var r = [];
if(typeof o =="string") return "\""+o.replace(/([\'\"\\])/g,"\\$1").replace(/(\n)/g,"\\n").replace(/(\r)/g,"\\r").replace(/(\t)/g,"\\t")+"\"";
if(typeof o == "object"){
if(!o.sort){
for(var i in o)
r.push(i+":"+DWZ.obj2str(o[i]));
if(!!document.all && !/^\n?function\s*toString\(\)\s*\{\n?\s*\[native code\]\n?\s*\}\n?\s*$/.test(o.toString)){
r.push("toString:"+o.toString.toString());
}
r="{"+r.join()+"}"
}else{
for(var i =0;i<o.length;i++) {
r.push(DWZ.obj2str(o[i]));
}
r="["+r.join()+"]"
}
return r;
}
return o.toString();
},
jsonEval:function(data) {
try{
if ($.type(data) == 'string')
return eval('(' + data + ')');
else return data;
} catch (e){
return {};
}
},
ajaxError:function(xhr, ajaxOptions, thrownError){
if (alertMsg) {
alertMsg.error("<div>Http status: " + xhr.status + " " + xhr.statusText + "</div>"
+ "<div>ajaxOptions: "+ajaxOptions + "</div>"
+ "<div>thrownError: "+thrownError + "</div>"
+ "<div>"+xhr.responseText+"</div>");
} else {
alert("Http status: " + xhr.status + " " + xhr.statusText + "\najaxOptions: " + ajaxOptions + "\nthrownError:"+thrownError + "\n" +xhr.responseText);
}
},
ajaxDone:function(json){
if(json.statusCode == DWZ.statusCode.error) {
if(json.message && alertMsg) alertMsg.error(json.message);
} else if (json.statusCode == DWZ.statusCode.timeout) {
if(alertMsg) alertMsg.error(json.message || DWZ.msg("sessionTimout"), {okCall:DWZ.loadLogin});
else DWZ.loadLogin();
} else {
if(json.message && alertMsg) alertMsg.correct(json.message);
};
},
init:function(pageFrag, options){
var op = $.extend({
loginUrl:"login.html", loginTitle:null, callback:null, debug:false,
statusCode:{}
}, options);
this._set.loginUrl = op.loginUrl;
this._set.loginTitle = op.loginTitle;
this._set.debug = op.debug;
$.extend(DWZ.statusCode, op.statusCode);
$.extend(DWZ.pageInfo, op.pageInfo);
jQuery.ajax({
type:'GET',
url:pageFrag,
dataType:'xml',
timeout: 50000,
cache: false,
error: function(xhr){
alert('Error loading XML document: ' + pageFrag + "\nHttp status: " + xhr.status + " " + xhr.statusText);
},
success: function(xml){
$(xml).find("_PAGE_").each(function(){
var pageId = $(this).attr("id");
if (pageId) DWZ.frag[pageId] = $(this).text();
});
$(xml).find("_MSG_").each(function(){
var id = $(this).attr("id");
if (id) DWZ._msg[id] = $(this).text();
});
if (jQuery.isFunction(op.callback)) op.callback();
}
});
var _doc = $(document);
if (!_doc.isBind(DWZ.eventType.pageClear)) {
_doc.bind(DWZ.eventType.pageClear, function(event){
var box = event.target;
if ($.fn.xheditor) {
$("textarea.editor", box).xheditor(false);
}
});
}
}
};
(function($){
// DWZ set regional
$.setRegional = function(key, value){
if (!$.regional) $.regional = {};
$.regional[key] = value;
};
$.fn.extend({
/**
* @param {Object} op: {type:GET/POST, url:ajax请求地址, data:ajax请求参数列表, callback:回调函数 }
*/
ajaxUrl: function(op){
var $this = $(this);
$this.trigger(DWZ.eventType.pageClear);
$.ajax({
type: op.type || 'GET',
url: op.url,
data: op.data,
cache: false,
success: function(response){
var json = DWZ.jsonEval(response);
if (json.statusCode==DWZ.statusCode.error){
if (json.message) alertMsg.error(json.message);
} else {
$this.html(response).initUI();
if ($.isFunction(op.callback)) op.callback(response);
}
if (json.statusCode==DWZ.statusCode.timeout){
if ($.pdialog) $.pdialog.checkTimeout();
if (navTab) navTab.checkTimeout();
alertMsg.error(json.message || DWZ.msg("sessionTimout"), {okCall:function(){
DWZ.loadLogin();
}});
}
},
error: DWZ.ajaxError,
statusCode: {
503: function(xhr, ajaxOptions, thrownError) {
alert(DWZ.msg("statusCode_503") || thrownError);
}
}
});
},
loadUrl: function(url,data,callback){
$(this).ajaxUrl({url:url, data:data, callback:callback});
},
initUI: function(){
return this.each(function(){
if($.isFunction(initUI)) initUI(this);
});
},
/**
* adjust component inner reference box height
* @param {Object} refBox: reference box jQuery Obj
*/
layoutH: function($refBox){
return this.each(function(){
var $this = $(this);
if (! $refBox) $refBox = $this.parents("div.layoutBox:first");
var iRefH = $refBox.height();
var iLayoutH = parseInt($this.attr("layoutH"));
var iH = iRefH - iLayoutH > 50 ? iRefH - iLayoutH : 50;
if ($this.isTag("table")) {
$this.removeAttr("layoutH").wrap('<div layoutH="'+iLayoutH+'" style="overflow:auto;height:'+iH+'px"></div>');
} else {
$this.height(iH).css("overflow","auto");
}
});
},
hoverClass: function(className, speed){
var _className = className || "hover";
return this.each(function(){
var $this = $(this), mouseOutTimer;
$this.hover(function(){
if (mouseOutTimer) clearTimeout(mouseOutTimer);
$this.addClass(_className);
},function(){
mouseOutTimer = setTimeout(function(){$this.removeClass(_className);}, speed||10);
});
});
},
focusClass: function(className){
var _className = className || "textInputFocus";
return this.each(function(){
$(this).focus(function(){
$(this).addClass(_className);
}).blur(function(){
$(this).removeClass(_className);
});
});
},
inputAlert: function(){
return this.each(function(){
var $this = $(this);
function getAltBox(){
return $this.parent().find("label.alt");
}
function altBoxCss(opacity){
var position = $this.position();
return {
width:$this.width(),
top:position.top+'px',
left:position.left +'px',
opacity:opacity || 1
};
}
if (getAltBox().size() < 1) {
if (!$this.attr("id")) $this.attr("id", $this.attr("name") + "_" +Math.round(Math.random()*10000));
var $label = $('<label class="alt" for="'+$this.attr("id")+'">'+$this.attr("alt")+'</label>').appendTo($this.parent());
$label.css(altBoxCss(1));
if ($this.val()) $label.hide();
}
$this.focus(function(){
getAltBox().css(altBoxCss(0.3));
}).blur(function(){
if (!$(this).val()) getAltBox().show().css("opacity",1);
}).keydown(function(){
getAltBox().hide();
});
});
},
isTag:function(tn) {
if(!tn) return false;
return $(this)[0].tagName.toLowerCase() == tn?true:false;
},
/**
* 判断当前元素是否已经绑定某个事件
* @param {Object} type
*/
isBind:function(type) {
var _events = $(this).data("events");
return _events && type && _events[type];
},
/**
* 输出firebug日志
* @param {Object} msg
*/
log:function(msg){
return this.each(function(){
if (console) console.log("%s: %o", msg, this);
});
}
});
/**
* 扩展String方法
*/
$.extend(String.prototype, {
isPositiveInteger:function(){
return (new RegExp(/^[1-9]\d*$/).test(this));
},
isInteger:function(){
return (new RegExp(/^\d+$/).test(this));
},
isNumber: function(value, element) {
return (new RegExp(/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/).test(this));
},
trim:function(){
return this.replace(/(^\s*)|(\s*$)|\r|\n/g, "");
},
startsWith:function (pattern){
return this.indexOf(pattern) === 0;
},
endsWith:function(pattern) {
var d = this.length - pattern.length;
return d >= 0 && this.lastIndexOf(pattern) === d;
},
replaceSuffix:function(index){
return this.replace(/\[[0-9]+\]/,'['+index+']').replace('#index#',index);
},
trans:function(){
return this.replace(/</g, '<').replace(/>/g,'>').replace(/"/g, '"');
},
encodeTXT: function(){
return (this).replaceAll('&', '&').replaceAll("<","<").replaceAll(">", ">").replaceAll(" ", " ");
},
replaceAll:function(os, ns){
return this.replace(new RegExp(os,"gm"),ns);
},
replaceTm:function($data){
if (!$data) return this;
return this.replace(RegExp("({[A-Za-z_]+[A-Za-z0-9_]*})","g"), function($1){
return $data[$1.replace(/[{}]+/g, "")];
});
},
replaceTmById:function(_box){
var $parent = _box || $(document);
return this.replace(RegExp("({[A-Za-z_]+[A-Za-z0-9_]*})","g"), function($1){
var $input = $parent.find("#"+$1.replace(/[{}]+/g, ""));
return $input.val() ? $input.val() : $1;
});
},
isFinishedTm:function(){
return !(new RegExp("{[A-Za-z_]+[A-Za-z0-9_]*}").test(this));
},
skipChar:function(ch) {
if (!this || this.length===0) {return '';}
if (this.charAt(0)===ch) {return this.substring(1).skipChar(ch);}
return this;
},
isValidPwd:function() {
return (new RegExp(/^([_]|[a-zA-Z0-9]){6,32}$/).test(this));
},
isValidMail:function(){
return(new RegExp(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/).test(this.trim()));
},
isSpaces:function() {
for(var i=0; i<this.length; i+=1) {
var ch = this.charAt(i);
if (ch!=' '&& ch!="\n" && ch!="\t" && ch!="\r") {return false;}
}
return true;
},
isPhone:function() {
return (new RegExp(/(^([0-9]{3,4}[-])?\d{3,8}(-\d{1,6})?$)|(^\([0-9]{3,4}\)\d{3,8}(\(\d{1,6}\))?$)|(^\d{3,8}$)/).test(this));
},
isUrl:function(){
return (new RegExp(/^[a-zA-z]+:\/\/([a-zA-Z0-9\-\.]+)([-\w .\/?%&=:]*)$/).test(this));
},
isExternalUrl:function(){
return this.isUrl() && this.indexOf("://"+document.domain) == -1;
}
});
})(jQuery);
/**
* You can use this map like this:
* var myMap = new Map();
* myMap.put("key","value");
* var key = myMap.get("key");
* myMap.remove("key");
*/
function Map(){
this.elements = new Array();
this.size = function(){
return this.elements.length;
}
this.isEmpty = function(){
return (this.elements.length < 1);
}
this.clear = function(){
this.elements = new Array();
}
this.put = function(_key, _value){
this.remove(_key);
this.elements.push({key: _key, value: _value});
}
this.remove = function(_key){
try {
for (i = 0; i < this.elements.length; i++) {
if (this.elements[i].key == _key) {
this.elements.splice(i, 1);
return true;
}
}
} catch (e) {
return false;
}
return false;
}
this.get = function(_key){
try {
for (i = 0; i < this.elements.length; i++) {
if (this.elements[i].key == _key) { return this.elements[i].value; }
}
} catch (e) {
return null;
}
}
this.element = function(_index){
if (_index < 0 || _index >= this.elements.length) { return null; }
return this.elements[_index];
}
this.containsKey = function(_key){
try {
for (i = 0; i < this.elements.length; i++) {
if (this.elements[i].key == _key) {
return true;
}
}
} catch (e) {
return false;
}
return false;
}
this.values = function(){
var arr = new Array();
for (i = 0; i < this.elements.length; i++) {
arr.push(this.elements[i].value);
}
return arr;
}
this.keys = function(){
var arr = new Array();
for (i = 0; i < this.elements.length; i++) {
arr.push(this.elements[i].key);
}
return arr;
}
}
|
JavaScript
|
/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
* Copyright © 2008 George McGinley Smith
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
// t: current time, b: begInnIng value, c: change In value, d: duration
jQuery.easing['jswing'] = jQuery.easing['swing'];
jQuery.extend( jQuery.easing,
{
def: 'easeOutQuad',
swing: function (x, t, b, c, d) {
//alert(jQuery.easing.default);
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
},
easeInQuad: function (x, t, b, c, d) {
return c*(t/=d)*t + b;
},
easeOutQuad: function (x, t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
},
easeInOutQuad: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b;
},
easeInCubic: function (x, t, b, c, d) {
return c*(t/=d)*t*t + b;
},
easeOutCubic: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t + 1) + b;
},
easeInOutCubic: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t + b;
return c/2*((t-=2)*t*t + 2) + b;
},
easeInQuart: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t + b;
},
easeOutQuart: function (x, t, b, c, d) {
return -c * ((t=t/d-1)*t*t*t - 1) + b;
},
easeInOutQuart: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
return -c/2 * ((t-=2)*t*t*t - 2) + b;
},
easeInQuint: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t*t + b;
},
easeOutQuint: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t*t*t + 1) + b;
},
easeInOutQuint: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
},
easeInSine: function (x, t, b, c, d) {
return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
},
easeOutSine: function (x, t, b, c, d) {
return c * Math.sin(t/d * (Math.PI/2)) + b;
},
easeInOutSine: function (x, t, b, c, d) {
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
},
easeInExpo: function (x, t, b, c, d) {
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
},
easeOutExpo: function (x, t, b, c, d) {
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
},
easeInOutExpo: function (x, t, b, c, d) {
if (t==0) return b;
if (t==d) return b+c;
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
},
easeInCirc: function (x, t, b, c, d) {
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
},
easeOutCirc: function (x, t, b, c, d) {
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
},
easeInOutCirc: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
},
easeInElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
},
easeOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
},
easeInOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
},
easeInBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*(t/=d)*t*((s+1)*t - s) + b;
},
easeOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
},
easeInOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
},
easeInBounce: function (x, t, b, c, d) {
return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
},
easeOutBounce: function (x, t, b, c, d) {
if ((t/=d) < (1/2.75)) {
return c*(7.5625*t*t) + b;
} else if (t < (2/2.75)) {
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
} else if (t < (2.5/2.75)) {
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
} else {
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
}
},
easeInOutBounce: function (x, t, b, c, d) {
if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
}
});
/*
*
* TERMS OF USE - EASING EQUATIONS
*
* Open source under the BSD License.
*
* Copyright © 2001 Robert Penner
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*/
(function($){
var _lookup = {currentGroup:"", suffix:"", $target:null, pk:"id"};
var _util = {
_lookupPrefix: function(key){
var strDot = _lookup.currentGroup ? "." : "";
return _lookup.currentGroup + strDot + key + _lookup.suffix;
},
lookupPk: function(key){
return this._lookupPrefix(key);
},
lookupField: function(key){
return this.lookupPk(key);
}
};
$.extend({
bringBackSuggest: function(args){
var $box = _lookup['$target'].parents(".unitBox:first");
$box.find(":input").each(function(){
var $input = $(this), inputName = $input.attr("name");
for (var key in args) {
var name = (_lookup.pk == key) ? _util.lookupPk(key) : _util.lookupField(key);
if (name == inputName) {
$input.val(args[key]);
break;
}
}
});
},
bringBack: function(args){
$.bringBackSuggest(args);
$.pdialog.closeCurrent();
}
});
$.fn.extend({
lookup: function(){
return this.each(function(){
var $this = $(this), options = {mask:true,
width:$this.attr('width')||820, height:$this.attr('height')||400,
maxable:eval($this.attr("maxable") || "true"),
resizable:eval($this.attr("resizable") || "true")
};
$this.click(function(event){
_lookup = $.extend(_lookup, {
currentGroup: $this.attr("lookupGroup") || "",
suffix: $this.attr("suffix") || "",
$target: $this,
pk: $this.attr("lookupPk") || "id"
});
var url = unescape($this.attr("href")).replaceTmById($(event.target).parents(".unitBox:first"));
if (!url.isFinishedTm()) {
alertMsg.error($this.attr("warn") || DWZ.msg("alertSelectMsg"));
return false;
}
$.pdialog.open(url, "_blank", $this.attr("title") || $this.text(), options);
return false;
});
});
},
multLookup: function(){
return this.each(function(){
var $this = $(this), args={};
$this.click(function(event){
var $unitBox = $this.parents(".unitBox:first");
$unitBox.find("[name='"+$this.attr("multLookup")+"']").filter(":checked").each(function(){
var _args = DWZ.jsonEval($(this).val());
for (var key in _args) {
var value = args[key] ? args[key]+"," : "";
args[key] = value + _args[key];
}
});
if ($.isEmptyObject(args)) {
alertMsg.error($this.attr("warn") || DWZ.msg("alertSelectMsg"));
return false;
}
$.bringBack(args);
});
});
},
suggest: function(){
var op = {suggest$:"#suggest", suggestShadow$: "#suggestShadow"};
var selectedIndex = -1;
return this.each(function(){
var $input = $(this).attr('autocomplete', 'off').keydown(function(event){
if (event.keyCode == DWZ.keyCode.ENTER && $(op.suggest$).is(':visible')) return false; //屏蔽回车提交
});
var suggestFields=$input.attr('suggestFields').split(",");
function _show(event){
var offset = $input.offset();
var iTop = offset.top+this.offsetHeight;
var $suggest = $(op.suggest$);
if ($suggest.size() == 0) $suggest = $('<div id="suggest"></div>').appendTo($('body'));
$suggest.css({
left:offset.left+'px',
top:iTop+'px'
}).show();
_lookup = $.extend(_lookup, {
currentGroup: $input.attr("lookupGroup") || "",
suffix: $input.attr("suffix") || "",
$target: $input,
pk: $input.attr("lookupPk") || "id"
});
var url = unescape($input.attr("suggestUrl")).replaceTmById($(event.target).parents(".unitBox:first"));
if (!url.isFinishedTm()) {
alertMsg.error($input.attr("warn") || DWZ.msg("alertSelectMsg"));
return false;
}
var postData = {};
postData[$input.attr("postField")||"inputValue"] = $input.val();
$.ajax({
global:false,
type:'POST', dataType:"json", url:url, cache: false,
data: postData,
success: function(response){
if (!response) return;
var html = '';
$.each(response, function(i){
var liAttr = '', liLabel = '';
for (var i=0; i<suggestFields.length; i++){
var str = this[suggestFields[i]];
if (str) {
if (liLabel) liLabel += '-';
liLabel += str;
}
}
for (var key in this) {
if (liAttr) liAttr += ',';
liAttr += key+":'"+this[key]+"'";
}
html += '<li lookupAttrs="'+liAttr+'">' + liLabel + '</li>';
});
var $lis = $suggest.html('<ul>'+html+'</ul>').find("li");
$lis.hoverClass("selected").click(function(){
_select($(this));
});
if ($lis.size() == 1 && event.keyCode != DWZ.keyCode.BACKSPACE) {
_select($lis.eq(0));
} else if ($lis.size() == 0){
var jsonStr = "";
for (var i=0; i<suggestFields.length; i++){
if (_util.lookupField(suggestFields[i]) == event.target.name) {
break;
}
if (jsonStr) jsonStr += ',';
jsonStr += suggestFields[i]+":''";
}
jsonStr = "{"+_lookup.pk+":''," + jsonStr +"}";
$.bringBackSuggest(DWZ.jsonEval(jsonStr));
}
},
error: function(){
$suggest.html('');
}
});
$(document).bind("click", _close);
return false;
}
function _select($item){
var jsonStr = "{"+ $item.attr('lookupAttrs') +"}";
$.bringBackSuggest(DWZ.jsonEval(jsonStr));
}
function _close(){
$(op.suggest$).html('').hide();
selectedIndex = -1;
$(document).unbind("click", _close);
}
$input.focus(_show).click(false).keyup(function(event){
var $items = $(op.suggest$).find("li");
switch(event.keyCode){
case DWZ.keyCode.ESC:
case DWZ.keyCode.TAB:
case DWZ.keyCode.SHIFT:
case DWZ.keyCode.HOME:
case DWZ.keyCode.END:
case DWZ.keyCode.LEFT:
case DWZ.keyCode.RIGHT:
break;
case DWZ.keyCode.ENTER:
_close();
break;
case DWZ.keyCode.DOWN:
if (selectedIndex >= $items.size()-1) selectedIndex = -1;
else selectedIndex++;
break;
case DWZ.keyCode.UP:
if (selectedIndex < 0) selectedIndex = $items.size()-1;
else selectedIndex--;
break;
default:
_show(event);
}
$items.removeClass("selected");
if (selectedIndex>=0) {
var $item = $items.eq(selectedIndex).addClass("selected");
_select($item);
}
});
});
},
itemDetail: function(){
return this.each(function(){
var $table = $(this).css("clear","both"), $tbody = $table.find("tbody");
var fields=[];
$table.find("tr:first th[type]").each(function(i){
var $th = $(this);
var field = {
type: $th.attr("type") || "text",
patternDate: $th.attr("dateFmt") || "yyyy-MM-dd",
name: $th.attr("name") || "",
defaultVal: $th.attr("defaultVal") || "",
size: $th.attr("size") || "12",
enumUrl: $th.attr("enumUrl") || "",
lookupGroup: $th.attr("lookupGroup") || "",
lookupUrl: $th.attr("lookupUrl") || "",
lookupPk: $th.attr("lookupPk") || "id",
suggestUrl: $th.attr("suggestUrl"),
suggestFields: $th.attr("suggestFields"),
postField: $th.attr("postField") || "",
fieldClass: $th.attr("fieldClass") || "",
fieldAttrs: $th.attr("fieldAttrs") || ""
};
fields.push(field);
});
$tbody.find("a.btnDel").click(function(){
var $btnDel = $(this);
if ($btnDel.is("[href^=javascript:]")){
$btnDel.parents("tr:first").remove();
initSuffix($tbody);
return false;
}
function delDbData(){
$.ajax({
type:'POST', dataType:"json", url:$btnDel.attr('href'), cache: false,
success: function(){
$btnDel.parents("tr:first").remove();
initSuffix($tbody);
},
error: DWZ.ajaxError
});
}
if ($btnDel.attr("title")){
alertMsg.confirm($btnDel.attr("title"), {okCall: delDbData});
} else {
delDbData();
}
return false;
});
var addButTxt = $table.attr('addButton') || "Add New";
if (addButTxt) {
var $addBut = $('<div class="button"><div class="buttonContent"><button type="button">'+addButTxt+'</button></div></div>').insertBefore($table).find("button");
var $rowNum = $('<input type="text" name="dwz_rowNum" class="textInput" style="margin:2px;" value="1" size="2"/>').insertBefore($table);
var trTm = "";
$addBut.click(function(){
if (! trTm) trTm = trHtml(fields);
var rowNum = 1;
try{rowNum = parseInt($rowNum.val())} catch(e){}
for (var i=0; i<rowNum; i++){
var $tr = $(trTm);
$tr.appendTo($tbody).initUI().find("a.btnDel").click(function(){
$(this).parents("tr:first").remove();
initSuffix($tbody);
return false;
});
}
initSuffix($tbody);
});
}
});
/**
* 删除时重新初始化下标
*/
function initSuffix($tbody) {
$tbody.find('>tr').each(function(i){
$(':input, a.btnLook, a.btnAttach', this).each(function(){
var $this = $(this), name = $this.attr('name'), val = $this.val();
if (name) $this.attr('name', name.replaceSuffix(i));
var lookupGroup = $this.attr('lookupGroup');
if (lookupGroup) {$this.attr('lookupGroup', lookupGroup.replaceSuffix(i));}
var suffix = $this.attr("suffix");
if (suffix) {$this.attr('suffix', suffix.replaceSuffix(i));}
if (val && val.indexOf("#index#") >= 0) $this.val(val.replace('#index#',i+1));
});
});
}
function tdHtml(field){
var html = '', suffix = '';
if (field.name.endsWith("[#index#]")) suffix = "[#index#]";
else if (field.name.endsWith("[]")) suffix = "[]";
var suffixFrag = suffix ? ' suffix="' + suffix + '" ' : '';
var attrFrag = '';
if (field.fieldAttrs){
var attrs = DWZ.jsonEval(field.fieldAttrs);
for (var key in attrs) {
attrFrag += key+'="'+attrs[key]+'"';
}
}
switch(field.type){
case 'del':
html = '<a href="javascript:void(0)" class="btnDel '+ field.fieldClass + '">删除</a>';
break;
case 'lookup':
var suggestFrag = '';
if (field.suggestFields) {
suggestFrag = 'autocomplete="off" lookupGroup="'+field.lookupGroup+'"'+suffixFrag+' suggestUrl="'+field.suggestUrl+'" suggestFields="'+field.suggestFields+'"' + ' postField="'+field.postField+'"';
}
html = '<input type="hidden" name="'+field.lookupGroup+'.'+field.lookupPk+suffix+'"/>'
+ '<input type="text" name="'+field.name+'"'+suggestFrag+' lookupPk="'+field.lookupPk+'" size="'+field.size+'" class="'+field.fieldClass+'"/>'
+ '<a class="btnLook" href="'+field.lookupUrl+'" lookupGroup="'+field.lookupGroup+'" '+suggestFrag+' lookupPk="'+field.lookupPk+'" title="查找带回">查找带回</a>';
break;
case 'attach':
html = '<input type="hidden" name="'+field.lookupGroup+'.'+field.lookupPk+suffix+'"/>'
+ '<input type="text" name="'+field.name+'" size="'+field.size+'" readonly="readonly" class="'+field.fieldClass+'"/>'
+ '<a class="btnAttach" href="'+field.lookupUrl+'" lookupGroup="'+field.lookupGroup+'" '+suggestFrag+' lookupPk="'+field.lookupPk+'" width="560" height="300" title="查找带回">查找带回</a>';
break;
case 'enum':
$.ajax({
type:"POST", dataType:"html", async: false,
url:field.enumUrl,
data:{inputName:field.name},
success:function(response){
html = response;
}
});
break;
case 'date':
html = '<input type="text" name="'+field.name+'" value="'+field.defaultVal+'" class="date '+field.fieldClass+'" dateFmt="'+field.patternDate+'" size="'+field.size+'"/>'
+'<a class="inputDateButton" href="javascript:void(0)">选择</a>';
break;
default:
html = '<input type="text" name="'+field.name+'" value="'+field.defaultVal+'" size="'+field.size+'" class="'+field.fieldClass+'" '+attrFrag+'/>';
break;
}
return '<td>'+html+'</td>';
}
function trHtml(fields){
var html = '';
$(fields).each(function(){
html += tdHtml(this);
});
return '<tr class="unitBox">'+html+'</tr>';
}
},
selectedTodo: function(){
function _getIds(selectedIds, targetType){
var ids = "";
var $box = targetType == "dialog" ? $.pdialog.getCurrent() : navTab.getCurrentPanel();
$box.find("input:checked").filter("[name='"+selectedIds+"']").each(function(i){
var val = $(this).val();
ids += i==0 ? val : ","+val;
});
return ids;
}
return this.each(function(){
var $this = $(this);
var selectedIds = $this.attr("rel") || "ids";
var postType = $this.attr("postType") || "map";
$this.click(function(){
var targetType = $this.attr("targetType");
var ids = _getIds(selectedIds, targetType);
if (!ids) {
alertMsg.error($this.attr("warn") || DWZ.msg("alertSelectMsg"));
return false;
}
var _callback = $this.attr("callback") || (targetType == "dialog" ? dialogAjaxDone : navTabAjaxDone);
if (! $.isFunction(_callback)) _callback = eval('(' + _callback + ')');
function _doPost(){
$.ajax({
type:'POST', url:$this.attr('href'), dataType:'json', cache: false,
data: function(){
if (postType == 'map'){
return $.map(ids.split(','), function(val, i) {
return {name: selectedIds, value: val};
})
} else {
var _data = {};
_data[selectedIds] = ids;
return _data;
}
}(),
success: _callback,
error: DWZ.ajaxError
});
}
var title = $this.attr("title");
if (title) {
alertMsg.confirm(title, {okCall: _doPost});
} else {
_doPost();
}
return false;
});
});
}
});
})(jQuery);
|
JavaScript
|
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.0.1 - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
// ┌──────────────────────────────────────────────────────────────────────────────────────┐ \\
// │ Eve 0.4.0 - JavaScript Events Library │ \\
// ├──────────────────────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://dmitry.baranovskiy.com/) │ \\
// │ Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. │ \\
// └──────────────────────────────────────────────────────────────────────────────────────┘ \\
(function (glob) {
var version = "0.4.0",
has = "hasOwnProperty",
separator = /[\.\/]/,
wildcard = "*",
fun = function () {},
numsort = function (a, b) {
return a - b;
},
current_event,
stop,
events = {n: {}},
eve = function (name, scope) {
var e = events,
oldstop = stop,
args = Array.prototype.slice.call(arguments, 2),
listeners = eve.listeners(name),
z = 0,
f = false,
l,
indexed = [],
queue = {},
out = [],
errors = [];
current_event = name;
stop = 0;
for (var i = 0, ii = listeners.length; i < ii; i++) if ("zIndex" in listeners[i]) {
indexed.push(listeners[i].zIndex);
if (listeners[i].zIndex < 0) {
queue[listeners[i].zIndex] = listeners[i];
}
}
indexed.sort(numsort);
while (indexed[z] < 0) {
l = queue[indexed[z++]];
out.push(l.apply(scope, args));
if (stop) {
stop = oldstop;
return out;
}
}
for (i = 0; i < ii; i++) {
l = listeners[i];
if ("zIndex" in l) {
if (l.zIndex == indexed[z]) {
out.push(l.apply(scope, args));
if (stop) {
stop = oldstop;
return out;
}
do {
z++;
l = queue[indexed[z]];
l && out.push(l.apply(scope, args));
if (stop) {
stop = oldstop;
return out;
}
} while (l)
} else {
queue[l.zIndex] = l;
}
} else {
out.push(l.apply(scope, args));
if (stop) {
stop = oldstop;
return out;
}
}
}
stop = oldstop;
return out.length ? out : null;
};
eve.listeners = function (name) {
var names = name.split(separator),
e = events,
item,
items,
k,
i,
ii,
j,
jj,
nes,
es = [e],
out = [];
for (i = 0, ii = names.length; i < ii; i++) {
nes = [];
for (j = 0, jj = es.length; j < jj; j++) {
e = es[j].n;
items = [e[names[i]], e[wildcard]];
k = 2;
while (k--) {
item = items[k];
if (item) {
nes.push(item);
out = out.concat(item.f || []);
}
}
}
es = nes;
}
return out;
};
eve.on = function (name, f) {
var names = name.split(separator),
e = events;
for (var i = 0, ii = names.length; i < ii; i++) {
e = e.n;
!e[names[i]] && (e[names[i]] = {n: {}});
e = e[names[i]];
}
e.f = e.f || [];
for (i = 0, ii = e.f.length; i < ii; i++) if (e.f[i] == f) {
return fun;
}
e.f.push(f);
return function (zIndex) {
if (+zIndex == +zIndex) {
f.zIndex = +zIndex;
}
};
};
eve.stop = function () {
stop = 1;
};
eve.nt = function (subname) {
if (subname) {
return new RegExp("(?:\\.|\\/|^)" + subname + "(?:\\.|\\/|$)").test(current_event);
}
return current_event;
};
eve.unbind = function (name, f) {
var names = name.split(separator),
e,
key,
splice,
i, ii, j, jj,
cur = [events];
for (i = 0, ii = names.length; i < ii; i++) {
for (j = 0; j < cur.length; j += splice.length - 2) {
splice = [j, 1];
e = cur[j].n;
if (names[i] != wildcard) {
if (e[names[i]]) {
splice.push(e[names[i]]);
}
} else {
for (key in e) if (e[has](key)) {
splice.push(e[key]);
}
}
cur.splice.apply(cur, splice);
}
}
for (i = 0, ii = cur.length; i < ii; i++) {
e = cur[i];
while (e.n) {
if (f) {
if (e.f) {
for (j = 0, jj = e.f.length; j < jj; j++) if (e.f[j] == f) {
e.f.splice(j, 1);
break;
}
!e.f.length && delete e.f;
}
for (key in e.n) if (e.n[has](key) && e.n[key].f) {
var funcs = e.n[key].f;
for (j = 0, jj = funcs.length; j < jj; j++) if (funcs[j] == f) {
funcs.splice(j, 1);
break;
}
!funcs.length && delete e.n[key].f;
}
} else {
delete e.f;
for (key in e.n) if (e.n[has](key) && e.n[key].f) {
delete e.n[key].f;
}
}
e = e.n;
}
}
};
eve.once = function (name, f) {
var f2 = function () {
f.apply(this, arguments);
eve.unbind(name, f2);
};
return eve.on(name, f2);
};
eve.version = version;
eve.toString = function () {
return "You are running Eve " + version;
};
(typeof module != "undefined" && module.exports) ? (module.exports = eve) : (glob.eve = eve);
})(this);
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ "Raphaël 2.0.1" - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
(function () {
function R(first) {
if (R.is(first, "function")) {
return loaded ? first() : eve.on("DOMload", first);
} else if (R.is(first, array)) {
return R._engine.create[apply](R, first.splice(0, 3 + R.is(first[0], nu))).add(first);
} else {
var args = Array.prototype.slice.call(arguments, 0);
if (R.is(args[args.length - 1], "function")) {
var f = args.pop();
return loaded ? f.call(R._engine.create[apply](R, args)) : eve.on("DOMload", function () {
f.call(R._engine.create[apply](R, args));
});
} else {
return R._engine.create[apply](R, arguments);
}
}
}
R.version = "2.0.1";
R.eve = eve;
var loaded,
separator = /[, ]+/,
elements = {circle: 1, rect: 1, path: 1, ellipse: 1, text: 1, image: 1},
formatrg = /\{(\d+)\}/g,
proto = "prototype",
has = "hasOwnProperty",
g = {
doc: document,
win: window
},
oldRaphael = {
was: Object.prototype[has].call(g.win, "Raphael"),
is: g.win.Raphael
},
Paper = function () {
this.ca = this.customAttributes = {};
},
paperproto,
appendChild = "appendChild",
apply = "apply",
concat = "concat",
supportsTouch = "createTouch" in g.doc,
E = "",
S = " ",
Str = String,
split = "split",
events = "click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[split](S),
touchMap = {
mousedown: "touchstart",
mousemove: "touchmove",
mouseup: "touchend"
},
lowerCase = Str.prototype.toLowerCase,
math = Math,
mmax = math.max,
mmin = math.min,
abs = math.abs,
pow = math.pow,
PI = math.PI,
nu = "number",
string = "string",
array = "array",
toString = "toString",
fillString = "fill",
objectToString = Object.prototype.toString,
paper = {},
push = "push",
ISURL = R._ISURL = /^url\(['"]?([^\)]+?)['"]?\)$/i,
colourRegExp = /^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,
isnan = {"NaN": 1, "Infinity": 1, "-Infinity": 1},
bezierrg = /^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,
round = math.round,
setAttribute = "setAttribute",
toFloat = parseFloat,
toInt = parseInt,
upperCase = Str.prototype.toUpperCase,
availableAttrs = R._availableAttrs = {
"arrow-end": "none",
"arrow-start": "none",
blur: 0,
"clip-rect": "0 0 1e9 1e9",
cursor: "default",
cx: 0,
cy: 0,
fill: "#fff",
"fill-opacity": 1,
font: '10px "Arial"',
"font-family": '"Arial"',
"font-size": "10",
"font-style": "normal",
"font-weight": 400,
gradient: 0,
height: 0,
href: "http://raphaeljs.com/",
"letter-spacing": 0,
opacity: 1,
path: "M0,0",
r: 0,
rx: 0,
ry: 0,
src: "",
stroke: "#000",
"stroke-dasharray": "",
"stroke-linecap": "butt",
"stroke-linejoin": "butt",
"stroke-miterlimit": 0,
"stroke-opacity": 1,
"stroke-width": 1,
target: "_blank",
"text-anchor": "middle",
title: "Raphael",
transform: "",
width: 0,
x: 0,
y: 0
},
availableAnimAttrs = R._availableAnimAttrs = {
blur: nu,
"clip-rect": "csv",
cx: nu,
cy: nu,
fill: "colour",
"fill-opacity": nu,
"font-size": nu,
height: nu,
opacity: nu,
path: "path",
r: nu,
rx: nu,
ry: nu,
stroke: "colour",
"stroke-opacity": nu,
"stroke-width": nu,
transform: "transform",
width: nu,
x: nu,
y: nu
},
commaSpaces = /\s*,\s*/,
hsrg = {hs: 1, rg: 1},
p2s = /,?([achlmqrstvxz]),?/gi,
pathCommand = /([achlmrqstvz])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/ig,
tCommand = /([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/ig,
pathValues = /(-?\d*\.?\d*(?:e[\-+]?\d+)?)\s*,?\s*/ig,
radial_gradient = R._radial_gradient = /^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/,
eldata = {},
sortByKey = function (a, b) {
return a.key - b.key;
},
sortByNumber = function (a, b) {
return toFloat(a) - toFloat(b);
},
fun = function () {},
pipe = function (x) {
return x;
},
rectPath = R._rectPath = function (x, y, w, h, r) {
if (r) {
return [["M", x + r, y], ["l", w - r * 2, 0], ["a", r, r, 0, 0, 1, r, r], ["l", 0, h - r * 2], ["a", r, r, 0, 0, 1, -r, r], ["l", r * 2 - w, 0], ["a", r, r, 0, 0, 1, -r, -r], ["l", 0, r * 2 - h], ["a", r, r, 0, 0, 1, r, -r], ["z"]];
}
return [["M", x, y], ["l", w, 0], ["l", 0, h], ["l", -w, 0], ["z"]];
},
ellipsePath = function (x, y, rx, ry) {
if (ry == null) {
ry = rx;
}
return [["M", x, y], ["m", 0, -ry], ["a", rx, ry, 0, 1, 1, 0, 2 * ry], ["a", rx, ry, 0, 1, 1, 0, -2 * ry], ["z"]];
},
getPath = R._getPath = {
path: function (el) {
return el.attr("path");
},
circle: function (el) {
var a = el.attrs;
return ellipsePath(a.cx, a.cy, a.r);
},
ellipse: function (el) {
var a = el.attrs;
return ellipsePath(a.cx, a.cy, a.rx, a.ry);
},
rect: function (el) {
var a = el.attrs;
return rectPath(a.x, a.y, a.width, a.height, a.r);
},
image: function (el) {
var a = el.attrs;
return rectPath(a.x, a.y, a.width, a.height);
},
text: function (el) {
var bbox = el._getBBox();
return rectPath(bbox.x, bbox.y, bbox.width, bbox.height);
}
},
mapPath = R.mapPath = function (path, matrix) {
if (!matrix) {
return path;
}
var x, y, i, j, ii, jj, pathi;
path = path2curve(path);
for (i = 0, ii = path.length; i < ii; i++) {
pathi = path[i];
for (j = 1, jj = pathi.length; j < jj; j += 2) {
x = matrix.x(pathi[j], pathi[j + 1]);
y = matrix.y(pathi[j], pathi[j + 1]);
pathi[j] = x;
pathi[j + 1] = y;
}
}
return path;
};
R._g = g;
R.type = (g.win.SVGAngle || g.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") ? "SVG" : "VML");
if (R.type == "VML") {
var d = g.doc.createElement("div"),
b;
d.innerHTML = '<v:shape adj="1"/>';
b = d.firstChild;
b.style.behavior = "url(#default#VML)";
if (!(b && typeof b.adj == "object")) {
return (R.type = E);
}
d = null;
}
R.svg = !(R.vml = R.type == "VML");
R._Paper = Paper;
R.fn = paperproto = Paper.prototype = R.prototype;
R._id = 0;
R._oid = 0;
R.is = function (o, type) {
type = lowerCase.call(type);
if (type == "finite") {
return !isnan[has](+o);
}
if (type == "array") {
return o instanceof Array;
}
return (type == "null" && o === null) ||
(type == typeof o && o !== null) ||
(type == "object" && o === Object(o)) ||
(type == "array" && Array.isArray && Array.isArray(o)) ||
objectToString.call(o).slice(8, -1).toLowerCase() == type;
};
R.angle = function (x1, y1, x2, y2, x3, y3) {
if (x3 == null) {
var x = x1 - x2,
y = y1 - y2;
if (!x && !y) {
return 0;
}
return (180 + math.atan2(-y, -x) * 180 / PI + 360) % 360;
} else {
return R.angle(x1, y1, x3, y3) - R.angle(x2, y2, x3, y3);
}
};
R.rad = function (deg) {
return deg % 360 * PI / 180;
};
R.deg = function (rad) {
return rad * 180 / PI % 360;
};
R.snapTo = function (values, value, tolerance) {
tolerance = R.is(tolerance, "finite") ? tolerance : 10;
if (R.is(values, array)) {
var i = values.length;
while (i--) if (abs(values[i] - value) <= tolerance) {
return values[i];
}
} else {
values = +values;
var rem = value % values;
if (rem < tolerance) {
return value - rem;
}
if (rem > values - tolerance) {
return value - rem + values;
}
}
return value;
};
var createUUID = R.createUUID = (function (uuidRegEx, uuidReplacer) {
return function () {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(uuidRegEx, uuidReplacer).toUpperCase();
};
})(/[xy]/g, function (c) {
var r = math.random() * 16 | 0,
v = c == "x" ? r : (r & 3 | 8);
return v.toString(16);
});
R.setWindow = function (newwin) {
eve("setWindow", R, g.win, newwin);
g.win = newwin;
g.doc = g.win.document;
if (R._engine.initWin) {
R._engine.initWin(g.win);
}
};
var toHex = function (color) {
if (R.vml) {
// http://dean.edwards.name/weblog/2009/10/convert-any-colour-value-to-hex-in-msie/
var trim = /^\s+|\s+$/g;
var bod;
try {
var docum = new ActiveXObject("htmlfile");
docum.write("<body>");
docum.close();
bod = docum.body;
} catch(e) {
bod = createPopup().document.body;
}
var range = bod.createTextRange();
toHex = cacher(function (color) {
try {
bod.style.color = Str(color).replace(trim, E);
var value = range.queryCommandValue("ForeColor");
value = ((value & 255) << 16) | (value & 65280) | ((value & 16711680) >>> 16);
return "#" + ("000000" + value.toString(16)).slice(-6);
} catch(e) {
return "none";
}
});
} else {
var i = g.doc.createElement("i");
i.title = "Rapha\xebl Colour Picker";
i.style.display = "none";
g.doc.body.appendChild(i);
toHex = cacher(function (color) {
i.style.color = color;
return g.doc.defaultView.getComputedStyle(i, E).getPropertyValue("color");
});
}
return toHex(color);
},
hsbtoString = function () {
return "hsb(" + [this.h, this.s, this.b] + ")";
},
hsltoString = function () {
return "hsl(" + [this.h, this.s, this.l] + ")";
},
rgbtoString = function () {
return this.hex;
},
prepareRGB = function (r, g, b) {
if (g == null && R.is(r, "object") && "r" in r && "g" in r && "b" in r) {
b = r.b;
g = r.g;
r = r.r;
}
if (g == null && R.is(r, string)) {
var clr = R.getRGB(r);
r = clr.r;
g = clr.g;
b = clr.b;
}
if (r > 1 || g > 1 || b > 1) {
r /= 255;
g /= 255;
b /= 255;
}
return [r, g, b];
},
packageRGB = function (r, g, b, o) {
r *= 255;
g *= 255;
b *= 255;
var rgb = {
r: r,
g: g,
b: b,
hex: R.rgb(r, g, b),
toString: rgbtoString
};
R.is(o, "finite") && (rgb.opacity = o);
return rgb;
};
R.color = function (clr) {
var rgb;
if (R.is(clr, "object") && "h" in clr && "s" in clr && "b" in clr) {
rgb = R.hsb2rgb(clr);
clr.r = rgb.r;
clr.g = rgb.g;
clr.b = rgb.b;
clr.hex = rgb.hex;
} else if (R.is(clr, "object") && "h" in clr && "s" in clr && "l" in clr) {
rgb = R.hsl2rgb(clr);
clr.r = rgb.r;
clr.g = rgb.g;
clr.b = rgb.b;
clr.hex = rgb.hex;
} else {
if (R.is(clr, "string")) {
clr = R.getRGB(clr);
}
if (R.is(clr, "object") && "r" in clr && "g" in clr && "b" in clr) {
rgb = R.rgb2hsl(clr);
clr.h = rgb.h;
clr.s = rgb.s;
clr.l = rgb.l;
rgb = R.rgb2hsb(clr);
clr.v = rgb.b;
} else {
clr = {hex: "none"};
clr.r = clr.g = clr.b = clr.h = clr.s = clr.v = clr.l = -1;
}
}
clr.toString = rgbtoString;
return clr;
};
R.hsb2rgb = function (h, s, v, o) {
if (this.is(h, "object") && "h" in h && "s" in h && "b" in h) {
v = h.b;
s = h.s;
h = h.h;
o = h.o;
}
h *= 360;
var R, G, B, X, C;
h = (h % 360) / 60;
C = v * s;
X = C * (1 - abs(h % 2 - 1));
R = G = B = v - C;
h = ~~h;
R += [C, X, 0, 0, X, C][h];
G += [X, C, C, X, 0, 0][h];
B += [0, 0, X, C, C, X][h];
return packageRGB(R, G, B, o);
};
R.hsl2rgb = function (h, s, l, o) {
if (this.is(h, "object") && "h" in h && "s" in h && "l" in h) {
l = h.l;
s = h.s;
h = h.h;
}
if (h > 1 || s > 1 || l > 1) {
h /= 360;
s /= 100;
l /= 100;
}
h *= 360;
var R, G, B, X, C;
h = (h % 360) / 60;
C = 2 * s * (l < .5 ? l : 1 - l);
X = C * (1 - abs(h % 2 - 1));
R = G = B = l - C / 2;
h = ~~h;
R += [C, X, 0, 0, X, C][h];
G += [X, C, C, X, 0, 0][h];
B += [0, 0, X, C, C, X][h];
return packageRGB(R, G, B, o);
};
R.rgb2hsb = function (r, g, b) {
b = prepareRGB(r, g, b);
r = b[0];
g = b[1];
b = b[2];
var H, S, V, C;
V = mmax(r, g, b);
C = V - mmin(r, g, b);
H = (C == 0 ? null :
V == r ? (g - b) / C :
V == g ? (b - r) / C + 2 :
(r - g) / C + 4
);
H = ((H + 360) % 6) * 60 / 360;
S = C == 0 ? 0 : C / V;
return {h: H, s: S, b: V, toString: hsbtoString};
};
R.rgb2hsl = function (r, g, b) {
b = prepareRGB(r, g, b);
r = b[0];
g = b[1];
b = b[2];
var H, S, L, M, m, C;
M = mmax(r, g, b);
m = mmin(r, g, b);
C = M - m;
H = (C == 0 ? null :
M == r ? (g - b) / C :
M == g ? (b - r) / C + 2 :
(r - g) / C + 4);
H = ((H + 360) % 6) * 60 / 360;
L = (M + m) / 2;
S = (C == 0 ? 0 :
L < .5 ? C / (2 * L) :
C / (2 - 2 * L));
return {h: H, s: S, l: L, toString: hsltoString};
};
R._path2string = function () {
return this.join(",").replace(p2s, "$1");
};
function repush(array, item) {
for (var i = 0, ii = array.length; i < ii; i++) if (array[i] === item) {
return array.push(array.splice(i, 1)[0]);
}
}
function cacher(f, scope, postprocessor) {
function newf() {
var arg = Array.prototype.slice.call(arguments, 0),
args = arg.join("\u2400"),
cache = newf.cache = newf.cache || {},
count = newf.count = newf.count || [];
if (cache[has](args)) {
repush(count, args);
return postprocessor ? postprocessor(cache[args]) : cache[args];
}
count.length >= 1e3 && delete cache[count.shift()];
count.push(args);
cache[args] = f[apply](scope, arg);
return postprocessor ? postprocessor(cache[args]) : cache[args];
}
return newf;
}
var preload = R._preload = function (src, f) {
var img = g.doc.createElement("img");
img.style.cssText = "position:absolute;left:-9999em;top:-9999em";
img.onload = function () {
f.call(this);
this.onload = null;
g.doc.body.removeChild(this);
};
img.onerror = function () {
g.doc.body.removeChild(this);
};
g.doc.body.appendChild(img);
img.src = src;
};
function clrToString() {
return this.hex;
}
R.getRGB = cacher(function (colour) {
if (!colour || !!((colour = Str(colour)).indexOf("-") + 1)) {
return {r: -1, g: -1, b: -1, hex: "none", error: 1, toString: clrToString};
}
if (colour == "none") {
return {r: -1, g: -1, b: -1, hex: "none", toString: clrToString};
}
!(hsrg[has](colour.toLowerCase().substring(0, 2)) || colour.charAt() == "#") && (colour = toHex(colour));
var res,
red,
green,
blue,
opacity,
t,
values,
rgb = colour.match(colourRegExp);
if (rgb) {
if (rgb[2]) {
blue = toInt(rgb[2].substring(5), 16);
green = toInt(rgb[2].substring(3, 5), 16);
red = toInt(rgb[2].substring(1, 3), 16);
}
if (rgb[3]) {
blue = toInt((t = rgb[3].charAt(3)) + t, 16);
green = toInt((t = rgb[3].charAt(2)) + t, 16);
red = toInt((t = rgb[3].charAt(1)) + t, 16);
}
if (rgb[4]) {
values = rgb[4][split](commaSpaces);
red = toFloat(values[0]);
values[0].slice(-1) == "%" && (red *= 2.55);
green = toFloat(values[1]);
values[1].slice(-1) == "%" && (green *= 2.55);
blue = toFloat(values[2]);
values[2].slice(-1) == "%" && (blue *= 2.55);
rgb[1].toLowerCase().slice(0, 4) == "rgba" && (opacity = toFloat(values[3]));
values[3] && values[3].slice(-1) == "%" && (opacity /= 100);
}
if (rgb[5]) {
values = rgb[5][split](commaSpaces);
red = toFloat(values[0]);
values[0].slice(-1) == "%" && (red *= 2.55);
green = toFloat(values[1]);
values[1].slice(-1) == "%" && (green *= 2.55);
blue = toFloat(values[2]);
values[2].slice(-1) == "%" && (blue *= 2.55);
(values[0].slice(-3) == "deg" || values[0].slice(-1) == "\xb0") && (red /= 360);
rgb[1].toLowerCase().slice(0, 4) == "hsba" && (opacity = toFloat(values[3]));
values[3] && values[3].slice(-1) == "%" && (opacity /= 100);
return R.hsb2rgb(red, green, blue, opacity);
}
if (rgb[6]) {
values = rgb[6][split](commaSpaces);
red = toFloat(values[0]);
values[0].slice(-1) == "%" && (red *= 2.55);
green = toFloat(values[1]);
values[1].slice(-1) == "%" && (green *= 2.55);
blue = toFloat(values[2]);
values[2].slice(-1) == "%" && (blue *= 2.55);
(values[0].slice(-3) == "deg" || values[0].slice(-1) == "\xb0") && (red /= 360);
rgb[1].toLowerCase().slice(0, 4) == "hsla" && (opacity = toFloat(values[3]));
values[3] && values[3].slice(-1) == "%" && (opacity /= 100);
return R.hsl2rgb(red, green, blue, opacity);
}
rgb = {r: red, g: green, b: blue, toString: clrToString};
rgb.hex = "#" + (16777216 | blue | (green << 8) | (red << 16)).toString(16).slice(1);
R.is(opacity, "finite") && (rgb.opacity = opacity);
return rgb;
}
return {r: -1, g: -1, b: -1, hex: "none", error: 1, toString: clrToString};
}, R);
R.hsb = cacher(function (h, s, b) {
return R.hsb2rgb(h, s, b).hex;
});
R.hsl = cacher(function (h, s, l) {
return R.hsl2rgb(h, s, l).hex;
});
R.rgb = cacher(function (r, g, b) {
return "#" + (16777216 | b | (g << 8) | (r << 16)).toString(16).slice(1);
});
R.getColor = function (value) {
var start = this.getColor.start = this.getColor.start || {h: 0, s: 1, b: value || .75},
rgb = this.hsb2rgb(start.h, start.s, start.b);
start.h += .075;
if (start.h > 1) {
start.h = 0;
start.s -= .2;
start.s <= 0 && (this.getColor.start = {h: 0, s: 1, b: start.b});
}
return rgb.hex;
};
R.getColor.reset = function () {
delete this.start;
};
// http://schepers.cc/getting-to-the-point
function catmullRom2bezier(crp) {
var d = [];
for (var i = 0, iLen = crp.length; iLen - 2 > i; i += 2) {
var p = [{x: +crp[i], y: +crp[i + 1]},
{x: +crp[i], y: +crp[i + 1]},
{x: +crp[i + 2], y: +crp[i + 3]},
{x: +crp[i + 4], y: +crp[i + 5]}];
if (iLen - 4 == i) {
p[0] = {x: +crp[i - 2], y: +crp[i - 1]};
p[3] = p[2];
} else if (i) {
p[0] = {x: +crp[i - 2], y: +crp[i - 1]};
}
d.push(["C",
(-p[0].x + 6 * p[1].x + p[2].x) / 6,
(-p[0].y + 6 * p[1].y + p[2].y) / 6,
(p[1].x + 6 * p[2].x - p[3].x) / 6,
(p[1].y + 6*p[2].y - p[3].y) / 6,
p[2].x,
p[2].y
]);
}
return d;
}
R.parsePathString = cacher(function (pathString) {
if (!pathString) {
return null;
}
var paramCounts = {a: 7, c: 6, h: 1, l: 2, m: 2, r: 4, q: 4, s: 4, t: 2, v: 1, z: 0},
data = [];
if (R.is(pathString, array) && R.is(pathString[0], array)) { // rough assumption
data = pathClone(pathString);
}
if (!data.length) {
Str(pathString).replace(pathCommand, function (a, b, c) {
var params = [],
name = b.toLowerCase();
c.replace(pathValues, function (a, b) {
b && params.push(+b);
});
if (name == "m" && params.length > 2) {
data.push([b][concat](params.splice(0, 2)));
name = "l";
b = b == "m" ? "l" : "L";
}
if (name == "r") {
data.push([b][concat](params));
} else while (params.length >= paramCounts[name]) {
data.push([b][concat](params.splice(0, paramCounts[name])));
if (!paramCounts[name]) {
break;
}
}
});
}
data.toString = R._path2string;
return data;
});
R.parseTransformString = cacher(function (TString) {
if (!TString) {
return null;
}
var paramCounts = {r: 3, s: 4, t: 2, m: 6},
data = [];
if (R.is(TString, array) && R.is(TString[0], array)) { // rough assumption
data = pathClone(TString);
}
if (!data.length) {
Str(TString).replace(tCommand, function (a, b, c) {
var params = [],
name = lowerCase.call(b);
c.replace(pathValues, function (a, b) {
b && params.push(+b);
});
data.push([b][concat](params));
});
}
data.toString = R._path2string;
return data;
});
R.findDotsAtSegment = function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {
var t1 = 1 - t,
t13 = pow(t1, 3),
t12 = pow(t1, 2),
t2 = t * t,
t3 = t2 * t,
x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x,
y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y,
mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x),
my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y),
nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x),
ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y),
ax = t1 * p1x + t * c1x,
ay = t1 * p1y + t * c1y,
cx = t1 * c2x + t * p2x,
cy = t1 * c2y + t * p2y,
alpha = (90 - math.atan2(mx - nx, my - ny) * 180 / PI);
(mx > nx || my < ny) && (alpha += 180);
return {
x: x,
y: y,
m: {x: mx, y: my},
n: {x: nx, y: ny},
start: {x: ax, y: ay},
end: {x: cx, y: cy},
alpha: alpha
};
};
R._removedFactory = function (methodname) {
return function () {
throw new Error("Rapha\xebl: you are calling to method \u201c" + methodname + "\u201d of removed object");
};
};
var pathDimensions = cacher(function (path) {
if (!path) {
return {x: 0, y: 0, width: 0, height: 0};
}
path = path2curve(path);
var x = 0,
y = 0,
X = [],
Y = [],
p;
for (var i = 0, ii = path.length; i < ii; i++) {
p = path[i];
if (p[0] == "M") {
x = p[1];
y = p[2];
X.push(x);
Y.push(y);
} else {
var dim = curveDim(x, y, p[1], p[2], p[3], p[4], p[5], p[6]);
X = X[concat](dim.min.x, dim.max.x);
Y = Y[concat](dim.min.y, dim.max.y);
x = p[5];
y = p[6];
}
}
var xmin = mmin[apply](0, X),
ymin = mmin[apply](0, Y);
return {
x: xmin,
y: ymin,
width: mmax[apply](0, X) - xmin,
height: mmax[apply](0, Y) - ymin
};
}, null, function (o) {
return {
x: o.x,
y: o.y,
width: o.width,
height: o.height
};
}),
pathClone = function (pathArray) {
var res = [];
if (!R.is(pathArray, array) || !R.is(pathArray && pathArray[0], array)) { // rough assumption
pathArray = R.parsePathString(pathArray);
}
for (var i = 0, ii = pathArray.length; i < ii; i++) {
res[i] = [];
for (var j = 0, jj = pathArray[i].length; j < jj; j++) {
res[i][j] = pathArray[i][j];
}
}
res.toString = R._path2string;
return res;
},
pathToRelative = R._pathToRelative = cacher(function (pathArray) {
if (!R.is(pathArray, array) || !R.is(pathArray && pathArray[0], array)) { // rough assumption
pathArray = R.parsePathString(pathArray);
}
var res = [],
x = 0,
y = 0,
mx = 0,
my = 0,
start = 0;
if (pathArray[0][0] == "M") {
x = pathArray[0][1];
y = pathArray[0][2];
mx = x;
my = y;
start++;
res.push(["M", x, y]);
}
for (var i = start, ii = pathArray.length; i < ii; i++) {
var r = res[i] = [],
pa = pathArray[i];
if (pa[0] != lowerCase.call(pa[0])) {
r[0] = lowerCase.call(pa[0]);
switch (r[0]) {
case "a":
r[1] = pa[1];
r[2] = pa[2];
r[3] = pa[3];
r[4] = pa[4];
r[5] = pa[5];
r[6] = +(pa[6] - x).toFixed(3);
r[7] = +(pa[7] - y).toFixed(3);
break;
case "v":
r[1] = +(pa[1] - y).toFixed(3);
break;
case "m":
mx = pa[1];
my = pa[2];
default:
for (var j = 1, jj = pa.length; j < jj; j++) {
r[j] = +(pa[j] - ((j % 2) ? x : y)).toFixed(3);
}
}
} else {
r = res[i] = [];
if (pa[0] == "m") {
mx = pa[1] + x;
my = pa[2] + y;
}
for (var k = 0, kk = pa.length; k < kk; k++) {
res[i][k] = pa[k];
}
}
var len = res[i].length;
switch (res[i][0]) {
case "z":
x = mx;
y = my;
break;
case "h":
x += +res[i][len - 1];
break;
case "v":
y += +res[i][len - 1];
break;
default:
x += +res[i][len - 2];
y += +res[i][len - 1];
}
}
res.toString = R._path2string;
return res;
}, 0, pathClone),
pathToAbsolute = R._pathToAbsolute = cacher(function (pathArray) {
if (!R.is(pathArray, array) || !R.is(pathArray && pathArray[0], array)) { // rough assumption
pathArray = R.parsePathString(pathArray);
}
if (!pathArray || !pathArray.length) {
return [["M", 0, 0]];
}
var res = [],
x = 0,
y = 0,
mx = 0,
my = 0,
start = 0;
if (pathArray[0][0] == "M") {
x = +pathArray[0][1];
y = +pathArray[0][2];
mx = x;
my = y;
start++;
res[0] = ["M", x, y];
}
for (var r, pa, i = start, ii = pathArray.length; i < ii; i++) {
res.push(r = []);
pa = pathArray[i];
if (pa[0] != upperCase.call(pa[0])) {
r[0] = upperCase.call(pa[0]);
switch (r[0]) {
case "A":
r[1] = pa[1];
r[2] = pa[2];
r[3] = pa[3];
r[4] = pa[4];
r[5] = pa[5];
r[6] = +(pa[6] + x);
r[7] = +(pa[7] + y);
break;
case "V":
r[1] = +pa[1] + y;
break;
case "H":
r[1] = +pa[1] + x;
break;
case "R":
var dots = [x, y][concat](pa.slice(1));
for (var j = 2, jj = dots.length; j < jj; j++) {
dots[j] = +dots[j] + x;
dots[++j] = +dots[j] + y;
}
res.pop();
res = res[concat](catmullRom2bezier(dots));
break;
case "M":
mx = +pa[1] + x;
my = +pa[2] + y;
default:
for (j = 1, jj = pa.length; j < jj; j++) {
r[j] = +pa[j] + ((j % 2) ? x : y);
}
}
} else if (pa[0] == "R") {
dots = [x, y][concat](pa.slice(1));
res.pop();
res = res[concat](catmullRom2bezier(dots));
r = ["R"][concat](pa.slice(-2));
} else {
for (var k = 0, kk = pa.length; k < kk; k++) {
r[k] = pa[k];
}
}
switch (r[0]) {
case "Z":
x = mx;
y = my;
break;
case "H":
x = r[1];
break;
case "V":
y = r[1];
break;
case "M":
mx = r[r.length - 2];
my = r[r.length - 1];
default:
x = r[r.length - 2];
y = r[r.length - 1];
}
}
res.toString = R._path2string;
return res;
}, null, pathClone),
l2c = function (x1, y1, x2, y2) {
return [x1, y1, x2, y2, x2, y2];
},
q2c = function (x1, y1, ax, ay, x2, y2) {
var _13 = 1 / 3,
_23 = 2 / 3;
return [
_13 * x1 + _23 * ax,
_13 * y1 + _23 * ay,
_13 * x2 + _23 * ax,
_13 * y2 + _23 * ay,
x2,
y2
];
},
a2c = function (x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {
// for more information of where this math came from visit:
// http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes
var _120 = PI * 120 / 180,
rad = PI / 180 * (+angle || 0),
res = [],
xy,
rotate = cacher(function (x, y, rad) {
var X = x * math.cos(rad) - y * math.sin(rad),
Y = x * math.sin(rad) + y * math.cos(rad);
return {x: X, y: Y};
});
if (!recursive) {
xy = rotate(x1, y1, -rad);
x1 = xy.x;
y1 = xy.y;
xy = rotate(x2, y2, -rad);
x2 = xy.x;
y2 = xy.y;
var cos = math.cos(PI / 180 * angle),
sin = math.sin(PI / 180 * angle),
x = (x1 - x2) / 2,
y = (y1 - y2) / 2;
var h = (x * x) / (rx * rx) + (y * y) / (ry * ry);
if (h > 1) {
h = math.sqrt(h);
rx = h * rx;
ry = h * ry;
}
var rx2 = rx * rx,
ry2 = ry * ry,
k = (large_arc_flag == sweep_flag ? -1 : 1) *
math.sqrt(abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x))),
cx = k * rx * y / ry + (x1 + x2) / 2,
cy = k * -ry * x / rx + (y1 + y2) / 2,
f1 = math.asin(((y1 - cy) / ry).toFixed(9)),
f2 = math.asin(((y2 - cy) / ry).toFixed(9));
f1 = x1 < cx ? PI - f1 : f1;
f2 = x2 < cx ? PI - f2 : f2;
f1 < 0 && (f1 = PI * 2 + f1);
f2 < 0 && (f2 = PI * 2 + f2);
if (sweep_flag && f1 > f2) {
f1 = f1 - PI * 2;
}
if (!sweep_flag && f2 > f1) {
f2 = f2 - PI * 2;
}
} else {
f1 = recursive[0];
f2 = recursive[1];
cx = recursive[2];
cy = recursive[3];
}
var df = f2 - f1;
if (abs(df) > _120) {
var f2old = f2,
x2old = x2,
y2old = y2;
f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);
x2 = cx + rx * math.cos(f2);
y2 = cy + ry * math.sin(f2);
res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);
}
df = f2 - f1;
var c1 = math.cos(f1),
s1 = math.sin(f1),
c2 = math.cos(f2),
s2 = math.sin(f2),
t = math.tan(df / 4),
hx = 4 / 3 * rx * t,
hy = 4 / 3 * ry * t,
m1 = [x1, y1],
m2 = [x1 + hx * s1, y1 - hy * c1],
m3 = [x2 + hx * s2, y2 - hy * c2],
m4 = [x2, y2];
m2[0] = 2 * m1[0] - m2[0];
m2[1] = 2 * m1[1] - m2[1];
if (recursive) {
return [m2, m3, m4][concat](res);
} else {
res = [m2, m3, m4][concat](res).join()[split](",");
var newres = [];
for (var i = 0, ii = res.length; i < ii; i++) {
newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;
}
return newres;
}
},
findDotAtSegment = function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {
var t1 = 1 - t;
return {
x: pow(t1, 3) * p1x + pow(t1, 2) * 3 * t * c1x + t1 * 3 * t * t * c2x + pow(t, 3) * p2x,
y: pow(t1, 3) * p1y + pow(t1, 2) * 3 * t * c1y + t1 * 3 * t * t * c2y + pow(t, 3) * p2y
};
},
curveDim = cacher(function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {
var a = (c2x - 2 * c1x + p1x) - (p2x - 2 * c2x + c1x),
b = 2 * (c1x - p1x) - 2 * (c2x - c1x),
c = p1x - c1x,
t1 = (-b + math.sqrt(b * b - 4 * a * c)) / 2 / a,
t2 = (-b - math.sqrt(b * b - 4 * a * c)) / 2 / a,
y = [p1y, p2y],
x = [p1x, p2x],
dot;
abs(t1) > "1e12" && (t1 = .5);
abs(t2) > "1e12" && (t2 = .5);
if (t1 > 0 && t1 < 1) {
dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t1);
x.push(dot.x);
y.push(dot.y);
}
if (t2 > 0 && t2 < 1) {
dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t2);
x.push(dot.x);
y.push(dot.y);
}
a = (c2y - 2 * c1y + p1y) - (p2y - 2 * c2y + c1y);
b = 2 * (c1y - p1y) - 2 * (c2y - c1y);
c = p1y - c1y;
t1 = (-b + math.sqrt(b * b - 4 * a * c)) / 2 / a;
t2 = (-b - math.sqrt(b * b - 4 * a * c)) / 2 / a;
abs(t1) > "1e12" && (t1 = .5);
abs(t2) > "1e12" && (t2 = .5);
if (t1 > 0 && t1 < 1) {
dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t1);
x.push(dot.x);
y.push(dot.y);
}
if (t2 > 0 && t2 < 1) {
dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t2);
x.push(dot.x);
y.push(dot.y);
}
return {
min: {x: mmin[apply](0, x), y: mmin[apply](0, y)},
max: {x: mmax[apply](0, x), y: mmax[apply](0, y)}
};
}),
path2curve = R._path2curve = cacher(function (path, path2) {
var p = pathToAbsolute(path),
p2 = path2 && pathToAbsolute(path2),
attrs = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null},
attrs2 = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null},
processPath = function (path, d) {
var nx, ny;
if (!path) {
return ["C", d.x, d.y, d.x, d.y, d.x, d.y];
}
!(path[0] in {T:1, Q:1}) && (d.qx = d.qy = null);
switch (path[0]) {
case "M":
d.X = path[1];
d.Y = path[2];
break;
case "A":
path = ["C"][concat](a2c[apply](0, [d.x, d.y][concat](path.slice(1))));
break;
case "S":
nx = d.x + (d.x - (d.bx || d.x));
ny = d.y + (d.y - (d.by || d.y));
path = ["C", nx, ny][concat](path.slice(1));
break;
case "T":
d.qx = d.x + (d.x - (d.qx || d.x));
d.qy = d.y + (d.y - (d.qy || d.y));
path = ["C"][concat](q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));
break;
case "Q":
d.qx = path[1];
d.qy = path[2];
path = ["C"][concat](q2c(d.x, d.y, path[1], path[2], path[3], path[4]));
break;
case "L":
path = ["C"][concat](l2c(d.x, d.y, path[1], path[2]));
break;
case "H":
path = ["C"][concat](l2c(d.x, d.y, path[1], d.y));
break;
case "V":
path = ["C"][concat](l2c(d.x, d.y, d.x, path[1]));
break;
case "Z":
path = ["C"][concat](l2c(d.x, d.y, d.X, d.Y));
break;
}
return path;
},
fixArc = function (pp, i) {
if (pp[i].length > 7) {
pp[i].shift();
var pi = pp[i];
while (pi.length) {
pp.splice(i++, 0, ["C"][concat](pi.splice(0, 6)));
}
pp.splice(i, 1);
ii = mmax(p.length, p2 && p2.length || 0);
}
},
fixM = function (path1, path2, a1, a2, i) {
if (path1 && path2 && path1[i][0] == "M" && path2[i][0] != "M") {
path2.splice(i, 0, ["M", a2.x, a2.y]);
a1.bx = 0;
a1.by = 0;
a1.x = path1[i][1];
a1.y = path1[i][2];
ii = mmax(p.length, p2 && p2.length || 0);
}
};
for (var i = 0, ii = mmax(p.length, p2 && p2.length || 0); i < ii; i++) {
p[i] = processPath(p[i], attrs);
fixArc(p, i);
p2 && (p2[i] = processPath(p2[i], attrs2));
p2 && fixArc(p2, i);
fixM(p, p2, attrs, attrs2, i);
fixM(p2, p, attrs2, attrs, i);
var seg = p[i],
seg2 = p2 && p2[i],
seglen = seg.length,
seg2len = p2 && seg2.length;
attrs.x = seg[seglen - 2];
attrs.y = seg[seglen - 1];
attrs.bx = toFloat(seg[seglen - 4]) || attrs.x;
attrs.by = toFloat(seg[seglen - 3]) || attrs.y;
attrs2.bx = p2 && (toFloat(seg2[seg2len - 4]) || attrs2.x);
attrs2.by = p2 && (toFloat(seg2[seg2len - 3]) || attrs2.y);
attrs2.x = p2 && seg2[seg2len - 2];
attrs2.y = p2 && seg2[seg2len - 1];
}
return p2 ? [p, p2] : p;
}, null, pathClone),
parseDots = R._parseDots = cacher(function (gradient) {
var dots = [];
for (var i = 0, ii = gradient.length; i < ii; i++) {
var dot = {},
par = gradient[i].match(/^([^:]*):?([\d\.]*)/);
dot.color = R.getRGB(par[1]);
if (dot.color.error) {
return null;
}
dot.color = dot.color.hex;
par[2] && (dot.offset = par[2] + "%");
dots.push(dot);
}
for (i = 1, ii = dots.length - 1; i < ii; i++) {
if (!dots[i].offset) {
var start = toFloat(dots[i - 1].offset || 0),
end = 0;
for (var j = i + 1; j < ii; j++) {
if (dots[j].offset) {
end = dots[j].offset;
break;
}
}
if (!end) {
end = 100;
j = ii;
}
end = toFloat(end);
var d = (end - start) / (j - i + 1);
for (; i < j; i++) {
start += d;
dots[i].offset = start + "%";
}
}
}
return dots;
}),
tear = R._tear = function (el, paper) {
el == paper.top && (paper.top = el.prev);
el == paper.bottom && (paper.bottom = el.next);
el.next && (el.next.prev = el.prev);
el.prev && (el.prev.next = el.next);
},
tofront = R._tofront = function (el, paper) {
if (paper.top === el) {
return;
}
tear(el, paper);
el.next = null;
el.prev = paper.top;
paper.top.next = el;
paper.top = el;
},
toback = R._toback = function (el, paper) {
if (paper.bottom === el) {
return;
}
tear(el, paper);
el.next = paper.bottom;
el.prev = null;
paper.bottom.prev = el;
paper.bottom = el;
},
insertafter = R._insertafter = function (el, el2, paper) {
tear(el, paper);
el2 == paper.top && (paper.top = el);
el2.next && (el2.next.prev = el);
el.next = el2.next;
el.prev = el2;
el2.next = el;
},
insertbefore = R._insertbefore = function (el, el2, paper) {
tear(el, paper);
el2 == paper.bottom && (paper.bottom = el);
el2.prev && (el2.prev.next = el);
el.prev = el2.prev;
el2.prev = el;
el.next = el2;
},
extractTransform = R._extractTransform = function (el, tstr) {
if (tstr == null) {
return el._.transform;
}
tstr = Str(tstr).replace(/\.{3}|\u2026/g, el._.transform || E);
var tdata = R.parseTransformString(tstr),
deg = 0,
dx = 0,
dy = 0,
sx = 1,
sy = 1,
_ = el._,
m = new Matrix;
_.transform = tdata || [];
if (tdata) {
for (var i = 0, ii = tdata.length; i < ii; i++) {
var t = tdata[i],
tlen = t.length,
command = Str(t[0]).toLowerCase(),
absolute = t[0] != command,
inver = absolute ? m.invert() : 0,
x1,
y1,
x2,
y2,
bb;
if (command == "t" && tlen == 3) {
if (absolute) {
x1 = inver.x(0, 0);
y1 = inver.y(0, 0);
x2 = inver.x(t[1], t[2]);
y2 = inver.y(t[1], t[2]);
m.translate(x2 - x1, y2 - y1);
} else {
m.translate(t[1], t[2]);
}
} else if (command == "r") {
if (tlen == 2) {
bb = bb || el.getBBox(1);
m.rotate(t[1], bb.x + bb.width / 2, bb.y + bb.height / 2);
deg += t[1];
} else if (tlen == 4) {
if (absolute) {
x2 = inver.x(t[2], t[3]);
y2 = inver.y(t[2], t[3]);
m.rotate(t[1], x2, y2);
} else {
m.rotate(t[1], t[2], t[3]);
}
deg += t[1];
}
} else if (command == "s") {
if (tlen == 2 || tlen == 3) {
bb = bb || el.getBBox(1);
m.scale(t[1], t[tlen - 1], bb.x + bb.width / 2, bb.y + bb.height / 2);
sx *= t[1];
sy *= t[tlen - 1];
} else if (tlen == 5) {
if (absolute) {
x2 = inver.x(t[3], t[4]);
y2 = inver.y(t[3], t[4]);
m.scale(t[1], t[2], x2, y2);
} else {
m.scale(t[1], t[2], t[3], t[4]);
}
sx *= t[1];
sy *= t[2];
}
} else if (command == "m" && tlen == 7) {
m.add(t[1], t[2], t[3], t[4], t[5], t[6]);
}
_.dirtyT = 1;
el.matrix = m;
}
}
el.matrix = m;
_.sx = sx;
_.sy = sy;
_.deg = deg;
_.dx = dx = m.e;
_.dy = dy = m.f;
if (sx == 1 && sy == 1 && !deg && _.bbox) {
_.bbox.x += +dx;
_.bbox.y += +dy;
} else {
_.dirtyT = 1;
}
},
getEmpty = function (item) {
var l = item[0];
switch (l.toLowerCase()) {
case "t": return [l, 0, 0];
case "m": return [l, 1, 0, 0, 1, 0, 0];
case "r": if (item.length == 4) {
return [l, 0, item[2], item[3]];
} else {
return [l, 0];
}
case "s": if (item.length == 5) {
return [l, 1, 1, item[3], item[4]];
} else if (item.length == 3) {
return [l, 1, 1];
} else {
return [l, 1];
}
}
},
equaliseTransform = R._equaliseTransform = function (t1, t2) {
t2 = Str(t2).replace(/\.{3}|\u2026/g, t1);
t1 = R.parseTransformString(t1) || [];
t2 = R.parseTransformString(t2) || [];
var maxlength = mmax(t1.length, t2.length),
from = [],
to = [],
i = 0, j, jj,
tt1, tt2;
for (; i < maxlength; i++) {
tt1 = t1[i] || getEmpty(t2[i]);
tt2 = t2[i] || getEmpty(tt1);
if ((tt1[0] != tt2[0]) ||
(tt1[0].toLowerCase() == "r" && (tt1[2] != tt2[2] || tt1[3] != tt2[3])) ||
(tt1[0].toLowerCase() == "s" && (tt1[3] != tt2[3] || tt1[4] != tt2[4]))
) {
return;
}
from[i] = [];
to[i] = [];
for (j = 0, jj = mmax(tt1.length, tt2.length); j < jj; j++) {
j in tt1 && (from[i][j] = tt1[j]);
j in tt2 && (to[i][j] = tt2[j]);
}
}
return {
from: from,
to: to
};
};
R._getContainer = function (x, y, w, h) {
var container;
container = h == null && !R.is(x, "object") ? g.doc.getElementById(x) : x;
if (container == null) {
return;
}
if (container.tagName) {
if (y == null) {
return {
container: container,
width: container.style.pixelWidth || container.offsetWidth,
height: container.style.pixelHeight || container.offsetHeight
};
} else {
return {
container: container,
width: y,
height: w
};
}
}
return {
container: 1,
x: x,
y: y,
width: w,
height: h
};
};
R.pathToRelative = pathToRelative;
R._engine = {};
R.path2curve = path2curve;
R.matrix = function (a, b, c, d, e, f) {
return new Matrix(a, b, c, d, e, f);
};
function Matrix(a, b, c, d, e, f) {
if (a != null) {
this.a = +a;
this.b = +b;
this.c = +c;
this.d = +d;
this.e = +e;
this.f = +f;
} else {
this.a = 1;
this.b = 0;
this.c = 0;
this.d = 1;
this.e = 0;
this.f = 0;
}
}
(function (matrixproto) {
matrixproto.add = function (a, b, c, d, e, f) {
var out = [[], [], []],
m = [[this.a, this.c, this.e], [this.b, this.d, this.f], [0, 0, 1]],
matrix = [[a, c, e], [b, d, f], [0, 0, 1]],
x, y, z, res;
if (a && a instanceof Matrix) {
matrix = [[a.a, a.c, a.e], [a.b, a.d, a.f], [0, 0, 1]];
}
for (x = 0; x < 3; x++) {
for (y = 0; y < 3; y++) {
res = 0;
for (z = 0; z < 3; z++) {
res += m[x][z] * matrix[z][y];
}
out[x][y] = res;
}
}
this.a = out[0][0];
this.b = out[1][0];
this.c = out[0][1];
this.d = out[1][1];
this.e = out[0][2];
this.f = out[1][2];
};
matrixproto.invert = function () {
var me = this,
x = me.a * me.d - me.b * me.c;
return new Matrix(me.d / x, -me.b / x, -me.c / x, me.a / x, (me.c * me.f - me.d * me.e) / x, (me.b * me.e - me.a * me.f) / x);
};
matrixproto.clone = function () {
return new Matrix(this.a, this.b, this.c, this.d, this.e, this.f);
};
matrixproto.translate = function (x, y) {
this.add(1, 0, 0, 1, x, y);
};
matrixproto.scale = function (x, y, cx, cy) {
y == null && (y = x);
(cx || cy) && this.add(1, 0, 0, 1, cx, cy);
this.add(x, 0, 0, y, 0, 0);
(cx || cy) && this.add(1, 0, 0, 1, -cx, -cy);
};
matrixproto.rotate = function (a, x, y) {
a = R.rad(a);
x = x || 0;
y = y || 0;
var cos = +math.cos(a).toFixed(9),
sin = +math.sin(a).toFixed(9);
this.add(cos, sin, -sin, cos, x, y);
this.add(1, 0, 0, 1, -x, -y);
};
matrixproto.x = function (x, y) {
return x * this.a + y * this.c + this.e;
};
matrixproto.y = function (x, y) {
return x * this.b + y * this.d + this.f;
};
matrixproto.get = function (i) {
return +this[Str.fromCharCode(97 + i)].toFixed(4);
};
matrixproto.toString = function () {
return R.svg ?
"matrix(" + [this.get(0), this.get(1), this.get(2), this.get(3), this.get(4), this.get(5)].join() + ")" :
[this.get(0), this.get(2), this.get(1), this.get(3), 0, 0].join();
};
matrixproto.toFilter = function () {
return "progid:DXImageTransform.Microsoft.Matrix(M11=" + this.get(0) +
", M12=" + this.get(2) + ", M21=" + this.get(1) + ", M22=" + this.get(3) +
", Dx=" + this.get(4) + ", Dy=" + this.get(5) + ", sizingmethod='auto expand')";
};
matrixproto.offset = function () {
return [this.e.toFixed(4), this.f.toFixed(4)];
};
function norm(a) {
return a[0] * a[0] + a[1] * a[1];
}
function normalize(a) {
var mag = math.sqrt(norm(a));
a[0] && (a[0] /= mag);
a[1] && (a[1] /= mag);
}
matrixproto.split = function () {
var out = {};
// translation
out.dx = this.e;
out.dy = this.f;
// scale and shear
var row = [[this.a, this.c], [this.b, this.d]];
out.scalex = math.sqrt(norm(row[0]));
normalize(row[0]);
out.shear = row[0][0] * row[1][0] + row[0][1] * row[1][1];
row[1] = [row[1][0] - row[0][0] * out.shear, row[1][1] - row[0][1] * out.shear];
out.scaley = math.sqrt(norm(row[1]));
normalize(row[1]);
out.shear /= out.scaley;
// rotation
var sin = -row[0][1],
cos = row[1][1];
if (cos < 0) {
out.rotate = R.deg(math.acos(cos));
if (sin < 0) {
out.rotate = 360 - out.rotate;
}
} else {
out.rotate = R.deg(math.asin(sin));
}
out.isSimple = !+out.shear.toFixed(9) && (out.scalex.toFixed(9) == out.scaley.toFixed(9) || !out.rotate);
out.isSuperSimple = !+out.shear.toFixed(9) && out.scalex.toFixed(9) == out.scaley.toFixed(9) && !out.rotate;
out.noRotation = !+out.shear.toFixed(9) && !out.rotate;
return out;
};
matrixproto.toTransformString = function (shorter) {
var s = shorter || this[split]();
if (s.isSimple) {
s.scalex = +s.scalex.toFixed(4);
s.scaley = +s.scaley.toFixed(4);
s.rotate = +s.rotate.toFixed(4);
return (s.dx && s.dy ? "t" + [s.dx, s.dy] : E) +
(s.scalex != 1 || s.scaley != 1 ? "s" + [s.scalex, s.scaley, 0, 0] : E) +
(s.rotate ? "r" + [s.rotate, 0, 0] : E);
} else {
return "m" + [this.get(0), this.get(1), this.get(2), this.get(3), this.get(4), this.get(5)];
}
};
})(Matrix.prototype);
// WebKit rendering bug workaround method
var version = navigator.userAgent.match(/Version\/(.*?)\s/) || navigator.userAgent.match(/Chrome\/(\d+)/);
if ((navigator.vendor == "Apple Computer, Inc.") && (version && version[1] < 4 || navigator.platform.slice(0, 2) == "iP") ||
(navigator.vendor == "Google Inc." && version && version[1] < 8)) {
paperproto.safari = function () {
var rect = this.rect(-99, -99, this.width + 99, this.height + 99).attr({stroke: "none"});
setTimeout(function () {rect.remove();});
};
} else {
paperproto.safari = fun;
}
var preventDefault = function () {
this.returnValue = false;
},
preventTouch = function () {
return this.originalEvent.preventDefault();
},
stopPropagation = function () {
this.cancelBubble = true;
},
stopTouch = function () {
return this.originalEvent.stopPropagation();
},
addEvent = (function () {
if (g.doc.addEventListener) {
return function (obj, type, fn, element) {
var realName = supportsTouch && touchMap[type] ? touchMap[type] : type,
f = function (e) {
var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
x = e.clientX + scrollX,
y = e.clientY + scrollY;
if (supportsTouch && touchMap[has](type)) {
for (var i = 0, ii = e.targetTouches && e.targetTouches.length; i < ii; i++) {
if (e.targetTouches[i].target == obj) {
var olde = e;
e = e.targetTouches[i];
e.originalEvent = olde;
e.preventDefault = preventTouch;
e.stopPropagation = stopTouch;
break;
}
}
}
return fn.call(element, e, x, y);
};
obj.addEventListener(realName, f, false);
return function () {
obj.removeEventListener(realName, f, false);
return true;
};
};
} else if (g.doc.attachEvent) {
return function (obj, type, fn, element) {
var f = function (e) {
e = e || g.win.event;
var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
x = e.clientX + scrollX,
y = e.clientY + scrollY;
e.preventDefault = e.preventDefault || preventDefault;
e.stopPropagation = e.stopPropagation || stopPropagation;
return fn.call(element, e, x, y);
};
obj.attachEvent("on" + type, f);
var detacher = function () {
obj.detachEvent("on" + type, f);
return true;
};
return detacher;
};
}
})(),
drag = [],
dragMove = function (e) {
var x = e.clientX,
y = e.clientY,
scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
dragi,
j = drag.length;
while (j--) {
dragi = drag[j];
if (supportsTouch) {
var i = e.touches.length,
touch;
while (i--) {
touch = e.touches[i];
if (touch.identifier == dragi.el._drag.id) {
x = touch.clientX;
y = touch.clientY;
(e.originalEvent ? e.originalEvent : e).preventDefault();
break;
}
}
} else {
e.preventDefault();
}
var node = dragi.el.node,
o,
next = node.nextSibling,
parent = node.parentNode,
display = node.style.display;
g.win.opera && parent.removeChild(node);
node.style.display = "none";
o = dragi.el.paper.getElementByPoint(x, y);
node.style.display = display;
g.win.opera && (next ? parent.insertBefore(node, next) : parent.appendChild(node));
o && eve("drag.over." + dragi.el.id, dragi.el, o);
x += scrollX;
y += scrollY;
eve("drag.move." + dragi.el.id, dragi.move_scope || dragi.el, x - dragi.el._drag.x, y - dragi.el._drag.y, x, y, e);
}
},
dragUp = function (e) {
R.unmousemove(dragMove).unmouseup(dragUp);
var i = drag.length,
dragi;
while (i--) {
dragi = drag[i];
dragi.el._drag = {};
eve("drag.end." + dragi.el.id, dragi.end_scope || dragi.start_scope || dragi.move_scope || dragi.el, e);
}
drag = [];
},
elproto = R.el = {};
for (var i = events.length; i--;) {
(function (eventName) {
R[eventName] = elproto[eventName] = function (fn, scope) {
if (R.is(fn, "function")) {
this.events = this.events || [];
this.events.push({name: eventName, f: fn, unbind: addEvent(this.shape || this.node || g.doc, eventName, fn, scope || this)});
}
return this;
};
R["un" + eventName] = elproto["un" + eventName] = function (fn) {
var events = this.events,
l = events.length;
while (l--) if (events[l].name == eventName && events[l].f == fn) {
events[l].unbind();
events.splice(l, 1);
!events.length && delete this.events;
return this;
}
return this;
};
})(events[i]);
}
elproto.data = function (key, value) {
var data = eldata[this.id] = eldata[this.id] || {};
if (arguments.length == 1) {
if (R.is(key, "object")) {
for (var i in key) if (key[has](i)) {
this.data(i, key[i]);
}
return this;
}
eve("data.get." + this.id, this, data[key], key);
return data[key];
}
data[key] = value;
eve("data.set." + this.id, this, value, key);
return this;
};
elproto.removeData = function (key) {
if (key == null) {
eldata[this.id] = {};
} else {
eldata[this.id] && delete eldata[this.id][key];
}
return this;
};
elproto.hover = function (f_in, f_out, scope_in, scope_out) {
return this.mouseover(f_in, scope_in).mouseout(f_out, scope_out || scope_in);
};
elproto.unhover = function (f_in, f_out) {
return this.unmouseover(f_in).unmouseout(f_out);
};
var draggable = [];
elproto.drag = function (onmove, onstart, onend, move_scope, start_scope, end_scope) {
function start(e) {
(e.originalEvent || e).preventDefault();
var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;
this._drag.x = e.clientX + scrollX;
this._drag.y = e.clientY + scrollY;
this._drag.id = e.identifier;
!drag.length && R.mousemove(dragMove).mouseup(dragUp);
drag.push({el: this, move_scope: move_scope, start_scope: start_scope, end_scope: end_scope});
onstart && eve.on("drag.start." + this.id, onstart);
onmove && eve.on("drag.move." + this.id, onmove);
onend && eve.on("drag.end." + this.id, onend);
eve("drag.start." + this.id, start_scope || move_scope || this, e.clientX + scrollX, e.clientY + scrollY, e);
}
this._drag = {};
draggable.push({el: this, start: start});
this.mousedown(start);
return this;
};
elproto.onDragOver = function (f) {
f ? eve.on("drag.over." + this.id, f) : eve.unbind("drag.over." + this.id);
};
elproto.undrag = function () {
var i = draggable.length;
while (i--) if (draggable[i].el == this) {
this.unmousedown(draggable[i].start);
draggable.splice(i, 1);
eve.unbind("drag.*." + this.id);
}
!draggable.length && R.unmousemove(dragMove).unmouseup(dragUp);
};
paperproto.circle = function (x, y, r) {
var out = R._engine.circle(this, x || 0, y || 0, r || 0);
this.__set__ && this.__set__.push(out);
return out;
};
paperproto.rect = function (x, y, w, h, r) {
var out = R._engine.rect(this, x || 0, y || 0, w || 0, h || 0, r || 0);
this.__set__ && this.__set__.push(out);
return out;
};
paperproto.ellipse = function (x, y, rx, ry) {
var out = R._engine.ellipse(this, x || 0, y || 0, rx || 0, ry || 0);
this.__set__ && this.__set__.push(out);
return out;
};
paperproto.path = function (pathString) {
pathString && !R.is(pathString, string) && !R.is(pathString[0], array) && (pathString += E);
var out = R._engine.path(R.format[apply](R, arguments), this);
this.__set__ && this.__set__.push(out);
return out;
};
paperproto.image = function (src, x, y, w, h) {
var out = R._engine.image(this, src || "about:blank", x || 0, y || 0, w || 0, h || 0);
this.__set__ && this.__set__.push(out);
return out;
};
paperproto.text = function (x, y, text) {
var out = R._engine.text(this, x || 0, y || 0, Str(text));
this.__set__ && this.__set__.push(out);
return out;
};
paperproto.set = function (itemsArray) {
!R.is(itemsArray, "array") && (itemsArray = Array.prototype.splice.call(arguments, 0, arguments.length));
var out = new Set(itemsArray);
this.__set__ && this.__set__.push(out);
return out;
};
paperproto.setStart = function (set) {
this.__set__ = set || this.set();
};
paperproto.setFinish = function (set) {
var out = this.__set__;
delete this.__set__;
return out;
};
paperproto.setSize = function (width, height) {
return R._engine.setSize.call(this, width, height);
};
paperproto.setViewBox = function (x, y, w, h, fit) {
return R._engine.setViewBox.call(this, x, y, w, h, fit);
};
paperproto.top = paperproto.bottom = null;
paperproto.raphael = R;
var getOffset = function (elem) {
var box = elem.getBoundingClientRect(),
doc = elem.ownerDocument,
body = doc.body,
docElem = doc.documentElement,
clientTop = docElem.clientTop || body.clientTop || 0, clientLeft = docElem.clientLeft || body.clientLeft || 0,
top = box.top + (g.win.pageYOffset || docElem.scrollTop || body.scrollTop ) - clientTop,
left = box.left + (g.win.pageXOffset || docElem.scrollLeft || body.scrollLeft) - clientLeft;
return {
y: top,
x: left
};
};
paperproto.getElementByPoint = function (x, y) {
var paper = this,
svg = paper.canvas,
target = g.doc.elementFromPoint(x, y);
if (g.win.opera && target.tagName == "svg") {
var so = getOffset(svg),
sr = svg.createSVGRect();
sr.x = x - so.x;
sr.y = y - so.y;
sr.width = sr.height = 1;
var hits = svg.getIntersectionList(sr, null);
if (hits.length) {
target = hits[hits.length - 1];
}
}
if (!target) {
return null;
}
while (target.parentNode && target != svg.parentNode && !target.raphael) {
target = target.parentNode;
}
target == paper.canvas.parentNode && (target = svg);
target = target && target.raphael ? paper.getById(target.raphaelid) : null;
return target;
};
paperproto.getById = function (id) {
var bot = this.bottom;
while (bot) {
if (bot.id == id) {
return bot;
}
bot = bot.next;
}
return null;
};
paperproto.forEach = function (callback, thisArg) {
var bot = this.bottom;
while (bot) {
if (callback.call(thisArg, bot) === false) {
return this;
}
bot = bot.next;
}
return this;
};
function x_y() {
return this.x + S + this.y;
}
function x_y_w_h() {
return this.x + S + this.y + S + this.width + " \xd7 " + this.height;
}
elproto.getBBox = function (isWithoutTransform) {
if (this.removed) {
return {};
}
var _ = this._;
if (isWithoutTransform) {
if (_.dirty || !_.bboxwt) {
this.realPath = getPath[this.type](this);
_.bboxwt = pathDimensions(this.realPath);
_.bboxwt.toString = x_y_w_h;
_.dirty = 0;
}
return _.bboxwt;
}
if (_.dirty || _.dirtyT || !_.bbox) {
if (_.dirty || !this.realPath) {
_.bboxwt = 0;
this.realPath = getPath[this.type](this);
}
_.bbox = pathDimensions(mapPath(this.realPath, this.matrix));
_.bbox.toString = x_y_w_h;
_.dirty = _.dirtyT = 0;
}
return _.bbox;
};
elproto.clone = function () {
if (this.removed) {
return null;
}
var out = this.paper[this.type]().attr(this.attr());
this.__set__ && this.__set__.push(out);
return out;
};
elproto.glow = function (glow) {
if (this.type == "text") {
return null;
}
glow = glow || {};
var s = {
width: (glow.width || 10) + (+this.attr("stroke-width") || 1),
fill: glow.fill || false,
opacity: glow.opacity || .5,
offsetx: glow.offsetx || 0,
offsety: glow.offsety || 0,
color: glow.color || "#000"
},
c = s.width / 2,
r = this.paper,
out = r.set(),
path = this.realPath || getPath[this.type](this);
path = this.matrix ? mapPath(path, this.matrix) : path;
for (var i = 1; i < c + 1; i++) {
out.push(r.path(path).attr({
stroke: s.color,
fill: s.fill ? s.color : "none",
"stroke-linejoin": "round",
"stroke-linecap": "round",
"stroke-width": +(s.width / c * i).toFixed(3),
opacity: +(s.opacity / c).toFixed(3)
}));
}
return out.insertBefore(this).translate(s.offsetx, s.offsety);
};
var curveslengths = {},
getPointAtSegmentLength = function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, length) {
var len = 0,
precision = 100,
name = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y].join(),
cache = curveslengths[name],
old, dot;
!cache && (curveslengths[name] = cache = {data: []});
cache.timer && clearTimeout(cache.timer);
cache.timer = setTimeout(function () {delete curveslengths[name];}, 2e3);
if (length != null && !cache.precision) {
var total = getPointAtSegmentLength(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y);
cache.precision = ~~total * 10;
cache.data = [];
}
precision = cache.precision || precision;
for (var i = 0; i < precision + 1; i++) {
if (cache.data[i * precision]) {
dot = cache.data[i * precision];
} else {
dot = R.findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, i / precision);
cache.data[i * precision] = dot;
}
i && (len += pow(pow(old.x - dot.x, 2) + pow(old.y - dot.y, 2), .5));
if (length != null && len >= length) {
return dot;
}
old = dot;
}
if (length == null) {
return len;
}
},
getLengthFactory = function (istotal, subpath) {
return function (path, length, onlystart) {
path = path2curve(path);
var x, y, p, l, sp = "", subpaths = {}, point,
len = 0;
for (var i = 0, ii = path.length; i < ii; i++) {
p = path[i];
if (p[0] == "M") {
x = +p[1];
y = +p[2];
} else {
l = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6]);
if (len + l > length) {
if (subpath && !subpaths.start) {
point = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6], length - len);
sp += ["C" + point.start.x, point.start.y, point.m.x, point.m.y, point.x, point.y];
if (onlystart) {return sp;}
subpaths.start = sp;
sp = ["M" + point.x, point.y + "C" + point.n.x, point.n.y, point.end.x, point.end.y, p[5], p[6]].join();
len += l;
x = +p[5];
y = +p[6];
continue;
}
if (!istotal && !subpath) {
point = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6], length - len);
return {x: point.x, y: point.y, alpha: point.alpha};
}
}
len += l;
x = +p[5];
y = +p[6];
}
sp += p.shift() + p;
}
subpaths.end = sp;
point = istotal ? len : subpath ? subpaths : R.findDotsAtSegment(x, y, p[0], p[1], p[2], p[3], p[4], p[5], 1);
point.alpha && (point = {x: point.x, y: point.y, alpha: point.alpha});
return point;
};
};
var getTotalLength = getLengthFactory(1),
getPointAtLength = getLengthFactory(),
getSubpathsAtLength = getLengthFactory(0, 1);
R.getTotalLength = getTotalLength;
R.getPointAtLength = getPointAtLength;
R.getSubpath = function (path, from, to) {
if (this.getTotalLength(path) - to < 1e-6) {
return getSubpathsAtLength(path, from).end;
}
var a = getSubpathsAtLength(path, to, 1);
return from ? getSubpathsAtLength(a, from).end : a;
};
elproto.getTotalLength = function () {
if (this.type != "path") {return;}
if (this.node.getTotalLength) {
return this.node.getTotalLength();
}
return getTotalLength(this.attrs.path);
};
elproto.getPointAtLength = function (length) {
if (this.type != "path") {return;}
return getPointAtLength(this.attrs.path, length);
};
elproto.getSubpath = function (from, to) {
if (this.type != "path") {return;}
return R.getSubpath(this.attrs.path, from, to);
};
var ef = R.easing_formulas = {
linear: function (n) {
return n;
},
"<": function (n) {
return pow(n, 1.7);
},
">": function (n) {
return pow(n, .48);
},
"<>": function (n) {
var q = .48 - n / 1.04,
Q = math.sqrt(.1734 + q * q),
x = Q - q,
X = pow(abs(x), 1 / 3) * (x < 0 ? -1 : 1),
y = -Q - q,
Y = pow(abs(y), 1 / 3) * (y < 0 ? -1 : 1),
t = X + Y + .5;
return (1 - t) * 3 * t * t + t * t * t;
},
backIn: function (n) {
var s = 1.70158;
return n * n * ((s + 1) * n - s);
},
backOut: function (n) {
n = n - 1;
var s = 1.70158;
return n * n * ((s + 1) * n + s) + 1;
},
elastic: function (n) {
if (n == !!n) {
return n;
}
return pow(2, -10 * n) * math.sin((n - .075) * (2 * PI) / .3) + 1;
},
bounce: function (n) {
var s = 7.5625,
p = 2.75,
l;
if (n < (1 / p)) {
l = s * n * n;
} else {
if (n < (2 / p)) {
n -= (1.5 / p);
l = s * n * n + .75;
} else {
if (n < (2.5 / p)) {
n -= (2.25 / p);
l = s * n * n + .9375;
} else {
n -= (2.625 / p);
l = s * n * n + .984375;
}
}
}
return l;
}
};
ef.easeIn = ef["ease-in"] = ef["<"];
ef.easeOut = ef["ease-out"] = ef[">"];
ef.easeInOut = ef["ease-in-out"] = ef["<>"];
ef["back-in"] = ef.backIn;
ef["back-out"] = ef.backOut;
var animationElements = [],
requestAnimFrame = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (callback) {
setTimeout(callback, 16);
},
animation = function () {
var Now = +new Date,
l = 0;
for (; l < animationElements.length; l++) {
var e = animationElements[l];
if (e.el.removed || e.paused) {
continue;
}
var time = Now - e.start,
ms = e.ms,
easing = e.easing,
from = e.from,
diff = e.diff,
to = e.to,
t = e.t,
that = e.el,
set = {},
now,
init = {},
key;
if (e.initstatus) {
time = (e.initstatus * e.anim.top - e.prev) / (e.percent - e.prev) * ms;
e.status = e.initstatus;
delete e.initstatus;
e.stop && animationElements.splice(l--, 1);
} else {
e.status = (e.prev + (e.percent - e.prev) * (time / ms)) / e.anim.top;
}
if (time < 0) {
continue;
}
if (time < ms) {
var pos = easing(time / ms);
for (var attr in from) if (from[has](attr)) {
switch (availableAnimAttrs[attr]) {
case nu:
now = +from[attr] + pos * ms * diff[attr];
break;
case "colour":
now = "rgb(" + [
upto255(round(from[attr].r + pos * ms * diff[attr].r)),
upto255(round(from[attr].g + pos * ms * diff[attr].g)),
upto255(round(from[attr].b + pos * ms * diff[attr].b))
].join(",") + ")";
break;
case "path":
now = [];
for (var i = 0, ii = from[attr].length; i < ii; i++) {
now[i] = [from[attr][i][0]];
for (var j = 1, jj = from[attr][i].length; j < jj; j++) {
now[i][j] = +from[attr][i][j] + pos * ms * diff[attr][i][j];
}
now[i] = now[i].join(S);
}
now = now.join(S);
break;
case "transform":
if (diff[attr].real) {
now = [];
for (i = 0, ii = from[attr].length; i < ii; i++) {
now[i] = [from[attr][i][0]];
for (j = 1, jj = from[attr][i].length; j < jj; j++) {
now[i][j] = from[attr][i][j] + pos * ms * diff[attr][i][j];
}
}
} else {
var get = function (i) {
return +from[attr][i] + pos * ms * diff[attr][i];
};
// now = [["r", get(2), 0, 0], ["t", get(3), get(4)], ["s", get(0), get(1), 0, 0]];
now = [["m", get(0), get(1), get(2), get(3), get(4), get(5)]];
}
break;
case "csv":
if (attr == "clip-rect") {
now = [];
i = 4;
while (i--) {
now[i] = +from[attr][i] + pos * ms * diff[attr][i];
}
}
break;
default:
var from2 = [][concat](from[attr]);
now = [];
i = that.paper.customAttributes[attr].length;
while (i--) {
now[i] = +from2[i] + pos * ms * diff[attr][i];
}
break;
}
set[attr] = now;
}
that.attr(set);
(function (id, that, anim) {
setTimeout(function () {
eve("anim.frame." + id, that, anim);
});
})(that.id, that, e.anim);
} else {
(function(f, el, a) {
setTimeout(function() {
eve("anim.frame." + el.id, el, a);
eve("anim.finish." + el.id, el, a);
R.is(f, "function") && f.call(el);
});
})(e.callback, that, e.anim);
that.attr(to);
animationElements.splice(l--, 1);
if (e.repeat > 1 && !e.next) {
for (key in to) if (to[has](key)) {
init[key] = e.totalOrigin[key];
}
e.el.attr(init);
runAnimation(e.anim, e.el, e.anim.percents[0], null, e.totalOrigin, e.repeat - 1);
}
if (e.next && !e.stop) {
runAnimation(e.anim, e.el, e.next, null, e.totalOrigin, e.repeat);
}
}
}
R.svg && that && that.paper && that.paper.safari();
animationElements.length && requestAnimFrame(animation);
},
upto255 = function (color) {
return color > 255 ? 255 : color < 0 ? 0 : color;
};
elproto.animateWith = function (element, anim, params, ms, easing, callback) {
var a = params ? R.animation(params, ms, easing, callback) : anim,
status = element.status(anim);
return this.animate(a).status(a, status * anim.ms / a.ms);
};
function CubicBezierAtTime(t, p1x, p1y, p2x, p2y, duration) {
var cx = 3 * p1x,
bx = 3 * (p2x - p1x) - cx,
ax = 1 - cx - bx,
cy = 3 * p1y,
by = 3 * (p2y - p1y) - cy,
ay = 1 - cy - by;
function sampleCurveX(t) {
return ((ax * t + bx) * t + cx) * t;
}
function solve(x, epsilon) {
var t = solveCurveX(x, epsilon);
return ((ay * t + by) * t + cy) * t;
}
function solveCurveX(x, epsilon) {
var t0, t1, t2, x2, d2, i;
for(t2 = x, i = 0; i < 8; i++) {
x2 = sampleCurveX(t2) - x;
if (abs(x2) < epsilon) {
return t2;
}
d2 = (3 * ax * t2 + 2 * bx) * t2 + cx;
if (abs(d2) < 1e-6) {
break;
}
t2 = t2 - x2 / d2;
}
t0 = 0;
t1 = 1;
t2 = x;
if (t2 < t0) {
return t0;
}
if (t2 > t1) {
return t1;
}
while (t0 < t1) {
x2 = sampleCurveX(t2);
if (abs(x2 - x) < epsilon) {
return t2;
}
if (x > x2) {
t0 = t2;
} else {
t1 = t2;
}
t2 = (t1 - t0) / 2 + t0;
}
return t2;
}
return solve(t, 1 / (200 * duration));
}
elproto.onAnimation = function (f) {
f ? eve.on("anim.frame." + this.id, f) : eve.unbind("anim.frame." + this.id);
return this;
};
function Animation(anim, ms) {
var percents = [],
newAnim = {};
this.ms = ms;
this.times = 1;
if (anim) {
for (var attr in anim) if (anim[has](attr)) {
newAnim[toFloat(attr)] = anim[attr];
percents.push(toFloat(attr));
}
percents.sort(sortByNumber);
}
this.anim = newAnim;
this.top = percents[percents.length - 1];
this.percents = percents;
}
Animation.prototype.delay = function (delay) {
var a = new Animation(this.anim, this.ms);
a.times = this.times;
a.del = +delay || 0;
return a;
};
Animation.prototype.repeat = function (times) {
var a = new Animation(this.anim, this.ms);
a.del = this.del;
a.times = math.floor(mmax(times, 0)) || 1;
return a;
};
function runAnimation(anim, element, percent, status, totalOrigin, times) {
percent = toFloat(percent);
var params,
isInAnim,
isInAnimSet,
percents = [],
next,
prev,
timestamp,
ms = anim.ms,
from = {},
to = {},
diff = {};
if (status) {
for (i = 0, ii = animationElements.length; i < ii; i++) {
var e = animationElements[i];
if (e.el.id == element.id && e.anim == anim) {
if (e.percent != percent) {
animationElements.splice(i, 1);
isInAnimSet = 1;
} else {
isInAnim = e;
}
element.attr(e.totalOrigin);
break;
}
}
} else {
status = +to; // NaN
}
for (var i = 0, ii = anim.percents.length; i < ii; i++) {
if (anim.percents[i] == percent || anim.percents[i] > status * anim.top) {
percent = anim.percents[i];
prev = anim.percents[i - 1] || 0;
ms = ms / anim.top * (percent - prev);
next = anim.percents[i + 1];
params = anim.anim[percent];
break;
} else if (status) {
element.attr(anim.anim[anim.percents[i]]);
}
}
if (!params) {
return;
}
if (!isInAnim) {
for (var attr in params) if (params[has](attr)) {
if (availableAnimAttrs[has](attr) || element.paper.customAttributes[has](attr)) {
from[attr] = element.attr(attr);
(from[attr] == null) && (from[attr] = availableAttrs[attr]);
to[attr] = params[attr];
switch (availableAnimAttrs[attr]) {
case nu:
diff[attr] = (to[attr] - from[attr]) / ms;
break;
case "colour":
from[attr] = R.getRGB(from[attr]);
var toColour = R.getRGB(to[attr]);
diff[attr] = {
r: (toColour.r - from[attr].r) / ms,
g: (toColour.g - from[attr].g) / ms,
b: (toColour.b - from[attr].b) / ms
};
break;
case "path":
var pathes = path2curve(from[attr], to[attr]),
toPath = pathes[1];
from[attr] = pathes[0];
diff[attr] = [];
for (i = 0, ii = from[attr].length; i < ii; i++) {
diff[attr][i] = [0];
for (var j = 1, jj = from[attr][i].length; j < jj; j++) {
diff[attr][i][j] = (toPath[i][j] - from[attr][i][j]) / ms;
}
}
break;
case "transform":
var _ = element._,
eq = equaliseTransform(_[attr], to[attr]);
if (eq) {
from[attr] = eq.from;
to[attr] = eq.to;
diff[attr] = [];
diff[attr].real = true;
for (i = 0, ii = from[attr].length; i < ii; i++) {
diff[attr][i] = [from[attr][i][0]];
for (j = 1, jj = from[attr][i].length; j < jj; j++) {
diff[attr][i][j] = (to[attr][i][j] - from[attr][i][j]) / ms;
}
}
} else {
var m = (element.matrix || new Matrix),
to2 = {
_: {transform: _.transform},
getBBox: function () {
return element.getBBox(1);
}
};
from[attr] = [
m.a,
m.b,
m.c,
m.d,
m.e,
m.f
];
extractTransform(to2, to[attr]);
to[attr] = to2._.transform;
diff[attr] = [
(to2.matrix.a - m.a) / ms,
(to2.matrix.b - m.b) / ms,
(to2.matrix.c - m.c) / ms,
(to2.matrix.d - m.d) / ms,
(to2.matrix.e - m.e) / ms,
(to2.matrix.e - m.f) / ms
];
// from[attr] = [_.sx, _.sy, _.deg, _.dx, _.dy];
// var to2 = {_:{}, getBBox: function () { return element.getBBox(); }};
// extractTransform(to2, to[attr]);
// diff[attr] = [
// (to2._.sx - _.sx) / ms,
// (to2._.sy - _.sy) / ms,
// (to2._.deg - _.deg) / ms,
// (to2._.dx - _.dx) / ms,
// (to2._.dy - _.dy) / ms
// ];
}
break;
case "csv":
var values = Str(params[attr])[split](separator),
from2 = Str(from[attr])[split](separator);
if (attr == "clip-rect") {
from[attr] = from2;
diff[attr] = [];
i = from2.length;
while (i--) {
diff[attr][i] = (values[i] - from[attr][i]) / ms;
}
}
to[attr] = values;
break;
default:
values = [][concat](params[attr]);
from2 = [][concat](from[attr]);
diff[attr] = [];
i = element.paper.customAttributes[attr].length;
while (i--) {
diff[attr][i] = ((values[i] || 0) - (from2[i] || 0)) / ms;
}
break;
}
}
}
var easing = params.easing,
easyeasy = R.easing_formulas[easing];
if (!easyeasy) {
easyeasy = Str(easing).match(bezierrg);
if (easyeasy && easyeasy.length == 5) {
var curve = easyeasy;
easyeasy = function (t) {
return CubicBezierAtTime(t, +curve[1], +curve[2], +curve[3], +curve[4], ms);
};
} else {
easyeasy = pipe;
}
}
timestamp = params.start || anim.start || +new Date;
e = {
anim: anim,
percent: percent,
timestamp: timestamp,
start: timestamp + (anim.del || 0),
status: 0,
initstatus: status || 0,
stop: false,
ms: ms,
easing: easyeasy,
from: from,
diff: diff,
to: to,
el: element,
callback: params.callback,
prev: prev,
next: next,
repeat: times || anim.times,
origin: element.attr(),
totalOrigin: totalOrigin
};
animationElements.push(e);
if (status && !isInAnim && !isInAnimSet) {
e.stop = true;
e.start = new Date - ms * status;
if (animationElements.length == 1) {
return animation();
}
}
if (isInAnimSet) {
e.start = new Date - e.ms * status;
}
animationElements.length == 1 && requestAnimFrame(animation);
} else {
isInAnim.initstatus = status;
isInAnim.start = new Date - isInAnim.ms * status;
}
eve("anim.start." + element.id, element, anim);
}
R.animation = function (params, ms, easing, callback) {
if (params instanceof Animation) {
return params;
}
if (R.is(easing, "function") || !easing) {
callback = callback || easing || null;
easing = null;
}
params = Object(params);
ms = +ms || 0;
var p = {},
json,
attr;
for (attr in params) if (params[has](attr) && toFloat(attr) != attr && toFloat(attr) + "%" != attr) {
json = true;
p[attr] = params[attr];
}
if (!json) {
return new Animation(params, ms);
} else {
easing && (p.easing = easing);
callback && (p.callback = callback);
return new Animation({100: p}, ms);
}
};
elproto.animate = function (params, ms, easing, callback) {
var element = this;
if (element.removed) {
callback && callback.call(element);
return element;
}
var anim = params instanceof Animation ? params : R.animation(params, ms, easing, callback);
runAnimation(anim, element, anim.percents[0], null, element.attr());
return element;
};
elproto.setTime = function (anim, value) {
if (anim && value != null) {
this.status(anim, mmin(value, anim.ms) / anim.ms);
}
return this;
};
elproto.status = function (anim, value) {
var out = [],
i = 0,
len,
e;
if (value != null) {
runAnimation(anim, this, -1, mmin(value, 1));
return this;
} else {
len = animationElements.length;
for (; i < len; i++) {
e = animationElements[i];
if (e.el.id == this.id && (!anim || e.anim == anim)) {
if (anim) {
return e.status;
}
out.push({
anim: e.anim,
status: e.status
});
}
}
if (anim) {
return 0;
}
return out;
}
};
elproto.pause = function (anim) {
for (var i = 0; i < animationElements.length; i++) if (animationElements[i].el.id == this.id && (!anim || animationElements[i].anim == anim)) {
if (eve("anim.pause." + this.id, this, animationElements[i].anim) !== false) {
animationElements[i].paused = true;
}
}
return this;
};
elproto.resume = function (anim) {
for (var i = 0; i < animationElements.length; i++) if (animationElements[i].el.id == this.id && (!anim || animationElements[i].anim == anim)) {
var e = animationElements[i];
if (eve("anim.resume." + this.id, this, e.anim) !== false) {
delete e.paused;
this.status(e.anim, e.status);
}
}
return this;
};
elproto.stop = function (anim) {
for (var i = 0; i < animationElements.length; i++) if (animationElements[i].el.id == this.id && (!anim || animationElements[i].anim == anim)) {
if (eve("anim.stop." + this.id, this, animationElements[i].anim) !== false) {
animationElements.splice(i--, 1);
}
}
return this;
};
elproto.toString = function () {
return "Rapha\xebl\u2019s object";
};
// Set
var Set = function (items) {
this.items = [];
this.length = 0;
this.type = "set";
if (items) {
for (var i = 0, ii = items.length; i < ii; i++) {
if (items[i] && (items[i].constructor == elproto.constructor || items[i].constructor == Set)) {
this[this.items.length] = this.items[this.items.length] = items[i];
this.length++;
}
}
}
},
setproto = Set.prototype;
setproto.push = function () {
var item,
len;
for (var i = 0, ii = arguments.length; i < ii; i++) {
item = arguments[i];
if (item && (item.constructor == elproto.constructor || item.constructor == Set)) {
len = this.items.length;
this[len] = this.items[len] = item;
this.length++;
}
}
return this;
};
setproto.pop = function () {
this.length && delete this[this.length--];
return this.items.pop();
};
setproto.forEach = function (callback, thisArg) {
for (var i = 0, ii = this.items.length; i < ii; i++) {
if (callback.call(thisArg, this.items[i], i) === false) {
return this;
}
}
return this;
};
for (var method in elproto) if (elproto[has](method)) {
setproto[method] = (function (methodname) {
return function () {
var arg = arguments;
return this.forEach(function (el) {
el[methodname][apply](el, arg);
});
};
})(method);
}
setproto.attr = function (name, value) {
if (name && R.is(name, array) && R.is(name[0], "object")) {
for (var j = 0, jj = name.length; j < jj; j++) {
this.items[j].attr(name[j]);
}
} else {
for (var i = 0, ii = this.items.length; i < ii; i++) {
this.items[i].attr(name, value);
}
}
return this;
};
setproto.clear = function () {
while (this.length) {
this.pop();
}
};
setproto.splice = function (index, count, insertion) {
index = index < 0 ? mmax(this.length + index, 0) : index;
count = mmax(0, mmin(this.length - index, count));
var tail = [],
todel = [],
args = [],
i;
for (i = 2; i < arguments.length; i++) {
args.push(arguments[i]);
}
for (i = 0; i < count; i++) {
todel.push(this[index + i]);
}
for (; i < this.length - index; i++) {
tail.push(this[index + i]);
}
var arglen = args.length;
for (i = 0; i < arglen + tail.length; i++) {
this.items[index + i] = this[index + i] = i < arglen ? args[i] : tail[i - arglen];
}
i = this.items.length = this.length -= count - arglen;
while (this[i]) {
delete this[i++];
}
return new Set(todel);
};
setproto.exclude = function (el) {
for (var i = 0, ii = this.length; i < ii; i++) if (this[i] == el) {
this.splice(i, 1);
return true;
}
};
setproto.animate = function (params, ms, easing, callback) {
(R.is(easing, "function") || !easing) && (callback = easing || null);
var len = this.items.length,
i = len,
item,
set = this,
collector;
if (!len) {
return this;
}
callback && (collector = function () {
!--len && callback.call(set);
});
easing = R.is(easing, string) ? easing : collector;
var anim = R.animation(params, ms, easing, collector);
item = this.items[--i].animate(anim);
while (i--) {
this.items[i] && !this.items[i].removed && this.items[i].animateWith(item, anim);
}
return this;
};
setproto.insertAfter = function (el) {
var i = this.items.length;
while (i--) {
this.items[i].insertAfter(el);
}
return this;
};
setproto.getBBox = function () {
var x = [],
y = [],
w = [],
h = [];
for (var i = this.items.length; i--;) if (!this.items[i].removed) {
var box = this.items[i].getBBox();
x.push(box.x);
y.push(box.y);
w.push(box.x + box.width);
h.push(box.y + box.height);
}
x = mmin[apply](0, x);
y = mmin[apply](0, y);
return {
x: x,
y: y,
width: mmax[apply](0, w) - x,
height: mmax[apply](0, h) - y
};
};
setproto.clone = function (s) {
s = new Set;
for (var i = 0, ii = this.items.length; i < ii; i++) {
s.push(this.items[i].clone());
}
return s;
};
setproto.toString = function () {
return "Rapha\xebl\u2018s set";
};
R.registerFont = function (font) {
if (!font.face) {
return font;
}
this.fonts = this.fonts || {};
var fontcopy = {
w: font.w,
face: {},
glyphs: {}
},
family = font.face["font-family"];
for (var prop in font.face) if (font.face[has](prop)) {
fontcopy.face[prop] = font.face[prop];
}
if (this.fonts[family]) {
this.fonts[family].push(fontcopy);
} else {
this.fonts[family] = [fontcopy];
}
if (!font.svg) {
fontcopy.face["units-per-em"] = toInt(font.face["units-per-em"], 10);
for (var glyph in font.glyphs) if (font.glyphs[has](glyph)) {
var path = font.glyphs[glyph];
fontcopy.glyphs[glyph] = {
w: path.w,
k: {},
d: path.d && "M" + path.d.replace(/[mlcxtrv]/g, function (command) {
return {l: "L", c: "C", x: "z", t: "m", r: "l", v: "c"}[command] || "M";
}) + "z"
};
if (path.k) {
for (var k in path.k) if (path[has](k)) {
fontcopy.glyphs[glyph].k[k] = path.k[k];
}
}
}
}
return font;
};
paperproto.getFont = function (family, weight, style, stretch) {
stretch = stretch || "normal";
style = style || "normal";
weight = +weight || {normal: 400, bold: 700, lighter: 300, bolder: 800}[weight] || 400;
if (!R.fonts) {
return;
}
var font = R.fonts[family];
if (!font) {
var name = new RegExp("(^|\\s)" + family.replace(/[^\w\d\s+!~.:_-]/g, E) + "(\\s|$)", "i");
for (var fontName in R.fonts) if (R.fonts[has](fontName)) {
if (name.test(fontName)) {
font = R.fonts[fontName];
break;
}
}
}
var thefont;
if (font) {
for (var i = 0, ii = font.length; i < ii; i++) {
thefont = font[i];
if (thefont.face["font-weight"] == weight && (thefont.face["font-style"] == style || !thefont.face["font-style"]) && thefont.face["font-stretch"] == stretch) {
break;
}
}
}
return thefont;
};
paperproto.print = function (x, y, string, font, size, origin, letter_spacing) {
origin = origin || "middle"; // baseline|middle
letter_spacing = mmax(mmin(letter_spacing || 0, 1), -1);
var out = this.set(),
letters = Str(string)[split](E),
shift = 0,
path = E,
scale;
R.is(font, string) && (font = this.getFont(font));
if (font) {
scale = (size || 16) / font.face["units-per-em"];
var bb = font.face.bbox[split](separator),
top = +bb[0],
height = +bb[1] + (origin == "baseline" ? bb[3] - bb[1] + (+font.face.descent) : (bb[3] - bb[1]) / 2);
for (var i = 0, ii = letters.length; i < ii; i++) {
var prev = i && font.glyphs[letters[i - 1]] || {},
curr = font.glyphs[letters[i]];
shift += i ? (prev.w || font.w) + (prev.k && prev.k[letters[i]] || 0) + (font.w * letter_spacing) : 0;
curr && curr.d && out.push(this.path(curr.d).attr({
fill: "#000",
stroke: "none",
transform: [["t", shift * scale, 0]]
}));
}
out.transform(["...s", scale, scale, top, height, "t", (x - top) / scale, (y - height) / scale]);
}
return out;
};
paperproto.add = function (json) {
if (R.is(json, "array")) {
var res = this.set(),
i = 0,
ii = json.length,
j;
for (; i < ii; i++) {
j = json[i] || {};
elements[has](j.type) && res.push(this[j.type]().attr(j));
}
}
return res;
};
R.format = function (token, params) {
var args = R.is(params, array) ? [0][concat](params) : arguments;
token && R.is(token, string) && args.length - 1 && (token = token.replace(formatrg, function (str, i) {
return args[++i] == null ? E : args[i];
}));
return token || E;
};
R.fullfill = (function () {
var tokenRegex = /\{([^\}]+)\}/g,
objNotationRegex = /(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g, // matches .xxxxx or ["xxxxx"] to run over object properties
replacer = function (all, key, obj) {
var res = obj;
key.replace(objNotationRegex, function (all, name, quote, quotedName, isFunc) {
name = name || quotedName;
if (res) {
if (name in res) {
res = res[name];
}
typeof res == "function" && isFunc && (res = res());
}
});
res = (res == null || res == obj ? all : res) + "";
return res;
};
return function (str, obj) {
return String(str).replace(tokenRegex, function (all, key) {
return replacer(all, key, obj);
});
};
})();
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
return R;
};
R.st = setproto;
// Firefox <3.6 fix: http://webreflection.blogspot.com/2009/11/195-chars-to-help-lazy-loading.html
(function (doc, loaded, f) {
if (doc.readyState == null && doc.addEventListener){
doc.addEventListener(loaded, f = function () {
doc.removeEventListener(loaded, f, false);
doc.readyState = "complete";
}, false);
doc.readyState = "loading";
}
function isLoaded() {
(/in/).test(doc.readyState) ? setTimeout(isLoaded, 9) : R.eve("DOMload");
}
isLoaded();
})(document, "DOMContentLoaded");
oldRaphael.was ? (g.win.Raphael = R) : (Raphael = R);
eve.on("DOMload", function () {
loaded = true;
});
})();
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ SVG Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
window.Raphael.svg && function (R) {
var has = "hasOwnProperty",
Str = String,
toFloat = parseFloat,
toInt = parseInt,
math = Math,
mmax = math.max,
abs = math.abs,
pow = math.pow,
separator = /[, ]+/,
eve = R.eve,
E = "",
S = " ";
var xlink = "http://www.w3.org/1999/xlink",
markers = {
block: "M5,0 0,2.5 5,5z",
classic: "M5,0 0,2.5 5,5 3.5,3 3.5,2z",
diamond: "M2.5,0 5,2.5 2.5,5 0,2.5z",
open: "M6,1 1,3.5 6,6",
oval: "M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"
},
markerCounter = {};
R.toString = function () {
return "Your browser supports SVG.\nYou are running Rapha\xebl " + this.version;
};
var $ = function (el, attr) {
if (attr) {
if (typeof el == "string") {
el = $(el);
}
for (var key in attr) if (attr[has](key)) {
if (key.substring(0, 6) == "xlink:") {
el.setAttributeNS(xlink, key.substring(6), Str(attr[key]));
} else {
el.setAttribute(key, Str(attr[key]));
}
}
} else {
el = R._g.doc.createElementNS("http://www.w3.org/2000/svg", el);
el.style && (el.style.webkitTapHighlightColor = "rgba(0,0,0,0)");
}
return el;
},
addGradientFill = function (element, gradient) {
var type = "linear",
id = element.id + gradient,
fx = .5, fy = .5,
o = element.node,
SVG = element.paper,
s = o.style,
el = R._g.doc.getElementById(id);
if (!el) {
gradient = Str(gradient).replace(R._radial_gradient, function (all, _fx, _fy) {
type = "radial";
if (_fx && _fy) {
fx = toFloat(_fx);
fy = toFloat(_fy);
var dir = ((fy > .5) * 2 - 1);
pow(fx - .5, 2) + pow(fy - .5, 2) > .25 &&
(fy = math.sqrt(.25 - pow(fx - .5, 2)) * dir + .5) &&
fy != .5 &&
(fy = fy.toFixed(5) - 1e-5 * dir);
}
return E;
});
gradient = gradient.split(/\s*\-\s*/);
if (type == "linear") {
var angle = gradient.shift();
angle = -toFloat(angle);
if (isNaN(angle)) {
return null;
}
var vector = [0, 0, math.cos(R.rad(angle)), math.sin(R.rad(angle))],
max = 1 / (mmax(abs(vector[2]), abs(vector[3])) || 1);
vector[2] *= max;
vector[3] *= max;
if (vector[2] < 0) {
vector[0] = -vector[2];
vector[2] = 0;
}
if (vector[3] < 0) {
vector[1] = -vector[3];
vector[3] = 0;
}
}
var dots = R._parseDots(gradient);
if (!dots) {
return null;
}
id = id.replace(/[\(\)\s,\xb0#]/g, "_");
if (element.gradient && id != element.gradient.id) {
SVG.defs.removeChild(element.gradient);
delete element.gradient;
}
if (!element.gradient) {
el = $(type + "Gradient", {id: id});
element.gradient = el;
$(el, type == "radial" ? {
fx: fx,
fy: fy
} : {
x1: vector[0],
y1: vector[1],
x2: vector[2],
y2: vector[3],
gradientTransform: element.matrix.invert()
});
SVG.defs.appendChild(el);
for (var i = 0, ii = dots.length; i < ii; i++) {
el.appendChild($("stop", {
offset: dots[i].offset ? dots[i].offset : i ? "100%" : "0%",
"stop-color": dots[i].color || "#fff"
}));
}
}
}
$(o, {
fill: "url(#" + id + ")",
opacity: 1,
"fill-opacity": 1
});
s.fill = E;
s.opacity = 1;
s.fillOpacity = 1;
return 1;
},
updatePosition = function (o) {
var bbox = o.getBBox(1);
$(o.pattern, {patternTransform: o.matrix.invert() + " translate(" + bbox.x + "," + bbox.y + ")"});
},
addArrow = function (o, value, isEnd) {
if (o.type == "path") {
var values = Str(value).toLowerCase().split("-"),
p = o.paper,
se = isEnd ? "end" : "start",
node = o.node,
attrs = o.attrs,
stroke = attrs["stroke-width"],
i = values.length,
type = "classic",
from,
to,
dx,
refX,
attr,
w = 3,
h = 3,
t = 5;
while (i--) {
switch (values[i]) {
case "block":
case "classic":
case "oval":
case "diamond":
case "open":
case "none":
type = values[i];
break;
case "wide": h = 5; break;
case "narrow": h = 2; break;
case "long": w = 5; break;
case "short": w = 2; break;
}
}
if (type == "open") {
w += 2;
h += 2;
t += 2;
dx = 1;
refX = isEnd ? 4 : 1;
attr = {
fill: "none",
stroke: attrs.stroke
};
} else {
refX = dx = w / 2;
attr = {
fill: attrs.stroke,
stroke: "none"
};
}
if (o._.arrows) {
if (isEnd) {
o._.arrows.endPath && markerCounter[o._.arrows.endPath]--;
o._.arrows.endMarker && markerCounter[o._.arrows.endMarker]--;
} else {
o._.arrows.startPath && markerCounter[o._.arrows.startPath]--;
o._.arrows.startMarker && markerCounter[o._.arrows.startMarker]--;
}
} else {
o._.arrows = {};
}
if (type != "none") {
var pathId = "raphael-marker-" + type,
markerId = "raphael-marker-" + se + type + w + h;
if (!R._g.doc.getElementById(pathId)) {
p.defs.appendChild($($("path"), {
"stroke-linecap": "round",
d: markers[type],
id: pathId
}));
markerCounter[pathId] = 1;
} else {
markerCounter[pathId]++;
}
var marker = R._g.doc.getElementById(markerId),
use;
if (!marker) {
marker = $($("marker"), {
id: markerId,
markerHeight: h,
markerWidth: w,
orient: "auto",
refX: refX,
refY: h / 2
});
use = $($("use"), {
"xlink:href": "#" + pathId,
transform: (isEnd ? " rotate(180 " + w / 2 + " " + h / 2 + ") " : S) + "scale(" + w / t + "," + h / t + ")",
"stroke-width": 1 / ((w / t + h / t) / 2)
});
marker.appendChild(use);
p.defs.appendChild(marker);
markerCounter[markerId] = 1;
} else {
markerCounter[markerId]++;
use = marker.getElementsByTagName("use")[0];
}
$(use, attr);
var delta = dx * (type != "diamond" && type != "oval");
if (isEnd) {
from = o._.arrows.startdx * stroke || 0;
to = R.getTotalLength(attrs.path) - delta * stroke;
} else {
from = delta * stroke;
to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
}
attr = {};
attr["marker-" + se] = "url(#" + markerId + ")";
if (to || from) {
attr.d = Raphael.getSubpath(attrs.path, from, to);
}
$(node, attr);
o._.arrows[se + "Path"] = pathId;
o._.arrows[se + "Marker"] = markerId;
o._.arrows[se + "dx"] = delta;
o._.arrows[se + "Type"] = type;
o._.arrows[se + "String"] = value;
} else {
if (isEnd) {
from = o._.arrows.startdx * stroke || 0;
to = R.getTotalLength(attrs.path) - from;
} else {
from = 0;
to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
}
o._.arrows[se + "Path"] && $(node, {d: Raphael.getSubpath(attrs.path, from, to)});
delete o._.arrows[se + "Path"];
delete o._.arrows[se + "Marker"];
delete o._.arrows[se + "dx"];
delete o._.arrows[se + "Type"];
delete o._.arrows[se + "String"];
}
for (attr in markerCounter) if (markerCounter[has](attr) && !markerCounter[attr]) {
var item = R._g.doc.getElementById(attr);
item && item.parentNode.removeChild(item);
}
}
},
dasharray = {
"": [0],
"none": [0],
"-": [3, 1],
".": [1, 1],
"-.": [3, 1, 1, 1],
"-..": [3, 1, 1, 1, 1, 1],
". ": [1, 3],
"- ": [4, 3],
"--": [8, 3],
"- .": [4, 3, 1, 3],
"--.": [8, 3, 1, 3],
"--..": [8, 3, 1, 3, 1, 3]
},
addDashes = function (o, value, params) {
value = dasharray[Str(value).toLowerCase()];
if (value) {
var width = o.attrs["stroke-width"] || "1",
butt = {round: width, square: width, butt: 0}[o.attrs["stroke-linecap"] || params["stroke-linecap"]] || 0,
dashes = [],
i = value.length;
while (i--) {
dashes[i] = value[i] * width + ((i % 2) ? 1 : -1) * butt;
}
$(o.node, {"stroke-dasharray": dashes.join(",")});
}
},
setFillAndStroke = function (o, params) {
var node = o.node,
attrs = o.attrs,
vis = node.style.visibility;
node.style.visibility = "hidden";
for (var att in params) {
if (params[has](att)) {
if (!R._availableAttrs[has](att)) {
continue;
}
var value = params[att];
attrs[att] = value;
switch (att) {
case "blur":
o.blur(value);
break;
case "href":
case "title":
case "target":
var pn = node.parentNode;
if (pn.tagName.toLowerCase() != "a") {
var hl = $("a");
pn.insertBefore(hl, node);
hl.appendChild(node);
pn = hl;
}
if (att == "target" && value == "blank") {
pn.setAttributeNS(xlink, "show", "new");
} else {
pn.setAttributeNS(xlink, att, value);
}
break;
case "cursor":
node.style.cursor = value;
break;
case "transform":
o.transform(value);
break;
case "arrow-start":
addArrow(o, value);
break;
case "arrow-end":
addArrow(o, value, 1);
break;
case "clip-rect":
var rect = Str(value).split(separator);
if (rect.length == 4) {
o.clip && o.clip.parentNode.parentNode.removeChild(o.clip.parentNode);
var el = $("clipPath"),
rc = $("rect");
el.id = R.createUUID();
$(rc, {
x: rect[0],
y: rect[1],
width: rect[2],
height: rect[3]
});
el.appendChild(rc);
o.paper.defs.appendChild(el);
$(node, {"clip-path": "url(#" + el.id + ")"});
o.clip = rc;
}
if (!value) {
var path = node.getAttribute("clip-path");
if (path) {
var clip = R._g.doc.getElementById(path.replace(/(^url\(#|\)$)/g, E));
clip && clip.parentNode.removeChild(clip);
$(node, {"clip-path": E});
delete o.clip;
}
}
break;
case "path":
if (o.type == "path") {
$(node, {d: value ? attrs.path = R._pathToAbsolute(value) : "M0,0"});
o._.dirty = 1;
if (o._.arrows) {
"startString" in o._.arrows && addArrow(o, o._.arrows.startString);
"endString" in o._.arrows && addArrow(o, o._.arrows.endString, 1);
}
}
break;
case "width":
node.setAttribute(att, value);
o._.dirty = 1;
if (attrs.fx) {
att = "x";
value = attrs.x;
} else {
break;
}
case "x":
if (attrs.fx) {
value = -attrs.x - (attrs.width || 0);
}
case "rx":
if (att == "rx" && o.type == "rect") {
break;
}
case "cx":
node.setAttribute(att, value);
o.pattern && updatePosition(o);
o._.dirty = 1;
break;
case "height":
node.setAttribute(att, value);
o._.dirty = 1;
if (attrs.fy) {
att = "y";
value = attrs.y;
} else {
break;
}
case "y":
if (attrs.fy) {
value = -attrs.y - (attrs.height || 0);
}
case "ry":
if (att == "ry" && o.type == "rect") {
break;
}
case "cy":
node.setAttribute(att, value);
o.pattern && updatePosition(o);
o._.dirty = 1;
break;
case "r":
if (o.type == "rect") {
$(node, {rx: value, ry: value});
} else {
node.setAttribute(att, value);
}
o._.dirty = 1;
break;
case "src":
if (o.type == "image") {
node.setAttributeNS(xlink, "href", value);
}
break;
case "stroke-width":
if (o._.sx != 1 || o._.sy != 1) {
value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
}
if (o.paper._vbSize) {
value *= o.paper._vbSize;
}
node.setAttribute(att, value);
if (attrs["stroke-dasharray"]) {
addDashes(o, attrs["stroke-dasharray"], params);
}
if (o._.arrows) {
"startString" in o._.arrows && addArrow(o, o._.arrows.startString);
"endString" in o._.arrows && addArrow(o, o._.arrows.endString, 1);
}
break;
case "stroke-dasharray":
addDashes(o, value, params);
break;
case "fill":
var isURL = Str(value).match(R._ISURL);
if (isURL) {
el = $("pattern");
var ig = $("image");
el.id = R.createUUID();
$(el, {x: 0, y: 0, patternUnits: "userSpaceOnUse", height: 1, width: 1});
$(ig, {x: 0, y: 0, "xlink:href": isURL[1]});
el.appendChild(ig);
(function (el) {
R._preload(isURL[1], function () {
var w = this.offsetWidth,
h = this.offsetHeight;
$(el, {width: w, height: h});
$(ig, {width: w, height: h});
o.paper.safari();
});
})(el);
o.paper.defs.appendChild(el);
node.style.fill = "url(#" + el.id + ")";
$(node, {fill: "url(#" + el.id + ")"});
o.pattern = el;
o.pattern && updatePosition(o);
break;
}
var clr = R.getRGB(value);
if (!clr.error) {
delete params.gradient;
delete attrs.gradient;
!R.is(attrs.opacity, "undefined") &&
R.is(params.opacity, "undefined") &&
$(node, {opacity: attrs.opacity});
!R.is(attrs["fill-opacity"], "undefined") &&
R.is(params["fill-opacity"], "undefined") &&
$(node, {"fill-opacity": attrs["fill-opacity"]});
} else if ((o.type == "circle" || o.type == "ellipse" || Str(value).charAt() != "r") && addGradientFill(o, value)) {
if ("opacity" in attrs || "fill-opacity" in attrs) {
var gradient = R._g.doc.getElementById(node.getAttribute("fill").replace(/^url\(#|\)$/g, E));
if (gradient) {
var stops = gradient.getElementsByTagName("stop");
$(stops[stops.length - 1], {"stop-opacity": ("opacity" in attrs ? attrs.opacity : 1) * ("fill-opacity" in attrs ? attrs["fill-opacity"] : 1)});
}
}
attrs.gradient = value;
attrs.fill = "none";
break;
}
clr[has]("opacity") && $(node, {"fill-opacity": clr.opacity > 1 ? clr.opacity / 100 : clr.opacity});
case "stroke":
clr = R.getRGB(value);
node.setAttribute(att, clr.hex);
att == "stroke" && clr[has]("opacity") && $(node, {"stroke-opacity": clr.opacity > 1 ? clr.opacity / 100 : clr.opacity});
if (att == "stroke" && o._.arrows) {
"startString" in o._.arrows && addArrow(o, o._.arrows.startString);
"endString" in o._.arrows && addArrow(o, o._.arrows.endString, 1);
}
break;
case "gradient":
(o.type == "circle" || o.type == "ellipse" || Str(value).charAt() != "r") && addGradientFill(o, value);
break;
case "opacity":
if (attrs.gradient && !attrs[has]("stroke-opacity")) {
$(node, {"stroke-opacity": value > 1 ? value / 100 : value});
}
// fall
case "fill-opacity":
if (attrs.gradient) {
gradient = R._g.doc.getElementById(node.getAttribute("fill").replace(/^url\(#|\)$/g, E));
if (gradient) {
stops = gradient.getElementsByTagName("stop");
$(stops[stops.length - 1], {"stop-opacity": value});
}
break;
}
default:
att == "font-size" && (value = toInt(value, 10) + "px");
var cssrule = att.replace(/(\-.)/g, function (w) {
return w.substring(1).toUpperCase();
});
node.style[cssrule] = value;
o._.dirty = 1;
node.setAttribute(att, value);
break;
}
}
}
tuneText(o, params);
node.style.visibility = vis;
},
leading = 1.2,
tuneText = function (el, params) {
if (el.type != "text" || !(params[has]("text") || params[has]("font") || params[has]("font-size") || params[has]("x") || params[has]("y"))) {
return;
}
var a = el.attrs,
node = el.node,
fontSize = node.firstChild ? toInt(R._g.doc.defaultView.getComputedStyle(node.firstChild, E).getPropertyValue("font-size"), 10) : 10;
if (params[has]("text")) {
a.text = params.text;
while (node.firstChild) {
node.removeChild(node.firstChild);
}
var texts = Str(params.text).split("\n"),
tspans = [],
tspan;
for (var i = 0, ii = texts.length; i < ii; i++) {
tspan = $("tspan");
i && $(tspan, {dy: fontSize * leading, x: a.x});
tspan.appendChild(R._g.doc.createTextNode(texts[i]));
node.appendChild(tspan);
tspans[i] = tspan;
}
} else {
tspans = node.getElementsByTagName("tspan");
for (i = 0, ii = tspans.length; i < ii; i++) if (i) {
$(tspans[i], {dy: fontSize * leading, x: a.x});
} else {
$(tspans[0], {dy: 0});
}
}
$(node, {x: a.x, y: a.y});
el._.dirty = 1;
var bb = el._getBBox(),
dif = a.y - (bb.y + bb.height / 2);
dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
},
Element = function (node, svg) {
var X = 0,
Y = 0;
this[0] = this.node = node;
node.raphael = true;
this.id = R._oid++;
node.raphaelid = this.id;
this.matrix = R.matrix();
this.realPath = null;
this.paper = svg;
this.attrs = this.attrs || {};
this._ = {
transform: [],
sx: 1,
sy: 1,
deg: 0,
dx: 0,
dy: 0,
dirty: 1
};
!svg.bottom && (svg.bottom = this);
this.prev = svg.top;
svg.top && (svg.top.next = this);
svg.top = this;
this.next = null;
},
elproto = R.el;
Element.prototype = elproto;
elproto.constructor = Element;
R._engine.path = function (pathString, SVG) {
var el = $("path");
SVG.canvas && SVG.canvas.appendChild(el);
var p = new Element(el, SVG);
p.type = "path";
setFillAndStroke(p, {
fill: "none",
stroke: "#000",
path: pathString
});
return p;
};
elproto.rotate = function (deg, cx, cy) {
if (this.removed) {
return this;
}
deg = Str(deg).split(separator);
if (deg.length - 1) {
cx = toFloat(deg[1]);
cy = toFloat(deg[2]);
}
deg = toFloat(deg[0]);
(cy == null) && (cx = cy);
if (cx == null || cy == null) {
var bbox = this.getBBox(1);
cx = bbox.x + bbox.width / 2;
cy = bbox.y + bbox.height / 2;
}
this.transform(this._.transform.concat([["r", deg, cx, cy]]));
return this;
};
elproto.scale = function (sx, sy, cx, cy) {
if (this.removed) {
return this;
}
sx = Str(sx).split(separator);
if (sx.length - 1) {
sy = toFloat(sx[1]);
cx = toFloat(sx[2]);
cy = toFloat(sx[3]);
}
sx = toFloat(sx[0]);
(sy == null) && (sy = sx);
(cy == null) && (cx = cy);
if (cx == null || cy == null) {
var bbox = this.getBBox(1);
}
cx = cx == null ? bbox.x + bbox.width / 2 : cx;
cy = cy == null ? bbox.y + bbox.height / 2 : cy;
this.transform(this._.transform.concat([["s", sx, sy, cx, cy]]));
return this;
};
elproto.translate = function (dx, dy) {
if (this.removed) {
return this;
}
dx = Str(dx).split(separator);
if (dx.length - 1) {
dy = toFloat(dx[1]);
}
dx = toFloat(dx[0]) || 0;
dy = +dy || 0;
this.transform(this._.transform.concat([["t", dx, dy]]));
return this;
};
elproto.transform = function (tstr) {
var _ = this._;
if (tstr == null) {
return _.transform;
}
R._extractTransform(this, tstr);
this.clip && $(this.clip, {transform: this.matrix.invert()});
this.pattern && updatePosition(this);
this.node && $(this.node, {transform: this.matrix});
if (_.sx != 1 || _.sy != 1) {
var sw = this.attrs[has]("stroke-width") ? this.attrs["stroke-width"] : 1;
this.attr({"stroke-width": sw});
}
return this;
};
elproto.hide = function () {
!this.removed && this.paper.safari(this.node.style.display = "none");
return this;
};
elproto.show = function () {
!this.removed && this.paper.safari(this.node.style.display = "");
return this;
};
elproto.remove = function () {
if (this.removed) {
return;
}
var paper = this.paper;
paper.__set__ && paper.__set__.exclude(this);
eve.unbind("*.*." + this.id);
if (this.gradient) {
paper.defs.removeChild(this.gradient);
}
R._tear(this, paper);
this.node.parentNode.removeChild(this.node);
for (var i in this) {
this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
}
this.removed = true;
};
elproto._getBBox = function () {
if (this.node.style.display == "none") {
this.show();
var hide = true;
}
var bbox = {};
try {
bbox = this.node.getBBox();
} catch(e) {
// Firefox 3.0.x plays badly here
} finally {
bbox = bbox || {};
}
hide && this.hide();
return bbox;
};
elproto.attr = function (name, value) {
if (this.removed) {
return this;
}
if (name == null) {
var res = {};
for (var a in this.attrs) if (this.attrs[has](a)) {
res[a] = this.attrs[a];
}
res.gradient && res.fill == "none" && (res.fill = res.gradient) && delete res.gradient;
res.transform = this._.transform;
return res;
}
if (value == null && R.is(name, "string")) {
if (name == "fill" && this.attrs.fill == "none" && this.attrs.gradient) {
return this.attrs.gradient;
}
if (name == "transform") {
return this._.transform;
}
var names = name.split(separator),
out = {};
for (var i = 0, ii = names.length; i < ii; i++) {
name = names[i];
if (name in this.attrs) {
out[name] = this.attrs[name];
} else if (R.is(this.paper.customAttributes[name], "function")) {
out[name] = this.paper.customAttributes[name].def;
} else {
out[name] = R._availableAttrs[name];
}
}
return ii - 1 ? out : out[names[0]];
}
if (value == null && R.is(name, "array")) {
out = {};
for (i = 0, ii = name.length; i < ii; i++) {
out[name[i]] = this.attr(name[i]);
}
return out;
}
if (value != null) {
var params = {};
params[name] = value;
} else if (name != null && R.is(name, "object")) {
params = name;
}
for (var key in params) {
eve("attr." + key + "." + this.id, this, params[key]);
}
for (key in this.paper.customAttributes) if (this.paper.customAttributes[has](key) && params[has](key) && R.is(this.paper.customAttributes[key], "function")) {
var par = this.paper.customAttributes[key].apply(this, [].concat(params[key]));
this.attrs[key] = params[key];
for (var subkey in par) if (par[has](subkey)) {
params[subkey] = par[subkey];
}
}
setFillAndStroke(this, params);
return this;
};
elproto.toFront = function () {
if (this.removed) {
return this;
}
if (this.node.parentNode.tagName.toLowerCase() == "a") {
this.node.parentNode.parentNode.appendChild(this.node.parentNode);
} else {
this.node.parentNode.appendChild(this.node);
}
var svg = this.paper;
svg.top != this && R._tofront(this, svg);
return this;
};
elproto.toBack = function () {
if (this.removed) {
return this;
}
var parent = this.node.parentNode;
if (parent.tagName.toLowerCase() == "a") {
parent.parentNode.insertBefore(this.node.parentNode, this.node.parentNode.parentNode.firstChild);
} else if (parent.firstChild != this.node) {
parent.insertBefore(this.node, this.node.parentNode.firstChild);
}
R._toback(this, this.paper);
var svg = this.paper;
return this;
};
elproto.insertAfter = function (element) {
if (this.removed) {
return this;
}
var node = element.node || element[element.length - 1].node;
if (node.nextSibling) {
node.parentNode.insertBefore(this.node, node.nextSibling);
} else {
node.parentNode.appendChild(this.node);
}
R._insertafter(this, element, this.paper);
return this;
};
elproto.insertBefore = function (element) {
if (this.removed) {
return this;
}
var node = element.node || element[0].node;
node.parentNode.insertBefore(this.node, node);
R._insertbefore(this, element, this.paper);
return this;
};
elproto.blur = function (size) {
// Experimental. No Safari support. Use it on your own risk.
var t = this;
if (+size !== 0) {
var fltr = $("filter"),
blur = $("feGaussianBlur");
t.attrs.blur = size;
fltr.id = R.createUUID();
$(blur, {stdDeviation: +size || 1.5});
fltr.appendChild(blur);
t.paper.defs.appendChild(fltr);
t._blur = fltr;
$(t.node, {filter: "url(#" + fltr.id + ")"});
} else {
if (t._blur) {
t._blur.parentNode.removeChild(t._blur);
delete t._blur;
delete t.attrs.blur;
}
t.node.removeAttribute("filter");
}
};
R._engine.circle = function (svg, x, y, r) {
var el = $("circle");
svg.canvas && svg.canvas.appendChild(el);
var res = new Element(el, svg);
res.attrs = {cx: x, cy: y, r: r, fill: "none", stroke: "#000"};
res.type = "circle";
$(el, res.attrs);
return res;
};
R._engine.rect = function (svg, x, y, w, h, r) {
var el = $("rect");
svg.canvas && svg.canvas.appendChild(el);
var res = new Element(el, svg);
res.attrs = {x: x, y: y, width: w, height: h, r: r || 0, rx: r || 0, ry: r || 0, fill: "none", stroke: "#000"};
res.type = "rect";
$(el, res.attrs);
return res;
};
R._engine.ellipse = function (svg, x, y, rx, ry) {
var el = $("ellipse");
svg.canvas && svg.canvas.appendChild(el);
var res = new Element(el, svg);
res.attrs = {cx: x, cy: y, rx: rx, ry: ry, fill: "none", stroke: "#000"};
res.type = "ellipse";
$(el, res.attrs);
return res;
};
R._engine.image = function (svg, src, x, y, w, h) {
var el = $("image");
$(el, {x: x, y: y, width: w, height: h, preserveAspectRatio: "none"});
el.setAttributeNS(xlink, "href", src);
svg.canvas && svg.canvas.appendChild(el);
var res = new Element(el, svg);
res.attrs = {x: x, y: y, width: w, height: h, src: src};
res.type = "image";
return res;
};
R._engine.text = function (svg, x, y, text) {
var el = $("text");
// $(el, {x: x, y: y, "text-anchor": "middle"});
svg.canvas && svg.canvas.appendChild(el);
var res = new Element(el, svg);
res.attrs = {
x: x,
y: y,
"text-anchor": "middle",
text: text,
font: R._availableAttrs.font,
stroke: "none",
fill: "#000"
};
res.type = "text";
setFillAndStroke(res, res.attrs);
return res;
};
R._engine.setSize = function (width, height) {
this.width = width || this.width;
this.height = height || this.height;
this.canvas.setAttribute("width", this.width);
this.canvas.setAttribute("height", this.height);
if (this._viewBox) {
this.setViewBox.apply(this, this._viewBox);
}
return this;
};
R._engine.create = function () {
var con = R._getContainer.apply(0, arguments),
container = con && con.container,
x = con.x,
y = con.y,
width = con.width,
height = con.height;
if (!container) {
throw new Error("SVG container not found.");
}
var cnvs = $("svg"),
css = "overflow:hidden;",
isFloating;
x = x || 0;
y = y || 0;
width = width || 512;
height = height || 342;
$(cnvs, {
height: height,
version: 1.1,
width: width,
xmlns: "http://www.w3.org/2000/svg"
});
if (container == 1) {
cnvs.style.cssText = css + "position:absolute;left:" + x + "px;top:" + y + "px";
R._g.doc.body.appendChild(cnvs);
isFloating = 1;
} else {
cnvs.style.cssText = css + "position:relative";
if (container.firstChild) {
container.insertBefore(cnvs, container.firstChild);
} else {
container.appendChild(cnvs);
}
}
container = new R._Paper;
container.width = width;
container.height = height;
container.canvas = cnvs;
// plugins.call(container, container, R.fn);
container.clear();
container._left = container._top = 0;
isFloating && (container.renderfix = function () {});
container.renderfix();
return container;
};
R._engine.setViewBox = function (x, y, w, h, fit) {
eve("setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var size = mmax(w / this.width, h / this.height),
top = this.top,
aspectRatio = fit ? "meet" : "xMinYMin",
vb,
sw;
if (x == null) {
if (this._vbSize) {
size = 1;
}
delete this._vbSize;
vb = "0 0 " + this.width + S + this.height;
} else {
this._vbSize = size;
vb = x + S + y + S + w + S + h;
}
$(this.canvas, {
viewBox: vb,
preserveAspectRatio: aspectRatio
});
while (size && top) {
sw = "stroke-width" in top.attrs ? top.attrs["stroke-width"] : 1;
top.attr({"stroke-width": sw});
top._.dirty = 1;
top._.dirtyT = 1;
top = top.prev;
}
this._viewBox = [x, y, w, h, !!fit];
return this;
};
R.prototype.renderfix = function () {
var cnvs = this.canvas,
s = cnvs.style,
pos = cnvs.getScreenCTM() || cnvs.createSVGMatrix(),
left = -pos.e % 1,
top = -pos.f % 1;
if (left || top) {
if (left) {
this._left = (this._left + left) % 1;
s.left = this._left + "px";
}
if (top) {
this._top = (this._top + top) % 1;
s.top = this._top + "px";
}
}
};
R.prototype.clear = function () {
R.eve("clear", this);
var c = this.canvas;
while (c.firstChild) {
c.removeChild(c.firstChild);
}
this.bottom = this.top = null;
(this.desc = $("desc")).appendChild(R._g.doc.createTextNode("Created with Rapha\xebl " + R.version));
c.appendChild(this.desc);
c.appendChild(this.defs = $("defs"));
};
R.prototype.remove = function () {
eve("remove", this);
this.canvas.parentNode && this.canvas.parentNode.removeChild(this.canvas);
for (var i in this) {
this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
}
};
var setproto = R.st;
for (var method in elproto) if (elproto[has](method) && !setproto[has](method)) {
setproto[method] = (function (methodname) {
return function () {
var arg = arguments;
return this.forEach(function (el) {
el[methodname].apply(el, arg);
});
};
})(method);
}
}(window.Raphael);
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
window.Raphael.vml && function (R) {
var has = "hasOwnProperty",
Str = String,
toFloat = parseFloat,
math = Math,
round = math.round,
mmax = math.max,
mmin = math.min,
abs = math.abs,
fillString = "fill",
separator = /[, ]+/,
eve = R.eve,
ms = " progid:DXImageTransform.Microsoft",
S = " ",
E = "",
map = {M: "m", L: "l", C: "c", Z: "x", m: "t", l: "r", c: "v", z: "x"},
bites = /([clmz]),?([^clmz]*)/gi,
blurregexp = / progid:\S+Blur\([^\)]+\)/g,
val = /-?[^,\s-]+/g,
cssDot = "position:absolute;left:0;top:0;width:1px;height:1px",
zoom = 21600,
pathTypes = {path: 1, rect: 1, image: 1},
ovalTypes = {circle: 1, ellipse: 1},
path2vml = function (path) {
var total = /[ahqstv]/ig,
command = R._pathToAbsolute;
Str(path).match(total) && (command = R._path2curve);
total = /[clmz]/g;
if (command == R._pathToAbsolute && !Str(path).match(total)) {
var res = Str(path).replace(bites, function (all, command, args) {
var vals = [],
isMove = command.toLowerCase() == "m",
res = map[command];
args.replace(val, function (value) {
if (isMove && vals.length == 2) {
res += vals + map[command == "m" ? "l" : "L"];
vals = [];
}
vals.push(round(value * zoom));
});
return res + vals;
});
return res;
}
var pa = command(path), p, r;
res = [];
for (var i = 0, ii = pa.length; i < ii; i++) {
p = pa[i];
r = pa[i][0].toLowerCase();
r == "z" && (r = "x");
for (var j = 1, jj = p.length; j < jj; j++) {
r += round(p[j] * zoom) + (j != jj - 1 ? "," : E);
}
res.push(r);
}
return res.join(S);
},
compensation = function (deg, dx, dy) {
var m = R.matrix();
m.rotate(-deg, .5, .5);
return {
dx: m.x(dx, dy),
dy: m.y(dx, dy)
};
},
setCoords = function (p, sx, sy, dx, dy, deg) {
var _ = p._,
m = p.matrix,
fillpos = _.fillpos,
o = p.node,
s = o.style,
y = 1,
flip = "",
dxdy,
kx = zoom / sx,
ky = zoom / sy;
s.visibility = "hidden";
if (!sx || !sy) {
return;
}
o.coordsize = abs(kx) + S + abs(ky);
s.rotation = deg * (sx * sy < 0 ? -1 : 1);
if (deg) {
var c = compensation(deg, dx, dy);
dx = c.dx;
dy = c.dy;
}
sx < 0 && (flip += "x");
sy < 0 && (flip += " y") && (y = -1);
s.flip = flip;
o.coordorigin = (dx * -kx) + S + (dy * -ky);
if (fillpos || _.fillsize) {
var fill = o.getElementsByTagName(fillString);
fill = fill && fill[0];
o.removeChild(fill);
if (fillpos) {
c = compensation(deg, m.x(fillpos[0], fillpos[1]), m.y(fillpos[0], fillpos[1]));
fill.position = c.dx * y + S + c.dy * y;
}
if (_.fillsize) {
fill.size = _.fillsize[0] * abs(sx) + S + _.fillsize[1] * abs(sy);
}
o.appendChild(fill);
}
s.visibility = "visible";
};
R.toString = function () {
return "Your browser doesn\u2019t support SVG. Falling down to VML.\nYou are running Rapha\xebl " + this.version;
};
var addArrow = function (o, value, isEnd) {
var values = Str(value).toLowerCase().split("-"),
se = isEnd ? "end" : "start",
i = values.length,
type = "classic",
w = "medium",
h = "medium";
while (i--) {
switch (values[i]) {
case "block":
case "classic":
case "oval":
case "diamond":
case "open":
case "none":
type = values[i];
break;
case "wide":
case "narrow": h = values[i]; break;
case "long":
case "short": w = values[i]; break;
}
}
var stroke = o.node.getElementsByTagName("stroke")[0];
stroke[se + "arrow"] = type;
stroke[se + "arrowlength"] = w;
stroke[se + "arrowwidth"] = h;
},
setFillAndStroke = function (o, params) {
// o.paper.canvas.style.display = "none";
o.attrs = o.attrs || {};
var node = o.node,
a = o.attrs,
s = node.style,
xy,
newpath = pathTypes[o.type] && (params.x != a.x || params.y != a.y || params.width != a.width || params.height != a.height || params.cx != a.cx || params.cy != a.cy || params.rx != a.rx || params.ry != a.ry || params.r != a.r),
isOval = ovalTypes[o.type] && (a.cx != params.cx || a.cy != params.cy || a.r != params.r || a.rx != params.rx || a.ry != params.ry),
res = o;
for (var par in params) if (params[has](par)) {
a[par] = params[par];
}
if (newpath) {
a.path = R._getPath[o.type](o);
o._.dirty = 1;
}
params.href && (node.href = params.href);
params.title && (node.title = params.title);
params.target && (node.target = params.target);
params.cursor && (s.cursor = params.cursor);
"blur" in params && o.blur(params.blur);
if (params.path && o.type == "path" || newpath) {
node.path = path2vml(~Str(a.path).toLowerCase().indexOf("r") ? R._pathToAbsolute(a.path) : a.path);
if (o.type == "image") {
o._.fillpos = [a.x, a.y];
o._.fillsize = [a.width, a.height];
setCoords(o, 1, 1, 0, 0, 0);
}
}
"transform" in params && o.transform(params.transform);
if (isOval) {
var cx = +a.cx,
cy = +a.cy,
rx = +a.rx || +a.r || 0,
ry = +a.ry || +a.r || 0;
node.path = R.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x", round((cx - rx) * zoom), round((cy - ry) * zoom), round((cx + rx) * zoom), round((cy + ry) * zoom), round(cx * zoom));
}
if ("clip-rect" in params) {
var rect = Str(params["clip-rect"]).split(separator);
if (rect.length == 4) {
rect[2] = +rect[2] + (+rect[0]);
rect[3] = +rect[3] + (+rect[1]);
var div = node.clipRect || R._g.doc.createElement("div"),
dstyle = div.style;
dstyle.clip = R.format("rect({1}px {2}px {3}px {0}px)", rect);
if (!node.clipRect) {
dstyle.position = "absolute";
dstyle.top = 0;
dstyle.left = 0;
dstyle.width = o.paper.width + "px";
dstyle.height = o.paper.height + "px";
node.parentNode.insertBefore(div, node);
div.appendChild(node);
node.clipRect = div;
}
}
if (!params["clip-rect"]) {
node.clipRect && (node.clipRect.style.clip = "auto");
}
}
if (o.textpath) {
var textpathStyle = o.textpath.style;
params.font && (textpathStyle.font = params.font);
params["font-family"] && (textpathStyle.fontFamily = '"' + params["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g, E) + '"');
params["font-size"] && (textpathStyle.fontSize = params["font-size"]);
params["font-weight"] && (textpathStyle.fontWeight = params["font-weight"]);
params["font-style"] && (textpathStyle.fontStyle = params["font-style"]);
}
if ("arrow-start" in params) {
addArrow(res, params["arrow-start"]);
}
if ("arrow-end" in params) {
addArrow(res, params["arrow-end"], 1);
}
if (params.opacity != null ||
params["stroke-width"] != null ||
params.fill != null ||
params.src != null ||
params.stroke != null ||
params["stroke-width"] != null ||
params["stroke-opacity"] != null ||
params["fill-opacity"] != null ||
params["stroke-dasharray"] != null ||
params["stroke-miterlimit"] != null ||
params["stroke-linejoin"] != null ||
params["stroke-linecap"] != null) {
var fill = node.getElementsByTagName(fillString),
newfill = false;
fill = fill && fill[0];
!fill && (newfill = fill = createNode(fillString));
if (o.type == "image" && params.src) {
fill.src = params.src;
}
params.fill && (fill.on = true);
if (fill.on == null || params.fill == "none" || params.fill === null) {
fill.on = false;
}
if (fill.on && params.fill) {
var isURL = Str(params.fill).match(R._ISURL);
if (isURL) {
fill.parentNode == node && node.removeChild(fill);
fill.rotate = true;
fill.src = isURL[1];
fill.type = "tile";
var bbox = o.getBBox(1);
fill.position = bbox.x + S + bbox.y;
o._.fillpos = [bbox.x, bbox.y];
R._preload(isURL[1], function () {
o._.fillsize = [this.offsetWidth, this.offsetHeight];
});
} else {
fill.color = R.getRGB(params.fill).hex;
fill.src = E;
fill.type = "solid";
if (R.getRGB(params.fill).error && (res.type in {circle: 1, ellipse: 1} || Str(params.fill).charAt() != "r") && addGradientFill(res, params.fill, fill)) {
a.fill = "none";
a.gradient = params.fill;
fill.rotate = false;
}
}
}
if ("fill-opacity" in params || "opacity" in params) {
var opacity = ((+a["fill-opacity"] + 1 || 2) - 1) * ((+a.opacity + 1 || 2) - 1) * ((+R.getRGB(params.fill).o + 1 || 2) - 1);
opacity = mmin(mmax(opacity, 0), 1);
fill.opacity = opacity;
if (fill.src) {
fill.color = "none";
}
}
node.appendChild(fill);
var stroke = (node.getElementsByTagName("stroke") && node.getElementsByTagName("stroke")[0]),
newstroke = false;
!stroke && (newstroke = stroke = createNode("stroke"));
if ((params.stroke && params.stroke != "none") ||
params["stroke-width"] ||
params["stroke-opacity"] != null ||
params["stroke-dasharray"] ||
params["stroke-miterlimit"] ||
params["stroke-linejoin"] ||
params["stroke-linecap"]) {
stroke.on = true;
}
(params.stroke == "none" || params.stroke === null || stroke.on == null || params.stroke == 0 || params["stroke-width"] == 0) && (stroke.on = false);
var strokeColor = R.getRGB(params.stroke);
stroke.on && params.stroke && (stroke.color = strokeColor.hex);
opacity = ((+a["stroke-opacity"] + 1 || 2) - 1) * ((+a.opacity + 1 || 2) - 1) * ((+strokeColor.o + 1 || 2) - 1);
var width = (toFloat(params["stroke-width"]) || 1) * .75;
opacity = mmin(mmax(opacity, 0), 1);
params["stroke-width"] == null && (width = a["stroke-width"]);
params["stroke-width"] && (stroke.weight = width);
width && width < 1 && (opacity *= width) && (stroke.weight = 1);
stroke.opacity = opacity;
params["stroke-linejoin"] && (stroke.joinstyle = params["stroke-linejoin"] || "miter");
stroke.miterlimit = params["stroke-miterlimit"] || 8;
params["stroke-linecap"] && (stroke.endcap = params["stroke-linecap"] == "butt" ? "flat" : params["stroke-linecap"] == "square" ? "square" : "round");
if (params["stroke-dasharray"]) {
var dasharray = {
"-": "shortdash",
".": "shortdot",
"-.": "shortdashdot",
"-..": "shortdashdotdot",
". ": "dot",
"- ": "dash",
"--": "longdash",
"- .": "dashdot",
"--.": "longdashdot",
"--..": "longdashdotdot"
};
stroke.dashstyle = dasharray[has](params["stroke-dasharray"]) ? dasharray[params["stroke-dasharray"]] : E;
}
newstroke && node.appendChild(stroke);
}
if (res.type == "text") {
res.paper.canvas.style.display = E;
var span = res.paper.span,
m = 100,
fontSize = a.font && a.font.match(/\d+(?:\.\d*)?(?=px)/);
s = span.style;
a.font && (s.font = a.font);
a["font-family"] && (s.fontFamily = a["font-family"]);
a["font-weight"] && (s.fontWeight = a["font-weight"]);
a["font-style"] && (s.fontStyle = a["font-style"]);
fontSize = toFloat(a["font-size"] || fontSize && fontSize[0]) || 10;
s.fontSize = fontSize * m + "px";
res.textpath.string && (span.innerHTML = Str(res.textpath.string).replace(/</g, "<").replace(/&/g, "&").replace(/\n/g, "<br>"));
var brect = span.getBoundingClientRect();
res.W = a.w = (brect.right - brect.left) / m;
res.H = a.h = (brect.bottom - brect.top) / m;
// res.paper.canvas.style.display = "none";
res.X = a.x;
res.Y = a.y + res.H / 2;
("x" in params || "y" in params) && (res.path.v = R.format("m{0},{1}l{2},{1}", round(a.x * zoom), round(a.y * zoom), round(a.x * zoom) + 1));
var dirtyattrs = ["x", "y", "text", "font", "font-family", "font-weight", "font-style", "font-size"];
for (var d = 0, dd = dirtyattrs.length; d < dd; d++) if (dirtyattrs[d] in params) {
res._.dirty = 1;
break;
}
// text-anchor emulation
switch (a["text-anchor"]) {
case "start":
res.textpath.style["v-text-align"] = "left";
res.bbx = res.W / 2;
break;
case "end":
res.textpath.style["v-text-align"] = "right";
res.bbx = -res.W / 2;
break;
default:
res.textpath.style["v-text-align"] = "center";
res.bbx = 0;
break;
}
res.textpath.style["v-text-kern"] = true;
}
// res.paper.canvas.style.display = E;
},
addGradientFill = function (o, gradient, fill) {
o.attrs = o.attrs || {};
var attrs = o.attrs,
pow = Math.pow,
opacity,
oindex,
type = "linear",
fxfy = ".5 .5";
o.attrs.gradient = gradient;
gradient = Str(gradient).replace(R._radial_gradient, function (all, fx, fy) {
type = "radial";
if (fx && fy) {
fx = toFloat(fx);
fy = toFloat(fy);
pow(fx - .5, 2) + pow(fy - .5, 2) > .25 && (fy = math.sqrt(.25 - pow(fx - .5, 2)) * ((fy > .5) * 2 - 1) + .5);
fxfy = fx + S + fy;
}
return E;
});
gradient = gradient.split(/\s*\-\s*/);
if (type == "linear") {
var angle = gradient.shift();
angle = -toFloat(angle);
if (isNaN(angle)) {
return null;
}
}
var dots = R._parseDots(gradient);
if (!dots) {
return null;
}
o = o.shape || o.node;
if (dots.length) {
o.removeChild(fill);
fill.on = true;
fill.method = "none";
fill.color = dots[0].color;
fill.color2 = dots[dots.length - 1].color;
var clrs = [];
for (var i = 0, ii = dots.length; i < ii; i++) {
dots[i].offset && clrs.push(dots[i].offset + S + dots[i].color);
}
fill.colors = clrs.length ? clrs.join() : "0% " + fill.color;
if (type == "radial") {
fill.type = "gradientTitle";
fill.focus = "100%";
fill.focussize = "0 0";
fill.focusposition = fxfy;
fill.angle = 0;
} else {
// fill.rotate= true;
fill.type = "gradient";
fill.angle = (270 - angle) % 360;
}
o.appendChild(fill);
}
return 1;
},
Element = function (node, vml) {
this[0] = this.node = node;
node.raphael = true;
this.id = R._oid++;
node.raphaelid = this.id;
this.X = 0;
this.Y = 0;
this.attrs = {};
this.paper = vml;
this.matrix = R.matrix();
this._ = {
transform: [],
sx: 1,
sy: 1,
dx: 0,
dy: 0,
deg: 0,
dirty: 1,
dirtyT: 1
};
!vml.bottom && (vml.bottom = this);
this.prev = vml.top;
vml.top && (vml.top.next = this);
vml.top = this;
this.next = null;
};
var elproto = R.el;
Element.prototype = elproto;
elproto.constructor = Element;
elproto.transform = function (tstr) {
if (tstr == null) {
return this._.transform;
}
var vbs = this.paper._viewBoxShift,
vbt = vbs ? "s" + [vbs.scale, vbs.scale] + "-1-1t" + [vbs.dx, vbs.dy] : E,
oldt;
if (vbs) {
oldt = tstr = Str(tstr).replace(/\.{3}|\u2026/g, this._.transform || E);
}
R._extractTransform(this, vbt + tstr);
var matrix = this.matrix.clone(),
skew = this.skew,
o = this.node,
split,
isGrad = ~Str(this.attrs.fill).indexOf("-"),
isPatt = !Str(this.attrs.fill).indexOf("url(");
matrix.translate(-.5, -.5);
if (isPatt || isGrad || this.type == "image") {
skew.matrix = "1 0 0 1";
skew.offset = "0 0";
split = matrix.split();
if ((isGrad && split.noRotation) || !split.isSimple) {
o.style.filter = matrix.toFilter();
var bb = this.getBBox(),
bbt = this.getBBox(1),
dx = bb.x - bbt.x,
dy = bb.y - bbt.y;
o.coordorigin = (dx * -zoom) + S + (dy * -zoom);
setCoords(this, 1, 1, dx, dy, 0);
} else {
o.style.filter = E;
setCoords(this, split.scalex, split.scaley, split.dx, split.dy, split.rotate);
}
} else {
o.style.filter = E;
skew.matrix = Str(matrix);
skew.offset = matrix.offset();
}
oldt && (this._.transform = oldt);
return this;
};
elproto.rotate = function (deg, cx, cy) {
if (this.removed) {
return this;
}
if (deg == null) {
return;
}
deg = Str(deg).split(separator);
if (deg.length - 1) {
cx = toFloat(deg[1]);
cy = toFloat(deg[2]);
}
deg = toFloat(deg[0]);
(cy == null) && (cx = cy);
if (cx == null || cy == null) {
var bbox = this.getBBox(1);
cx = bbox.x + bbox.width / 2;
cy = bbox.y + bbox.height / 2;
}
this._.dirtyT = 1;
this.transform(this._.transform.concat([["r", deg, cx, cy]]));
return this;
};
elproto.translate = function (dx, dy) {
if (this.removed) {
return this;
}
dx = Str(dx).split(separator);
if (dx.length - 1) {
dy = toFloat(dx[1]);
}
dx = toFloat(dx[0]) || 0;
dy = +dy || 0;
if (this._.bbox) {
this._.bbox.x += dx;
this._.bbox.y += dy;
}
this.transform(this._.transform.concat([["t", dx, dy]]));
return this;
};
elproto.scale = function (sx, sy, cx, cy) {
if (this.removed) {
return this;
}
sx = Str(sx).split(separator);
if (sx.length - 1) {
sy = toFloat(sx[1]);
cx = toFloat(sx[2]);
cy = toFloat(sx[3]);
isNaN(cx) && (cx = null);
isNaN(cy) && (cy = null);
}
sx = toFloat(sx[0]);
(sy == null) && (sy = sx);
(cy == null) && (cx = cy);
if (cx == null || cy == null) {
var bbox = this.getBBox(1);
}
cx = cx == null ? bbox.x + bbox.width / 2 : cx;
cy = cy == null ? bbox.y + bbox.height / 2 : cy;
this.transform(this._.transform.concat([["s", sx, sy, cx, cy]]));
this._.dirtyT = 1;
return this;
};
elproto.hide = function () {
!this.removed && (this.node.style.display = "none");
return this;
};
elproto.show = function () {
!this.removed && (this.node.style.display = E);
return this;
};
elproto._getBBox = function () {
if (this.removed) {
return {};
}
return {
x: this.X + (this.bbx || 0) - this.W / 2,
y: this.Y - this.H,
width: this.W,
height: this.H
};
};
elproto.remove = function () {
if (this.removed) {
return;
}
this.paper.__set__ && this.paper.__set__.exclude(this);
R.eve.unbind("*.*." + this.id);
R._tear(this, this.paper);
this.node.parentNode.removeChild(this.node);
this.shape && this.shape.parentNode.removeChild(this.shape);
for (var i in this) {
this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
}
this.removed = true;
};
elproto.attr = function (name, value) {
if (this.removed) {
return this;
}
if (name == null) {
var res = {};
for (var a in this.attrs) if (this.attrs[has](a)) {
res[a] = this.attrs[a];
}
res.gradient && res.fill == "none" && (res.fill = res.gradient) && delete res.gradient;
res.transform = this._.transform;
return res;
}
if (value == null && R.is(name, "string")) {
if (name == fillString && this.attrs.fill == "none" && this.attrs.gradient) {
return this.attrs.gradient;
}
var names = name.split(separator),
out = {};
for (var i = 0, ii = names.length; i < ii; i++) {
name = names[i];
if (name in this.attrs) {
out[name] = this.attrs[name];
} else if (R.is(this.paper.customAttributes[name], "function")) {
out[name] = this.paper.customAttributes[name].def;
} else {
out[name] = R._availableAttrs[name];
}
}
return ii - 1 ? out : out[names[0]];
}
if (this.attrs && value == null && R.is(name, "array")) {
out = {};
for (i = 0, ii = name.length; i < ii; i++) {
out[name[i]] = this.attr(name[i]);
}
return out;
}
var params;
if (value != null) {
params = {};
params[name] = value;
}
value == null && R.is(name, "object") && (params = name);
for (var key in params) {
eve("attr." + key + "." + this.id, this, params[key]);
}
if (params) {
for (key in this.paper.customAttributes) if (this.paper.customAttributes[has](key) && params[has](key) && R.is(this.paper.customAttributes[key], "function")) {
var par = this.paper.customAttributes[key].apply(this, [].concat(params[key]));
this.attrs[key] = params[key];
for (var subkey in par) if (par[has](subkey)) {
params[subkey] = par[subkey];
}
}
// this.paper.canvas.style.display = "none";
if (params.text && this.type == "text") {
this.textpath.string = params.text;
}
setFillAndStroke(this, params);
// this.paper.canvas.style.display = E;
}
return this;
};
elproto.toFront = function () {
!this.removed && this.node.parentNode.appendChild(this.node);
this.paper && this.paper.top != this && R._tofront(this, this.paper);
return this;
};
elproto.toBack = function () {
if (this.removed) {
return this;
}
if (this.node.parentNode.firstChild != this.node) {
this.node.parentNode.insertBefore(this.node, this.node.parentNode.firstChild);
R._toback(this, this.paper);
}
return this;
};
elproto.insertAfter = function (element) {
if (this.removed) {
return this;
}
if (element.constructor == R.st.constructor) {
element = element[element.length - 1];
}
if (element.node.nextSibling) {
element.node.parentNode.insertBefore(this.node, element.node.nextSibling);
} else {
element.node.parentNode.appendChild(this.node);
}
R._insertafter(this, element, this.paper);
return this;
};
elproto.insertBefore = function (element) {
if (this.removed) {
return this;
}
if (element.constructor == R.st.constructor) {
element = element[0];
}
element.node.parentNode.insertBefore(this.node, element.node);
R._insertbefore(this, element, this.paper);
return this;
};
elproto.blur = function (size) {
var s = this.node.runtimeStyle,
f = s.filter;
f = f.replace(blurregexp, E);
if (+size !== 0) {
this.attrs.blur = size;
s.filter = f + S + ms + ".Blur(pixelradius=" + (+size || 1.5) + ")";
s.margin = R.format("-{0}px 0 0 -{0}px", round(+size || 1.5));
} else {
s.filter = f;
s.margin = 0;
delete this.attrs.blur;
}
};
R._engine.path = function (pathString, vml) {
var el = createNode("shape");
el.style.cssText = cssDot;
el.coordsize = zoom + S + zoom;
el.coordorigin = vml.coordorigin;
var p = new Element(el, vml),
attr = {fill: "none", stroke: "#000"};
pathString && (attr.path = pathString);
p.type = "path";
p.path = [];
p.Path = E;
setFillAndStroke(p, attr);
vml.canvas.appendChild(el);
var skew = createNode("skew");
skew.on = true;
el.appendChild(skew);
p.skew = skew;
p.transform(E);
return p;
};
R._engine.rect = function (vml, x, y, w, h, r) {
var path = R._rectPath(x, y, w, h, r),
res = vml.path(path),
a = res.attrs;
res.X = a.x = x;
res.Y = a.y = y;
res.W = a.width = w;
res.H = a.height = h;
a.r = r;
a.path = path;
res.type = "rect";
return res;
};
R._engine.ellipse = function (vml, x, y, rx, ry) {
var res = vml.path(),
a = res.attrs;
res.X = x - rx;
res.Y = y - ry;
res.W = rx * 2;
res.H = ry * 2;
res.type = "ellipse";
setFillAndStroke(res, {
cx: x,
cy: y,
rx: rx,
ry: ry
});
return res;
};
R._engine.circle = function (vml, x, y, r) {
var res = vml.path(),
a = res.attrs;
res.X = x - r;
res.Y = y - r;
res.W = res.H = r * 2;
res.type = "circle";
setFillAndStroke(res, {
cx: x,
cy: y,
r: r
});
return res;
};
R._engine.image = function (vml, src, x, y, w, h) {
var path = R._rectPath(x, y, w, h),
res = vml.path(path).attr({stroke: "none"}),
a = res.attrs,
node = res.node,
fill = node.getElementsByTagName(fillString)[0];
a.src = src;
res.X = a.x = x;
res.Y = a.y = y;
res.W = a.width = w;
res.H = a.height = h;
a.path = path;
res.type = "image";
fill.parentNode == node && node.removeChild(fill);
fill.rotate = true;
fill.src = src;
fill.type = "tile";
res._.fillpos = [x, y];
res._.fillsize = [w, h];
node.appendChild(fill);
setCoords(res, 1, 1, 0, 0, 0);
return res;
};
R._engine.text = function (vml, x, y, text) {
var el = createNode("shape"),
path = createNode("path"),
o = createNode("textpath");
x = x || 0;
y = y || 0;
text = text || "";
path.v = R.format("m{0},{1}l{2},{1}", round(x * zoom), round(y * zoom), round(x * zoom) + 1);
path.textpathok = true;
o.string = Str(text);
o.on = true;
el.style.cssText = cssDot;
el.coordsize = zoom + S + zoom;
el.coordorigin = "0 0";
var p = new Element(el, vml),
attr = {
fill: "#000",
stroke: "none",
font: R._availableAttrs.font,
text: text
};
p.shape = el;
p.path = path;
p.textpath = o;
p.type = "text";
p.attrs.text = Str(text);
p.attrs.x = x;
p.attrs.y = y;
p.attrs.w = 1;
p.attrs.h = 1;
setFillAndStroke(p, attr);
el.appendChild(o);
el.appendChild(path);
vml.canvas.appendChild(el);
var skew = createNode("skew");
skew.on = true;
el.appendChild(skew);
p.skew = skew;
p.transform(E);
return p;
};
R._engine.setSize = function (width, height) {
var cs = this.canvas.style;
this.width = width;
this.height = height;
width == +width && (width += "px");
height == +height && (height += "px");
cs.width = width;
cs.height = height;
cs.clip = "rect(0 " + width + " " + height + " 0)";
if (this._viewBox) {
R._engine.setViewBox.apply(this, this._viewBox);
}
return this;
};
R._engine.setViewBox = function (x, y, w, h, fit) {
R.eve("setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var width = this.width,
height = this.height,
size = 1 / mmax(w / width, h / height),
H, W;
if (fit) {
H = height / h;
W = width / w;
if (w * H < width) {
x -= (width - w * H) / 2 / H;
}
if (h * W < height) {
y -= (height - h * W) / 2 / W;
}
}
this._viewBox = [x, y, w, h, !!fit];
this._viewBoxShift = {
dx: -x,
dy: -y,
scale: size
};
this.forEach(function (el) {
el.transform("...");
});
return this;
};
var createNode;
R._engine.initWin = function (win) {
var doc = win.document;
doc.createStyleSheet().addRule(".rvml", "behavior:url(#default#VML)");
try {
!doc.namespaces.rvml && doc.namespaces.add("rvml", "urn:schemas-microsoft-com:vml");
createNode = function (tagName) {
return doc.createElement('<rvml:' + tagName + ' class="rvml">');
};
} catch (e) {
createNode = function (tagName) {
return doc.createElement('<' + tagName + ' xmlns="urn:schemas-microsoft.com:vml" class="rvml">');
};
}
};
R._engine.initWin(R._g.win);
R._engine.create = function () {
var con = R._getContainer.apply(0, arguments),
container = con.container,
height = con.height,
s,
width = con.width,
x = con.x,
y = con.y;
if (!container) {
throw new Error("VML container not found.");
}
var res = new R._Paper,
c = res.canvas = R._g.doc.createElement("div"),
cs = c.style;
x = x || 0;
y = y || 0;
width = width || 512;
height = height || 342;
res.width = width;
res.height = height;
width == +width && (width += "px");
height == +height && (height += "px");
res.coordsize = zoom * 1e3 + S + zoom * 1e3;
res.coordorigin = "0 0";
res.span = R._g.doc.createElement("span");
res.span.style.cssText = "position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;";
c.appendChild(res.span);
cs.cssText = R.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden", width, height);
if (container == 1) {
R._g.doc.body.appendChild(c);
cs.left = x + "px";
cs.top = y + "px";
cs.position = "absolute";
} else {
if (container.firstChild) {
container.insertBefore(c, container.firstChild);
} else {
container.appendChild(c);
}
}
// plugins.call(res, res, R.fn);
res.renderfix = function () {};
return res;
};
R.prototype.clear = function () {
R.eve("clear", this);
this.canvas.innerHTML = E;
this.span = R._g.doc.createElement("span");
this.span.style.cssText = "position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";
this.canvas.appendChild(this.span);
this.bottom = this.top = null;
};
R.prototype.remove = function () {
R.eve("remove", this);
this.canvas.parentNode.removeChild(this.canvas);
for (var i in this) {
this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
}
return true;
};
var setproto = R.st;
for (var method in elproto) if (elproto[has](method) && !setproto[has](method)) {
setproto[method] = (function (methodname) {
return function () {
var arg = arguments;
return this.forEach(function (el) {
el[methodname].apply(el, arg);
});
};
})(method);
}
}(window.Raphael);
|
JavaScript
|
/*
* g.Raphael 0.5 - Charting library, based on Raphaël
*
* Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/
(function () {
function Piechart(paper, cx, cy, r, values, opts) {
opts = opts || {};
var chartinst = this,
sectors = [],
covers = paper.set(),
chart = paper.set(),
series = paper.set(),
order = [],
len = values.length,
angle = 0,
total = 0,
others = 0,
cut = 9,
defcut = true;
function sector(cx, cy, r, startAngle, endAngle, fill) {
var rad = Math.PI / 180,
x1 = cx + r * Math.cos(-startAngle * rad),
x2 = cx + r * Math.cos(-endAngle * rad),
xm = cx + r / 2 * Math.cos(-(startAngle + (endAngle - startAngle) / 2) * rad),
y1 = cy + r * Math.sin(-startAngle * rad),
y2 = cy + r * Math.sin(-endAngle * rad),
ym = cy + r / 2 * Math.sin(-(startAngle + (endAngle - startAngle) / 2) * rad),
res = [
"M", cx, cy,
"L", x1, y1,
"A", r, r, 0, +(Math.abs(endAngle - startAngle) > 180), 1, x2, y2,
"z"
];
res.middle = { x: xm, y: ym };
return res;
}
chart.covers = covers;
if (len == 1) {
series.push(paper.circle(cx, cy, r).attr({ fill: chartinst.colors[0], stroke: opts.stroke || "#fff", "stroke-width": opts.strokewidth == null ? 1 : opts.strokewidth }));
covers.push(paper.circle(cx, cy, r).attr(chartinst.shim));
total = values[0];
values[0] = { value: values[0], order: 0, valueOf: function () { return this.value; } };
series[0].middle = {x: cx, y: cy};
series[0].mangle = 180;
} else {
for (var i = 0; i < len; i++) {
total += values[i];
values[i] = { value: values[i], order: i, valueOf: function () { return this.value; } };
}
values.sort(function (a, b) {
return b.value - a.value;
});
for (i = 0; i < len; i++) {
if (defcut && values[i] * 360 / total <= 1.5) {
cut = i;
defcut = false;
}
if (i > cut) {
defcut = false;
values[cut].value += values[i];
values[cut].others = true;
others = values[cut].value;
}
}
len = Math.min(cut + 1, values.length);
others && values.splice(len) && (values[cut].others = true);
for (i = 0; i < len; i++) {
var mangle = angle - 360 * values[i] / total / 2;
if (!i) {
angle = 90 - mangle;
mangle = angle - 360 * values[i] / total / 2;
}
if (opts.init) {
var ipath = sector(cx, cy, 1, angle, angle - 360 * values[i] / total).join(",");
}
var path = sector(cx, cy, r, angle, angle -= 360 * values[i] / total);
var p = paper.path(opts.init ? ipath : path).attr({ fill: opts.colors && opts.colors[i] || chartinst.colors[i] || "#666", stroke: opts.stroke || "#fff", "stroke-width": (opts.strokewidth == null ? 1 : opts.strokewidth), "stroke-linejoin": "round" });
p.value = values[i];
p.middle = path.middle;
p.mangle = mangle;
sectors.push(p);
series.push(p);
opts.init && p.animate({ path: path.join(",") }, (+opts.init - 1) || 1000, ">");
}
for (i = 0; i < len; i++) {
p = paper.path(sectors[i].attr("path")).attr(chartinst.shim);
opts.href && opts.href[i] && p.attr({ href: opts.href[i] });
p.attr = function () {};
covers.push(p);
series.push(p);
}
}
chart.hover = function (fin, fout) {
fout = fout || function () {};
var that = this;
for (var i = 0; i < len; i++) {
(function (sector, cover, j) {
var o = {
sector: sector,
cover: cover,
cx: cx,
cy: cy,
mx: sector.middle.x,
my: sector.middle.y,
mangle: sector.mangle,
r: r,
value: values[j],
total: total,
label: that.labels && that.labels[j]
};
cover.mouseover(function () {
fin.call(o);
}).mouseout(function () {
fout.call(o);
});
})(series[i], covers[i], i);
}
return this;
};
// x: where label could be put
// y: where label could be put
// value: value to show
// total: total number to count %
chart.each = function (f) {
var that = this;
for (var i = 0; i < len; i++) {
(function (sector, cover, j) {
var o = {
sector: sector,
cover: cover,
cx: cx,
cy: cy,
x: sector.middle.x,
y: sector.middle.y,
mangle: sector.mangle,
r: r,
value: values[j],
total: total,
label: that.labels && that.labels[j]
};
f.call(o);
})(series[i], covers[i], i);
}
return this;
};
chart.click = function (f) {
var that = this;
for (var i = 0; i < len; i++) {
(function (sector, cover, j) {
var o = {
sector: sector,
cover: cover,
cx: cx,
cy: cy,
mx: sector.middle.x,
my: sector.middle.y,
mangle: sector.mangle,
r: r,
value: values[j],
total: total,
label: that.labels && that.labels[j]
};
cover.click(function () { f.call(o); });
})(series[i], covers[i], i);
}
return this;
};
chart.inject = function (element) {
element.insertBefore(covers[0]);
};
var legend = function (labels, otherslabel, mark, dir) {
var x = cx + r + r / 5,
y = cy,
h = y + 10;
labels = labels || [];
dir = (dir && dir.toLowerCase && dir.toLowerCase()) || "east";
mark = paper[mark && mark.toLowerCase()] || "circle";
chart.labels = paper.set();
for (var i = 0; i < len; i++) {
var clr = series[i].attr("fill"),
j = values[i].order,
txt;
values[i].others && (labels[j] = otherslabel || "Others");
labels[j] = chartinst.labelise(labels[j], values[i], total);
chart.labels.push(paper.set());
chart.labels[i].push(paper[mark](x + 5, h, 5).attr({ fill: clr, stroke: "none" }));
chart.labels[i].push(txt = paper.text(x + 20, h, labels[j] || values[j]).attr(chartinst.txtattr).attr({ fill: opts.legendcolor || "#000", "text-anchor": "start"}));
covers[i].label = chart.labels[i];
h += txt.getBBox().height * 1.2;
}
var bb = chart.labels.getBBox(),
tr = {
east: [0, -bb.height / 2],
west: [-bb.width - 2 * r - 20, -bb.height / 2],
north: [-r - bb.width / 2, -r - bb.height - 10],
south: [-r - bb.width / 2, r + 10]
}[dir];
chart.labels.translate.apply(chart.labels, tr);
chart.push(chart.labels);
};
if (opts.legend) {
legend(opts.legend, opts.legendothers, opts.legendmark, opts.legendpos);
}
chart.push(series, covers);
chart.series = series;
chart.covers = covers;
return chart;
};
//inheritance
var F = function() {};
F.prototype = Raphael.g;
Piechart.prototype = new F;
//public
Raphael.fn.piechart = function(cx, cy, r, values, opts) {
return new Piechart(this, cx, cy, r, values, opts);
}
})();
|
JavaScript
|
/*!
* g.Raphael 0.5 - Charting library, based on Raphaël
*
* Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/
/*
* Tooltips on Element prototype
*/
/*\
* Element.popup
[ method ]
**
* Puts the context Element in a 'popup' tooltip. Can also be used on sets.
**
> Parameters
**
- dir (string) location of Element relative to the tail: `'down'`, `'left'`, `'up'` [default], or `'right'`.
- size (number) amount of bevel/padding around the Element, as well as half the width and height of the tail [default: `5`]
- x (number) x coordinate of the popup's tail [default: Element's `x` or `cx`]
- y (number) y coordinate of the popup's tail [default: Element's `y` or `cy`]
**
= (object) path element of the popup
> Usage
| paper.circle(50, 50, 5).attr({
| stroke: "#fff",
| fill: "0-#c9de96-#8ab66b:44-#398235"
| }).popup();
\*/
Raphael.el.popup = function (dir, size, x, y) {
var paper = this.paper || this[0].paper,
bb, xy, center, cw, ch;
if (!paper) return;
switch (this.type) {
case 'text':
case 'circle':
case 'ellipse': center = true; break;
default: center = false;
}
dir = dir == null ? 'up' : dir;
size = size || 5;
bb = this.getBBox();
x = typeof x == 'number' ? x : (center ? bb.x + bb.width / 2 : bb.x);
y = typeof y == 'number' ? y : (center ? bb.y + bb.height / 2 : bb.y);
cw = Math.max(bb.width / 2 - size, 0);
ch = Math.max(bb.height / 2 - size, 0);
this.translate(x - bb.x - (center ? bb.width / 2 : 0), y - bb.y - (center ? bb.height / 2 : 0));
bb = this.getBBox();
var paths = {
up: [
'M', x, y,
'l', -size, -size, -cw, 0,
'a', size, size, 0, 0, 1, -size, -size,
'l', 0, -bb.height,
'a', size, size, 0, 0, 1, size, -size,
'l', size * 2 + cw * 2, 0,
'a', size, size, 0, 0, 1, size, size,
'l', 0, bb.height,
'a', size, size, 0, 0, 1, -size, size,
'l', -cw, 0,
'z'
].join(','),
down: [
'M', x, y,
'l', size, size, cw, 0,
'a', size, size, 0, 0, 1, size, size,
'l', 0, bb.height,
'a', size, size, 0, 0, 1, -size, size,
'l', -(size * 2 + cw * 2), 0,
'a', size, size, 0, 0, 1, -size, -size,
'l', 0, -bb.height,
'a', size, size, 0, 0, 1, size, -size,
'l', cw, 0,
'z'
].join(','),
left: [
'M', x, y,
'l', -size, size, 0, ch,
'a', size, size, 0, 0, 1, -size, size,
'l', -bb.width, 0,
'a', size, size, 0, 0, 1, -size, -size,
'l', 0, -(size * 2 + ch * 2),
'a', size, size, 0, 0, 1, size, -size,
'l', bb.width, 0,
'a', size, size, 0, 0, 1, size, size,
'l', 0, ch,
'z'
].join(','),
right: [
'M', x, y,
'l', size, -size, 0, -ch,
'a', size, size, 0, 0, 1, size, -size,
'l', bb.width, 0,
'a', size, size, 0, 0, 1, size, size,
'l', 0, size * 2 + ch * 2,
'a', size, size, 0, 0, 1, -size, size,
'l', -bb.width, 0,
'a', size, size, 0, 0, 1, -size, -size,
'l', 0, -ch,
'z'
].join(',')
};
xy = {
up: { x: -!center * (bb.width / 2), y: -size * 2 - (center ? bb.height / 2 : bb.height) },
down: { x: -!center * (bb.width / 2), y: size * 2 + (center ? bb.height / 2 : bb.height) },
left: { x: -size * 2 - (center ? bb.width / 2 : bb.width), y: -!center * (bb.height / 2) },
right: { x: size * 2 + (center ? bb.width / 2 : bb.width), y: -!center * (bb.height / 2) }
}[dir];
this.translate(xy.x, xy.y);
return paper.path(paths[dir]).attr({ fill: "#000", stroke: "none" }).insertBefore(this.node ? this : this[0]);
};
/*\
* Element.tag
[ method ]
**
* Puts the context Element in a 'tag' tooltip. Can also be used on sets.
**
> Parameters
**
- angle (number) angle of orientation in degrees [default: `0`]
- r (number) radius of the loop [default: `5`]
- x (number) x coordinate of the center of the tag loop [default: Element's `x` or `cx`]
- y (number) y coordinate of the center of the tag loop [default: Element's `x` or `cx`]
**
= (object) path element of the tag
> Usage
| paper.circle(50, 50, 15).attr({
| stroke: "#fff",
| fill: "0-#c9de96-#8ab66b:44-#398235"
| }).tag(60);
\*/
Raphael.el.tag = function (angle, r, x, y) {
var d = 3,
paper = this.paper || this[0].paper;
if (!paper) return;
var p = paper.path().attr({ fill: '#000', stroke: '#000' }),
bb = this.getBBox(),
dx, R, center, tmp;
switch (this.type) {
case 'text':
case 'circle':
case 'ellipse': center = true; break;
default: center = false;
}
angle = angle || 0;
x = typeof x == 'number' ? x : (center ? bb.x + bb.width / 2 : bb.x);
y = typeof y == 'number' ? y : (center ? bb.y + bb.height / 2 : bb.y);
r = r == null ? 5 : r;
R = .5522 * r;
if (bb.height >= r * 2) {
p.attr({
path: [
"M", x, y + r,
"a", r, r, 0, 1, 1, 0, -r * 2, r, r, 0, 1, 1, 0, r * 2,
"m", 0, -r * 2 -d,
"a", r + d, r + d, 0, 1, 0, 0, (r + d) * 2,
"L", x + r + d, y + bb.height / 2 + d,
"l", bb.width + 2 * d, 0, 0, -bb.height - 2 * d, -bb.width - 2 * d, 0,
"L", x, y - r - d
].join(",")
});
} else {
dx = Math.sqrt(Math.pow(r + d, 2) - Math.pow(bb.height / 2 + d, 2));
p.attr({
path: [
"M", x, y + r,
"c", -R, 0, -r, R - r, -r, -r, 0, -R, r - R, -r, r, -r, R, 0, r, r - R, r, r, 0, R, R - r, r, -r, r,
"M", x + dx, y - bb.height / 2 - d,
"a", r + d, r + d, 0, 1, 0, 0, bb.height + 2 * d,
"l", r + d - dx + bb.width + 2 * d, 0, 0, -bb.height - 2 * d,
"L", x + dx, y - bb.height / 2 - d
].join(",")
});
}
angle = 360 - angle;
p.rotate(angle, x, y);
if (this.attrs) {
//elements
this.attr(this.attrs.x ? 'x' : 'cx', x + r + d + (!center ? this.type == 'text' ? bb.width : 0 : bb.width / 2)).attr('y', center ? y : y - bb.height / 2);
this.rotate(angle, x, y);
angle > 90 && angle < 270 && this.attr(this.attrs.x ? 'x' : 'cx', x - r - d - (!center ? bb.width : bb.width / 2)).rotate(180, x, y);
} else {
//sets
if (angle > 90 && angle < 270) {
this.translate(x - bb.x - bb.width - r - d, y - bb.y - bb.height / 2);
this.rotate(angle - 180, bb.x + bb.width + r + d, bb.y + bb.height / 2);
} else {
this.translate(x - bb.x + r + d, y - bb.y - bb.height / 2);
this.rotate(angle, bb.x - r - d, bb.y + bb.height / 2);
}
}
return p.insertBefore(this.node ? this : this[0]);
};
/*\
* Element.drop
[ method ]
**
* Puts the context Element in a 'drop' tooltip. Can also be used on sets.
**
> Parameters
**
- angle (number) angle of orientation in degrees [default: `0`]
- x (number) x coordinate of the drop's point [default: Element's `x` or `cx`]
- y (number) y coordinate of the drop's point [default: Element's `x` or `cx`]
**
= (object) path element of the drop
> Usage
| paper.circle(50, 50, 8).attr({
| stroke: "#fff",
| fill: "0-#c9de96-#8ab66b:44-#398235"
| }).drop(60);
\*/
Raphael.el.drop = function (angle, x, y) {
var bb = this.getBBox(),
paper = this.paper || this[0].paper,
center, size, p, dx, dy;
if (!paper) return;
switch (this.type) {
case 'text':
case 'circle':
case 'ellipse': center = true; break;
default: center = false;
}
angle = angle || 0;
x = typeof x == 'number' ? x : (center ? bb.x + bb.width / 2 : bb.x);
y = typeof y == 'number' ? y : (center ? bb.y + bb.height / 2 : bb.y);
size = Math.max(bb.width, bb.height) + Math.min(bb.width, bb.height);
p = paper.path([
"M", x, y,
"l", size, 0,
"A", size * .4, size * .4, 0, 1, 0, x + size * .7, y - size * .7,
"z"
]).attr({fill: "#000", stroke: "none"}).rotate(22.5 - angle, x, y);
angle = (angle + 90) * Math.PI / 180;
dx = (x + size * Math.sin(angle)) - (center ? 0 : bb.width / 2);
dy = (y + size * Math.cos(angle)) - (center ? 0 : bb.height / 2);
this.attrs ?
this.attr(this.attrs.x ? 'x' : 'cx', dx).attr(this.attrs.y ? 'y' : 'cy', dy) :
this.translate(dx - bb.x, dy - bb.y);
return p.insertBefore(this.node ? this : this[0]);
};
/*\
* Element.flag
[ method ]
**
* Puts the context Element in a 'flag' tooltip. Can also be used on sets.
**
> Parameters
**
- angle (number) angle of orientation in degrees [default: `0`]
- x (number) x coordinate of the flag's point [default: Element's `x` or `cx`]
- y (number) y coordinate of the flag's point [default: Element's `x` or `cx`]
**
= (object) path element of the flag
> Usage
| paper.circle(50, 50, 10).attr({
| stroke: "#fff",
| fill: "0-#c9de96-#8ab66b:44-#398235"
| }).flag(60);
\*/
Raphael.el.flag = function (angle, x, y) {
var d = 3,
paper = this.paper || this[0].paper;
if (!paper) return;
var p = paper.path().attr({ fill: '#000', stroke: '#000' }),
bb = this.getBBox(),
h = bb.height / 2,
center;
switch (this.type) {
case 'text':
case 'circle':
case 'ellipse': center = true; break;
default: center = false;
}
angle = angle || 0;
x = typeof x == 'number' ? x : (center ? bb.x + bb.width / 2 : bb.x);
y = typeof y == 'number' ? y : (center ? bb.y + bb.height / 2: bb.y);
p.attr({
path: [
"M", x, y,
"l", h + d, -h - d, bb.width + 2 * d, 0, 0, bb.height + 2 * d, -bb.width - 2 * d, 0,
"z"
].join(",")
});
angle = 360 - angle;
p.rotate(angle, x, y);
if (this.attrs) {
//elements
this.attr(this.attrs.x ? 'x' : 'cx', x + h + d + (!center ? this.type == 'text' ? bb.width : 0 : bb.width / 2)).attr('y', center ? y : y - bb.height / 2);
this.rotate(angle, x, y);
angle > 90 && angle < 270 && this.attr(this.attrs.x ? 'x' : 'cx', x - h - d - (!center ? bb.width : bb.width / 2)).rotate(180, x, y);
} else {
//sets
if (angle > 90 && angle < 270) {
this.translate(x - bb.x - bb.width - h - d, y - bb.y - bb.height / 2);
this.rotate(angle - 180, bb.x + bb.width + h + d, bb.y + bb.height / 2);
} else {
this.translate(x - bb.x + h + d, y - bb.y - bb.height / 2);
this.rotate(angle, bb.x - h - d, bb.y + bb.height / 2);
}
}
return p.insertBefore(this.node ? this : this[0]);
};
/*\
* Element.label
[ method ]
**
* Puts the context Element in a 'label' tooltip. Can also be used on sets.
**
= (object) path element of the label.
> Usage
| paper.circle(50, 50, 10).attr({
| stroke: "#fff",
| fill: "0-#c9de96-#8ab66b:44-#398235"
| }).label();
\*/
Raphael.el.label = function () {
var bb = this.getBBox(),
paper = this.paper || this[0].paper,
r = Math.min(20, bb.width + 10, bb.height + 10) / 2;
if (!paper) return;
return paper.rect(bb.x - r / 2, bb.y - r / 2, bb.width + r, bb.height + r, r).attr({ stroke: 'none', fill: '#000' }).insertBefore(this.node ? this : this[0]);
};
/*\
* Element.blob
[ method ]
**
* Puts the context Element in a 'blob' tooltip. Can also be used on sets.
**
> Parameters
**
- angle (number) angle of orientation in degrees [default: `0`]
- x (number) x coordinate of the blob's tail [default: Element's `x` or `cx`]
- y (number) y coordinate of the blob's tail [default: Element's `x` or `cx`]
**
= (object) path element of the blob
> Usage
| paper.circle(50, 50, 8).attr({
| stroke: "#fff",
| fill: "0-#c9de96-#8ab66b:44-#398235"
| }).blob(60);
\*/
Raphael.el.blob = function (angle, x, y) {
var bb = this.getBBox(),
rad = Math.PI / 180,
paper = this.paper || this[0].paper,
p, center, size;
if (!paper) return;
switch (this.type) {
case 'text':
case 'circle':
case 'ellipse': center = true; break;
default: center = false;
}
p = paper.path().attr({ fill: "#000", stroke: "none" });
angle = (+angle + 1 ? angle : 45) + 90;
size = Math.min(bb.height, bb.width);
x = typeof x == 'number' ? x : (center ? bb.x + bb.width / 2 : bb.x);
y = typeof y == 'number' ? y : (center ? bb.y + bb.height / 2 : bb.y);
var w = Math.max(bb.width + size, size * 25 / 12),
h = Math.max(bb.height + size, size * 25 / 12),
x2 = x + size * Math.sin((angle - 22.5) * rad),
y2 = y + size * Math.cos((angle - 22.5) * rad),
x1 = x + size * Math.sin((angle + 22.5) * rad),
y1 = y + size * Math.cos((angle + 22.5) * rad),
dx = (x1 - x2) / 2,
dy = (y1 - y2) / 2,
rx = w / 2,
ry = h / 2,
k = -Math.sqrt(Math.abs(rx * rx * ry * ry - rx * rx * dy * dy - ry * ry * dx * dx) / (rx * rx * dy * dy + ry * ry * dx * dx)),
cx = k * rx * dy / ry + (x1 + x2) / 2,
cy = k * -ry * dx / rx + (y1 + y2) / 2;
p.attr({
x: cx,
y: cy,
path: [
"M", x, y,
"L", x1, y1,
"A", rx, ry, 0, 1, 1, x2, y2,
"z"
].join(",")
});
this.translate(cx - bb.x - bb.width / 2, cy - bb.y - bb.height / 2);
return p.insertBefore(this.node ? this : this[0]);
};
/*
* Tooltips on Paper prototype
*/
/*\
* Paper.label
[ method ]
**
* Puts the given `text` into a 'label' tooltip. The text is given a default style according to @g.txtattr. See @Element.label
**
> Parameters
**
- x (number) x coordinate of the center of the label
- y (number) y coordinate of the center of the label
- text (string) text to place inside the label
**
= (object) set containing the label path and the text element
> Usage
| paper.label(50, 50, "$9.99");
\*/
Raphael.fn.label = function (x, y, text) {
var set = this.set();
text = this.text(x, y, text).attr(Raphael.g.txtattr);
return set.push(text.label(), text);
};
/*\
* Paper.popup
[ method ]
**
* Puts the given `text` into a 'popup' tooltip. The text is given a default style according to @g.txtattr. See @Element.popup
*
* Note: The `dir` parameter has changed from g.Raphael 0.4.1 to 0.5. The options `0`, `1`, `2`, and `3` has been changed to `'down'`, `'left'`, `'up'`, and `'right'` respectively.
**
> Parameters
**
- x (number) x coordinate of the popup's tail
- y (number) y coordinate of the popup's tail
- text (string) text to place inside the popup
- dir (string) location of the text relative to the tail: `'down'`, `'left'`, `'up'` [default], or `'right'`.
- size (number) amount of padding around the Element [default: `5`]
**
= (object) set containing the popup path and the text element
> Usage
| paper.popup(50, 50, "$9.99", 'down');
\*/
Raphael.fn.popup = function (x, y, text, dir, size) {
var set = this.set();
text = this.text(x, y, text).attr(Raphael.g.txtattr);
return set.push(text.popup(dir, size), text);
};
/*\
* Paper.tag
[ method ]
**
* Puts the given text into a 'tag' tooltip. The text is given a default style according to @g.txtattr. See @Element.tag
**
> Parameters
**
- x (number) x coordinate of the center of the tag loop
- y (number) y coordinate of the center of the tag loop
- text (string) text to place inside the tag
- angle (number) angle of orientation in degrees [default: `0`]
- r (number) radius of the loop [default: `5`]
**
= (object) set containing the tag path and the text element
> Usage
| paper.tag(50, 50, "$9.99", 60);
\*/
Raphael.fn.tag = function (x, y, text, angle, r) {
var set = this.set();
text = this.text(x, y, text).attr(Raphael.g.txtattr);
return set.push(text.tag(angle, r), text);
};
/*\
* Paper.flag
[ method ]
**
* Puts the given `text` into a 'flag' tooltip. The text is given a default style according to @g.txtattr. See @Element.flag
**
> Parameters
**
- x (number) x coordinate of the flag's point
- y (number) y coordinate of the flag's point
- text (string) text to place inside the flag
- angle (number) angle of orientation in degrees [default: `0`]
**
= (object) set containing the flag path and the text element
> Usage
| paper.flag(50, 50, "$9.99", 60);
\*/
Raphael.fn.flag = function (x, y, text, angle) {
var set = this.set();
text = this.text(x, y, text).attr(Raphael.g.txtattr);
return set.push(text.flag(angle), text);
};
/*\
* Paper.drop
[ method ]
**
* Puts the given text into a 'drop' tooltip. The text is given a default style according to @g.txtattr. See @Element.drop
**
> Parameters
**
- x (number) x coordinate of the drop's point
- y (number) y coordinate of the drop's point
- text (string) text to place inside the drop
- angle (number) angle of orientation in degrees [default: `0`]
**
= (object) set containing the drop path and the text element
> Usage
| paper.drop(50, 50, "$9.99", 60);
\*/
Raphael.fn.drop = function (x, y, text, angle) {
var set = this.set();
text = this.text(x, y, text).attr(Raphael.g.txtattr);
return set.push(text.drop(angle), text);
};
/*\
* Paper.blob
[ method ]
**
* Puts the given text into a 'blob' tooltip. The text is given a default style according to @g.txtattr. See @Element.blob
**
> Parameters
**
- x (number) x coordinate of the blob's tail
- y (number) y coordinate of the blob's tail
- text (string) text to place inside the blob
- angle (number) angle of orientation in degrees [default: `0`]
**
= (object) set containing the blob path and the text element
> Usage
| paper.blob(50, 50, "$9.99", 60);
\*/
Raphael.fn.blob = function (x, y, text, angle) {
var set = this.set();
text = this.text(x, y, text).attr(Raphael.g.txtattr);
return set.push(text.blob(angle), text);
};
/**
* zhanghuihua
*/
Raphael.fn.axis=function (x, y, length, from, to, steps, orientation, labels, type, dashsize) {
return Raphael.g.axis(x, y, length, from, to, steps, orientation, labels, type, dashsize, this) ;
};
/**
* Brightness functions on the Element prototype
*/
/*\
* Element.lighter
[ method ]
**
* Makes the context element lighter by increasing the brightness and reducing the saturation by a given factor. Can be called on Sets.
**
> Parameters
**
- times (number) adjustment factor [default: `2`]
**
= (object) Element
> Usage
| paper.circle(50, 50, 20).attr({
| fill: "#ff0000",
| stroke: "#fff",
| "stroke-width": 2
| }).lighter(6);
\*/
Raphael.el.lighter = function (times) {
times = times || 2;
var fs = [this.attrs.fill, this.attrs.stroke];
this.fs = this.fs || [fs[0], fs[1]];
fs[0] = Raphael.rgb2hsb(Raphael.getRGB(fs[0]).hex);
fs[1] = Raphael.rgb2hsb(Raphael.getRGB(fs[1]).hex);
fs[0].b = Math.min(fs[0].b * times, 1);
fs[0].s = fs[0].s / times;
fs[1].b = Math.min(fs[1].b * times, 1);
fs[1].s = fs[1].s / times;
this.attr({fill: "hsb(" + [fs[0].h, fs[0].s, fs[0].b] + ")", stroke: "hsb(" + [fs[1].h, fs[1].s, fs[1].b] + ")"});
return this;
};
/*\
* Element.darker
[ method ]
**
* Makes the context element darker by decreasing the brightness and increasing the saturation by a given factor. Can be called on Sets.
**
> Parameters
**
- times (number) adjustment factor [default: `2`]
**
= (object) Element
> Usage
| paper.circle(50, 50, 20).attr({
| fill: "#ff0000",
| stroke: "#fff",
| "stroke-width": 2
| }).darker(6);
\*/
Raphael.el.darker = function (times) {
times = times || 2;
var fs = [this.attrs.fill, this.attrs.stroke];
this.fs = this.fs || [fs[0], fs[1]];
fs[0] = Raphael.rgb2hsb(Raphael.getRGB(fs[0]).hex);
fs[1] = Raphael.rgb2hsb(Raphael.getRGB(fs[1]).hex);
fs[0].s = Math.min(fs[0].s * times, 1);
fs[0].b = fs[0].b / times;
fs[1].s = Math.min(fs[1].s * times, 1);
fs[1].b = fs[1].b / times;
this.attr({fill: "hsb(" + [fs[0].h, fs[0].s, fs[0].b] + ")", stroke: "hsb(" + [fs[1].h, fs[1].s, fs[1].b] + ")"});
return this;
};
/*\
* Element.resetBrightness
[ method ]
**
* Resets brightness and saturation levels to their original values. See @Element.lighter and @Element.darker. Can be called on Sets.
**
= (object) Element
> Usage
| paper.circle(50, 50, 20).attr({
| fill: "#ff0000",
| stroke: "#fff",
| "stroke-width": 2
| }).lighter(6).resetBrightness();
\*/
Raphael.el.resetBrightness = function () {
if (this.fs) {
this.attr({ fill: this.fs[0], stroke: this.fs[1] });
delete this.fs;
}
return this;
};
//alias to set prototype
(function () {
var brightness = ['lighter', 'darker', 'resetBrightness'],
tooltips = ['popup', 'tag', 'flag', 'label', 'drop', 'blob'];
for (var f in tooltips) (function (name) {
Raphael.st[name] = function () {
return Raphael.el[name].apply(this, arguments);
};
})(tooltips[f]);
for (var f in brightness) (function (name) {
Raphael.st[name] = function () {
for (var i = 0; i < this.length; i++) {
this[i][name].apply(this[i], arguments);
}
return this;
};
})(brightness[f]);
})();
//chart prototype for storing common functions
Raphael.g = {
/*\
* g.shim
[ object ]
**
* An attribute object that charts will set on all generated shims (shims being the invisible objects that mouse events are bound to)
**
> Default value
| { stroke: 'none', fill: '#000', 'fill-opacity': 0 }
\*/
shim: { stroke: 'none', fill: '#000', 'fill-opacity': 0 },
/*\
* g.txtattr
[ object ]
**
* An attribute object that charts and tooltips will set on any generated text
**
> Default value
| { font: '12px Arial, sans-serif', fill: '#fff' }
\*/
txtattr: { font: '12px Arial, sans-serif', fill: '#fff' },
/*\
* g.colors
[ array ]
**
* An array of color values that charts will iterate through when drawing chart data values.
**
\*/
colors: (function () {
var hues = [.6, .2, .05, .1333, .75, 0],
colors = [];
for (var i = 0; i < 10; i++) {
if (i < hues.length) {
colors.push('hsb(' + hues[i] + ',.75, .75)');
} else {
colors.push('hsb(' + hues[i - hues.length] + ', 1, .5)');
}
}
return colors;
})(),
snapEnds: function(from, to, steps) {
var f = from,
t = to;
if (f == t) {
return {from: f, to: t, power: 0};
}
function round(a) {
return Math.abs(a - .5) < .25 ? ~~(a) + .5 : Math.ceil(a);
}
var d = (t - f) / steps,
r = ~~(d),
R = r,
i = 0;
if (r) {
while (R) {
i--;
R = ~~(d * Math.pow(10, i)) / Math.pow(10, i);
}
i ++;
} else {
while (!r) {
i = i || 1;
r = ~~(d * Math.pow(10, i)) / Math.pow(10, i);
i++;
}
i && i--;
}
t = round(to * Math.pow(10, i)) / Math.pow(10, i);
if (t < to) {
t = round((to + .5) * Math.pow(10, i)) / Math.pow(10, i);
}
f = round((from - (i > 0 ? 0 : .5)) * Math.pow(10, i)) / Math.pow(10, i);
return { from: f, to: t, power: i };
},
axis: function (x, y, length, from, to, steps, orientation, labels, type, dashsize, paper) {
dashsize = dashsize == null ? 2 : dashsize;
type = type || "t";
steps = steps || 10;
paper = arguments[arguments.length-1] //paper is always last argument
var path = type == "|" || type == " " ? ["M", x + .5, y, "l", 0, .001] : orientation == 1 || orientation == 3 ? ["M", x + .5, y, "l", 0, -length] : ["M", x, y + .5, "l", length, 0],
ends = this.snapEnds(from, to, steps),
f = ends.from,
t = ends.to,
i = ends.power,
j = 0,
txtattr = { font: "11px 'Fontin Sans', Fontin-Sans, sans-serif" },
text = paper.set(),
d;
d = (t - f) / steps;
var label = f,
rnd = i > 0 ? i : 0;
dx = length / steps;
if (+orientation == 1 || +orientation == 3) {
var Y = y,
addon = (orientation - 1 ? 1 : -1) * (dashsize + 3 + !!(orientation - 1));
while (Y >= y - length) {
type != "-" && type != " " && (path = path.concat(["M", x - (type == "+" || type == "|" ? dashsize : !(orientation - 1) * dashsize * 2), Y + .5, "l", dashsize * 2 + 1, 0]));
text.push(paper.text(x + addon, Y, (labels && labels[j++]) || (Math.round(label) == label ? label : +label.toFixed(rnd))).attr(txtattr).attr({ "text-anchor": orientation - 1 ? "start" : "end" }));
label += d;
Y -= dx;
}
if (Math.round(Y + dx - (y - length))) {
type != "-" && type != " " && (path = path.concat(["M", x - (type == "+" || type == "|" ? dashsize : !(orientation - 1) * dashsize * 2), y - length + .5, "l", dashsize * 2 + 1, 0]));
text.push(paper.text(x + addon, y - length, (labels && labels[j]) || (Math.round(label) == label ? label : +label.toFixed(rnd))).attr(txtattr).attr({ "text-anchor": orientation - 1 ? "start" : "end" }));
}
} else {
label = f;
rnd = (i > 0) * i;
addon = (orientation ? -1 : 1) * (dashsize + 9 + !orientation);
var X = x,
dx = length / steps,
txt = 0,
prev = 0;
while (X <= x + length) {
type != "-" && type != " " && (path = path.concat(["M", X + .5, y - (type == "+" ? dashsize : !!orientation * dashsize * 2), "l", 0, dashsize * 2 + 1]));
text.push(txt = paper.text(X, y + addon, (labels && labels[j++]) || (Math.round(label) == label ? label : +label.toFixed(rnd))).attr(txtattr));
var bb = txt.getBBox();
if (prev >= bb.x - 5) {
text.pop(text.length - 1).remove();
} else {
prev = bb.x + bb.width;
}
label += d;
X += dx;
}
if (Math.round(X - dx - x - length)) {
type != "-" && type != " " && (path = path.concat(["M", x + length + .5, y - (type == "+" ? dashsize : !!orientation * dashsize * 2), "l", 0, dashsize * 2 + 1]));
text.push(paper.text(x + length, y + addon, (labels && labels[j]) || (Math.round(label) == label ? label : +label.toFixed(rnd))).attr(txtattr));
}
}
var res = paper.path(path);
res.text = text;
res.all = paper.set([res, text]);
res.remove = function () {
this.text.remove();
this.constructor.prototype.remove.call(this);
};
return res;
},
labelise: function(label, val, total) {
if (label) {
return (label + "").replace(/(##+(?:\.#+)?)|(%%+(?:\.%+)?)/g, function (all, value, percent) {
if (value) {
return (+val).toFixed(value.replace(/^#+\.?/g, "").length);
}
if (percent) {
return (val * 100 / total).toFixed(percent.replace(/^%+\.?/g, "").length) + "%";
}
});
} else {
return (+val).toFixed(0);
}
}
}
|
JavaScript
|
/*!
* g.Raphael 0.5 - Charting library, based on Raphaël
*
* Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/
(function () {
var colorValue = function (value, total, s, b) {
return 'hsb(' + [Math.min((1 - value / total) * .4, 1), s || .75, b || .75] + ')';
};
function Dotchart(paper, x, y, width, height, valuesx, valuesy, size, opts) {
var chartinst = this;
function drawAxis(ax) {
+ax[0] && (ax[0] = chartinst.axis(x + gutter, y + gutter, width - 2 * gutter, minx, maxx, opts.axisxstep || Math.floor((width - 2 * gutter) / 20), 2, opts.axisxlabels || null, opts.axisxtype || "t", null, paper));
+ax[1] && (ax[1] = chartinst.axis(x + width - gutter, y + height - gutter, height - 2 * gutter, miny, maxy, opts.axisystep || Math.floor((height - 2 * gutter) / 20), 3, opts.axisylabels || null, opts.axisytype || "t", null, paper));
+ax[2] && (ax[2] = chartinst.axis(x + gutter, y + height - gutter + maxR, width - 2 * gutter, minx, maxx, opts.axisxstep || Math.floor((width - 2 * gutter) / 20), 0, opts.axisxlabels || null, opts.axisxtype || "t", null, paper));
+ax[3] && (ax[3] = chartinst.axis(x + gutter - maxR, y + height - gutter, height - 2 * gutter, miny, maxy, opts.axisystep || Math.floor((height - 2 * gutter) / 20), 1, opts.axisylabels || null, opts.axisytype || "t", null, paper));
}
opts = opts || {};
var xdim = chartinst.snapEnds(Math.min.apply(Math, valuesx), Math.max.apply(Math, valuesx), valuesx.length - 1),
minx = xdim.from,
maxx = xdim.to,
gutter = opts.gutter || 10,
ydim = chartinst.snapEnds(Math.min.apply(Math, valuesy), Math.max.apply(Math, valuesy), valuesy.length - 1),
miny = ydim.from,
maxy = ydim.to,
len = Math.max(valuesx.length, valuesy.length, size.length),
symbol = paper[opts.symbol] || "circle",
res = paper.set(),
series = paper.set(),
max = opts.max || 100,
top = Math.max.apply(Math, size),
R = [],
k = Math.sqrt(top / Math.PI) * 2 / max;
for (var i = 0; i < len; i++) {
R[i] = Math.min(Math.sqrt(size[i] / Math.PI) * 2 / k, max);
}
gutter = Math.max.apply(Math, R.concat(gutter));
var axis = paper.set(),
maxR = Math.max.apply(Math, R);
if (opts.axis) {
var ax = (opts.axis + "").split(/[,\s]+/);
drawAxis.call(chartinst, ax);
var g = [], b = [];
for (var i = 0, ii = ax.length; i < ii; i++) {
var bb = ax[i].all ? ax[i].all.getBBox()[["height", "width"][i % 2]] : 0;
g[i] = bb + gutter;
b[i] = bb;
}
gutter = Math.max.apply(Math, g.concat(gutter));
for (var i = 0, ii = ax.length; i < ii; i++) if (ax[i].all) {
ax[i].remove();
ax[i] = 1;
}
drawAxis.call(chartinst, ax);
for (var i = 0, ii = ax.length; i < ii; i++) if (ax[i].all) {
axis.push(ax[i].all);
}
res.axis = axis;
}
var kx = (width - gutter * 2) / ((maxx - minx) || 1),
ky = (height - gutter * 2) / ((maxy - miny) || 1);
for (var i = 0, ii = valuesy.length; i < ii; i++) {
var sym = paper.raphael.is(symbol, "array") ? symbol[i] : symbol,
X = x + gutter + (valuesx[i] - minx) * kx,
Y = y + height - gutter - (valuesy[i] - miny) * ky;
sym && R[i] && series.push(paper[sym](X, Y, R[i]).attr({ fill: opts.heat ? colorValue(R[i], maxR) : chartinst.colors[0], "fill-opacity": opts.opacity ? R[i] / max : 1, stroke: "none" }));
}
var covers = paper.set();
for (var i = 0, ii = valuesy.length; i < ii; i++) {
var X = x + gutter + (valuesx[i] - minx) * kx,
Y = y + height - gutter - (valuesy[i] - miny) * ky;
covers.push(paper.circle(X, Y, maxR).attr(chartinst.shim));
opts.href && opts.href[i] && covers[i].attr({href: opts.href[i]});
covers[i].r = +R[i].toFixed(3);
covers[i].x = +X.toFixed(3);
covers[i].y = +Y.toFixed(3);
covers[i].X = valuesx[i];
covers[i].Y = valuesy[i];
covers[i].value = size[i] || 0;
covers[i].dot = series[i];
}
res.covers = covers;
res.series = series;
res.push(series, axis, covers);
res.hover = function (fin, fout) {
covers.mouseover(fin).mouseout(fout);
return this;
};
res.click = function (f) {
covers.click(f);
return this;
};
res.each = function (f) {
if (!paper.raphael.is(f, "function")) {
return this;
}
for (var i = covers.length; i--;) {
f.call(covers[i]);
}
return this;
};
res.href = function (map) {
var cover;
for (var i = covers.length; i--;) {
cover = covers[i];
if (cover.X == map.x && cover.Y == map.y && cover.value == map.value) {
cover.attr({href: map.href});
}
}
};
return res;
};
//inheritance
var F = function() {};
F.prototype = Raphael.g
Dotchart.prototype = new F;
//public
Raphael.fn.dotchart = function(x, y, width, height, valuesx, valuesy, size, opts) {
return new Dotchart(this, x, y, width, height, valuesx, valuesy, size, opts);
}
})();
|
JavaScript
|
/*!
* g.Raphael 0.5 - Charting library, based on Raphaël
*
* Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/
(function () {
function shrink(values, dim) {
var k = values.length / dim,
j = 0,
l = k,
sum = 0,
res = [];
while (j < values.length) {
l--;
if (l < 0) {
sum += values[j] * (1 + l);
res.push(sum / k);
sum = values[j++] * -l;
l += k;
} else {
sum += values[j++];
}
}
return res;
}
function getAnchors(p1x, p1y, p2x, p2y, p3x, p3y) {
var l1 = (p2x - p1x) / 2,
l2 = (p3x - p2x) / 2,
a = Math.atan((p2x - p1x) / Math.abs(p2y - p1y)),
b = Math.atan((p3x - p2x) / Math.abs(p2y - p3y));
a = p1y < p2y ? Math.PI - a : a;
b = p3y < p2y ? Math.PI - b : b;
var alpha = Math.PI / 2 - ((a + b) % (Math.PI * 2)) / 2,
dx1 = l1 * Math.sin(alpha + a),
dy1 = l1 * Math.cos(alpha + a),
dx2 = l2 * Math.sin(alpha + b),
dy2 = l2 * Math.cos(alpha + b);
return {
x1: p2x - dx1,
y1: p2y + dy1,
x2: p2x + dx2,
y2: p2y + dy2
};
}
function Linechart(paper, x, y, width, height, valuesx, valuesy, opts) {
var chartinst = this;
opts = opts || {};
if (!paper.raphael.is(valuesx[0], "array")) {
valuesx = [valuesx];
}
if (!paper.raphael.is(valuesy[0], "array")) {
valuesy = [valuesy];
}
var gutter = opts.gutter || 10,
len = Math.max(valuesx[0].length, valuesy[0].length),
symbol = opts.symbol || "",
colors = opts.colors || chartinst.colors,
columns = null,
dots = null,
chart = paper.set(),
path = [];
for (var i = 0, ii = valuesy.length; i < ii; i++) {
len = Math.max(len, valuesy[i].length);
}
var shades = paper.set();
for (i = 0, ii = valuesy.length; i < ii; i++) {
if (opts.shade) {
shades.push(paper.path().attr({ stroke: "none", fill: colors[i], opacity: opts.nostroke ? 1 : .3 }));
}
if (valuesy[i].length > width - 2 * gutter) {
valuesy[i] = shrink(valuesy[i], width - 2 * gutter);
len = width - 2 * gutter;
}
if (valuesx[i] && valuesx[i].length > width - 2 * gutter) {
valuesx[i] = shrink(valuesx[i], width - 2 * gutter);
}
}
var allx = Array.prototype.concat.apply([], valuesx),
ally = Array.prototype.concat.apply([], valuesy),
xdim = chartinst.snapEnds(Math.min.apply(Math, allx), Math.max.apply(Math, allx), valuesx[0].length - 1),
minx = xdim.from,
maxx = xdim.to,
ydim = chartinst.snapEnds(Math.min.apply(Math, ally), Math.max.apply(Math, ally), valuesy[0].length - 1),
miny = ydim.from,
maxy = ydim.to,
kx = (width - gutter * 2) / ((maxx - minx) || 1),
ky = (height - gutter * 2) / ((maxy - miny) || 1);
var axis = paper.set();
if (opts.axis) {
miny = 0;
maxy = ydim.to;
ky = (height - gutter * 2) / ((maxy - miny) || 1);
var ax = (opts.axis + "").split(/[,\s]+/);
+ax[0] && axis.push(chartinst.axis(x + gutter, y + gutter, width - 2 * gutter, minx, maxx, opts.axisxstep || Math.floor((width - 2 * gutter) / 20), 2, opts.axisxlables, paper));
+ax[1] && axis.push(chartinst.axis(x + width - gutter, y + height - gutter, height - 2 * gutter, ydim.from, ydim.to, opts.axisystep || Math.floor((height - 2 * gutter) / 20), 3, paper));
+ax[2] && axis.push(chartinst.axis(x + gutter, y + height - gutter, width - 2 * gutter, minx, maxx, opts.axisxstep || Math.floor((width - 2 * gutter) / 20), 0, opts.axisxlables, paper));
//+ax[3] && axis.push(chartinst.axis(x + gutter, y + height - gutter, height - 2 * gutter, ydim.from, ydim.to, opts.axisystep || Math.floor((height - 2 * gutter) / 20), 1, paper));
+ax[3] && axis.push(chartinst.axis(x + gutter, y + height - gutter, height - 2 * gutter, miny, maxy, opts.axisystep || Math.floor((height - 2 * gutter) / 20), 1, paper));
}
var lines = paper.set(),
symbols = paper.set(),
line;
for (i = 0, ii = valuesy.length; i < ii; i++) {
if (!opts.nostroke) {
lines.push(line = paper.path().attr({
stroke: colors[i],
"stroke-width": opts.width || 2,
"stroke-linejoin": "round",
"stroke-linecap": "round",
"stroke-dasharray": opts.dash || ""
}));
}
var sym = Raphael.is(symbol, "array") ? symbol[i] : symbol,
symset = paper.set();
path = [];
for (var j = 0, jj = valuesy[i].length; j < jj; j++) {
var X = x + gutter + ((valuesx[i] || valuesx[0])[j] - minx) * kx,
Y = y + height - gutter - (valuesy[i][j] - miny) * ky;
(Raphael.is(sym, "array") ? sym[j] : sym) && symset.push(paper[Raphael.is(sym, "array") ? sym[j] : sym](X, Y, (opts.width || 2) * 3).attr({ fill: colors[i], stroke: "none" }));
if (opts.smooth) {
if (j && j != jj - 1) {
var X0 = x + gutter + ((valuesx[i] || valuesx[0])[j - 1] - minx) * kx,
Y0 = y + height - gutter - (valuesy[i][j - 1] - miny) * ky,
X2 = x + gutter + ((valuesx[i] || valuesx[0])[j + 1] - minx) * kx,
Y2 = y + height - gutter - (valuesy[i][j + 1] - miny) * ky,
a = getAnchors(X0, Y0, X, Y, X2, Y2);
path = path.concat([a.x1, a.y1, X, Y, a.x2, a.y2]);
}
if (!j) {
path = ["M", X, Y, "C", X, Y];
}
} else {
path = path.concat([j ? "L" : "M", X, Y]);
}
}
if (opts.smooth) {
path = path.concat([X, Y, X, Y]);
}
symbols.push(symset);
if (opts.shade) {
shades[i].attr({ path: path.concat(["L", X, y + height - gutter, "L", x + gutter + ((valuesx[i] || valuesx[0])[0] - minx) * kx, y + height - gutter, "z"]).join(",") });
}
!opts.nostroke && line.attr({ path: path.join(",") });
}
function createColumns(f) {
// unite Xs together
var Xs = [];
for (var i = 0, ii = valuesx.length; i < ii; i++) {
Xs = Xs.concat(valuesx[i]);
}
Xs.sort(function(a,b){return a-b;});
// remove duplicates
var Xs2 = [],
xs = [];
for (i = 0, ii = Xs.length; i < ii; i++) {
Xs[i] != Xs[i - 1] && Xs2.push(Xs[i]) && xs.push(x + gutter + (Xs[i] - minx) * kx);
}
Xs = Xs2;
ii = Xs.length;
var cvrs = f || paper.set();
for (i = 0; i < ii; i++) {
var X = xs[i] - (xs[i] - (xs[i - 1] || x)) / 2,
w = ((xs[i + 1] || x + width) - xs[i]) / 2 + (xs[i] - (xs[i - 1] || x)) / 2,
C;
f ? (C = {}) : cvrs.push(C = paper.rect(X - 1, y, Math.max(w + 1, 1), height).attr({ stroke: "none", fill: "#000", opacity: 0 }));
C.values = [];
C.symbols = paper.set();
C.y = [];
C.x = xs[i];
C.axis = Xs[i];
for (var j = 0, jj = valuesy.length; j < jj; j++) {
Xs2 = valuesx[j] || valuesx[0];
for (var k = 0, kk = Xs2.length; k < kk; k++) {
if (Xs2[k] == Xs[i]) {
C.values.push(valuesy[j][k]);
C.y.push(y + height - gutter - (valuesy[j][k] - miny) * ky);
C.symbols.push(chart.symbols[j][k]);
}
}
}
f && f.call(C);
}
!f && (columns = cvrs);
}
function createDots(f) {
var cvrs = f || paper.set(),
C;
for (var i = 0, ii = valuesy.length; i < ii; i++) {
for (var j = 0, jj = valuesy[i].length; j < jj; j++) {
var X = x + gutter + ((valuesx[i] || valuesx[0])[j] - minx) * kx,
nearX = x + gutter + ((valuesx[i] || valuesx[0])[j ? j - 1 : 1] - minx) * kx,
Y = y + height - gutter - (valuesy[i][j] - miny) * ky;
f ? (C = {}) : cvrs.push(C = paper.circle(X, Y, Math.abs(nearX - X) / 2).attr({ stroke: "none", fill: "#000", opacity: 0 }));
C.x = X;
C.y = Y;
C.value = valuesy[i][j];
C.line = chart.lines[i];
C.shade = chart.shades[i];
C.symbol = chart.symbols[i][j];
C.symbols = chart.symbols[i];
C.axis = (valuesx[i] || valuesx[0])[j];
f && f.call(C);
}
}
!f && (dots = cvrs);
}
chart.push(lines, shades, symbols, axis, columns, dots);
chart.lines = lines;
chart.shades = shades;
chart.symbols = symbols;
chart.axis = axis;
chart.hoverColumn = function (fin, fout) {
!columns && createColumns();
columns.mouseover(fin).mouseout(fout);
return this;
};
chart.clickColumn = function (f) {
!columns && createColumns();
columns.click(f);
return this;
};
chart.hrefColumn = function (cols) {
var hrefs = paper.raphael.is(arguments[0], "array") ? arguments[0] : arguments;
if (!(arguments.length - 1) && typeof cols == "object") {
for (var x in cols) {
for (var i = 0, ii = columns.length; i < ii; i++) if (columns[i].axis == x) {
columns[i].attr("href", cols[x]);
}
}
}
!columns && createColumns();
for (i = 0, ii = hrefs.length; i < ii; i++) {
columns[i] && columns[i].attr("href", hrefs[i]);
}
return this;
};
chart.hover = function (fin, fout) {
!dots && createDots();
dots.mouseover(fin).mouseout(fout);
return this;
};
chart.click = function (f) {
!dots && createDots();
dots.click(f);
return this;
};
chart.each = function (f) {
createDots(f);
return this;
};
chart.eachColumn = function (f) {
createColumns(f);
return this;
};
return chart;
};
//inheritance
var F = function() {};
F.prototype = Raphael.g;
Linechart.prototype = new F;
//public
Raphael.fn.linechart = function(x, y, width, height, valuesx, valuesy, opts) {
return new Linechart(this, x, y, width, height, valuesx, valuesy, opts);
}
})();
|
JavaScript
|
/*!
* g.Raphael 0.5 - Charting library, based on Raphaël
*
* Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/
(function () {
var mmin = Math.min,
mmax = Math.max;
function finger(x, y, width, height, dir, ending, isPath, paper) {
var path,
ends = { round: 'round', sharp: 'sharp', soft: 'soft', square: 'square' };
// dir 0 for horizontal and 1 for vertical
if ((dir && !height) || (!dir && !width)) {
return isPath ? "" : paper.path();
}
ending = ends[ending] || "square";
height = Math.round(height);
width = Math.round(width);
x = Math.round(x);
y = Math.round(y);
switch (ending) {
case "round":
if (!dir) {
var r = ~~(height / 2);
if (width < r) {
r = width;
path = [
"M", x + .5, y + .5 - ~~(height / 2),
"l", 0, 0,
"a", r, ~~(height / 2), 0, 0, 1, 0, height,
"l", 0, 0,
"z"
];
} else {
path = [
"M", x + .5, y + .5 - r,
"l", width - r, 0,
"a", r, r, 0, 1, 1, 0, height,
"l", r - width, 0,
"z"
];
}
} else {
r = ~~(width / 2);
if (height < r) {
r = height;
path = [
"M", x - ~~(width / 2), y,
"l", 0, 0,
"a", ~~(width / 2), r, 0, 0, 1, width, 0,
"l", 0, 0,
"z"
];
} else {
path = [
"M", x - r, y,
"l", 0, r - height,
"a", r, r, 0, 1, 1, width, 0,
"l", 0, height - r,
"z"
];
}
}
break;
case "sharp":
if (!dir) {
var half = ~~(height / 2);
path = [
"M", x, y + half,
"l", 0, -height, mmax(width - half, 0), 0, mmin(half, width), half, -mmin(half, width), half + (half * 2 < height),
"z"
];
} else {
half = ~~(width / 2);
path = [
"M", x + half, y,
"l", -width, 0, 0, -mmax(height - half, 0), half, -mmin(half, height), half, mmin(half, height), half,
"z"
];
}
break;
case "square":
if (!dir) {
path = [
"M", x, y + ~~(height / 2),
"l", 0, -height, width, 0, 0, height,
"z"
];
} else {
path = [
"M", x + ~~(width / 2), y,
"l", 1 - width, 0, 0, -height, width - 1, 0,
"z"
];
}
break;
case "soft":
if (!dir) {
r = mmin(width, Math.round(height / 5));
path = [
"M", x + .5, y + .5 - ~~(height / 2),
"l", width - r, 0,
"a", r, r, 0, 0, 1, r, r,
"l", 0, height - r * 2,
"a", r, r, 0, 0, 1, -r, r,
"l", r - width, 0,
"z"
];
} else {
r = mmin(Math.round(width / 5), height);
path = [
"M", x - ~~(width / 2), y,
"l", 0, r - height,
"a", r, r, 0, 0, 1, r, -r,
"l", width - 2 * r, 0,
"a", r, r, 0, 0, 1, r, r,
"l", 0, height - r,
"z"
];
}
}
if (isPath) {
return path.join(",");
} else {
return paper.path(path);
}
}
/*
* Vertical Barchart
*/
function VBarchart(paper, x, y, width, height, values, opts) {
opts = opts || {};
var chartinst = this,
type = opts.type || "square",
gutter = parseFloat(opts.gutter || "20%"),
chart = paper.set(),
bars = paper.set(),
covers = paper.set(),
covers2 = paper.set(),
total = Math.max.apply(Math, values),
stacktotal = [],
multi = 0,
colors = opts.colors || chartinst.colors,
len = values.length;
if (Raphael.is(values[0], "array")) {
total = [];
multi = len;
len = 0;
for (var i = values.length; i--;) {
bars.push(paper.set());
total.push(Math.max.apply(Math, values[i]));
len = Math.max(len, values[i].length);
}
if (opts.stacked) {
for (var i = len; i--;) {
var tot = 0;
for (var j = values.length; j--;) {
tot +=+ values[j][i] || 0;
}
stacktotal.push(tot);
}
}
for (var i = values.length; i--;) {
if (values[i].length < len) {
for (var j = len; j--;) {
values[i].push(0);
}
}
}
total = Math.max.apply(Math, opts.stacked ? stacktotal : total);
}
total = (opts.to) || total;
var barwidth = width / (len * (100 + gutter) + gutter) * 100,
barhgutter = barwidth * gutter / 100,
barvgutter = opts.vgutter == null ? 20 : opts.vgutter,
stack = [],
X = x + barhgutter,
Y = (height - 2 * barvgutter) / total;
if (!opts.stretch) {
barhgutter = Math.round(barhgutter);
barwidth = Math.floor(barwidth);
}
!opts.stacked && (barwidth /= multi || 1);
for (var i = 0; i < len; i++) {
stack = [];
for (var j = 0; j < (multi || 1); j++) {
var h = Math.round((multi ? values[j][i] : values[i]) * Y),
top = y + height - barvgutter - h,
bar = finger(Math.round(X + barwidth / 2), top + h, barwidth, h, true, type, null, paper).attr({ stroke: "none", fill: colors[multi ? j : i] });
if (multi) {
bars[j].push(bar);
} else {
bars.push(bar);
}
bar.y = top;
bar.x = Math.round(X + barwidth / 2);
bar.w = barwidth;
bar.h = h;
bar.value = multi ? values[j][i] : values[i];
if (!opts.stacked) {
X += barwidth;
} else {
stack.push(bar);
}
}
if (opts.stacked) {
var cvr;
covers2.push(cvr = paper.rect(stack[0].x - stack[0].w / 2, y, barwidth, height).attr(chartinst.shim));
cvr.bars = paper.set();
var size = 0;
for (var s = stack.length; s--;) {
stack[s].toFront();
}
for (var s = 0, ss = stack.length; s < ss; s++) {
var bar = stack[s],
cover,
h = (size + bar.value) * Y,
path = finger(bar.x, y + height - barvgutter - !!size * .5, barwidth, h, true, type, 1, paper);
cvr.bars.push(bar);
size && bar.attr({path: path});
bar.h = h;
bar.y = y + height - barvgutter - !!size * .5 - h;
covers.push(cover = paper.rect(bar.x - bar.w / 2, bar.y, barwidth, bar.value * Y).attr(chartinst.shim));
cover.bar = bar;
cover.value = bar.value;
size += bar.value;
}
X += barwidth;
}
X += barhgutter;
}
covers2.toFront();
X = x + barhgutter;
if (!opts.stacked) {
for (var i = 0; i < len; i++) {
for (var j = 0; j < (multi || 1); j++) {
var cover;
covers.push(cover = paper.rect(Math.round(X), y + barvgutter, barwidth, height - barvgutter).attr(chartinst.shim));
cover.bar = multi ? bars[j][i] : bars[i];
cover.value = cover.bar.value;
X += barwidth;
}
X += barhgutter;
}
}
var xdim = chartinst.snapEnds(0, len, 1),
minx = xdim.from,
maxx = xdim.to,
ydim = chartinst.snapEnds(0, total, 1),
miny = ydim.from,
maxy = ydim.to;
var axis = paper.set();
if (opts.axis) {
var ax = (opts.axis + "").split(/[,\s]+/);
// +ax[0] && axis.push(chartinst.axis(x, y + gutter, width, minx, maxx, opts.axisxstep || Math.floor((width) / 20), 2, paper));
+ax[0] && axis.push(paper.path(["M", x, y + gutter + 0.5,"h", width]));
+ax[1] && axis.push(chartinst.axis(x + width, y + height - gutter, height - 2 * gutter, miny, maxy, opts.axisystep || Math.floor((height - gutter) / 20), 3, paper));
// +ax[2] && axis.push(chartinst.axis(x, y + height - gutter, width, minx, maxx, opts.axisxstep || Math.floor((width) / 20), 0, paper));
+ax[2] && axis.push(paper.path(["M", x, y + height - gutter + 0.5,"h", width]));
+ax[3] && axis.push(chartinst.axis(x, y + height - gutter, height - 2 * gutter, miny, maxy, opts.axisystep || Math.floor((height - gutter) / 20), 1, paper));
}
chart.label = function (labels, isBottom) {
labels = labels || [];
this.labels = paper.set();
var L, l = -Infinity;
if (opts.stacked) {
for (var i = 0; i < len; i++) {
var tot = 0;
for (var j = 0; j < (multi || 1); j++) {
tot += multi ? values[j][i] : values[i];
var bar = multi ? bars[j][i] : bars[i];
if (j == multi - 1) {
var label = chartinst.labelise(labels[i], tot, total);
L = paper.text(bar.x, y + height - barvgutter / 2, label).insertBefore(covers[i * (multi || 1) + j]);
var bb = L.getBBox();
if (bb.x - 7 < l) {
L.remove();
} else {
this.labels.push(L);
l = bb.x + bb.width;
}
}
}
}
} else {
for (var i = 0; i < len; i++) {
for (var j = 0; j < (multi || 1); j++) {
var label = chartinst.labelise(multi ? labels[j] && labels[j][i] : labels[i], multi ? values[j][i] : values[i], total);
var bar = multi ? bars[j][i] : bars[i];
L = paper.text(bar.x, isBottom ? y + height - barvgutter / 2 : bar.y - 10, label).insertBefore(covers[i * (multi || 1) + j]);
var bb = L.getBBox();
if (bb.x - 7 < l) {
L.remove();
} else {
this.labels.push(L);
l = bb.x + bb.width;
}
}
}
}
return this;
};
chart.hover = function (fin, fout) {
covers2.hide();
covers.show();
covers.mouseover(fin).mouseout(fout);
return this;
};
chart.hoverColumn = function (fin, fout) {
covers.hide();
covers2.show();
fout = fout || function () {};
covers2.mouseover(fin).mouseout(fout);
return this;
};
chart.click = function (f) {
covers2.hide();
covers.show();
covers.click(f);
return this;
};
chart.each = function (f) {
if (!Raphael.is(f, "function")) {
return this;
}
for (var i = covers.length; i--;) {
f.call(covers[i]);
}
return this;
};
chart.eachColumn = function (f) {
if (!Raphael.is(f, "function")) {
return this;
}
for (var i = covers2.length; i--;) {
f.call(covers2[i]);
}
return this;
};
chart.clickColumn = function (f) {
covers.hide();
covers2.show();
covers2.click(f);
return this;
};
chart.push(bars, covers, covers2);
chart.bars = bars;
chart.covers = covers;
chart.axis = axis;
return chart;
};
/**
* Horizontal Barchart
*/
function HBarchart(paper, x, y, width, height, values, opts) {
opts = opts || {};
var chartinst = this,
type = opts.type || "square",
gutter = parseFloat(opts.gutter || "20%"),
chart = paper.set(),
bars = paper.set(),
covers = paper.set(),
covers2 = paper.set(),
total = Math.max.apply(Math, values),
stacktotal = [],
multi = 0,
colors = opts.colors || chartinst.colors,
len = values.length;
if (Raphael.is(values[0], "array")) {
total = [];
multi = len;
len = 0;
for (var i = values.length; i--;) {
bars.push(paper.set());
total.push(Math.max.apply(Math, values[i]));
len = Math.max(len, values[i].length);
}
if (opts.stacked) {
for (var i = len; i--;) {
var tot = 0;
for (var j = values.length; j--;) {
tot +=+ values[j][i] || 0;
}
stacktotal.push(tot);
}
}
for (var i = values.length; i--;) {
if (values[i].length < len) {
for (var j = len; j--;) {
values[i].push(0);
}
}
}
total = Math.max.apply(Math, opts.stacked ? stacktotal : total);
}
total = (opts.to) || total;
var barheight = Math.floor(height / (len * (100 + gutter) + gutter) * 100),
bargutter = Math.floor(barheight * gutter / 100),
stack = [],
Y = y + bargutter,
X = (width - 1) / total;
!opts.stacked && (barheight /= multi || 1);
for (var i = 0; i < len; i++) {
stack = [];
for (var j = 0; j < (multi || 1); j++) {
var val = multi ? values[j][i] : values[i],
bar = finger(x, Y + barheight / 2, Math.round(val * X), barheight - 1, false, type, null, paper).attr({stroke: "none", fill: colors[multi ? j : i]});
if (multi) {
bars[j].push(bar);
} else {
bars.push(bar);
}
bar.x = x + Math.round(val * X);
bar.y = Y + barheight / 2;
bar.w = Math.round(val * X);
bar.h = barheight;
bar.value = +val;
if (!opts.stacked) {
Y += barheight;
} else {
stack.push(bar);
}
}
if (opts.stacked) {
var cvr = paper.rect(x, stack[0].y - stack[0].h / 2, width, barheight).attr(chartinst.shim);
covers2.push(cvr);
cvr.bars = paper.set();
var size = 0;
for (var s = stack.length; s--;) {
stack[s].toFront();
}
for (var s = 0, ss = stack.length; s < ss; s++) {
var bar = stack[s],
cover,
val = Math.round((size + bar.value) * X),
path = finger(x, bar.y, val, barheight - 1, false, type, 1, paper);
cvr.bars.push(bar);
size && bar.attr({ path: path });
bar.w = val;
bar.x = x + val;
covers.push(cover = paper.rect(x + size * X, bar.y - bar.h / 2, bar.value * X, barheight).attr(chartinst.shim));
cover.bar = bar;
size += bar.value;
}
Y += barheight;
}
Y += bargutter;
}
covers2.toFront();
Y = y + bargutter;
if (!opts.stacked) {
for (var i = 0; i < len; i++) {
for (var j = 0; j < (multi || 1); j++) {
var cover = paper.rect(x, Y, width, barheight).attr(chartinst.shim);
covers.push(cover);
cover.bar = multi ? bars[j][i] : bars[i];
cover.value = cover.bar.value;
Y += barheight;
}
Y += bargutter;
}
}
var xdim = chartinst.snapEnds(0, total, 1),
minx = xdim.from,
maxx = xdim.to,
ydim = chartinst.snapEnds(0, len, 1),
miny = ydim.from,
maxy = ydim.to;
var axis = paper.set();
if (opts.axis) {
var ax = (opts.axis + "").split(/[,\s]+/);
+ax[0] && axis.push(chartinst.axis(x, y, width, minx, maxx, opts.axisxstep || Math.floor((width) / 20), 2, paper));
//+ax[1] && axis.push(chartinst.axis(x + width, y + height, height, miny, maxy, opts.axisystep || Math.floor((height - gutter) / 20), 3, paper));
+ax[1] && axis.push(paper.path(["M", x+width+ 0.5, y,"v", height]));
+ax[2] && axis.push(chartinst.axis(x, y + height, width, minx, maxx, opts.axisxstep || Math.floor((width) / 20), 0, paper));
//+ax[3] && axis.push(chartinst.axis(x, y + height, height, miny, maxy, opts.axisystep || Math.floor((height - gutter) / 20), 1, paper));
+ax[3] && axis.push(paper.path(["M", x+ 0.5, y,"v", height]));
}
chart.label = function (labels, isRight) {
labels = labels || [];
this.labels = paper.set();
for (var i = 0; i < len; i++) {
for (var j = 0; j < multi; j++) {
var bar = multi ? bars[j][i] : bars[i];
var label = chartinst.labelise(multi ? labels[j] && labels[j][i] : labels[i], multi ? values[j][i] : values[i], total),
X = isRight ? bar.x - barheight / 2 + 3 : x + 5,
A = isRight ? "end" : "start",
L;
this.labels.push(L = paper.text(X, bar.y, label).attr({ "text-anchor": A }).insertBefore(covers[i * (multi || 1) + j]));
if (L.getBBox().x < x + 5) {
L.attr({x: x + 5, "text-anchor": "start"});
} else {
bar.label = L;
}
}
}
return this;
};
chart.hover = function (fin, fout) {
covers2.hide();
covers.show();
fout = fout || function () {};
covers.mouseover(fin).mouseout(fout);
return this;
};
chart.hoverColumn = function (fin, fout) {
covers.hide();
covers2.show();
fout = fout || function () {};
covers2.mouseover(fin).mouseout(fout);
return this;
};
chart.each = function (f) {
if (!Raphael.is(f, "function")) {
return this;
}
for (var i = covers.length; i--;) {
f.call(covers[i]);
}
return this;
};
chart.eachColumn = function (f) {
if (!Raphael.is(f, "function")) {
return this;
}
for (var i = covers2.length; i--;) {
f.call(covers2[i]);
}
return this;
};
chart.click = function (f) {
covers2.hide();
covers.show();
covers.click(f);
return this;
};
chart.clickColumn = function (f) {
covers.hide();
covers2.show();
covers2.click(f);
return this;
};
chart.push(bars, covers, covers2);
chart.bars = bars;
chart.covers = covers;
return chart;
};
//inheritance
var F = function() {};
F.prototype = Raphael.g;
HBarchart.prototype = VBarchart.prototype = new F;
Raphael.fn.hbarchart = function(x, y, width, height, values, opts) {
return new HBarchart(this, x, y, width, height, values, opts);
};
Raphael.fn.barchart = function(x, y, width, height, values, opts) {
return new VBarchart(this, x, y, width, height, values, opts);
};
})();
|
JavaScript
|
/**
* @author Roger Wu
* reference:dwz.drag.js, dwz.dialogDrag.js, dwz.resize.js, dwz.taskBar.js
*/
(function($){
$.pdialog = {
_op:{height:300, width:580, minH:40, minW:50, total:20, max:false, mask:false, resizable:true, drawable:true, maxable:true,minable:true,fresh:true},
_current:null,
_zIndex:42,
getCurrent:function(){
return this._current;
},
reload:function(url, options){
var op = $.extend({data:{}, dialogId:"", callback:null}, options);
var dialog = (op.dialogId && $("body").data(op.dialogId)) || this._current;
if (dialog){
var jDContent = dialog.find(".dialogContent");
jDContent.ajaxUrl({
type:"POST", url:url, data:op.data, callback:function(response){
jDContent.find("[layoutH]").layoutH(jDContent);
$(".pageContent", dialog).width($(dialog).width()-14);
$(":button.close", dialog).click(function(){
$.pdialog.close(dialog);
return false;
});
if ($.isFunction(op.callback)) op.callback(response);
}
});
}
},
//打开一个层
open:function(url, dlgid, title, options) {
var op = $.extend({},$.pdialog._op, options);
var dialog = $("body").data(dlgid);
//重复打开一个层
if(dialog) {
if(dialog.is(":hidden")) {
dialog.show();
}
if(op.fresh || url != $(dialog).data("url")){
dialog.data("url",url);
dialog.find(".dialogHeader").find("h1").html(title);
this.switchDialog(dialog);
var jDContent = dialog.find(".dialogContent");
jDContent.loadUrl(url, {}, function(){
jDContent.find("[layoutH]").layoutH(jDContent);
$(".pageContent", dialog).width($(dialog).width()-14);
$("button.close").click(function(){
$.pdialog.close(dialog);
return false;
});
});
}
} else { //打开一个全新的层
$("body").append(DWZ.frag["dialogFrag"]);
dialog = $(">.dialog:last-child", "body");
dialog.data("id",dlgid);
dialog.data("url",url);
if(options.close) dialog.data("close",options.close);
if(options.param) dialog.data("param",options.param);
($.fn.bgiframe && dialog.bgiframe());
dialog.find(".dialogHeader").find("h1").html(title);
$(dialog).css("zIndex", ($.pdialog._zIndex+=2));
$("div.shadow").css("zIndex", $.pdialog._zIndex - 3).show();
$.pdialog._init(dialog, options);
$(dialog).click(function(){
$.pdialog.switchDialog(dialog);
});
if(op.resizable)
dialog.jresize();
if(op.drawable)
dialog.dialogDrag();
$("a.close", dialog).click(function(event){
$.pdialog.close(dialog);
return false;
});
if (op.maxable) {
$("a.maximize", dialog).show().click(function(event){
$.pdialog.switchDialog(dialog);
$.pdialog.maxsize(dialog);
dialog.jresize("destroy").dialogDrag("destroy");
return false;
});
} else {
$("a.maximize", dialog).hide();
}
$("a.restore", dialog).click(function(event){
$.pdialog.restore(dialog);
dialog.jresize().dialogDrag();
return false;
});
if (op.minable) {
$("a.minimize", dialog).show().click(function(event){
$.pdialog.minimize(dialog);
return false;
});
} else {
$("a.minimize", dialog).hide();
}
$("div.dialogHeader a", dialog).mousedown(function(){
return false;
});
$("div.dialogHeader", dialog).dblclick(function(){
if($("a.restore",dialog).is(":hidden"))
$("a.maximize",dialog).trigger("click");
else
$("a.restore",dialog).trigger("click");
});
if(op.max) {
// $.pdialog.switchDialog(dialog);
$.pdialog.maxsize(dialog);
dialog.jresize("destroy").dialogDrag("destroy");
}
$("body").data(dlgid, dialog);
$.pdialog._current = dialog;
$.pdialog.attachShadow(dialog);
//load data
var jDContent = $(".dialogContent",dialog);
jDContent.loadUrl(url, {}, function(){
jDContent.find("[layoutH]").layoutH(jDContent);
$(".pageContent", dialog).width($(dialog).width()-14);
$("button.close").click(function(){
$.pdialog.close(dialog);
return false;
});
});
}
if (op.mask) {
$(dialog).css("zIndex", 1000);
$("a.minimize",dialog).hide();
$(dialog).data("mask", true);
$("#dialogBackground").show();
}else {
//add a task to task bar
if(op.minable) $.taskBar.addDialog(dlgid,title);
}
},
/**
* 切换当前层
* @param {Object} dialog
*/
switchDialog:function(dialog) {
var index = $(dialog).css("zIndex");
$.pdialog.attachShadow(dialog);
if($.pdialog._current) {
var cindex = $($.pdialog._current).css("zIndex");
$($.pdialog._current).css("zIndex", index);
$(dialog).css("zIndex", cindex);
$("div.shadow").css("zIndex", cindex - 1);
$.pdialog._current = dialog;
}
$.taskBar.switchTask(dialog.data("id"));
},
/**
* 给当前层附上阴隐层
* @param {Object} dialog
*/
attachShadow:function(dialog) {
var shadow = $("div.shadow");
if(shadow.is(":hidden")) shadow.show();
shadow.css({
top: parseInt($(dialog)[0].style.top) - 2,
left: parseInt($(dialog)[0].style.left) - 4,
height: parseInt($(dialog).height()) + 8,
width: parseInt($(dialog).width()) + 8,
zIndex:parseInt($(dialog).css("zIndex")) - 1
});
$(".shadow_c", shadow).children().andSelf().each(function(){
$(this).css("height", $(dialog).outerHeight() - 4);
});
},
_init:function(dialog, options) {
var op = $.extend({}, this._op, options);
var height = op.height>op.minH?op.height:op.minH;
var width = op.width>op.minW?op.width:op.minW;
if(isNaN(dialog.height()) || dialog.height() < height){
$(dialog).height(height+"px");
$(".dialogContent",dialog).height(height - $(".dialogHeader", dialog).outerHeight() - $(".dialogFooter", dialog).outerHeight() - 6);
}
if(isNaN(dialog.css("width")) || dialog.width() < width) {
$(dialog).width(width+"px");
}
var iTop = ($(window).height()-dialog.height())/2;
dialog.css({
left: ($(window).width()-dialog.width())/2,
top: iTop > 0 ? iTop : 0
});
},
/**
* 初始化半透明层
* @param {Object} resizable
* @param {Object} dialog
* @param {Object} target
*/
initResize:function(resizable, dialog,target) {
$("body").css("cursor", target + "-resize");
resizable.css({
top: $(dialog).css("top"),
left: $(dialog).css("left"),
height:$(dialog).css("height"),
width:$(dialog).css("width")
});
resizable.show();
},
/**
* 改变阴隐层
* @param {Object} target
* @param {Object} options
*/
repaint:function(target,options){
var shadow = $("div.shadow");
if(target != "w" && target != "e") {
shadow.css("height", shadow.outerHeight() + options.tmove);
$(".shadow_c", shadow).children().andSelf().each(function(){
$(this).css("height", $(this).outerHeight() + options.tmove);
});
}
if(target == "n" || target =="nw" || target == "ne") {
shadow.css("top", options.otop - 2);
}
if(options.owidth && (target != "n" || target != "s")) {
shadow.css("width", options.owidth + 8);
}
if(target.indexOf("w") >= 0) {
shadow.css("left", options.oleft - 4);
}
},
/**
* 改变左右拖动层的高度
* @param {Object} target
* @param {Object} tmove
* @param {Object} dialog
*/
resizeTool:function(target, tmove, dialog) {
$("div[class^='resizable']", dialog).filter(function(){
return $(this).attr("tar") == 'w' || $(this).attr("tar") == 'e';
}).each(function(){
$(this).css("height", $(this).outerHeight() + tmove);
});
},
/**
* 改变原始层的大小
* @param {Object} obj
* @param {Object} dialog
* @param {Object} target
*/
resizeDialog:function(obj, dialog, target) {
var oleft = parseInt(obj.style.left);
var otop = parseInt(obj.style.top);
var height = parseInt(obj.style.height);
var width = parseInt(obj.style.width);
if(target == "n" || target == "nw") {
tmove = parseInt($(dialog).css("top")) - otop;
} else {
tmove = height - parseInt($(dialog).css("height"));
}
$(dialog).css({left:oleft,width:width,top:otop,height:height});
$(".dialogContent", dialog).css("width", (width-12) + "px");
$(".pageContent", dialog).css("width", (width-14) + "px");
if (target != "w" && target != "e") {
var content = $(".dialogContent", dialog);
content.css({height:height - $(".dialogHeader", dialog).outerHeight() - $(".dialogFooter", dialog).outerHeight() - 6});
content.find("[layoutH]").layoutH(content);
$.pdialog.resizeTool(target, tmove, dialog);
}
$.pdialog.repaint(target, {oleft:oleft,otop: otop,tmove: tmove,owidth:width});
$(window).trigger(DWZ.eventType.resizeGrid);
},
close:function(dialog) {
if(typeof dialog == 'string') dialog = $("body").data(dialog);
var close = dialog.data("close");
var go = true;
if(close && $.isFunction(close)) {
var param = dialog.data("param");
if(param && param != ""){
param = DWZ.jsonEval(param);
go = close(param);
} else {
go = close();
}
if(!go) return;
}
$(dialog).hide();
$("div.shadow").hide();
if($(dialog).data("mask")){
$("#dialogBackground").hide();
} else{
if ($(dialog).data("id")) $.taskBar.closeDialog($(dialog).data("id"));
}
$("body").removeData($(dialog).data("id"));
$(dialog).trigger(DWZ.eventType.pageClear).remove();
},
closeCurrent:function(){
this.close($.pdialog._current);
},
checkTimeout:function(){
var $conetnt = $(".dialogContent", $.pdialog._current);
var json = DWZ.jsonEval($conetnt.html());
if (json && json.statusCode == DWZ.statusCode.timeout) this.closeCurrent();
},
maxsize:function(dialog) {
$(dialog).data("original",{
top:$(dialog).css("top"),
left:$(dialog).css("left"),
width:$(dialog).css("width"),
height:$(dialog).css("height")
});
$("a.maximize",dialog).hide();
$("a.restore",dialog).show();
var iContentW = $(window).width();
var iContentH = $(window).height() - 34;
$(dialog).css({top:"0px",left:"0px",width:iContentW+"px",height:iContentH+"px"});
$.pdialog._resizeContent(dialog,iContentW,iContentH);
},
restore:function(dialog) {
var original = $(dialog).data("original");
var dwidth = parseInt(original.width);
var dheight = parseInt(original.height);
$(dialog).css({
top:original.top,
left:original.left,
width:dwidth,
height:dheight
});
$.pdialog._resizeContent(dialog,dwidth,dheight);
$("a.maximize",dialog).show();
$("a.restore",dialog).hide();
$.pdialog.attachShadow(dialog);
},
minimize:function(dialog){
$(dialog).hide();
$("div.shadow").hide();
var task = $.taskBar.getTask($(dialog).data("id"));
$(".resizable").css({
top: $(dialog).css("top"),
left: $(dialog).css("left"),
height:$(dialog).css("height"),
width:$(dialog).css("width")
}).show().animate({top:$(window).height()-60,left:task.position().left,width:task.outerWidth(),height:task.outerHeight()},250,function(){
$(this).hide();
$.taskBar.inactive($(dialog).data("id"));
});
},
_resizeContent:function(dialog,width,height) {
var content = $(".dialogContent", dialog);
content.css({width:(width-12) + "px",height:height - $(".dialogHeader", dialog).outerHeight() - $(".dialogFooter", dialog).outerHeight() - 6});
content.find("[layoutH]").layoutH(content);
$(".pageContent", dialog).css("width", (width-14) + "px");
$(window).trigger(DWZ.eventType.resizeGrid);
}
};
})(jQuery);
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*
*/
/**
* 普通ajax表单提交
* @param {Object} form
* @param {Object} callback
* @param {String} confirmMsg 提示确认信息
*/
function validateCallback(form, callback, confirmMsg) {
var $form = $(form);
if (!$form.valid()) {
return false;
}
var _submitFn = function(){
$.ajax({
type: form.method || 'POST',
url:$form.attr("action"),
data:$form.serializeArray(),
dataType:"json",
cache: false,
success: callback || DWZ.ajaxDone,
error: DWZ.ajaxError
});
}
if (confirmMsg) {
alertMsg.confirm(confirmMsg, {okCall: _submitFn});
} else {
_submitFn();
}
return false;
}
/**
* 带文件上传的ajax表单提交
* @param {Object} form
* @param {Object} callback
*/
function iframeCallback(form, callback){
var $form = $(form), $iframe = $("#callbackframe");
if(!$form.valid()) {return false;}
if ($iframe.size() == 0) {
$iframe = $("<iframe id='callbackframe' name='callbackframe' src='about:blank' style='display:none'></iframe>").appendTo("body");
}
if(!form.ajax) {
$form.append('<input type="hidden" name="ajax" value="1" />');
}
form.target = "callbackframe";
_iframeResponse($iframe[0], callback || DWZ.ajaxDone);
}
function _iframeResponse(iframe, callback){
var $iframe = $(iframe), $document = $(document);
$document.trigger("ajaxStart");
$iframe.bind("load", function(event){
$iframe.unbind("load");
$document.trigger("ajaxStop");
if (iframe.src == "javascript:'%3Chtml%3E%3C/html%3E';" || // For Safari
iframe.src == "javascript:'<html></html>';") { // For FF, IE
return;
}
var doc = iframe.contentDocument || iframe.document;
// fixing Opera 9.26,10.00
if (doc.readyState && doc.readyState != 'complete') return;
// fixing Opera 9.64
if (doc.body && doc.body.innerHTML == "false") return;
var response;
if (doc.XMLDocument) {
// response is a xml document Internet Explorer property
response = doc.XMLDocument;
} else if (doc.body){
try{
response = $iframe.contents().find("body").text();
response = jQuery.parseJSON(response);
} catch (e){ // response is html document or plain text
response = doc.body.innerHTML;
}
} else {
// response is a xml document
response = doc;
}
callback(response);
});
}
/**
* navTabAjaxDone是DWZ框架中预定义的表单提交回调函数.
* 服务器转回navTabId可以把那个navTab标记为reloadFlag=1, 下次切换到那个navTab时会重新载入内容.
* callbackType如果是closeCurrent就会关闭当前tab
* 只有callbackType="forward"时需要forwardUrl值
* navTabAjaxDone这个回调函数基本可以通用了,如果还有特殊需要也可以自定义回调函数.
* 如果表单提交只提示操作是否成功, 就可以不指定回调函数. 框架会默认调用DWZ.ajaxDone()
* <form action="/user.do?method=save" onsubmit="return validateCallback(this, navTabAjaxDone)">
*
* form提交后返回json数据结构statusCode=DWZ.statusCode.ok表示操作成功, 做页面跳转等操作. statusCode=DWZ.statusCode.error表示操作失败, 提示错误原因.
* statusCode=DWZ.statusCode.timeout表示session超时,下次点击时跳转到DWZ.loginUrl
* {"statusCode":"200", "message":"操作成功", "navTabId":"navNewsLi", "forwardUrl":"", "callbackType":"closeCurrent", "rel"."xxxId"}
* {"statusCode":"300", "message":"操作失败"}
* {"statusCode":"301", "message":"会话超时"}
*
*/
function navTabAjaxDone(json){
DWZ.ajaxDone(json);
if (json.statusCode == DWZ.statusCode.ok){
if (json.navTabId){ //把指定navTab页面标记为需要“重新载入”。注意navTabId不能是当前navTab页面的
navTab.reloadFlag(json.navTabId);
} else { //重新载入当前navTab页面
var $pagerForm = $("#pagerForm", navTab.getCurrentPanel());
var args = $pagerForm.size()>0 ? $pagerForm.serializeArray() : {}
navTabPageBreak(args, json.rel);
}
if ("closeCurrent" == json.callbackType) {
setTimeout(function(){navTab.closeCurrentTab(json.navTabId);}, 100);
} else if ("forward" == json.callbackType) {
navTab.reload(json.forwardUrl);
} else if ("forwardConfirm" == json.callbackType) {
alertMsg.confirm(json.confirmMsg || DWZ.msg("forwardConfirmMsg"), {
okCall: function(){
navTab.reload(json.forwardUrl);
},
cancelCall: function(){
navTab.closeCurrentTab(json.navTabId);
}
});
} else {
navTab.getCurrentPanel().find(":input[initValue]").each(function(){
var initVal = $(this).attr("initValue");
$(this).val(initVal);
});
}
}
}
/**
* dialog上的表单提交回调函数
* 服务器转回navTabId,可以重新载入指定的navTab. statusCode=DWZ.statusCode.ok表示操作成功, 自动关闭当前dialog
*
* form提交后返回json数据结构,json格式和navTabAjaxDone一致
*/
function dialogAjaxDone(json){
DWZ.ajaxDone(json);
if (json.statusCode == DWZ.statusCode.ok){
if (json.navTabId){
navTab.reload(json.forwardUrl, {navTabId: json.navTabId});
} else {
var $pagerForm = $("#pagerForm", navTab.getCurrentPanel());
var args = $pagerForm.size()>0 ? $pagerForm.serializeArray() : {}
navTabPageBreak(args, json.rel);
}
if ("closeCurrent" == json.callbackType) {
$.pdialog.closeCurrent();
}
}
}
/**
* 处理navTab上的查询, 会重新载入当前navTab
* @param {Object} form
*/
function navTabSearch(form, navTabId){
var $form = $(form);
if (form[DWZ.pageInfo.pageNum]) form[DWZ.pageInfo.pageNum].value = 1;
navTab.reload($form.attr('action'), {data: $form.serializeArray(), navTabId:navTabId});
return false;
}
/**
* 处理dialog弹出层上的查询, 会重新载入当前dialog
* @param {Object} form
*/
function dialogSearch(form){
var $form = $(form);
if (form[DWZ.pageInfo.pageNum]) form[DWZ.pageInfo.pageNum].value = 1;
$.pdialog.reload($form.attr('action'), {data: $form.serializeArray()});
return false;
}
function dwzSearch(form, targetType){
if (targetType == "dialog") dialogSearch(form);
else navTabSearch(form);
return false;
}
/**
* 处理div上的局部查询, 会重新载入指定div
* @param {Object} form
*/
function divSearch(form, rel){
var $form = $(form);
if (form[DWZ.pageInfo.pageNum]) form[DWZ.pageInfo.pageNum].value = 1;
if (rel) {
var $box = $("#" + rel);
$box.ajaxUrl({
type:"POST", url:$form.attr("action"), data: $form.serializeArray(), callback:function(){
$box.find("[layoutH]").layoutH();
}
});
}
return false;
}
/**
*
* @param {Object} args {pageNum:"",numPerPage:"",orderField:"",orderDirection:""}
* @param String formId 分页表单选择器,非必填项默认值是 "pagerForm"
*/
function _getPagerForm($parent, args) {
var form = $("#pagerForm", $parent).get(0);
if (form) {
if (args["pageNum"]) form[DWZ.pageInfo.pageNum].value = args["pageNum"];
if (args["numPerPage"]) form[DWZ.pageInfo.numPerPage].value = args["numPerPage"];
if (args["orderField"]) form[DWZ.pageInfo.orderField].value = args["orderField"];
if (args["orderDirection"] && form[DWZ.pageInfo.orderDirection]) form[DWZ.pageInfo.orderDirection].value = args["orderDirection"];
}
return form;
}
/**
* 处理navTab中的分页和排序
* targetType: navTab 或 dialog
* rel: 可选 用于局部刷新div id号
* data: pagerForm参数 {pageNum:"n", numPerPage:"n", orderField:"xxx", orderDirection:""}
* callback: 加载完成回调函数
*/
function dwzPageBreak(options){
var op = $.extend({ targetType:"navTab", rel:"", data:{pageNum:"", numPerPage:"", orderField:"", orderDirection:""}, callback:null}, options);
var $parent = op.targetType == "dialog" ? $.pdialog.getCurrent() : navTab.getCurrentPanel();
if (op.rel) {
var $box = $parent.find("#" + op.rel);
var form = _getPagerForm($box, op.data);
if (form) {
$box.ajaxUrl({
type:"POST", url:$(form).attr("action"), data: $(form).serializeArray(), callback:function(){
$box.find("[layoutH]").layoutH();
}
});
}
} else {
var form = _getPagerForm($parent, op.data);
var params = $(form).serializeArray();
if (op.targetType == "dialog") {
if (form) $.pdialog.reload($(form).attr("action"), {data: params, callback: op.callback});
} else {
if (form) navTab.reload($(form).attr("action"), {data: params, callback: op.callback});
}
}
}
/**
* 处理navTab中的分页和排序
* @param args {pageNum:"n", numPerPage:"n", orderField:"xxx", orderDirection:""}
* @param rel: 可选 用于局部刷新div id号
*/
function navTabPageBreak(args, rel){
dwzPageBreak({targetType:"navTab", rel:rel, data:args});
}
/**
* 处理dialog中的分页和排序
* 参数同 navTabPageBreak
*/
function dialogPageBreak(args, rel){
dwzPageBreak({targetType:"dialog", rel:rel, data:args});
}
function ajaxTodo(url, callback){
var $callback = callback || navTabAjaxDone;
if (! $.isFunction($callback)) $callback = eval('(' + callback + ')');
$.ajax({
type:'POST',
url:url,
dataType:"json",
cache: false,
success: $callback,
error: DWZ.ajaxError
});
}
/**
* http://www.uploadify.com/documentation/uploadify/onqueuecomplete/
*/
function uploadifyQueueComplete(queueData){
var msg = "The total number of files uploaded: "+queueData.uploadsSuccessful+"<br/>"
+ "The total number of errors while uploading: "+queueData.uploadsErrored+"<br/>"
+ "The total number of bytes uploaded: "+queueData.queueBytesUploaded+"<br/>"
+ "The average speed of all uploaded files: "+queueData.averageSpeed;
if (queueData.uploadsErrored) {
alertMsg.error(msg);
} else {
alertMsg.correct(msg);
}
}
/**
* http://www.uploadify.com/documentation/uploadify/onuploadsuccess/
*/
function uploadifySuccess(file, data, response){
alert(data)
}
/**
* http://www.uploadify.com/documentation/uploadify/onuploaderror/
*/
function uploadifyError(file, errorCode, errorMsg) {
alertMsg.error(errorCode+": "+errorMsg);
}
/**
* http://www.uploadify.com/documentation/
* @param {Object} event
* @param {Object} queueID
* @param {Object} fileObj
* @param {Object} errorObj
*/
function uploadifyError(event, queueId, fileObj, errorObj){
alert("event:" + event + "\nqueueId:" + queueId + "\nfileObj.name:"
+ fileObj.name + "\nerrorObj.type:" + errorObj.type + "\nerrorObj.info:" + errorObj.info);
}
$.fn.extend({
ajaxTodo:function(){
return this.each(function(){
var $this = $(this);
$this.click(function(event){
var url = unescape($this.attr("href")).replaceTmById($(event.target).parents(".unitBox:first"));
DWZ.debug(url);
if (!url.isFinishedTm()) {
alertMsg.error($this.attr("warn") || DWZ.msg("alertSelectMsg"));
return false;
}
var title = $this.attr("title");
if (title) {
alertMsg.confirm(title, {
okCall: function(){
ajaxTodo(url, $this.attr("callback"));
}
});
} else {
ajaxTodo(url, $this.attr("callback"));
}
event.preventDefault();
});
});
},
dwzExport: function(){
function _doExport($this) {
var $p = $this.attr("targetType") == "dialog" ? $.pdialog.getCurrent() : navTab.getCurrentPanel();
var $form = $("#pagerForm", $p);
var url = $this.attr("href");
window.location = url+(url.indexOf('?') == -1 ? "?" : "&")+$form.serialize();
}
return this.each(function(){
var $this = $(this);
$this.click(function(event){
var title = $this.attr("title");
if (title) {
alertMsg.confirm(title, {
okCall: function(){_doExport($this);}
});
} else {_doExport($this);}
event.preventDefault();
});
});
}
});
|
JavaScript
|
/**
* @author Roger Wu
*/
(function($){
$.fn.dialogDrag = function(options){
if (typeof options == 'string') {
if (options == 'destroy')
return this.each(function() {
var dialog = this;
$("div.dialogHeader", dialog).unbind("mousedown");
});
}
return this.each(function(){
var dialog = $(this);
$("div.dialogHeader", dialog).mousedown(function(e){
$.pdialog.switchDialog(dialog);
dialog.data("task",true);
setTimeout(function(){
if(dialog.data("task"))$.dialogDrag.start(dialog,e);
},100);
return false;
}).mouseup(function(e){
dialog.data("task",false);
return false;
});
});
};
$.dialogDrag = {
currId:null,
_init:function(dialog) {
this.currId = new Date().getTime();
var shadow = $("#dialogProxy");
if (!shadow.size()) {
shadow = $(DWZ.frag["dialogProxy"]);
$("body").append(shadow);
}
$("h1", shadow).html($(".dialogHeader h1", dialog).text());
},
start:function(dialog,event){
this._init(dialog);
var sh = $("#dialogProxy");
sh.css({
left: dialog.css("left"),
top: dialog.css("top"),
height: dialog.css("height"),
width: dialog.css("width"),
zIndex:parseInt(dialog.css("zIndex")) + 1
}).show();
$("div.dialogContent",sh).css("height",$("div.dialogContent",dialog).css("height"));
sh.data("dialog",dialog);
dialog.css({left:"-10000px",top:"-10000px"});
$(".shadow").hide();
$(sh).jDrag({
selector:".dialogHeader",
stop: this.stop,
event:event
});
return false;
},
stop:function(){
var sh = $(arguments[0]);
var dialog = sh.data("dialog");
$(dialog).css({left:$(sh).css("left"),top:$(sh).css("top")});
$.pdialog.attachShadow(dialog);
$(sh).hide();
}
}
})(jQuery);
|
JavaScript
|
/**
* Theme Plugins
* @author ZhangHuihua@msn.com
*/
(function($){
$.fn.extend({
theme: function(options){
var op = $.extend({themeBase:"themes"}, options);
var _themeHref = op.themeBase + "/#theme#/style.css";
return this.each(function(){
var jThemeLi = $(this).find(">li[theme]");
var setTheme = function(themeName){
$("head").find("link[href$='style.css']").attr("href", _themeHref.replace("#theme#", themeName));
jThemeLi.find(">div").removeClass("selected");
jThemeLi.filter("[theme="+themeName+"]").find(">div").addClass("selected");
if ($.isFunction($.cookie)) $.cookie("dwz_theme", themeName);
}
jThemeLi.each(function(index){
var $this = $(this);
var themeName = $this.attr("theme");
$this.addClass(themeName).click(function(){
setTheme(themeName);
});
});
if ($.isFunction($.cookie)){
var themeName = $.cookie("dwz_theme");
if (themeName) {
setTheme(themeName);
}
}
});
}
});
})(jQuery);
|
JavaScript
|
/**
* @author ZhangHuihua@msn.com
*/
(function($){
var _op = {
cursor: 'move', // selector 的鼠标手势
sortBoxs: 'div.sortDrag', //拖动排序项父容器
replace: false, //2个sortBox之间拖动替换
items: '> *', //拖动排序项选择器
selector: '', //拖动排序项用于拖动的子元素的选择器,为空时等于item
zIndex: 1000
};
var sortDrag = {
start:function($sortBox, $item, event, op){
var $placeholder = this._createPlaceholder($item);
var $helper = $item.clone();
var position = $item.position();
$helper.data('$sortBox', $sortBox).data('op', op).data('$item', $item).data('$placeholder', $placeholder);
$helper.addClass('sortDragHelper').css({position:'absolute',top:position.top+$sortBox.scrollTop(),left:position.left,zIndex:op.zIndex,width:$item.width()+'px',height:$item.height()+'px'}).jDrag({
selector:op.selector,
drag:this.drag,
stop:this.stop,
event:event
});
$item.before($placeholder).before($helper).hide();
return false;
},
drag:function(){
var $helper = $(arguments[0]), $sortBox = $helper.data('$sortBox'), $placeholder = $helper.data('$placeholder');
var $items = $sortBox.find($helper.data('op')['items']).filter(':visible').filter(':not(.sortDragPlaceholder, .sortDragHelper)');
var helperPos = $helper.position(), firstPos = $items.eq(0).position();
var $overBox = sortDrag._getOverSortBox($helper);
if ($overBox.length > 0 && $overBox[0] != $sortBox[0]){ //移动到其他容器
$placeholder.appendTo($overBox);
$helper.data('$sortBox', $overBox);
} else {
for (var i=0; i<$items.length; i++) {
var $this = $items.eq(i), position = $this.position();
if (helperPos.top > position.top + 10) {
$this.after($placeholder);
} else if (helperPos.top <= position.top) {
$this.before($placeholder);
break;
}
}
}
},
stop:function(){
var $helper = $(arguments[0]), $sortBox = $helper.data('$sortBox'), $item = $helper.data('$item'), $placeholder = $helper.data('$placeholder');
var position = $placeholder.position();
$helper.animate({
top: (position.top+$sortBox.scrollTop()) + "px",
left: position.left + "px"
}, {
complete: function(){
if ($helper.data('op')['replace']){ //2个sortBox之间替换处理
$srcBox = $item.parents(_op.sortBoxs+":first");
$destBox = $placeholder.parents(_op.sortBoxs+":first");
if ($srcBox[0] != $destBox[0]) { //判断是否移动到其他容器中
$replaceItem = $placeholder.next();
if ($replaceItem.size() > 0) {
$replaceItem.insertAfter($item);
}
}
}
$item.insertAfter($placeholder).show();
$placeholder.remove();
$helper.remove();
},
duration: 300
});
},
_createPlaceholder:function($item){
return $('<'+$item[0].nodeName+' class="sortDragPlaceholder"/>').css({
width:$item.outerWidth()+'px',
height:$item.outerHeight()+'px',
marginTop:$item.css('marginTop'),
marginRight:$item.css('marginRight'),
marginBottom:$item.css('marginBottom'),
marginLeft:$item.css('marginLeft')
});
},
_getOverSortBox:function($item){
var itemPos = $item.position();
var y = itemPos.top+($item.height()/2), x = itemPos.left+($item.width()/2);
return $(_op.sortBoxs).filter(':visible').filter(function(){
var $sortBox = $(this), sortBoxPos = $sortBox.position();
return DWZ.isOver(y, x, sortBoxPos.top, sortBoxPos.left, $sortBox.height(), $sortBox.width());
});
}
};
$.fn.sortDrag = function(options){
return this.each(function(){
var op = $.extend({}, _op, options);
var $sortBox = $(this);
if ($sortBox.attr('selector')) op.selector = $sortBox.attr('selector');
$sortBox.find(op.items).each(function(i){
var $item = $(this), $selector = $item;
if (op.selector) {
$selector = $item.find(op.selector).css({cursor:op.cursor});
}
$selector.mousedown(function(event){
sortDrag.start($sortBox, $item, event, op);
event.preventDefault();
});
});
});
}
})(jQuery);
|
JavaScript
|
$(function(){
DWZ.init('/js/dwz/dwz.frag.xml', {
loginUrl:'/login', loginTitle:'登录',
statusCode:{ok:200, error:300, timeout:301},
pageInfo:{pageNum:'pageNum', numPerPage:'numPerPage', orderField:'orderField', orderDirection:'orderDirection'},
debug:false,
callback:function(){
initEnv();
$('#themeList').theme({themeBase:'/css/themes'});
}
});
});
|
JavaScript
|
for(var i = 0; i < 40; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetPanelState('u37', 'pd0u37','none','',500,'none','',500);
}
});
gv_vAlignTable['u31'] = 'top';HookHover('u16', false);
gv_vAlignTable['u17'] = 'top';document.getElementById('u28_img').tabIndex = 0;
HookHover('u28', false);
u28.style.cursor = 'pointer';
$axure.eventManager.click('u28', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
NewWindow("resources/Other.html#other=" + encodeURI("打开人事系统界面,选择基本员工档案功能"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
SetWidgetSelected('u28');
SetWidgetNotSelected('u26');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u34');
}
});
gv_vAlignTable['u29'] = 'top';HookHover('u8', false);
document.getElementById('u30_img').tabIndex = 0;
HookHover('u30', false);
u30.style.cursor = 'pointer';
$axure.eventManager.click('u30', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u30');
SetWidgetNotSelected('u28');
SetWidgetNotSelected('u26');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u34');
}
});
gv_vAlignTable['u21'] = 'top';HookHover('u6', false);
document.getElementById('u32_img').tabIndex = 0;
HookHover('u32', false);
u32.style.cursor = 'pointer';
$axure.eventManager.click('u32', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u32');
SetWidgetNotSelected('u26');
SetWidgetNotSelected('u28');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u34');
}
});
gv_vAlignTable['u3'] = 'top';gv_vAlignTable['u13'] = 'top';HookHover('u14', false);
gv_vAlignTable['u15'] = 'top';document.getElementById('u26_img').tabIndex = 0;
HookHover('u26', false);
u26.style.cursor = 'pointer';
$axure.eventManager.click('u26', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
NewWindow("resources/Other.html#other=" + encodeURI("打开基本页面,"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
SetWidgetSelected('u26');
SetWidgetNotSelected('u34');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u28');
}
});
HookHover('u10', false);
gv_vAlignTable['u11'] = 'top';HookHover('u12', false);
gv_vAlignTable['u9'] = 'top';gv_vAlignTable['u35'] = 'top';gv_vAlignTable['u27'] = 'top';gv_vAlignTable['u7'] = 'top';HookHover('u4', false);
HookHover('u2', false);
gv_vAlignTable['u20'] = 'center';gv_vAlignTable['u5'] = 'top';gv_vAlignTable['u33'] = 'top';document.getElementById('u34_img').tabIndex = 0;
HookHover('u34', false);
u34.style.cursor = 'pointer';
$axure.eventManager.click('u34', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u34');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u28');
SetWidgetNotSelected('u26');
}
});
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 453; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u48');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'top';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u378'] = 'center';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u436'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u449'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u400'] = 'center';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u410'] = 'center';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u357'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u355'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';gv_vAlignTable['u426'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u420'] = 'center';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u434'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u359'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u414'] = 'center';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u447'] = 'top';gv_vAlignTable['u386'] = 'center';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u438'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u445'] = 'top';gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u444'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u388'] = 'center';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u406'] = 'center';gv_vAlignTable['u384'] = 'center';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u404'] = 'center';gv_vAlignTable['u382'] = 'center';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u396'] = 'center';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u353'] = 'top';gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u402'] = 'center';gv_vAlignTable['u336'] = 'top';gv_vAlignTable['u367'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u380'] = 'center';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u416'] = 'center';gv_vAlignTable['u394'] = 'center';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'center';gv_vAlignTable['u418'] = 'center';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'top';gv_vAlignTable['u300'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u392'] = 'center';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u232'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u363'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u408'] = 'center';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u412'] = 'center';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u376'] = 'center';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u390'] = 'center';gv_vAlignTable['u361'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u324'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'center';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u344'] = 'top';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u398'] = 'center';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u334'] = 'top';
|
JavaScript
|
for(var i = 0; i < 324; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u11');
SetWidgetSelected('u69');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'center';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u269'] = 'top';gv_vAlignTable['u150'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u318'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u307'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'center';gv_vAlignTable['u284'] = 'center';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'center';gv_vAlignTable['u282'] = 'center';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'center';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'center';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u267'] = 'top';gv_vAlignTable['u302'] = 'center';gv_vAlignTable['u280'] = 'center';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'center';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u265'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'center';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u263'] = 'top';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u276'] = 'center';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u261'] = 'top';gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u224'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u311'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u300'] = 'center';gv_vAlignTable['u186'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u232'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u259'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'center';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'center';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u124'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'center';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'center';gv_vAlignTable['u320'] = 'top';
|
JavaScript
|
for(var i = 0; i < 382; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u11');
SetWidgetSelected('u67');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'center';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u346'] = 'center';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u340'] = 'center';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u318'] = 'center';gv_vAlignTable['u365'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'center';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u326'] = 'center';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u307'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'center';gv_vAlignTable['u356'] = 'center';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'center';gv_vAlignTable['u305'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u303'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'center';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u301'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u369'] = 'top';gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u322'] = 'center';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u309'] = 'top';gv_vAlignTable['u328'] = 'center';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u354'] = 'center';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u311'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u336'] = 'center';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u232'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'center';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u300'] = 'center';gv_vAlignTable['u186'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'center';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'center';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u338'] = 'center';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'center';gv_vAlignTable['u376'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u324'] = 'center';gv_vAlignTable['u360'] = 'center';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u344'] = 'center';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'center';gv_vAlignTable['u334'] = 'center';
|
JavaScript
|
for(var i = 0; i < 292; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u126');
SetWidgetSelected('u132');
SetPanelState('u129', 'pd4u129','none','',500,'none','',500);
SetPanelVisibility('u237','hidden','none',500);
SetPanelVisibility('u262','hidden','none',500);
SetPanelVisibility('u265','hidden','none',500);
MoveWidgetTo('u237', GetNum('176'), GetNum('107'),'none',500);
}
});
function rdo2821(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo2822(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo2823(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo2824(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo2825(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo2826(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo2827(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo2828(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo261(e) {
if (true) {
SetPanelState('u129', 'pd0u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo262(e) {
if (true) {
SetPanelState('u129', 'pd1u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo263(e) {
if (true) {
SetPanelState('u129', 'pd2u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo264(e) {
if (true) {
SetPanelState('u129', 'pd3u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo265(e) {
}
function rdo269(e) {
if (true) {
SetPanelState('u129', 'pd4u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo3041(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo3042(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo3043(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo3044(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo3045(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo3046(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo3047(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo3048(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo3049(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
function rdo3191(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo3192(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo3193(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo3194(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo3195(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo3196(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo3197(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo3198(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo3199(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo31999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo32new(e) {
if (true) {
SetPanelVisibility('u237','','none',500);
SetPanelVisibility('u265','','none',500);
}
}
function rdo32edit(e) {
if (true) {
SetPanelVisibility('u237','','none',500);
SetPanelVisibility('u265','','none',500);
}
}
function rdo32delete(e) {
}
function rdo32print(e) {
}
function rdo2931(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo2932(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo2933(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo2934(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo2935(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo2936(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo2937(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo2938(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo2939(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo29310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo29311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo29312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo29313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
document.getElementById('u122_img').tabIndex = 0;
HookHover('u122', false);
u122.style.cursor = 'pointer';
$axure.eventManager.click('u122', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u122');
SetWidgetNotSelected('u120');
SetWidgetNotSelected('u118');
SetWidgetNotSelected('u124');
SetWidgetNotSelected('u126');
rdo263(e);
}
});
gv_vAlignTable['u137'] = 'top';gv_vAlignTable['u243'] = 'center';document.getElementById('u165_img').tabIndex = 0;
HookHover('u165', false);
u165.style.cursor = 'pointer';
$axure.eventManager.click('u165', function(e) {
if (true) {
rdo3047(e);
}
});
document.getElementById('u207_img').tabIndex = 0;
HookHover('u207', false);
u207.style.cursor = 'pointer';
$axure.eventManager.click('u207', function(e) {
if (true) {
rdo2824(e);
}
});
gv_vAlignTable['u289'] = 'top';document.getElementById('u140_img').tabIndex = 0;
HookHover('u140', false);
u140.style.cursor = 'pointer';
$axure.eventManager.click('u140', function(e) {
if (true) {
rdo3196(e);
}
});
HookHover('u222', false);
gv_vAlignTable['u135'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u42'] = 'top';document.getElementById('u159_img').tabIndex = 0;
HookHover('u159', false);
u159.style.cursor = 'pointer';
$axure.eventManager.click('u159', function(e) {
if (true) {
rdo3044(e);
}
});
gv_vAlignTable['u229'] = 'center';document.getElementById('u186_img').tabIndex = 0;
HookHover('u186', false);
u186.style.cursor = 'pointer';
$axure.eventManager.click('u186', function(e) {
if (true) {
rdo2936(e);
}
});
gv_vAlignTable['u14'] = 'top';
u288.style.cursor = 'pointer';
$axure.eventManager.click('u288', function(e) {
if (true) {
SetPanelVisibility('u271','hidden','none',500);
}
});
gv_vAlignTable['u235'] = 'center';
u268.style.cursor = 'pointer';
$axure.eventManager.click('u268', function(e) {
if (true) {
SetPanelVisibility('u237','hidden','none',500);
SetPanelVisibility('u262','hidden','none',500);
SetPanelVisibility('u265','hidden','none',500);
SetPanelVisibility('u271','hidden','none',500);
}
});
gv_vAlignTable['u20'] = 'top';document.getElementById('u120_img').tabIndex = 0;
HookHover('u120', false);
u120.style.cursor = 'pointer';
$axure.eventManager.click('u120', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u120');
SetWidgetNotSelected('u118');
SetWidgetNotSelected('u122');
SetWidgetNotSelected('u124');
SetWidgetNotSelected('u126');
rdo262(e);
}
});
gv_vAlignTable['u189'] = 'top';document.getElementById('u205_img').tabIndex = 0;
HookHover('u205', false);
u205.style.cursor = 'pointer';
$axure.eventManager.click('u205', function(e) {
if (true) {
rdo2823(e);
}
});
gv_vAlignTable['u108'] = 'top';gv_vAlignTable['u62'] = 'top';gv_vAlignTable['u141'] = 'top';HookHover('u220', false);
gv_vAlignTable['u133'] = 'top';gv_vAlignTable['u143'] = 'top';
u266.style.cursor = 'pointer';
$axure.eventManager.click('u266', function(e) {
if (true) {
MoveWidgetTo('u271', GetNum('40'), GetNum('20'),'none',500);
SetPanelVisibility('u271','','none',500);
}
});
document.getElementById('u184_img').tabIndex = 0;
HookHover('u184', false);
u184.style.cursor = 'pointer';
$axure.eventManager.click('u184', function(e) {
if (true) {
rdo29313(e);
}
});
document.getElementById('u228_img').tabIndex = 0;
HookHover('u228', false);
u228.style.cursor = 'pointer';
$axure.eventManager.click('u228', function(e) {
if (true) {
rdo32new(e);
}
});
gv_vAlignTable['u264'] = 'center';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u149'] = 'top';gv_vAlignTable['u233'] = 'center';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u287'] = 'top';gv_vAlignTable['u112'] = 'center';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u276'] = 'top';gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u231'] = 'center';gv_vAlignTable['u283'] = 'top';gv_vAlignTable['u191'] = 'top';gv_vAlignTable['u119'] = 'top';gv_vAlignTable['u16'] = 'top';document.getElementById('u203_img').tabIndex = 0;
HookHover('u203', false);
u203.style.cursor = 'pointer';
$axure.eventManager.click('u203', function(e) {
if (true) {
rdo2822(e);
}
});
gv_vAlignTable['u125'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u54'] = 'top';gv_vAlignTable['u197'] = 'top';gv_vAlignTable['u88'] = 'center';gv_vAlignTable['u38'] = 'top';document.getElementById('u176_img').tabIndex = 0;
HookHover('u176', false);
u176.style.cursor = 'pointer';
$axure.eventManager.click('u176', function(e) {
if (true) {
rdo2932(e);
}
});
gv_vAlignTable['u26'] = 'top';document.getElementById('u174_img').tabIndex = 0;
HookHover('u174', false);
u174.style.cursor = 'pointer';
$axure.eventManager.click('u174', function(e) {
if (true) {
rdo2931(e);
}
});
$axure.eventManager.click('u128', function(e) {
if (true) {
SetPanelState('u129', 'pd0u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u128', function(e) {
if (true) {
SetPanelState('u129', 'pd0u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u128', function(e) {
if (true) {
SetPanelState('u129', 'pd0u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u128', function(e) {
if (true) {
SetPanelState('u129', 'pd0u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u128', function(e) {
if (true) {
SetPanelState('u129', 'pd0u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u128', function(e) {
if (true) {
SetPanelState('u129', 'pd0u129','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u182_img').tabIndex = 0;
HookHover('u182', false);
u182.style.cursor = 'pointer';
$axure.eventManager.click('u182', function(e) {
if (true) {
rdo2935(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u241'] = 'center';gv_vAlignTable['u10'] = 'top';document.getElementById('u153_img').tabIndex = 0;
HookHover('u153', false);
u153.style.cursor = 'pointer';
$axure.eventManager.click('u153', function(e) {
if (true) {
rdo3042(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u195'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u123'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u160'] = 'top';document.getElementById('u157_img').tabIndex = 0;
HookHover('u157', false);
u157.style.cursor = 'pointer';
$axure.eventManager.click('u157', function(e) {
if (true) {
rdo3043(e);
}
});
gv_vAlignTable['u92'] = 'top';gv_vAlignTable['u46'] = 'top';document.getElementById('u126_img').tabIndex = 0;
HookHover('u126', false);
u126.style.cursor = 'pointer';
$axure.eventManager.click('u126', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u126');
SetWidgetNotSelected('u124');
SetWidgetNotSelected('u122');
SetWidgetNotSelected('u120');
SetWidgetNotSelected('u118');
rdo269(e);
}
});
gv_vAlignTable['u181'] = 'top';
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u198', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u5'] = 'top';gv_vAlignTable['u223'] = 'top';gv_vAlignTable['u127'] = 'top';gv_vAlignTable['u257'] = 'top';document.getElementById('u169_img').tabIndex = 0;
HookHover('u169', false);
u169.style.cursor = 'pointer';
$axure.eventManager.click('u169', function(e) {
if (true) {
rdo3049(e);
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u150', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
gv_vAlignTable['u187'] = 'top';gv_vAlignTable['u106'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u154'] = 'top';
$axure.eventManager.click('u236', function(e) {
if (true) {
SetPanelVisibility('u237','','none',500);
SetPanelVisibility('u265','','none',500);
}
});
$axure.eventManager.click('u236', function(e) {
if (true) {
SetPanelVisibility('u237','','none',500);
SetPanelVisibility('u265','','none',500);
}
});
$axure.eventManager.click('u236', function(e) {
if (true) {
SetPanelVisibility('u237','','none',500);
SetPanelVisibility('u265','','none',500);
}
});
$axure.eventManager.click('u236', function(e) {
if (true) {
SetPanelVisibility('u237','','none',500);
SetPanelVisibility('u265','','none',500);
}
});
gv_vAlignTable['u139'] = 'top';HookHover('u87', false);
document.getElementById('u213_img').tabIndex = 0;
HookHover('u213', false);
u213.style.cursor = 'pointer';
$axure.eventManager.click('u213', function(e) {
if (true) {
rdo2827(e);
}
});
gv_vAlignTable['u104'] = 'top';gv_vAlignTable['u269'] = 'top';document.getElementById('u192_img').tabIndex = 0;
HookHover('u192', false);
u192.style.cursor = 'pointer';
$axure.eventManager.click('u192', function(e) {
if (true) {
rdo2939(e);
}
});
gv_vAlignTable['u121'] = 'top';
u267.style.cursor = 'pointer';
$axure.eventManager.click('u267', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("对当前设置的自定义列进行保存。"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
document.getElementById('u211_img').tabIndex = 0;
HookHover('u211', false);
u211.style.cursor = 'pointer';
$axure.eventManager.click('u211', function(e) {
if (true) {
rdo2826(e);
}
});
gv_vAlignTable['u102'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u109'] = 'top';gv_vAlignTable['u239'] = 'center';
u260.style.cursor = 'pointer';
$axure.eventManager.click('u260', function(e) {
if ((GetCheckState('u260')) == (true)) {
var obj1 = document.getElementById("u260");
obj1.focus();
}
else
if ((GetCheckState('u260')) == (false)) {
}
});
$axure.eventManager.focus('u260', function(e) {
if (true) {
SetPanelVisibility('u262','','none',500);
SetPanelVisibility('u265','','none',500);
MoveWidgetTo('u265', GetNum('114'), GetNum('600'),'none',500);
}
});
$axure.eventManager.blur('u260', function(e) {
if (true) {
SetPanelVisibility('u262','hidden','none',500);
MoveWidgetTo('u265', GetNum('114'), GetNum('482'),'none',500);
}
});
gv_vAlignTable['u273'] = 'center';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u221'] = 'top';document.getElementById('u134_img').tabIndex = 0;
HookHover('u134', false);
u134.style.cursor = 'pointer';
$axure.eventManager.click('u134', function(e) {
if (true) {
rdo3192(e);
}
});
gv_vAlignTable['u177'] = 'top';document.getElementById('u190_img').tabIndex = 0;
HookHover('u190', false);
u190.style.cursor = 'pointer';
$axure.eventManager.click('u190', function(e) {
if (true) {
rdo2938(e);
}
});
gv_vAlignTable['u185'] = 'top';gv_vAlignTable['u113'] = 'top';gv_vAlignTable['u179'] = 'top';gv_vAlignTable['u270'] = 'top';document.getElementById('u234_img').tabIndex = 0;
HookHover('u234', false);
u234.style.cursor = 'pointer';
$axure.eventManager.click('u234', function(e) {
if (true) {
rdo32print(e);
}
});
gv_vAlignTable['u147'] = 'top';document.getElementById('u163_img').tabIndex = 0;
HookHover('u163', false);
u163.style.cursor = 'pointer';
$axure.eventManager.click('u163', function(e) {
if (true) {
rdo3046(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u277'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u24'] = 'top';document.getElementById('u188_img').tabIndex = 0;
HookHover('u188', false);
u188.style.cursor = 'pointer';
$axure.eventManager.click('u188', function(e) {
if (true) {
rdo2937(e);
}
});
document.getElementById('u230_img').tabIndex = 0;
HookHover('u230', false);
u230.style.cursor = 'pointer';
$axure.eventManager.click('u230', function(e) {
if (true) {
rdo32edit(e);
}
});
gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u215_img').tabIndex = 0;
HookHover('u215', false);
u215.style.cursor = 'pointer';
$axure.eventManager.click('u215', function(e) {
if (true) {
rdo2828(e);
}
});
document.getElementById('u148_img').tabIndex = 0;
HookHover('u148', false);
u148.style.cursor = 'pointer';
$axure.eventManager.click('u148', function(e) {
if (true) {
rdo31999(e);
}
});
gv_vAlignTable['u261'] = 'top';document.getElementById('u209_img').tabIndex = 0;
HookHover('u209', false);
u209.style.cursor = 'pointer';
$axure.eventManager.click('u209', function(e) {
if (true) {
rdo2825(e);
}
});
document.getElementById('u132_img').tabIndex = 0;
HookHover('u132', false);
u132.style.cursor = 'pointer';
$axure.eventManager.click('u132', function(e) {
if (true) {
rdo3191(e);
}
});
gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u175'] = 'top';
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u217', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u86'] = 'center';gv_vAlignTable['u58'] = 'top';gv_vAlignTable['u183'] = 'top';gv_vAlignTable['u285'] = 'top';
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u171', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
document.getElementById('u232_img').tabIndex = 0;
HookHover('u232', false);
u232.style.cursor = 'pointer';
$axure.eventManager.click('u232', function(e) {
if (true) {
rdo32delete(e);
}
});
gv_vAlignTable['u275'] = 'center';document.getElementById('u178_img').tabIndex = 0;
HookHover('u178', false);
u178.style.cursor = 'pointer';
$axure.eventManager.click('u178', function(e) {
if (true) {
rdo2933(e);
}
});
document.getElementById('u146_img').tabIndex = 0;
HookHover('u146', false);
u146.style.cursor = 'pointer';
$axure.eventManager.click('u146', function(e) {
if (true) {
rdo3199(e);
}
});
document.getElementById('u196_img').tabIndex = 0;
HookHover('u196', false);
u196.style.cursor = 'pointer';
$axure.eventManager.click('u196', function(e) {
if (true) {
rdo29311(e);
}
});
document.getElementById('u124_img').tabIndex = 0;
HookHover('u124', false);
u124.style.cursor = 'pointer';
$axure.eventManager.click('u124', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u124');
SetWidgetNotSelected('u118');
SetWidgetNotSelected('u120');
SetWidgetNotSelected('u122');
SetWidgetNotSelected('u126');
rdo264(e);
}
});
document.getElementById('u144_img').tabIndex = 0;
HookHover('u144', false);
u144.style.cursor = 'pointer';
$axure.eventManager.click('u144', function(e) {
if (true) {
rdo3195(e);
}
});
document.getElementById('u136_img').tabIndex = 0;
HookHover('u136', false);
u136.style.cursor = 'pointer';
$axure.eventManager.click('u136', function(e) {
if (true) {
rdo3193(e);
}
});
gv_vAlignTable['u1'] = 'top';document.getElementById('u138_img').tabIndex = 0;
HookHover('u138', false);
u138.style.cursor = 'pointer';
$axure.eventManager.click('u138', function(e) {
if (true) {
rdo3194(e);
}
});
document.getElementById('u167_img').tabIndex = 0;
HookHover('u167', false);
u167.style.cursor = 'pointer';
$axure.eventManager.click('u167', function(e) {
if (true) {
rdo3048(e);
}
});
document.getElementById('u142_img').tabIndex = 0;
HookHover('u142', false);
u142.style.cursor = 'pointer';
$axure.eventManager.click('u142', function(e) {
if (true) {
rdo3197(e);
}
});
document.getElementById('u155_img').tabIndex = 0;
HookHover('u155', false);
u155.style.cursor = 'pointer';
$axure.eventManager.click('u155', function(e) {
if (true) {
rdo3041(e);
}
});
gv_vAlignTable['u145'] = 'top';gv_vAlignTable['u193'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u201_img').tabIndex = 0;
HookHover('u201', false);
u201.style.cursor = 'pointer';
$axure.eventManager.click('u201', function(e) {
if (true) {
rdo2821(e);
}
});
document.getElementById('u118_img').tabIndex = 0;
HookHover('u118', false);
u118.style.cursor = 'pointer';
$axure.eventManager.click('u118', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u118');
SetWidgetNotSelected('u126');
SetWidgetNotSelected('u124');
SetWidgetNotSelected('u122');
SetWidgetNotSelected('u120');
rdo261(e);
}
});
gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u90'] = 'top';gv_vAlignTable['u18'] = 'top';document.getElementById('u161_img').tabIndex = 0;
HookHover('u161', false);
u161.style.cursor = 'pointer';
$axure.eventManager.click('u161', function(e) {
if (true) {
rdo3045(e);
}
});
gv_vAlignTable['u259'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u290'] = 'top';document.getElementById('u180_img').tabIndex = 0;
HookHover('u180', false);
u180.style.cursor = 'pointer';
$axure.eventManager.click('u180', function(e) {
if (true) {
rdo2934(e);
}
});
gv_vAlignTable['u28'] = 'top';document.getElementById('u194_img').tabIndex = 0;
HookHover('u194', false);
u194.style.cursor = 'pointer';
$axure.eventManager.click('u194', function(e) {
if (true) {
rdo29310(e);
}
});
|
JavaScript
|
for(var i = 0; i < 197; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u15');
SetWidgetSelected('u37');
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo8new(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新建一个参数字段"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
}
function rdo8edit(e) {
}
function rdo8delete(e) {
}
function rdo8print(e) {
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u122'] = 'center';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u130'] = 'center';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u120'] = 'center';gv_vAlignTable['u152'] = 'center';gv_vAlignTable['u24'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u133'] = 'center';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u66'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u191'] = 'center';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u125'] = 'center';gv_vAlignTable['u172'] = 'center';gv_vAlignTable['u149'] = 'center';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u26'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u10'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u144'] = 'center';gv_vAlignTable['u166'] = 'center';gv_vAlignTable['u82'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u195'] = 'center';gv_vAlignTable['u116'] = 'center';gv_vAlignTable['u158'] = 'center';gv_vAlignTable['u74'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u127'] = 'center';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u169'] = 'center';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u28'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u189'] = 'center';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u139'] = 'center';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u193'] = 'center';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
document.getElementById('u192_img').tabIndex = 0;
HookHover('u192', false);
u192.style.cursor = 'pointer';
$axure.eventManager.click('u192', function(e) {
if (true) {
rdo8delete(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u155'] = 'center';HookHover('u109', false);
gv_vAlignTable['u84'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u97'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u76'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u177'] = 'center';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
document.getElementById('u190_img').tabIndex = 0;
HookHover('u190', false);
u190.style.cursor = 'pointer';
$axure.eventManager.click('u190', function(e) {
if (true) {
rdo8edit(e);
}
});
document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u147'] = 'center';gv_vAlignTable['u163'] = 'center';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u70'] = 'top';document.getElementById('u188_img').tabIndex = 0;
HookHover('u188', false);
u188.style.cursor = 'pointer';
$axure.eventManager.click('u188', function(e) {
if (true) {
rdo8new(e);
}
});
document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
HookHover('u111', false);
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u175'] = 'center';gv_vAlignTable['u86'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u183'] = 'center';gv_vAlignTable['u36'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u8'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
$axure.eventManager.click('u196', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新建一个参数字段"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
$axure.eventManager.click('u196', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新建一个参数字段"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
$axure.eventManager.click('u196', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新建一个参数字段"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
$axure.eventManager.click('u196', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新建一个参数字段"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u142'] = 'center';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u161'] = 'center';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u22'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u136'] = 'center';gv_vAlignTable['u180'] = 'center';document.getElementById('u194_img').tabIndex = 0;
HookHover('u194', false);
u194.style.cursor = 'pointer';
$axure.eventManager.click('u194', function(e) {
if (true) {
rdo8print(e);
}
});
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
var configuration =
(function() {
var _ = function() { var r={},a=arguments; for(var i=0; i<a.length; i+=2) r[a[i]]=a[i+1]; return r; }
var _creator = function() { return _(b,c,d,e,f,e);};
var b="showPageNotes",c=true,d="showPageNoteNames",e=false,f="loadFeedbackPlugin";
return _creator();
})()
|
JavaScript
|
/*
* jQuery.splitter.js - two-pane splitter window plugin
*
* version 1.51 (2009/01/09)
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
/**
* The splitter() plugin implements a two-pane resizable splitter window.
* The selected elements in the jQuery object are converted to a splitter;
* each selected element should have two child elements, used for the panes
* of the splitter. The plugin adds a third child element for the splitbar.
*
* For more details see: http://methvin.com/splitter/
*
*
* @example $('#MySplitter').splitter();
* @desc Create a vertical splitter with default settings
*
* @example $('#MySplitter').splitter({type: 'h', accessKey: 'M'});
* @desc Create a horizontal splitter resizable via Alt+Shift+M
*
* @name splitter
* @type jQuery
* @param Object options Options for the splitter (not required)
* @cat Plugins/Splitter
* @return jQuery
* @author Dave Methvin (dave.methvin@gmail.com)
*/
;(function($){
$.fn.splitter = function(args){
args = args || {};
return this.each(function() {
var zombie; // left-behind splitbar for outline resizes
function startSplitMouse(evt) {
if ( opts.outline )
zombie = zombie || bar.clone(false).insertAfter(A);
panes.css("-webkit-user-select", "none"); // Safari selects A/B text on a move
bar.addClass(opts.activeClass);
$('<div class="splitterMask"></div>').insertAfter(bar);
A._posSplit = A[0][opts.pxSplit] - evt[opts.eventPos];
$(document)
.bind("mousemove", doSplitMouse)
.bind("mouseup", endSplitMouse);
}
function doSplitMouse(evt) {
var newPos = A._posSplit+evt[opts.eventPos];
if ( opts.outline ) {
newPos = Math.max(0, Math.min(newPos, splitter._DA - bar._DA));
bar.css(opts.origin, newPos);
} else
resplit(newPos);
}
function endSplitMouse(evt) {
$('div.splitterMask').remove();
bar.removeClass(opts.activeClass);
var newPos = A._posSplit+evt[opts.eventPos];
if ( opts.outline ) {
zombie.remove(); zombie = null;
resplit(newPos);
}
panes.css("-webkit-user-select", "text"); // let Safari select text again
$(document)
.unbind("mousemove", doSplitMouse)
.unbind("mouseup", endSplitMouse);
}
function resplit(newPos) {
// Constrain new splitbar position to fit pane size limits
newPos = Math.max(A._min, splitter._DA - B._max,
Math.min(newPos, A._max, splitter._DA - bar._DA - B._min));
// Resize/position the two panes
bar._DA = bar[0][opts.pxSplit]; // bar size may change during dock
bar.css(opts.origin, newPos).css(opts.fixed, splitter._DF);
A.css(opts.origin, 0).css(opts.split, newPos).css(opts.fixed, splitter._DF);
B.css(opts.origin, newPos+bar._DA)
.css(opts.split, splitter._DA-bar._DA-newPos).css(opts.fixed, splitter._DF);
// IE fires resize for us; all others pay cash
if ( !$.browser.msie )
panes.trigger("resize");
}
function dimSum(jq, dims) {
// Opera returns -1 for missing min/max width, turn into 0
var sum = 0;
for ( var i=1; i < arguments.length; i++ )
sum += Math.max(parseInt(jq.css(arguments[i])) || 0, 0);
return sum;
}
// Determine settings based on incoming opts, element classes, and defaults
var vh = (args.splitHorizontal? 'h' : args.splitVertical? 'v' : args.type) || 'v';
var opts = $.extend({
activeClass: 'active', // class name for active splitter
pxPerKey: 8, // splitter px moved per keypress
tabIndex: 0, // tab order indicator
accessKey: '' // accessKey for splitbar
},{
v: { // Vertical splitters:
keyLeft: 39, keyRight: 37, cursor: "col-resize",
splitbarClass: "vsplitbar", outlineClass: "voutline",
type: 'v', eventPos: "pageX", origin: "left",
split: "width", pxSplit: "offsetWidth", side1: "Left", side2: "Right",
fixed: "height", pxFixed: "offsetHeight", side3: "Top", side4: "Bottom"
},
h: { // Horizontal splitters:
keyTop: 40, keyBottom: 38, cursor: "row-resize",
splitbarClass: "hsplitbar", outlineClass: "houtline",
type: 'h', eventPos: "pageY", origin: "top",
split: "height", pxSplit: "offsetHeight", side1: "Top", side2: "Bottom",
fixed: "width", pxFixed: "offsetWidth", side3: "Left", side4: "Right"
}
}[vh], args);
// Create jQuery object closures for splitter and both panes
var splitter = $(this).css({position: "relative"});
var panes = $(">*", splitter[0]).css({
position: "absolute", // positioned inside splitter container
"z-index": "1", // splitbar is positioned above
"-moz-outline-style": "none" // don't show dotted outline
});
var A = $(panes[0]); // left or top
var B = $(panes[1]); // right or bottom
// Focuser element, provides keyboard support; title is shown by Opera accessKeys
var focuser = $('<a href="javascript:void(0)"></a>')
.attr({accessKey: opts.accessKey, tabIndex: opts.tabIndex, title: opts.splitbarClass})
.bind($.browser.opera?"click":"focus", function(){ this.focus(); bar.addClass(opts.activeClass) })
.bind("keydown", function(e){
var key = e.which || e.keyCode;
var dir = key==opts["key"+opts.side1]? 1 : key==opts["key"+opts.side2]? -1 : 0;
if ( dir )
resplit(A[0][opts.pxSplit]+dir*opts.pxPerKey, false);
})
.bind("blur", function(){ bar.removeClass(opts.activeClass) });
// Splitbar element, can be already in the doc or we create one
var bar = $(panes[2] || '<div></div>')
.insertAfter(A).css("z-index", "100").append(focuser)
.attr({"class": opts.splitbarClass, unselectable: "on"})
.css({position: "absolute", "user-select": "none", "-webkit-user-select": "none",
"-khtml-user-select": "none", "-moz-user-select": "none", "top": "0px"})
.bind("mousedown", startSplitMouse);
// Use our cursor unless the style specifies a non-default cursor
if ( /^(auto|default|)$/.test(bar.css("cursor")) )
bar.css("cursor", opts.cursor);
// Cache several dimensions for speed, rather than re-querying constantly
bar._DA = bar[0][opts.pxSplit];
splitter._PBF = $.boxModel? dimSum(splitter, "border"+opts.side3+"Width", "border"+opts.side4+"Width") : 0;
splitter._PBA = $.boxModel? dimSum(splitter, "border"+opts.side1+"Width", "border"+opts.side2+"Width") : 0;
A._pane = opts.side1;
B._pane = opts.side2;
$.each([A,B], function(){
this._min = opts["min"+this._pane] || dimSum(this, "min-"+opts.split);
this._max = opts["max"+this._pane] || dimSum(this, "max-"+opts.split) || 9999;
this._init = opts["size"+this._pane]===true ?
parseInt($.curCSS(this[0],opts.split)) : opts["size"+this._pane];
});
// Determine initial position, get from cookie if specified
var initPos = A._init;
if ( !isNaN(B._init) ) // recalc initial B size as an offset from the top or left side
initPos = splitter[0][opts.pxSplit] - splitter._PBA - B._init - bar._DA;
if ( opts.cookie ) {
if ( !$.cookie )
alert('jQuery.splitter(): jQuery cookie plugin required');
var ckpos = parseInt($.cookie(opts.cookie));
if ( !isNaN(ckpos) )
initPos = ckpos;
$(window).bind("unload", function(){
var state = String(bar.css(opts.origin)); // current location of splitbar
$.cookie(opts.cookie, state, {expires: opts.cookieExpires || 365,
path: opts.cookiePath || document.location.pathname});
});
}
if ( isNaN(initPos) ) // King Solomon's algorithm
initPos = Math.round((splitter[0][opts.pxSplit] - splitter._PBA - bar._DA)/2);
// Resize event propagation and splitter sizing
if ( opts.anchorToWindow ) {
// Account for margin or border on the splitter container and enforce min height
splitter._hadjust = dimSum(splitter, "borderTopWidth", "borderBottomWidth", "marginBottom");
splitter._hmin = Math.max(dimSum(splitter, "minHeight"), 20);
$(window).bind("resize", function(){
var top = splitter.offset().top;
var wh = $(window).height();
splitter.css("height", Math.max(wh-top-splitter._hadjust, splitter._hmin)+"px");
if ( !$.browser.msie ) splitter.trigger("resize");
}).trigger("resize");
}
else if ( opts.resizeToWidth && !$.browser.msie )
$(window).bind("resize", function(){
splitter.trigger("resize");
});
// Resize event handler; triggered immediately to set initial position
splitter.bind("resize", function(e, size){
// Custom events bubble in jQuery 1.3; don't Yo Dawg
if ( e.target != this ) return;
// Determine new width/height of splitter container
splitter._DF = splitter[0][opts.pxFixed] - splitter._PBF;
splitter._DA = splitter[0][opts.pxSplit] - splitter._PBA;
// Bail if splitter isn't visible or content isn't there yet
if ( splitter._DF <= 0 || splitter._DA <= 0 ) return;
// Re-divvy the adjustable dimension; maintain size of the preferred pane
resplit(!isNaN(size)? size : (!(opts.sizeRight||opts.sizeBottom)? A[0][opts.pxSplit] :
splitter._DA-B[0][opts.pxSplit]-bar._DA));
}).trigger("resize" , [initPos]);
});
};
})(jQuery);
|
JavaScript
|
if (typeof console == 'undefined') console = {
log: function () { }
};
// sniff chrome
var CHROME_5_LOCAL = false;
var CHROME = false;
var WEBKIT = false;
(function () {
var chromeRegex = /Chrome\/([0-9]+).([0-9]+)/g ;
var chromeMatch = chromeRegex.exec(navigator.userAgent);
CHROME = Boolean(chromeMatch);
CHROME_5_LOCAL = chromeMatch &&
Number(chromeMatch[1]) >= 5 &&
location.href.indexOf('file://') >= 0;
var webkitRegex = /WebKit\//g ;
WEBKIT = Boolean(webkitRegex.exec(navigator.userAgent));
})();
(function() {
var _topMessageCenter;
var _messageCenter = {};
var _listeners = [];
var _stateListeners = [];
var _state = {};
var _eventObject = null;
var _queuedMessages = [];
var _initialized = false;
// this is for the non Chrome 5 local scenarios. The "top" message center will dispatch to all the bottom ones
var _childrenMessageCenters = [];
// create $axure if it hasn't been created
if (!window.$axure) window.$axure = function() {};
$axure.messageCenter = _messageCenter;
// isolate scope, and initialize _topMessageCenter.
(function() {
if (!CHROME_5_LOCAL) {
var topAxureWindow = window;
while (topAxureWindow.parent && topAxureWindow.parent !== topAxureWindow
&& topAxureWindow.parent.$axure) topAxureWindow = topAxureWindow.parent;
_topMessageCenter = topAxureWindow.$axure.messageCenter;
}
})();
$(document).ready(function() {
if (CHROME_5_LOCAL) {
$('body').append("<div id='axureEventReceiverDiv' style='display:none'></div>" +
"<div id='axureEventSenderDiv' style='display:none'></div>");
_eventObject = document.createEvent('Event');
_eventObject.initEvent('axureMessageSenderEvent', true, true);
$('#axureEventReceiverDiv').bind('axureMessageReceiverEvent', function () {
var request = JSON.parse($(this).text());
_handleRequest(request);
});
} else {
if (_topMessageCenter != _messageCenter) {
_topMessageCenter.addChildMessageCenter(_messageCenter);
console.log('adding from ' + window.location.toString());
}
}
});
var _handleRequest = function (request) {
// route the request to all the listeners
for(var i = 0; i < _listeners.length; i++) _listeners[i](request.message, request.data);
// now handle the queued messages if we're initializing
if (request.message == 'initialize') {
_initialized = true;
// send all the queued messages and return
for (var i = 0; i < _queuedMessages.length; i++) {
var qRequest = _queuedMessages[i];
_messageCenter.postMessage(qRequest.message, qRequest.data);
}
_queuedMessages = [];
}
// and then handle the set state messages, if necessary
if (request.message == 'setState') {
_state[request.data.key] = request.data.value;
for (var i = 0; i < _stateListeners.length; i++) {
var keyListener = _stateListeners[i];
// if thep passed a null or empty value, always post the message
if (!keyListener.key || keyListener.key == request.data.key) {
keyListener.listener(request.data.key, request.data.value);
}
}
}
};
// -----------------------------------------------------------------------------------------
// This method allows for dispatching messages in the non-chromelocal scenario.
// Each child calls this on _topMessageCenter
// -----------------------------------------------------------------------------------------
_messageCenter.addChildMessageCenter = function(messageCenter) {
_childrenMessageCenters[_childrenMessageCenters.length] = messageCenter;
};
// -----------------------------------------------------------------------------------------
// This method allows for dispatching messages in the non-chromelocal scenario.
// Each child calls this on _topMessageCenter
// -----------------------------------------------------------------------------------------
_messageCenter.dispatchMessage = function(message, data) {
_handleRequest({
message: message,
data: data
});
};
// -----------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------
_messageCenter.dispatchMessageRecursively = function(message, data) {
console.log("dispatched to " + window.location.toString());
// dispatch to the top center first
_messageCenter.dispatchMessage(message, data);
$('iframe').each(function(index, frame) {
//try,catch to handle permissions error in FF when loading pages from another domain
try {
if (frame.contentWindow.$axure && frame.contentWindow.$axure.messageCenter) {
frame.contentWindow.$axure.messageCenter.dispatchMessageRecursively(message, data);
}
}catch(e) {}
});
};
_messageCenter.postMessage = function (message, data) {
if (!CHROME_5_LOCAL) {
_topMessageCenter.dispatchMessageRecursively(message, data);
} else {
var request = {
message : message,
data : data
};
if (_initialized) {
var senderDiv = document.getElementById('axureEventSenderDiv');
var messageText = JSON.stringify(request);
console.log('sending event: ' + messageText);
senderDiv.innerText = messageText;
senderDiv.dispatchEvent(_eventObject);
console.log('event sent');
} else {
_queuedMessages[_queuedMessages.length] = request;
}
}
}
_messageCenter.setState = function(key, value) {
var data = {
key : key,
value : value
};
_messageCenter.postMessage('setState', data);
}
_messageCenter.getState = function(key) {
return _state[key];
}
_messageCenter.addMessageListener = function(listener) {
_listeners[_listeners.length] = listener;
}
_messageCenter.addStateListener = function(key, listener) {
_stateListeners[_stateListeners.length] = {
key: key,
listener: listener
};
}
})();
|
JavaScript
|
$axure = function () { };
if (typeof console == 'undefined') console = {
log: function () { }
};
if (window._axUtils) $axure.utils = _axUtils;
function setUpController() {
$axure.utils = _axUtils;
var _page = {};
$axure.page = _page;
_axUtils.makeBindable(_page, ['load']);
var _player = function() {
};
$axure.player = _player;
//-----------------------------------------
//Global Var array, getLinkUrl function and setGlobalVar listener are
//for use in setting global vars in page url string when clicking a
//page in the sitemap
//-----------------------------------------
var _globalVars = {};
var _getLinkUrl = function(baseUrl) {
toAdd = '';
var globalVariableName;
for (globalVarName in _globalVars) {
var val = _globalVars[globalVarName];
if (val != null && val.length > 0) {
if (toAdd.length > 0) toAdd += '&';
toAdd += globalVarName + '=' + encodeURIComponent(val);
}
}
return toAdd.length > 0 ? baseUrl + '#' + toAdd + "&CSUM=1" : baseUrl;
};
$axure.getLinkUrlWithVars = _getLinkUrl;
$axure.messageCenter.addMessageListener(function(message, data) {
if (message == 'setGlobalVar'){
_globalVars[data.globalVarName] = data.globalVarValue;
}
});
$axure.messageCenter.addStateListener('page.data', function (key, value) {
for (var subKey in value) {
_page[subKey] = value[subKey];
}
$axure.page.triggerEvent('load');
});
// ---------------------------------------------
// Navigates the main frame (setting the currently visible page). If the link is relative,
// this method should test if it is actually a prototype page being loaded and properly set
// up all the controller for the page if it is
// ---------------------------------------------
_page.navigate = function (url, includeVariables) {
var mainFrame = document.getElementById("mainFrame");
//var mainFrame = window.parent.mainFrame;
// if this is a relative url...
var urlToLoad;
if (url.indexOf(':') < 0 || url[0] == '/') {
var winHref = window.location.href;
var page = winHref.substring(0, winHref.lastIndexOf('/') + 1) + url;
urlToLoad = page;
} else {
urlToLoad = url;
}
if (!includeVariables) {
mainFrame.contentWindow.location.href = urlToLoad;
return;
}
var urlWithVars = $axure.getLinkUrlWithVars(urlToLoad);
var currentData = $axure.messageCenter.getState('page.data');
var currentUrl = currentData && currentData.location;
// this is so we can make sure the current frame reloads if the variables have changed
// by default, if the location is the same but the hash code is different, the browser will not
// trigger a reload
mainFrame.contentWindow.location.href =
currentUrl && urlToLoad.toLowerCase() != currentUrl.toLowerCase()
? urlWithVars
: 'resources/reload.html#' + encodeURI(urlWithVars);
};
var pluginIds = [];
var currentVisibleHostId = null;
// ---------------------------------------------
// Adds a tool box frame from a url to the interface. This is useful for loading plugins
// settings is an object that supports the following properties:
// - id : the id of the element for the plugin
// - context : the context to create the plugin host for
// - title : the user-visible caption for the plugin
// ---------------------------------------------
_player.createPluginHost = function (settings) {
// right now we only understand an interface context
if (!(!settings.context || settings.context === 'interface')) {
throw ('unknown context type');
}
if (!settings.id) throw ('each plugin host needs an id');
var host = $('<div id=' + settings.id + '></div>')
.appendTo('#interfaceControlFrameContainer');
var isCurrentDefault = (pluginIds.length == 0);
if (!isCurrentDefault) {
host.hide();
} else {
currentVisibleHostId = settings.id;
}
//$('#interfaceControlFrameHeader').append('<li>' + settings.title + '</li>');
var headerLink = $('<a pluginId="' + settings.id + '" >' + settings.title + '</a>');
headerLink
.click($axure.utils.curry(interfaceControlHeaderButton_click, settings.id)).wrap('<li>')
.parent().appendTo('#interfaceControlFrameHeader');
if (isCurrentDefault) {
headerLink.addClass('selected');
}
pluginIds[pluginIds.length] = settings.id;
};
// private methods
var interfaceControlHeaderButton_click = function (id) {
$('#interfaceControlFrameHeader a').removeClass('selected');
$('#interfaceControlFrameHeader a[pluginId=' + id + ']').addClass('selected');
$('#' + currentVisibleHostId).hide();
$('#' + id).show();
currentVisibleHostId = id;
};
}
function setUpDocumentStateManager() {
var mgr = $axure.prototype.documentStateManager = {};
_axUtils.makeBindable(mgr, ['globalVariableChanged']);
mgr.globalVariableValues = {};
mgr.setGlobalVariable = function (varname, value, source) {
var arg = {};
arg.variableName = varname;
arg.newValue = value;
arg.oldValue = this.getGlobalVariable(varname);
arg.source = source;
mgr.globalVariableValues[varname] = value;
this.triggerEvent('globalVariableChanged', arg);
}
mgr.getGlobalVariable = function (varname) {
return mgr.globalVariableValues[varname];
}
}
function setUpPageStateManager() {
var mgr = $axure.prototype.pageStateManager = {};
mgr.panelToStateIds = {};
}
|
JavaScript
|
// ************************** GLOBAL VARS *********************************//
// A table to cache the outerHTML of the _rtf elements before the rollover
// state is applied.
var gv_OriginalTextCache = new Object();
// A table to cache the src image before the rollover
// state is applied.
var gv_OriginalImgSrc = new Object();
// A table to store all the vertical alignments of all the parents of the text
// objects.
var gv_vAlignTable = new Object();
// ************************************************************************//
//stored on each browser event
var windowEvent;
//Check if IE
var bIE = false;
if ((index = navigator.userAgent.indexOf("MSIE")) >= 0) {
bIE = true;
}
var Forms = document.getElementsByTagName("FORM");
for (var i = 0; i < Forms.length; i++) {
var Form = Forms[i];
Form.onclick = SuppressBubble;
}
function SuppressBubble(event) {
if (bIE) {
window.event.cancelBubble = true;
window.event.returnValue = false;
}
else {
if (event) {
event.stopPropagation();
}
}
}
function InsertAfterBegin(dom, html) {
if (!bIE) {
var phtml; var range = dom.ownerDocument.createRange();
range.selectNodeContents(dom);
range.collapse(true);
phtml = range.createContextualFragment(html);
dom.insertBefore(phtml, dom.firstChild);
} else {
dom.insertAdjacentHTML("afterBegin", html);
}
}
function InsertBeforeEnd(dom, html) {
if (!bIE) {
var phtml; var range = dom.ownerDocument.createRange();
range.selectNodeContents(dom);
range.collapse(dom);
phtml = range.createContextualFragment(html);
dom.appendChild(phtml);
} else {
dom.insertAdjacentHTML("beforeEnd", html);
}
}
var MaxZIndex = 1000;
var MinZIndex = -1000;
//Get the id of the Workflow Dialog belonging to element with id = id
function Workflow(id) {
return id + 'WF';
}
function BringToFront(id, skipFixed) {
BringToFrontHelper(id);
if (!skipFixed) BringFixedToFront();
}
function BringToFrontHelper(id) {
var target = document.getElementById(id);
if (target == null) return;
MaxZIndex = MaxZIndex + 1;
target.style.zIndex = MaxZIndex;
};
function BringFixedToFront() {
$axure(function (diagramObject) { return diagramObject.fixedKeepInFront; }).each(function (diagramObject) {
$.each(diagramObject.scriptIds, function (index, item) {
BringToFrontHelper(item);
});
});
}
function SendToBack(id) {
var target = document.getElementById(id);
if (target == null) return;
MinZIndex = MinZIndex - 1;
target.style.zIndex = MinZIndex;
}
function HideElement(id) {
var source = document.getElementById(id);
source.style.visibility = "hidden";
RefreshScreen();
}
function RefreshScreen() {
var oldColor = document.body.style.backgroundColor;
var setColor = (oldColor == "rgb(0,0,0)") ? "#FFFFFF" : "#000000";
document.body.style.backgroundColor = setColor;
document.body.style.backgroundColor = oldColor;
}
function getAbsoluteLeft(node) {
var currentNode = node;
var left = 0;
var fixed = false;
while (currentNode != null && currentNode.tagName != "BODY") {
left += currentNode.offsetLeft;
if (currentNode.id != '' && $('#' + currentNode.id).css('position') == 'fixed') fixed = true;
currentNode = currentNode.offsetParent;
}
if (fixed) left += document.body.scrollLeft;
return left;
}
function getAbsoluteTop(node) {
var currentNode = node;
var top = 0;
var fixed = false;
while (currentNode != null && currentNode.tagName != "BODY") {
top += currentNode.offsetTop;
if (currentNode.id != '' && $('#' + currentNode.id).css('position') == 'fixed') fixed = true;
currentNode = currentNode.offsetParent;
}
if (fixed) top += document.body.scrollTop;
return top;
}
// ****************** Annotation and Link Functions ****************** //
function GetAnnotationHtml(annJson) {
var retVal = "";
for (var noteName in annJson) {
if (noteName != "label") {
retVal += "<div class='annotationName'>" + noteName + "</div>";
retVal += "<div class='annotation'>" + annJson[noteName] + "</div>";
}
}
return retVal;
}
var dialogs = new Object();
function ToggleWorkflow(event, id, width, height, hasWorkflow) {
if (dialogs[id]) {
var $dialog = dialogs[id];
// reset the dialog
dialogs[id] = undefined;
if ($dialog.dialog("isOpen")) {
$dialog.dialog("close");
return;
}
}
// we'll need to save the scroll position just for stupid IE which will skip otherwise
var win = $(window);
var scrollY = win.scrollTop();
var scrollX = win.scrollLeft();
var target = document.getElementById(Workflow(id));
var bufferH = 10;
var bufferV = 10;
var blnLeft = false;
var blnAbove = false;
var sourceTop = event.pageY - document.body.scrollTop;
var sourceLeft = event.pageX - document.body.scrollLeft;
if (sourceLeft > width + bufferH + document.body.scrollLeft) {
blnLeft = true;
}
if (sourceTop > height + bufferV + document.body.scrollTop) {
blnAbove = true;
}
var top = 0;
var left = 0;
if (blnAbove) top = sourceTop - height - 20;
else top = sourceTop + 10;
if (blnLeft) left = sourceLeft - width - 4;
else left = sourceLeft - 6;
if (bIE) height += 50;
MaxZIndex = MaxZIndex + 1;
var dObj = $axure.pageData.scriptIdToObject[id];
var ann = dObj.annotation;
var $dialog = $('<div></div>')
.appendTo('body')
.html(GetAnnotationHtml(ann))
.dialog({
title: dObj.label,
width: width,
height: height,
minHeight: 150,
zIndex: MaxZIndex,
position: [left, top],
dialogClass: 'dialogFix'
});
dialogs[id] = $dialog;
// scroll ... just for IE
window.scrollTo(scrollX, scrollY);
}
function ToggleLinks(event, linksid) {
var links = document.getElementById(linksid);
if (links.style.visibility == "visible") { HideElement(linksid); }
else {
if (bIE) {
links.style.top = window.event.clientY + document.body.scrollTop;
links.style.left = window.event.clientX + document.body.scrollLeft;
}
else {
links.style.top = event.pageY;
links.style.left = event.pageX;
}
links.style.visibility = "visible";
BringToFront(linksid, true);
}
RefreshScreen();
}
// ****************** Utils for Interaction Action Functions ****************** //
function IsTrueMouseOut(idNoSpace, e) {
if (!e) e = window.event;
var target = window.event ? e.srcElement : e.target;
while (target.nodeName != 'HTML') {
if (target.style.visibility == 'hidden') return false;
target = target.parentNode;
}
return IsTrueMouseEvent(idNoSpace, e.relatedTarget || e.toElement);
}
function IsTrueMouseOver(idNoSpace, e) {
if (!e) e = window.event;
return IsTrueMouseEvent(idNoSpace, e.relatedTarget || e.toElement);
}
function IsTrueMouseEvent(idNoSpace, relTarget) {
while (relTarget != null && relTarget.nodeName != 'HTML') {
var id = relTarget.id;
var index = id.indexOf('Links');
if (index > 0 && id.substring(0, index) == idNoSpace) return false;
relTarget = relTarget.parentNode;
if (relTarget == null || relTarget.id == idNoSpace) return false;
}
return true;
}
// ****************** Interaction Action Functions ****************** //
function NewTab(hyperlink, name) {
window.open(hyperlink, name);
}
function NewWindow(hyperlink, name, features, center, width, height) {
if (center) {
var winl = (screen.width - width) / 2;
var wint = (screen.height - height) / 2;
features = features + ', left=' + winl + ', top=' + wint;
}
window.open(hyperlink, name, features);
}
function ParentWindowNeedsReload(newPageName) {
var reload = false;
try {
var oldParentUrl = top.opener.window.location.href.split("#")[0];
var lastslash = oldParentUrl.lastIndexOf("/");
if (lastslash > 0) {
oldParentUrl = oldParentUrl.substring(lastslash + 1, oldParentUrl.length);
if (oldParentUrl == encodeURI(newPageName)) {
reload = true;
}
}
} catch (e) { }
return reload;
}
function FrameWindowNeedsReload(iframe, newPageName) {
var reload = false;
try {
var oldFrameUrl = iframe.contentWindow.location.href.split("#")[0];
var lastslash = oldFrameUrl.lastIndexOf("/");
if (lastslash > 0) {
oldFrameUrl = oldFrameUrl.substring(lastslash + 1, oldFrameUrl.length);
if (oldFrameUrl == encodeURI(newPageName)) {
reload = true;
}
}
} catch (e) { }
return reload;
}
function GetScrollable(target) {
var $target = $(target);
var inScrollable = false;
var current = $target;
var last = $target;
while (!current.is('body')) {
var elementId = current.attr('id');
var diagramObject = elementId && $axure.pageData.scriptIdToObject[elementId];
if (diagramObject && diagramObject.type == 'dynamicPanel' && diagramObject.scrollbars != 'none') {
//returns the panel diagram div which handles scrolling
return document.getElementById(last.attr('id'));
}
last = current;
current = current.parent();
}
return document.body;
}
function ScrollToWidget(id, scrollX, scrollY, easing, duration) {
var target = document.getElementById(id);
var scrollable = GetScrollable(target);
var targetLeft = getRelativeLeft(target, scrollable);
var targetTop = getRelativeTop(target, scrollable);
if (!scrollX) targetLeft = scrollable.scrollLeft;
if (!scrollY) targetTop = scrollable.scrollTop;
if (easing == 'none') {
if (scrollY) scrollable.scrollTop = targetTop;
if (scrollX) scrollable.scrollLeft = targetLeft;
} else {
var $scrollable = $(scrollable);
if ($(target).is('body')) { $scrollable = $('html,body'); }
if (!scrollX) { $scrollable.animate({ scrollTop: targetTop }, duration, easing);
} else if (!scrollY) { $scrollable.animate({ scrollLeft: targetLeft }, duration, easing);
} else { $scrollable.animate({ scrollTop: targetTop, scrollLeft: targetLeft }, duration, easing); }
}
}
function getRelativeLeft(node, parent) {
var currentNode = node;
var left = 0;
while (currentNode != null && currentNode.tagName != "BODY") {
left += currentNode.offsetLeft;
currentNode = currentNode.offsetParent;
if (currentNode == parent) break;
}
return left;
}
function getRelativeTop(node, parent) {
var currentNode = node;
var top = 0;
while (currentNode != null && currentNode.tagName != "BODY") {
top += currentNode.offsetTop;
currentNode = currentNode.offsetParent;
if (currentNode == parent) break;
}
return top;
}
// ****************** Visibility and State Functions ****************** //
var widgetIdToShowFunction = new Object();
var widgetIdToHideFunction = new Object();
function SetPanelVisibility(dpId, value, easing, duration) {
var dp = $('#' + dpId);
var dpVisibility = document.getElementById(dpId).style.visibility;
//cannot use dp.css('visibility') because that gets the effective visiblity
//i.e. won't be able to set visibility on panels inside hidden panels
if (value == 'toggle') {
if (dpVisibility == 'hidden') {
value = '';
} else {
value = 'hidden';
}
}
if ((dpVisibility == 'hidden' && value == 'hidden') ||
(dpVisibility == '' && value == '')) {
return;
}
if (easing == 'none') {
dp.css('display', '');
dp.css('visibility', value);
} else if (easing == 'fade') {
if (value == 'hidden') {
if (dpVisibility != 'hidden') {
dp.fadeOut(duration, function () {
dp.css('visibility', 'hidden');
});
}
} else {
if (dpVisibility == 'hidden') {
dp.css('display', 'none');
dp.css('visibility', '');
dp.fadeIn(duration, function () { });
}
}
}
if (value == 'hidden') {
var hideFunction = widgetIdToHideFunction[dpId];
if (hideFunction) {
hideFunction();
}
} else {
var showFunction = widgetIdToShowFunction[dpId];
if (showFunction) {
showFunction();
}
}
}
var widgetIdToPanelStateChangeFunction = new Object();
function SetPanelState(dpId, stateid, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn) {
var dpWasHidden = $('#' + dpId).css('visibility') == "hidden";
if ($('#' + stateid).css('visibility') != "hidden" && !dpWasHidden) {
return;
}
var width = $('#' + dpId).width();
var height = $('#' + dpId).height();
var oldStateId = GetPanelState(dpId);
if (oldStateId == '') {
$('#' + dpId + '> div[visibility!=hidden]').css('visibility', 'hidden');
$('#' + dpId + '> div[visibility!=hidden]').css('display', '');
} else {
var oldState = $('#' + oldStateId);
if (easingOut == 'none') {
oldState.css('visibility', 'hidden');
oldState.css('display', '');
BringPanelStateToFront(dpId, stateid);
} else if (easingOut == 'fade') {
oldState.fadeOut(durationOut, function () {
oldState.css('visibility', 'hidden');
BringPanelStateToFront(dpId, stateid);
});
} else {
var oldTop = oldState.css('top');
var oldLeft = oldState.css('left');
var onComplete = function () {
oldState.css('visibility', 'hidden');
oldState.css('top', oldTop);
oldState.css('left', oldLeft);
BringPanelStateToFront(dpId, stateid);
};
if (directionOut == "right") {
MoveWidgetBy(oldStateId, width, 0, easingOut, durationOut, onComplete);
} else if (directionOut == "left") {
MoveWidgetBy(oldStateId, -width, 0, easingOut, durationOut, onComplete);
} else if (directionOut == "up") {
MoveWidgetBy(oldStateId, 0, -height, easingOut, durationOut, onComplete);
} else if (directionOut == "down") {
MoveWidgetBy(oldStateId, 0, height, easingOut, durationOut, onComplete);
}
}
}
var dp = $('#' + dpId);
dp.css('display', '');
dp.css('visibility', '');
var newState = $('#' + stateid);
if (easingIn == 'none') {
newState.css('visibility', '');
newState.css('display', '');
} else if (easingIn == 'fade') {
newState.css('display','none');
newState.css('visibility', '');
newState.fadeIn(durationIn, function () {});
} else {
var oldTop = Number(newState.css('top').replace("px", ""));
var oldLeft = Number(newState.css('left').replace("px", ""));
if (directionIn == "right") {
newState.css('left', oldLeft - width + 'px');
} else if (directionIn == "left") {
newState.css('left', oldLeft + width + 'px');
} else if (directionIn == "up") {
newState.css('top', oldTop + height + 'px');
} else if (directionIn == "down") {
newState.css('top', oldTop - height + 'px');
}
newState.css('display', '');
newState.css('visibility', '');
if (directionIn == "right") {
MoveWidgetBy(stateid, width, 0, easingIn, durationIn);
} else if (directionIn == "left") {
MoveWidgetBy(stateid, -width, 0, easingIn, durationIn);
} else if (directionIn == "up") {
MoveWidgetBy(stateid, 0, -height, easingIn, durationIn);
} else if (directionIn == "down") {
MoveWidgetBy(stateid, 0, height, easingIn, durationIn);
}
}
var panelStateChangeFunction = widgetIdToPanelStateChangeFunction[dpId];
if (panelStateChangeFunction) {
panelStateChangeFunction();
}
if (dpWasHidden) {
var showFunction = widgetIdToShowFunction[dpId];
if (showFunction) {
showFunction();
}
}
}
function SetPanelStateNext(dpId, loop, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn) {
var oldStateId = GetPanelState(dpId);
if (oldStateId != '') {
var index = Number(oldStateId.substring(2, oldStateId.indexOf('u'))) + 1;
if (index >= $('#' + dpId).children().length) {
if (loop) index = 0;
else return;
}
var stateid = 'pd' + index + dpId;
SetPanelState(dpId, stateid, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn);
}
}
function SetPanelStatePrevious(dpId, loop, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn) {
var oldStateId = GetPanelState(dpId);
if (oldStateId != '') {
var index = Number(oldStateId.substring(2, oldStateId.indexOf('u'))) - 1;
if (index < 0) {
if (loop) index = $('#' + dpId).children().length - 1;
else return;
}
var stateid = 'pd' + index + dpId;
SetPanelState(dpId, stateid, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn);
}
}
function SetPanelStateByValue(dpId, value, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn) {
var toMatch = $.trim(value).toLowerCase();
var stateId;
$('#' + dpId).children('*[data-label]').each(function (index, element) {
// the || is to make sure it matches only the first one
if (!stateId && element.getAttribute('data-label').toLowerCase() == toMatch) stateId = element.id;
});
if (stateId) {
SetPanelState(dpId, stateId, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn);
} else if (isNaN(value)) {
return;
} else {
var index = value - 1;
var stateId = 'pd' + index + dpId;
if ($('#' + dpId).children('[id="' + stateId + '"]').length > 0)
SetPanelState(dpId, stateId, easingOut, directionOut, durationOut, easingIn, directionIn, durationIn);
}
}
function BringPanelStateToFront(dpId, stateid) {
$('#' + stateid).appendTo($('#' + dpId));
}
// ****************** Move Functions ****************** //
var widgetIdToMoveFunction = new Object();
var widgetMoveInfo = new Object();
function MoveWidgetTo(id, x, y, easing, duration) {
var widget = $('#' + id);
var deltaX = x - Number(widget.css('left').replace("px", ""));
var deltaY = y - Number(widget.css('top').replace("px", ""));
MoveWidgetBy(id, deltaX, deltaY, easing, duration);
}
function MoveWidgetBy(id, x, y, easing, duration, animationCompleteCallback) {
LogMovedWidgetForDrag(id);
var widget = $('#' + id);
var horzProp = 'left';
var vertProp = 'top';
var horzX = x;
var vertY = y;
if (widget.css('left') == 'auto') {
horzProp = 'right';
horzX = -x;
} else if (widget.css('left') == '50%') {
horzProp = 'margin-left';
}
if (widget.css('top') == 'auto') {
vertProp = 'bottom';
vertY = -y;
} else if (widget.css('top') == '50%') {
vertProp = 'margin-top';
}
var cssStyles = {};
cssStyles[horzProp] = '+=' + horzX;
cssStyles[vertProp] = '+=' + vertY;
if (easing == 'none') {
$('#' + id).animate(cssStyles, 0);
} else {
$('#' + id).animate(cssStyles, duration, easing, animationCompleteCallback);
}
var moveInfo = new Object();
moveInfo.x = x;
moveInfo.y = y;
moveInfo.easing = easing;
moveInfo.duration = duration;
widgetMoveInfo[id] = moveInfo;
var moveFunction = widgetIdToMoveFunction[id];
if (moveFunction) {
moveFunction();
}
}
function MoveWidgetWithThis(id, srcId) {
var moveInfo = widgetMoveInfo[srcId];
if (moveInfo) {
MoveWidgetBy(id, moveInfo.x, moveInfo.y, moveInfo.easing, moveInfo.duration);
}
}
function MoveWidgetToLocationBeforeDrag(id, easing, duration) {
if (widgetDragInfo.movedWidgets[id]) {
var loc = widgetDragInfo.movedWidgets[id];
MoveWidgetTo(id, loc.x, loc.y, easing, duration);
}
}
function LogMovedWidgetForDrag(id) {
if (widgetDragInfo.hasStarted) {
var widget = $('#' + id);
var y = Number(widget.css('top').replace("px", ""));
var x = Number(widget.css('left').replace("px", ""));
var movedWidgets = widgetDragInfo.movedWidgets;
if (!movedWidgets[id]) {
movedWidgets[id] = new Location(x, y);
}
}
}
// ****************** Drag Functions ****************** //
var widgetIdToStartDragFunction = new Object();
var widgetIdToDragFunction = new Object();
var widgetIdToDragDropFunction = new Object();
var widgetIdToSwipeLeftFunction = new Object();
var widgetIdToSwipeRightFunction = new Object();
var widgetDragInfo = new Object();
function StartDragWidget(event, id) {
var x, y;
var tg;
if (bIE) {
x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft;
y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
tg = window.event.srcElement;
}
else {
if (event.changedTouches) {
x = event.changedTouches[0].pageX;
y = event.changedTouches[0].pageY;
} else {
x = event.pageX;
y = event.pageY;
event.preventDefault();
}
tg = event.target;
}
widgetDragInfo.hasStarted = false;
widgetDragInfo.widgetId = id;
widgetDragInfo.cursorStartX = x;
widgetDragInfo.cursorStartY = y;
widgetDragInfo.lastX = x;
widgetDragInfo.lastY = y;
widgetDragInfo.currentX = x;
widgetDragInfo.currentY = y;
widgetDragInfo.movedWidgets = new Object();
widgetDragInfo.startTime = (new Date()).getTime();
widgetDragInfo.targetWidget = tg;
if (bIE) {
document.attachEvent("onmousemove", DragWidget);
document.attachEvent("onmouseup", StopDragWidget);
}
else {
document.addEventListener("mousemove", DragWidget, true);
document.addEventListener("mouseup", StopDragWidget, true);
document.addEventListener("touchmove", DragWidget, true);
document.addEventListener("touchend", StopDragWidget, true);
}
SuppressBubble(event);
}
function DragWidget(event) {
var x, y;
if (bIE) {
x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft;
y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
}
else {
if (event.changedTouches) {
x = event.changedTouches[0].pageX;
y = event.changedTouches[0].pageY;
//allow scroll (defaults) if only swipe events have cases and delta x is less than 5px and not blocking scrolling
var deltaX = x - widgetDragInfo.currentX;
var target = document.getElementById(widgetDragInfo.widgetId);
if (widgetIdToDragFunction[widgetDragInfo.widgetId] || (deltaX * deltaX) > 25 || ($axure.pageData.options.preventScroll && GetScrollable(target) == document.body)) {
event.preventDefault();
}
} else {
x = event.pageX;
y = event.pageY;
}
}
widgetDragInfo.xDelta = x - widgetDragInfo.currentX;
widgetDragInfo.yDelta = y - widgetDragInfo.currentY;
widgetDragInfo.lastX = widgetDragInfo.currentX;
widgetDragInfo.lastY = widgetDragInfo.currentY;
widgetDragInfo.currentX = x;
widgetDragInfo.currentY = y;
widgetDragInfo.currentTime = (new Date()).getTime();
SuppressBubble(event);
if (!widgetDragInfo.hasStarted) {
widgetDragInfo.hasStarted = true;
var startFunction = widgetIdToStartDragFunction[widgetDragInfo.widgetId];
if (startFunction) {
startFunction();
}
widgetDragInfo.oldBodyCursor = document.body.style.cursor;
document.body.style.cursor = 'move';
var widget = document.getElementById(widgetDragInfo.widgetId);
widgetDragInfo.oldCursor = widget.style.cursor;
widget.style.cursor = 'move';
}
var dragFunction = widgetIdToDragFunction[widgetDragInfo.widgetId];
if (dragFunction) {
dragFunction();
}
}
function SuppressClickAfterDrag(event) {
if (bIE) { window.event.srcElement.detachEvent("onclick", SuppressClickAfterDrag);
} else { document.removeEventListener("click", SuppressClickAfterDrag, true); }
SuppressBubble(event);
}
function StopDragWidget(event) {
var tg;
if (bIE) {
document.detachEvent("onmousemove", DragWidget);
document.detachEvent("onmouseup", StopDragWidget);
tg = window.event.srcElement;
}
else {
document.removeEventListener("mousemove", DragWidget, true);
document.removeEventListener("mouseup", StopDragWidget, true);
document.removeEventListener("touchmove", DragWidget, true);
document.removeEventListener("touchend", StopDragWidget, true);
tg = event.target;
}
if (widgetDragInfo.hasStarted) {
widgetDragInfo.currentTime = (new Date()).getTime();
var dragDropFunction = widgetIdToDragDropFunction[widgetDragInfo.widgetId];
if (dragDropFunction) {
dragDropFunction();
}
if (GetGlobalVariableValue('TotalDragX') < -30 && GetGlobalVariableValue('DragTime') < 1000) {
var swipeLeftFunction = widgetIdToSwipeLeftFunction[widgetDragInfo.widgetId];
if (swipeLeftFunction) {
swipeLeftFunction();
}
}
if (GetGlobalVariableValue('TotalDragX') > 30 && GetGlobalVariableValue('DragTime') < 1000) {
var swipeRightFunction = widgetIdToSwipeRightFunction[widgetDragInfo.widgetId];
if (swipeRightFunction) {
swipeRightFunction();
}
}
document.body.style.cursor = widgetDragInfo.oldBodyCursor;
var widget = document.getElementById(widgetDragInfo.widgetId);
widget.style.cursor=widgetDragInfo.oldCursor;
if (widgetDragInfo.targetWidget == tg && !event.changedTouches) {
// suppress the click after the drag on desktop browsers
if (bIE && widgetDragInfo.targetWidget) { widgetDragInfo.targetWidget.attachEvent("onclick", SuppressClickAfterDrag); }
else { document.addEventListener("click", SuppressClickAfterDrag, true); }
}
}
widgetDragInfo.hasStarted = false;
widgetDragInfo.movedWidgets=new Object();
return false;
}
function GetDragX() {
if (widgetDragInfo.hasStarted) return widgetDragInfo.xDelta;
return 0;
}
function GetDragY() {
if (widgetDragInfo.hasStarted) return widgetDragInfo.yDelta;
return 0;
}
function GetTotalDragX() {
if (widgetDragInfo.hasStarted) return widgetDragInfo.currentX - widgetDragInfo.cursorStartX;
return 0;
}
function GetTotalDragY() {
if (widgetDragInfo.hasStarted) return widgetDragInfo.currentY - widgetDragInfo.cursorStartY;
return 0;
}
function GetDragTime() {
if (widgetDragInfo.hasStarted) return widgetDragInfo.currentTime - widgetDragInfo.startTime;
return 600000;
}
function GetDragCursorRectangles() {
var rects = new Object();
rects.lastRect = new Rectangle(widgetDragInfo.lastX, widgetDragInfo.lastY, 1, 1);
rects.currentRect = new Rectangle(widgetDragInfo.currentX, widgetDragInfo.currentY, 1, 1);
return rects;
}
function GetWidgetRectangles(id) {
var widget = document.getElementById(id);
var rects = new Object();
rects.lastRect = new Rectangle(getAbsoluteLeft(widget), getAbsoluteTop(widget), Number($('#' + id).css('width').replace("px", "")), Number($('#' + id).css('height').replace("px", "")));
rects.currentRect = rects.lastRect;
return rects;
}
function IsEntering(movingRects, targetRects) {
return !movingRects.lastRect.IntersectsWith(targetRects.currentRect) && movingRects.currentRect.IntersectsWith(targetRects.currentRect);
}
function IsLeaving(movingRects, targetRects) {
return movingRects.lastRect.IntersectsWith(targetRects.currentRect) && !movingRects.currentRect.IntersectsWith(targetRects.currentRect);
}
function IsOver(movingRects, targetRects) {
return movingRects.currentRect.IntersectsWith(targetRects.currentRect);
}
function IsNotOver(movingRects, targetRects) {
return !IsOver(movingRects, targetRects);
}
function Rectangle(x, y, width, height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.right = x + width;
this.bottom = y + height;
this.IntersectsWith = IntersectsWith;
function IntersectsWith(rect) {
return this.x < rect.right && this.right > rect.x && this.y < rect.bottom && this.bottom > rect.y;
}
}
function Location(x, y) {
this.x = x;
this.y = y;
}
// ****************** String Function ****************** //
function ValueContains(inputString, value) {
return inputString.indexOf(value) > -1;
}
function ValueNotContains(inputString, value) {
return !ValueContains(inputString, value);
}
// ****************** Date Functions ****************** //
function GetDayString(day) {
var weekday = new Array(7);
weekday[0] = "Sunday";
weekday[1] = "Monday";
weekday[2] = "Tuesday";
weekday[3] = "Wednesday";
weekday[4] = "Thursday";
weekday[5] = "Friday";
weekday[6] = "Saturday";
return weekday[day];
}
function GetMonthString(m) {
var month = new Array(12);
month[0] = "January";
month[1] = "February";
month[2] = "March";
month[3] = "April";
month[4] = "May";
month[5] = "June";
month[6] = "July";
month[7] = "August";
month[8] = "September";
month[9] = "October";
month[10] = "November";
month[11] = "December";
return month[m];
}
// ****************** Sim Functions ****************** //
function SetCheckState(id, value) {
var boolValue = Boolean(value);
if (value == 'false') {
boolValue = false;
}
document.getElementById(id).checked = boolValue;
}
function SetSelectedOption(id, value) {
document.getElementById(id).value = value;
}
function SetGlobalVariableValue(id, value) {
$axure.globalVariableProvider.setVariableValue(id, value);
}
function SetWidgetFormText(id, value) {
document.getElementById(id).value = value;
}
function SetFocusedWidgetText(value) {
if (lastFocusedControl) {
lastFocusedControl.focus();
lastFocusedControl.value = value;
}
}
function GetRtfElementHeight(rtfElement) {
if (rtfElement.innerHTML == '') rtfElement.innerHTML = ' ';
return rtfElement.offsetHeight;
}
function SetWidgetRichText(id, value) {
//use the .visibility property instead of jquery's effective visibility
var rtfVisibility = document.getElementById(id).style.visibility;
if (rtfVisibility == 'hidden') $('#' + id).css('visibility', '');
var rtfElement = document.getElementById(id + '_rtf');
var oldHeight = GetRtfElementHeight(rtfElement);
//Replace any newlines with line breaks
value = value.replace(/\n/g, '<br/>');
rtfElement.innerHTML = value;
var newHeight = GetRtfElementHeight(rtfElement);
var oldTop = Number($('#' + id).css('top').replace("px", ""));
var vAlign = gv_vAlignTable[id];
if (vAlign == "center") {
var newTop = oldTop - (newHeight - oldHeight) / 2;
$('#' + id).css('top', newTop + 'px');
} else if (vAlign == "bottom") {
var newTop = oldTop - newHeight + oldHeight;
$('#' + id).css('top', newTop + 'px');
} // do nothing if the alignment is top
if (gv_OriginalTextCache[id]) {
CacheOriginalText(id);
}
}
function GetCheckState(id) {
return document.getElementById(id).checked;
}
function GetSelectedOption(id) {
return document.getElementById(id).value;
}
function GetNum(str) {
//Setting a GlobalVariable to some blank text then setting a widget to the value of that variable would result in 0 not ""
//I have fixed this another way so commenting this should be fine now
//if (!str) return "";
return isNaN(str) ? str : Number(str);
}
function GetGlobalVariableValue(id) {
return $axure.globalVariableProvider.getVariableValue(id);
}
function GetGlobalVariableLength(id) {
return GetGlobalVariableValue(id).length;
}
function GetWidgetText(id) {
var idQuery = $('#' + id);
if (idQuery.is('div')) {
var $rtfObj = idQuery.find('div[id$="_rtf"]');
if ($rtfObj.length == 0) return;
var textOut = '';
$rtfObj.children('p').each(function (index) {
if (index != 0) textOut += '\n';
//Replace line breaks (set in SetWidgetRichText) with newlines and nbsp's with regular spaces.
var htmlContent = $(this).html().replace(/<br\/*>/ig, '\n').replace(/ /ig, ' ');
textOut += $(htmlContent).text();
});
return textOut;
} else if (idQuery.is('input') &&
(idQuery.attr('type') == 'checkbox' || idQuery.attr('type') == 'radio')) {
return idQuery.parent().find('label').find('div[id$="_rtf"]').text();
} else {
return idQuery.val();
}
}
function GetFocusedWidgetText(id) {
if (lastFocusedControl) {
return lastFocusedControl.value;
} else {
return "";
}
}
function GetWidgetValueLength(id) {
return document.getElementById(id).value.length;
}
function GetWidgetVisibility(id) {
if (document.getElementById(id).style.visibility == 'hidden') {
return false;
} else { return true; }
}
function GetPanelState(id) {
var el = document.getElementById(id);
if (el.style.visibility == 'hidden') { return ''; }
var children = el.childNodes;
for (var i = 0; i < children.length; i++) {
if (children[i].style) {
if (children[i].style.visibility != 'hidden') {
return children[i].id;
}
}
}
return '';
}
// ***************** Validation Functions ***************** //
function IsValueAlpha(val) {
var isAlphaRegex = new RegExp("^[a-z\\s]+$", "gi");
return isAlphaRegex.test(val);
}
function IsValueNumeric(val) {
var isNumericRegex = new RegExp("^[0-9,\\.\\s]+$", "gi");
return isNumericRegex.test(val);
}
function IsValueAlphaNumeric(val) {
var isAlphaNumericRegex = new RegExp("^[0-9a-z\\s]+$", "gi");
return isAlphaNumericRegex.test(val);
}
function IsValueOneOf(val, values) {
for (i = 0; i < values.length; i++) {
var option = values[i];
if (val == option) return true;
}
// by default, return false
return false;
}
function IsValueNotAlpha(val) {
return !IsValueAlpha(val);
}
function IsValueNotNumeric(val) {
return !IsValueNumeric(val);
}
function IsValueNotAlphaNumeric(val) {
return !IsValueAlphaNumeric(val);
}
function IsValueNotOneOf(val, values) {
return !IsValueOneOf(val, values);
}
// ****************** Rollover Functions ****************** //
var gv_hoveredObject = '';
function HookHover(id, bringFront) {
// return;
//
// $('.' + id + '_container').hover(
// function (e) { // mouseenter
// if (id == gv_hoveredObject) return;
// gv_hoveredObject = id;
// SetWidgetHover(id, bringFront);
// },
// function () { // mouseleave
// if (id == gv_hoveredObject) gv_hoveredObject = '';
// SetWidgetNotHover(id, bringFront);
// }
// );
}
function HookClick(id, bringFront) {
//
// $('.' + id + '_container')
// .mousedown(function () {
// SetWidgetMouseDown(id, bringFront);
// })
// .mouseup(function () {
// SetWidgetNotMouseDown(id, bringFront);
// })
// ;
}
function SetWidgetOriginal(id, bringFront) {
ApplyImageAndTextJson(id, 'normal', bringFront, true);
}
function SetWidgetHover(id, bringFront) {
if (IsWidgetSelected(id) || IsWidgetDisabled(id)) { return; }
ApplyImageAndTextJson(id, 'mouseOver', bringFront, false);
}
function SetWidgetNotHover(id, bringFront) {
if (IsWidgetSelected(id) || IsWidgetDisabled(id)) { return; }
SetWidgetOriginal(id, bringFront);
}
function GetWidgetCurrentState(id) {
if (IsWidgetDisabled(id)) return "disabled";
if (IsWidgetSelected(id)) return "selected";
if ($axure.eventManager.mouseOverObjectId == id ||
$axure.eventManager.mouseOverLinkId) return "mouseOver";
if ($axure.eventManager.mouseDownObjectId == id ||
$axure.eventManager.mouseDownLinkId) return "mouseDown";
return "normal";
}
function SetLinkStyle(id, parentId, styleName) {
var style = GetStyleOverridesForState(id, parentId, styleName);
if ($.isEmptyObject(style)) return;
var textId = GetTextIdFromLink(id);
if (!gv_OriginalTextCache[textId]) { CacheOriginalText(textId); }
var parentObjectCache = gv_OriginalTextCache[textId].styleCache;
TextTransformWithVerticalAlignment(textId, function () {
var cssProps = GetCssStyleProperties(style);
$('#' + id).find('*').andSelf().each(function (index, element) {
element.setAttribute('style', parentObjectCache[element.id]);
ApplyCssProps(element, cssProps);
});
});
}
function ResetLinkStyle(id) {
var textId = GetTextIdFromLink(id);
var parentObjectCache = gv_OriginalTextCache[textId].styleCache;
TextTransformWithVerticalAlignment(textId, function () {
$('#' + id).find('*').andSelf().each(function (index, element) {
element.style.cssText = parentObjectCache[element.id];
});
});
if ($axure.eventManager.mouseDownObjectId) {
SetWidgetMouseDown($axure.eventManager.mouseDownObjectId);
} else if ($axure.eventManager.mouseOverObjectId) {
SetWidgetHover($axure.eventManager.mouseOverObjectId);
}
}
function SetLinkHover(id) {
var parentId = $axure.eventManager.mouseOverObjectId;
SetLinkStyle(id, parentId, "mouseOver");
}
function SetLinkNotHover(id) {
ResetLinkStyle(id);
}
function SetLinkMouseDown(id) {
var parentId = $axure.eventManager.mouseOverObjectId;
SetLinkStyle(id, parentId, "mouseDown");
}
function SetLinkNotMouseDown(id) {
ResetLinkStyle(id);
var style = GetStyleOverridesForState(id, $axure.eventManager.mouseOverObjectId, "mouseOver");
if(!$.isEmptyObject(style)) {
SetLinkHover(id);
} // we dont do anything here bocause the widget not mouse down has taken over here
}
function SetWidgetMouseDown(id, bringFront) {
if (IsWidgetSelected(id) || IsWidgetDisabled(id)) { return; }
var widgetObject = $axure.pageData.scriptIdToObject[id];
if (!(widgetObject && widgetObject.style && widgetObject.style.stateStyles &&
widgetObject.style.stateStyles.mouseDown)) return;
ApplyImageAndTextJson(id, 'mouseDown', bringFront, false);
}
function SetWidgetNotMouseDown(id, bringFront) {
if (IsWidgetSelected(id) || IsWidgetDisabled(id)) { return; }
var widgetObject = $axure.pageData.scriptIdToObject[id];
var hasMouseOver = widgetObject && widgetObject.style && widgetObject.style.stateStyles && widgetObject.style.stateStyles.mouseOver;
if(hasMouseOver) {
SetWidgetHover(id, bringFront);
} else {
SetWidgetOriginal(id, bringFront);
}
}
var gv_SelectedWidgets = new Object();
function SetWidgetSelected(id) {
var group = $('#' + id).attr('selectiongroup');
if (group) {
$("[selectiongroup='" + group + "'][visibility!='hidden']").each(function (i, obj) {
SetWidgetNotSelected($(obj).attr('id'));
});
}
var widgetObject = $axure.pageData.scriptIdToObject[id];
if (widgetObject) {
while (widgetObject.isContained) widgetObject = widgetObject.parent;
var hasSelected = widgetObject && widgetObject.style && widgetObject.style.stateStyles && widgetObject.style.stateStyles.selected;
if (hasSelected) ApplyImageAndTextJson(id, 'selected', false, false);
}
gv_SelectedWidgets[id] = 'true';
}
function SetWidgetNotSelected(id) {
var widgetObject = $axure.pageData.scriptIdToObject[id];
if (widgetObject) {
while (widgetObject.isContained) widgetObject = widgetObject.parent;
var hasSelected = widgetObject && widgetObject.style && widgetObject.style.stateStyles && widgetObject.style.stateStyles.selected;
if (hasSelected) SetWidgetOriginal(id, false);
}
gv_SelectedWidgets[id] = 'false';
}
function IsWidgetSelected(id) {
if (gv_SelectedWidgets[id] && gv_SelectedWidgets[id] == 'true') { return true; }
return false;
}
var gv_DisabledWidgets = new Object();
function DisableImageWidget(id) {
gv_DisabledWidgets[id] = true;
ApplyImageAndTextJson(id, 'disabled', false, false);
$('#' + id).find('a').css('cursor', 'default');
}
function EnableImageWidget(id) {
//document.getElementById(id).style.visibility = '';
gv_DisabledWidgets[id] = false;
SetWidgetOriginal(id, false);
$('#' + id).find('a').css('cursor', 'pointer');
}
function IsWidgetDisabled(id) {
return Boolean(gv_DisabledWidgets[id]);
}
function GetTextIdFromShape(id) {
return $.grep(
$('#' + id).children().map(function (i, obj) { return obj.id; }), // all the child ids
function (item) { return item.indexOf(id) < 0; })[0]; // that are not similar to the parent
}
function GetTextIdFromLink(id) {
var rtfElementId = $('#' + id).parentsUntil('[id^="u"][id$="_rtf"]').last().parent().attr('id');
return rtfElementId ? rtfElementId.replace('_rtf', '') : '';
}
function GetShapeIdFromText(textId) {
return $('#' + textId).parent().attr('id');
}
function ApplyImageAndTextJson(id, event, bringToFront, isOriginal) {
var obj = document.getElementById(id);
if (obj && obj.style.visibility == 'hidden' && isOriginal) { return; }
var textid = GetTextIdFromShape(id);
ResetImagesAndTextJson(id, textid);
if (event != '') {
var e = $('#' + id + '_img').data('events');
if (e && e[event]) {
$('#' + id + '_img').trigger(event);
}
var style = GetStyleOverridesForState(id, null, event);
ApplyImageStyle(id, event, style);
if(!$.isEmptyObject(style)) ApplyTextStyle(textid, style);
}
if (bringToFront) { BringToFront(id + '_container'); BringToFront(id); BringToFront(id + 'ann'); }
}
function GetStyleOverridesForState(id, parentId, state) {
var stateStyles = { };
if(parentId) {
var parent = $axure.pageData.scriptIdToObject[parentId];
$.extend(stateStyles, parent && parent.getStateStyleOverrides(state));
}
var diagramObject = $axure.pageData.scriptIdToObject[id];
var isHyperlink = $('#' + id).is('a');
if(isHyperlink) {
if(state == 'mouseOver') {
$.extend(stateStyles, $axure.pageData.stylesheet.defaultStyles.hyperlinkMouseOver);
$.extend(stateStyles, diagramObject && GetFullStateStyle(diagramObject.style, 'mouseOver'));
} else if(state == 'mouseDown') {
$.extend(stateStyles, $axure.pageData.stylesheet.defaultStyles.hyperlinkMouseOver);
$.extend(stateStyles, diagramObject && GetFullStateStyle(diagramObject.style, 'mouseOver'));
$.extend(stateStyles, $axure.pageData.stylesheet.defaultStyles.hyperlinkMouseDown);
$.extend(stateStyles, diagramObject && GetFullStateStyle(diagramObject.style, 'mouseDown'));
} else $.extend(stateStyles, diagramObject && diagramObject.getStateStyleOverrides(state));
} else $.extend(stateStyles, diagramObject && diagramObject.getStateStyleOverrides(state));
return stateStyles;
}
function GetFullStateStyle(style, state) {
var stateStyle = style && style.stateStyles && style.stateStyles[state];
if(stateStyle) {
// acount for the custom style property
var customStyle = stateStyle.baseStyle && $axure.pageData.stylesheet.stylesById[stateStyle.baseStyle];
return $.extend(customStyle || {}, stateStyle);
}
return { };
}
function ApplyImageStyle(id, event, style) {
if (!(style && event)) return;
CacheOriginalImgSrc(id);
var diagramObject = $axure.pageData.scriptIdToObject[id];
var img = $('#' + id + '_img');
if (diagramObject.type != 'imageBox' || (style.image && style.image.cssStyle)) {
var styleName = style.image ? style.image.cssStyle : (id + "_" + event);
img.removeClass().empty().addClass(styleName);
} else if (style.image && style.image.url) {
//If this is a basic link (only for axure.com), then set the image border to none
//Resolves issue of blue borders around basic link images in Firefox 3.x
var basicLinkNoBorder = (img.parents('a.basiclink').length > 0) ? " style='border:none;' " : "";
img.removeClass().html("<IMG src='" + style.image.url + "'" + basicLinkNoBorder + " class='raw_image'>");
}
}
function CacheOriginalImgSrc(id) {
if (!gv_OriginalImgSrc[id + '_img']) {
var src = $('#' + id + '_img > img').attr('src');
if (src) gv_OriginalImgSrc[id + '_img'] = src;
else gv_OriginalImgSrc[id + '_img'] = 'none';
}
}
function ResetImagesAndTextJson(id, textid) {
CacheOriginalImgSrc(id);
var img = $('#' + id + '_img'), e = img.data('events');
if (e && e['_normal']) {
img.trigger('_normal');
} else {
img.removeClass().empty();
if (gv_OriginalImgSrc[id + '_img'] && gv_OriginalImgSrc[id + '_img'] != 'none') {
//If this is a basic link (only for axure.com), then set the image border to none
//Resolves issue of blue borders around basic link images in Firefox 3.x
var basicLinkNoBorder = (img.parents('a.basiclink').length > 0) ? " style='border:none;' " : "";
img.html("<IMG src='" + gv_OriginalImgSrc[id + '_img'] + "'" + basicLinkNoBorder + " class='raw_image'>");
} else {
img.addClass(id + '_normal');
}
}
var cacheObject = gv_OriginalTextCache[textid];
if (cacheObject) {
var styleCache = cacheObject.styleCache;
$('#' + textid + "_rtf").find('*').each(function (index, element) {
element.style.cssText = styleCache[element.id];
});
var container = document.getElementById(textid);
container.style.top = cacheObject.top;
}
}
// Preserves the alingment for the element textid after executing transformFn
function TextTransformWithVerticalAlignment(textId, transformFn) {
if (!gv_OriginalTextCache[textId]) { CacheOriginalText(textId); }
var rtfElement = document.getElementById(textId + '_rtf');
if (!rtfElement) return;
var oldHeight = GetRtfElementHeight(rtfElement);
transformFn();
// now handle vertical alignment
var newHeight = GetRtfElementHeight(rtfElement);
var oldTop = Number($('#' + textId).css('top').replace("px", ""));
var vAlign = gv_vAlignTable[textId];
if (vAlign == "center") {
var newTop = oldTop - (newHeight - oldHeight) / 2;
$('#' + textId).css('top', newTop + 'px');
} else if (vAlign == "bottom") {
var newTop = oldTop - newHeight + oldHeight;
$('#' + textId).css('top', newTop + 'px');
} // do nothing if the alignment is top
}
//-------------------------------------------------------------------------
// ApplyTextRollover
//
// Applies a rollover style to a text element.
// id : the id of the text object to set.
// styleProperties : an object mapping style properties to values. eg:
// { 'fontWeight' : 'bold',
// 'fontStyle' : 'italic' }
//-------------------------------------------------------------------------
function ApplyTextStyle(id, style) {
TextTransformWithVerticalAlignment(id, function () {
var styleProperties = GetCssStyleProperties(style);
$('#' + id + "_rtf").find('*').each(function (index, element) {
ApplyCssProps(element, styleProperties);
});
});
}
function ApplyCssProps(element, styleProperties) {
var nodeName = element.nodeName.toLowerCase();
if(nodeName == 'p') {
var parProps = styleProperties.parProps;
for(var prop in parProps) element.style[prop] = parProps[prop];
} else if(nodeName != 'a') {
var runProps = styleProperties.runProps;
for(prop in runProps) element.style[prop] = runProps[prop];
}
}
function GetCssStyleProperties(style) {
var toApply = {};
toApply.runProps = {};
toApply.parProps = {};
if(style.italic !== undefined) toApply.runProps.fontStyle = style.italic ? 'italic' : 'normal';
if(style.bold !== undefined) toApply.runProps.fontWeight = style.bold ? 'bold' : 'normal';
if(style.underline !== undefined) toApply.runProps.textDecoration = style.underline ? 'underline' : 'none';
if(style.fontName) toApply.runProps.fontFamily = style.fontName;
if(style.fontSize) toApply.runProps.fontSize = style.fontSize;
if(style.foreGroundFill) {
var colorString = '00000' + style.foreGroundFill.color.toString(16);
toApply.runProps.color = '#' + colorString.substring(colorString.length - 6);
}
if(style.horizontalAlignment) toApply.parProps.textAlign = style.horizontalAlignment;
if(style.lineSpacing) toApply.parProps.lineHeight = style.lineSpacing;
return toApply;
}
// //--------------------------------------------------------------------------
// // ApplyStyleRecursive
// //
// // Applies a style recursively to all span and div tags including elementNode
// // and all of its children.
// //
// // element : the element to apply the style to
// // styleName : the name of the style property to set (eg. 'font-weight')
// // styleValue : the value of the style to set (eg. 'bold')
// //--------------------------------------------------------------------------
// function ApplyStyleRecursive(element, styleName, styleValue) {
// var nodeName = element.nodeName.toLowerCase();
// if (nodeName == 'div' || nodeName == 'span' || nodeName == 'p') {
// element.style[styleName] = styleValue;
// }
// for (var i = 0; i < element.childNodes.length; i++) {
// ApplyStyleRecursive(element.childNodes[i], styleName, styleValue);
// }
// }
// //---------------------------------------------------------------------------
// // ApplyTextProperty
// //
// // Applies a text property to rtfElement.
// //
// // rtfElement : the the root text element of the rtf object (this is the
// // element named <id>_rtf
// // prop : the style property to set.
// // value : the style value to set.
// //---------------------------------------------------------------------------
// function ApplyTextProperty(rtfElement, prop, value) {
// /*
// var oldHtml = rtfElement.innerHTML;
// if (prop == 'fontWeight') {
// rtfElement.innerHTML = oldHtml.replace(/< *b *\/?>/gi, "");
// } else if (prop == 'fontStyle') {
// rtfElement.innerHTML = oldHtml.replace(/< *i *\/?>/gi, "");
// } else if (prop == 'textDecoration') {
// rtfElement.innerHTML = oldHtml.replace(/< *u *\/?>/gi, "");
// }
// */
// for (var i = 0; i < rtfElement.childNodes.length; i++) {
// ApplyStyleRecursive(rtfElement.childNodes[i], prop, value);
// }
// }
//}
//---------------------------------------------------------------------------
// GetAndCacheOriginalText
//
// Gets the html for the pre-rollover state and returns the Html representing
// the Rich text.
//---------------------------------------------------------------------------
var CACHE_COUNTER = 0;
function CacheOriginalText(id) {
var rtfQuery = $('#' + id + "_rtf");
if (rtfQuery.length > 0) {
var styleCache = {};
rtfQuery.find('*').each(function (index, element) {
var elementId = element.id;
if (!elementId) element.id = elementId = 'cache' + CACHE_COUNTER++;
styleCache[elementId] = element.style.cssText;
});
var cacheObject = {
top: $('#' + id).css('top'),
styleCache:styleCache
};
gv_OriginalTextCache[id] = cacheObject;
}
}
|
JavaScript
|
/*
*
*
*
*
*/
(function() {
// define the root namespace object
window._axUtils = { };
// ------------------------------------------------------------------------
// Makes an object bindable
// ------------------------------------------------------------------------
_axUtils.makeBindable = function(obj, events) {
if (obj.registeredBindings != null) return;
// copy the events
obj.bindableEvents = events.slice();
obj.registeredBindings = { };
obj.bind = function(eventName, fn) {
var binding = { };
binding.eventName = eventName;
binding.action = fn;
var bindingList = this.registeredBindings[eventName];
if (bindingList == null) {
bindingList = [];
this.registeredBindings[eventName] = bindingList;
}
bindingList[bindingList.length] = binding;
};
obj.unbind = function(eventName) {
if (eventName.indexOf('.') >= 0) {
this.registeredBindings[eventName] = null;
} else {
var event = eventName.split('.')[0];
for (var bindingKey in this.registeredBindings) {
if (bindingKey.split('.')[0] == event) {
this.registeredBindings[bindingKey] = null;
}
}
}
};
obj.triggerEvent = function(eventName, arg) {
for (var bindingKey in this.registeredBindings) {
if (bindingKey.split('.')[0] == eventName) {
var bindings = this.registeredBindings[bindingKey];
for (var i = 0; i < bindings.length; i++) {
if (arg == null) {
bindings[i].action();
} else {
bindings[i].action(arg);
}
}
}
}
};
};
_axUtils.loadCSS = function(url) {
$('head').append('<link text="text/css" href="' + url + '" rel="Stylesheet" />');
};
_axUtils.loadJS = function(url) {
$('head').append('<script text="text/javascript" language="JavaScript" src="' + url + '"></script>');
};
_axUtils.curry = function(fn) {
var curriedArgs = Array.prototype.slice.call(arguments, [1]);
return function() {
fn.apply(this, curriedArgs.concat(Array.prototype.slice.call(arguments)));
};
};
_axUtils.succeeded = function(result) {
return result && result.success;
};
_axUtils.createUniqueTag = function() {
return Math.random().toString().substring(2) +
Math.random().toString().substring(2) +
Math.random().toString().substring(2) +
Math.random().toString().substring(2);
};
_axUtils.formatDate = function(date) {
var months = [
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
var hours = date.getHours();
var amPm = (hours > 11 ? 'PM' : 'AM');
hours = hours % 12;
if (hours == '0') hours = '12';
var minutes = date.getMinutes() + '';
if (minutes.length == 1) {
minutes = '0' + minutes;
}
return [
months[date.getMonth()], ' ', date.getDate(), ' ', date.getFullYear(), ' ',
hours, ':', minutes, ' ', amPm].join('');
};
_axUtils.quickObject = function() {
var returnVal = { };
for (var i = 0; i < arguments.length; i += 2) {
returnVal[arguments[i]] = arguments[i + 1];
}
return returnVal;
};
var matrixBase = {
mul: function(val) {
if (val.x !== undefined) {
return _axUtils.Vector2D(
this.m11 * val.x + this.m12 * val.y + this.tx,
this.m21 * val.x + this.m22 * val.y + this.ty);
} else if (val.m11) {
return _axUtils.Matrix2D(
this.m11 * val.m11 + this.m12 * val.m21,
this.m11 * val.m12 + this.m12 * val.m22,
this.m21 * val.m11 + this.m22 * val.m21,
this.m21 * val.m12 + this.m22 * val.m22,
val.tx + this.tx * val.m11 + this.ty * val.m21,
val.ty + this.tx * val.m12 + this.ty * val.m22
);
} else if (Number(val)) {
var num = Number(val);
return _axUtils.Matrix2D(this.m11 * num, this.m12 * num,
this.m21 * num, this.m22 * num,
this.tx * num, this.ty * num);
} else return undefined;
},
rotate: function(angle) {
var angleRad = angle * Math.PI / 180;
var c = Math.cos(angleRad);
var s = Math.sin(angleRad);
return this.mul(_axUtils.Matrix2D(c, -s, s, c));
}
};
_axUtils.Matrix2D = function(m11, m12, m21, m22, tx, ty) {
return $.extend({
m11: m11 || 0,
m12: m12 || 0,
m21: m21 || 0,
m22: m22 || 0,
tx: tx || 0,
ty: ty || 0
}, matrixBase);
};
_axUtils.Vector2D = function(x, y) {
return { x: x || 0, y: y || 0 };
};
_axUtils.Matrix2D.identity = function() {
return _axUtils.Matrix2D(1, 0, 0, 1, 0, 0);
};
})();
|
JavaScript
|
//Check if IE
var bIE = false;
if ((index = navigator.userAgent.indexOf("MSIE")) >= 0) {
bIE = true;
}
$axure = function (query) {
return $axure.query(query);
};
// ******* AxQuery and Page metadata ******** //
(function () {
var _pageData;
var _pageNameToFileName = {};
var _fn = {};
$axure.fn = _fn;
$axure.fn.jQuery = function() {
var scriptIds = this.getIds();
var idSelectors = jQuery.map(scriptIds, function(id) { return '#' + id; });
var jQuerySelectorText = (scriptIds.length > 0) ? idSelectors.join(', ') : '';
return $(jQuerySelectorText);
};
$axure.fn.$ = $axure.fn.jQuery;
var _initializePageFragment = function(pageFragment) {
var _idToObject = { };
pageFragment.idToObject = _idToObject;
var objectArrayHelper = function(objects, parent) {
for (var i = 0; i < objects.length; i++) {
diagramObjectHelper(objects[i], parent);
}
};
var diagramObjectHelper = function(diagramObject, parent) {
$axure.initializeObject('diagramObject', diagramObject);
_idToObject[diagramObject.id] = diagramObject;
diagramObject.parent = parent;
diagramObject.owner = pageFragment;
diagramObject.scriptIds = [];
if (diagramObject.diagrams) { // dynamic panel
for (var i = 0; i < diagramObject.diagrams.length; i++) {
var diagram = diagramObject.diagrams[i];
objectArrayHelper(diagram.objects, diagram);
}
}
if (diagramObject.objects) objectArrayHelper(diagramObject.objects, diagramObject);
};
objectArrayHelper(pageFragment.diagram.objects, pageFragment.diagram);
};
var _initalizeStylesheet = function(stylesheet) {
var stylesById = { };
stylesheet.stylesById = stylesById;
var customStyles = stylesheet.customStyles;
for(var key in customStyles) {
var style = customStyles[key];
stylesById[style.id] = style;
}
};
var _initializePageData = function () {
if (!_pageData || !_pageData.page || !_pageData.page.diagram) return;
_initializePageFragment(_pageData.page);
for(var masterId in _pageData.masters) {
var master = _pageData.masters[masterId];
_initializePageFragment(master);
}
_initalizeStylesheet(_pageData.stylesheet);
var _scriptIdToObject = { };
_pageData.scriptIdToObject = _scriptIdToObject;
for (var i = 0; i < _pageData.objectPathToScriptId.length; i++) {
var path = _pageData.objectPathToScriptId[i].idPath;
var scriptId = _pageData.objectPathToScriptId[i].scriptId;
var currentPageFragment = _pageData.page;
for (var j = 0; j < path.length - 1; j++) {
var id = path[j];
var object = currentPageFragment.idToObject[id];
currentPageFragment = _pageData.masters[object.masterId];
}
var diagramObject = currentPageFragment.idToObject[path[path.length - 1]];
diagramObject.scriptIds[diagramObject.scriptIds.length] = scriptId;
_scriptIdToObject[scriptId] = diagramObject;
}
};
var _loadCurrentPage = function (pageData) {
$axure.pageData = _pageData = pageData;
_initializePageData();
};
$axure.loadCurrentPage = _loadCurrentPage;
var _query = function(queryText) {
var returnVal = {};
returnVal.query = queryText;
var axureFn = $axure.fn;
for (var key in axureFn) {
returnVal[key] = axureFn[key];
}
return returnVal;
};
$axure.query = _query;
$axure.fn.each = function(fn) {
// TODO: label queries
var filterAndApply = function(pageFragment, filter) {
for (var id in pageFragment.idToObject) {
var diagramObject = pageFragment.idToObject[id];
if (filter(diagramObject)) fn.apply(diagramObject, [diagramObject]);
}
};
var filter = this.query;
filterAndApply($axure.pageData.page, filter);
jQuery.each($axure.pageData.masters, function(index, value) {
filterAndApply(value, filter);
});
};
$axure.fn.getIds = function() {
var scriptIds = [];
var filter;
if (typeof(this.query) === 'function') {
filter = this.query;
} else {
// this is a text query
var searchStringMatch = /(label|type)=([^;]*)/ .exec(this.query);
if (!searchStringMatch) return $();
var searchType = searchStringMatch[1];
var searchTerm = searchStringMatch[2];
filter = function(diagramObject) {
if(searchType == 'label') {
if(typeof diagramObject.label != 'undefined' && diagramObject.label == searchTerm) {
return true;
}
} else if(searchType == 'type') {
if(typeof diagramObject.type != 'undefined' && diagramObject.type == searchTerm) {
return true;
}
}
return false;
};
}
var filterObjects = function(pageFragment, returnVal) {
for (var id in pageFragment.idToObject) {
var diagramObject = pageFragment.idToObject[id];
if (filter(diagramObject)) {
jQuery.merge(returnVal, diagramObject.scriptIds);
}
}
};
filterObjects($axure.pageData.page, scriptIds);
jQuery.each($axure.pageData.masters, function(index, value) {
filterObjects(value, scriptIds);
});
return scriptIds;
};
$axure.getPageUrl = function(pageName, matchNumber) {
//Note: Match number is 1 based....Undefined returns first filename
//Out of bounds match number returns undefined.
var pageFileNameArray = _pageNameToFileName[pageName];
if(pageFileNameArray){
if(matchNumber === undefined){
return pageFileNameArray[0];
} else if(matchNumber > 0 && matchNumber <= pageFileNameArray.length) {
return pageFileNameArray[matchNumber - 1];
}
}
return undefined;
};
$axure.navigate = function(url, includeVariables) {
var targetUrl = (includeVariables === false) ? url : $axure.globalVariableProvider.getLinkUrl(url);
window.location.href = targetUrl;
};
$axure.back = function() {
history.go(-1);
};
$axure.reload = function(includeVariables) {
var targetUrl = (includeVariables === false)
? window.location.href
: $axure.globalVariableProvider.getLinkUrl($axure.pageData.url);
window.location.href = targetUrl;
window.location.reload();
};
$axure.popup = function(url, name, options, includeVariables) {
var defaultOptions = {
toolbars: true,
scrollbars: true,
locationbar: true,
statusbar: true,
menubar: true,
directories: true,
resizable: true,
centerwindow: true,
left: -1,
top: -1,
height: -1,
width: -1
};
var selectedOptions = $.extend({}, defaultOptions, options);
var optionsList = [];
optionsList.push('toolbar=' + (selectedOptions.toolbars ? '1' : '0'));
optionsList.push('scrollbars=' + (selectedOptions.scrollbars ? '1' : '0'));
optionsList.push('location=' + (selectedOptions.locationbar ? '1' : '0'));
optionsList.push('status=' + (selectedOptions.statusbar ? '1' : '0'));
optionsList.push('menubar=' + (selectedOptions.menubar ? '1' : '0'));
optionsList.push('directories=' + (selectedOptions.directories ? '1' : '0'));
optionsList.push('resizable=' + (selectedOptions.resizable ? '1' : '0'));
if(selectedOptions.centerwindow == false){
if(selectedOptions.left > -1){
optionsList.push('left=' + selectedOptions.left);
}
if(selectedOptions.top > -1){
optionsList.push('top=' + selectedOptions.top);
}
}
var height = 0;
var width = 0;
if(selectedOptions.height > 0){
optionsList.push('height=' + selectedOptions.height);
height = selectedOptions.height;
}
if(selectedOptions.width > 0){
optionsList.push('width=' + selectedOptions.width);
width = selectedOptions.width;
}
var targetUrl = (includeVariables === false) ? url : $axure.globalVariableProvider.getLinkUrl(url);
NewWindow(targetUrl, name, optionsList.join(','), selectedOptions.centerwindow, width, height);
};
$axure.navigateParent = function(url, includeVariables){
var targetUrl = (includeVariables === false) ? url : $axure.globalVariableProvider.getLinkUrl(url);
window.parent.location.href = targetUrl;
};
$axure.setGlobalVariable = function(name, value) {
if(!name || !value){
return;
}
$axure.globalVariableProvider.setVariableValue(name, value);
};
$axure.getGlobalVariable = function(name) {
$axure.globalVariableProvider.getVariableValue(name);
};
$axure.getTypeFromScriptId = function(scriptId) {
var scriptIdInput = scriptId.charAt(0) == '#' ? scriptId.substring(1) : scriptId;
if(_pageData.scriptIdToObject[scriptIdInput]) {
return _pageData.scriptIdToObject[scriptIdInput].type;
}
};
//Following function and its helper create a Page name to Url (file name)
//table, for use with getPageUrl function.
var loadPageNameToFileNameTable = function() {
var rootNodes = sitemap.rootNodes;
for(var i = 0; i < rootNodes.length; i++) {
_loadPageNameToFileNameTableHelper(rootNodes[i]);
}
};
var _loadPageNameToFileNameTableHelper = function(node) {
var fileNameArray = _pageNameToFileName[node.pageName];
if(!fileNameArray) _pageNameToFileName[node.pageName] = fileNameArray = [];
fileNameArray[fileNameArray.length] = node.url;
if(node.children && node.children.length > 0) {
for(var i = 0; i < node.children.length; i++) {
var child = node.children[i];
_loadPageNameToFileNameTableHelper(child);
}
}
};
loadPageNameToFileNameTable();
})();
// ******* AxQuery Plugins ******** //
(function() {
var DYNAMIC_PANEL_TYPE = 'dynamicPanel';
var TEXT_BOX_TYPE = 'textBox';
var TEXT_AREA_TYPE = 'textArea';
var LIST_BOX_TYPE = 'listBox';
var COMBO_BOX_TYPE = 'comboBox';
var CHECK_BOX_TYPE = 'checkbox';
var RADIO_BUTTON_TYPE = 'radioButton';
var IMAGE_MAP_REGION_TYPE = 'imageMapRegion';
var IMAGE_BOX_TYPE = 'imageBox';
var BUTTON_SHAPE_TYPE = 'buttonShape';
var TREE_NODE_OBJECT_TYPE = 'treeNodeObject';
var TABLE_CELL_TYPE = 'tableCell';
var _addJQueryFunction = function(name) {
$axure.fn[name] = function() {
var val = $.fn[name].apply(this.jQuery(), arguments);
return arguments[0] ? this : val;
};
};
var _jQueryFunctionsToAdd = ['text', 'val', 'css'];
for (var i = 0; i < _jQueryFunctionsToAdd.length; i++) _addJQueryFunction(_jQueryFunctionsToAdd[i]);
var _addJQueryEventFunction = function(name) {
$axure.fn[name] = function() {
$.fn[name].apply(this.jQuery(), arguments);
return this;
};
};
var _jQueryEventFunctionsToAdd = ['click', 'hover', 'mousedown', 'mouseup'];
for (var i = 0; i < _jQueryEventFunctionsToAdd.length; i++) _addJQueryEventFunction(_jQueryEventFunctionsToAdd[i]);
$axure.fn.openLink = function(url, includeVariables){
this.jQuery().each(function () {
if(!($(this).is('iframe'))) {
return;
}
var objIframe = $(this).get(0);
var newSrcUrl = (includeVariables === false) ? url : $axure.globalVariableProvider.getLinkUrl(url);
var reload = FrameWindowNeedsReload(objIframe, newSrcUrl);
if(!reload) {
objIframe.src = newSrcUrl;
} else {
objIframe.src = "resources/reload.html#" + encodeURI(newSrcUrl);
}
});
return this;
};
$axure.fn.setPanelState = function(stateNumber, options) {
var easingIn = 'none';
var easingOut = 'none';
var directionIn = '';
var directionOut = '';
var durationIn = 500;
var durationOut = 500;
if(options && options.animateIn) {
easingIn = 'fade';
if(options.animateIn.easing) {
if(options.animateIn.easing == 'slideLeft'){
directionIn = 'left';
}else if(options.animateIn.easing == 'slideRight'){
directionIn = 'right';
}else if(options.animateIn.easing == 'slideUp'){
directionIn = 'up';
}else if(options.animateIn.easing == 'slideDown'){
directionIn = 'down';
}
if(directionIn != ''){
easingIn = 'swing';
}
}
if(options.animateIn.duration){
durationIn = options.animateIn.duration;
}
}
if(options && options.animateOut) {
easingOut = 'fade';
if(options.animateOut.easing) {
if(options.animateOut.easing == 'slideLeft') {
directionOut = 'left';
} else if(options.animateOut.easing == 'slideRight') {
directionOut = 'right';
} else if(options.animateOut.easing == 'slideUp') {
directionOut = 'up';
} else if(options.animateOut.easing == 'slideDown') {
directionOut = 'down';
}
if(directionOut != '') {
easingOut = 'swing';
}
}
if(options.animateOut.duration){
durationOut = options.animateOut.duration;
}
}
var ids = this.getIds();
for(var index in ids) {
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
var stateName = 'pd' + (parseInt(stateNumber) - 1) + ids[index];
SetPanelState(ids[index], stateName, easingIn, directionIn, durationIn, easingOut, directionOut, durationOut);
}
}
return this;
};
$axure.fn.show = function(duration) {
var easing = 'none';
if(duration && duration > 0) {
easing = 'fade';
}
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
SetPanelVisibility(ids[index], '', easing, duration);
}
}
return this;
};
$axure.fn.hide = function(duration) {
var easing = 'none';
if(duration && duration > 0) {
easing = 'fade';
}
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
SetPanelVisibility(ids[index], 'hidden', easing, duration);
}
}
return this;
};
$axure.fn.toggleVisibility = function(duration) {
var easing = 'none';
if(duration && duration > 0){
easing = 'fade';
}
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
SetPanelVisibility(ids[index], 'toggle', easing, duration);
}
}
return this;
};
$axure.fn.moveTo = function(x, y, options) {
var easing = 'none';
var duration = 500;
if(options && options.easing){
easing = options.easing;
if(options.duration){
duration = options.duration;
}
}
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
MoveWidgetTo(ids[index], x, y, easing, duration);
}
}
return this;
};
$axure.fn.moveBy = function(x, y, options) {
var easing = 'none';
var duration = 500;
if(options && options.easing){
easing = options.easing;
if(options.duration){
duration = options.duration;
}
}
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
MoveWidgetBy(ids[index], x, y, easing, duration);
}
}
return this;
};
$axure.fn.bringToFront = function() {
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
BringToFront(ids[index]);
}
}
return this;
};
$axure.fn.sendToBack = function() {
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == DYNAMIC_PANEL_TYPE) {
SendToBack(ids[index]);
}
}
return this;
};
$axure.fn.text = function() {
if (arguments[0] == undefined) {
var firstId = this.getIds()[0];
if(!firstId) {
return;
}
return GetWidgetText(firstId);
} else {
var ids = this.getIds();
for(var index in ids){
var currentItem = ids[index];
var widgetType = $axure.getTypeFromScriptId(currentItem);
if(widgetType == TEXT_BOX_TYPE || widgetType == TEXT_AREA_TYPE) { //For non rtf
SetWidgetFormText(currentItem, arguments[0]);
} else {
var idRtf = '#' + currentItem + '_rtf';
if ($(idRtf).length == 0){
idRtf = '#u' + (parseInt(currentItem.substring(1)) + 1) + '_rtf';
}
if ($(idRtf).length != 0){
//If the richtext div already has some text in it,
//preserve only the first style and get rid of the rest
//If no pre-existing p-span tags, don't do anything
if ($(idRtf).children('p').find('span').length > 0) {
$(idRtf).children('p:not(:first)').remove();
$(idRtf).children('p').find('span:not(:first)').remove();
//Replace new-lines with NEWLINE token, then html encode the string,
//finally replace NEWLINE token with linebreak
var textWithLineBreaks = arguments[0].replace(/\n/g, '--NEWLINE--');
var textHtml = $('<div/>').text(textWithLineBreaks).html();
$(idRtf).find('span').html(textHtml.replace(/--NEWLINE--/g, '<br/>'));
}
}
}
}
return this;
}
};
$axure.fn.setRichTextHtml = function() {
if (arguments[0] == undefined) {
//No getter function, so just return undefined
return;
} else {
var ids = this.getIds();
for(var index in ids){
var currentItem = ids[index];
var widgetType = $axure.getTypeFromScriptId(currentItem);
if(widgetType == TEXT_BOX_TYPE || widgetType == TEXT_AREA_TYPE) { //Do nothing for non rtf
continue;
} else {
var idRtf = '#' + currentItem + '_rtf';
if ($(idRtf).length == 0){
idRtf = '#u' + (parseInt(currentItem.substring(1)) + 1) + '_rtf';
}
if ($(idRtf).length != 0){
var rtfIdWithoutHashAndSuffix = idRtf.substring(1);
var indexOfSuffix = rtfIdWithoutHashAndSuffix.indexOf('_rtf');
rtfIdWithoutHashAndSuffix = rtfIdWithoutHashAndSuffix.substring(0, indexOfSuffix);
SetWidgetRichText(rtfIdWithoutHashAndSuffix, arguments[0]);
}
}
}
return this;
}
};
$axure.fn.value = function() {
if (arguments[0] == undefined) {
var firstId = this.getIds()[0];
if(!firstId) {
return;
}
var widgetType = $axure.getTypeFromScriptId(firstId);
if(widgetType == COMBO_BOX_TYPE || widgetType == LIST_BOX_TYPE) { //for select lists and drop lists
return $('#' + firstId + ' :selected').text();
} else if (widgetType == CHECK_BOX_TYPE || widgetType == RADIO_BUTTON_TYPE) { //for radio/checkboxes
return this.jQuery().first().is(':checked');
} else { //for text based form elements
return this.jQuery().first().val();
}
} else {
var ids = this.getIds();
for(var index in ids){
var widgetType = $axure.getTypeFromScriptId(ids[index]);
var idWithHash = '#' + ids[index];
if (widgetType == CHECK_BOX_TYPE || widgetType == RADIO_BUTTON_TYPE) { //for radio/checkboxes
if(arguments[0] == true){
$(idWithHash).attr('checked', true);
} else if (arguments[0] == false){
$(idWithHash).removeAttr('checked');
}
} else { //For select lists, drop lists, text based form elements
$(idWithHash).val(arguments[0]);
}
}
return this;
}
};
$axure.fn.checked = function() {
if (arguments[0] == undefined) {
return this.jQuery().attr('checked');
} else {
this.jQuery().attr('checked', arguments[0]);
return this;
}
};
$axure.fn.scroll = function(scrollOption) {
var easing = 'none';
var duration = 500;
if(scrollOption && scrollOption.easing){
easing = scrollOption.easing;
if(scrollOption.duration){
duration = scrollOption.duration;
}
}
var scrollX = true;
var scrollY = true;
if(scrollOption.direction == 'vertical') {
scrollX = false;
} else if(scrollOption.direction == 'horizontal') {
scrollY = false;
}
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == IMAGE_MAP_REGION_TYPE) {
ScrollToWidget(ids[index], scrollX, scrollY, easing, duration);
}
}
return this;
};
$axure.fn.enabled = function() {
if (arguments[0] == undefined) {
var firstId = this.getIds()[0];
if(!firstId){
return;
}
var widgetType = $axure.getTypeFromScriptId(firstId);
if(widgetType == IMAGE_BOX_TYPE || widgetType == BUTTON_SHAPE_TYPE) { //for img/btnshape/rectangle/placeholder
return !(gv_DisabledWidgets[firstId]);
} else { //for all else
return this.jQuery().first().not(':disabled').length > 0;
}
} else {
var ids = this.getIds();
for(var index in ids){
var widgetType = $axure.getTypeFromScriptId(ids[index]);
if(arguments[0] == true) {
if(widgetType == IMAGE_BOX_TYPE || widgetType == BUTTON_SHAPE_TYPE) { //for img/btnshape/rect/placeholder
EnableImageWidget(ids[index]);
} else { //for all else
$('#' + ids[index]).removeAttr('disabled');
}
} else if(arguments[0] == false) {
if(widgetType == IMAGE_BOX_TYPE || widgetType == BUTTON_SHAPE_TYPE) { //for img/btnshape/rect/placeholder
DisableImageWidget(ids[index]);
} else { //for all else
$('#' + ids[index]).attr('disabled', 'disabled');
}
}
}
return this;
}
};
$axure.fn.selected = function() {
if (arguments[0] == undefined) {
var firstId = this.getIds()[0];
if(!firstId) return;
var widgetType = $axure.getTypeFromScriptId(firstId);
var idToCheck = '';
if (widgetType == TREE_NODE_OBJECT_TYPE) {
var treeNodeButtonShapeId = '';
for(var scriptId in $axure.pageData.scriptIdToObject) {
var currObj = $axure.pageData.scriptIdToObject[scriptId];
if(currObj.type == BUTTON_SHAPE_TYPE && currObj.parent &&
currObj.parent.scriptIds && currObj.parent.scriptIds[0] == firstId) {
treeNodeButtonShapeId = scriptId;
break;
}
}
if(treeNodeButtonShapeId == '') return;
idToCheck = treeNodeButtonShapeId;
} else if (widgetType == IMAGE_BOX_TYPE || widgetType == BUTTON_SHAPE_TYPE || widgetType == TABLE_CELL_TYPE) {
idToCheck = firstId;
}
if(idToCheck != '') return IsWidgetSelected(idToCheck);
} else {
var ids = this.getIds();
for(var index in ids){
var widgetType = $axure.getTypeFromScriptId(ids[index]);
if (widgetType == TREE_NODE_OBJECT_TYPE) { //for tree node
var treeRootId = $('#' + ids[index]).parents('.treeroot').attr('id');
var treeNodeButtonShapeId = '';
for(var scriptId in $axure.pageData.scriptIdToObject) {
var currObj = $axure.pageData.scriptIdToObject[scriptId];
if(currObj.type == BUTTON_SHAPE_TYPE && currObj.parent &&
currObj.parent.scriptIds && currObj.parent.scriptIds[0] == ids[index]) {
treeNodeButtonShapeId = scriptId;
break;
}
}
if(treeNodeButtonShapeId == '') continue;
var treeNodeButtonShapeTextId = 'u' + (parseInt(treeNodeButtonShapeId.substring(1)) + 1);
if(arguments[0] == true) {
eval('SelectTreeNode(currentSelected' + treeRootId + ', true, \'' + treeNodeButtonShapeId + '\', \'' + treeNodeButtonShapeTextId + '\')');
} else if (arguments[0] == false) {
eval('DeSelectTreeNode(currentSelected' + treeRootId + ', true, \'' + treeNodeButtonShapeId + '\', \'' + treeNodeButtonShapeTextId + '\')');
}
} else if(widgetType == IMAGE_BOX_TYPE || widgetType == BUTTON_SHAPE_TYPE || widgetType == TABLE_CELL_TYPE) { //Image boxes, buttonshapes, tablecells/menuitem
if(arguments[0] == true) {
SetWidgetSelected(ids[index]);
} else if (arguments[0] == false) {
SetWidgetNotSelected(ids[index]);
}
}
}
return this;
}
};
$axure.fn.focus = function() {
this.jQuery().focus();
return this;
};
$axure.fn.expanded = function() {
if (arguments[0] == undefined) {
var firstId = this.getIds()[0];
if(!firstId) {
return;
}
if($axure.getTypeFromScriptId(firstId) !== TREE_NODE_OBJECT_TYPE) {
return;
}
var childContainerId = 'cnc' + firstId;
var container = document.getElementById(childContainerId);
if (!container) {
return false;
}
if(container.style.visibility != 'hidden') {
return true;
} else {
return false;
}
} else {
var ids = this.getIds();
for(var index in ids){
if($axure.getTypeFromScriptId(ids[index]) == TREE_NODE_OBJECT_TYPE) {
var treeNodeId = ids[index];
var childContainerId = 'cnc' + ids[index];
var plusMinusId = 'u' + (parseInt(ids[index].substring(1)) + 1);
if($('#' + childContainerId).length == 0) {
plusMinusId = '';
}
if(arguments[0] == true) {
ExpandNode(treeNodeId, childContainerId, plusMinusId);
} else if(arguments[0] == false) {
CollapseNode(treeNodeId, childContainerId, plusMinusId);
}
}
}
return this;
}
};
})();
// ******* Object Model ******** //
(function() {
var _implementations = { };
var _initializeObject = function(type, obj) {
$.extend(obj, _implementations[type]);
};
$axure.initializeObject = _initializeObject;
// ********** diagramObject ********* //
var _diagramObjectBase = {
getStateStyleOverrides: function(state) {
var styleObject = this;
while(styleObject.isContained) styleObject = styleObject.parent;
var stateStyle = { };
if(state == 'mouseDown') $.extend(stateStyle, GetFullStateStyle(styleObject.style, 'mouseOver'));
$.extend(stateStyle, GetFullStateStyle(styleObject.style, state));
return stateStyle;
}
};
_implementations['diagramObject'] = _diagramObjectBase;
})();
// ******* GLOBAL VARIABLE PROVIDER ******** //
(function () {
var _globalVariableValues = {};
var _globalVariableProvider = {};
$axure.globalVariableProvider = _globalVariableProvider;
var setVariableValue = function(variable, value, suppressBroadcast) {
var stringVal = value.toString();
// truncate values to prevent overflows.
if (stringVal.length > 300) {
stringVal = value.substring(0, 300);
}
_globalVariableValues[variable] = stringVal;
if(suppressBroadcast !== true){
var varData = {
globalVarName : variable,
globalVarValue : stringVal
};
$axure.messageCenter.postMessage('setGlobalVar', varData);
}
};
_globalVariableProvider.setVariableValue = setVariableValue;
var getVariableValue = function(variable) {
if(_globalVariableValues[variable] !== undefined) return _globalVariableValues[variable];
switch (variable) {
case "PageName": return $axure.pageData.page.name;
case "GenYear": return $axure.pageData.generationDate.getFullYear();
case "GenMonth": return $axure.pageData.generationDate.getMonth() + 1;
case "GenMonthName": return GetMonthString($axure.pageData.generationDate.getMonth());
case "GenDay": return $axure.pageData.generationDate.getDate();
case "GenDayOfWeek": return GetDayString($axure.pageData.generationDate.getDay());
case "GenTime": return $axure.pageData.generationDate.toLocaleTimeString();
case "GenHours": return $axure.pageData.generationDate.getHours();
case "GenMinutes": return $axure.pageData.generationDate.getMinutes();
case "GenSeconds": return $axure.pageData.generationDate.getSeconds();
case "Year": return new Date().getFullYear();
case "Month": return new Date().getMonth() + 1;
case "MonthName": return GetMonthString(new Date().getMonth());
case "Day": return new Date().getDate();
case "DayOfWeek": return GetDayString(new Date().getDay());
case "Time": return new Date().toLocaleTimeString();
case "Hours": return new Date().getHours();
case "Minutes": return new Date().getMinutes();
case "Seconds": return new Date().getSeconds();
case "DragX": return GetDragX();
case "DragY": return GetDragY();
case "TotalDragX": return GetTotalDragX();
case "TotalDragY": return GetTotalDragY();
case "DragTime": return GetDragTime();
default: return '';
}
};
_globalVariableProvider.getVariableValue = getVariableValue;
var load = function() {
var csum = false;
var query = (window.location.href.split("#")[1] || ''); //hash.substring(1); Firefox decodes this so & in variables breaks
if (query.length > 0) {
var vars = query.split("&");
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
var varName = pair[0];
var varValue = pair[1];
if (varName) {
if (varName == 'CSUM') {
csum = true;
} else setVariableValue(varName, decodeURIComponent(varValue), true);
}
}
if (!csum && query.length > 250) {
alert('Prototype Warning: The variable values were too long to pass to this page.\nIf you are using IE, using Firefox will support more data.');
}
}
};
var getLinkUrl = function(baseUrl) {
var toAdd = '';
var definedVariables = getDefinedVariables();
for (var i = 0; i < definedVariables.length; i++) {
var key = definedVariables[i];
var val = getVariableValue(key);
if (val != null && val.length > 0) {
if (toAdd.length > 0) toAdd += '&';
toAdd += key + '=' + encodeURIComponent(getVariableValue(key));
}
}
return toAdd.length > 0 ? baseUrl + '#' + toAdd + "&CSUM=1" : baseUrl;
};
_globalVariableProvider.getLinkUrl = getLinkUrl;
var getDefinedVariables = function() {
return $axure.pageData.variables;
};
_globalVariableProvider.getDefinedVariables = getDefinedVariables;
load();
})();
// ******* EVENT MANAGER ******** //
(function() {
var _objectIdToEventHandlers = { };
var _eventManager = { };
$axure.eventManager = _eventManager;
var _pageLoadFunctions = [];
// initilize state
_eventManager.mouseOverObjectId = '';
_eventManager.mouseOverLinkId = '';
_eventManager.mouseDownObjectId = '';
_eventManager.mouseDownLinkId = '';
var EVENT_NAMES = ['click', 'mouseover', 'mouseout', 'change', 'keyup', 'focus', 'blur' ];
for(var i = 0; i < EVENT_NAMES.length; i++) {
var eventName = EVENT_NAMES[i];
// we need the function here to circumvent closure modifying eventName
_eventManager[eventName] = (function(event) {
return function(scriptId, fn) {
var idQuery = $('#' + scriptId);
// we need specially track link events so we can enable and disable them along with
// their parent widgets
if (idQuery.is('a')) _attachCustomObjectEvent(scriptId, event, fn);
// see notes below
else if($axure.getTypeFromScriptId(scriptId) == 'treeNodeObject') _attachTreeNodeEvent(scriptId, event, fn);
else _attachDefaultObjectEvent(idQuery, scriptId, event, fn);
};
})(eventName);
}
var _attachTreeNodeEvent = function(id, eventName, fn) {
// we need to set the cursor here because we want to make sure that every tree node has the default
// cursor set and then it's overridden if it has a click
if (eventName == 'click') document.getElementById(id).style.cursor = 'pointer';
_attachCustomObjectEvent(id, eventName, fn);
};
var _attachDefaultObjectEvent = function(idQuery, scriptId, eventName, fn) {
idQuery[eventName](function () {
if (!IsWidgetDisabled(scriptId)) fn.apply(this, arguments);
});
};
var _attachCustomObjectEvent = function(id, eventName, fn) {
var handlers = _objectIdToEventHandlers[id];
if (!handlers) _objectIdToEventHandlers[id] = handlers = { };
var fnList = handlers[eventName];
if (!fnList) handlers[eventName] = fnList = [];
fnList[fnList.length] = fn;
};
var _fireObjectEvent = function(id, event, originalArgs) {
var element = document.getElementById(id);
var handlerList = _objectIdToEventHandlers[id] && _objectIdToEventHandlers[id][event];
if (handlerList) {
for (var i = 0; i < handlerList.length; i++) handlerList[i].apply(element, originalArgs);
}
};
var _initialize = function() {
// attach button shape alternate styles
$axure(function(obj) {
return obj.type != 'hyperlink' &&
obj.style &&
obj.style.stateStyles &&
obj.style.stateStyles.mouseOver;
}).hover(
function() {
var id = this.id;
if (id == _eventManager.mouseOverObjectId) return;
_eventManager.mouseOverObjectId = id;
SetWidgetHover(id, false);
$axure.annotationManager.updateLinkLocations(GetTextIdFromShape(id));
},
function() {
var id = this.id;
if (id == _eventManager.mouseOverObjectId) {
_eventManager.mouseOverLinkId = '';
_eventManager.mouseOverObjectId = '';
}
SetWidgetNotHover(id, false);
$axure.annotationManager.updateLinkLocations(GetTextIdFromShape(id));
});
// initialize disabled elements
$axure(function(obj) {
return (obj.type == 'buttonShape' || obj.type == 'imageBox') && obj.disabled;
}).enabled(false);
// attach hyperlink mouse events
$axure(function(obj) {
return obj.type != 'hyperlink' &&
obj.style &&
obj.style.stateStyles &&
obj.style.stateStyles.mouseDown;
})
.mousedown(function() {
$axure.annotationManager.updateLinkLocations(GetTextIdFromShape(this.id));
_eventManager.mouseDownObjectId = this.id;
SetWidgetMouseDown(this.id, false); })
.mouseup(function() {
var mouseDownId = _eventManager.mouseDownObjectId;
_eventManager.mouseDownObjectId = '';
SetWidgetNotMouseDown(this.id, false);
$axure.annotationManager.updateLinkLocations(GetTextIdFromShape(this.id));
// we need to make images click, because swapping out the images prevents the click
var diagramObject = $axure.pageData.scriptIdToObject[mouseDownId];
if (mouseDownId == this.id && diagramObject.type == 'imageBox'
&& diagramObject.style.stateStyles.mouseDown.image
&& diagramObject.style.stateStyles.mouseDown.image.url) {
$('#' + mouseDownId).click();
}
});
// attach handlers for button shape and tree node mouse over styles
$axure(function(obj) {
return obj.type == 'buttonShape' &&
obj.parent.type == 'treeNodeObject' &&
obj.parent.style &&
obj.parent.style.stateStyles &&
obj.parent.style.stateStyles.mouseOver;
}).hover(
function() {
SetWidgetHover(this.id, false);
},
function() {
SetWidgetNotHover(this.id, false);
});
// handle treeNodeObject events and prevent them from bubbling up. this is necessary because otherwise
// both a sub menu and it's parent would get a click
$axure(function(obj) {
return obj.type == 'treeNodeObject';
}).click(function() {
_fireObjectEvent(this.id, 'click', arguments);
return false;
}).$().each(function() {
if(!this.style.cursor) {
this.style.cursor = 'default';
}
});
// attach link alternate styles
$('a[id^="u"]').hover(
function() {
var id = this.id;
var mouseOverObjectId = _eventManager.mouseOverObjectId;
if (mouseOverObjectId && IsWidgetDisabled(mouseOverObjectId)) return;
_eventManager.mouseOverLinkId = id;
SetLinkHover(id);
_fireObjectEvent(id, 'mouseover', arguments);
$axure.annotationManager.updateLinkLocations(GetTextIdFromLink(id));
},
function() {
var id = this.id;
var mouseOverObjectId = _eventManager.mouseOverObjectId;
if (id == _eventManager.mouseOverLinkId) _eventManager.mouseOverLinkId = '';
if (mouseOverObjectId && IsWidgetDisabled(mouseOverObjectId)) return;
SetLinkNotHover(id);
_fireObjectEvent(id, 'mouseout', arguments);
$axure.annotationManager.updateLinkLocations(GetTextIdFromLink(id));
})
.mousedown(function() {
var id = this.id;
var mouseOverObjectId = _eventManager.mouseOverObjectId;
if (IsWidgetDisabled(mouseOverObjectId)) return undefined;
if (mouseOverObjectId) SetWidgetMouseDown(mouseOverObjectId);
SetLinkMouseDown(id);
$axure.annotationManager.updateLinkLocations(GetTextIdFromLink(id));
return false;
})
.mouseup(function() {
var id = this.id;
var mouseOverObjectId = _eventManager.mouseOverObjectId;
if (mouseOverObjectId && IsWidgetDisabled(mouseOverObjectId)) return;
if (mouseOverObjectId) SetWidgetNotMouseDown(mouseOverObjectId);
SetLinkNotMouseDown(id);
$axure.annotationManager.updateLinkLocations(GetTextIdFromLink(id));
}).click(function () {
var id = this.id;
var mouseOverObjectId = _eventManager.mouseOverObjectId;
if (mouseOverObjectId && IsWidgetDisabled(mouseOverObjectId)) return;
_fireObjectEvent(id, 'click', arguments);
return false;
});
// finally, process the pageload
_pageLoad();
};
_eventManager.initialize = _initialize;
var _pageLoad = function() {
if (arguments.length == 0) {
$.each(_pageLoadFunctions, function(index, fn) {
fn();
});
} else {
_pageLoadFunctions[_pageLoadFunctions.length] = arguments[0];
}
};
_eventManager.pageLoad = _pageLoad;
})();
// ******* Annotation MANAGER ******** //
(function() {
var NOTE_SIZE = 10;
var _annotationManager = { };
$axure.annotationManager = _annotationManager;
var _updateLinkLocations = function(textId) {
var diagramObject = $axure.pageData.scriptIdToObject[textId];
var rotation = (diagramObject && diagramObject.rotation);
var shapeId = GetShapeIdFromText(textId);
// we have to do this because webkit reports the post-transform position but when you set
// positions it's pre-transform
if (WEBKIT && rotation) {
$('#' + shapeId).css('-webkit-transform', 'scale(1)');
$('#' + textId).css('-webkit-transform', 'scale(1)');
}
$('#' + textId).find('span[id$="ann"]').each(function (index, value) {
var id = value.id.replace('ann', '');
var annPos = $(value).position();
var left = annPos.left - NOTE_SIZE;
var top = annPos.top;
$('#' + id + 'Note').css('left', left).css('top', top);
});
// undo the transform reset
if (WEBKIT && rotation) {
$('#' + shapeId).css('-webkit-transform', '');
$('#' + textId).css('-webkit-transform', '');
}
};
_annotationManager.updateLinkLocations = _updateLinkLocations;
$(document).ready(function() {
$axure(function(dObj) { return dObj.annotation; }).each(function(dObj) {
if (dObj.type == 'hyperlink') {
var scriptIds = dObj.scriptIds;
for (var i = 0; i < scriptIds.length; i++) {
var id = scriptIds[i];
var textId = GetTextIdFromLink(id);
var idQuery = $('#' + id);
idQuery.after("<span id='" + id + "ann'>​</span>");
if ($axure.pageData.options.useLabels) {
var label = $('#' + id).attr("data-label");
if (!label || label == "") label = "?";
$('#' + textId).append("<div id='" + id + "Note' class='annnotelabel' >" + label + "</div>");
} else {
$('#' + textId).append("<div id='" + id + "Note' class='annnoteimage' ></div>");
}
$('#' + id + 'Note').click(function(e) { ToggleWorkflow(e, id, 300, 150, false); return false; });
_updateLinkLocations(textId);
}
} else {
var scriptIds = dObj.scriptIds;
for (var i = 0; i < scriptIds.length; i++) {
var id = scriptIds[i];
if ($axure.pageData.options.useLabels) {
var label = $('#' + id).attr("data-label");
if (!label || label == "") label = "?";
$('#' + id + "ann").append("<div id='" + id + "Note' class='annnotelabel' style='left:0;top:0;'>" + label + "</div>");
} else {
$('#' + id + "ann").append("<div id='" + id + "Note' class='annnoteimage' style='left:0;top:0;'></div>");
}
$('#' + id + 'Note').click(function(e) { ToggleWorkflow(e, id, 300, 150, false); return false; });
}
}
});
});
})();
// ******* Internet Explorer MANAGER ******** //
// this is to handle all the stupid IE Stuff
(function() {
if (!bIE) return;
var _applyIEFixedPosition = function() {
$axure(function(diagramObject) { return diagramObject.fixedVertical; }).$()
.appendTo($('body'))
.css('position', 'absolute').css('margin-left', 0 + 'px').css('margin-top', 0 + 'px');
var handleScroll = function() {
$axure(function(diagramObject) { return diagramObject.fixedVertical; }).each(function(diagramObject) {
$.each(diagramObject.scriptIds, function(index, id) {
var win = $(window);
var windowWidth = win.width();
var windowHeight = win.height();
var windowScrollLeft = win.scrollLeft();
var windowScrollTop = win.scrollTop();
var newLeft = 0;
var newTop = 0;
var elementQuery = $('#' + id);
var width = elementQuery.width();
var height = elementQuery.height();
var horz = diagramObject.fixedHorizontal;
if (horz == 'left') {
newLeft = windowScrollLeft + diagramObject.fixedMarginHorizontal;
} else if (horz == 'center') {
newLeft = windowScrollLeft + ((windowWidth - width) / 2) + diagramObject.fixedMarginHorizontal;
} else if (horz == 'right') {
newLeft = windowScrollLeft + windowWidth - width - diagramObject.fixedMarginHorizontal;
}
var vert = diagramObject.fixedVertical;
if (vert == 'top') {
newTop = windowScrollTop + diagramObject.fixedMarginVertical;
} else if (vert == 'middle') {
newTop = windowScrollTop + ((windowHeight - height) / 2) + diagramObject.fixedMarginVertical;
} else if (vert == 'bottom') {
newTop = windowScrollTop + windowHeight - height - diagramObject.fixedMarginVertical;
}
elementQuery.css('top', newTop + 'px').css('left', newLeft + 'px');
});
});
};
$(window).scroll(handleScroll).resize(handleScroll);
handleScroll();
};
var getIEOffset = function(transform, rect) {
var translatedVertexes = [
_axUtils.Vector2D(0, 0), // we dont translate, so the orgin is fixed
transform.mul(_axUtils.Vector2D(0, rect.height)),
transform.mul(_axUtils.Vector2D(rect.width, 0)),
transform.mul(_axUtils.Vector2D(rect.width, rect.height))];
var minX = 0, minY = 0, maxX = 0, maxY = 0;
$.each(translatedVertexes, function(index, p) {
minX = Math.min(minX, p.x);
minY = Math.min(minY, p.y);
maxX = Math.max(maxX, p.x);
maxY = Math.max(maxY, p.y);
});
return _axUtils.Vector2D(
(maxX - minX - rect.width) / 2,
(maxY - minY - rect.height) / 2);
};
var _filterFromTransform = function(transform) {
return "progid:DXImageTransform.Microsoft.Matrix(M11=" + transform.m11 +
", M12=" + transform.m12 + ", M21=" + transform.m21 +
", M22=" + transform.m22 + ", SizingMethod='auto expand')";
};
var _applyIERotation = function() {
$axure(function(diagramObject) {
return diagramObject.rotation && Math.abs(diagramObject.rotation) > 0.1
&& !diagramObject.isContained;
}).each(function(diagramObject) {
var rotation = diagramObject.rotation;
var transform = _axUtils.Matrix2D.identity().rotate(rotation);
$.each(diagramObject.scriptIds, function(index, id) {
var filter = _filterFromTransform(transform);
var elementQuery = $('#' + id);
var width = elementQuery.width();
var height = elementQuery.height();
elementQuery.css('filter', filter)
.width(width + 1)
.height(height + 1);
var ieOffset = getIEOffset(transform, { width: width, height: height });
elementQuery.css("margin-left", -ieOffset.x).css("margin-top", -ieOffset.y);
var textId = $.grep(
$('#' + id).children().map(function(i, obj) { return obj.id; }), // all the child ids
function(item) { return item.indexOf(id) < 0; })[0]; // that are not similar to the parent
var textRotation = -rotation;
var textObject = $axure.pageData.scriptIdToObject[textId];
if (textObject && textObject.rotation) {
textRotation = textObject.rotation - rotation;
}
var textTransform = _axUtils.Matrix2D.identity().rotate(textRotation);
var textQuery = $('#' + textId);
var textWidth = textQuery.width();
var textHeight = textQuery.height();
var textIEOffset = getIEOffset(textTransform, { width: textWidth, height: textHeight });
textQuery.css('filter',
_filterFromTransform(textTransform));
textQuery.css("margin-left", -textIEOffset.x).css("margin-top", -textIEOffset.y);
});
});
};
$(document).ready(function() {
_applyIEFixedPosition();
_applyIERotation();
});
})();
$(document).ready(function () {
// this is because the page id is not formatted as a guid
var pageId = $axure.pageData.page.packageId;
var pageData = {
id: pageId,
pageName: $axure.pageData.page.name,
location: window.location.toString(),
notes: $axure.pageData.page.notes
};
// only trigger the page.data setting if the window is on the mainframe
if (window.name == 'mainFrame' ||
(!CHROME_5_LOCAL && window.parent.$ && window.parent.$('#mainFrame').length > 0)) {
$axure.messageCenter.setState('page.data', pageData);
}
$('input[type=text], input[type=password], textarea').focus(function () {
window.lastFocusedControl = this;
});
$('iframe').each(function () {
var origSrc = $(this).attr('basesrc');
if (origSrc) {
var newSrcUrl = origSrc.toLowerCase().indexOf('http://') == -1 ? $axure.globalVariableProvider.getLinkUrl(origSrc) : origSrc;
$(this).attr('src', newSrcUrl);
}
});
$axure.messageCenter.addMessageListener(function (message, data) {
if (message == 'setGlobalVar') {
$axure.globalVariableProvider.setVariableValue(data.globalVarName, data.globalVarValue, true);
}
});
var lastFocusedClickable;
var shouldOutline = true;
$('div[tabIndex=0]').mousedown(function () {
shouldOutline = false;
});
$(document).mouseup(function () {
shouldOutline = true;
});
$('div[tabIndex=0],a').focus(function () {
if (shouldOutline) {
$(this).css('outline', '');
} else {
$(this).css('outline', 'none');
}
lastFocusedClickable = this;
});
$('div[tabIndex=0],a').blur(function () {
lastFocusedClickable = null;
});
$(document).bind('keyup', function (e) {
if (e.keyCode == '13' || e.keyCode == '32') {
if (lastFocusedClickable) $(lastFocusedClickable).click();
};
});
$('[axSubmit]').keyup(function (event) {
if (event.keyCode == '13') {
var submitButton = $(this).attr('axSubmit')
$('#' + submitButton).click();
};
}).keydown(function (event) {
if (event.keyCode == '13') {
event.preventDefault();
}
});
if ($axure.pageData.options.hideAddress) {
$(window).load(function () {
setTimeout(function () {
window.scrollTo(0, 0.9);
}, 0);
});
}
if ($axure.pageData.options.preventScroll) {
$(document).bind('touchmove', function (event) {
//if nothing in the targets parent chain is scrollable
var $target = $(event.target);
var inScrollable = false;
var current = $target;
while (!current.is('body')) {
var elementId = current.attr('id');
var diagramObject = elementId && $axure.pageData.scriptIdToObject[elementId];
if (diagramObject && diagramObject.type == 'dynamicPanel' && diagramObject.scrollbars != 'none') {
inScrollable = true;
break;
}
current = current.parent();
}
if (!inScrollable) {
event.preventDefault();
}
});
$axure(function (diagramObject) {
return diagramObject.type == 'dynamicPanel' && diagramObject.scrollbars != 'none';
}).$().children().bind('touchstart', function (event) {
var target = this;
var top = target.scrollTop;
if (top <= 0) target.scrollTop = 1;
if (top + target.offsetHeight >= target.scrollHeight)
target.scrollTop = target.scrollHeight - target.offsetHeight - 1;
});
}
BringFixedToFront();
$axure.eventManager.initialize();
});
function InitializeSubmenu(submenudivid, tablecellid) {
var $submenudiv = $(document.getElementById(submenudivid));
// mouseenter and leave for parent table cell
$(document.getElementById(tablecellid)).mouseenter(function (e) {
// hide sibling submenus
$submenudiv.siblings('[id^="sm"]').css('visibility', 'hidden');
// show current submenu
$submenudiv.css('visibility', '');
BringToFront(submenudivid);
}).mouseleave(function (e) {
var submenucontainer = $submenudiv.children('[id$="container"]');
var offset = submenucontainer.offset();
var subcontwidth = submenucontainer.width();
var subcontheight = submenucontainer.height();
//If mouse is not within the submenu (added 3 pixel margin to top and left calculations), then close the submenu...
if (e.pageX + 3 < offset.left || e.pageX > offset.left + subcontwidth || e.pageY + 3 < offset.top || e.pageY > offset.top + subcontheight) {
$submenudiv.find('[id^="sm"]').andSelf().css('visibility', 'hidden');
if(!IsWidgetSelected(tablecellid)) SetWidgetOriginal(tablecellid, false);
}
});
// mouseleave for submenu
$submenudiv.mouseleave(function (e) {
//close this menu and all menus below it
$(this).find('[id^="sm"]').andSelf().css('visibility', 'hidden');
if(!IsWidgetSelected(tablecellid)) SetWidgetOriginal(tablecellid, false);
});
}
function getAbsoluteNodeTop(node)
{
var currentNode=node;
var top=0;
while(currentNode.tagName!="BODY"){
top+=currentNode.offsetTop;
currentNode=currentNode.offsetParent;
}
return top;
}
function IsNodeVisible(nodeId) {
var current = document.getElementById(nodeId);
var parent = current.parentNode;
//move all the parent's children that are below the node and their annotations
while (current.className != "treeroot") {
if (parent.style.visibility == 'hidden') return false;
current = parent;
parent = parent.parentNode;
}
return true;
}
function ExpandNode(nodeId, childContainerId, plusMinusId) {
var container = document.getElementById(childContainerId);
if (!container || container.style.visibility != 'hidden') {
return;
}
container.style.visibility = '';
if (plusMinusId != '') {
SetWidgetSelected(plusMinusId);
}
var delta = GetExpandCollapseDelta(nodeId, childContainerId);
var isVisible = IsNodeVisible(nodeId);
var current = document.getElementById(nodeId);
var parent = current.parentNode;
//move all the parent's children that are below the node and their annotations
while (current.className != "treeroot") {
var after = false;
var i = 0;
for (i=0;i<parent.childNodes.length;i++) {
var child = parent.childNodes[i];
if (after && child.id && child.className.indexOf("treenode") > -1) {
var id = child.id.substring(2);
child.style.top = Number(child.style.top.replace("px","")) + delta;
var tn = document.getElementById(id);
if (tn) tn.style.top = Number(tn.style.top.replace("px","")) + delta;
var ann = document.getElementById(id + "ann");
if (ann) ann.style.top = Number(ann.style.top.replace("px","")) + delta;
}
if (child == current) after = true;
}
current = parent;
parent = parent.parentNode;
if (!isVisible && parent.style.visibility != 'hidden') break;
}
}
function CollapseNode(nodeId, childContainerId, plusMinusId) {
var container = document.getElementById(childContainerId);
if (!container || container.style.visibility == 'hidden') {
return;
}
container.style.visibility = 'hidden';
if (plusMinusId != '') {
SetWidgetNotSelected(plusMinusId);
}
var delta = GetExpandCollapseDelta(nodeId, childContainerId);
var isVisible = IsNodeVisible(nodeId);
var current = document.getElementById(nodeId);
var parent = current.parentNode;
//move all the parent's children that are below the node and their annotations
while (current.className != "treeroot") {
var after = false;
var i = 0;
for (i=0;i<parent.childNodes.length;i++) {
var child = parent.childNodes[i];
if (after && child.id && child.className.indexOf("treenode") > -1) {
var id = child.id.substring(2);
child.style.top = Number(child.style.top.replace("px","")) - delta;
var tn = document.getElementById(id);
if (tn) tn.style.top = Number(tn.style.top.replace("px","")) - delta;
var ann = document.getElementById(id + "ann");
if (ann) ann.style.top = Number(ann.style.top.replace("px","")) - delta;
}
if (child == current) after = true;
}
current = parent;
parent = current.parentNode;
if (!isVisible && parent.style.visibility != 'hidden') break;
}
}
function GetExpandCollapseDelta(nodeId, childContainerId) {
//find the distance by diffing the bottom of the node to the bottom of the last child
var node = document.getElementById(nodeId);
var lastNode = GetLastVisibleChild(childContainerId);
var nodetop = getAbsoluteNodeTop(node);
var nodebottom = nodetop + Number(node.style.height.replace("px",""));
var lastNodeTop = getAbsoluteNodeTop(lastNode);
var lastNodeBottom = lastNodeTop + Number(lastNode.style.height.replace("px",""));
var delta = lastNodeBottom - nodebottom;
return delta;
}
function GetLastVisibleChild(containerId) {
var container = document.getElementById(containerId);
//get the last node that's not an annotation
var lastNode = container.lastChild;
while (!lastNode.id || lastNode.className.indexOf("treenode") < 0) {
lastNode = lastNode.previousSibling;
}
var lastNodeId = lastNode.id;
//see if it has a visible container for child nodes
var subContainer = document.getElementById('cnc' + lastNodeId);
if (subContainer && subContainer.style.visibility != 'hidden') {
return GetLastVisibleChild(subContainer.id);
}
return lastNode;
}
var initializedTreeNodes = new Object();
function InitializeTreeNode(nodeId, plusminusid, childContainerId, selectText) {
if (initializedTreeNodes[nodeId]) return;
$('#' + plusminusid).click(function() {
var container = document.getElementById(childContainerId);
if (container.style.visibility != 'hidden')
CollapseNode(nodeId, childContainerId, plusminusid);
else
ExpandNode(nodeId, childContainerId, plusminusid);
eval(selectText);
return false;
}).css('cursor', 'default');
initializedTreeNodes[nodeId] = true;
}
function SelectTreeNode(currentSelected, applySelected, buttonShapeId, buttonShapeTextId) {
if (currentSelected.buttonShapeId && currentSelected.buttonShapeId != '') {
SetWidgetNotSelected(currentSelected.buttonShapeId);
}
if (applySelected) {
SetWidgetSelected(buttonShapeId);
}
currentSelected.buttonShapeId = buttonShapeId;
currentSelected.buttonShapeTextId = buttonShapeTextId;
}
function DeSelectTreeNode(currentSelected, applySelected, buttonShapeId, buttonShapeTextId) {
if (currentSelected.buttonShapeId && currentSelected.buttonShapeId == buttonShapeId) {
SetWidgetNotSelected(currentSelected.buttonShapeId);
currentSelected.buttonShapeId = '';
currentSelected.buttonShapeTextId = '';
}
}
function ToggleSelectTreeNode(currentSelected, applySelected, buttonShapeId, buttonShapeTextId) {
if (currentSelected.buttonShapeId && currentSelected.buttonShapeId == buttonShapeId) {
DeSelectTreeNode(currentSelected, applySelected, buttonShapeId, buttonShapeTextId);
} else {
SelectTreeNode(currentSelected, applySelected, buttonShapeId, buttonShapeTextId);
}
}
/* extend canvas */
var gv_hasCanvas = false;
(function(){
var _canvas = document.createElement('canvas'), proto, abbrev;
if (gv_hasCanvas = !!(_canvas.getContext && _canvas.getContext('2d')) && typeof(CanvasGradient) !== 'undefined') {
function chain(func) {
return function() {
return func.apply(this, arguments) || this;
};
}
with (proto = CanvasRenderingContext2D.prototype) for (var func in abbrev = {
a: arc,
b: beginPath,
n: clearRect,
c: clip,
p: closePath,
g: createLinearGradient,
f: fill,
j: fillRect,
z: function(s){ this.fillStyle = s;},
l: lineTo,
w: function(w){ this.lineWidth = w;},
m: moveTo,
q: quadraticCurveTo,
h: rect,
r: restore,
o: rotate,
s: save,
x: scale,
y: function(s){this.strokeStyle=s},
u: setTransform,
k: stroke,
i: strokeRect,
t: translate
}) proto[func] = chain(abbrev[func]);
CanvasGradient.prototype.a = chain(CanvasGradient.prototype.addColorStop);
}
})();
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 424; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u15');
SetWidgetSelected('u23');
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'top';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u176'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u356'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u407'] = 'top';gv_vAlignTable['u28'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u384'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u396'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u354'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u336'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u394'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';gv_vAlignTable['u117'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'top';gv_vAlignTable['u300'] = 'top';gv_vAlignTable['u116'] = 'center';gv_vAlignTable['u392'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u376'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u390'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u360'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u344'] = 'top';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u308'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u334'] = 'top';
|
JavaScript
|
for(var i = 0; i < 378; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u321'] = 'top';gv_vAlignTable['u150'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u327'] = 'top';gv_vAlignTable['u340'] = 'center';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u346'] = 'center';gv_vAlignTable['u268'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'center';gv_vAlignTable['u356'] = 'center';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'center';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'center';gv_vAlignTable['u317'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u316'] = 'center';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u369'] = 'top';gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';gv_vAlignTable['u325'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u274'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u354'] = 'center';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u336'] = 'center';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'center';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u319'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u300'] = 'top';gv_vAlignTable['u186'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'center';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'center';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u338'] = 'center';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u232'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'center';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u360'] = 'center';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u323'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u344'] = 'center';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u334'] = 'center';
|
JavaScript
|
for(var i = 0; i < 328; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u73');
SetWidgetSelected('u11');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'center';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u269'] = 'top';gv_vAlignTable['u150'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'center';gv_vAlignTable['u284'] = 'center';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'center';gv_vAlignTable['u282'] = 'center';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u263'] = 'top';gv_vAlignTable['u278'] = 'center';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'center';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u267'] = 'top';gv_vAlignTable['u302'] = 'center';gv_vAlignTable['u280'] = 'center';gv_vAlignTable['u294'] = 'center';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u315'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u265'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u292'] = 'center';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u276'] = 'center';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u261'] = 'top';gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u224'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u311'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'center';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u232'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u312'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u300'] = 'center';gv_vAlignTable['u186'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u115'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u259'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'center';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'center';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'center';gv_vAlignTable['u324'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'center';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'center';gv_vAlignTable['u320'] = 'top';
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 116; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u15');
SetWidgetSelected('u35');
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u95'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u55'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u38'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u84'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u8'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u34'] = 'top';HookHover('u111', false);
gv_vAlignTable['u64'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u49'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u51'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u66'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u22'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
HookHover('u109', false);
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u101'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u14'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u103'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u26'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u82'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u72'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u74'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u91'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
|
JavaScript
|
for(var i = 0; i < 115; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u46');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3自定义列取数设置.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单生成.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u95'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u55'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u38'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u84'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u8'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
gv_vAlignTable['u34'] = 'top';HookHover('u111', false);
gv_vAlignTable['u64'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u49'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u51'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u66'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u22'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
HookHover('u109', false);
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u101'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u14'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u103'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u26'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u82'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u72'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u74'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u91'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
|
JavaScript
|
for(var i = 0; i < 56; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
gv_vAlignTable['u31'] = 'center';document.getElementById('u36_img').tabIndex = 0;
HookHover('u36', false);
u36.style.cursor = 'pointer';
$axure.eventManager.click('u36', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
NewWindow("resources/Other.html#other=" + encodeURI("打开人事系统界面,选择基本员工档案功能"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
SetWidgetSelected('u36');
SetWidgetNotSelected('u34');
SetWidgetNotSelected('u38');
SetWidgetNotSelected('u40');
SetWidgetNotSelected('u42');
}
});
gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u17'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u29'] = 'top';gv_vAlignTable['u8'] = 'center';gv_vAlignTable['u21'] = 'top';gv_vAlignTable['u15'] = 'top';gv_vAlignTable['u13'] = 'center';document.getElementById('u38_img').tabIndex = 0;
HookHover('u38', false);
u38.style.cursor = 'pointer';
$axure.eventManager.click('u38', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u38');
SetWidgetNotSelected('u36');
SetWidgetNotSelected('u34');
SetWidgetNotSelected('u40');
SetWidgetNotSelected('u42');
}
});
gv_vAlignTable['u43'] = 'top';document.getElementById('u40_img').tabIndex = 0;
HookHover('u40', false);
u40.style.cursor = 'pointer';
$axure.eventManager.click('u40', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u40');
SetWidgetNotSelected('u34');
SetWidgetNotSelected('u36');
SetWidgetNotSelected('u38');
SetWidgetNotSelected('u42');
}
});
gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u37'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u41'] = 'top';gv_vAlignTable['u3'] = 'center';HookHover('u12', false);
gv_vAlignTable['u39'] = 'top';gv_vAlignTable['u35'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u42');
SetWidgetNotSelected('u40');
SetWidgetNotSelected('u38');
SetWidgetNotSelected('u36');
SetWidgetNotSelected('u34');
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u18'] = 'top';gv_vAlignTable['u19'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u20'] = 'top';gv_vAlignTable['u5'] = 'center';gv_vAlignTable['u48'] = 'top';gv_vAlignTable['u22'] = 'top';HookHover('u49', false);
HookHover('u47', false);
gv_vAlignTable['u50'] = 'top';HookHover('u51', false);
gv_vAlignTable['u52'] = 'top';document.getElementById('u34_img').tabIndex = 0;
HookHover('u34', false);
u34.style.cursor = 'pointer';
$axure.eventManager.click('u34', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
NewWindow("resources/Other.html#other=" + encodeURI("打开基本页面,"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
SetWidgetSelected('u34');
SetWidgetNotSelected('u42');
SetWidgetNotSelected('u40');
SetWidgetNotSelected('u38');
SetWidgetNotSelected('u36');
}
});
|
JavaScript
|
for(var i = 0; i < 357; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u15');
SetWidgetSelected('u33');
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'center';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u287'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u340'] = 'center';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u318'] = 'center';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'center';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u326'] = 'center';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'center';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'center';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u297'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'center';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u343'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u295'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u316'] = 'center';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u293'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'center';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u322'] = 'center';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u345'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u328'] = 'center';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u353'] = 'top';gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u336'] = 'center';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'center';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u232'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u312'] = 'center';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u28'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'center';gv_vAlignTable['u186'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u291'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'center';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u124'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'center';gv_vAlignTable['u324'] = 'center';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u289'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'center';gv_vAlignTable['u334'] = 'center';
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 117; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u87');
SetWidgetSelected('u11');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_12员工全年考勤管理.html'), "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3自定义列取数设置.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单生成.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u55'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u76'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u38'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo326(e);
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u53'] = 'top';document.getElementById('u87_img').tabIndex = 0;
HookHover('u87', false);
u87.style.cursor = 'pointer';
$axure.eventManager.click('u87', function(e) {
if (true) {
rdo4312(e);
}
});
gv_vAlignTable['u1'] = 'center';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u8'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u89', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u34'] = 'top';HookHover('u111', false);
gv_vAlignTable['u64'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo325(e);
}
});
document.getElementById('u106_img').tabIndex = 0;
HookHover('u106', false);
u106.style.cursor = 'pointer';
$axure.eventManager.click('u106', function(e) {
if (true) {
rdo328(e);
}
});
document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u49'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
HookHover('u113', false);
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u36'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u66'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo321(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u22'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo324(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u43'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u68'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u84'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u101'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u14'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u114'] = 'top';gv_vAlignTable['u103'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u26'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u112'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u107'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u88'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u74'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u108', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u47'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
|
JavaScript
|
for(var i = 0; i < 232; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetPanelState('u37', 'pd0u37','none','',500,'none','',500);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u21'] = 'top';document.getElementById('u32_img').tabIndex = 0;
HookHover('u32', false);
u32.style.cursor = 'pointer';
$axure.eventManager.click('u32', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u32');
SetWidgetNotSelected('u26');
SetWidgetNotSelected('u28');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u34');
}
});
gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u207'] = 'top';gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u7'] = 'top';HookHover('u2', false);
HookHover('u4', false);
gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u17'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u135'] = 'top';gv_vAlignTable['u42'] = 'top';gv_vAlignTable['u229'] = 'top';gv_vAlignTable['u186'] = 'top';HookHover('u14', false);
gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u27'] = 'top';gv_vAlignTable['u52'] = 'top';gv_vAlignTable['u20'] = 'center';gv_vAlignTable['u67'] = 'top';gv_vAlignTable['u65'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u152'] = 'top';HookHover('u6', false);
gv_vAlignTable['u205'] = 'top';gv_vAlignTable['u108'] = 'top';gv_vAlignTable['u11'] = 'top';gv_vAlignTable['u133'] = 'top';HookHover('u200', false);
document.getElementById('u34_img').tabIndex = 0;
HookHover('u34', false);
u34.style.cursor = 'pointer';
$axure.eventManager.click('u34', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u34');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u28');
SetWidgetNotSelected('u26');
}
});
gv_vAlignTable['u213'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u88'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u44'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u179'] = 'top';gv_vAlignTable['u191'] = 'top';HookHover('u16', false);
gv_vAlignTable['u203'] = 'center';gv_vAlignTable['u125'] = 'top';gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u149'] = 'top';gv_vAlignTable['u54'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u189'] = 'top';gv_vAlignTable['u176'] = 'top';document.getElementById('u26_img').tabIndex = 0;
HookHover('u26', false);
u26.style.cursor = 'pointer';
$axure.eventManager.click('u26', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
NewWindow("resources/Other.html#other=" + encodeURI("打开基本页面,"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
SetWidgetSelected('u26');
SetWidgetNotSelected('u34');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u28');
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u85'] = 'top';gv_vAlignTable['u182'] = 'top';HookHover('u10', false);
gv_vAlignTable['u197'] = 'top';gv_vAlignTable['u100'] = 'top';gv_vAlignTable['u144'] = 'top';HookHover('u202', false);
gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u82'] = 'top';document.getElementById('u30_img').tabIndex = 0;
HookHover('u30', false);
u30.style.cursor = 'pointer';
$axure.eventManager.click('u30', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u30');
SetWidgetNotSelected('u28');
SetWidgetNotSelected('u26');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u34');
}
});
gv_vAlignTable['u219'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u61'] = 'top';gv_vAlignTable['u195'] = 'top';gv_vAlignTable['u116'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u223'] = 'top';gv_vAlignTable['u114'] = 'top';gv_vAlignTable['u33'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u221'] = 'top';gv_vAlignTable['u92'] = 'top';gv_vAlignTable['u46'] = 'top';gv_vAlignTable['u181'] = 'top';gv_vAlignTable['u5'] = 'top';gv_vAlignTable['u98'] = 'top';gv_vAlignTable['u225'] = 'top';gv_vAlignTable['u56'] = 'top';gv_vAlignTable['u187'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u40'] = 'top';gv_vAlignTable['u227'] = 'top';gv_vAlignTable['u104'] = 'top';gv_vAlignTable['u192'] = 'top';gv_vAlignTable['u211'] = 'top';gv_vAlignTable['u109'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u50'] = 'top';gv_vAlignTable['u63'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u177'] = 'top';gv_vAlignTable['u94'] = 'top';gv_vAlignTable['u102'] = 'top';gv_vAlignTable['u9'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u117'] = 'top';gv_vAlignTable['u13'] = 'top';gv_vAlignTable['u29'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u175'] = 'top';gv_vAlignTable['u217'] = 'top';gv_vAlignTable['u58'] = 'top';gv_vAlignTable['u173'] = 'top';gv_vAlignTable['u31'] = 'top';HookHover('u8', false);
gv_vAlignTable['u3'] = 'top';gv_vAlignTable['u146'] = 'top';gv_vAlignTable['u15'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u148'] = 'top';HookHover('u12', false);
gv_vAlignTable['u201'] = 'center';gv_vAlignTable['u199'] = 'top';gv_vAlignTable['u215'] = 'top';gv_vAlignTable['u137'] = 'top';gv_vAlignTable['u90'] = 'top';gv_vAlignTable['u161'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u107'] = 'top';gv_vAlignTable['u35'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u72'] = 'top';document.getElementById('u28_img').tabIndex = 0;
HookHover('u28', false);
u28.style.cursor = 'pointer';
$axure.eventManager.click('u28', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
NewWindow("resources/Other.html#other=" + encodeURI("打开人事系统界面,选择基本员工档案功能"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
SetWidgetSelected('u28');
SetWidgetNotSelected('u26');
SetWidgetNotSelected('u30');
SetWidgetNotSelected('u32');
SetWidgetNotSelected('u34');
}
});
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 307; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u11');
SetWidgetSelected('u79');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo8w1(e) {
}
function rdo8w2(e) {
}
function rdo8w3(e) {
}
function rdo8w4(e) {
}
function rdo8w5(e) {
}
function rdo8w6(e) {
}
function rdo8w0(e) {
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u241'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u140'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u303'] = 'top';gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u278'] = 'center';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u235'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u258'] = 'center';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u268'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u24'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u292'] = 'top';gv_vAlignTable['u239'] = 'top';gv_vAlignTable['u43'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
u289.style.cursor = 'pointer';
$axure.eventManager.click('u289', function(e) {
if (true) {
rdo8w3(e);
}
});
gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u112'] = 'top';
u287.style.cursor = 'pointer';
$axure.eventManager.click('u287', function(e) {
if (true) {
rdo8w2(e);
}
});
gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u233'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u276'] = 'center';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u172'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u231'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u254'] = 'center';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u252'] = 'center';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u204'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u82'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u74'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u166'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u198'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u256'] = 'center';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u266'] = 'center';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u28'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u1'] = 'center';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u192'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u250'] = 'center';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u206'] = 'top';HookHover('u109', false);
gv_vAlignTable['u84'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u97'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u260'] = 'center';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u134'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u264'] = 'center';gv_vAlignTable['u294'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u190'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'center';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u272'] = 'center';
u285.style.cursor = 'pointer';
$axure.eventManager.click('u285', function(e) {
if (true) {
rdo8w1(e);
}
});
gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u230'] = 'center';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u274'] = 'center';HookHover('u111', false);
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u262'] = 'center';gv_vAlignTable['u86'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u280'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u8'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u156'] = 'top';document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u138'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u237'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u301'] = 'top';gv_vAlignTable['u296'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u248'] = 'center';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u194'] = 'top';
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 115; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u95'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u55'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u38'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u84'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u8'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u34'] = 'top';HookHover('u111', false);
gv_vAlignTable['u64'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u49'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u51'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u66'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u22'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
HookHover('u109', false);
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u101'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u14'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u103'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u26'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u82'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u72'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u74'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u91'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
|
JavaScript
|
for(var i = 0; i < 292; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u56');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u156'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u140'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u138'] = 'top';gv_vAlignTable['u258'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u268'] = 'top';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u24'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u178'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u133'] = 'center';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u214'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u276'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u283'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u125'] = 'center';gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u158'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u250'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u119'] = 'center';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u10'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u82'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u123'] = 'center';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u160'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u198'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u127'] = 'center';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u240'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u28'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u142'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u236'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u192'] = 'top';gv_vAlignTable['u121'] = 'center';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u206'] = 'top';HookHover('u109', false);
gv_vAlignTable['u84'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u97'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u260'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u148'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u146'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u190'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u242'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u274'] = 'top';HookHover('u111', false);
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u129'] = 'center';gv_vAlignTable['u282'] = 'center';gv_vAlignTable['u86'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u36'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u232'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u8'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u131'] = 'center';gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u220'] = 'top';gv_vAlignTable['u182'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u194'] = 'top';
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 260; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u9');
SetWidgetSelected('u90');
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo8new(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
}
function rdo8edit(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
}
}
function rdo8delete(e) {
}
function rdo8print(e) {
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u140'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u256'] = 'center';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
$axure.eventManager.click('u259', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
$axure.eventManager.click('u259', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
$axure.eventManager.click('u259', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
$axure.eventManager.click('u259', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u24'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u238'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u258'] = 'center';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u146'] = 'top';gv_vAlignTable['u214'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u57'] = 'top';document.getElementById('u253_img').tabIndex = 0;
HookHover('u253', false);
u253.style.cursor = 'pointer';
$axure.eventManager.click('u253', function(e) {
if (true) {
rdo8edit(e);
}
});
gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u246'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u254'] = 'center';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u252'] = 'center';gv_vAlignTable['u10'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u82'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u116'] = 'center';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u74'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u160'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u251_img').tabIndex = 0;
HookHover('u251', false);
u251.style.cursor = 'pointer';
$axure.eventManager.click('u251', function(e) {
if (true) {
rdo8new(e);
}
});
gv_vAlignTable['u198'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u43'] = 'top';document.getElementById('u257_img').tabIndex = 0;
HookHover('u257', false);
u257.style.cursor = 'pointer';
$axure.eventManager.click('u257', function(e) {
if (true) {
rdo8print(e);
}
});
gv_vAlignTable['u240'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u28'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u154'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u192'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u206'] = 'top';HookHover('u109', false);
gv_vAlignTable['u84'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u97'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u134'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
document.getElementById('u255_img').tabIndex = 0;
HookHover('u255', false);
u255.style.cursor = 'pointer';
$axure.eventManager.click('u255', function(e) {
if (true) {
rdo8delete(e);
}
});
document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u190'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u242'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u117'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
HookHover('u111', false);
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u86'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u36'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u232'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u8'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u138'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u93'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u12'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u194'] = 'top';
|
JavaScript
|
for(var i = 0; i < 18; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
gv_vAlignTable['u3'] = 'center';gv_vAlignTable['u10'] = 'center';gv_vAlignTable['u17'] = 'center';gv_vAlignTable['u5'] = 'center';gv_vAlignTable['u13'] = 'center';gv_vAlignTable['u7'] = 'center';
|
JavaScript
|
for(var i = 0; i < 1041; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u83');
SetWidgetSelected('u11');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u602'] = 'top';gv_vAlignTable['u892'] = 'top';gv_vAlignTable['u990'] = 'top';gv_vAlignTable['u712'] = 'top';gv_vAlignTable['u684'] = 'top';gv_vAlignTable['u852'] = 'top';gv_vAlignTable['u688'] = 'top';gv_vAlignTable['u820'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u680'] = 'top';gv_vAlignTable['u612'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u446'] = 'top';gv_vAlignTable['u228'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u484'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u474'] = 'top';gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u968'] = 'top';gv_vAlignTable['u768'] = 'top';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u800'] = 'top';gv_vAlignTable['u700'] = 'top';gv_vAlignTable['u468'] = 'top';gv_vAlignTable['u542'] = 'top';gv_vAlignTable['u396'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u470'] = 'top';gv_vAlignTable['u648'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u774'] = 'top';gv_vAlignTable['u826'] = 'top';gv_vAlignTable['u838'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u936'] = 'top';gv_vAlignTable['u584'] = 'top';gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u998'] = 'top';gv_vAlignTable['u796'] = 'top';gv_vAlignTable['u300'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u818'] = 'top';gv_vAlignTable['u932'] = 'top';gv_vAlignTable['u580'] = 'top';gv_vAlignTable['u512'] = 'top';gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u792'] = 'top';gv_vAlignTable['u134'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u960'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u752'] = 'top';gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u720'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u308'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u964'] = 'top';gv_vAlignTable['u548'] = 'top';gv_vAlignTable['u890'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u156'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u606'] = 'top';gv_vAlignTable['u938'] = 'top';gv_vAlignTable['u994'] = 'top';gv_vAlignTable['u836'] = 'top';gv_vAlignTable['u804'] = 'top';gv_vAlignTable['u898'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u864'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u832'] = 'top';gv_vAlignTable['u480'] = 'top';gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u858'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u692'] = 'top';gv_vAlignTable['u624'] = 'top';gv_vAlignTable['u860'] = 'top';gv_vAlignTable['u896'] = 'top';gv_vAlignTable['u514'] = 'top';gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u652'] = 'top';gv_vAlignTable['u996'] = 'top';gv_vAlignTable['u620'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u242'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u448'] = 'top';gv_vAlignTable['u886'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u640'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u384'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u146'] = 'top';gv_vAlignTable['u790'] = 'top';gv_vAlignTable['u916'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
gv_vAlignTable['u976'] = 'top';gv_vAlignTable['u550'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u944'] = 'top';gv_vAlignTable['u592'] = 'top';gv_vAlignTable['u524'] = 'top';gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u736'] = 'top';gv_vAlignTable['u972'] = 'top';gv_vAlignTable['u552'] = 'top';gv_vAlignTable['u798'] = 'top';gv_vAlignTable['u520'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u758'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u760'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u986'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u1027'] = 'center';gv_vAlignTable['u1025'] = 'center';gv_vAlignTable['u1021'] = 'center';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u690'] = 'top';gv_vAlignTable['u496'] = 'top';gv_vAlignTable['u816'] = 'top';gv_vAlignTable['u866'] = 'top';gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u876'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u844'] = 'top';gv_vAlignTable['u492'] = 'top';gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u636'] = 'top';gv_vAlignTable['u872'] = 'top';gv_vAlignTable['u452'] = 'top';gv_vAlignTable['u698'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u664'] = 'top';gv_vAlignTable['u978'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u658'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u988'] = 'top';gv_vAlignTable['u660'] = 'top';gv_vAlignTable['u966'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u868'] = 'top';gv_vAlignTable['u908'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u716'] = 'top';gv_vAlignTable['u982'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u588'] = 'top';gv_vAlignTable['u590'] = 'top';gv_vAlignTable['u910'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u1023'] = 'center';gv_vAlignTable['u392'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u954'] = 'top';gv_vAlignTable['u1029'] = 'center';gv_vAlignTable['u956'] = 'top';gv_vAlignTable['u536'] = 'top';gv_vAlignTable['u86'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u504'] = 'top';gv_vAlignTable['u598'] = 'top';gv_vAlignTable['u101'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u918'] = 'top';gv_vAlignTable['u564'] = 'top';gv_vAlignTable['u532'] = 'top';gv_vAlignTable['u776'] = 'top';gv_vAlignTable['u558'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u744'] = 'top';gv_vAlignTable['u560'] = 'top';gv_vAlignTable['u148'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u882'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u930'] = 'top';gv_vAlignTable['u904'] = 'top';gv_vAlignTable['u704'] = 'top';gv_vAlignTable['u490'] = 'top';gv_vAlignTable['u540'] = 'top';gv_vAlignTable['u810'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u856'] = 'top';gv_vAlignTable['u436'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u498'] = 'top';gv_vAlignTable['u220'] = 'top';gv_vAlignTable['u706'] = 'top';gv_vAlignTable['u616'] = 'top';gv_vAlignTable['u740'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u878'] = 'top';gv_vAlignTable['u676'] = 'top';gv_vAlignTable['u458'] = 'top';gv_vAlignTable['u644'] = 'top';gv_vAlignTable['u460'] = 'top';gv_vAlignTable['u638'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u672'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u117'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u596'] = 'top';gv_vAlignTable['u926'] = 'top';gv_vAlignTable['u546'] = 'top';gv_vAlignTable['u390'] = 'top';gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u786'] = 'top';gv_vAlignTable['u848'] = 'top';gv_vAlignTable['u922'] = 'top';gv_vAlignTable['u714'] = 'top';gv_vAlignTable['u782'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u950'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u336'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u710'] = 'top';gv_vAlignTable['u516'] = 'top';gv_vAlignTable['u604'] = 'top';gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u576'] = 'top';gv_vAlignTable['u358'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u544'] = 'top';gv_vAlignTable['u360'] = 'top';gv_vAlignTable['u756'] = 'top';gv_vAlignTable['u538'] = 'top';gv_vAlignTable['u656'] = 'top';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u572'] = 'top';gv_vAlignTable['u70'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u718'] = 'top';gv_vAlignTable['u778'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u1015'] = 'top';gv_vAlignTable['u1014'] = 'top';gv_vAlignTable['u1012'] = 'top';gv_vAlignTable['u1010'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u888'] = 'top';gv_vAlignTable['u686'] = 'top';gv_vAlignTable['u822'] = 'top';gv_vAlignTable['u682'] = 'top';gv_vAlignTable['u850'] = 'top';gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u928'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u204'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u610'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u476'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u444'] = 'top';gv_vAlignTable['u260'] = 'top';gv_vAlignTable['u438'] = 'top';gv_vAlignTable['u472'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u830'] = 'top';gv_vAlignTable['u906'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u618'] = 'top';gv_vAlignTable['u678'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u732'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u586'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u934'] = 'top';gv_vAlignTable['u582'] = 'top';gv_vAlignTable['u902'] = 'top';HookHover('u111', false);
gv_vAlignTable['u794'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u726'] = 'top';gv_vAlignTable['u962'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u788'] = 'top';gv_vAlignTable['u510'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u754'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u376'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u344'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u750'] = 'top';gv_vAlignTable['u556'] = 'top';gv_vAlignTable['u338'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
gv_vAlignTable['u372'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u518'] = 'top';gv_vAlignTable['u578'] = 'top';document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u958'] = 'top';gv_vAlignTable['u486'] = 'top';gv_vAlignTable['u806'] = 'top';gv_vAlignTable['u834'] = 'top';gv_vAlignTable['u482'] = 'top';gv_vAlignTable['u802'] = 'top';gv_vAlignTable['u694'] = 'top';gv_vAlignTable['u828'] = 'top';gv_vAlignTable['u626'] = 'top';gv_vAlignTable['u862'] = 'top';gv_vAlignTable['u410'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u654'] = 'top';gv_vAlignTable['u622'] = 'top';gv_vAlignTable['u276'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u650'] = 'top';gv_vAlignTable['u456'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u272'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u738'] = 'top';gv_vAlignTable['u292'] = 'top';gv_vAlignTable['u478'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u900'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u946'] = 'top';gv_vAlignTable['u594'] = 'top';gv_vAlignTable['u526'] = 'top';gv_vAlignTable['u914'] = 'top';gv_vAlignTable['u296'] = 'top';gv_vAlignTable['u974'] = 'top';gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u116'] = 'center';gv_vAlignTable['u554'] = 'top';gv_vAlignTable['u942'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u522'] = 'top';gv_vAlignTable['u766'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u734'] = 'top';gv_vAlignTable['u970'] = 'top';gv_vAlignTable['u702'] = 'top';gv_vAlignTable['u356'] = 'top';gv_vAlignTable['u138'] = 'top';gv_vAlignTable['u728'] = 'top';gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u762'] = 'top';gv_vAlignTable['u730'] = 'top';gv_vAlignTable['u772'] = 'top';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u378'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u434'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u1006'] = 'top';gv_vAlignTable['u1004'] = 'top';gv_vAlignTable['u1002'] = 'top';gv_vAlignTable['u1000'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u1008'] = 'top';gv_vAlignTable['u846'] = 'top';gv_vAlignTable['u494'] = 'top';gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u814'] = 'top';gv_vAlignTable['u488'] = 'top';gv_vAlignTable['u874'] = 'top';gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u808'] = 'top';gv_vAlignTable['u454'] = 'top';gv_vAlignTable['u842'] = 'top';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u666'] = 'top';gv_vAlignTable['u634'] = 'top';gv_vAlignTable['u870'] = 'top';gv_vAlignTable['u450'] = 'top';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u628'] = 'top';gv_vAlignTable['u662'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u630'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u278'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u984'] = 'top';gv_vAlignTable['u824'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u980'] = 'top';gv_vAlignTable['u464'] = 'top';gv_vAlignTable['u912'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u210'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u770'] = 'top';gv_vAlignTable['u940'] = 'top';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u632'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u354'] = 'top';gv_vAlignTable['u506'] = 'top';gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u566'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u534'] = 'top';gv_vAlignTable['u502'] = 'top';gv_vAlignTable['u948'] = 'top';gv_vAlignTable['u746'] = 'top';gv_vAlignTable['u528'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u562'] = 'top';gv_vAlignTable['u1033'] = 'center';gv_vAlignTable['u530'] = 'top';gv_vAlignTable['u708'] = 'top';gv_vAlignTable['u742'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u894'] = 'top';gv_vAlignTable['u394'] = 'top';gv_vAlignTable['u696'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u884'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u880'] = 'top';gv_vAlignTable['u812'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u840'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u600'] = 'top';gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u192'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u466'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u646'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u614'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u674'] = 'top';gv_vAlignTable['u608'] = 'top';gv_vAlignTable['u642'] = 'top';gv_vAlignTable['u668'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u462'] = 'top';gv_vAlignTable['u670'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u1019'] = 'center';gv_vAlignTable['u992'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u924'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u784'] = 'top';gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u952'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u920'] = 'top';gv_vAlignTable['u500'] = 'top';gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u780'] = 'top';gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u366'] = 'top';gv_vAlignTable['u334'] = 'top';gv_vAlignTable['u724'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u722'] = 'top';HookHover('u109', false);
gv_vAlignTable['u328'] = 'top';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u574'] = 'top';gv_vAlignTable['u508'] = 'top';gv_vAlignTable['u568'] = 'top';gv_vAlignTable['u14'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u854'] = 'top';gv_vAlignTable['u570'] = 'top';gv_vAlignTable['u748'] = 'top';
u1035.style.cursor = 'pointer';
$axure.eventManager.click('u1035', function(e) {
if (true) {
NewWindow($axure.globalVariableProvider.getLinkUrl('员工考勤生成流程说明.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
gv_vAlignTable['u1034'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u1031'] = 'center';gv_vAlignTable['u1038'] = 'top';gv_vAlignTable['u764'] = 'top';
|
JavaScript
|
for(var i = 0; i < 276; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u15');
SetWidgetSelected('u29');
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u122'] = 'center';gv_vAlignTable['u241'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u243'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u236'] = 'center';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u140'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u256'] = 'center';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u268'] = 'center';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u120'] = 'center';gv_vAlignTable['u24'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u237'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u266'] = 'center';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u264'] = 'center';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u258'] = 'center';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u214'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u125'] = 'top';gv_vAlignTable['u172'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u216'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u10'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u82'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u74'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u166'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u251'] = 'top';gv_vAlignTable['u198'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u43'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u28'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u158'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u192'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u206'] = 'top';HookHover('u109', false);
gv_vAlignTable['u84'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u239'] = 'top';gv_vAlignTable['u97'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u260'] = 'center';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u148'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u128'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u190'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'center';gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u272'] = 'center';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u247'] = 'top';gv_vAlignTable['u200'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u274'] = 'center';HookHover('u111', false);
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u245'] = 'top';gv_vAlignTable['u262'] = 'center';gv_vAlignTable['u86'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u36'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u232'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u8'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u146'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u124'] = 'center';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u138'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u118'] = 'center';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u194'] = 'top';
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 1075; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u85');
SetWidgetSelected('u11');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u602'] = 'top';gv_vAlignTable['u892'] = 'top';gv_vAlignTable['u990'] = 'top';gv_vAlignTable['u712'] = 'top';gv_vAlignTable['u684'] = 'top';gv_vAlignTable['u852'] = 'top';gv_vAlignTable['u688'] = 'top';gv_vAlignTable['u820'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u680'] = 'top';gv_vAlignTable['u612'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u446'] = 'top';gv_vAlignTable['u228'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u484'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u474'] = 'top';gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u968'] = 'top';gv_vAlignTable['u768'] = 'top';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u800'] = 'top';gv_vAlignTable['u700'] = 'top';gv_vAlignTable['u468'] = 'top';gv_vAlignTable['u542'] = 'top';gv_vAlignTable['u396'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u470'] = 'top';gv_vAlignTable['u648'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u774'] = 'top';gv_vAlignTable['u826'] = 'top';gv_vAlignTable['u838'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u936'] = 'top';gv_vAlignTable['u584'] = 'top';gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u998'] = 'top';gv_vAlignTable['u796'] = 'top';gv_vAlignTable['u300'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u818'] = 'top';gv_vAlignTable['u932'] = 'top';gv_vAlignTable['u580'] = 'top';gv_vAlignTable['u512'] = 'top';gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u792'] = 'top';gv_vAlignTable['u134'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u960'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u752'] = 'top';gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u720'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u308'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u964'] = 'top';gv_vAlignTable['u548'] = 'top';gv_vAlignTable['u890'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u156'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u606'] = 'top';gv_vAlignTable['u938'] = 'top';gv_vAlignTable['u994'] = 'top';gv_vAlignTable['u836'] = 'top';gv_vAlignTable['u804'] = 'top';gv_vAlignTable['u898'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u864'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u832'] = 'top';gv_vAlignTable['u480'] = 'top';gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u858'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u692'] = 'top';gv_vAlignTable['u624'] = 'top';gv_vAlignTable['u860'] = 'top';gv_vAlignTable['u896'] = 'top';gv_vAlignTable['u514'] = 'top';gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u652'] = 'top';gv_vAlignTable['u996'] = 'top';gv_vAlignTable['u620'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u242'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u448'] = 'top';gv_vAlignTable['u886'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u640'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u384'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u146'] = 'top';gv_vAlignTable['u790'] = 'top';gv_vAlignTable['u916'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
gv_vAlignTable['u976'] = 'top';gv_vAlignTable['u550'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u944'] = 'top';gv_vAlignTable['u592'] = 'top';gv_vAlignTable['u524'] = 'top';gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u736'] = 'top';gv_vAlignTable['u972'] = 'top';gv_vAlignTable['u552'] = 'top';gv_vAlignTable['u798'] = 'top';gv_vAlignTable['u520'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u758'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u760'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u986'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u1027'] = 'center';gv_vAlignTable['u1025'] = 'center';gv_vAlignTable['u1021'] = 'center';gv_vAlignTable['u1057'] = 'center';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u690'] = 'top';gv_vAlignTable['u496'] = 'top';gv_vAlignTable['u816'] = 'top';gv_vAlignTable['u866'] = 'top';gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u876'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u844'] = 'top';gv_vAlignTable['u492'] = 'top';gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u636'] = 'top';gv_vAlignTable['u872'] = 'top';gv_vAlignTable['u452'] = 'top';gv_vAlignTable['u698'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u664'] = 'top';gv_vAlignTable['u978'] = 'top';gv_vAlignTable['u1047'] = 'center';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u632'] = 'top';gv_vAlignTable['u658'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u988'] = 'top';gv_vAlignTable['u660'] = 'top';gv_vAlignTable['u966'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u868'] = 'top';gv_vAlignTable['u908'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u716'] = 'top';gv_vAlignTable['u982'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u588'] = 'top';gv_vAlignTable['u590'] = 'top';gv_vAlignTable['u910'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u1023'] = 'center';gv_vAlignTable['u392'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u954'] = 'top';gv_vAlignTable['u1029'] = 'center';gv_vAlignTable['u956'] = 'top';gv_vAlignTable['u536'] = 'top';gv_vAlignTable['u86'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u504'] = 'top';gv_vAlignTable['u598'] = 'top';gv_vAlignTable['u101'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u918'] = 'top';gv_vAlignTable['u564'] = 'top';gv_vAlignTable['u532'] = 'top';gv_vAlignTable['u776'] = 'top';gv_vAlignTable['u558'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u744'] = 'top';gv_vAlignTable['u560'] = 'top';gv_vAlignTable['u148'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u882'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u930'] = 'top';gv_vAlignTable['u904'] = 'top';gv_vAlignTable['u704'] = 'top';gv_vAlignTable['u1071'] = 'top';gv_vAlignTable['u490'] = 'top';gv_vAlignTable['u540'] = 'top';gv_vAlignTable['u810'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u856'] = 'top';gv_vAlignTable['u436'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u498'] = 'top';gv_vAlignTable['u220'] = 'top';gv_vAlignTable['u706'] = 'top';gv_vAlignTable['u616'] = 'top';gv_vAlignTable['u740'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u878'] = 'top';gv_vAlignTable['u676'] = 'top';gv_vAlignTable['u458'] = 'top';gv_vAlignTable['u644'] = 'top';gv_vAlignTable['u460'] = 'top';gv_vAlignTable['u638'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u672'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u117'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u596'] = 'top';gv_vAlignTable['u926'] = 'top';gv_vAlignTable['u546'] = 'top';gv_vAlignTable['u390'] = 'top';gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u786'] = 'top';gv_vAlignTable['u848'] = 'top';gv_vAlignTable['u922'] = 'top';gv_vAlignTable['u714'] = 'top';gv_vAlignTable['u782'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u950'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u336'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u710'] = 'top';gv_vAlignTable['u516'] = 'top';gv_vAlignTable['u604'] = 'top';gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u576'] = 'top';gv_vAlignTable['u358'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u544'] = 'top';gv_vAlignTable['u360'] = 'top';gv_vAlignTable['u756'] = 'top';gv_vAlignTable['u538'] = 'top';gv_vAlignTable['u656'] = 'top';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u572'] = 'top';gv_vAlignTable['u70'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u718'] = 'top';gv_vAlignTable['u778'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u1015'] = 'top';gv_vAlignTable['u1014'] = 'top';gv_vAlignTable['u1012'] = 'top';gv_vAlignTable['u1010'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u888'] = 'top';gv_vAlignTable['u686'] = 'top';gv_vAlignTable['u822'] = 'top';gv_vAlignTable['u1043'] = 'center';gv_vAlignTable['u682'] = 'top';gv_vAlignTable['u850'] = 'top';gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u928'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u204'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u610'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u476'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u444'] = 'top';gv_vAlignTable['u260'] = 'top';gv_vAlignTable['u438'] = 'top';gv_vAlignTable['u472'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u830'] = 'top';gv_vAlignTable['u906'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u618'] = 'top';gv_vAlignTable['u678'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u732'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u586'] = 'top';gv_vAlignTable['u1055'] = 'center';gv_vAlignTable['u1051'] = 'center';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u1059'] = 'center';gv_vAlignTable['u934'] = 'top';gv_vAlignTable['u582'] = 'top';gv_vAlignTable['u902'] = 'top';HookHover('u111', false);
gv_vAlignTable['u794'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u726'] = 'top';gv_vAlignTable['u962'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u788'] = 'top';gv_vAlignTable['u510'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u754'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u376'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u344'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u750'] = 'top';gv_vAlignTable['u556'] = 'top';gv_vAlignTable['u338'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
gv_vAlignTable['u372'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u518'] = 'top';gv_vAlignTable['u578'] = 'top';document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u958'] = 'top';gv_vAlignTable['u486'] = 'top';gv_vAlignTable['u1064'] = 'top';gv_vAlignTable['u806'] = 'top';gv_vAlignTable['u1061'] = 'center';gv_vAlignTable['u1068'] = 'top';gv_vAlignTable['u834'] = 'top';gv_vAlignTable['u482'] = 'top';gv_vAlignTable['u802'] = 'top';gv_vAlignTable['u694'] = 'top';gv_vAlignTable['u828'] = 'top';gv_vAlignTable['u626'] = 'top';gv_vAlignTable['u862'] = 'top';gv_vAlignTable['u410'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u654'] = 'top';gv_vAlignTable['u622'] = 'top';gv_vAlignTable['u276'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u650'] = 'top';gv_vAlignTable['u456'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u272'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u738'] = 'top';gv_vAlignTable['u292'] = 'top';gv_vAlignTable['u478'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u900'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u1062'] = 'top';gv_vAlignTable['u946'] = 'top';gv_vAlignTable['u594'] = 'top';gv_vAlignTable['u526'] = 'top';gv_vAlignTable['u914'] = 'top';gv_vAlignTable['u296'] = 'top';gv_vAlignTable['u974'] = 'top';gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u116'] = 'center';gv_vAlignTable['u554'] = 'top';gv_vAlignTable['u942'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u522'] = 'top';gv_vAlignTable['u766'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u734'] = 'top';gv_vAlignTable['u970'] = 'top';gv_vAlignTable['u702'] = 'top';gv_vAlignTable['u356'] = 'top';gv_vAlignTable['u138'] = 'top';gv_vAlignTable['u728'] = 'top';gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u762'] = 'top';gv_vAlignTable['u730'] = 'top';gv_vAlignTable['u772'] = 'top';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u1045'] = 'center';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u1041'] = 'center';gv_vAlignTable['u434'] = 'top';gv_vAlignTable['u1049'] = 'center';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u1006'] = 'top';gv_vAlignTable['u1004'] = 'top';gv_vAlignTable['u1002'] = 'top';gv_vAlignTable['u1000'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u1008'] = 'top';gv_vAlignTable['u846'] = 'top';gv_vAlignTable['u494'] = 'top';gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u814'] = 'top';gv_vAlignTable['u488'] = 'top';gv_vAlignTable['u874'] = 'top';gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u808'] = 'top';gv_vAlignTable['u454'] = 'top';gv_vAlignTable['u842'] = 'top';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u666'] = 'top';gv_vAlignTable['u634'] = 'top';gv_vAlignTable['u870'] = 'top';gv_vAlignTable['u450'] = 'top';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u628'] = 'top';gv_vAlignTable['u662'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u630'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u278'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u984'] = 'top';gv_vAlignTable['u824'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u980'] = 'top';gv_vAlignTable['u464'] = 'top';gv_vAlignTable['u912'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u328'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u770'] = 'top';gv_vAlignTable['u940'] = 'top';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u354'] = 'top';gv_vAlignTable['u506'] = 'top';gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u566'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u534'] = 'top';gv_vAlignTable['u502'] = 'top';gv_vAlignTable['u948'] = 'top';gv_vAlignTable['u746'] = 'top';gv_vAlignTable['u528'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u562'] = 'top';gv_vAlignTable['u1033'] = 'center';gv_vAlignTable['u530'] = 'top';gv_vAlignTable['u708'] = 'top';gv_vAlignTable['u742'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u894'] = 'top';gv_vAlignTable['u394'] = 'top';gv_vAlignTable['u696'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u884'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u880'] = 'top';gv_vAlignTable['u812'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u1053'] = 'center';gv_vAlignTable['u840'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u600'] = 'top';gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u192'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u466'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u646'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u614'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u674'] = 'top';gv_vAlignTable['u608'] = 'top';gv_vAlignTable['u642'] = 'top';gv_vAlignTable['u668'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u462'] = 'top';gv_vAlignTable['u670'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u1019'] = 'center';gv_vAlignTable['u992'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u924'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u784'] = 'top';gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u952'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u920'] = 'top';gv_vAlignTable['u500'] = 'top';gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u780'] = 'top';gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u366'] = 'top';gv_vAlignTable['u334'] = 'top';gv_vAlignTable['u724'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u722'] = 'top';HookHover('u109', false);
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u574'] = 'top';gv_vAlignTable['u508'] = 'top';gv_vAlignTable['u568'] = 'top';gv_vAlignTable['u14'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u854'] = 'top';gv_vAlignTable['u570'] = 'top';gv_vAlignTable['u1037'] = 'center';gv_vAlignTable['u748'] = 'top';gv_vAlignTable['u1035'] = 'center';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u1031'] = 'center';gv_vAlignTable['u1039'] = 'center';gv_vAlignTable['u764'] = 'top';
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 69; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u15');
SetWidgetSelected('u29');
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
}
});
function rdo491(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo492(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo493(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo494(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo495(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_加班时间管理.html'), "");
}
}
function rdo496(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo497(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo498(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置.html'), "");
}
}
function rdo499(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo4999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_考勤系统.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1工资系统.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo491(e);
}
});
document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u55'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo496(e);
}
});
gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u32'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo492(e);
}
});
gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u30'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u64'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u49'] = 'top';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u41', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u66'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo499(e);
}
});
gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u22'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo325(e);
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo494(e);
}
});
gv_vAlignTable['u47'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo493(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u24'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u39_img').tabIndex = 0;
HookHover('u39', false);
u39.style.cursor = 'pointer';
$axure.eventManager.click('u39', function(e) {
if (true) {
rdo4999(e);
}
});
document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo498(e);
}
});
gv_vAlignTable['u26'] = 'top';HookHover('u65', false);
document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u12'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo497(e);
}
});
HookHover('u63', false);
document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u40'] = 'top';gv_vAlignTable['u14'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo321(e);
}
});
document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo495(e);
}
});
gv_vAlignTable['u59'] = 'top';
|
JavaScript
|
for(var i = 0; i < 575; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u15');
SetWidgetSelected('u25');
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u488'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u514'] = 'top';gv_vAlignTable['u492'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u450'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u464'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u568'] = 'top';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u462'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u176'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u344'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u326'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u410'] = 'top';gv_vAlignTable['u186'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u436'] = 'top';gv_vAlignTable['u460'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u474'] = 'top';gv_vAlignTable['u528'] = 'top';HookHover('u111', false);
gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u518'] = 'top';gv_vAlignTable['u356'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u554'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u526'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u552'] = 'top';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u438'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u566'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u292'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u434'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u470'] = 'top';gv_vAlignTable['u472'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u500'] = 'top';gv_vAlignTable['u490'] = 'top';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u550'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u564'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u496'] = 'top';gv_vAlignTable['u446'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u502'] = 'top';gv_vAlignTable['u476'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u440'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u512'] = 'top';gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u562'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u444'] = 'top';gv_vAlignTable['u274'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u548'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u510'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u524'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u560'] = 'top';gv_vAlignTable['u498'] = 'top';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u384'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u456'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u396'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u354'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u458'] = 'top';gv_vAlignTable['u520'] = 'top';gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u534'] = 'top';gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u570'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u336'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u394'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u535'] = 'top';gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';gv_vAlignTable['u117'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u546'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'top';gv_vAlignTable['u300'] = 'top';gv_vAlignTable['u116'] = 'center';gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u392'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u508'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u468'] = 'top';gv_vAlignTable['u530'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u544'] = 'top';gv_vAlignTable['u572'] = 'top';gv_vAlignTable['u448'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u522'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u376'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u506'] = 'top';gv_vAlignTable['u484'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u542'] = 'top';gv_vAlignTable['u390'] = 'top';gv_vAlignTable['u556'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u360'] = 'top';gv_vAlignTable['u532'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u478'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u504'] = 'top';gv_vAlignTable['u482'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u486'] = 'top';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u454'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u558'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u480'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u516'] = 'top';gv_vAlignTable['u494'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u308'] = 'top';gv_vAlignTable['u452'] = 'top';gv_vAlignTable['u466'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u334'] = 'top';
|
JavaScript
|
for(var i = 0; i < 115; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u42');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3自定义列取数设置.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单生成.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u95'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u55'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u38'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u84'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u8'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1员工工资方案管理.html'), "");
}
});
gv_vAlignTable['u34'] = 'top';HookHover('u111', false);
gv_vAlignTable['u64'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u49'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u51'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u66'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u22'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
HookHover('u109', false);
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u101'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u14'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u103'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u26'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u82'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u72'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u74'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u91'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
|
JavaScript
|
for(var i = 0; i < 376; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u11');
SetWidgetSelected('u71');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'center';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u287'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u340'] = 'center';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u346'] = 'center';gv_vAlignTable['u318'] = 'center';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'center';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u344'] = 'center';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u326'] = 'center';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'center';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'center';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'center';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u297'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u355'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'center';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u295'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u316'] = 'center';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u293'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'center';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u322'] = 'center';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u328'] = 'center';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u372'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u336'] = 'center';gv_vAlignTable['u367'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'center';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u232'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u312'] = 'center';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u351'] = 'top';gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u28'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'center';gv_vAlignTable['u186'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'center';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u291'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'center';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'center';gv_vAlignTable['u324'] = 'center';gv_vAlignTable['u360'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u289'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'center';gv_vAlignTable['u334'] = 'center';
|
JavaScript
|
for(var i = 0; i < 524; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u50');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u488'] = 'center';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u514'] = 'top';gv_vAlignTable['u492'] = 'center';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u450'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u464'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u436'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u462'] = 'top';gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u476'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u286'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u300'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u410'] = 'top';gv_vAlignTable['u186'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u460'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u474'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u518'] = 'top';gv_vAlignTable['u512'] = 'top';gv_vAlignTable['u356'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u490'] = 'center';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';gv_vAlignTable['u466'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u438'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u434'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u470'] = 'top';gv_vAlignTable['u472'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u500'] = 'center';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u496'] = 'center';gv_vAlignTable['u446'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u502'] = 'center';gv_vAlignTable['u392'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u444'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u510'] = 'top';gv_vAlignTable['u28'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u498'] = 'center';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u384'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u456'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u520'] = 'top';gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u354'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u458'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u336'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u394'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u270'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u228'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u508'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u468'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u448'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u376'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u506'] = 'center';gv_vAlignTable['u484'] = 'center';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u390'] = 'top';gv_vAlignTable['u396'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u478'] = 'center';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u479'] = 'top';gv_vAlignTable['u360'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u504'] = 'center';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u344'] = 'top';gv_vAlignTable['u486'] = 'center';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u454'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u516'] = 'top';gv_vAlignTable['u494'] = 'center';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u308'] = 'top';gv_vAlignTable['u452'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u334'] = 'top';
|
JavaScript
|
for(var i = 0; i < 594; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u54');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u488'] = 'center';gv_vAlignTable['u465'] = 'top';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u438'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u514'] = 'center';gv_vAlignTable['u492'] = 'center';gv_vAlignTable['u522'] = 'center';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u450'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u516'] = 'center';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u463'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u554'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u584'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u344'] = 'top';gv_vAlignTable['u461'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u410'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u436'] = 'top';gv_vAlignTable['u460'] = 'center';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u586'] = 'top';gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u528'] = 'center';HookHover('u111', false);
gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u540'] = 'center';gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u578'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u518'] = 'center';gv_vAlignTable['u512'] = 'center';gv_vAlignTable['u356'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u490'] = 'center';gv_vAlignTable['u526'] = 'center';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';gv_vAlignTable['u124'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u552'] = 'center';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u566'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u434'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u538'] = 'center';gv_vAlignTable['u500'] = 'center';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u550'] = 'center';gv_vAlignTable['u452'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u564'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u496'] = 'center';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u446'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u502'] = 'center';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u562'] = 'top';gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u576'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u444'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u572'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u548'] = 'center';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u510'] = 'center';gv_vAlignTable['u226'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u524'] = 'center';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u498'] = 'center';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u574'] = 'top';gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u384'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u456'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u260'] = 'top';gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u72'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u520'] = 'center';gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u559'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u396'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u354'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u458'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u534'] = 'center';gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u570'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u336'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u394'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u532'] = 'center';gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u546'] = 'center';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'top';gv_vAlignTable['u300'] = 'top';gv_vAlignTable['u471'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u392'] = 'top';gv_vAlignTable['u469'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u508'] = 'center';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u530'] = 'center';gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u448'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u480'] = 'center';gv_vAlignTable['u376'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u506'] = 'center';gv_vAlignTable['u484'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u542'] = 'center';gv_vAlignTable['u390'] = 'top';gv_vAlignTable['u556'] = 'top';gv_vAlignTable['u580'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u478'] = 'center';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u360'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u536'] = 'center';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u504'] = 'center';gv_vAlignTable['u482'] = 'center';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u486'] = 'center';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u454'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u590'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u322'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u568'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u467'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u494'] = 'center';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u588'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u544'] = 'center';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u334'] = 'top';gv_vAlignTable['u582'] = 'top';
|
JavaScript
|
|
JavaScript
|
for(var i = 0; i < 238; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u9');
SetWidgetSelected('u98');
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo8new(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新增一个岗位"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
}
function rdo8update(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("保存当前岗位信息"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
}
function rdo8delete(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("删除当前岗位,当前如果有下级,无法删除"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u137'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u207'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
u236.style.cursor = 'pointer';
$axure.eventManager.click('u236', function(e) {
if (true) {
rdo8delete(e);
}
});
gv_vAlignTable['u153'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u131'] = 'top';gv_vAlignTable['u135'] = 'top';gv_vAlignTable['u151'] = 'top';gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u159'] = 'top';gv_vAlignTable['u229'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
u235.style.cursor = 'pointer';
$axure.eventManager.click('u235', function(e) {
if (true) {
rdo8update(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u24'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u133'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u149'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u233'] = 'top';gv_vAlignTable['u66'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u179'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u197'] = 'top';gv_vAlignTable['u16'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
u231.style.cursor = 'pointer';
$axure.eventManager.click('u231', function(e) {
if (true) {
NewWindow($axure.globalVariableProvider.getLinkUrl('组织与岗位关联.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u189'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u26'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u10'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u82'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u219'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u195'] = 'top';gv_vAlignTable['u225'] = 'top';gv_vAlignTable['u187'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u123'] = 'top';gv_vAlignTable['u223'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u157'] = 'top';gv_vAlignTable['u221'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u181'] = 'top';gv_vAlignTable['u203'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u127'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u169'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u28'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u227'] = 'top';gv_vAlignTable['u139'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u193'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u121'] = 'top';gv_vAlignTable['u211'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
HookHover('u109', false);
gv_vAlignTable['u84'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u125'] = 'top';gv_vAlignTable['u97'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u76'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u177'] = 'top';gv_vAlignTable['u209'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u185'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u173'] = 'top';
u234.style.cursor = 'pointer';
$axure.eventManager.click('u234', function(e) {
if (true) {
rdo8new(e);
}
});
gv_vAlignTable['u147'] = 'top';gv_vAlignTable['u163'] = 'top';gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u213'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
HookHover('u111', false);
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u141'] = 'top';gv_vAlignTable['u191'] = 'top';gv_vAlignTable['u175'] = 'top';gv_vAlignTable['u217'] = 'top';gv_vAlignTable['u129'] = 'top';gv_vAlignTable['u86'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u183'] = 'top';gv_vAlignTable['u36'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
gv_vAlignTable['u171'] = 'top';document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u8'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u205'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u155'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u167'] = 'top';gv_vAlignTable['u145'] = 'top';
$axure.eventManager.click('u237', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新增一个岗位"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
$axure.eventManager.click('u237', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新增一个岗位"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
$axure.eventManager.click('u237', function(e) {
if (true) {
NewWindow("resources/Other.html#other=" + encodeURI("新增一个岗位"), "", "directories=0, height=300, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0, width=300", true, 300, 300);
}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u201'] = 'top';gv_vAlignTable['u165'] = 'top';gv_vAlignTable['u199'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u215'] = 'top';gv_vAlignTable['u118'] = 'center';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u161'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u143'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
|
JavaScript
|
for(var i = 0; i < 532; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u276');
SetWidgetSelected('u371');
SetPanelState('u285', 'pd1u285','none','',500,'none','',500);
}
});
function rdo741(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo742(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo743(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo744(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo745(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo746(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo747(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo748(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo749(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
function rdo631(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo632(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo633(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo634(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo635(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo636(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo637(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo638(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo639(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo6310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo6311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo6312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo6313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo31(e) {
if (true) {
SetPanelState('u285', 'pd0u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo32(e) {
if (true) {
SetPanelState('u285', 'pd1u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo33(e) {
if (true) {
SetPanelState('u285', 'pd2u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo34(e) {
if (true) {
SetPanelState('u285', 'pd3u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo35(e) {
}
function rdo39(e) {
if (true) {
SetPanelState('u285', 'pd4u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo891(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo892(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo893(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo894(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo895(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo896(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo897(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo898(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo899(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo8999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo521(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo522(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo523(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo524(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo525(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo526(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo527(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo528(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo10new(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('合同签定.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
}
function rdo10edit(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('合同签定.html'), "");
}
}
function rdo10delete(e) {
}
function rdo10print(e) {
}
gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u488'] = 'top';gv_vAlignTable['u167'] = 'top';gv_vAlignTable['u299'] = 'top';document.getElementById('u319_img').tabIndex = 0;
HookHover('u319', false);
u319.style.cursor = 'pointer';
$axure.eventManager.click('u319', function(e) {
if (true) {
rdo746(e);
}
});
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u514'] = 'top';gv_vAlignTable['u492'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u333'] = 'top';gv_vAlignTable['u450'] = 'top';gv_vAlignTable['u486'] = 'top';gv_vAlignTable['u60'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u54'] = 'top';gv_vAlignTable['u464'] = 'top';gv_vAlignTable['u139'] = 'top';gv_vAlignTable['u201'] = 'top';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u215'] = 'top';gv_vAlignTable['u193'] = 'top';gv_vAlignTable['u126'] = 'top';document.getElementById('u332_img').tabIndex = 0;
HookHover('u332', false);
u332.style.cursor = 'pointer';
$axure.eventManager.click('u332', function(e) {
if (true) {
rdo632(e);
}
});
gv_vAlignTable['u151'] = 'top';gv_vAlignTable['u527'] = 'center';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u165'] = 'top';gv_vAlignTable['u100'] = 'top';document.getElementById('u302_img').tabIndex = 0;
HookHover('u302', false);
u302.style.cursor = 'pointer';
$axure.eventManager.click('u302', function(e) {
if (true) {
rdo899(e);
}
});
gv_vAlignTable['u269'] = 'top';gv_vAlignTable['u331'] = 'top';document.getElementById('u321_img').tabIndex = 0;
HookHover('u321', false);
u321.style.cursor = 'pointer';
$axure.eventManager.click('u321', function(e) {
if (true) {
rdo747(e);
}
});
gv_vAlignTable['u436'] = 'top';gv_vAlignTable['u48'] = 'top';gv_vAlignTable['u345'] = 'top';document.getElementById('u340_img').tabIndex = 0;
HookHover('u340', false);
u340.style.cursor = 'pointer';
$axure.eventManager.click('u340', function(e) {
if (true) {
rdo6313(e);
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u462'] = 'top';document.getElementById('u346_img').tabIndex = 0;
HookHover('u346', false);
u346.style.cursor = 'pointer';
$axure.eventManager.click('u346', function(e) {
if (true) {
rdo638(e);
}
});
gv_vAlignTable['u476'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u268'] = 'center';document.getElementById('u330_img').tabIndex = 0;
HookHover('u330', false);
u330.style.cursor = 'pointer';
$axure.eventManager.click('u330', function(e) {
if (true) {
rdo631(e);
}
});
gv_vAlignTable['u227'] = 'top';gv_vAlignTable['u42'] = 'top';gv_vAlignTable['u159'] = 'top';gv_vAlignTable['u163'] = 'top';document.getElementById('u300_img').tabIndex = 0;
HookHover('u300', false);
u300.style.cursor = 'pointer';
$axure.eventManager.click('u300', function(e) {
if (true) {
rdo895(e);
}
});
gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u177'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u410'] = 'top';gv_vAlignTable['u18'] = 'top';gv_vAlignTable['u50'] = 'top';gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u460'] = 'top';document.getElementById('u357_img').tabIndex = 0;
HookHover('u357', false);
u357.style.cursor = 'pointer';
$axure.eventManager.click('u357', function(e) {
if (true) {
rdo521(e);
}
});
gv_vAlignTable['u149'] = 'top';
$axure.eventManager.click('u528', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('合同签定.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
$axure.eventManager.click('u528', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('合同签定.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
$axure.eventManager.click('u528', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('合同签定.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
$axure.eventManager.click('u528', function(e) {
if (true) {
parent.window.close();
NewWindow($axure.globalVariableProvider.getLinkUrl('合同签定.html'), "", "directories=1, height=500, location=1, menubar=1, resizable=1, scrollbars=1, status=1, toolbar=1, width=500", true, 500, 500);
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u306', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u284', function(e) {
if (true) {
SetPanelState('u285', 'pd0u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u284', function(e) {
if (true) {
SetPanelState('u285', 'pd0u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u284', function(e) {
if (true) {
SetPanelState('u285', 'pd0u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u284', function(e) {
if (true) {
SetPanelState('u285', 'pd0u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u284', function(e) {
if (true) {
SetPanelState('u285', 'pd0u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u284', function(e) {
if (true) {
SetPanelState('u285', 'pd0u285','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u342_img').tabIndex = 0;
HookHover('u342', false);
u342.style.cursor = 'pointer';
$axure.eventManager.click('u342', function(e) {
if (true) {
rdo636(e);
}
});
gv_vAlignTable['u161'] = 'top';gv_vAlignTable['u512'] = 'top';gv_vAlignTable['u175'] = 'top';gv_vAlignTable['u229'] = 'top';gv_vAlignTable['u110'] = 'top';document.getElementById('u348_img').tabIndex = 0;
HookHover('u348', false);
u348.style.cursor = 'pointer';
$axure.eventManager.click('u348', function(e) {
if (true) {
rdo639(e);
}
});
gv_vAlignTable['u305'] = 'top';gv_vAlignTable['u283'] = 'top';gv_vAlignTable['u20'] = 'top';gv_vAlignTable['u124'] = 'top';document.getElementById('u526_img').tabIndex = 0;
HookHover('u526', false);
u526.style.cursor = 'pointer';
$axure.eventManager.click('u526', function(e) {
if (true) {
rdo10print(e);
}
});
gv_vAlignTable['u279'] = 'top';gv_vAlignTable['u241'] = 'top';gv_vAlignTable['u297'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u474'] = 'top';gv_vAlignTable['u88'] = 'top';document.getElementById('u304_img').tabIndex = 0;
HookHover('u304', false);
u304.style.cursor = 'pointer';
$axure.eventManager.click('u304', function(e) {
if (true) {
rdo8999(e);
}
});
document.getElementById('u282_img').tabIndex = 0;
HookHover('u282', false);
u282.style.cursor = 'pointer';
$axure.eventManager.click('u282', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u282');
SetWidgetNotSelected('u280');
SetWidgetNotSelected('u278');
SetWidgetNotSelected('u276');
SetWidgetNotSelected('u274');
rdo39(e);
}
});
gv_vAlignTable['u76'] = 'top';document.getElementById('u278_img').tabIndex = 0;
HookHover('u278', false);
u278.style.cursor = 'pointer';
$axure.eventManager.click('u278', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u278');
SetWidgetNotSelected('u276');
SetWidgetNotSelected('u274');
SetWidgetNotSelected('u280');
SetWidgetNotSelected('u282');
rdo33(e);
}
});
document.getElementById('u296_img').tabIndex = 0;
HookHover('u296', false);
u296.style.cursor = 'pointer';
$axure.eventManager.click('u296', function(e) {
if (true) {
rdo896(e);
}
});
document.getElementById('u522_img').tabIndex = 0;
HookHover('u522', false);
u522.style.cursor = 'pointer';
$axure.eventManager.click('u522', function(e) {
if (true) {
rdo10edit(e);
}
});
gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u173'] = 'top';gv_vAlignTable['u343'] = 'top';document.getElementById('u290_img').tabIndex = 0;
HookHover('u290', false);
u290.style.cursor = 'pointer';
$axure.eventManager.click('u290', function(e) {
if (true) {
rdo892(e);
}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u303'] = 'top';gv_vAlignTable['u281'] = 'top';gv_vAlignTable['u94'] = 'top';gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'top';gv_vAlignTable['u420'] = 'top';document.getElementById('u317_img').tabIndex = 0;
HookHover('u317', false);
u317.style.cursor = 'pointer';
$axure.eventManager.click('u317', function(e) {
if (true) {
rdo745(e);
}
});
gv_vAlignTable['u295'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u434'] = 'top';gv_vAlignTable['u253'] = 'top';gv_vAlignTable['u470'] = 'top';gv_vAlignTable['u472'] = 'top';gv_vAlignTable['u46'] = 'top';document.getElementById('u280_img').tabIndex = 0;
HookHover('u280', false);
u280.style.cursor = 'pointer';
$axure.eventManager.click('u280', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u280');
SetWidgetNotSelected('u274');
SetWidgetNotSelected('u276');
SetWidgetNotSelected('u278');
SetWidgetNotSelected('u282');
rdo34(e);
}
});
gv_vAlignTable['u500'] = 'top';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u316'] = 'top';document.getElementById('u294_img').tabIndex = 0;
HookHover('u294', false);
u294.style.cursor = 'pointer';
$axure.eventManager.click('u294', function(e) {
if (true) {
rdo894(e);
}
});
gv_vAlignTable['u135'] = 'center';gv_vAlignTable['u108'] = 'top';gv_vAlignTable['u171'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u239'] = 'top';gv_vAlignTable['u301'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u438'] = 'top';document.getElementById('u315_img').tabIndex = 0;
HookHover('u315', false);
u315.style.cursor = 'pointer';
$axure.eventManager.click('u315', function(e) {
if (true) {
rdo744(e);
}
});
gv_vAlignTable['u293'] = 'top';gv_vAlignTable['u251'] = 'top';gv_vAlignTable['u446'] = 'top';
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u373', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u265'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u502'] = 'top';gv_vAlignTable['u531'] = 'top';gv_vAlignTable['u314'] = 'top';document.getElementById('u292_img').tabIndex = 0;
HookHover('u292', false);
u292.style.cursor = 'pointer';
$axure.eventManager.click('u292', function(e) {
if (true) {
rdo893(e);
}
});
document.getElementById('u369_img').tabIndex = 0;
HookHover('u369', false);
u369.style.cursor = 'pointer';
$axure.eventManager.click('u369', function(e) {
if (true) {
rdo527(e);
}
});
gv_vAlignTable['u490'] = 'top';gv_vAlignTable['u147'] = 'top';gv_vAlignTable['u58'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u90'] = 'top';gv_vAlignTable['u213'] = 'top';gv_vAlignTable['u191'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u430'] = 'top';
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u327', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u52'] = 'top';gv_vAlignTable['u444'] = 'top';gv_vAlignTable['u263'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u277'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u510'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u145'] = 'top';document.getElementById('u524_img').tabIndex = 0;
HookHover('u524', false);
u524.style.cursor = 'pointer';
$axure.eventManager.click('u524', function(e) {
if (true) {
rdo10delete(e);
}
});
gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u498'] = 'top';document.getElementById('u276_img').tabIndex = 0;
HookHover('u276', false);
u276.style.cursor = 'pointer';
$axure.eventManager.click('u276', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u276');
SetWidgetNotSelected('u274');
SetWidgetNotSelected('u278');
SetWidgetNotSelected('u280');
SetWidgetNotSelected('u282');
rdo32(e);
}
});
gv_vAlignTable['u249'] = 'top';gv_vAlignTable['u211'] = 'top';gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u523'] = 'center';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u261'] = 'top';gv_vAlignTable['u456'] = 'top';gv_vAlignTable['u275'] = 'top';document.getElementById('u325_img').tabIndex = 0;
HookHover('u325', false);
u325.style.cursor = 'pointer';
$axure.eventManager.click('u325', function(e) {
if (true) {
rdo749(e);
}
});
gv_vAlignTable['u44'] = 'top';gv_vAlignTable['u383'] = 'center';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u143'] = 'top';gv_vAlignTable['u379'] = 'top';gv_vAlignTable['u341'] = 'top';gv_vAlignTable['u157'] = 'top';gv_vAlignTable['u189'] = 'top';document.getElementById('u274_img').tabIndex = 0;
HookHover('u274', false);
u274.style.cursor = 'pointer';
$axure.eventManager.click('u274', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u274');
SetWidgetNotSelected('u282');
SetWidgetNotSelected('u280');
SetWidgetNotSelected('u278');
SetWidgetNotSelected('u276');
rdo31(e);
}
});
document.getElementById('u309_img').tabIndex = 0;
HookHover('u309', false);
u309.style.cursor = 'pointer';
$axure.eventManager.click('u309', function(e) {
if (true) {
rdo742(e);
}
});
gv_vAlignTable['u106'] = 'top';document.getElementById('u520_img').tabIndex = 0;
HookHover('u520', false);
u520.style.cursor = 'pointer';
$axure.eventManager.click('u520', function(e) {
if (true) {
rdo10new(e);
}
});
gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u223'] = 'top';HookHover('u378', false);
gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u396'] = 'top';gv_vAlignTable['u237'] = 'top';
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u354', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u521'] = 'center';gv_vAlignTable['u458'] = 'top';document.getElementById('u311_img').tabIndex = 0;
HookHover('u311', false);
u311.style.cursor = 'pointer';
$axure.eventManager.click('u311', function(e) {
if (true) {
rdo741(e);
}
});
gv_vAlignTable['u6'] = 'top';gv_vAlignTable['u155'] = 'top';gv_vAlignTable['u209'] = 'top';gv_vAlignTable['u525'] = 'center';gv_vAlignTable['u353'] = 'top';gv_vAlignTable['u402'] = 'top';document.getElementById('u336_img').tabIndex = 0;
HookHover('u336', false);
u336.style.cursor = 'pointer';
$axure.eventManager.click('u336', function(e) {
if (true) {
rdo634(e);
}
});
document.getElementById('u367_img').tabIndex = 0;
HookHover('u367', false);
u367.style.cursor = 'pointer';
$axure.eventManager.click('u367', function(e) {
if (true) {
rdo526(e);
}
});
gv_vAlignTable['u104'] = 'top';gv_vAlignTable['u259'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u221'] = 'top';gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u394'] = 'top';gv_vAlignTable['u235'] = 'top';document.getElementById('u352_img').tabIndex = 0;
HookHover('u352', false);
u352.style.cursor = 'pointer';
$axure.eventManager.click('u352', function(e) {
if (true) {
rdo6311(e);
}
});
gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u366'] = 'top';gv_vAlignTable['u98'] = 'top';gv_vAlignTable['u339'] = 'top';gv_vAlignTable['u351'] = 'top';gv_vAlignTable['u199'] = 'top';document.getElementById('u365_img').tabIndex = 0;
HookHover('u365', false);
u365.style.cursor = 'pointer';
$axure.eventManager.click('u365', function(e) {
if (true) {
rdo525(e);
}
});
gv_vAlignTable['u92'] = 'top';gv_vAlignTable['u102'] = 'top';gv_vAlignTable['u56'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u116'] = 'top';gv_vAlignTable['u392'] = 'top';gv_vAlignTable['u233'] = 'top';document.getElementById('u350_img').tabIndex = 0;
HookHover('u350', false);
u350.style.cursor = 'pointer';
$axure.eventManager.click('u350', function(e) {
if (true) {
rdo6310(e);
}
});
gv_vAlignTable['u347'] = 'top';gv_vAlignTable['u508'] = 'top';gv_vAlignTable['u247'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u452'] = 'top';document.getElementById('u338_img').tabIndex = 0;
HookHover('u338', false);
u338.style.cursor = 'pointer';
$axure.eventManager.click('u338', function(e) {
if (true) {
rdo635(e);
}
});
document.getElementById('u313_img').tabIndex = 0;
HookHover('u313', false);
u313.style.cursor = 'pointer';
$axure.eventManager.click('u313', function(e) {
if (true) {
rdo743(e);
}
});
gv_vAlignTable['u468'] = 'top';gv_vAlignTable['u530'] = 'top';gv_vAlignTable['u529'] = 'top';gv_vAlignTable['u62'] = 'top';gv_vAlignTable['u219'] = 'top';document.getElementById('u363_img').tabIndex = 0;
HookHover('u363', false);
u363.style.cursor = 'pointer';
$axure.eventManager.click('u363', function(e) {
if (true) {
rdo524(e);
}
});
document.getElementById('u298_img').tabIndex = 0;
HookHover('u298', false);
u298.style.cursor = 'pointer';
$axure.eventManager.click('u298', function(e) {
if (true) {
rdo897(e);
}
});
gv_vAlignTable['u448'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u377'] = 'top';gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u114'] = 'top';gv_vAlignTable['u169'] = 'top';gv_vAlignTable['u231'] = 'top';gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u187'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u245'] = 'top';gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u362'] = 'top';HookHover('u376', false);
gv_vAlignTable['u349'] = 'top';gv_vAlignTable['u506'] = 'top';gv_vAlignTable['u484'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u390'] = 'top';document.getElementById('u361_img').tabIndex = 0;
HookHover('u361', false);
u361.style.cursor = 'pointer';
$axure.eventManager.click('u361', function(e) {
if (true) {
rdo523(e);
}
});
gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u478'] = 'top';gv_vAlignTable['u207'] = 'top';gv_vAlignTable['u185'] = 'top';gv_vAlignTable['u40'] = 'top';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u243'] = 'top';gv_vAlignTable['u360'] = 'top';gv_vAlignTable['u257'] = 'top';gv_vAlignTable['u289'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u504'] = 'top';gv_vAlignTable['u482'] = 'top';document.getElementById('u323_img').tabIndex = 0;
HookHover('u323', false);
u323.style.cursor = 'pointer';
$axure.eventManager.click('u323', function(e) {
if (true) {
rdo748(e);
}
});
gv_vAlignTable['u96'] = 'top';document.getElementById('u344_img').tabIndex = 0;
HookHover('u344', false);
u344.style.cursor = 'pointer';
$axure.eventManager.click('u344', function(e) {
if (true) {
rdo637(e);
}
});
gv_vAlignTable['u291'] = 'top';gv_vAlignTable['u496'] = 'top';gv_vAlignTable['u337'] = 'top';gv_vAlignTable['u454'] = 'top';gv_vAlignTable['u205'] = 'top';gv_vAlignTable['u183'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u179'] = 'top';gv_vAlignTable['u141'] = 'top';gv_vAlignTable['u197'] = 'top';gv_vAlignTable['u517'] = 'top';gv_vAlignTable['u255'] = 'top';gv_vAlignTable['u128'] = 'top';document.getElementById('u288_img').tabIndex = 0;
HookHover('u288', false);
u288.style.cursor = 'pointer';
$axure.eventManager.click('u288', function(e) {
if (true) {
rdo891(e);
}
});
gv_vAlignTable['u398'] = 'top';document.getElementById('u359_img').tabIndex = 0;
HookHover('u359', false);
u359.style.cursor = 'pointer';
$axure.eventManager.click('u359', function(e) {
if (true) {
rdo522(e);
}
});
gv_vAlignTable['u480'] = 'top';gv_vAlignTable['u516'] = 'top';gv_vAlignTable['u494'] = 'top';gv_vAlignTable['u335'] = 'top';document.getElementById('u371_img').tabIndex = 0;
HookHover('u371', false);
u371.style.cursor = 'pointer';
$axure.eventManager.click('u371', function(e) {
if (true) {
rdo528(e);
}
});
gv_vAlignTable['u466'] = 'top';gv_vAlignTable['u203'] = 'top';gv_vAlignTable['u181'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u4'] = 'top';gv_vAlignTable['u217'] = 'top';gv_vAlignTable['u195'] = 'top';gv_vAlignTable['u225'] = 'top';document.getElementById('u334_img').tabIndex = 0;
HookHover('u334', false);
u334.style.cursor = 'pointer';
$axure.eventManager.click('u334', function(e) {
if (true) {
rdo633(e);
}
});
gv_vAlignTable['u153'] = 'top';
|
JavaScript
|
for(var i = 0; i < 530; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u52');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u488'] = 'center';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u514'] = 'center';gv_vAlignTable['u492'] = 'center';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u450'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u464'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u436'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u462'] = 'top';gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u476'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u286'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u300'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u410'] = 'top';gv_vAlignTable['u186'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u460'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u474'] = 'top';gv_vAlignTable['u528'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u518'] = 'top';gv_vAlignTable['u512'] = 'center';gv_vAlignTable['u356'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u490'] = 'center';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u526'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';gv_vAlignTable['u466'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u438'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u434'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u470'] = 'top';gv_vAlignTable['u472'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u500'] = 'center';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u496'] = 'center';gv_vAlignTable['u446'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u502'] = 'center';gv_vAlignTable['u392'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u444'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u510'] = 'center';gv_vAlignTable['u28'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u524'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u498'] = 'center';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u384'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u442'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u456'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u520'] = 'top';gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u354'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';gv_vAlignTable['u458'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u336'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u394'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u270'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'top';gv_vAlignTable['u322'] = 'top';gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u228'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u508'] = 'center';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u468'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u448'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u376'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u506'] = 'center';gv_vAlignTable['u484'] = 'center';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u390'] = 'top';gv_vAlignTable['u396'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u478'] = 'center';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u479'] = 'top';gv_vAlignTable['u360'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u504'] = 'center';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u344'] = 'top';gv_vAlignTable['u486'] = 'center';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u454'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u516'] = 'top';gv_vAlignTable['u494'] = 'center';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u308'] = 'top';gv_vAlignTable['u452'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u334'] = 'top';
|
JavaScript
|
for(var i = 0; i < 350; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u65');
SetWidgetSelected('u11');
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u333'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'center';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'center';document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u318'] = 'center';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'center';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u326'] = 'center';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'center';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u283'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u279'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'center';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'center';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u281'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u302'] = 'center';gv_vAlignTable['u316'] = 'center';gv_vAlignTable['u294'] = 'center';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'center';gv_vAlignTable['u292'] = 'center';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u277'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u322'] = 'center';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u275'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'center';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u156'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u273'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'center';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'center';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u232'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u312'] = 'center';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u28'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u300'] = 'center';gv_vAlignTable['u186'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'center';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'center';gv_vAlignTable['u324'] = 'center';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u344'] = 'top';gv_vAlignTable['u337'] = 'top';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'center';gv_vAlignTable['u334'] = 'top';
|
JavaScript
|
for(var i = 0; i < 0; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
|
JavaScript
|
for(var i = 0; i < 94; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
});
gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u25'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u46'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u62'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u7'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u92'] = 'top';gv_vAlignTable['u60'] = 'top';gv_vAlignTable['u34'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u58'] = 'top';gv_vAlignTable['u40'] = 'top';
u2.style.cursor = 'pointer';
$axure.eventManager.click('u2', function(e) {
if (true) {
parent.window.close();
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u52'] = 'top';gv_vAlignTable['u3'] = 'top';gv_vAlignTable['u90'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u20'] = 'top';gv_vAlignTable['u50'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u54'] = 'top';gv_vAlignTable['u31'] = 'top';gv_vAlignTable['u56'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u5'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u9'] = 'top';gv_vAlignTable['u42'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u48'] = 'top';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u88'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u44'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u29'] = 'top';
|
JavaScript
|
// use this to isolate the scope
(function () {
var SHOW_HIDE_ANIMATION_DURATION = 0;
$(document).ready(function () {
$axure.player.createPluginHost({
id: 'sitemapHost',
context: 'interface',
title: 'Sitemap'
});
generateSitemap();
$('.sitemapPlusMinusLink').toggle(collapse_click, expand_click);
$('.sitemapPageLink').click(node_click);
$('#sitemapLinksAndOptionsContainer').hide();
$('#sitemapToggleLinks').click(links_click);
$('.sitemapLinkField').click(function () { this.select() });
// $('#sitemapHost').parent().resize(function () {
// $('#sitemapHost').height($(this).height());
// });
// bind to the page load
$axure.page.bind('load.sitemap', function () {
var pageLoc = $axure.page.location.split("#")[0];
var decodedPageLoc = decodeURI(pageLoc);
var nodeUrl = decodedPageLoc.substr(decodedPageLoc.lastIndexOf('/') ? decodedPageLoc.lastIndexOf('/') + 1 : 0);
$('.sitemapPageLink').removeClass('sitemapHighlight');
$('.sitemapPageLink[nodeUrl="' + nodeUrl + '"]').addClass('sitemapHighlight');
$('#sitemapLinksPageName').html('Links to ' + $('.sitemapHighlight > .sitemapPageName').html());
var playerLoc = $(location).attr('href').split("#")[0].split("?")[0];
var qString = "?Page=" + nodeUrl.substr(0, nodeUrl.lastIndexOf('.'));
$('#sitemapLinkWithPlayer').val(playerLoc + qString);
$('#sitemapLinkWithoutPlayer').val(pageLoc);
$('#sitemapClosePlayer').unbind('click');
$('#sitemapClosePlayer').click(function () { window.location.href = pageLoc; });
return false;
});
});
function collapse_click(event) {
$(this)
.children('.sitemapMinus').removeClass('sitemapMinus').addClass('sitemapPlus').end()
.closest('li').children('ul').hide(SHOW_HIDE_ANIMATION_DURATION);
}
function expand_click(event) {
$(this)
.children('.sitemapPlus').removeClass('sitemapPlus').addClass('sitemapMinus').end()
.closest('li').children('ul').show(SHOW_HIDE_ANIMATION_DURATION);
}
function node_click(event) {
var preserveVars = !$('#sitemapVariableOption').is(':checked');
$axure.page.navigate(this.getAttribute('nodeUrl'), preserveVars);
}
function links_click(event) {
$('#sitemapLinksAndOptionsContainer').toggle();
if ($('#sitemapLinksAndOptionsContainer').is(":visible")) {
$('#sitemapToggleLinks').html('Hide Links and Options');
} else {
$('#sitemapToggleLinks').html('Show Links and Options');
}
}
function generateSitemap() {
var treeUl = "<div id='sitemapTreeContainer'>";
treeUl += "<div class='sitemapToolbar'><a id='sitemapToggleLinks' class='sitemapToolbarButton'>Show Links and Options</a><div id='sitemapLinksAndOptionsContainer'>";
treeUl += "<div id='sitemapLinksContainer'><span id='sitemapLinksPageName'>Page Name</span>";
treeUl += "<div class='sitemapLinkContainer'><span class='sitemapLinkLabel'>with sitemap</span><input id='sitemapLinkWithPlayer' type='text' class='sitemapLinkField'/></div>";
treeUl += "<div class='sitemapLinkContainer'><span class='sitemapLinkLabel'>without sitemap - </span><a id='sitemapClosePlayer'>link</a><input id='sitemapLinkWithoutPlayer' type='text' class='sitemapLinkField'/></div></div>";
treeUl += "<div id='sitemapOptionsContainer'><span id='sitemapOptionsHeader'>Variable Options</span>";
treeUl += "<div class='sitemapOptionContainer'><input id='sitemapVariableOption' type='checkbox' value='checkbox' /><label id='sitemapVariableOptionLabel' for='sitemapVariableOption'><span class='optionLabel'>Sitemap links clear variables</span></label></div></div>";
treeUl += "</div></div>";
treeUl += "<ul class='sitemapTree'>";
var rootNodes = sitemap.rootNodes;
for (var i = 0; i < rootNodes.length; i++) {
treeUl += generateNode(rootNodes[i]);
}
treeUl += "</ul></div>";
$('#sitemapHost').html(treeUl);
}
function generateNode(node) {
var hasChildren = (node.children && node.children.length > 0);
if (hasChildren) {
var returnVal = "<li class='sitemapNode sitemapExpandableNode'><div><a class='sitemapPlusMinusLink'><span class='sitemapMinus'></span></a>";
} else {
var returnVal = "<li class='sitemapNode sitemapLeafNode'><div>";
}
returnVal += "<a class='sitemapPageLink' nodeUrl='" + node.url + "'><span class='sitemapPageIcon";
if (node.type == "Flow") { returnVal += " sitemapFlowIcon"; }
returnVal += "'></span><span class='sitemapPageName'>"
returnVal += $('<div/>').text(node.pageName).html();
returnVal += "</span></a></div>";
if (hasChildren) {
returnVal += "<ul>";
for (var i = 0; i < node.children.length; i++) {
var child = node.children[i];
returnVal += generateNode(child);
}
returnVal += "</ul>";
}
returnVal += "</li>";
return returnVal;
}
})();
|
JavaScript
|
// use this to isolate the scope
(function () {
if (!window.configuration.showPageNotes) { return; }
$(document).ready(function () {
$axure.player.createPluginHost({
id: 'pageNotesHost',
context: 'interface',
title: 'Page Notes'
});
generatePageNotes();
// bind to the page load
$axure.page.bind('load.page_notes', function () {
$('#pageNameHeader').html("");
$('#pageNotesContent').html("");
//populate the notes
var notes = $axure.page.notes;
if (notes) {
var pageName = $axure.page.pageName;
$('#pageNameHeader').html(pageName);
var showNames = window.configuration.showPageNoteNames;
for (var noteName in notes) {
if (showNames) {
$('#pageNotesContent').append("<div class='pageNoteName'>" + noteName + "</div>");
}
$('#pageNotesContent').append("<div class='pageNote'>" + notes[noteName] + "</div>");
}
}
return false;
});
});
function generatePageNotes() {
var pageNotesUi = "<div id='pageNotesScrollContainer'>";
pageNotesUi += "<div id='pageNotesContainer'>";
pageNotesUi += "<div id='pageNameHeader'></div>";
pageNotesUi += "<span id='pageNotesContent'></span>";
pageNotesUi += "</div></div>";
$('#pageNotesHost').html(pageNotesUi);
}
})();
|
JavaScript
|
for(var i = 0; i < 115; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u7');
SetWidgetSelected('u109');
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u95'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u55'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u38'] = 'top';document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u84'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u8'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u34'] = 'top';HookHover('u111', false);
gv_vAlignTable['u64'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u49'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u51'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u36'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u66'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u2'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u22'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u43'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
HookHover('u109', false);
document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u101'] = 'top';document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u14'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u103'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u26'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u105'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u82'] = 'top';document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u72'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u74'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u59'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u91'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
|
JavaScript
|
for(var i = 0; i < 355; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u46');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u150'] = 'top';document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u318'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u330'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u326'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u176'] = 'top';gv_vAlignTable['u55'] = 'top';HookHover('u111', false);
gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u186'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u343'] = 'top';gv_vAlignTable['u99'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u51'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';gv_vAlignTable['u345'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u43'] = 'top';gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u341'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u272'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u232'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u312'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u339'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u351'] = 'top';gv_vAlignTable['u270'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u300'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u226'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u115'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u324'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u337'] = 'top';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u322'] = 'top';
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u335'] = 'top';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u334'] = 'center';
|
JavaScript
|
for(var i = 0; i < 577; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }
$axure.eventManager.pageLoad(
function (e) {
if (true) {
SetWidgetSelected('u13');
SetWidgetSelected('u42');
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
}
});
function rdo431(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo432(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_2请假管理.html'), "");
}
}
function rdo433(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_3产假管理.html'), "");
}
}
function rdo434(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_4停工待料管理.html'), "");
}
}
function rdo435(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_5因工外出管理.html'), "");
}
}
function rdo436(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_6排班方案管理.html'), "");
}
}
function rdo437(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_7打卡时间管理.html'), "");
}
}
function rdo438(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_8倒班管理.html'), "");
}
}
function rdo439(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_9员工考勤生成.html'), "");
}
}
function rdo4310(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_10员工考勤查询.html'), "");
}
}
function rdo4311(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_11考勤自定义编辑.html'), "");
}
}
function rdo4312(e) {
if (true) {
parent.window.close();
NewTab('#', "");
}
}
function rdo4313(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_13忘打卡管理.html'), "");
}
}
function rdo691(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo692(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_2_会计期间管理.html'), "");
}
}
function rdo693(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_3_DAY全年初始化.html'), "");
}
}
function rdo694(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_4_连续工作时间管理.html'), "");
}
}
function rdo695(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_5_法定假日设置.html'), "");
}
}
function rdo696(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_6_全年总工时控制.html'), "");
}
}
function rdo697(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_7_公司年假方式设置.html'), "");
}
}
function rdo698(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_8_工资表结构设置-重复了.html'), "");
}
}
function rdo699(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_9_系统权限设置.html'), "");
}
}
function rdo6999(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_99_系统参数设置.html'), "");
}
}
function rdo11(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
}
function rdo12(e) {
if (true) {
SetPanelState('u18', 'pd1u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo13(e) {
if (true) {
SetPanelState('u18', 'pd2u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
}
function rdo14(e) {
if (true) {
SetPanelState('u18', 'pd3u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo15(e) {
}
function rdo19(e) {
if (true) {
SetPanelState('u18', 'pd4u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
}
function rdo321(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
}
function rdo322(e) {
if (true) {
NewTab($axure.globalVariableProvider.getLinkUrl('2_2_新增员工档案.html'), "");
parent.window.close();
}
}
function rdo323(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_3_未成年工档案管理.html'), "");
}
}
function rdo324(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_4_公司组织结构管理.html'), "");
}
}
function rdo325(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_5_岗位工种管理.html'), "");
}
}
function rdo326(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_6_员工离职管理.html'), "");
}
}
function rdo327(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_7_体检记录管理.html'), "");
}
}
function rdo328(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_8_员工合同管理.html'), "");
}
}
function rdo541(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
}
function rdo542(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_2工资表结构设置.html'), "");
}
}
function rdo543(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_3动态数据源管理.html'), "");
}
}
function rdo544(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_4每月工资运算管理.html'), "");
}
}
function rdo545(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_5每月工资表查询.html'), "");
}
}
function rdo546(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_6离职工资管理.html'), "");
}
}
function rdo547(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_7银行对帐单格式定义.html'), "");
}
}
function rdo548(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_8银行对帐单查询.html'), "");
}
}
function rdo549(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_9保险种类管理.html'), "");
}
}
gv_vAlignTable['u370'] = 'top';gv_vAlignTable['u488'] = 'center';gv_vAlignTable['u36'] = 'top';gv_vAlignTable['u438'] = 'top';gv_vAlignTable['u400'] = 'top';gv_vAlignTable['u216'] = 'top';gv_vAlignTable['u194'] = 'top';gv_vAlignTable['u514'] = 'center';gv_vAlignTable['u492'] = 'center';gv_vAlignTable['u72'] = 'top';gv_vAlignTable['u569'] = 'top';gv_vAlignTable['u97'] = 'top';gv_vAlignTable['u152'] = 'top';gv_vAlignTable['u486'] = 'center';gv_vAlignTable['u78'] = 'top';gv_vAlignTable['u298'] = 'top';gv_vAlignTable['u464'] = 'center';gv_vAlignTable['u526'] = 'center';gv_vAlignTable['u1'] = 'center';gv_vAlignTable['u43'] = 'top';document.getElementById('u11_img').tabIndex = 0;
HookHover('u11', false);
u11.style.cursor = 'pointer';
$axure.eventManager.click('u11', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '3');
SetWidgetSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo13(e);
}
});
gv_vAlignTable['u126'] = 'top';gv_vAlignTable['u332'] = 'top';gv_vAlignTable['u202'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u138'] = 'top';document.getElementById('u100_img').tabIndex = 0;
HookHover('u100', false);
u100.style.cursor = 'pointer';
$axure.eventManager.click('u100', function(e) {
if (true) {
rdo326(e);
}
});
document.getElementById('u54_img').tabIndex = 0;
HookHover('u54', false);
u54.style.cursor = 'pointer';
$axure.eventManager.click('u54', function(e) {
if (true) {
rdo547(e);
}
});
gv_vAlignTable['u302'] = 'top';gv_vAlignTable['u236'] = 'top';gv_vAlignTable['u214'] = 'top';gv_vAlignTable['u192'] = 'top';document.getElementById('u67_img').tabIndex = 0;
HookHover('u67', false);
u67.style.cursor = 'pointer';
$axure.eventManager.click('u67', function(e) {
if (true) {
rdo433(e);
}
});
gv_vAlignTable['u390'] = 'top';gv_vAlignTable['u150'] = 'top';gv_vAlignTable['u436'] = 'top';gv_vAlignTable['u426'] = 'top';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u80'] = 'top';gv_vAlignTable['u462'] = 'center';gv_vAlignTable['u346'] = 'top';gv_vAlignTable['u476'] = 'center';gv_vAlignTable['u412'] = 'top';gv_vAlignTable['u449'] = 'top';gv_vAlignTable['u330'] = 'top';gv_vAlignTable['u176'] = 'top';document.getElementById('u42_img').tabIndex = 0;
HookHover('u42', false);
u42.style.cursor = 'pointer';
$axure.eventManager.click('u42', function(e) {
if (true) {
rdo542(e);
}
});
gv_vAlignTable['u344'] = 'top';gv_vAlignTable['u326'] = 'top';gv_vAlignTable['u318'] = 'top';document.getElementById('u37_img').tabIndex = 0;
HookHover('u37', false);
u37.style.cursor = 'pointer';
$axure.eventManager.click('u37', function(e) {
if (true) {
rdo6999(e);
}
});
gv_vAlignTable['u93'] = 'top';gv_vAlignTable['u112'] = 'top';gv_vAlignTable['u410'] = 'top';gv_vAlignTable['u186'] = 'top';document.getElementById('u50_img').tabIndex = 0;
HookHover('u50', false);
u50.style.cursor = 'pointer';
$axure.eventManager.click('u50', function(e) {
if (true) {
rdo545(e);
}
});
gv_vAlignTable['u424'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u162'] = 'top';gv_vAlignTable['u460'] = 'center';document.getElementById('u79_img').tabIndex = 0;
HookHover('u79', false);
u79.style.cursor = 'pointer';
$axure.eventManager.click('u79', function(e) {
if (true) {
rdo438(e);
}
});
gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u474'] = 'center';gv_vAlignTable['u528'] = 'center';HookHover('u111', false);
gv_vAlignTable['u306'] = 'top';gv_vAlignTable['u284'] = 'top';gv_vAlignTable['u342'] = 'top';gv_vAlignTable['u518'] = 'center';gv_vAlignTable['u512'] = 'center';gv_vAlignTable['u356'] = 'top';document.getElementById('u63_img').tabIndex = 0;
HookHover('u63', false);
u63.style.cursor = 'pointer';
$axure.eventManager.click('u63', function(e) {
if (true) {
rdo431(e);
}
});
gv_vAlignTable['u148'] = 'top';gv_vAlignTable['u110'] = 'top';gv_vAlignTable['u348'] = 'top';gv_vAlignTable['u124'] = 'top';gv_vAlignTable['u516'] = 'center';gv_vAlignTable['u422'] = 'top';gv_vAlignTable['u38'] = 'top';gv_vAlignTable['u160'] = 'top';gv_vAlignTable['u8'] = 'top';gv_vAlignTable['u573'] = 'top';gv_vAlignTable['u49'] = 'top';document.getElementById('u25_img').tabIndex = 0;
HookHover('u25', false);
u25.style.cursor = 'pointer';
$axure.eventManager.click('u25', function(e) {
if (true) {
rdo693(e);
}
});
document.getElementById('u81_img').tabIndex = 0;
HookHover('u81', false);
u81.style.cursor = 'pointer';
$axure.eventManager.click('u81', function(e) {
if (true) {
rdo439(e);
}
});
gv_vAlignTable['u553'] = 'top';gv_vAlignTable['u228'] = 'top';gv_vAlignTable['u136'] = 'top';gv_vAlignTable['u567'] = 'top';gv_vAlignTable['u304'] = 'top';gv_vAlignTable['u282'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u252'] = 'top';gv_vAlignTable['u278'] = 'top';gv_vAlignTable['u240'] = 'top';gv_vAlignTable['u296'] = 'top';document.getElementById('u33_img').tabIndex = 0;
HookHover('u33', false);
u33.style.cursor = 'pointer';
$axure.eventManager.click('u33', function(e) {
if (true) {
rdo695(e);
}
});
gv_vAlignTable['u408'] = 'top';gv_vAlignTable['u552'] = 'top';gv_vAlignTable['u290'] = 'top';gv_vAlignTable['u99'] = 'top';gv_vAlignTable['u12'] = 'top';document.getElementById('u94_img').tabIndex = 0;
HookHover('u94', false);
u94.style.cursor = 'pointer';
$axure.eventManager.click('u94', function(e) {
if (true) {
rdo323(e);
}
});
gv_vAlignTable['u122'] = 'top';gv_vAlignTable['u358'] = 'top';gv_vAlignTable['u420'] = 'top';gv_vAlignTable['u268'] = 'top';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u434'] = 'top';HookHover('u109', false);
gv_vAlignTable['u172'] = 'top';gv_vAlignTable['u470'] = 'center';gv_vAlignTable['u472'] = 'center';gv_vAlignTable['u565'] = 'top';document.getElementById('u46_img').tabIndex = 0;
HookHover('u46', false);
u46.style.cursor = 'pointer';
$axure.eventManager.click('u46', function(e) {
if (true) {
rdo543(e);
}
});
gv_vAlignTable['u280'] = 'top';gv_vAlignTable['u500'] = 'center';gv_vAlignTable['u490'] = 'center';gv_vAlignTable['u316'] = 'top';gv_vAlignTable['u294'] = 'top';gv_vAlignTable['u274'] = 'top';gv_vAlignTable['u550'] = 'top';gv_vAlignTable['u447'] = 'top';gv_vAlignTable['u386'] = 'top';gv_vAlignTable['u266'] = 'top';gv_vAlignTable['u64'] = 'top';gv_vAlignTable['u120'] = 'top';gv_vAlignTable['u2'] = 'top';document.getElementById('u21_img').tabIndex = 0;
HookHover('u21', false);
u21.style.cursor = 'pointer';
$axure.eventManager.click('u21', function(e) {
if (true) {
rdo691(e);
}
});
gv_vAlignTable['u134'] = 'top';gv_vAlignTable['u432'] = 'top';gv_vAlignTable['u170'] = 'top';gv_vAlignTable['u82'] = 'top';gv_vAlignTable['u16'] = 'top';gv_vAlignTable['u238'] = 'top';gv_vAlignTable['u200'] = 'top';gv_vAlignTable['u561'] = 'top';gv_vAlignTable['u314'] = 'top';gv_vAlignTable['u292'] = 'top';document.getElementById('u77_img').tabIndex = 0;
HookHover('u77', false);
u77.style.cursor = 'pointer';
$axure.eventManager.click('u77', function(e) {
if (true) {
rdo437(e);
}
});
gv_vAlignTable['u250'] = 'top';document.getElementById('u58_img').tabIndex = 0;
HookHover('u58', false);
u58.style.cursor = 'pointer';
$axure.eventManager.click('u58', function(e) {
if (true) {
rdo549(e);
}
});
gv_vAlignTable['u34'] = 'top';document.getElementById('u90_img').tabIndex = 0;
HookHover('u90', false);
u90.style.cursor = 'pointer';
$axure.eventManager.click('u90', function(e) {
if (true) {
rdo321(e);
}
});
gv_vAlignTable['u164'] = 'top';gv_vAlignTable['u95'] = 'top';gv_vAlignTable['u368'] = 'top';gv_vAlignTable['u430'] = 'top';gv_vAlignTable['u146'] = 'top';document.getElementById('u52_img').tabIndex = 0;
HookHover('u52', false);
u52.style.cursor = 'pointer';
$axure.eventManager.click('u52', function(e) {
if (true) {
rdo546(e);
}
});
document.getElementById('u48_img').tabIndex = 0;
HookHover('u48', false);
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {
if (true) {
rdo544(e);
}
});
gv_vAlignTable['u482'] = 'center';gv_vAlignTable['u388'] = 'top';gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u548'] = 'top';gv_vAlignTable['u212'] = 'top';gv_vAlignTable['u190'] = 'top';gv_vAlignTable['u510'] = 'center';gv_vAlignTable['u226'] = 'top';
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
$axure.eventManager.click('u60', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('4_1静态数据源管理.html'), "");
}
});
gv_vAlignTable['u524'] = 'center';gv_vAlignTable['u443'] = 'top';gv_vAlignTable['u118'] = 'top';gv_vAlignTable['u262'] = 'top';gv_vAlignTable['u254'] = 'top';gv_vAlignTable['u286'] = 'top';gv_vAlignTable['u498'] = 'center';gv_vAlignTable['u276'] = 'top';document.getElementById('u65_img').tabIndex = 0;
HookHover('u65', false);
u65.style.cursor = 'pointer';
$axure.eventManager.click('u65', function(e) {
if (true) {
rdo432(e);
}
});
gv_vAlignTable['u130'] = 'top';document.getElementById('u85_img').tabIndex = 0;
HookHover('u85', false);
u85.style.cursor = 'pointer';
$axure.eventManager.click('u85', function(e) {
if (true) {
rdo4311(e);
}
});
gv_vAlignTable['u406'] = 'top';gv_vAlignTable['u384'] = 'top';gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u144'] = 'top';gv_vAlignTable['u442'] = 'center';document.getElementById('u73_img').tabIndex = 0;
HookHover('u73', false);
u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', function(e) {
if (true) {
rdo4313(e);
}
});
gv_vAlignTable['u248'] = 'top';gv_vAlignTable['u210'] = 'top';document.getElementById('u44_img').tabIndex = 0;
HookHover('u44', false);
u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {
if (true) {
rdo541(e);
}
});
gv_vAlignTable['u30'] = 'top';gv_vAlignTable['u224'] = 'top';gv_vAlignTable['u260'] = 'top';document.getElementById('u9_img').tabIndex = 0;
HookHover('u9', false);
u9.style.cursor = 'pointer';
$axure.eventManager.click('u9', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '2');
SetWidgetSelected('u9');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u15');
rdo12(e);
}
});
gv_vAlignTable['u59'] = 'top';document.getElementById('u35_img').tabIndex = 0;
HookHover('u35', false);
u35.style.cursor = 'pointer';
$axure.eventManager.click('u35', function(e) {
if (true) {
rdo699(e);
}
});
gv_vAlignTable['u91'] = 'top';gv_vAlignTable['u328'] = 'top';
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
$axure.eventManager.click('u106', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('2_1_基本员工档案管理.html'), "");
}
});
gv_vAlignTable['u520'] = 'center';gv_vAlignTable['u404'] = 'top';gv_vAlignTable['u382'] = 'top';gv_vAlignTable['u559'] = 'top';gv_vAlignTable['u142'] = 'top';gv_vAlignTable['u378'] = 'top';gv_vAlignTable['u340'] = 'top';gv_vAlignTable['u396'] = 'top';gv_vAlignTable['u156'] = 'top';gv_vAlignTable['u188'] = 'top';gv_vAlignTable['u354'] = 'top';gv_vAlignTable['u571'] = 'top';gv_vAlignTable['u105'] = 'top';gv_vAlignTable['u222'] = 'top';document.getElementById('u29_img').tabIndex = 0;
HookHover('u29', false);
u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {
if (true) {
rdo696(e);
}
});
gv_vAlignTable['u534'] = 'center';gv_vAlignTable['u272'] = 'top';gv_vAlignTable['u402'] = 'top';gv_vAlignTable['u336'] = 'top';document.getElementById('u104_img').tabIndex = 0;
HookHover('u104', false);
u104.style.cursor = 'pointer';
$axure.eventManager.click('u104', function(e) {
if (true) {
rdo328(e);
}
});
gv_vAlignTable['u308'] = 'top';document.getElementById('u56_img').tabIndex = 0;
HookHover('u56', false);
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {
if (true) {
rdo548(e);
}
});
gv_vAlignTable['u380'] = 'top';gv_vAlignTable['u86'] = 'top';gv_vAlignTable['u166'] = 'top';gv_vAlignTable['u416'] = 'top';gv_vAlignTable['u394'] = 'top';document.getElementById('u13_img').tabIndex = 0;
HookHover('u13', false);
u13.style.cursor = 'pointer';
$axure.eventManager.click('u13', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '4');
SetWidgetSelected('u13');
SetWidgetNotSelected('u7');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u15');
rdo14(e);
}
});
gv_vAlignTable['u208'] = 'top';gv_vAlignTable['u312'] = 'top';gv_vAlignTable['u418'] = 'top';gv_vAlignTable['u366'] = 'top';document.getElementById('u98_img').tabIndex = 0;
HookHover('u98', false);
u98.style.cursor = 'pointer';
$axure.eventManager.click('u98', function(e) {
if (true) {
rdo325(e);
}
});
gv_vAlignTable['u103'] = 'top';gv_vAlignTable['u158'] = 'top';gv_vAlignTable['u220'] = 'top';gv_vAlignTable['u445'] = 'top';document.getElementById('u31_img').tabIndex = 0;
HookHover('u31', false);
u31.style.cursor = 'pointer';
$axure.eventManager.click('u31', function(e) {
if (true) {
rdo697(e);
}
});
gv_vAlignTable['u234'] = 'top';gv_vAlignTable['u532'] = 'center';gv_vAlignTable['u270'] = 'top';gv_vAlignTable['u28'] = 'top';gv_vAlignTable['u546'] = 'top';document.getElementById('u92_img').tabIndex = 0;
HookHover('u92', false);
u92.style.cursor = 'pointer';
$axure.eventManager.click('u92', function(e) {
if (true) {
rdo322(e);
}
});
document.getElementById('u102_img').tabIndex = 0;
HookHover('u102', false);
u102.style.cursor = 'pointer';
$axure.eventManager.click('u102', function(e) {
if (true) {
rdo327(e);
}
});
gv_vAlignTable['u338'] = 'top';gv_vAlignTable['u300'] = 'top';gv_vAlignTable['u414'] = 'top';gv_vAlignTable['u392'] = 'top';
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
$axure.eventManager.click('u87', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('3_1_员工年假表管理.html'), "");
}
});
gv_vAlignTable['u350'] = 'top';gv_vAlignTable['u508'] = 'center';gv_vAlignTable['u68'] = 'top';gv_vAlignTable['u198'] = 'top';gv_vAlignTable['u364'] = 'top';gv_vAlignTable['u101'] = 'top';gv_vAlignTable['u115'] = 'top';gv_vAlignTable['u232'] = 'top';gv_vAlignTable['u468'] = 'center';gv_vAlignTable['u530'] = 'center';gv_vAlignTable['u246'] = 'top';gv_vAlignTable['u466'] = 'top';gv_vAlignTable['u132'] = 'top';gv_vAlignTable['u372'] = 'top';gv_vAlignTable['u57'] = 'top';gv_vAlignTable['u180'] = 'top';gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u522'] = 'center';gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u218'] = 'top';gv_vAlignTable['u362'] = 'top';gv_vAlignTable['u557'] = 'top';gv_vAlignTable['u376'] = 'top';document.getElementById('u75_img').tabIndex = 0;
HookHover('u75', false);
u75.style.cursor = 'pointer';
$axure.eventManager.click('u75', function(e) {
if (true) {
rdo436(e);
}
});
gv_vAlignTable['u352'] = 'top';gv_vAlignTable['u168'] = 'top';gv_vAlignTable['u230'] = 'top';gv_vAlignTable['u506'] = 'center';gv_vAlignTable['u484'] = 'center';gv_vAlignTable['u32'] = 'top';gv_vAlignTable['u244'] = 'top';gv_vAlignTable['u538'] = 'top';gv_vAlignTable['u575'] = 'top';gv_vAlignTable['u502'] = 'center';document.getElementById('u27_img').tabIndex = 0;
HookHover('u27', false);
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {
if (true) {
rdo694(e);
}
});
document.getElementById('u83_img').tabIndex = 0;
HookHover('u83', false);
u83.style.cursor = 'pointer';
$axure.eventManager.click('u83', function(e) {
if (true) {
rdo4310(e);
}
});
gv_vAlignTable['u310'] = 'top';gv_vAlignTable['u478'] = 'center';gv_vAlignTable['u360'] = 'top';document.getElementById('u69_img').tabIndex = 0;
HookHover('u69', false);
u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', function(e) {
if (true) {
rdo434(e);
}
});
gv_vAlignTable['u555'] = 'top';gv_vAlignTable['u45'] = 'top';gv_vAlignTable['u374'] = 'top';gv_vAlignTable['u428'] = 'top';gv_vAlignTable['u536'] = 'top';gv_vAlignTable['u206'] = 'top';gv_vAlignTable['u184'] = 'top';gv_vAlignTable['u504'] = 'center';gv_vAlignTable['u242'] = 'top';document.getElementById('u96_img').tabIndex = 0;
HookHover('u96', false);
u96.style.cursor = 'pointer';
$axure.eventManager.click('u96', function(e) {
if (true) {
rdo324(e);
}
});
gv_vAlignTable['u440'] = 'top';gv_vAlignTable['u496'] = 'center';gv_vAlignTable['u256'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u174'] = 'top';gv_vAlignTable['u10'] = 'top';gv_vAlignTable['u322'] = 'top';document.getElementById('u7_img').tabIndex = 0;
HookHover('u7', false);
u7.style.cursor = 'pointer';
$axure.eventManager.click('u7', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '1');
SetWidgetSelected('u7');
SetWidgetNotSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
rdo11(e);
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
$axure.eventManager.click('u39', function(e) {
if (true) {
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('9_1_员工档案格式设置.html'), "");
}
});
document.getElementById('u71_img').tabIndex = 0;
HookHover('u71', false);
u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', function(e) {
if (true) {
rdo435(e);
}
});
document.getElementById('u15_img').tabIndex = 0;
HookHover('u15', false);
u15.style.cursor = 'pointer';
$axure.eventManager.click('u15', function(e) {
if (true) {
SetGlobalVariableValue('CurrentType', '9');
SetWidgetSelected('u15');
SetWidgetNotSelected('u13');
SetWidgetNotSelected('u11');
SetWidgetNotSelected('u9');
SetWidgetNotSelected('u7');
rdo19(e);
}
});
gv_vAlignTable['u453'] = 'top';gv_vAlignTable['u128'] = 'top';gv_vAlignTable['u288'] = 'top';gv_vAlignTable['u543'] = 'top';gv_vAlignTable['u398'] = 'top';gv_vAlignTable['u204'] = 'top';gv_vAlignTable['u182'] = 'top';gv_vAlignTable['u66'] = 'top';gv_vAlignTable['u480'] = 'center';gv_vAlignTable['u178'] = 'top';gv_vAlignTable['u140'] = 'top';gv_vAlignTable['u196'] = 'top';gv_vAlignTable['u494'] = 'center';document.getElementById('u23_img').tabIndex = 0;
HookHover('u23', false);
u23.style.cursor = 'pointer';
$axure.eventManager.click('u23', function(e) {
if (true) {
rdo692(e);
}
});
gv_vAlignTable['u154'] = 'top';gv_vAlignTable['u264'] = 'top';
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
$axure.eventManager.click('u17', function(e) {
if (true) {
SetPanelState('u18', 'pd0u18','none','',500,'none','',500);
parent.window.close();
NewTab($axure.globalVariableProvider.getLinkUrl('1_1首页.html'), "");
}
});
gv_vAlignTable['u84'] = 'top';gv_vAlignTable['u258'] = 'top';gv_vAlignTable['u320'] = 'top';gv_vAlignTable['u563'] = 'top';gv_vAlignTable['u334'] = 'top';gv_vAlignTable['u324'] = 'top';gv_vAlignTable['u451'] = 'top';
|
JavaScript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.