handleDelete(row), type: 'primary'})
// }
- // if (buttons.has("report")) {
+ if (buttons.has("report")) {
btn.push({label: '需求上报', prem: ['mosr:requirement:info'], func: () => handleReport(row), type: 'primary'})
- // }
+ }
return (
{
diff --git a/src/views/project-demand/requirement/upload.vue b/src/views/project-demand/requirement/upload.vue
new file mode 100644
index 0000000..6c0bff8
--- /dev/null
+++ b/src/views/project-demand/requirement/upload.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/src/views/project-demand/summary/api/index.js b/src/views/project-demand/summary/api/index.js
index 3baa2ef..531c4a4 100644
--- a/src/views/project-demand/summary/api/index.js
+++ b/src/views/project-demand/summary/api/index.js
@@ -38,3 +38,11 @@ export const resubmitReported = (data) => {
data: data
});
};
+
+export const getCollectAttachment = (params) => {
+ return request({
+ url: '/workflow/mosr/requirement/collect/attachments',
+ method: "get",
+ params:params
+ });
+};
diff --git a/src/views/project-demand/summary/upload.vue b/src/views/project-demand/summary/upload.vue
new file mode 100644
index 0000000..6c0bff8
--- /dev/null
+++ b/src/views/project-demand/summary/upload.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/src/views/project-management/filing/attachment.vue b/src/views/project-management/filing/attachment.vue
index 0752f87..ebda94b 100644
--- a/src/views/project-management/filing/attachment.vue
+++ b/src/views/project-management/filing/attachment.vue
@@ -1,111 +1,204 @@
-
-
-
-
-
-
- 搜索
- 上传附件
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/views/project-management/filing/index.vue b/src/views/project-management/filing/index.vue
index 4cb549a..d72753c 100644
--- a/src/views/project-management/filing/index.vue
+++ b/src/views/project-management/filing/index.vue
@@ -207,9 +207,9 @@ const tableConfig = reactive({
if (buttons.has("details")) {
btn.push({label: '详情', prem: ['mosr:requirement:info'], func: () => handleDetail(row), type: 'primary'})
}
- if (buttons.has("attachments")) {
+ // if (buttons.has("attachments")) {
btn.push({label: '附件', prem: ['mosr:requirement:resubmit'], func: () => handleAttachment(row), type: 'primary'})
- }
+ // }
if (buttons.has("entry")) {
btn.push({label: '结项', prem: ['mosr:requirement:del'], func: () => handleConclusion(row), type: 'primary'})
}
@@ -265,8 +265,8 @@ const handleAttachment = (row) => {
router.push({
name: 'Filing/attachment',
query: {
- id: row.requirementId,
- projectId: row.projectId
+ id: row.projectId,
+ requirementId:row.requirementId
}
})
}
diff --git a/src/views/project-management/filing/upload.vue b/src/views/project-management/filing/upload.vue
new file mode 100644
index 0000000..6c0bff8
--- /dev/null
+++ b/src/views/project-management/filing/upload.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/src/views/project-management/implementation/attachment.vue b/src/views/project-management/implementation/attachment.vue
index b0a6f48..88e2215 100644
--- a/src/views/project-management/implementation/attachment.vue
+++ b/src/views/project-management/implementation/attachment.vue
@@ -1,7 +1,7 @@
-
+
-
+
{
})
showTable.value = false
if (res.code === 1000) {
- // tagsOption.value = res.data
otherFileList.value = res.data
nextTick(() => {
showTable.value = true
@@ -145,7 +144,7 @@ const handleDownload = (row) => {
})
}
getTagsOption()
-// handleSearch()
+handleSearch()