|
|
@@ -58,6 +58,9 @@ Couple.Bind=function () {
|
|
|
var informationtTitle=$$("h4", {
|
|
|
"className": "informationtTitle",
|
|
|
}, informationtTime.children[0]);
|
|
|
+ var delItem=$$("button", {
|
|
|
+ "className": "delItem","innerText":"删除项目","onclick":"Couple.OnclickdelITem()"
|
|
|
+ }, informationtTime.children[0]);
|
|
|
var addUser=$$("button", {
|
|
|
"className": "addUser","innerText":"添加用户","onclick":"Couple.OnclickaddUser()"
|
|
|
}, informationtTime.children[0]);
|
|
|
@@ -86,6 +89,17 @@ Couple.Bind=function () {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+ Couple.OnclickdelITem=function(){
|
|
|
+ if(confirm("确定啥删除该项目吗")){
|
|
|
+ U.A.Request("http://cd.1473.cn/net",["db.1473.cn","UseStudio_FeedBack","DeleteProductList",target.parentNode.parentNode.productId],function (r){
|
|
|
+ if(r.value){
|
|
|
+ U.A.Request("http://cd.1473.cn/net",["db.1473.cn","UseStudio_FeedBack","DeleteProduct",target.parentNode.parentNode.productId],function (r){})
|
|
|
+ location.reload();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
Couple.OnclickTime=function(id,time){//点击时间对应获取信息
|
|
|
U.A.Request("http://cd.1473.cn/net",["db.1473.cn","UseStudio_FeedBack","GetFeedback",id,time],function (r){//获取产品的反馈信息
|
|
|
if(r.value){
|