diff --git a/src/components/DetailComponent/ProjectApply.vue b/src/components/DetailComponent/ProjectApply.vue index a1ef965..070dfb5 100644 --- a/src/components/DetailComponent/ProjectApply.vue +++ b/src/components/DetailComponent/ProjectApply.vue @@ -10,20 +10,13 @@ - + - - - - - - - @@ -180,6 +173,7 @@ import {useProcessStore} from '@/stores/processStore.js'; import {useTagsView} from '@/stores/tagsview.js' import Paging from "@/components/pagination/index.vue"; import UserPicker from "@/views/workflow/process/common/UserPicker.vue"; +import {getBaseInfoApi} from "@/components/steps/api"; const router = useRouter() const route = useRoute() @@ -267,6 +261,7 @@ const selectRows = ref([]) const projectId = ref(route.query.projectId) const sessionParams = ref({}) const optionalChargeLeadershipPickerRef = ref() +const detail = ref(false) const optionalChargeLeadershipList = ref([]) const filePreviewParam = ref({ fileUrl: '', @@ -274,7 +269,13 @@ const filePreviewParam = ref({ fileType: 'pdf' }) const filePreviewShow = ref(false) +const getInfo=async ()=>{ + const {code, data} = await getBaseInfoApi(route.query.projectId) + console.log('data',code,data) + detail.value=data.isSpecialFund +} +getInfo() const getTemplateName=(type)=>{ switch (type) { case 'apply': diff --git a/src/components/DetailComponent/ProjectAttachment.vue b/src/components/DetailComponent/ProjectAttachment.vue index 3192b5a..e2ad801 100644 --- a/src/components/DetailComponent/ProjectAttachment.vue +++ b/src/components/DetailComponent/ProjectAttachment.vue @@ -241,7 +241,11 @@ const handleTabClick = (item) => { isEdit.value = false } if (item.props.name != 'plus') { - changeFileList(getTagName(item.props.name)) + if(item.props.name == 'all'){ + changeFileList('all') + }else{ + changeFileList(getTagName(item.props.name)) + } // if (item.props.name == 'all') { // otherAttachmentList.value = allFiles.value // } else { @@ -300,12 +304,21 @@ const clickToPreview = (row) => { }) } const changeFileList=(tag)=>{ - showAttachmentTable.value = false - let params = { - targetId: route.query.projectId, - targetState: "30", - tag:tag + let params = {} + if(tag=='all'){ + params = { + targetId: route.query.projectId, + targetState: "30", + } + }else{ + params = { + targetId: route.query.projectId, + targetState: "30", + tag:tag + } } + showAttachmentTable.value = false + searchImplementationFileList(params).then(res => { if (res.code === 1000) { otherAttachmentList.value = res.data.fileList diff --git a/src/components/SearchFilesByTag.vue b/src/components/SearchFilesByTag.vue index 44200da..6b85097 100644 --- a/src/components/SearchFilesByTag.vue +++ b/src/components/SearchFilesByTag.vue @@ -4,8 +4,8 @@ - - + +
- {{ index > 8 ? '' : 0 }}{{ index + 1 }}{{ item.articleTitle }} + {{ index > 8 ? '' : 0 }}{{ index + 1 }} + {{ item.articleTitle }}
diff --git a/src/views/project-demand/requirement/index.vue b/src/views/project-demand/requirement/index.vue index 7f10059..eb3561e 100644 --- a/src/views/project-demand/requirement/index.vue +++ b/src/views/project-demand/requirement/index.vue @@ -48,7 +48,7 @@ const tableConfig = reactive({ }, { prop: 'processNumber', - label: '编号', + label: '征集编号', align: 'center', }, { diff --git a/src/views/project-demand/summary/index.vue b/src/views/project-demand/summary/index.vue index 240a2ae..0f61432 100644 --- a/src/views/project-demand/summary/index.vue +++ b/src/views/project-demand/summary/index.vue @@ -220,7 +220,7 @@ const tableConfig = reactive({ }, { prop: 'processNumber', - label: '编号', + label: '项目编号', align: 'center', }, { diff --git a/src/views/project-management/filing/index.vue b/src/views/project-management/filing/index.vue index a16caa3..40815cf 100644 --- a/src/views/project-management/filing/index.vue +++ b/src/views/project-management/filing/index.vue @@ -219,7 +219,7 @@ const tableConfig = reactive({ { prop: 'processNumber', - label: '编号', + label: '项目编号', align: 'center', }, { diff --git a/src/views/project-management/implementation/index.vue b/src/views/project-management/implementation/index.vue index cb440d3..e0d86b7 100644 --- a/src/views/project-management/implementation/index.vue +++ b/src/views/project-management/implementation/index.vue @@ -222,7 +222,7 @@ const tableConfig = reactive({ { prop: 'processNumber', - label: '编号', + label: '项目编号', align: 'center', }, { diff --git a/src/views/project-management/initiation/index.vue b/src/views/project-management/initiation/index.vue index 8089ba1..4cd83d2 100644 --- a/src/views/project-management/initiation/index.vue +++ b/src/views/project-management/initiation/index.vue @@ -216,7 +216,7 @@ const tableConfig = reactive({ }, { prop: 'processNumber', - label: '编号', + label: '项目编号', align: 'center', }, { diff --git a/vite.config.js b/vite.config.js index 0bb55cf..fcfcb8f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -76,8 +76,8 @@ export default defineConfig({ // rewrite: (path) => path.replace(/^\/api/, '') // }, // '/api/admin': { - // // target: 'http://frp.feashow.cn:31800/', - // target: 'http://clay.frp.feashow.cn/', + // target: 'http://frp.feashow.cn:31800/', + // // target: 'http://clay.frp.feashow.cn/', // // target: 'http://192.168.31.175:8000', // changeOrigin: true, // rewrite: (path) => path.replace(/^\/api/, '')