var a = full.groupNumber; var b = "href='app/bl/admin-bizDocumentGroupMemberInfo/index/' v-para="uuid:'"+full.uuid+"'""; var c = "admin-tab-a"; var info="<button style='border:none;background:none;outline:none' class='"+ c +"'"+ b +" id='detail'>"+ "<span style='color:#3FA5D9'>"+a+"</span>" + "</button>"; return info;
这里,v-para 是 传递到下一个界面的 参数
bizDocumentAddMemberEdit.dt = null; bizDocumentAddMemberEdit.comfirBtnName = "<button style='border:none;background:none;outline:none; 33px' class='admin-tab-a' " +"href='app/bl/admin-bizDocumentGroupMemberInfo/index/' id='addMember'>提交</button>"; bizDocumentAddMemberEdit.cancelBtnName = "取消"; //判断添加组员页面 var groupFlag = false; var groupId; // 调用extend为该类添加静态方法init bizDocumentAddMemberEdit.extend({ init : function(initData) { groupId = initData.groupId; $("#addMember").attr("v-para","uuid:'" + groupId + "'");