亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? topflow.js

?? vml 資料,安例精彩,希望對大家有幫助
?? JS
?? 第 1 頁 / 共 3 頁
字號:
/*--------------------------------------------------|
| 本作品取得原作者授權修改自 support@tops.com.cn    |
| 的作品topflow                                     |
|                                                   |
| 本文件是CommitFlow的最核心文件,定義了設計器用到的|
| 各種對象類,以及各種類的方法、屬性等,請勿更改此  |
| 文件!                                            |
|                                                   |
| 版權歸上海雪線信息技術有限公司所有,              |
| 技術支持:sales@shcommit.com (僅對付費用戶)     |
| 網    站:www.shcommit.com                        |
|                                                   |
| 請勿私自拷貝、修改或用于商業用途                  |
| 敬請保留本注釋.                                   |
|                                                   |
| Updated: 20070613                                 |
|--------------------------------------------------*/

//const

//[任務]類定義
function TProc(AFlow,id){
  this.ObjType = "Proc";
  this.Flow = AFlow;
  this.ID = id;
  if(this.ID == undefined) this.ID = this.Flow.getMaxProcID();
  this.Text = "新建" + this.ID;
  this.ShapeType = "RoundRect";
  this.ProcType = "NormalProc";
  this.Width = "50";
  this.Height = "50";
  this.X = "50";
  this.Y = "50";
  this.TextWeight = "9pt";
  this.StrokeWeight = "1";
  this.zIndex = 1;
  this.InnerObject = null;
  this.MoveType = "";
  
  //新增
  this.actFlag = "";
  this.waittime = "";
  this.isSltTrans = "1";
  this.isSameCredit = "1";
}

TProc.prototype.getInnerObject = function(){
  if(this.InnerObject == null) this.InnerObject = document.all(this.ID);
  return this.InnerObject;
}

TProc.prototype.setFocus = function(){
  this.getInnerObject.StrokeColor = this.Flow.Config.ProcFocusedStrokeColor;
}

TProc.prototype.lostFocus = function(){
  this.getInnerObject.StrokeColor = (this.ProcType == "NormalProc")?this.Flow.Config.ProcColor:this.Flow.Config._ProcColor;
}

TProc.prototype.doClick = function(){
  this.Flow.selectObject(this.ID, "Proc");
}

TProc.prototype.mouseDown = function(){
  var rightSide = (parseInt(this.X) + parseInt(this.Width) - event.x <= 2);
  var bottomSide = (parseInt(this.Y) + parseInt(this.Height) - event.y <= 2);
  if(rightSide && bottomSide)
    this.MoveType = "nw";
  else if(rightSide)
    this.MoveType = "e";
  else if(bottomSide)
    this.MoveType = "n";
  else
    this.MoveType = "m";
  this.getInnerObject.setCapture();
  switch(this.MoveType){
    case "m":
      this.CurrentX = event.x - this.InnerObject.offsetLeft;
      this.CurrentY = event.y - this.InnerObject.offsetTop;
	  break;
    case "front":
    case "back":
      if(_TOOLTYPE == "front")
        this.Flow.brintToFront(this);
      else
        this.Flow.sendToBack(this);
      this.getInnerObject.style.zIndex = this.zIndex;
      break;
  }
}

