| .env.development | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/sopManager/sopDevice.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/sopManager/sopRoute.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/sopManager/sopWorkOrder.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.env.development
@@ -6,5 +6,5 @@ # 文件下载地址 下载数据模板地址 # 本地服务器 VUE_APP_BASE_API_FILE = 'http://192.168.1.21:9000/' VUE_APP_BASE_API_FILE = 'http://121.196.36.24:8049/' src/views/sopManager/sopDevice.vue
@@ -444,9 +444,9 @@ return this.$message.info('请选择文件上传!') } const isLt100M = this.$refs.uploadFileRef.uploadFiles[0].size / 1024 / 1024 <= 1024 const isLt100M = this.$refs.uploadFileRef.uploadFiles[0].size / 1024 / 1024 <= 10 if (!isLt100M) { return this.$message.info('请检查,上传文件大小不能超过1024MB!') return this.$message.info('请检查,上传文件大小不能超过10MB!') } this.$refs.dialogForm.validate(valid => { src/views/sopManager/sopRoute.vue
@@ -527,14 +527,14 @@ }, // 对话框确认 dialogVisibleConfirm() { console.log(this.$refs.uploadFileRef.uploadFiles[0]) // console.log(this.$refs.uploadFileRef.uploadFiles[0]) if (!this.$refs.uploadFileRef.uploadFiles[0]) { this.$message.info('请选择文件上传!') return this.$message.info('请选择文件上传!') } const isLt100M = this.$refs.uploadFileRef.uploadFiles[0].size / 1024 / 1024 <= 1024 const isLt100M = this.$refs.uploadFileRef.uploadFiles[0].size / 1024 / 1024 <= 10 if (!isLt100M) { return this.$message.info('请检查,上传文件大小不能超过1024MB!') return this.$message.info('请检查,上传文件大小不能超过10MB!') } this.$refs.dialogForm.validate(valid => { src/views/sopManager/sopWorkOrder.vue
@@ -471,9 +471,9 @@ this.$message.info('请选择文件上传!') } const isLt100M = this.$refs.uploadFileRef.uploadFiles[0].size / 1024 / 1024 <= 1024 const isLt100M = this.$refs.uploadFileRef.uploadFiles[0].size / 1024 / 1024 <= 10 if (!isLt100M) { return this.$message.info('请检查,上传文件大小不能超过1024MB!') return this.$message.info('请检查,上传文件大小不能超过10MB!') } this.$refs.dialogForm.validate(valid => {