From aedfca1e890463ad27506c97b1fb7ea01b4192eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=93=B2=E5=A5=87?= <13840175730@139.com> Date: Wed, 16 Oct 2024 10:23:51 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=AD=A3=E6=B5=8F=E8=A7=88=E5=99=A8?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E9=97=AE=E9=A2=98=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?excel=E4=B8=8A=E4=BC=A0=E9=AA=8C=E8=AF=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/components/fd/czfdzgtcx.vue | 8 ++++---- src/views/jc/czfdzgtdy.vue | 8 ++++---- src/views/jhzx/dhqdWH.vue | 8 ++++---- src/views/jhzx/gdxqDR.vue | 8 ++++---- src/views/jhzx/jtsyWH.vue | 8 ++++---- src/views/jhzx/qfxqwh.vue | 8 ++++---- src/views/jhzx/sygdCX.vue | 8 ++++---- src/views/jhzx/sygdSH.vue | 8 ++++---- src/views/jhzx/sygdWH.vue | 8 ++++---- src/views/jhzx/symxCX.vue | 8 ++++---- src/views/jhzx/zrcWH.vue | 9 +++++---- src/views/jhzxgl/components/YppTq.vue | 8 ++++---- src/views/sjzx/bclqCX.vue | 8 ++++---- src/views/sjzx/bclqCX1.vue | 8 ++++---- src/views/sjzx/bctltCX.vue | 8 ++++---- src/views/sjzx/bcybCX.vue | 8 ++++---- src/views/sjzx/czplwh.vue | 8 ++++---- src/views/sjzx/ljptCX.vue | 8 ++++---- src/views/sjzx/plbXC.vue | 8 ++++---- src/views/sjzx/xclqCX.vue | 8 ++++---- src/views/sjzx/xctltCX.vue | 8 ++++---- src/views/sjzx/xcylCX.vue | 8 ++++---- src/views/tp/czfdzgtcx.vue | 8 ++++---- 23 files changed, 93 insertions(+), 92 deletions(-) diff --git a/src/views/dashboard/components/fd/czfdzgtcx.vue b/src/views/dashboard/components/fd/czfdzgtcx.vue index eecfb51..59c4d9c 100644 --- a/src/views/dashboard/components/fd/czfdzgtcx.vue +++ b/src/views/dashboard/components/fd/czfdzgtcx.vue @@ -156,10 +156,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jc/czfdzgtdy.vue b/src/views/jc/czfdzgtdy.vue index f10b761..807bc59 100644 --- a/src/views/jc/czfdzgtdy.vue +++ b/src/views/jc/czfdzgtdy.vue @@ -215,10 +215,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/dhqdWH.vue b/src/views/jhzx/dhqdWH.vue index f776e81..64b94fe 100644 --- a/src/views/jhzx/dhqdWH.vue +++ b/src/views/jhzx/dhqdWH.vue @@ -532,10 +532,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/gdxqDR.vue b/src/views/jhzx/gdxqDR.vue index 1b1df41..64fa8ab 100644 --- a/src/views/jhzx/gdxqDR.vue +++ b/src/views/jhzx/gdxqDR.vue @@ -309,10 +309,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/jtsyWH.vue b/src/views/jhzx/jtsyWH.vue index 9eed2e5..fef8c9d 100644 --- a/src/views/jhzx/jtsyWH.vue +++ b/src/views/jhzx/jtsyWH.vue @@ -398,10 +398,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/qfxqwh.vue b/src/views/jhzx/qfxqwh.vue index e72514c..49e3120 100644 --- a/src/views/jhzx/qfxqwh.vue +++ b/src/views/jhzx/qfxqwh.vue @@ -292,10 +292,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/sygdCX.vue b/src/views/jhzx/sygdCX.vue index 7d2774c..fbd6a33 100644 --- a/src/views/jhzx/sygdCX.vue +++ b/src/views/jhzx/sygdCX.vue @@ -385,10 +385,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/sygdSH.vue b/src/views/jhzx/sygdSH.vue index 00c698c..f0d1e58 100644 --- a/src/views/jhzx/sygdSH.vue +++ b/src/views/jhzx/sygdSH.vue @@ -387,10 +387,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/sygdWH.vue b/src/views/jhzx/sygdWH.vue index 3901f90..790b7a4 100644 --- a/src/views/jhzx/sygdWH.vue +++ b/src/views/jhzx/sygdWH.vue @@ -386,10 +386,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/symxCX.vue b/src/views/jhzx/symxCX.vue index df38a3d..9430b32 100644 --- a/src/views/jhzx/symxCX.vue +++ b/src/views/jhzx/symxCX.vue @@ -3198,10 +3198,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzx/zrcWH.vue b/src/views/jhzx/zrcWH.vue index 0ddfdac..f7e91a0 100644 --- a/src/views/jhzx/zrcWH.vue +++ b/src/views/jhzx/zrcWH.vue @@ -936,13 +936,14 @@ export default { } // 文件类型 + console.debug(file.type) const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/jhzxgl/components/YppTq.vue b/src/views/jhzxgl/components/YppTq.vue index 02b398b..e6d6ab8 100644 --- a/src/views/jhzxgl/components/YppTq.vue +++ b/src/views/jhzxgl/components/YppTq.vue @@ -301,10 +301,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/bclqCX.vue b/src/views/sjzx/bclqCX.vue index 040b06c..178d17c 100644 --- a/src/views/sjzx/bclqCX.vue +++ b/src/views/sjzx/bclqCX.vue @@ -384,10 +384,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/bclqCX1.vue b/src/views/sjzx/bclqCX1.vue index 03355f1..43d7a33 100644 --- a/src/views/sjzx/bclqCX1.vue +++ b/src/views/sjzx/bclqCX1.vue @@ -629,10 +629,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/bctltCX.vue b/src/views/sjzx/bctltCX.vue index 92f247b..20ece66 100644 --- a/src/views/sjzx/bctltCX.vue +++ b/src/views/sjzx/bctltCX.vue @@ -320,10 +320,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/bcybCX.vue b/src/views/sjzx/bcybCX.vue index 86ac547..448264a 100644 --- a/src/views/sjzx/bcybCX.vue +++ b/src/views/sjzx/bcybCX.vue @@ -328,10 +328,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/czplwh.vue b/src/views/sjzx/czplwh.vue index f9f0a6c..a9a774b 100644 --- a/src/views/sjzx/czplwh.vue +++ b/src/views/sjzx/czplwh.vue @@ -480,10 +480,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/ljptCX.vue b/src/views/sjzx/ljptCX.vue index 034f2b7..6b65609 100644 --- a/src/views/sjzx/ljptCX.vue +++ b/src/views/sjzx/ljptCX.vue @@ -327,10 +327,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/plbXC.vue b/src/views/sjzx/plbXC.vue index 6751845..c8335be 100644 --- a/src/views/sjzx/plbXC.vue +++ b/src/views/sjzx/plbXC.vue @@ -480,10 +480,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/xclqCX.vue b/src/views/sjzx/xclqCX.vue index 5d8b132..ba45769 100644 --- a/src/views/sjzx/xclqCX.vue +++ b/src/views/sjzx/xclqCX.vue @@ -390,10 +390,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/xctltCX.vue b/src/views/sjzx/xctltCX.vue index f9020f6..6658efc 100644 --- a/src/views/sjzx/xctltCX.vue +++ b/src/views/sjzx/xctltCX.vue @@ -320,10 +320,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/sjzx/xcylCX.vue b/src/views/sjzx/xcylCX.vue index b16f3e3..1b96616 100644 --- a/src/views/sjzx/xcylCX.vue +++ b/src/views/sjzx/xcylCX.vue @@ -301,10 +301,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType }, diff --git a/src/views/tp/czfdzgtcx.vue b/src/views/tp/czfdzgtcx.vue index 4bc5114..8edaba2 100644 --- a/src/views/tp/czfdzgtcx.vue +++ b/src/views/tp/czfdzgtcx.vue @@ -1187,10 +1187,10 @@ export default { const isType = file.type === 'application/vnd.ms-excel' const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileType = isType || isTypeComputer - if (!fileType) { - this.$message.error('上传文件只能是xls/xlsx格式!') - return - } + // if (!fileType) { + // this.$message.error('上传文件只能是xls/xlsx格式!') + // return + // } startLoading() return fileType },