123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743 |
- //初始化选择器
- function initData(){
- var href = __ctx+"/platform/system/sysUser/get.ht?openType=detail&userId=";
-
- //初始化提交人
- var submitId = $("input[name='submitId']").val();
- var submitor = $("input[name='submitor']").val();
- var arrySubmit = [{id:submitId,name:submitor}];
- if(submitId!=''&&submitId!=null&& 'undefined' != typeof (submitId)){
- setOwnerDiv('submitDiv',arrySubmit,href,'submitId','submitor');
- }
-
- //初始化负责人
- var chargeId = $("input[name='chargeId']").val();
- var charge = $("input[name='charge']").val();
- var arryCharge = [{id:chargeId,name:charge}];
- if(chargeId!=''&&chargeId!=null&& 'undefined' != typeof (chargeId)){
- setOwnerDiv('chargeDiv',arryCharge,href,'chargeId','charge');
- }
-
- //初始化参与人
- var participantIds = $("input[name='participantIds']").val();
- var participants = $("input[name='participants']").val();
- var arryParticipant = convertToArry(participantIds,participants);
- if(participantIds!=''&&participantIds!=null&& 'undefined' != typeof (participantIds)){
- setOwnerDiv('participantDiv',arryParticipant,href,'participantIds','participants');
- }
-
- //初始化客户
- var customerId = $("input[name='customerId']").val();
- var customer = $("input[name='customer']").val();
- var arryCustomer = [{id:customerId,name:customer}];
- if(customerId!=''&&customerId!=null&& 'undefined' != typeof (customerId)){
- setOwnerDiv('customerDiv',arryCustomer,"",'customerId','customer');
- }
-
-
- //初始化 工单
- var runId = $("input[name='runId']").val();
- var runName = $("input[name='runName']").val();
- var arryRun = [{id:runId,name:runName}];
- if(runId!=''&&runId!=null&& 'undefined' != typeof (runId)){
- var flowHref = __ctx+"/platform/bpm/processRun/info.ht?runId=";
- setOwnerDiv('runDiv',arryRun,flowHref,runId,runName,"1000","600","查看流程工单");
- }
-
- var date = new Date();
- var seperator1 = "-";
- var seperator2 = ":";
- var month = date.getMonth() + 1;
- var strDate = date.getDate();
- if (month >= 1 && month <= 9) {
- month = "0" + month;
- }
- if (strDate >= 0 && strDate <= 9) {
- strDate = "0" + strDate;
- }
- var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
- + " " + date.getHours() + seperator2 + date.getMinutes()
- + seperator2 + date.getSeconds();
- $("input[name='startTime']").val(currentdate);
- $("input[name='endTime']").val(currentdate);
- //初始化附件选择器
- // AttachMent.init("w");
-
- }
- //初始化提交事件
- function initSubmit(){
- $("a.save").click(function() {
- //验证
- var frm=$('#sysPlanEdit');
- if(!frm.valid()) return ;
-
- //核验选择器的
- var submitId = $("input[name='submitId']").val();
-
- if(typeof(submitId)=='undefined'||submitId==null||submitId==''){
- $.ligerDialog.warn("请选择提交人!","消息提示");
- return;
- }
- var chargeId = $("input[name='chargeId']").val();
- if(typeof(chargeId)=='undefined'||chargeId==null||chargeId==''){
- $.ligerDialog.warn("请选择负责人!","消息提示");
- return;
- }
- var rate=$("input[name='rate']").val();
- if(typeof(rate)=='undefined'||rate==null||rate==''||rate==0){
- $.ligerDialog.warn("请填写日程完成进度!","消息提示");
- return;
- }
- var description= $("textarea[name='description']").val();
- if($("textarea[name='description']").val()==''){
- $.ligerDialog.warn("请填写日程内容!","消息提示");
- return;
- }
-
-
- //提交保存内容
- frm.submit();
-
-
-
- });
- }
- //初始化日程交流提交事件
- function initExchangeSubmit(dialog){
- $("a.save").click(function() {
- //核验信息
- var content = $("textarea[name='content']").val();
- if(typeof(content)=='undefined'||content==null||content==''){
- $.ligerDialog.warn("请填写内容!","消息提示");
- return;
- }
- var url = __ctx + "/platform/system/sysPlan/saveExchange.ht";
- var planId = $("input[name='planId']").val();
- var id = $("input[name='id']").val();
- var doc = $("textarea[name='doc']").val();
- $.ajax({
- type:"post",
- url:url,
- dataType:"json",
- data:{
- id:id,
- planId:planId,
- content:content,
- doc:doc
- },
- success:function(data){
- var type = $("input[name='type']").val();
- var currentViweDate = $("input[name='currentViweDate']").val();
- if(data.result){
- $.ligerDialog.success(data.message,"消息提示",function(){
- dialog.get("sucCall")(data.cause);
- dialog.close();
- });
- }
- else{
- $.ligerDialog.warn(data.message,"消息提示");
- }
- }
- });
-
- });
- }
- //初始化日程评论提交事件
- function initCommentSubmit(dialog){
- $("a.save").click(function() {
- //核验信息
- var commentcontent = $("textarea[name='commentcontent']").val();
- if(typeof(commentcontent)=='undefined'||commentcontent==null||commentcontent==''){
- $.ligerDialog.warn("请填写评论内容!","消息提示");
- return;
- }
- var url = __ctx + "/platform/system/sysPlan/saveComment.ht";
- var planId = $("input[name='planId']").val();
- var id = $("input[name='id']").val();
- var doc = $("textarea[name='doc']").val();
- var commentgrade = $("select[name='commentgrade']").val();
- $.ajax({
- type:"post",
- url:url,
- dataType:"json",
- data:{
- id:id,
- planId:planId,
- commentcontent:commentcontent,
- commentgrade:commentgrade,
- doc:doc
- },
- success:function(data){
- var type = $("input[name='type']").val();
- var currentViweDate = $("input[name='currentViweDate']").val();
- if(data.result){
- $.ligerDialog.success(data.message,"消息提示",function(){
- dialog.get("sucCall")(data.cause);
- dialog.close();
- });
- }
- else{
- $.ligerDialog.warn(data.message,"消息提示");
- }
- }
- });
-
- });
- }
- //初始化删除事件
- function initDelete(){
- $("#delSysPlan").click(function() {
- var ids = $("input[name='id']").val();
- delSysPlan(ids);
- });
- }
- //通过id字符串(id1,id2,id3...)删除日程
- function delSysPlan(ids){
- if(!ids){
- $.ligerDialog.warn("日程ID为空,删除失败!","消息提示");
- return;
- }
-
- $.ligerDialog.confirm('确定删除吗?', function (confirm) {
- if (confirm){
- var url = __ctx + "/platform/system/sysPlan/delete.ht";
- $.ajax({
- type:"post",
- url:url,
- dataType:"json",
- data:{
- ids:ids
- },
- success:function(data){
- var type = $("input[name='type']").val();
- var currentViweDate = $("input[name='currentViweDate']").val();
- if(data.result){
- $.ligerDialog.success(data.message,"消息提示",function(){
- var href = __ctx + "/platform/system/sysPlan/submit.ht?currentViweDate="+currentViweDate;
- if(type=='charge'){
- href = __ctx + "/platform/system/sysPlan/charge.ht?currentViweDate="+currentViweDate;
- }
- window.location.href = href;
- });
- }
- else{
- $.ligerDialog.warn(data.message,"消息提示");
- }
- }
- });
- }
- });
-
- }
- //初始化删除日程交流事件
- function initDeleteExchang(){
- $("#delSysPlanExchange").click(function() {
- var ids = "";
- $("input[name='exchangeId']").each(function () {
- var me = $(this);
- if(me.is(":checked")){
- ids += me.val()+",";
- }
- });
- if(ids){
- ids = ids.substring(0,ids.length-1);
- }
- delSysPlanExchange(ids);
- });
- }
- //通过id字符串(id1,id2,id3...)删除日程交流信息
- function delSysPlanExchange(ids){
- if(!ids){
- $.ligerDialog.warn("删除失败,请选择日程交流信息!","消息提示");
- return;
- }
-
- $.ligerDialog.confirm('确定删除吗?', function (confirm) {
- if (confirm){
- var url = __ctx + "/platform/system/sysPlan/deleteExchange.ht";
- $.ajax({
- type:"post",
- url:url,
- dataType:"json",
- data:{
- ids:ids
- },
- success:function(data){
- var id = $("input[name='id']").val();
- var type = $("input[name='type']").val();
- var currentViweDate = $("input[name='currentViweDate']").val();
- if(data.result){
- $.ligerDialog.success(data.message,"消息提示",function(){
- var href = __ctx + "/platform/system/sysPlan/submit.ht?id="+id+"¤tViweDate="+currentViweDate;
- if(type=='charge'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=charge&id="+id+"¤tViweDate="+currentViweDate;
- }else if(type=='participant'){
- href = __ctx + "/platform/system/sysPlan/participantToExchange.ht?type=participant&id="+planId+"¤tViweDate="+currentViweDate;
- }else if(type=='myPlan'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=myPlan&id="+id;
- }
- window.location.href = href;
- });
- }
- else{
- $.ligerDialog.warn(data.message,"消息提示");
- }
- }
- });
- }
- });
-
- }
- //初始化完成日程事件
- function initFinishSysPlan(){
- $("#finishSysPlan").click(function() {
- var id = $("input[name='id']").val();
- finishSysPlan(id);
- });
- }
- //通过id完成日程
- function finishSysPlan(id){
- if(!id){
- $.ligerDialog.warn("日程ID信息为空,完成任务失败!","消息提示");
- return;
- }
-
- $.ligerDialog.confirm('确定完成任务吗?', function (confirm) {
- if (confirm){
- var url = __ctx + "/platform/system/sysPlan/chargeSysPlans.ht";
- $.ajax({
- type:"post",
- url:url,
- dataType:"json",
- data:{
- ids:id,
- rate:100
- },
- success:function(data){
- var type = $("input[name='type']").val();
- var currentViweDate = $("input[name='currentViweDate']").val();
- if(data.result){
- $.ligerDialog.success(data.message,"消息提示",function(){
- var href = __ctx + "/platform/system/sysPlan/submit.ht?id="+id+"¤tViweDate="+currentViweDate;
- if(type=='charge'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=charge&id="+id+"¤tViweDate="+currentViweDate;
- }else if(type=='participant'){
- href = __ctx + "/platform/system/sysPlan/participantToExchange.ht?type=participant&id="+id+"¤tViweDate="+currentViweDate;
- }else if(type=='myPlan'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=myPlan&id="+id;
- }
- window.location.href = href;
- });
- }
- else{
- $.ligerDialog.warn(data.message,"消息提示");
- }
- }
- });
- }
- });
-
- }
- //初始化日程交流信息添加事件
- function initAddSysPlanExchange(){
- $("#addSysPlanExchange").click(function() {
- var planId = $("input[name='id']").val();
- editSysPlanExchange("",planId);
- });
- }
- //打开修改日程交流页面
- function editSysPlanExchange(id,planId){
- var url = __ctx + "/platform/system/sysPlan/exchangeEdit.ht?planId="+planId+"&id="+id;
- var type = $("input[name='type']").val();
- var currentViweDate = $("input[name='currentViweDate']").val();
- DialogUtil.open({
- height:400,
- width: 600,
- title : '编辑日程交流',
- url: url,
- isResize: false,
- sucCall:function(retVal){
- if(retVal){
- var href = __ctx + "/platform/system/sysPlan/submit.ht?id="+planId+"¤tViweDate="+currentViweDate;
- if(type=='charge'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=charge&id="+planId+"¤tViweDate="+currentViweDate;
- }else if(type=='participant'){
- href = __ctx + "/platform/system/sysPlan/participantToExchange.ht?type=participant&id="+planId+"¤tViweDate="+currentViweDate;
- }else if(type=='myPlan'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=myPlan&id="+planId;
- }
- window.location.href = href;
- }
- }
-
- });
- }
- //打开日交流信息查看页面
- function openSysPlanExchange(id,planId){
- var url = __ctx + "/platform/system/sysPlan/exchangeGet.ht?planId="+planId+"&id="+id;
- DialogUtil.open({
- height:400,
- width: 600,
- title : '日程交流信息详情',
- url: url,
- isResize: false,
- sucCall:function(retVal){
- //回调
- }
- });
- }
- //打开日评论信息查看页面
- function openSysPlanExchange(id,planId){
- var url = __ctx + "/platform/system/sysPlan/commentGet.ht?planId="+planId+"&id="+id;
- DialogUtil.open({
- height:400,
- width: 600,
- title : '日程评论信息详情',
- url: url,
- isResize: false,
- sucCall:function(retVal){
- //回调
- }
- });
- }
- //选择用户
- /* 例子:
- <input type="hidden" name="submitId" value="${sysPlan.submitId}" />
- <input type="hidden" name="submitor" value="${sysPlan.submitor}" />
- <div id='submitDiv'></div>
- <a class="link add" onclick="chooseUser(this,'submitDiv','submitId','submitor','yes');" ><span></span>选择</a>
- <a class="link reset" onclick="resetSelect('submitDiv','submitId','submitor');" ><span></span>重置</a>
- */
- function chooseUser(me,divId,myId,myName,isSingleMark) {
- var isSingle = false;
- if(isSingleMark=='yes'){
- isSingle = true;
- }
- var data = [];
- var href = __ctx+"/platform/system/sysUser/get.ht?openType=detail&userId=";
- var ids = $("input[name='"+myId+"']").val();
- var names = $("input[name='"+myName+"']").val();
- if(ids){
- data = convertToArry(ids, names);
- }
-
- UserDialog({isSingle:isSingle,selectUsers:data,callback:function(userIds, fullnames,email,mobile,json){
- var arry = convertToArry(userIds, fullnames);
- if(arry.length>0){
- setOwnerDiv(divId,arry,href,myId,myName);
- }
- }});
- };
- //选择自定义对话框
- /* 例子:
- <input type="hidden" name="customerId" value="${sysPlan.chargeId}" />
- <input type="hidden" name="customer" value="${sysPlan.charge}" />
- <div id='customerDiv'></div>
- <a class="link add" onclick="chooseCustomer(this,'spxx(别名)','这里是参数为空','customerDiv','customerId','customer');" ><span></span>选择</a>
- <a class="link reset" onclick="resetSelect('customerDiv','customerId','customer');" ><span></span>重置</a>
- */
- function chooseCustomer(me,alias,paramValueString,divId,myId,myName){
- //最好是返回一个对象的,因为客户这个字段只支持一个
- CommonDialog(alias,function(data){
- //data返回 Object { F_spmc = "参数值", F_dj = "参数值", F_sl = "参数值"},多个则返回 Object 数组
- if(data){
- var arry = convertToArry(data.ID, data.F_spmc);
- if(arry.length>0){
- setOwnerDiv(divId,arry,null,myId,myName);
- }
- }
- },paramValueString);
- }
- /* 例子:
- */
- function chooseProcessRun(me,divId,myId,myName,isSingleMark) {
- var isSingle = 'yes';
- if(isSingleMark!='yes'){
- isSingle = 'no';
- }
- var ids = $("input[name='"+myId+"']").val();
- var names = $("input[name='"+myName+"']").val();
- var data = [];
- if(ids){
- data = convertToArry(ids, names);
- }
- processRunDialog({isSingle:isSingle,arguments:data,callback:function(that,rtn){
- //var arry = convertToArry(userIds, fullnames);
- if(that&&that.json){
- var arry = that.json;
- setOwnerDiv(divId,arry,"",myId,myName);
- }
- }});
- };
- /**
- * 流程工单选择窗口。
- * processRunDialog({isSingle:true,callback:dlgCallBack}){
- * //回调函数处理
- * }});
- * @param conf
- */
- function processRunDialog(conf){
- var dialogWidth=900;
- var dialogHeight=640;
-
- conf=$.extend({},{dialogWidth:dialogWidth ,dialogHeight:dialogHeight ,help:0,status:0,scroll:0,center:1},conf);
- if(!conf.isSingle)conf.isSingle='yes';
- var url=__ctx + '/platform/system/sysPlan/processRunDialog.ht?isSingle=' + conf.isSingle;
- url=url.getNewUrl();
-
-
- var that = this;
- DialogUtil.open({
- height:conf.dialogHeight,
- width: conf.dialogWidth,
- title : '打开选择引用流程实例工单对话框',
- url: url,
- isResize: true,
- conf:conf,
- //自定义参数
- arguments: conf.arguments,
- sucCall:function(rtn){
- conf.callback.call(that,rtn);
- }
- });
- }
- //转成JSON数组
- function convertToArry(tempIds,tempNames){
- var ids=tempIds.split(",");
- var names=tempNames.split(",");
- var arry=[];
- for(var i=0;i<ids.length;i++){
- var obj={};
- obj.id=ids[i];
- obj.name=names[i];
- arry.push(obj);
- }
- return arry;
- }
- //选择器回填
- function setOwnerDiv(divId,arry,href,myId,myName,width,height,title){
- var div = $("#"+divId);
- div.empty();
- var myIdObj = $("input[name='"+myId+"']");
- var myNameObj = $("input[name='"+myName+"']");
- var ids = "";
- var names = "";
- for(var i=0;i<arry.length;i++){
- var obj=arry[i];
- ids += obj.id+",";
- names += obj.name+",";
- var a = $('<a class="moreinfo"></a>').html(obj.name).attr("ownerId",obj.id);
- if(href){
- a.attr("hrefstr",href+obj.id);
- a.attr("href","#");
- }
- if(width){
- a.attr("dialogWidth",width);
- }
- if(height){
- a.attr("dialogHeight",height);
- }
- if(title){
- a.attr("dialogTitle",title);
- }
- var span = $('<span class="owner-span"></span>').html(a);
- div.append(span);
- }
- ids = ids.substring(0, ids.length-1);
- names = names.substring(0, names.length-1);
- myIdObj.val(ids);
- myNameObj.val(names);
- }
- //重置
- function resetSelect(divId,cleanId,cleanName){
- $("#"+divId).empty();
- $("input[name='"+cleanId+"']").val("");
- $("input[name='"+cleanName+"']").val("");
- }
- //人员查看详情事件
- function openDetailEvent(){
- $("a.moreinfo").live('click',function(){
- var me = $(this),
- hrefStr = me.attr('hrefstr'),
- dialogWidth = me.attr('dialogWidth'),
- dialogHeight = me.attr('dialogHeight'),
- dialogTitle = me.attr('dialogTitle');
- if(!hrefStr)return;
- //alert(hrefStr);
- openDetailWin({url:hrefStr,hasClose:true,dialogWidth:dialogWidth,dialogHeight:dialogHeight,dialogTitle:dialogTitle});
- });
- }
- //显示用户详情
- function openDetailWin(conf){
- var dialogWidth=1100;
- var dialogHeight=780;
- var dialogTitle='用户详情';
- conf=$.extend({},{dialogWidth:dialogWidth ,dialogHeight:dialogHeight ,dialogTitle:dialogTitle, help:0,status:0,scroll:0,center:1},conf);
- var url = conf.url + '&hasClose=' +conf.hasClose;
-
- /*KILLDIALOG*/
- DialogUtil.open({
- height:conf.dialogHeight,
- width: conf.dialogWidth,
- title: conf.dialogTitle,
- url: url,
- isResize: true,
- });
- }
- //全选择方法
- function selectCheckbox(all_checkboxName){
- var checkboxNames = all_checkboxName.split("_");
- var checkboxName = checkboxNames[1];
- var checkboxNameArry = $("input[name='"+checkboxName+"']");
- var checked=$("#"+all_checkboxName).is(":checked");
- if(checked){
- checkboxNameArry.attr("checked",true);
- }else{
- checkboxNameArry.removeAttr("checked");
- }
- };
- //订阅
- function subscribeSysPlan(planId){
- var executionUrl = __ctx + "/platform/system/sysPlan/subscribeSysPlan.ht";
- var reutrnUrl = __ctx + "/platform/system/sysPlan/underList.ht";
- var queryParam = {planId:planId};
- executionSysPlan(queryParam,executionUrl,reutrnUrl);
- }
- //退订
- function cancelSysPlan(subscribeId){
- var executionUrl = __ctx + "/platform/system/sysPlan/cancelSysPlan.ht";
- var reutrnUrl = __ctx + "/platform/system/sysPlan/underList.ht";
- var queryParam = {id:subscribeId};
- executionSysPlan(queryParam,executionUrl,reutrnUrl);
- }
- //推送
- function pushSysPlan(planId,type){
- var executionUrl = __ctx + "/platform/system/sysPlan/planPush.ht?type=" + type;
- var reutrnUrl;
- if(type == 1){
- reutrnUrl = __ctx + "/platform/system/sysPlan/underList.ht";
- }else if(type == 2){
- reutrnUrl = __ctx + "/platform/system/sysPlanPush/list.ht";
- }
- var queryParam = {planId:planId};
- executionSysPlan(queryParam,executionUrl,reutrnUrl);
- }
- //执行异步回返方法
- function executionSysPlan(queryParam,executionUrl,reutrnUrl){
- var queryUserId = $("input[name='queryUserId']").val();
- if(queryUserId!=null&&queryUserId!=''&& 'undefined' != typeof (queryUserId)){
- reutrnUrl = reutrnUrl+"?queryUserId="+queryUserId;
- }
- $.ajax({
- type:"post",
- url:executionUrl,
- dataType:"json",
- data:queryParam,
- success:function(data){
- if(data.result){
- $.ligerDialog.success(data.message,"消息提示",function(){
- window.location.href = reutrnUrl;
- });
- }
- else{
- $.ligerDialog.warn(data.message,"消息提示");
- }
- }
- });
- }
- //初始化日程评论信息添加事件
- function initAddSysPlanComment(){
- $("#addSysPlanComment").click(function() {
- var planId = $("input[name='id']").val();//获取日志ID
- editSysPlanComment("",planId);
- });
- }
- //打开修改日程交流页面
- function editSysPlanComment(id,planId){
- var url = __ctx + "/platform/system/sysPlan/commentEdit.ht?planId="+planId+"&id="+id;
- var type = $("input[name='type']").val();
- var currentViweDate = $("input[name='currentViweDate']").val();
- //alert(type);
- DialogUtil.open({
- height:610,
- width:750,
- title : '编辑日程评论',
- url: url,
- isResize: false,
- sucCall:function(retVal){
- if(retVal){
- var href = __ctx + "/platform/system/sysPlan/submit.ht?id="+planId+"¤tViweDate="+currentViweDate;
- if(type=='charge'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=charge&id="+planId+"¤tViweDate="+currentViweDate;
- }else if(type=='participant'){
- href = __ctx + "/platform/system/sysPlan/participantToExchange.ht?type=participant&id="+planId+"¤tViweDate="+currentViweDate;
- }else if(type=='myPlan'){
- href = __ctx + "/platform/system/sysPlan/exchange.ht?type=myPlan&id="+planId;
- }else if(type=='subscribeList'){
- href = __ctx + "/platform/system/sysPlan/comment.ht?type=charge&id="+planId+"¤tViweDate="+currentViweDate;
- }else if(type=='subscribe'){
- href = __ctx + "/platform/system/sysPlan/comment.ht?type=charge&id="+planId+"¤tViweDate="+currentViweDate;
- }
- window.location.href = href;
- }
- }
-
- });
- }
|