TProc.prototype.mouseMove = function(){

  switch(this.MoveType){
    case "m":
      this.X = event.x - this.CurrentX;
      this.Y = event.y - this.CurrentY;
	  if(this.X < 0) this.X = 0;
      if(this.Y < 30) this.Y = 30;
      this.InnerObject.style.left = this.X;
      this.InnerObject.style.top = this.Y;
      break;
    case "n":
      this.Height = event.y - this.Y;
      if(this.Height < 30) this.Height = 30;
      this.InnerObject.style.height = this.Height;
      break;
    case "e":
      this.Width = event.x - this.X;
      if(this.Width < 30) this.Width = 30;
      this.InnerObject.style.width = this.Width;
      break;
    case "nw":
      this.Width = event.x - this.X;
      this.Height = event.y - this.Y;
      if(this.Width < 30) this.Width = 30;
      if(this.Height < 30) this.Height = 30;
      this.InnerObject.style.width = this.Width;
      this.InnerObject.style.height = this.Height;
      break;
    default://沒有任何按鍵的情況下,計算位置并顯示相應的操作鼠標
      var rightSide = (parseInt(this.X) + parseInt(this.Width) - event.x <= 2);
      var bottomSide = (parseInt(this.Y) + parseInt(this.Height) - event.y <= 2);
      if(rightSide && bottomSide)
        this.getInnerObject.style.cursor = "NW-resize";
      else if(rightSide)
        this.getInnerObject.style.cursor = "E-resize";
      else if(bottomSide)
        this.getInnerObject.style.cursor = "N-resize";
      else
        this.getInnerObject.style.cursor = "hand";
      break;
  }
}

TProc.prototype.mouseUp = function(){
  if(this.MoveType != ""){
    this.getInnerObject.releaseCapture();
    if(this.MoveType == "nw"){
      if(parseInt(this.InnerObject.style.top)<-10){
        alert("對象上邊界超出,將自動調整.");
        this.InnerObject.style.top=30;
      }
      if(parseInt(this.InnerObject.style.left)<-10){
        alert("對象左邊界超出,將自動調整.");
        this.InnerObject.style.left=30;
      }
    }
  }
  this.MoveType = "";
}

TProc.prototype.clone = function(AProc){
  this.ID = AProc.ID;
  this.Text = AProc.Text;
  this.ShapeType = AProc.ShapeType
  this.ProcType = AProc.ProcType;
  this.Width = AProc.Width;
  this.Height = AProc.Height;
  this.X = AProc.X;
  this.Y = AProc.Y;
  this.TextWeight = AProc.TextWeight;
  this.StrokeWeight = AProc.StrokeWeight;
  this.zIndex = AProc.zIndex;
  this.InnerObject = null;
  this.MoveType = "";
}

TProc.prototype.setPropValue = function(AProp, AValue){
  switch(AProp){
    case "ID":
      var oldID = this.ID;
      if(oldID == AValue) return true;
      if(this.Flow.IDExists(AValue)){
        alert("編號[" + AValue + "]已經存在!");
        return false;
      }
      this.InnerObject.all(oldID + "Text").id = AValue + "Text";
      this.ID = AValue;
      this.InnerObject.id = AValue;
      this.Flow.changeProcID(oldID, AValue);
      break;
    case "X":
      this.X = AValue;
      this.InnerObject.style.left = AValue;
      break;
    case "Y":
      this.Y = AValue;
      this.InnerObject.style.top = AValue;
      break;
    case "Width":
      this.Width = AValue;
      this.InnerObject.style.width = AValue;
      break;
    case "Height":
      this.Height = AValue;
      this.InnerObject.style.height = AValue;
      break;
  }
}
//[任務]字符串化函數
TProc.prototype.toString = function(){
  var cl = this.Flow.Config;
  var nStockeColor,nTextColor;
  if(this.ProcType == 'BeginProc' || this.ProcType == 'EndProc'){
    nTextColor = cl._ProcTextColor;
    nStrokeColor = cl._ProcColor;
  }
  else{
    nTextColor = cl.ProcTextColor;
    nStrokeColor = cl.ProcColor;
  }
  var arrVal = new Array();
  arrVal["id"]              = this.ID;
  //arrVal["title"]           = this.ID + ':' + this.Text + "\n\nX-" + this.X + " Y-" + this.Y + " W-" + this.Width + " H-" + this.Height + " Z-" + this.zIndex;
  arrVal["title"]           = this.ID;
  arrVal["sc"]              = nStrokeColor;
  arrVal["st"]              = this.ProcType;
  arrVal["l"]               = this.X;
  arrVal["t"]               = this.Y;
  arrVal["w"]               = this.Width;
  arrVal["h"]               = this.Height;
  arrVal["z"]               = this.zIndex;
  arrVal["sw"]              = this.StrokeWeight;
  arrVal["fsc"]             = cl.ProcFocusedStrokeColor;
  arrVal["shadowenable"]    = cl.IsProcShadow;
  arrVal["shadowcolor"]     = cl.ProcShadowColor;
  arrVal["3denable"]        = cl.IsProc3D;
  arrVal["3ddepth"]         = cl.Proc3DDepth;
  arrVal["sc1"]             = cl.ProcColor1;
  arrVal["sc2"]             = cl.ProcColor2;
  arrVal["tc"]              = nTextColor;
  arrVal["fs"]              = this.TextWeight;
  arrVal["text"]            = this.Text;

  //新增
  arrVal["af"]              = this.actFlag;
  arrVal["wt"]               = this.waittime;
  arrVal["ist"]               = this.isSltTrans;
  arrVal["isc"]               = this.isSameCredit;

  return stuffShape(getShapeVal(this.ShapeType), arrVal);
}

