|
|
@@ -7,10 +7,10 @@ Couple.Bind=function () {
|
|
|
var informationtInfo = $(".informationtInfo")[0];//获取反馈信息
|
|
|
var informationtTime = $(".informationtTime")[0];//获取反馈时间
|
|
|
userName.innerText = document.URL.split('?')[1].split("=")[1];
|
|
|
- U.A.Request("http://cd.1473.cn/net",["db.1473.cn", "UseStudio_Couple", "GetProductByUserId",U.UF.Cookie.get("usestudiosso","userid")[0]],function (r){//获取项目列表
|
|
|
+ U.A.Request("http://cd.1473.cn/net",["db.1473.cn", "UseStudio_FeedBack", "GetProductByUserId",U.UF.Cookie.get("usestudiosso","userid")[0]],function (r){//获取项目列表
|
|
|
for(var i=0;i<r.value.length;i++){
|
|
|
var li=$$("li", {
|
|
|
- "className": "asideItem","productId":r.value[i].ProductId
|
|
|
+ "className": "asideItem","productId":r.value[i].FeedbackId
|
|
|
}, ul);
|
|
|
var a=$$("a", {}, li);
|
|
|
var icon=$$("span", {
|
|
|
@@ -31,7 +31,7 @@ Couple.Bind=function () {
|
|
|
Couple.createInfo(productId)
|
|
|
}
|
|
|
Couple.OnclickTime=function(id,time){//点击时间对应获取信息
|
|
|
- U.A.Request("http://cd.1473.cn/net",["db.1473.cn", "UseStudio_Couple", "GetCouple",id,time],function (r){//获取产品的反馈信息
|
|
|
+ U.A.Request("http://cd.1473.cn/net",["db.1473.cn","UseStudio_FeedBack","GetCouple",id,time],function (r){//获取产品的反馈信息
|
|
|
if(informationtInfo.firstChild==null){}else{
|
|
|
informationtInfo.removeChild(informationtInfo.firstChild);
|
|
|
informationtTime.removeChild(informationtTime.firstChild);
|
|
|
@@ -104,7 +104,6 @@ Couple.logout=function(){//退出
|
|
|
U.UF.CD.loadAjaxCrossDomain(function(){
|
|
|
U.A.Request(US.AUTH, ["UserOffline", U.UF.Cookie.get("usestudiosso","userid")[0]],function(r){
|
|
|
window.location.href="http://couple.1473.cn/login.html";
|
|
|
- console.log(r)
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
@@ -115,15 +114,15 @@ Couple.getDataRow = function(h,i){//创建表格下的行放数据库循环数
|
|
|
row.appendChild(sortCell);
|
|
|
var trTitle = document.createElement('td');
|
|
|
trTitle.setAttribute('class','trTitle');
|
|
|
- trTitle.innerText = h.CoupleName;
|
|
|
+ trTitle.innerText = h.FeedbackName;
|
|
|
row.appendChild(trTitle);
|
|
|
var trContent = document.createElement('td');
|
|
|
trContent.setAttribute('class','trContent');
|
|
|
- trContent.innerText = h.CoupleContent;
|
|
|
+ trContent.innerText = h.FeedbackContent;
|
|
|
row.appendChild(trContent);
|
|
|
var trCoupleTime = document.createElement('td');
|
|
|
trCoupleTime.setAttribute('class','trCoupleTime');
|
|
|
- trCoupleTime.innerText = U.UF.D.getYearMonthDay(h.CoupleTime)
|
|
|
+ trCoupleTime.innerText = U.UF.D.getYearMonthDay(h.FeedbackTime)
|
|
|
row.appendChild(trCoupleTime);
|
|
|
//每行末尾添加删除按钮
|
|
|
var delCell = document.createElement('td');
|
|
|
@@ -137,7 +136,7 @@ Couple.getDataRow = function(h,i){//创建表格下的行放数据库循环数
|
|
|
if(confirm("确定删除这一行嘛?")){
|
|
|
this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);
|
|
|
}
|
|
|
- U.A.Request("http://cd.1473.cn/net",["db.1473.cn", "UseStudio_Couple", "DeleteCouple",h.CoupleId],function (r){})
|
|
|
+ U.A.Request("http://cd.1473.cn/net",["db.1473.cn", "UseStudio_FeedBack", "DeleteCouple",h.CoupleId],function (r){})
|
|
|
}
|
|
|
delCell.appendChild(btnDel);
|
|
|
return row;
|