删除输出信息

master
xiong_cl 8 months ago
parent 1dc5e2add1
commit 5aad772837
  1. 3
      shandan-control/src/main/resources/static/js/directory/directory.js
  2. 3
      shandan-control/src/main/resources/static/js/directory/reviewDirectory.js

@ -81,7 +81,6 @@ function startRender() {
} }
]], ]],
done: function (res) { done: function (res) {
console.log(reviewStatus)
reviewForm.val('tableToolForm', {reviewStatus: reviewStatus}) reviewForm.val('tableToolForm', {reviewStatus: reviewStatus})
reviewForm.render('radio', 'tableToolForm'); reviewForm.render('radio', 'tableToolForm');
} }
@ -124,7 +123,6 @@ function startRender() {
metaListTable.addTableRowEvent('batchReview', function (obj) { metaListTable.addTableRowEvent('batchReview', function (obj) {
var table = layui.table, checkStatus = table.checkStatus('dirMetadataTable'), var table = layui.table, checkStatus = table.checkStatus('dirMetadataTable'),
datas = checkStatus.data || []; datas = checkStatus.data || [];
console.log(datas);
if(datas.length<=0){ if(datas.length<=0){
showErrorMsg("请至少选择一条数据!"); showErrorMsg("请至少选择一条数据!");
return false; return false;
@ -139,7 +137,6 @@ function startRender() {
reviewForm.render(); reviewForm.render();
reviewForm.on('submit(reviewForm)', function ({elem, field}) { reviewForm.on('submit(reviewForm)', function ({elem, field}) {
const ids = datas.map(data => data.directoryId); const ids = datas.map(data => data.directoryId);
console.log(field);
let param = { let param = {
ids: ids.join(','), ids: ids.join(','),
status: ReviewStatus.REJECTED, status: ReviewStatus.REJECTED,

@ -81,7 +81,6 @@ function startRender() {
} }
]], ]],
done: function (res) { done: function (res) {
console.log(reviewStatus)
reviewForm.val('tableToolForm', {reviewStatus: reviewStatus}) reviewForm.val('tableToolForm', {reviewStatus: reviewStatus})
reviewForm.render('radio', 'tableToolForm'); reviewForm.render('radio', 'tableToolForm');
} }
@ -100,7 +99,6 @@ function startRender() {
metaListTable.addTableRowEvent('batchReview', function (obj) { metaListTable.addTableRowEvent('batchReview', function (obj) {
var table = layui.table, checkStatus = table.checkStatus('dirMetadataTable'), var table = layui.table, checkStatus = table.checkStatus('dirMetadataTable'),
datas = checkStatus.data || []; datas = checkStatus.data || [];
console.log(datas);
if(datas.length<=0){ if(datas.length<=0){
showErrorMsg("请至少选择一条数据!"); showErrorMsg("请至少选择一条数据!");
return false; return false;
@ -115,7 +113,6 @@ function startRender() {
reviewForm.render(); reviewForm.render();
reviewForm.on('submit(reviewForm)', function ({elem, field}) { reviewForm.on('submit(reviewForm)', function ({elem, field}) {
const ids = datas.map(data => data.directoryId); const ids = datas.map(data => data.directoryId);
console.log(field);
let param = { let param = {
ids: ids.join(','), ids: ids.join(','),
status: ReviewStatus.REJECTED, status: ReviewStatus.REJECTED,