拨打次数

This commit is contained in:
shidongli 2025-01-03 17:21:26 +08:00
parent 2c8efad8a0
commit 11cf880a9c
2 changed files with 22 additions and 8 deletions

View File

@ -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
})
}

View File

@ -137,6 +137,8 @@
</div>
<div>2.最大支持2MB的xls/xlsx文件</div>
<div>3.一次导入患者数量不能超过5000</div>
<div>4.同一手机号每月可最多拔打{{ countsum }}</div>
<el-checkbox v-model="isDistinct" style="font-size: 12px"
>自动去除当日重复记录</el-checkbox
>
@ -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) => {