拨打次数

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>
<div>2.最大支持2MB的xls/xlsx文件</div> <div>2.最大支持2MB的xls/xlsx文件</div>
<div>3.一次导入患者数量不能超过5000</div> <div>3.一次导入患者数量不能超过5000</div>
<div>4.同一手机号每月可最多拔打{{ countsum }}</div>
<el-checkbox v-model="isDistinct" style="font-size: 12px" <el-checkbox v-model="isDistinct" style="font-size: 12px"
>自动去除当日重复记录</el-checkbox >自动去除当日重复记录</el-checkbox
> >
@ -435,6 +437,7 @@ import {
addDepartment, addDepartment,
getDepartmentList, getDepartmentList,
secondaryUpload, secondaryUpload,
count
} from "@/api/system/department"; } from "@/api/system/department";
export default { export default {
name: 'SearchFilter', name: 'SearchFilter',
@ -470,6 +473,7 @@ export default {
}, },
data() { data() {
return { return {
countsum: "",//
querlist: {},// querlist: {},//
departmentsshow: false,// departmentsshow: false,//
loading: false, loading: false,
@ -552,7 +556,7 @@ export default {
}, },
} }
}, },
created(){ created() {
this.gettreelist(); this.gettreelist();
}, },
mounted() { mounted() {
@ -585,7 +589,7 @@ export default {
}, },
methods: { methods: {
exceedFile(files, fileList) { exceedFile(files, fileList) {
console.log(files, fileList, 'shangchuan') console.log(files, fileList, 'shangchuan')
// this.$modal.msgSuccess(""); // this.$modal.msgSuccess("");
@ -595,7 +599,7 @@ export default {
); );
}, },
handleAvatarSuccess(response, file, fileList) { handleAvatarSuccess(response, file, fileList) {
console.log(response, file, fileList, 'response, file, fileList') console.log(response, file, fileList, 'response, file, fileList')
if (response.code == 500 && !response.data) { if (response.code == 500 && !response.data) {
@ -675,13 +679,9 @@ export default {
}, },
// //
handleUpload() { handleUpload() {
// this.openphone=true; this.getcount()
this.uploadopen = true; this.uploadopen = true;
this.isDistinct = true; this.isDistinct = true;
this.fileList = []; this.fileList = [];
this.form = {}; this.form = {};
@ -763,6 +763,12 @@ export default {
}); });
return leafIds; return leafIds;
}, },
//
getcount() {
count().then((res) => {
this.countsum = res.msg
});
},
// //
gettreelist() { gettreelist() {
agencyList().then((res) => { agencyList().then((res) => {