diff --git a/src/views/cost_projects/detail.js b/src/views/cost_projects/detail.js index 8329f10..bf17a33 100644 --- a/src/views/cost_projects/detail.js +++ b/src/views/cost_projects/detail.js @@ -19,15 +19,15 @@ const detailConfig = { }, { label: "行业", - value: "industry_text" + value: "industry_nature_text" }, { label: "所在省份", - value: "province_text" + value: "province_name" }, { label: "所在市区", - value: "city_text" + value: "city_name" }, { label: "具体地址", @@ -47,15 +47,15 @@ const detailConfig = { }, { label: "组织", - value: "org_text", + value: "org_name", }, { label: "部门", - value: "depar_text", + value: "dept_name", }, { label: "项目负责人", - value: "principal", + value: "contract.signing_person", }, { label: "项目相关人员", diff --git a/src/views/project_rectification/detail.js b/src/views/project_rectification/detail.js new file mode 100644 index 0000000..3ec0a4b --- /dev/null +++ b/src/views/project_rectification/detail.js @@ -0,0 +1,53 @@ +const detailConfig = { + title: "项目踏勘会签", + config: [ + { + label: "单据编号", + value: "num" + }, + { + label: "项目名称", + value: "projectInfo.project_name" + }, + { + label: "项目编号", + value: "projectInfo.project_num" + }, + { + label: "委托单位", + value: "wt_unit" + }, + { + label: "项目负责人", + value: "xm_master" + }, + { + label: "咨询类型", + value: "zg_master" + }, + { + label: "登记人", + value: "dj_person" + }, + { + label: "登记日期", + value: "apptime" + }, + { + label: "存在问题", + value: "problem" + }, + { + label: "修改情况", + value: "deal_desc" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + ], + + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/project_rectification/index.vue b/src/views/project_rectification/index.vue index 6e53857..7d555b0 100644 --- a/src/views/project_rectification/index.vue +++ b/src/views/project_rectification/index.vue @@ -77,6 +77,10 @@ type="danger" link @click="handleDelete(row.id)"> 删除 + + 详情 + @@ -86,6 +90,9 @@ + + @@ -96,10 +103,13 @@ import { apiProjectRectificationLists, apiProjectRectificationDelete, apiProject 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) // 查询条件 @@ -151,5 +161,14 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiProjectRectificationDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getLists() diff --git a/src/views/project_survey_signature/detail.js b/src/views/project_survey_signature/detail.js index 1f3d7ac..258adf8 100644 --- a/src/views/project_survey_signature/detail.js +++ b/src/views/project_survey_signature/detail.js @@ -1,5 +1,5 @@ const detailConfig = { - title: "项目提成", + title: "项目踏勘会签", config: [ { label: "单据编号", @@ -29,6 +29,42 @@ const detailConfig = { label: "项目负责人", value: "xmfz" }, + { + label: "踏勘日期", + value: "riqi" + }, + { + label: "踏勘人员", + value: "people" + }, + { + label: "登记人", + value: "djr" + }, + { + label: "登记日期", + value: "apptime" + }, + { + label: "踏勘内容", + value: "content" + }, + { + label: "核实结果", + value: "result" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + { + label: "附件", + value: "annex", + column: 1 + }, + + ], diff --git a/src/views/project_survey_signature/index.vue b/src/views/project_survey_signature/index.vue index 2b30573..6f787df 100644 --- a/src/views/project_survey_signature/index.vue +++ b/src/views/project_survey_signature/index.vue @@ -64,6 +64,10 @@ type="danger" link @click="handleDelete(row.id)"> 删除 + + 详情 + @@ -73,6 +77,8 @@ + + @@ -85,10 +91,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) @@ -157,5 +166,14 @@ const handleDelete = async (id: number | any[]) => { getLists() } +// 详情 +const handleDetail = async (row) => { + let res = await apiProjectSurveySignatureDetail({ id: row.id }) + showDetail.value = true + await nextTick() + detailRef.value?.open() + detailRef.value?.setFormData(res) +} + getLists() diff --git a/src/views/task_type/detail.js b/src/views/task_type/detail.js index 1d29d37..2d495a3 100644 --- a/src/views/task_type/detail.js +++ b/src/views/task_type/detail.js @@ -1,5 +1,5 @@ const detailConfig = { - title: "工程监理--第一次工地会议", + title: "任务类别", config: [ { label: "所属项目",