{{ listForm.modelName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
@@ -255,6 +277,7 @@ export default {
selectList: [], //选择标准的选择框
bringData: [],
commentText: "", //填写会签意见
+ fileList:[],
page: 1,
total: 0,
pageSize: this.$store.getters.userInfo.configContent,
@@ -356,6 +379,9 @@ export default {
this.listForm.applyUpdUserId = item.applyUpdUserId;
this.listForm.jlUserId = item.jlUserId;
this.listForm.zrUserId = item.zrUserId;
+ this.fileIds = item.fileId;
+ console.log(this.fileIds);
+ this.getFileInfo();
});
},
// 请求上传的文件信息
@@ -365,11 +391,15 @@ export default {
}, {
_this: this
}, res => {
- console.log(res);
this.$nextTick(() => {
res.data.map(item => {
- this.listForm.modelName = item.oldFileName;
- this.listForm.model = item.id;
+ // 赋值要回显的上传文件内容
+ this.fileList.push({
+ name: item.oldFileName,
+ uid: item.uid,
+ status: item.status,
+ id: item.id
+ });
});
});
}, e => {
@@ -499,6 +529,31 @@ export default {
padding: 0 20px 0;
}
}
+ p {
+ & > a {
+ cursor: pointer;
+ }
+
+ & > i {
+ display: inline-block;
+ margin-left: 3px;
+ width: 18px;
+ height: 16px;
+ background-repeat: no-repeat;
+ background-size: 100% 100%;
+ background-position: center center;
+ vertical-align: sub;
+ cursor: pointer;
+ }
+
+ .icon-download {
+ background-image: url("~assets/images/shangqi/img/download.png");
+ }
+
+ .icon-download2 {
+ background-image: url("~assets/images/shangqi/img/download2.png");
+ }
+ }
.choiceBtn {
.el-button--primary {
From b1e39201f567260dd1fe4cfe3d36d37323af678a Mon Sep 17 00:00:00 2001
From: song2048 <2639528268@qq.com>
Date: Fri, 6 Aug 2021 15:10:47 +0800
Subject: [PATCH 12/13] =?UTF-8?q?=E5=9C=A8=E8=A1=A8=E6=A0=BC=E5=90=8E?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E2=80=9C=E6=93=8D=E4=BD=9C=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../localProductsOrProjectLibrary/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue
index 601dc8728..03ea3ab2f 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue
@@ -189,7 +189,7 @@
align="center"
label="项目经理">
-