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;