|
|
@ -101,7 +101,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<el-button type="text" @click="handleClose">取消</el-button> |
|
|
<el-button type="text" @click="handleClose">取消</el-button> |
|
|
<el-button :loading="archivesBtnLoading" type="primary" @click="handleComfirmBatchToFile">确定</el-button> |
|
|
|
|
|
|
|
|
<el-button :loading="archivesBtnLoading" :disabled="isConfirmDisabled" type="primary" @click="handleComfirmBatchToFile">确定</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
@ -180,7 +180,14 @@ export default { |
|
|
computed: { |
|
|
computed: { |
|
|
...mapGetters([ |
|
|
...mapGetters([ |
|
|
'user' |
|
|
'user' |
|
|
]) |
|
|
|
|
|
|
|
|
]), |
|
|
|
|
|
isConfirmDisabled() { |
|
|
|
|
|
const hasSelectStatus = this.selectStatus.length > 0 |
|
|
|
|
|
const hasFieldData = this.isCorrField |
|
|
|
|
|
? this.allFieldData.length > 0 |
|
|
|
|
|
: this.allCorrField.length > 0 |
|
|
|
|
|
return this.archivesBtnLoading || !hasSelectStatus || !hasFieldData |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
selectedDocument: function(newValue, oldValue) { |
|
|
selectedDocument: function(newValue, oldValue) { |
|
|
@ -201,7 +208,6 @@ export default { |
|
|
'fondsId': this.selectedDocument.fondsId |
|
|
'fondsId': this.selectedDocument.fondsId |
|
|
} |
|
|
} |
|
|
FetchMateByDocumentIdShow(params).then(res => { |
|
|
FetchMateByDocumentIdShow(params).then(res => { |
|
|
// 处理下拉框选项数据 |
|
|
|
|
|
this.rulesOptions = res.map(item => { |
|
|
this.rulesOptions = res.map(item => { |
|
|
return { |
|
|
return { |
|
|
label: item.ruleName, |
|
|
label: item.ruleName, |
|
|
|