diff --git a/src/views/manage_accept_doc/detail.js b/src/views/manage_accept_doc/detail.js index 78c5ede..48f3866 100644 --- a/src/views/manage_accept_doc/detail.js +++ b/src/views/manage_accept_doc/detail.js @@ -22,20 +22,15 @@ const detailConfig = { value: "send_company" }, { - label: "发文人", - value: "send_user" - }, - { - label: "签收人", + label: "收文人", value: "accept_user" + }, { + label: "收文日期", + value: "accept_date" }, { - label: "创建人", - value: "create_user" - }, - { - label: "创建时间", - value: "create_time" + label: "传阅人", + value: "read_user" }, { label: "备注", diff --git a/src/views/manage_accept_doc/index.vue b/src/views/manage_accept_doc/index.vue index 53aeb24..8eff8e9 100644 --- a/src/views/manage_accept_doc/index.vue +++ b/src/views/manage_accept_doc/index.vue @@ -37,7 +37,7 @@ - + @@ -56,6 +60,8 @@ + @@ -66,10 +72,14 @@ import { apiManageAcceptDocLists, apiManageAcceptDocDelete, apiManageAcceptDocDe import { apiManageProjectSearch } from '@/api/manage_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) +const showDetail = ref(false) // 查询条件 @@ -118,6 +128,14 @@ const handleDelete = async (id: number | any[]) => { await apiManageAcceptDocDelete({ id }) getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiManageAcceptDocDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/manage_engineering_changes/index.vue b/src/views/manage_engineering_changes/index.vue index abb191f..d6fffd8 100644 --- a/src/views/manage_engineering_changes/index.vue +++ b/src/views/manage_engineering_changes/index.vue @@ -38,7 +38,7 @@ - + @@ -57,6 +61,8 @@ + @@ -67,11 +73,14 @@ import { apiManageEngineeringChangesLists, apiManageEngineeringChangesDelete, ap import { apiManageProjectSearch } from '@/api/manage_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) - +const showDetail = ref(false) // 查询条件 const queryParams = reactive({ @@ -119,6 +128,14 @@ const handleDelete = async (id: number | any[]) => { await apiManageEngineeringChangesDelete({ id }) getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiManageEngineeringChangesDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/manage_info_report/detail.js b/src/views/manage_info_report/detail.js index 850a6fa..90d8208 100644 --- a/src/views/manage_info_report/detail.js +++ b/src/views/manage_info_report/detail.js @@ -1,5 +1,5 @@ const detailConfig = { - title: "项目管理--工程变更", + title: "项目管理--项目信息上报", config: [ { label: "项目名称", @@ -19,7 +19,7 @@ const detailConfig = { }, { label: "信息类别", - value: "info_cate" + value: "info_cate_text" }, { label: "信息内容", diff --git a/src/views/manage_info_report/index.vue b/src/views/manage_info_report/index.vue index 2a8abd0..0e4d180 100644 --- a/src/views/manage_info_report/index.vue +++ b/src/views/manage_info_report/index.vue @@ -40,7 +40,7 @@ - + @@ -59,6 +63,8 @@ + @@ -69,10 +75,15 @@ import { apiManageInfoReportLists, apiManageInfoReportDelete, apiManageInfoRepor import { apiManageProjectSearch } from '@/api/manage_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) +const showDetail = ref(false) + // 查询条件 @@ -122,5 +133,13 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiManageInfoReportDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/manage_metered_payment/index.vue b/src/views/manage_metered_payment/index.vue index 12c3b60..ac1c025 100644 --- a/src/views/manage_metered_payment/index.vue +++ b/src/views/manage_metered_payment/index.vue @@ -35,7 +35,7 @@ - + @@ -54,6 +58,8 @@ + @@ -64,11 +70,14 @@ import { apiManageMeteredPaymentLists, apiManageMeteredPaymentDelete, apiManageM import { apiManageProjectSearch } from '@/api/manage_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) - +const showDetail = ref(false) // 查询条件 const queryParams = reactive({ @@ -115,6 +124,14 @@ const handleDelete = async (id: number | any[]) => { await apiManageMeteredPaymentDelete({ id }) getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiManageMeteredPaymentDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/manage_monthly_progress_report/index.vue b/src/views/manage_monthly_progress_report/index.vue index f8cc85f..65cae11 100644 --- a/src/views/manage_monthly_progress_report/index.vue +++ b/src/views/manage_monthly_progress_report/index.vue @@ -33,7 +33,7 @@ - + @@ -52,6 +56,8 @@ + @@ -62,11 +68,14 @@ import { apiManageMonthlyProgressReportLists, apiManageMonthlyProgressReportDele import { apiManageProjectSearch } from '@/api/manage_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) - +const showDetail = ref(false) // 查询条件 const queryParams = reactive({ @@ -112,6 +121,14 @@ const handleDelete = async (id: number | any[]) => { await apiManageMonthlyProgressReportDelete({ id }) getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiManageMonthlyProgressReportDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/manage_send_doc/detail.js b/src/views/manage_send_doc/detail.js index 9ab5f03..48ab98c 100644 --- a/src/views/manage_send_doc/detail.js +++ b/src/views/manage_send_doc/detail.js @@ -1,5 +1,5 @@ const detailConfig = { - title: "项目管理--项目信息", + title: "项目管理--发文管理", config: [ { label: "项目名称", @@ -29,14 +29,6 @@ const detailConfig = { label: "签收人", value: "accept_user" }, - { - label: "创建人", - value: "create_user" - }, - { - label: "创建时间", - value: "create_time" - }, { label: "备注", value: "remark", diff --git a/src/views/manage_send_doc/index.vue b/src/views/manage_send_doc/index.vue index d7f5993..9fa2dcc 100644 --- a/src/views/manage_send_doc/index.vue +++ b/src/views/manage_send_doc/index.vue @@ -42,7 +42,7 @@ - + @@ -61,6 +65,8 @@ + @@ -71,11 +77,14 @@ import { apiManageSendDocLists, apiManageSendDocDelete, apiManageSendDocDetail } import { apiManageProjectSearch } from '@/api/manage_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) - +const showDetail = ref(false) // 查询条件 const queryParams = reactive({ @@ -124,6 +133,15 @@ const handleDelete = async (id: number | any[]) => { await apiManageSendDocDelete({ id }) getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiManageSendDocDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getLists() diff --git a/src/views/supervision_project_acceptance_report/detail.js b/src/views/supervision_project_acceptance_report/detail.js new file mode 100644 index 0000000..1ce5e0b --- /dev/null +++ b/src/views/supervision_project_acceptance_report/detail.js @@ -0,0 +1,36 @@ + +const detailConfig = { + title: "工程监理--项目验收报告", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "文档简介", + value: "content" + }, + + { + label: "创建人", + value: "create_user" + }, + { + label: "创建时间", + value: "create_time" + }, + { + label: "附件", + value: "annex", + column: 1 + + }, + + ], + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/supervision_project_acceptance_report/index.vue b/src/views/supervision_project_acceptance_report/index.vue index cbe0810..4884e52 100644 --- a/src/views/supervision_project_acceptance_report/index.vue +++ b/src/views/supervision_project_acceptance_report/index.vue @@ -32,7 +32,7 @@ - + @@ -52,6 +56,8 @@ + @@ -62,10 +68,14 @@ import { apiSupervisionProjectAcceptanceReportLists, apiSupervisionProjectAccept import { apiSupervisionProjectSearch } from '@/api/supervision_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) +const showDetail = ref(false) // 查询条件 @@ -114,5 +124,13 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiSupervisionProjectAcceptanceReportDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/supervision_project_data_archiving/detail.js b/src/views/supervision_project_data_archiving/detail.js new file mode 100644 index 0000000..3cc016c --- /dev/null +++ b/src/views/supervision_project_data_archiving/detail.js @@ -0,0 +1,48 @@ + + +import { apisupervision_project_data_archiving_detail, } from '@/api/supervision_project_data_archiving' + +const detailConfig = { + title: "工程监理--项目竣工资料归档", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "项目总监意见", + value: "opinion" + }, + { + label: "备注", + value: "remark", + column: 1 + + }, + + ], + table: { + title: "资料归档目录", + tableConfig: [ + { + label: "监理项目竣工资料归档目录", + value: 'data_catalog' + + }, + { + label: "项目部提交资料(份数)", + value: 'submit_by_project_dept' + + }, + { + label: "生产管理部核实情况(份数)", + value: 'submit_by_production_dept' + }, + + ], + fetchFun: apisupervision_project_data_archiving_detail, + query: 'data_archiving_id' + } + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/supervision_project_data_archiving/index.vue b/src/views/supervision_project_data_archiving/index.vue index d5cfc49..ccd1479 100644 --- a/src/views/supervision_project_data_archiving/index.vue +++ b/src/views/supervision_project_data_archiving/index.vue @@ -33,7 +33,7 @@ - + @@ -53,6 +57,8 @@ + @@ -63,11 +69,14 @@ import { apiSupervisionProjectDataArchivingLists, apiSupervisionProjectDataArchi import { apiSupervisionProjectSearch } from '@/api/supervision_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) - +const showDetail = ref(false) // 查询条件 const queryParams = reactive({ @@ -115,5 +124,14 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (id: any) => { + let res = await apiSupervisionProjectDataArchivingDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getLists() diff --git a/src/views/supervision_project_owner_evaluation/detail.js b/src/views/supervision_project_owner_evaluation/detail.js new file mode 100644 index 0000000..521fa20 --- /dev/null +++ b/src/views/supervision_project_owner_evaluation/detail.js @@ -0,0 +1,36 @@ + +const detailConfig = { + title: "工程监理--业主评价", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "文档简介", + value: "content" + }, + + { + label: "创建人", + value: "create_user" + }, + { + label: "创建时间", + value: "create_time" + }, + { + label: "附件", + value: "annex", + column: 1 + + }, + + ], + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/supervision_project_owner_evaluation/index.vue b/src/views/supervision_project_owner_evaluation/index.vue index a72d9af..c5b68f5 100644 --- a/src/views/supervision_project_owner_evaluation/index.vue +++ b/src/views/supervision_project_owner_evaluation/index.vue @@ -32,7 +32,7 @@ - + @@ -52,6 +56,8 @@ + @@ -62,11 +68,14 @@ import { apiSupervisionProjectOwnerEvaluationLists, apiSupervisionProjectOwnerEv import { apiSupervisionProjectSearch } from '@/api/supervision_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import detailConfig from './detail' + const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) - +const showDetail = ref(false) // 查询条件 const queryParams = reactive({ @@ -113,6 +122,13 @@ const handleDelete = async (id: number | any[]) => { await apiSupervisionProjectOwnerEvaluationDelete({ id }) getLists() } - +// 详情 +const handleDetail = async (id: any) => { + let res = await apiSupervisionProjectOwnerEvaluationDetail({ id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/supervision_project_personnel/detail.js b/src/views/supervision_project_personnel/detail.js new file mode 100644 index 0000000..838f4ae --- /dev/null +++ b/src/views/supervision_project_personnel/detail.js @@ -0,0 +1,40 @@ + +const detailConfig = { + title: "工程监理--人员管理明细", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "姓名", + value: "name" + }, + { + label: "部门", + value: "dept" + }, + { + label: "项目调入时间", + value: "start_time" + }, + { + label: "项目调出时间", + value: "end_time" + }, + { + label: "负责岗位", + value: "job" + }, + + { + label: "备注", + value: "remark", + column: 1 + + }, + + ], + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/supervision_project_personnel/index.vue b/src/views/supervision_project_personnel/index.vue index 7fa8f6e..5ccde16 100644 --- a/src/views/supervision_project_personnel/index.vue +++ b/src/views/supervision_project_personnel/index.vue @@ -42,7 +42,7 @@ - + @@ -62,21 +66,26 @@ +