diff --git a/src/views/system/motionPrescriptionLibrary/index.vue b/src/views/system/motionPrescriptionLibrary/index.vue index a5c6f7b..0924b87 100644 --- a/src/views/system/motionPrescriptionLibrary/index.vue +++ b/src/views/system/motionPrescriptionLibrary/index.vue @@ -21,6 +21,7 @@ v-model="queryParams.degreeStartFraction" placeholder="请输入运动程度得分起始值" clearable + oninput="value=value.replace(/[^\d]/g,'')" @keyup.enter.native="handleQuery" /> @@ -29,6 +30,7 @@ v-model="queryParams.degreeEndFraction" placeholder="请输入运动程度得分结束值" clearable + oninput="value=value.replace(/[^\d]/g,'')" @keyup.enter.native="handleQuery" /> @@ -525,7 +527,10 @@ export default { }, // 提交上传文件 submitFileForm() { - confirmUploadVideo(this.upload.data.motionPrescriptionId,this.videourl).then(res => { + confirmUploadVideo( + this.upload.data.motionPrescriptionId, + this.videourl + ).then(res => { this.upload.open = false; this.getList(); });