|
@@ -128,22 +128,39 @@ function ScopeDialog(type,clickLi){
|
|
commonAjaxReq(thisClass,type);
|
|
commonAjaxReq(thisClass,type);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+//取积分
|
|
|
|
+function getCredit(){
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
function commonAjaxReq(object,module){
|
|
function commonAjaxReq(object,module){
|
|
|
|
+ //是关的不用处理
|
|
|
|
+ var dataObj = {
|
|
|
|
+ reqType: "other",
|
|
|
|
+ snopshot:false
|
|
|
|
+ };
|
|
if($("#"+module+"-on-off").hasClass("open")){
|
|
if($("#"+module+"-on-off").hasClass("open")){
|
|
//开服务要校验
|
|
//开服务要校验
|
|
if(module=="tender"){
|
|
if(module=="tender"){
|
|
if(!Tender.status){
|
|
if(!Tender.status){
|
|
//提示扣积分
|
|
//提示扣积分
|
|
|
|
+ //先取积分,规则然后提示
|
|
$(".creditTip-dialog").show()
|
|
$(".creditTip-dialog").show()
|
|
$("html,body").addClass("overflow-hidden")
|
|
$("html,body").addClass("overflow-hidden")
|
|
-
|
|
|
|
|
|
+ //生成快照
|
|
|
|
+ dataObj["snopshot"]=true
|
|
|
|
+ }
|
|
|
|
+ }else if(module=="bid"){
|
|
|
|
+ if(!Bid.status){
|
|
|
|
+ //提示扣积分
|
|
|
|
+ $(".creditTip-dialog").show()
|
|
|
|
+ $("html,body").addClass("overflow-hidden")
|
|
|
|
+ //生成快照
|
|
|
|
+ dataObj["snopshot"]=true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- //是关的不用处理
|
|
|
|
- var dataObj = {
|
|
|
|
- reqType: "other"
|
|
|
|
- };
|
|
|
|
|
|
+
|
|
var keysString = "",scopeString = "";
|
|
var keysString = "",scopeString = "";
|
|
var thisClass = this;
|
|
var thisClass = this;
|
|
this.afterCommit = function(){
|
|
this.afterCommit = function(){
|