|
|
@ -223,7 +223,7 @@ export default { |
|
|
|
tableKey: 0, |
|
|
|
list: [], |
|
|
|
sids: [], // 用于导出的时候保存已选择的SIDs |
|
|
|
multipleSelection:[], |
|
|
|
multipleSelection: [], |
|
|
|
filingState_list: [ |
|
|
|
{ |
|
|
|
dictKey: '0', |
|
|
@ -446,6 +446,12 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行删除操作' }) |
|
|
|
return |
|
|
|
} |
|
|
|
for (var i = 0; i < this.multipleSelection.length; i++) { |
|
|
|
if (this.multipleSelection[i].filingStateValue !== '未报备') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择报备状态为未报备的记录进行删除操作' }) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?' |
|
|
|
this.$confirm(tip, '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
@ -475,6 +481,12 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行报备操作' }) |
|
|
|
return |
|
|
|
} |
|
|
|
for (var i = 0; i < this.multipleSelection.length; i++) { |
|
|
|
if (this.multipleSelection[i].filingStateValue !== '未报备') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择报备状态为未报备的记录进行报备操作' }) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
this.viewState = 6 |
|
|
|
this.$refs['divBaoBei'].showAdd(this.sids) |
|
|
|
}, |
|
|
|