Browse Source

批量上传优化

master
xuhuajiao 2 weeks ago
parent
commit
41a0141d82
  1. 15
      src/views/prearchiveLibrary/module/batchFile.vue

15
src/views/prearchiveLibrary/module/batchFile.vue

@ -201,12 +201,19 @@ export default {
'fondsId': this.selectedDocument.fondsId
}
FetchMateByDocumentIdShow(params).then(res => {
//
this.rulesOptions = res.map(item => {
const json = {}
json.label = item.ruleName
json.value = item.id
return json
return {
label: item.ruleName,
value: item.id
}
})
if (this.rulesOptions.length === 1) {
this.form.ruleName = this.rulesOptions[0].value
this.selectRules(this.rulesOptions[0].value)
} else {
this.form.ruleName = null
}
})
},
getInitDetail(id) {

Loading…
Cancel
Save