diff --git a/src/views/components/SearchForm.vue b/src/views/components/SearchForm.vue
index 1d29d62..0af4b42 100644
--- a/src/views/components/SearchForm.vue
+++ b/src/views/components/SearchForm.vue
@@ -119,7 +119,7 @@
2.最大支持2MB的xls/xlsx文件
3.一次导入患者数量不能超过5000
- 自动去除当日重复记录
@@ -452,11 +452,11 @@ export default {
form: {},
uploadopen: false,
fileList: [],
- records: true,
+ isDistinct: true,//是否自动去重,true表示去重
action: {
data: {
- records: '',
+ isDistinct: '',
},
headers: {
@@ -581,11 +581,11 @@ export default {
},
//导入相关的方法
submitUpload() {
- if (this.records == true) {
- this.action.data.records = 1
+ if (this.isDistinct == true) {
+ this.action.data.isDistinct = 1
} else {
- this.action.data.records = 0
+ this.action.data.isDistinct = 0
}
this.$refs.upload.submit();
},
@@ -612,7 +612,7 @@ export default {
this.uploadopen = true;
- this.records = true;
+ this.isDistinct = true;
this.fileList = [];
this.form = {};