cyy 1 год назад
Родитель
Сommit
5c0327313b
1 измененных файлов с 15 добавлено и 9 удалено
  1. 15 9
      src/views/platform/bpmn/upload-attachment/index.vue

+ 15 - 9
src/views/platform/bpmn/upload-attachment/index.vue

@@ -1,3 +1,11 @@
+<!--
+ * @Author: cyy szjbdcyy@126.com
+ * @Date: 2024-07-30 16:01:20
+ * @LastEditors: cyy szjbdcyy@126.com
+ * @LastEditTime: 2025-02-21 10:19:18
+ * @FilePath: \medical_lab_ui_mobile\src\views\platform\bpmn\upload-attachment\index.vue
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+-->
 <template>
 <template>
   <div class="backgroundSty" :style =" 'height:'+0+'px'">
   <div class="backgroundSty" :style =" 'height:'+0+'px'">
     <!-- <div style="height:5%">
     <!-- <div style="height:5%">
@@ -17,7 +25,6 @@
         :have-padding="false"
         :have-padding="false"
         multiple
         multiple
         clearable
         clearable
-        :alreadyUploaded="false"
         @input="input"
         @input="input"
         @close = "close"
         @close = "close"
       />
       />
@@ -42,31 +49,30 @@ export default {
   },
   },
   data() {
   data() {
     return {
     return {
-      attachment:'',
-      height:window.innerHeight
+      attachment: '',
+      height: window.innerHeight
     }
     }
   },
   },
-  
+
   mounted() {
   mounted() {
     this.$refs.atta.onClick()
     this.$refs.atta.onClick()
   },
   },
   methods: {
   methods: {
-    input(val){
+    input(val) {
       this.$toast({
       this.$toast({
         duration: 1500, // 持续展示 toast
         duration: 1500, // 持续展示 toast
         message: '上传成功!'
         message: '上传成功!'
       })
       })
       setTimeout(() => {
       setTimeout(() => {
         this.$router.push({ name: 'dashboard' })
         this.$router.push({ name: 'dashboard' })
-      }, 1500);
-      
+      }, 1500)
     },
     },
-    close(){
+    close() {
       this.$router.push({ name: 'dashboard' })
       this.$router.push({ name: 'dashboard' })
     },
     },
     generateTitle(name, title) { // generateTitle by vue-i18n
     generateTitle(name, title) { // generateTitle by vue-i18n
       return i18n.generateTitle(name, title)
       return i18n.generateTitle(name, title)
-    },
+    }
   }
   }
 }
 }
 </script>
 </script>