|
@@ -407,7 +407,8 @@
|
|
+ " </div>"
|
|
+ " </div>"
|
|
+ " </div>"
|
|
+ " </div>"
|
|
+ "</div>";
|
|
+ "</div>";
|
|
- var submit = function (v, h, f) {
|
|
|
|
|
|
+ $.jBox.confirm(html, "审核", function (v, h, f) {
|
|
|
|
+ if(v===1){
|
|
if (f.auditNote.length > 200) {
|
|
if (f.auditNote.length > 200) {
|
|
$.jBox.tip("内容过长", 'error', {focusId: "auditNote"});
|
|
$.jBox.tip("内容过长", 'error', {focusId: "auditNote"});
|
|
return false;
|
|
return false;
|
|
@@ -421,15 +422,15 @@
|
|
console.log(data.success)
|
|
console.log(data.success)
|
|
console.log(true == data.success)
|
|
console.log(true == data.success)
|
|
if (true == data.success) {
|
|
if (true == data.success) {
|
|
- $.jBox(htmls, {title: "提示"});
|
|
|
|
|
|
+ $.jBox.confirm(htmls, "提示") ;
|
|
|
|
|
|
}else {
|
|
}else {
|
|
location.reload()
|
|
location.reload()
|
|
}
|
|
}
|
|
}, "JSON");//这里返回的类型有:json,html,xml,text
|
|
}, "JSON");//这里返回的类型有:json,html,xml,text
|
|
- };
|
|
|
|
- $.jBox(html, {title: "审核", submit: submit});
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+ },{ buttons: { '确定': 1,'取消':2}});
|
|
|
|
+ }
|
|
|
|
|
|
function audit(auditText){
|
|
function audit(auditText){
|
|
console.log(111)
|
|
console.log(111)
|
|
@@ -437,9 +438,12 @@
|
|
+ " <div class='bd-row'>"
|
|
+ " <div class='bd-row'>"
|
|
+ auditText
|
|
+ auditText
|
|
+ " </div>";
|
|
+ " </div>";
|
|
- $.jBox(html, {title: "审核"});
|
|
|
|
|
|
+ $.jBox.confirm(html,"备注");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
// $(document).on("change", "#auditStatus", function () {
|
|
// $(document).on("change", "#auditStatus", function () {
|
|
// if ($("#auditStatus").val() == 2) {
|
|
// if ($("#auditStatus").val() == 2) {
|
|
// $("#auditNopass").show();
|
|
// $("#auditNopass").show();
|