上传附件
diff --git a/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue
index 81931869..ec1d4bd8 100644
--- a/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue
+++ b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue
@@ -138,6 +138,7 @@
let obj = props.dataList.infoList.filter(
(item) => item.attrType === '技术文档'
)[0]
+ debugger
console.log('dataFrom.value.link', obj.attrValue)
window.open(
window.SITE_CONFIG.previewUrl +
@@ -149,6 +150,7 @@
let obj = props.dataList.infoList.filter(
(item) => item.attrType === '使用手册'
)[0]
+ debugger
console.log('dataFrom.value.link', obj.attrValue)
window.open(
window.SITE_CONFIG.previewUrl +
From 57df5fe2206170aeffd4a55e8abb85989a30d9a0 Mon Sep 17 00:00:00 2001
From: "851673013@qq.com" <851673013@qq.com>
Date: Tue, 12 Jul 2022 17:08:58 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=96=87=E6=A1=A3bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/capacityOnTheShelf/FilesUpload.vue | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/front/src/views/capacityOnTheShelf/FilesUpload.vue b/front/src/views/capacityOnTheShelf/FilesUpload.vue
index 9140988c..6f059550 100644
--- a/front/src/views/capacityOnTheShelf/FilesUpload.vue
+++ b/front/src/views/capacityOnTheShelf/FilesUpload.vue
@@ -24,7 +24,7 @@
import * as fontJs from '/public/static/js/font.js'
import { filesUpload } from '@/api/personalCenter'
import mybus from '@/myplugins/mybus'
- let text = ''
+ let text = ref('')
let iconfontJs = fontJs
const props = defineProps({
data: { type: Array, default: null },
@@ -44,11 +44,12 @@
// formData.append('name', this.route.currentRoute.query.id + '.md')
// FileSaver.saveAs(blob, '开发指南.md')
filesUpload(formData).then((resData) => {
- const res = resData
+ const res = resData.data.data
+ text.value = res
mybus.emit('showTextFunctionEmit', false)
let infoList = ref({
attrType: '技术文档',
- attrValue: res.data.data,
+ attrValue: res,
delFlag: 0,
})
mybus.emit('chageDataFrom', infoList.value)
From 570a582818ba371b9214f2462571ff98d2284276 Mon Sep 17 00:00:00 2001
From: "851673013@qq.com" <851673013@qq.com>
Date: Tue, 12 Jul 2022 17:13:03 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=96=87=E6=A1=A3?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/PutOnTheShelf.vue | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
index 7ecb6a0e..06f1be99 100644
--- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
+++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
@@ -157,10 +157,11 @@
tip="支持文件类型,大小不超过100M"
>
- 上传附件
+ 编辑富文本
div {
width: 100%;