diff --git a/src/views/project-management/filing/detail.vue b/src/views/project-management/filing/detail.vue
index b07c02d..f044112 100644
--- a/src/views/project-management/filing/detail.vue
+++ b/src/views/project-management/filing/detail.vue
@@ -9,13 +9,13 @@
:loading="loading"
/>
+ :processViewer="commonProvessViewer" :loading="loading" :fileListShow="fileListShow"/>
+ :processViewer="commonProvessViewer" :loading="loading" :fileListShow="fileListShow"/>
+ :processViewer="commonProvessViewer" :loading="loading" :fileListShow="fileListShow"/>
+ :processViewer="commonProvessViewer" :loading="loading" :fileListShow="fileListShow"/>
@@ -36,6 +36,7 @@ const loading = ref(false)
const processStore = useProcessStore()
const activeName = ref('first')
const commonForm = ref({})
+const fileListShow = ref('READ')
const commonProvessViewer = ref(true)
const getAllInfo = async (state) => {
@@ -43,17 +44,17 @@ const getAllInfo = async (state) => {
try {
commonProvessViewer.value = false
loading.value = true
- const {data, code,msg} = await getMapProjectStateInfo(route.query.projectId, state)
- if(code===1000){
+ const {data, code, msg} = await getMapProjectStateInfo(route.query.projectId, state)
+ if (code === 1000) {
loading.value = false
- }else {
+ } else {
ElNotification({
title: '提示',
message: msg,
- type: 'error'
+ type: 'error'
})
}
- if(data===undefined)return;
+ if (data === undefined) return;
commonForm.value = data
processStore.setDesign(data)
processStore.runningList.value = data.runningList;
@@ -63,6 +64,9 @@ const getAllInfo = async (state) => {
processStore.passList.value = data.passList;
nextTick(() => {
commonProvessViewer.value = true
+ if (data.formPermMap["fileList"]) {
+ fileListShow.value = data.formPermMap["fileList"].perm
+ }
})
loading.close()
} catch {
diff --git a/src/views/project-management/initiation/detail.vue b/src/views/project-management/initiation/detail.vue
index f077fa6..5e32348 100644
--- a/src/views/project-management/initiation/detail.vue
+++ b/src/views/project-management/initiation/detail.vue
@@ -8,12 +8,14 @@
v-show="showActive == '00'"
:loading="loading"
/>
-
-
+
+
+ :processViewer="commonProvessViewer" :loading="loading" :fileListShow="fileListShow"/>
+ :processViewer="commonProvessViewer" :loading="loading" :fileListShow="fileListShow"/>
@@ -31,6 +33,7 @@ import Opinion from "@/components/DetailComponent/Opinion.vue";
const route = useRoute()
const activeName = ref('first')
+const fileListShow = ref('READ')
const loading = ref(false)
const active = ref(route.query.state)
const processStore = useProcessStore()
@@ -63,6 +66,9 @@ const getAllInfo = async (state) => {
processStore.passList.value = data.passList;
nextTick(() => {
commonProvessViewer.value = true
+ if (data.formPermMap["fileList"]) {
+ fileListShow.value = data.formPermMap["fileList"].perm
+ }
})
loading.close()
} catch {