//[路徑]類定義
function TStep(AFlow,id){
  this.ObjType = "Step";
  this.Flow = AFlow;
  this.ID = id;
  if(this.ID == undefined) this.ID = this.Flow.getMaxStepID();
  this.Text = "新建" + this.ID;
  this.ShapeType = "Line";
  this.FromProc = "";
  this.ToProc = "";
  this.Points = "";
  this.Cond = "";
  this.StartArrow = "none";
  this.EndArrow = "Classic";
  this.TextWeight = "9pt";
  this.StrokeWeight = "1";
  this.zIndex = 0;
  this.InnerObject = null;
//新增
  this.fromRelX = 0;
  this.fromRelY = 0;
  this.toRelX = 0;
  this.toRelY = 0;
}

TStep.prototype.clone = function(AStep){
  this.ID = AStep.ID;
  this.Text = AStep.Text;
  this.ShapeType = AStep.ShapeType;
  this.FromProc = AStep.FromProc;
  this.ToProc = AStep.ToProc;
  this.Points = AStep.Points;  
  this.Cond = AStep.Cond;
  this.StartArrow = AStep.StartArrow;
  this.EndArrow = AStep.EndArrow;
  this.TextWeight = AStep.TextWeight;
  this.StrokeWeight = AStep.StrokeWeight;
  this.zIndex = AStep.zIndex;
  this.Points = AStep.Points;

  this.fromRelX = AStep.fromRelX;
  this.fromRelY = AStep.fromRelY;
  this.toRelX = AStep.toRelX;
  this.toRelY = AStep.toRelY;
}

TStep.prototype.setPropValue = function(AProp, AValue){
  switch(AProp){
    case "ID":
      var oldID = this.ID;
      if(oldID == AValue) return true;
      if(this.Flow.IDExists(AValue)){
        alert("編號[" + AValue + "]已經存在!");
        return false;
      }
      this.InnerObject.all(oldID + "Text").id = AValue + "Text";
      this.InnerObject.all(oldID + "Arrow").id = AValue + "Arrow";
      this.ID = AValue;
      this.InnerObject.id = AValue;
      break;
	case "Points":
	  this.Points = AValue;
	  break;
	case "FromProc":
	  this.FromProc = AValue;
	  break;
	case "ToProc":
	  this.ToProc = AValue;
	  break;
  }
}

