From 328206b93da051f517afed6c02e76a0b9e88b15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 17 Apr 2024 16:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/package.json | 4 +- hw-ui/src/views/board/firstFloor/index.vue | 102 ++++++++++++--------- 2 files changed, 60 insertions(+), 46 deletions(-) diff --git a/hw-ui/package.json b/hw-ui/package.json index 6747112..4cb8632 100644 --- a/hw-ui/package.json +++ b/hw-ui/package.json @@ -93,6 +93,8 @@ }, "browserslist": [ "> 1%", - "last 2 versions" + "last 2 versions", + "not dead", + "ie >= 11" ] } diff --git a/hw-ui/src/views/board/firstFloor/index.vue b/hw-ui/src/views/board/firstFloor/index.vue index 741eb69..01fc5c4 100644 --- a/hw-ui/src/views/board/firstFloor/index.vue +++ b/hw-ui/src/views/board/firstFloor/index.vue @@ -65,6 +65,7 @@ SOP预览 @@ -534,7 +535,7 @@ - + @@ -542,7 +543,8 @@ - + @@ -643,49 +645,8 @@ export default { }, data() { return { - fileList: [ - { - name: 'Snipaste_2023-09-04_08-16-59.png', - url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' - }, - { - name: '会议纪要 0825_20240417143926A014.docx', - url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' - }, - { - name: '会议纪要 0825_20240417143926A014.docx', - url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' - }, - { - name: '会议纪要 0825_20240417143926A014.docx', - url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' - }, - { - name: 'Snipaste_2023-09-04_08-16-59.png', - url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' - }, - { - name: 'Snipaste_2023-09-04_08-16-59.png', - url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' - }, - { - name: 'Snipaste_2023-09-04_08-16-59.png', - url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' - }, - { - name: 'Snipaste_2023-09-04_08-16-59.png', - url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' - }, - { - name: 'Snipaste_2023-09-04_08-16-59.png', - url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' - }, - { - name: '会议纪要 0825_20240417143926A014.docx', - url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' - }, - ], - SOPModel: true, + fileList: [], + SOPModel: false, pictureDetailModel: false, dialogImageUrl: '', returnModelVisible: false, @@ -1256,6 +1217,57 @@ export default { }); }, + async SOP(e) { + this.fileList = [] + + console.log(e) + // const data = await fun() + // this.fileList = data.map(v=>v) + + this.fileList = [ + { + name: 'Snipaste_2023-09-04_08-16-59.png', + url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' + }, + { + name: '会议纪要 0825_20240417143926A014.docx', + url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' + }, + { + name: '会议纪要 0825_20240417143926A014.docx', + url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' + }, + { + name: '会议纪要 0825_20240417143926A014.docx', + url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' + }, + { + name: 'Snipaste_2023-09-04_08-16-59.png', + url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' + }, + { + name: 'Snipaste_2023-09-04_08-16-59.png', + url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' + }, + { + name: 'Snipaste_2023-09-04_08-16-59.png', + url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' + }, + { + name: 'Snipaste_2023-09-04_08-16-59.png', + url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' + }, + { + name: 'Snipaste_2023-09-04_08-16-59.png', + url: 'http://175.27.215.92:9665/statics/2024/04/17/Snipaste_2023-09-04_08-16-59_20240417142903A013.png' + }, + { + name: '会议纪要 0825_20240417143926A014.docx', + url: 'http://175.27.215.92:9665/statics/2024/04/17/会议纪要 0825_20240417143926A014.docx' + }, + ] + this.SOPModel = true; + }, //查看图纸预览 handlePictureCardPreview(file) { this.dialogImageUrl = file.url;