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