From 9863f40bbb609cef42e1ad0c250596f9e7477283 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Tue, 19 Mar 2024 16:12:27 +0800 Subject: [PATCH] add --- src/components/createUserLable/index.vue | 2 +- src/views/apply_with_seal/detail.js | 103 ++++++++++ src/views/apply_with_seal/index.vue | 23 ++- src/views/consult_accept/detail.js | 36 ++++ src/views/consult_accept/edit.vue | 2 +- src/views/consult_accept/index.vue | 20 +- src/views/consult_contract/detail.js | 36 ++++ src/views/consult_contract/edit.vue | 2 +- src/views/consult_contract/index.vue | 21 +- src/views/consult_control/detail.js | 36 ++++ src/views/consult_control/edit.vue | 2 +- src/views/consult_control/index.vue | 20 +- src/views/consult_cost/detail.js | 36 ++++ src/views/consult_cost/edit.vue | 146 +------------ src/views/consult_cost/index.vue | 20 +- src/views/consult_decision/detail.js | 36 ++++ src/views/consult_decision/index.vue | 25 ++- src/views/consult_declare/detail.js | 36 ++++ src/views/consult_declare/edit.vue | 2 +- src/views/consult_declare/index.vue | 22 +- src/views/consult_demand/detail.js | 36 ++++ src/views/consult_demand/index.vue | 21 +- src/views/consult_design/detail.js | 36 ++++ src/views/consult_design/edit.vue | 2 +- src/views/consult_design/index.vue | 21 +- .../consult_new_start_project/detail.vue | 191 ++++++++++++++++++ src/views/consult_new_start_project/edit.vue | 2 +- src/views/consult_new_start_project/index.vue | 19 +- src/views/consult_procure/detail.js | 36 ++++ src/views/consult_procure/edit.vue | 2 +- src/views/consult_procure/index.vue | 21 +- src/views/consult_project/detail.js | 136 +++++++++++++ src/views/consult_project/index.vue | 22 +- src/views/consult_receive/detail.js | 36 ++++ src/views/consult_receive/edit.vue | 146 +------------ src/views/consult_receive/index.vue | 21 +- src/views/consult_scene_execute/detail.js | 36 ++++ src/views/consult_scene_execute/edit.vue | 2 +- src/views/consult_scene_execute/index.vue | 20 +- src/views/consult_scene_org/detail.js | 36 ++++ src/views/consult_scene_org/edit.vue | 2 +- src/views/consult_scene_org/index.vue | 21 +- src/views/consult_scene_prepare/detail.js | 36 ++++ src/views/consult_scene_prepare/edit.vue | 146 +------------ src/views/consult_scene_prepare/index.vue | 20 +- src/views/data_reception/index.vue | 3 +- .../jianli_project_progress_report/detail.js | 79 ++++++++ .../jianli_project_progress_report/edit.vue | 8 - .../jianli_project_progress_report/index.vue | 20 +- src/views/manage_company/index.vue | 2 +- src/views/project_change_visa/index.vue | 2 +- src/views/project_progress_payment/detail.js | 138 +++++++++++++ src/views/project_progress_payment/edit.vue | 4 +- src/views/project_progress_payment/index.vue | 20 +- src/views/task_allocation/detail.js | 2 +- src/views/task_allocation/edit.vue | 48 ++--- src/views/task_allocation/index.vue | 2 +- .../detail.js | 2 +- src/views/zjzx_invoice/detail.js | 107 ++++++++++ src/views/zjzx_invoice/index.vue | 20 +- src/views/zjzx_refund/detail.js | 79 ++++++++ src/views/zjzx_refund/edit.vue | 11 +- src/views/zjzx_refund/index.vue | 19 +- src/views/zjzx_settlement/detail.js | 67 ++++++ src/views/zjzx_settlement/index.vue | 21 +- 65 files changed, 1822 insertions(+), 525 deletions(-) create mode 100644 src/views/apply_with_seal/detail.js create mode 100644 src/views/consult_accept/detail.js create mode 100644 src/views/consult_contract/detail.js create mode 100644 src/views/consult_control/detail.js create mode 100644 src/views/consult_cost/detail.js create mode 100644 src/views/consult_decision/detail.js create mode 100644 src/views/consult_declare/detail.js create mode 100644 src/views/consult_demand/detail.js create mode 100644 src/views/consult_design/detail.js create mode 100644 src/views/consult_new_start_project/detail.vue create mode 100644 src/views/consult_procure/detail.js create mode 100644 src/views/consult_project/detail.js create mode 100644 src/views/consult_receive/detail.js create mode 100644 src/views/consult_scene_execute/detail.js create mode 100644 src/views/consult_scene_org/detail.js create mode 100644 src/views/consult_scene_prepare/detail.js create mode 100644 src/views/jianli_project_progress_report/detail.js create mode 100644 src/views/project_progress_payment/detail.js create mode 100644 src/views/zjzx_invoice/detail.js create mode 100644 src/views/zjzx_refund/detail.js create mode 100644 src/views/zjzx_settlement/detail.js diff --git a/src/components/createUserLable/index.vue b/src/components/createUserLable/index.vue index 085e3a1..0067d9e 100644 --- a/src/components/createUserLable/index.vue +++ b/src/components/createUserLable/index.vue @@ -6,7 +6,7 @@ - + diff --git a/src/views/apply_with_seal/detail.js b/src/views/apply_with_seal/detail.js new file mode 100644 index 0000000..0d06574 --- /dev/null +++ b/src/views/apply_with_seal/detail.js @@ -0,0 +1,103 @@ +const detailConfig = { + title: "用章申请", + config: [ + { + label: "申请编号", + value: "num" + }, + { + label: "盖章申请类型", + value: "types_text" + }, + { + label: "文件类型", + value: "filetype_text" + }, + { + label: "骑缝盖章", + value: "ridingseam_text" + }, + { + label: "印章名称", + value: "name" + }, + + { + label: "盖章次数", + value: "frequency" + }, + { + label: "限制次数", + value: "limit" + }, + { + label: "组织", + value: "org_name" + }, + { + label: "用印部门", + value: "dept_name" + }, + { + label: "关联项目", + value: "projectInfo.project_name" + }, + { + label: "项目负责人", + value: "project_director" + }, + { + label: "盖章内容", + value: "content" + }, + { + label: "印章是否外借", + value: "loan_text" + }, + { + label: "印章借用日期", + value: "borrow" + }, + { + label: "结束借用日期", + value: "returndate" + }, + { + label: "申请人", + value: "applicant" + }, + { + label: "申请日期", + value: "date" + }, + { + label: "盖章人", + value: "stampman" + }, + { + label: "实际借章日期", + value: "sjborrow" + }, + { + label: "实际借章人", + value: "sjreturn" + }, + { + label: "实际归还日期", + value: "sjreturn" + }, + { + label: "实际归还人", + value: "returnee" + }, + { + label: "附件", + value: "annex", + column: 1 + }, + ], + + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/apply_with_seal/index.vue b/src/views/apply_with_seal/index.vue index 7e9220e..ce86b3e 100644 --- a/src/views/apply_with_seal/index.vue +++ b/src/views/apply_with_seal/index.vue @@ -71,7 +71,7 @@ - + +
@@ -90,6 +95,7 @@
+ @@ -100,12 +106,13 @@ import { apiApplyWithSealLists, apiApplyWithSealDelete, apiApplyWithSealDetail } import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import { apiCostProjectDatas } from "@/api/cost_project"; +import detailConfig from './detail' const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) - - +const showDetail = ref(false) // 查询条件 const queryParams = reactive({ @@ -155,5 +162,15 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiApplyWithSealDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + + getLists() diff --git a/src/views/consult_accept/detail.js b/src/views/consult_accept/detail.js new file mode 100644 index 0000000..94c17af --- /dev/null +++ b/src/views/consult_accept/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--验收管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_accept/edit.vue b/src/views/consult_accept/edit.vue index 9b6dc15..049c9ff 100644 --- a/src/views/consult_accept/edit.vue +++ b/src/views/consult_accept/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--验收管理' : '新增项目咨询--验收管理' }) // 表单数据 diff --git a/src/views/consult_accept/index.vue b/src/views/consult_accept/index.vue index 56eb5f1..d03f700 100644 --- a/src/views/consult_accept/index.vue +++ b/src/views/consult_accept/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +62,8 @@ + @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -128,6 +137,15 @@ const handleDelete = async (id: number | any[]) => { await apiConsultAcceptDelete({ id }) getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultAcceptDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getDirectory() getLists() diff --git a/src/views/consult_contract/detail.js b/src/views/consult_contract/detail.js new file mode 100644 index 0000000..80fb41a --- /dev/null +++ b/src/views/consult_contract/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--合同管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_contract/edit.vue b/src/views/consult_contract/edit.vue index 7bebeae..3663dcd 100644 --- a/src/views/consult_contract/edit.vue +++ b/src/views/consult_contract/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--合同管理' : '新增项目咨询--合同管理' }) // 表单数据 diff --git a/src/views/consult_contract/index.vue b/src/views/consult_contract/index.vue index f772bb6..f1794dc 100644 --- a/src/views/consult_contract/index.vue +++ b/src/views/consult_contract/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +62,8 @@ + @@ -69,10 +75,13 @@ import { apiConsultProjectSearch } from '@/api/consult_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import { apiConsultDirectoryLists } from '@/api/consult_directory' +import detailConfig from './detail' const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) +const showDetail = ref(false) const DirectoryList = ref([]) @@ -129,6 +138,16 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultContractDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + + getLists() getDirectory() diff --git a/src/views/consult_control/detail.js b/src/views/consult_control/detail.js new file mode 100644 index 0000000..54f8e89 --- /dev/null +++ b/src/views/consult_control/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--总控管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_control/edit.vue b/src/views/consult_control/edit.vue index 069893d..420426f 100644 --- a/src/views/consult_control/edit.vue +++ b/src/views/consult_control/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--总控管理' : '新增项目咨询--总控管理' }) // 表单数据 diff --git a/src/views/consult_control/index.vue b/src/views/consult_control/index.vue index a6c0b30..0b13320 100644 --- a/src/views/consult_control/index.vue +++ b/src/views/consult_control/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +62,8 @@ + @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -129,6 +138,15 @@ const handleDelete = async (id: number | any[]) => { await apiConsultControlDelete({ id }) getLists() } + +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultControlDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getDirectory() getLists() diff --git a/src/views/consult_cost/detail.js b/src/views/consult_cost/detail.js new file mode 100644 index 0000000..3e92fc5 --- /dev/null +++ b/src/views/consult_cost/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--造价管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_cost/edit.vue b/src/views/consult_cost/edit.vue index 0d0095d..d768d57 100644 --- a/src/views/consult_cost/edit.vue +++ b/src/views/consult_cost/edit.vue @@ -1,147 +1,3 @@ - - @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -129,6 +138,15 @@ const handleDelete = async (id: number | any[]) => { await apiConsultCostDelete({ id }) getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultCostDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getDirectory() getLists() diff --git a/src/views/consult_decision/detail.js b/src/views/consult_decision/detail.js new file mode 100644 index 0000000..4669673 --- /dev/null +++ b/src/views/consult_decision/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--决策管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_decision/index.vue b/src/views/consult_decision/index.vue index 8d8a03b..2cef92c 100644 --- a/src/views/consult_decision/index.vue +++ b/src/views/consult_decision/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +63,9 @@ + + @@ -69,10 +77,14 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -128,6 +140,17 @@ const handleDelete = async (id: number | any[]) => { await apiConsultDecisionDelete({ id }) getLists() } + +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultDecisionDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + + getDirectory() getLists() diff --git a/src/views/consult_declare/detail.js b/src/views/consult_declare/detail.js new file mode 100644 index 0000000..9db0097 --- /dev/null +++ b/src/views/consult_declare/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--报建管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_declare/edit.vue b/src/views/consult_declare/edit.vue index ae05d0a..73febe3 100644 --- a/src/views/consult_declare/edit.vue +++ b/src/views/consult_declare/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--报建管理' : '新增项目咨询--报建管理' }) // 表单数据 diff --git a/src/views/consult_declare/index.vue b/src/views/consult_declare/index.vue index fcfdfd8..c29228a 100644 --- a/src/views/consult_declare/index.vue +++ b/src/views/consult_declare/index.vue @@ -38,7 +38,7 @@ - + @@ -58,21 +62,26 @@ + diff --git a/src/views/consult_design/detail.js b/src/views/consult_design/detail.js new file mode 100644 index 0000000..b6ea286 --- /dev/null +++ b/src/views/consult_design/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--设计管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_design/edit.vue b/src/views/consult_design/edit.vue index c891022..a5b5ffe 100644 --- a/src/views/consult_design/edit.vue +++ b/src/views/consult_design/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--设计管理' : '新增项目咨询--设计管理' }) // 表单数据 diff --git a/src/views/consult_design/index.vue b/src/views/consult_design/index.vue index 01b58ae..d9e6054 100644 --- a/src/views/consult_design/index.vue +++ b/src/views/consult_design/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +62,8 @@ + @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -130,6 +139,16 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultDesignDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + + getDirectory() getLists() diff --git a/src/views/consult_new_start_project/detail.vue b/src/views/consult_new_start_project/detail.vue new file mode 100644 index 0000000..1c223af --- /dev/null +++ b/src/views/consult_new_start_project/detail.vue @@ -0,0 +1,191 @@ + + + diff --git a/src/views/consult_new_start_project/edit.vue b/src/views/consult_new_start_project/edit.vue index 43cb221..29361ee 100644 --- a/src/views/consult_new_start_project/edit.vue +++ b/src/views/consult_new_start_project/edit.vue @@ -123,7 +123,7 @@
- + diff --git a/src/views/consult_new_start_project/index.vue b/src/views/consult_new_start_project/index.vue index 0bff5d4..9b6cced 100644 --- a/src/views/consult_new_start_project/index.vue +++ b/src/views/consult_new_start_project/index.vue @@ -44,7 +44,7 @@ - + @@ -63,6 +67,8 @@ + + @@ -73,10 +79,13 @@ import { apiConsultNewStartProjectLists, apiConsultNewStartProjectDelete, apiCon import { apiConsultProjectSearch } from '@/api/consult_project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' +import DetailPopup from './detail.vue' const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) +const showDetail = ref(false) // 查询条件 @@ -127,6 +136,14 @@ const handleDelete = async (id: number | any[]) => { await apiConsultNewStartProjectDelete({ id }) getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultNewStartProjectDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} getLists() diff --git a/src/views/consult_procure/detail.js b/src/views/consult_procure/detail.js new file mode 100644 index 0000000..b58fb65 --- /dev/null +++ b/src/views/consult_procure/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--招采管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_procure/edit.vue b/src/views/consult_procure/edit.vue index 6d020d0..d44e772 100644 --- a/src/views/consult_procure/edit.vue +++ b/src/views/consult_procure/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--招采管理' : '新增项目咨询--招采管理' }) // 表单数据 diff --git a/src/views/consult_procure/index.vue b/src/views/consult_procure/index.vue index d71c217..4dae010 100644 --- a/src/views/consult_procure/index.vue +++ b/src/views/consult_procure/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +62,8 @@ + @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -127,6 +136,16 @@ const handleDelete = async (id: number | any[]) => { await apiConsultProcureDelete({ id }) getLists() } + +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultProcureDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getDirectory() getLists() diff --git a/src/views/consult_project/detail.js b/src/views/consult_project/detail.js new file mode 100644 index 0000000..4e706c5 --- /dev/null +++ b/src/views/consult_project/detail.js @@ -0,0 +1,136 @@ +const detailConfig = { + title: "项目咨询--基本信息", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "项目编号", + value: "project_code" + }, + { + label: "行业", + value: "industry_text" + }, + { + label: "性质", + value: "nature_text" + }, { + label: "委托单位", + value: "company" + }, { + label: "建设区域", + value: "build_area_text" + }, { + label: "项目地址", + value: "address" + }, { + label: "项目级别", + value: "project_level_text" + }, { + label: "总投资(万元)", + value: "total_investment" + }, { + label: "立项日期", + value: "initiation_date" + }, { + label: "关联合同", + value: "contract" + }, { + label: "合同金额", + value: "contract_amount" + }, { + label: "合同服务内容", + value: "contract_content" + }, { + label: "项目规模及概况", + value: "project_overview" + }, { + label: "咨询范围", + value: "consult_content" + }, { + label: "备注", + value: "remark", + column: 1 + }, { + label: "咨询开始日期", + value: "consult_start_date" + }, { + label: "咨询结束日期", + value: "consult_end_date" + }, + { + label: "工程状态", + value: "engineering_status_text" + }, + { + label: "咨询类型", + value: "consult_type_text" + }, + { + label: "联系电话", + value: "telephone" + }, + + { + label: "委托联系人", + value: "consult_user" + }, + + { + label: "监管部门", + value: "supervision_department" + }, + + { + label: "实施部门", + value: "implementation_department" + }, + + { + label: "项目部", + value: "project_department" + }, + { + label: "项目负责人员", + value: "project_manager" + }, + + + { + label: "甲方单位", + value: "part_a_unit" + }, + + + { + label: "项目归档", + value: "project_archiving_text" + }, + + { + label: "归档目录", + value: "archiving_directory" + }, + { + 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/consult_project/index.vue b/src/views/consult_project/index.vue index eb9b3cd..34ad219 100644 --- a/src/views/consult_project/index.vue +++ b/src/views/consult_project/index.vue @@ -44,7 +44,7 @@ - + @@ -63,6 +67,7 @@ + @@ -70,13 +75,16 @@ import { usePaging } from '@/hooks/usePaging' import { useDictData } from '@/hooks/useDictOptions' import { apiConsultProjectLists, apiConsultProjectDelete, apiConsultProjectDetail } from '@/api/consult_project' -import { timeFormat } from '@/utils/util' 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) + // 查询条件 @@ -127,5 +135,15 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultProjectDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + + getLists() diff --git a/src/views/consult_receive/detail.js b/src/views/consult_receive/detail.js new file mode 100644 index 0000000..5f627cb --- /dev/null +++ b/src/views/consult_receive/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--接收管理", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_receive/edit.vue b/src/views/consult_receive/edit.vue index 9462031..4be2f6d 100644 --- a/src/views/consult_receive/edit.vue +++ b/src/views/consult_receive/edit.vue @@ -1,147 +1,3 @@ - - @@ -58,21 +62,26 @@ + diff --git a/src/views/consult_scene_execute/detail.js b/src/views/consult_scene_execute/detail.js new file mode 100644 index 0000000..a7b45f8 --- /dev/null +++ b/src/views/consult_scene_execute/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--现场实施准备", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_scene_execute/edit.vue b/src/views/consult_scene_execute/edit.vue index 0fa3a72..212cc8c 100644 --- a/src/views/consult_scene_execute/edit.vue +++ b/src/views/consult_scene_execute/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--现场实施准备' : '新增项目咨询--现场实施准备' }) // 表单数据 diff --git a/src/views/consult_scene_execute/index.vue b/src/views/consult_scene_execute/index.vue index 118cc6d..32e7bc9 100644 --- a/src/views/consult_scene_execute/index.vue +++ b/src/views/consult_scene_execute/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +62,8 @@ + @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -130,6 +139,15 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultSceneExecuteDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getLists() getDirectory() diff --git a/src/views/consult_scene_org/detail.js b/src/views/consult_scene_org/detail.js new file mode 100644 index 0000000..9ceac72 --- /dev/null +++ b/src/views/consult_scene_org/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--现场组织建设", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_scene_org/edit.vue b/src/views/consult_scene_org/edit.vue index 88d9eaa..0e15dc3 100644 --- a/src/views/consult_scene_org/edit.vue +++ b/src/views/consult_scene_org/edit.vue @@ -62,7 +62,7 @@ const showDialog = ref(false) // 弹窗标题 const popupTitle = computed(() => { - return mode.value == 'edit' ? '编辑项目咨询--需求研究及管理' : '新增项目咨询--需求研究及管理' + return mode.value == 'edit' ? '编辑项目咨询--现场组织建设' : '新增项目咨询--现场组织建设' }) // 表单数据 diff --git a/src/views/consult_scene_org/index.vue b/src/views/consult_scene_org/index.vue index f0da26e..39d9e61 100644 --- a/src/views/consult_scene_org/index.vue +++ b/src/views/consult_scene_org/index.vue @@ -38,7 +38,7 @@ - + @@ -58,6 +62,8 @@ + @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -130,6 +139,16 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultSceneOrgDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + + getLists() getDirectory() diff --git a/src/views/consult_scene_prepare/detail.js b/src/views/consult_scene_prepare/detail.js new file mode 100644 index 0000000..d98cbc8 --- /dev/null +++ b/src/views/consult_scene_prepare/detail.js @@ -0,0 +1,36 @@ +const detailConfig = { + title: "项目咨询--现成准备", + config: [ + { + label: "项目名称", + value: "project_name" + }, + { + label: "文档名称", + value: "title" + }, + { + label: "目录", + value: "directory_name" + }, + { + label: "子目录", + value: "subdirectory_name" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/consult_scene_prepare/edit.vue b/src/views/consult_scene_prepare/edit.vue index 69c972e..254f481 100644 --- a/src/views/consult_scene_prepare/edit.vue +++ b/src/views/consult_scene_prepare/edit.vue @@ -1,147 +1,3 @@ - - @@ -69,10 +75,13 @@ import { apiConsultDirectoryLists } from '@/api/consult_directory' import { apiConsultProjectSearch } from '@/api/consult_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 DirectoryList = ref([]) @@ -129,6 +138,15 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiConsultScenePrepareDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getLists() getDirectory() diff --git a/src/views/data_reception/index.vue b/src/views/data_reception/index.vue index 46d1825..0d09cd8 100644 --- a/src/views/data_reception/index.vue +++ b/src/views/data_reception/index.vue @@ -46,8 +46,7 @@ - - + @@ -81,10 +86,13 @@ import { apiJianliProjectProgressReportLists, apiJianliProjectProgressReportDele import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import { apiCostProjectDatas } from "@/api/cost_project"; +import detailConfig from './detail' const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) +const showDetail = ref(false) // 查询条件 @@ -135,5 +143,15 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiJianliProjectProgressReportDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + + getLists() diff --git a/src/views/manage_company/index.vue b/src/views/manage_company/index.vue index ea55bb6..c295351 100644 --- a/src/views/manage_company/index.vue +++ b/src/views/manage_company/index.vue @@ -47,7 +47,7 @@ - + @@ -108,10 +113,13 @@ import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import { apiCostProjectDatas } from "@/api/cost_project"; import { useDictOptions } from "@/hooks/useDictOptions" +import detailConfig from './detail' const editRef = shallowRef>() +const detailRef = ref('') // 是否显示编辑框 const showEdit = ref(false) +const showDetail = ref(false) const loading = ref(false) const queryCostProject = async (query: string) => { @@ -179,6 +187,14 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiProjectProgressPaymentDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getLists() - diff --git a/src/views/task_allocation/detail.js b/src/views/task_allocation/detail.js index 8a3ce06..ab9460a 100644 --- a/src/views/task_allocation/detail.js +++ b/src/views/task_allocation/detail.js @@ -46,7 +46,7 @@ const detailConfig = { }, { label: "任务类型", - value: 'task_type_text', + value: 'task_type_id_text', }, { label: "专业类型", diff --git a/src/views/task_allocation/edit.vue b/src/views/task_allocation/edit.vue index 1e45bf0..e1ba71c 100644 --- a/src/views/task_allocation/edit.vue +++ b/src/views/task_allocation/edit.vue @@ -56,7 +56,7 @@ - +