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 @@
-
+
@@ -81,8 +81,13 @@
link @click="handleDelete(row.id)">
删除
+
+ 详情
+
+
@@ -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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -48,6 +48,11 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
+
@@ -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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -54,6 +54,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -54,6 +54,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
-
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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
+
@@ -48,6 +48,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -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 @@
-
-
+
编辑
diff --git a/src/views/jianli_project_progress_report/detail.js b/src/views/jianli_project_progress_report/detail.js
new file mode 100644
index 0000000..e4f980e
--- /dev/null
+++ b/src/views/jianli_project_progress_report/detail.js
@@ -0,0 +1,79 @@
+const detailConfig = {
+ title: "项目进度汇报",
+ config: [
+ {
+ label: "单据编号",
+ value: "num"
+ },
+ {
+ label: "项目名称",
+ value: "projectInfo.project_name"
+ },
+ {
+ label: "项目编号",
+ value: "projectInfo.project_num"
+ },
+ {
+ label: "部门负责人",
+ value: "bm_master"
+ },
+ {
+ label: "委托单位",
+ value: "wt_unit"
+ },
+
+ {
+ label: "项目负责人",
+ value: "xm_master"
+ },
+ {
+ label: "实际开始日期",
+ value: "start_date"
+ },
+ {
+ label: "实际结束日期",
+ value: "end_date"
+ },
+ {
+ label: "工期(天)",
+ value: "duration"
+ },
+ {
+ label: "工时",
+ value: "working_hours"
+ },
+ {
+ label: "累计已完成进度",
+ value: "done_progress"
+ },
+ {
+ label: "本阶段完成进度",
+ value: "bjd_progress"
+ },
+ {
+ label: "登记人",
+ value: "djr"
+ },
+ {
+ label: "登记时间",
+ value: "apptime"
+ },
+ {
+ label: "形象进度描述",
+ value: "jdms"
+ },
+ {
+ label: "附件",
+ value: "annex",
+ column: 1
+ },
+ {
+ label: "文本输入框",
+ value: "fd_23",
+ column: 1
+ },
+ ],
+
+
+}
+export default detailConfig;
\ No newline at end of file
diff --git a/src/views/jianli_project_progress_report/edit.vue b/src/views/jianli_project_progress_report/edit.vue
index 3b84e41..b03cb32 100644
--- a/src/views/jianli_project_progress_report/edit.vue
+++ b/src/views/jianli_project_progress_report/edit.vue
@@ -142,14 +142,6 @@ const showDialog = ref(false)
const showDialog3 = ref(false)
const personnel = ref()
-const handleAvatarSuccess_four = (response: any) => {
- formData.annex ||= []
- // @ts-ignore
- response.code != 0 ? formData.annex.push({ uri: response.data.uri, name: response.data.name }) : ElMessage.error(response.msg);
-};
-
-// 删除上传的文件
-const delFileFn = (index: number) => { formData.annex.splice(index, 1) }
// 弹窗标题
const popupTitle = computed(() => {
return mode.value == 'edit' ? '编辑项目进度汇报' : '新增项目进度汇报'
diff --git a/src/views/jianli_project_progress_report/index.vue b/src/views/jianli_project_progress_report/index.vue
index 12e8d90..4d4cf17 100644
--- a/src/views/jianli_project_progress_report/index.vue
+++ b/src/views/jianli_project_progress_report/index.vue
@@ -52,7 +52,7 @@
-
+
@@ -62,6 +62,10 @@
type="danger" link @click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -71,6 +75,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 @@
-
+
diff --git a/src/views/project_change_visa/index.vue b/src/views/project_change_visa/index.vue
index 01a5b6e..e6b3997 100644
--- a/src/views/project_change_visa/index.vue
+++ b/src/views/project_change_visa/index.vue
@@ -61,7 +61,7 @@
-
+
diff --git a/src/views/project_progress_payment/detail.js b/src/views/project_progress_payment/detail.js
new file mode 100644
index 0000000..ff1be35
--- /dev/null
+++ b/src/views/project_progress_payment/detail.js
@@ -0,0 +1,138 @@
+const detailConfig = {
+ title: "项目进度款",
+ config: [
+ {
+ label: "单据编号",
+ value: "num"
+ },
+ {
+ label: "项目名称",
+ value: "projectInfo.project_name"
+ },
+ {
+ label: "项目编号",
+ value: "projectInfo.project_num"
+ },
+ {
+ label: "登记人",
+ value: "djr"
+ },
+ {
+ label: "登记日期",
+ value: "djrq"
+ },
+
+ {
+ label: "进度申报造价合计",
+ value: "sbhj"
+ },
+ {
+ label: "进度审核造价合计",
+ value: "shhj"
+ },
+ {
+ label: "累计应付工程款合计",
+ value: "ljhj"
+ },
+ {
+ label: "附件",
+ value: "annex",
+ column: 1
+ },
+ ],
+ table: {
+ title: "进度明细",
+ tableConfig: [
+ {
+ label: "所在目录",
+ value: 'directory',
+
+ },
+ {
+ label: "单位工程名称",
+ value: 'unit_project_name'
+ },
+ {
+ label: "合同工程款总额",
+ value: 'contract_total_amount',
+ },
+
+ {
+ label: "合同付款比例",
+ value: 'dcntract_payment_rate',
+ },
+ {
+ label: "时间",
+ value: 'time',
+ },
+ {
+ label: "形象进度",
+ value: 'image_progress',
+ },
+ {
+ label: "申报造价(土建)",
+ value: 'declared_cost_tj',
+ },
+ {
+ label: "申报造价(安装)",
+ value: 'declared_cost_az',
+ },
+ {
+ label: "申报造价(其他)",
+ value: 'declared_cost_other',
+ },
+ {
+ label: "进度申报造价小计",
+ value: 'jdsbzj_xiaoji',
+ },
+ {
+ label: "审核造价(土建)",
+ value: 'audit_cost_tj',
+ },
+ {
+ label: "审核造价(安装)",
+ value: 'audit_cost_az',
+ },
+ {
+ label: "审核造价(其他)",
+ value: 'audit_cost_other',
+ },
+ {
+ label: "进度审核造价小计",
+ value: 'jdshzj_xiaoji',
+ },
+ {
+ label: "审核造价(其他)",
+ value: 'audit_cost_other',
+ },
+ {
+ label: "审减额(元)",
+ value: 'deduction_amount',
+ },
+ {
+ label: "完成产值比例(%)",
+ value: 'completed_rate',
+ },
+ {
+ label: "累计完成工程款",
+ value: 'ljwc_funds',
+ },
+ {
+ label: "当期应付工程款",
+ value: 'current_payable_funds',
+ },
+ {
+ label: "付款比例",
+ value: 'payment_rate',
+ },
+ {
+ label: "备注",
+ value: 'remark',
+ },
+ ],
+ fetchFun: 'project_progress_payment_detail',
+ }
+
+
+}
+export default detailConfig;
\ No newline at end of file
diff --git a/src/views/project_progress_payment/edit.vue b/src/views/project_progress_payment/edit.vue
index 4e48813..5614a7c 100644
--- a/src/views/project_progress_payment/edit.vue
+++ b/src/views/project_progress_payment/edit.vue
@@ -54,7 +54,6 @@
-
@@ -74,8 +73,7 @@
-
-
-
+
diff --git a/src/views/project_progress_payment/index.vue b/src/views/project_progress_payment/index.vue
index 150af35..500f00b 100644
--- a/src/views/project_progress_payment/index.vue
+++ b/src/views/project_progress_payment/index.vue
@@ -77,7 +77,7 @@
-
+
@@ -87,6 +87,10 @@
type="danger" link @click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -96,6 +100,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 @@
暂无数据,点击添加 +
-
+
+
-
@@ -66,27 +66,25 @@
+ @click="showDialog1 = true, tableIndex = scope.$index" placeholder="点击选择" />
-
+
-
+
-
+
@@ -96,7 +94,7 @@
+ placeholder="请选择专业类型">
@@ -105,42 +103,41 @@
-
+
-
-
-
-
+
+ placeholder="请选择日期">
@@ -148,50 +145,50 @@
+ placeholder="请选择日期">
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -206,6 +203,8 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiTaskAllocationAdd, apiTaskAllocationEdit, } from '@/api/task_allocation'
+import { apiTaskDetailDelete } from '@/api/task_detail'
+
import { cost_project, task_type } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
import { timeFormat } from '@/utils/util'
@@ -277,7 +276,8 @@ const handleAdd = () => {
}
-const handleDelete = (row: any) => {
+const handleDelete = async (row: any) => {
+ if (row.id) await apiTaskDetailDelete({ id: row.id });
const index = formData.task_detail.indexOf(row);
formData.task_detail.splice(index, 1);
}
diff --git a/src/views/task_allocation/index.vue b/src/views/task_allocation/index.vue
index efdbd29..aaf0cbc 100644
--- a/src/views/task_allocation/index.vue
+++ b/src/views/task_allocation/index.vue
@@ -36,7 +36,7 @@
-
+
diff --git a/src/views/task_handling_three_level_review/detail.js b/src/views/task_handling_three_level_review/detail.js
index d675c7d..3ca9d4f 100644
--- a/src/views/task_handling_three_level_review/detail.js
+++ b/src/views/task_handling_three_level_review/detail.js
@@ -67,7 +67,7 @@ const detailConfig = {
},
{
label: "建筑结构类型",
- value: "types_text"
+ value: "type_text"
},
{
label: "建筑用途",
diff --git a/src/views/zjzx_invoice/detail.js b/src/views/zjzx_invoice/detail.js
new file mode 100644
index 0000000..4861790
--- /dev/null
+++ b/src/views/zjzx_invoice/detail.js
@@ -0,0 +1,107 @@
+const detailConfig = {
+ title: "造价咨询--开票台账",
+ config: [
+ {
+ label: "项目名称",
+ value: "project_name"
+ },
+ {
+ label: "项目编号",
+ value: "project_num"
+ },
+ {
+ label: "合同名称",
+ value: "contract_name"
+ },
+ {
+ label: "合同类型",
+ value: "contract_type"
+ },
+ {
+ label: "甲方签约单位",
+ value: "part_a"
+ },
+
+ {
+ label: "乙方签约单位",
+ value: "part_b"
+ },
+ {
+ label: "签订金额",
+ value: "sign_money"
+ },
+ {
+ label: "合同签订日期",
+ value: "sign_time"
+ },
+ {
+ label: "累计已开票",
+ value: "total_invoice_amount"
+ },
+ {
+ label: "累计已到账",
+ value: "total_refund_amount"
+ },
+ {
+ label: "开票编号",
+ value: "invoice_code"
+ },
+ {
+ label: "发票类型",
+ value: "invoice_type_text"
+ },
+ {
+ label: "开票申请金额",
+ value: "apply_amount"
+ },
+ {
+ label: "开票单位名称",
+ value: "apply_company"
+ },
+ {
+ label: "纳税人识别号",
+ value: "apply_company_number"
+ },
+ {
+ label: "开票单位注册地址",
+ value: "apply_company_address"
+ },
+ {
+ label: "开票单位电话",
+ value: "apply_company_telephone"
+ },
+ {
+ label: "开户银行",
+ value: "apply_company_bank"
+ },
+ {
+ label: "开户账号",
+ value: "apply_company_account"
+ },
+ {
+ label: "开票联系人",
+ value: "apply_contact"
+ },
+ {
+ label: "对应付款方式",
+ value: "pay_type"
+ },
+ {
+ label: "开票内容",
+ value: "invoice_content"
+ },
+ {
+ label: "创建人",
+ value: "create_user"
+ },
+ {
+ label: "创建时间",
+ value: "create_time"
+ },
+
+ ],
+
+
+
+}
+export default detailConfig;
\ No newline at end of file
diff --git a/src/views/zjzx_invoice/index.vue b/src/views/zjzx_invoice/index.vue
index 5e2f7e8..66adfdd 100644
--- a/src/views/zjzx_invoice/index.vue
+++ b/src/views/zjzx_invoice/index.vue
@@ -51,7 +51,7 @@
-
+
@@ -61,6 +61,9 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -70,6 +73,8 @@
+
+
@@ -80,11 +85,13 @@ import { apiZjzxInvoiceLists, apiZjzxInvoiceDelete, apiZjzxInvoiceDetail } from
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({
@@ -134,5 +141,14 @@ const handleDelete = async (id: number | any[]) => {
getLists()
}
+// 详情
+const handleDetail = async (row) => {
+ let res = await apiZjzxInvoiceDetail({ id: row.id })
+ showDetail.value = true
+ await nextTick()
+ detailRef.value?.open()
+ detailRef.value?.setFormData(res)
+}
+
getLists()
diff --git a/src/views/zjzx_refund/detail.js b/src/views/zjzx_refund/detail.js
new file mode 100644
index 0000000..e03fd2c
--- /dev/null
+++ b/src/views/zjzx_refund/detail.js
@@ -0,0 +1,79 @@
+const detailConfig = {
+ title: "造价咨询--到账台账",
+ config: [
+ {
+ label: "项目名称",
+ value: "project_name"
+ },
+ {
+ label: "项目编号",
+ value: "project_num"
+ },
+ {
+ label: "合同名称",
+ value: "contract_name"
+ },
+ {
+ label: "合同类型",
+ value: "contract_type"
+ },
+ {
+ label: "甲方签约单位",
+ value: "part_a"
+ },
+
+ {
+ label: "乙方签约单位",
+ value: "part_b"
+ },
+ {
+ label: "签约金额",
+ value: "sign_money"
+ },
+ {
+ label: "合同签订日期",
+ value: "sign_time"
+ },
+ {
+ label: "开票申请金额",
+ value: "apply_amount"
+ },
+ {
+ label: "累计已开票",
+ value: "total_invoice_amount"
+ },
+ {
+ label: "累计已到账",
+ value: "total_refund_amount"
+ },
+ {
+ label: "开票编号",
+ value: "invoice_code"
+ },
+ {
+ label: "本次到账金额",
+ value: "amount"
+ },
+ {
+ label: "到账日期",
+ value: "date"
+ },
+ {
+ label: "说明",
+ value: "remark"
+ },
+ {
+ label: "创建人",
+ value: "create_user"
+ },
+ {
+ label: "创建时间",
+ value: "create_time"
+ },
+
+ ],
+
+
+
+}
+export default detailConfig;
\ No newline at end of file
diff --git a/src/views/zjzx_refund/edit.vue b/src/views/zjzx_refund/edit.vue
index 998e694..10137b8 100644
--- a/src/views/zjzx_refund/edit.vue
+++ b/src/views/zjzx_refund/edit.vue
@@ -10,8 +10,6 @@
placeholder="点击选择项目" />
-
-
@@ -46,7 +44,7 @@
-
+
@@ -67,13 +65,6 @@
-
-
-
-
-
-
-
-
+
@@ -52,6 +52,9 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -61,6 +64,8 @@
+
+
@@ -72,10 +77,13 @@ import { apiZjzxInvoiceDatas } from '@/api/zjzx_invoice'
import { apiCostProjectDatas } from "@/api/cost_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)
// 查询条件
@@ -125,5 +133,14 @@ const handleDelete = async (id: number | any[]) => {
getLists()
}
+
+// 详情
+const handleDetail = async (row) => {
+ let res = await apiZjzxRefundDetail({ id: row.id })
+ showDetail.value = true
+ await nextTick()
+ detailRef.value?.open()
+ detailRef.value?.setFormData(res)
+}
getLists()
diff --git a/src/views/zjzx_settlement/detail.js b/src/views/zjzx_settlement/detail.js
new file mode 100644
index 0000000..6717d6f
--- /dev/null
+++ b/src/views/zjzx_settlement/detail.js
@@ -0,0 +1,67 @@
+const detailConfig = {
+ title: "造价咨询--项目结算",
+ config: [
+ {
+ label: "项目名称",
+ value: "project_name"
+ },
+ {
+ label: "项目编号",
+ value: "project_num"
+ },
+ {
+ label: "合同名称",
+ value: "contract_name"
+ },
+ {
+ label: "合同类型",
+ value: "contract_type"
+ },
+ {
+ label: "甲方签约单位",
+ value: "part_a"
+ },
+
+ {
+ label: "乙方签约单位",
+ value: "part_b"
+ },
+ {
+ label: "签订金额",
+ value: "sign_money"
+ },
+ {
+ label: "合同签订日期",
+ value: "sign_time"
+ },
+ {
+ label: "累计已开票",
+ value: "total_invoice_amount"
+ },
+ {
+ label: "累计已到账",
+ value: "amount"
+ },
+ {
+ label: "结算日期",
+ value: "date"
+ },
+ {
+ label: "备注",
+ value: "remark",
+ column: 1
+ },
+
+ {
+ label: "附件",
+ value: "annex",
+ column: 1
+
+ },
+
+ ],
+
+
+
+}
+export default detailConfig;
\ No newline at end of file
diff --git a/src/views/zjzx_settlement/index.vue b/src/views/zjzx_settlement/index.vue
index 326ff91..2c399b2 100644
--- a/src/views/zjzx_settlement/index.vue
+++ b/src/views/zjzx_settlement/index.vue
@@ -40,7 +40,7 @@
-
+
@@ -50,6 +50,10 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -59,6 +63,8 @@
+
+
@@ -69,11 +75,13 @@ import { apiZjzxSettlementLists, apiZjzxSettlementDelete, apiZjzxSettlementDetai
import { apiCostProjectDatas } from "@/api/cost_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({
@@ -121,5 +129,14 @@ const handleDelete = async (id: number | any[]) => {
getLists()
}
+// 详情
+const handleDetail = async (row) => {
+ let res = await apiZjzxSettlementDetail({ id: row.id })
+ showDetail.value = true
+ await nextTick()
+ detailRef.value?.open()
+ detailRef.value?.setFormData(res)
+}
+
getLists()