{
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/detail.vue b/src/views/project-demand/summary/detail.vue
index c7c9e87..50f4fcd 100644
--- a/src/views/project-demand/summary/detail.vue
+++ b/src/views/project-demand/summary/detail.vue
@@ -2,7 +2,7 @@
+ :processViewer="summaryProcessViewer" :loading="loading"/>
@@ -21,34 +21,20 @@ import SummaryDetail from '@/components/DetailComponent/SummaryDetail.vue';
import {useProcessStore} from '@/stores/processStore.js';
import {getMapProjectStateInfo} from '@/components/steps/api';
import CollectionDetail from "@/components/DetailComponent/CollectionDetail.vue";
-import {getSubCompOpt} from "@/api/user/user";
import {ElNotification} from "element-plus";
const route = useRoute()
-const companyOption = ref([])
const summaryData = ref({})
const summaryProcessViewer = ref(true)
const loading = ref(false)
const processStore = useProcessStore()
const active = ref(route.query.state)
const showActive = ref()
-const getCompanyOption = async () => {
- const res = await getSubCompOpt()
- companyOption.value = res.data
-}
const getInfo = async (state) => {
const projectId = route.query.projectId
- if(showActive == '00'){
- await getCompanyOption()
- }
summaryProcessViewer.value = false
loading.value = true
const {code, data,msg} = await getMapProjectStateInfo(projectId, state)
- ElNotification({
- title: '提示',
- message: msg,
- type: code === 1000 ? 'success' : 'error'
- })
if(data===undefined)return;
if(code===1000){
summaryData.value = data;
@@ -62,24 +48,15 @@ const getInfo = async (state) => {
nextTick(() => {
summaryProcessViewer.value = true
})
+ }else {
+ ElNotification({
+ title: '提示',
+ message: msg,
+ type: 'error'
+ })
}
}
-// const back = () => {
-// switch (route.name) {
-// case 'Summary/detail':
-// setDetail('1')
-// break;
-// case 'Initiation/detail':
-// setDetail('2')
-// break;
-// case 'Implementation/detail':
-// setDetail('3')
-// break;
-// case 'Filing/detail':
-// setDetail('4')
-// break;
-// }
-// }
+
const setDetail = (active) => {
showActive.value = active
getInfo(active)
@@ -89,7 +66,6 @@ const stepChange = (data) => {
showActive.value = data.active
getInfo(data.active)
}
-// back()
diff --git a/src/views/project-management/filing/attachment.vue b/src/views/project-management/filing/attachment.vue
index 4c7788c..ebda94b 100644
--- a/src/views/project-management/filing/attachment.vue
+++ b/src/views/project-management/filing/attachment.vue
@@ -1,103 +1,204 @@
-
-
-
-
-
- 搜索
- 上传附件
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/views/project-management/filing/detail.vue b/src/views/project-management/filing/detail.vue
index b7f1460..b07c02d 100644
--- a/src/views/project-management/filing/detail.vue
+++ b/src/views/project-management/filing/detail.vue
@@ -5,7 +5,6 @@
:formData="commonForm.formData"
:data="commonForm"
:processViewer="commonProvessViewer"
- :companyOption="companyOption"
v-show="showActive == '00'"
:loading="loading"
/>
@@ -24,52 +23,35 @@
+
+
diff --git a/src/views/project-management/implementation/attachment.vue b/src/views/project-management/implementation/attachment.vue
index 8548cb8..88e2215 100644
--- a/src/views/project-management/implementation/attachment.vue
+++ b/src/views/project-management/implementation/attachment.vue
@@ -1,12 +1,12 @@
-
+
-
+
@@ -27,7 +27,7 @@