From 94f3e6c75706c16dfc507494a532ce0649dcd9dc Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Tue, 3 Mar 2026 14:15:04 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=90=88=E5=B9=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 9 +-
src/views/system/notice/components/from.vue | 104 ++++++--------------
2 files changed, 35 insertions(+), 78 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index b9be4bcc..91f9b2de 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -83,7 +83,7 @@
-
+
@@ -94,12 +94,15 @@ import {
} from '@/api/dictionary/dictionary'
import { getTrialExtralConfig } from '@/api/trials'
import feedBack from '@/views/trials/trials-layout/components/feedBack'
-import timeTag from '@/components/timeTag'
+// import timeTag from '@/components/timeTag'
import Vue from 'vue'
import i18n from './lang'
export default {
name: 'App',
- components: { feedBack, timeTag },
+ components: {
+ feedBack,
+ // timeTag
+ },
data() {
return {
drawer: false,
diff --git a/src/views/system/notice/components/from.vue b/src/views/system/notice/components/from.vue
index cc08001e..2e90fe43 100644
--- a/src/views/system/notice/components/from.vue
+++ b/src/views/system/notice/components/from.vue
@@ -1,109 +1,63 @@
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
- {{$t('common:button:upload')}}
+
+
+ {{ $t('common:button:upload') }}
- {{ $t('common:button:cancel') }}
- {{ $t('common:button:save') }}
+ {{ $t('common:button:cancel')
+ }}
+ {{ $t('common:button:save')
+ }}
@@ -178,7 +132,7 @@ export default {
this.loading = true
var file = await this.fileToBlob(param.file)
const res = await this.OSSclient.put(`/System/NoticeAttachment/${param.file.name}`, file)
- this.fileList.push({ name: param.file.name, path: this.$getObjectName(res.url), fullPath: this.$getObjectName(res.url), url: this.$getObjectName(res.url)})
+ this.fileList.push({ name: param.file.name, path: this.$getObjectName(res.url), fullPath: this.$getObjectName(res.url), url: this.$getObjectName(res.url) })
this.form.Path = this.$getObjectName(res.url)
this.form.FileName = param.file.name
this.loading = false