//[路徑]字符串化函數
TStep.prototype.toString = function(){
  var StepHTML = '';
  var cl = this.Flow.Config;
  var arrVal = new Array();
  arrVal["id"]              = this.ID;
  arrVal["title"]           = this.ID + ':' + this.Text;
  arrVal["sc"]              = cl.StepColor;
  arrVal["pt"]              = this.getPath();
  arrVal["z"]               = this.zIndex;
  arrVal["sw"]              = this.StrokeWeight;
  arrVal["fsc"]             = cl.StepFocusedStrokeColor;
  arrVal["sa"]              = this.StartArrow;
  arrVal["ea"]              = this.EndArrow;
  arrVal["cond"]            = this.Cond;
  arrVal["text"]            = this.Text;
  return stuffShape(getShapeVal(this.ShapeType), arrVal);
}

TStep.prototype.getInnerObject = function(){
  if(this.InnerObject == null) this.InnerObject = document.all(this.ID);
  return this.InnerObject;
}

TStep.prototype.setFocus = function(){
  this.getInnerObject.StrokeColor = this.Flow.Config.StepFocusedStrokeColor;
}

TStep.prototype.lostFocus = function(){
  this.getInnerObject.StrokeColor = this.Flow.Config.StepColor;
}

TStep.prototype.doClick = function(){
  this.Flow.selectObject(this.ID, "Step");
}

