diff --git a/src/api/system/department.js b/src/api/system/department.js
index 6fc2a79..c09ed54 100644
--- a/src/api/system/department.js
+++ b/src/api/system/department.js
@@ -69,3 +69,11 @@ export function secondaryUpload(data) {
})
}
+// 数量
+export function count(query) {
+ return request({
+ url: '/system/config/configKey/aiob_max_count',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/views/components/SearchForm.vue b/src/views/components/SearchForm.vue
index 56571bc..7f915b7 100644
--- a/src/views/components/SearchForm.vue
+++ b/src/views/components/SearchForm.vue
@@ -137,6 +137,8 @@
2.最大支持2MB的xls/xlsx文件
3.一次导入患者数量不能超过5000
+ 4.同一手机号每月可最多拔打{{ countsum }}次
+
自动去除当日重复记录
@@ -435,6 +437,7 @@ import {
addDepartment,
getDepartmentList,
secondaryUpload,
+ count
} from "@/api/system/department";
export default {
name: 'SearchFilter',
@@ -470,6 +473,7 @@ export default {
},
data() {
return {
+ countsum: "",//数量
querlist: {},//导出
departmentsshow: false,//添加按钮
loading: false,
@@ -552,7 +556,7 @@ export default {
},
}
},
- created(){
+ created() {
this.gettreelist();
},
mounted() {
@@ -585,7 +589,7 @@ export default {
},
methods: {
-
+
exceedFile(files, fileList) {
console.log(files, fileList, 'shangchuan')
// this.$modal.msgSuccess("添加成功");
@@ -595,7 +599,7 @@ export default {
);
},
-
+
handleAvatarSuccess(response, file, fileList) {
console.log(response, file, fileList, 'response, file, fileList')
if (response.code == 500 && !response.data) {
@@ -675,13 +679,9 @@ export default {
},
// 导入
handleUpload() {
- // this.openphone=true;
-
-
-
+ this.getcount()
this.uploadopen = true;
this.isDistinct = true;
-
this.fileList = [];
this.form = {};
@@ -763,6 +763,12 @@ export default {
});
return leafIds;
},
+ // 数量
+ getcount() {
+ count().then((res) => {
+ this.countsum = res.msg
+ });
+ },
// 所属机构
gettreelist() {
agencyList().then((res) => {