[update 标准解读流程] 完善
This commit is contained in:
+10
-3
@@ -9,6 +9,7 @@
|
||||
<!-- 导入(标准主解读人节点 && 选择不分发时) -->
|
||||
<a-upload v-if="isMainInterpreterDistribute && !isDistribute"
|
||||
:data="importParams"
|
||||
:disabled="disabledImport"
|
||||
name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importUrl"
|
||||
@change="handleImport">
|
||||
<a-button type="primary" icon="download" ghost>{{ $t('import') }}</a-button>
|
||||
@@ -121,6 +122,12 @@ export default {
|
||||
type: Object,
|
||||
default: () => ({}),
|
||||
required: false
|
||||
},
|
||||
// 是否禁用导入
|
||||
disabledImport: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
required: false
|
||||
}
|
||||
},
|
||||
data () {
|
||||
@@ -682,9 +689,9 @@ export default {
|
||||
* 批量选择人员
|
||||
*/
|
||||
handleBatchSelectUser () {
|
||||
// 至少勾选一条数据
|
||||
// 请选择要分发的数据
|
||||
if (!this.selectedRowKeys.length) {
|
||||
this.$message.warning(this.$t('selectARecord'))
|
||||
this.$message.warning(this.$t('pleaseSelectDistributeData'))
|
||||
return
|
||||
}
|
||||
this.$refs.userSelectModal.open()
|
||||
@@ -759,7 +766,7 @@ export default {
|
||||
handleBatchDelete () {
|
||||
// 至少勾选一条数据
|
||||
if (!this.selectedRowKeys.length) {
|
||||
this.$message.warning(this.$t('selectARecord'))
|
||||
this.$message.warning(this.$t('pleaseSelectDeleteData'))
|
||||
return
|
||||
}
|
||||
const that = this
|
||||
|
||||
Reference in New Issue
Block a user