Commit 9b0b8040da1d06807546f734df807cb2dac2fd90

Authored by liwei2917
1 parent ad4356c4

修改直播申请审核拒绝时审核消息为空时不能提交

src/main/resources/templates/page/liveApply.html
... ... @@ -612,6 +612,10 @@
612 612 })
613 613 ids = ids.substring(1);
614 614 var msg = $("#reviewMsg").val();
  615 + if ( msg == '') {
  616 + alert('请输入审核意见!');
  617 + return false;
  618 + }
615 619 $.post("/liveApply/shenheLiveApply?ids=" + ids + "&msg=" + msg+"&state="+2, function (data) {
616 620 if (data.errorCode == 0) {
617 621 alert(data.errorMessage);
... ...
src/main/resources/templates/page/liveApplyDetail.html
... ... @@ -231,6 +231,10 @@
231 231 //提交拒绝
232 232 function repulseSubmit() {
233 233 var msg = $("#reviewMsg").val();
  234 + if ( msg == '') {
  235 + alert('请输入审核意见!');
  236 + return false;
  237 + }
234 238 $.post("/liveApply/shenheLiveApply?ids=" + liveId + "&msg=" + msg+"&state="+2, function (data) {
235 239 if (data.errorCode == 0) {
236 240 alert(data.errorMessage);
... ...
src/main/resources/templates/page/topic.html
... ... @@ -530,6 +530,10 @@
530 530 function repulseSubmit() {
531 531 var ids = $('#topic_id_hidden').val();
532 532 var msg = $("#reviewMsg").val();
  533 + if ( msg == '') {
  534 + alert('请输入审核意见!');
  535 + return false;
  536 + }
533 537 $.post("/topic/refuse?ids=" + ids + "&msg=" + msg, function (data) {
534 538 if (data.errorCode == 0) {
535 539 alert(data.errorMessage);
... ...