//流程圖類定義
function TTopFlow(AName){
  this.name = AName;
  this.ID = "";
  this.Text = "";
  this.FileName = "";
  this.FormID = "";

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人123区| 日韩va亚洲va欧美va久久| 欧美日产在线观看| 国产一区二区三区久久悠悠色av| 最新中文字幕一区二区三区 | 国产一区二区成人久久免费影院| 亚洲精品欧美激情| 国产视频911| 欧美一区二区啪啪| 欧洲在线/亚洲| av激情综合网| 国产99久久精品| 激情久久久久久久久久久久久久久久| 亚洲午夜在线观看视频在线| 国产精品久久久久久户外露出 | 国产一区二区三区免费在线观看| 午夜精品视频一区| 中文字幕一区二区三区四区| 久久新电视剧免费观看| 欧美一区二区三区系列电影| 在线亚洲一区观看| 91免费视频观看| av激情成人网| 丰满放荡岳乱妇91ww| 国产乱码精品一区二区三区五月婷| 日韩av一区二区在线影视| 亚洲图片有声小说| 一区二区三区在线免费视频| 亚洲色图视频网| 国产精品美女久久久久高潮| 欧美韩国日本一区| 欧美国产精品久久| 国产精品丝袜黑色高跟| 久久久久国产精品麻豆| 26uuu久久天堂性欧美| 欧美不卡视频一区| 精品久久国产字幕高潮| 精品少妇一区二区三区| 26uuu另类欧美| 国产婷婷色一区二区三区 | 亚洲女性喷水在线观看一区| 国产欧美中文在线| 国产精品水嫩水嫩| 国产精品国产三级国产aⅴ中文| 国产精品狼人久久影院观看方式| 国产精品免费视频一区| √…a在线天堂一区| 亚洲卡通欧美制服中文| 亚洲综合久久久久| 亚洲国产cao| 日韩av在线免费观看不卡| 免费在线视频一区| 韩国中文字幕2020精品| 成人免费电影视频| 一本到高清视频免费精品| 欧美日韩亚洲综合一区二区三区| 欧美日韩国产高清一区二区| 日韩午夜中文字幕| 久久久久久久久久电影| 最新国产成人在线观看| 一区二区三区精品| 轻轻草成人在线| 国产69精品久久久久毛片| 99久久免费国产| 欧美午夜片在线看| 精品国产亚洲在线| 国产精品久久777777| 亚洲国产综合人成综合网站| 免费高清不卡av| 成人午夜电影网站| 欧美性感一类影片在线播放| 欧美一区二区高清| 国产精品美女久久久久久久网站| 亚洲国产aⅴ天堂久久| 极品瑜伽女神91| 色一情一乱一乱一91av| 日韩视频免费观看高清完整版 | 日本不卡在线视频| 国产精品911| 色婷婷久久综合| 欧美videossexotv100| 国产精品久久一级| 美女网站色91| 色综合欧美在线| 欧美成人性福生活免费看| 亚洲视频狠狠干| 精品一区二区在线观看| 欧美自拍偷拍一区| 久久青草欧美一区二区三区| 亚洲午夜免费视频| 国产成人精品免费视频网站| 欧美绝品在线观看成人午夜影视| 国产日韩亚洲欧美综合| 日韩国产精品91| 色呦呦日韩精品| 日本一区二区三区国色天香| 石原莉奈一区二区三区在线观看| 风间由美一区二区av101| 91精品国产手机| 亚洲女同一区二区| 国产大陆精品国产| 欧美一二三区精品| 亚洲电影一级黄| 91麻豆免费看| 国产欧美一区视频| 久久电影网电视剧免费观看| 欧美午夜影院一区| 亚洲乱码国产乱码精品精的特点| 国产在线观看免费一区| 91精品国产91久久久久久最新毛片 | 日日夜夜免费精品视频| 99re这里只有精品6| 日本一区二区三区久久久久久久久不| 免播放器亚洲一区| 欧美日免费三级在线| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 国产精品一二三区| 欧美mv和日韩mv的网站| 青青草原综合久久大伊人精品优势| 91国模大尺度私拍在线视频| 中文字幕国产一区| 国产在线视频一区二区三区| 91精品国产欧美一区二区18| 日韩综合小视频| 欧美日韩一区在线| 亚洲不卡在线观看| 欧美精品 国产精品| 天堂午夜影视日韩欧美一区二区| 国产精品网曝门| 成人福利视频网站| 国产欧美视频一区二区三区| 国产在线播放一区| 久久综合九色综合97婷婷女人 | 在线观看免费成人| 亚洲综合视频在线| 欧美三级中文字幕在线观看| 樱花影视一区二区| 欧美视频三区在线播放| 亚洲午夜久久久久久久久电影院| 欧美丝袜丝交足nylons图片| 亚洲影院久久精品| 欧美三级电影精品| 日韩高清在线不卡| 日韩天堂在线观看| 韩国毛片一区二区三区| 国产欧美一区二区三区沐欲| 国产91精品在线观看| 国产精品国产三级国产| 色丁香久综合在线久综合在线观看| 亚洲免费观看高清在线观看| 在线一区二区三区做爰视频网站| 无吗不卡中文字幕| 日韩精品一区二区三区中文精品| 久久 天天综合| 欧美激情一区二区三区蜜桃视频| av一本久道久久综合久久鬼色| 亚洲精品一二三| 欧美精品一级二级| 国产中文字幕精品| 日韩伦理免费电影| 7878成人国产在线观看| 韩国三级中文字幕hd久久精品| 欧美国产欧美综合| 在线观看视频欧美| 精品中文av资源站在线观看| 国产精品天天摸av网| 欧美午夜精品久久久久久孕妇| 秋霞午夜鲁丝一区二区老狼| 欧美经典一区二区| 在线视频一区二区免费| 美脚の诱脚舐め脚责91| 国产精品免费免费| 91精品国产麻豆国产自产在线 | 日本韩国视频一区二区| 蜜桃av噜噜一区二区三区小说| 久久精品人人爽人人爽| 91麻豆国产自产在线观看| 一区二区久久久久| 久久久久综合网| 精品1区2区3区| 国产高清久久久| 五月婷婷欧美视频| 日本一区二区高清| 欧美精品久久久久久久多人混战 | 91免费小视频| 黑人巨大精品欧美一区| 亚洲一区二区三区在线播放| 久久蜜桃一区二区| 911精品产国品一二三产区| 不卡影院免费观看| 极品瑜伽女神91| 婷婷中文字幕一区三区| 国产精品午夜电影| 亚洲精品一区二区在线观看| 欧美性猛交xxxxxx富婆| 不卡av免费在线观看| 国产美女精品在线| 偷偷要91色婷婷| 亚洲精品乱码久久久久| 国产精品网站在线观看|