From fc996151eac7275ea4ce5eeff5a142fb3d793396 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Fri, 08 Sep 2023 13:34:06 +0800
Subject: [PATCH] 修复弹窗bug
---
src/views/Admin/notice.vue | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/views/Admin/notice.vue b/src/views/Admin/notice.vue
index 8d1c4ed..69b8c10 100644
--- a/src/views/Admin/notice.vue
+++ b/src/views/Admin/notice.vue
@@ -55,6 +55,14 @@
<a-textarea v-model="form.content" placeholder="请输入短信通知内容部分"
:auto-size="{ minRows: 3, maxRows: 5 }" />
</a-form-model-item>
+ <a-row v-if="userInfo.unittype == 1">
+ <a-col :span="24" style="display: flex;align-items: center">
+ <b style="margin-bottom: 24px">直览附件URL:</b>
+ <a-form-model-item prop="directViewUrl" style="width: 50%">
+ <a-textarea v-model="form.directViewUrl" placeholder="请输入url信息" :auto-size="{ minRows: 1, maxRows: 3 }"/>
+ </a-form-model-item>
+ </a-col>
+ </a-row>
<a-row>
<a-col :span="12">
<a-upload :action="uploadUrl" :file-list="fileList" @change="fileChange" :headers="header"
@@ -175,6 +183,7 @@
disasterType: undefined,
warningLevel: undefined,
content: '',
+ directViewUrl: '',
publishingUnit: '',
districtId: null,
attachments: [],
@@ -202,15 +211,11 @@
value: 1
},
{
- name: '洪涝',
- value: 2
- },
- {
name: '气象',
value: 3
},
{
- name: '泥石流',
+ name: '地质灾害',
value: 4
},
{
--
Gitblit v1.9.2