diff --git a/dist.zip b/dist.zip
new file mode 100644
index 0000000..7bb340e
Binary files /dev/null and b/dist.zip differ
diff --git a/src/components/toolTip/index.vue b/src/components/toolTip/index.vue
index 1e14864..b6d683d 100644
--- a/src/components/toolTip/index.vue
+++ b/src/components/toolTip/index.vue
@@ -1,18 +1,18 @@
-
+
-
-
-
diff --git a/src/views/project_document/edit.vue b/src/views/project_document/edit.vue
index de5beb2..eb40147 100644
--- a/src/views/project_document/edit.vue
+++ b/src/views/project_document/edit.vue
@@ -1,16 +1,14 @@
-
+
@@ -89,12 +75,15 @@ import { getAllProjectTypes } from '@/api/projecttype'
const protype = reactive([])
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
-import DetailPopup from './detail.vue'
+import detailConfig from './detail'
+
const detailRef = shallowRef>()
const editRef = shallowRef>()
// 是否显示编辑框
const showEdit = ref(false)
-const showDtail = ref(false)
+const showDetail = ref(false)
+const dtimevalue = ref([])
+
// 查询条件
const queryParams = reactive({
code: '',
@@ -142,9 +131,10 @@ const handleDelete = async (id: number | any[]) => {
await apiProjectdocumentDelete({ id })
getLists()
}
-const handledetail = async (data: any) => {
- let res = await apiProjectdocumentDetail({ id: data.id })
- showDtail.value = true
+// 详情
+const handleDetail = async (id: any) => {
+ let res = await apiProjectdocumentDetail({ id })
+ showDetail.value = true
await nextTick()
detailRef.value?.open()
detailRef.value?.setFormData(res)
diff --git a/src/views/project_manager_appointment/detail.js b/src/views/project_manager_appointment/detail.js
new file mode 100644
index 0000000..656e298
--- /dev/null
+++ b/src/views/project_manager_appointment/detail.js
@@ -0,0 +1,54 @@
+const detailConfig = {
+ title: "项目经理委任详情",
+ config: [
+ {
+ label: "项目名称",
+ value: "project_name"
+ },
+ {
+ label: "项目编号",
+ value: "project_code"
+ },
+ {
+ label: "客户名称",
+ value: "custom_name"
+ },
+ {
+ label: "项目类型",
+ value: "project_type_name"
+ },
+ {
+ label: "项目金额",
+ value: "amount"
+ },
+ {
+ label: "项目经理",
+ value: "project_manager_name"
+ },
+ {
+ label: "立项日期",
+ value: "project_approval_date"
+ },
+ {
+ label: "项目开始日期",
+ value: "start_date"
+ },
+ {
+ label: "项目交付日期",
+ value: "delivery_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/project_manager_appointment/detail.vue b/src/views/project_manager_appointment/detail.vue
deleted file mode 100644
index e23d20a..0000000
--- a/src/views/project_manager_appointment/detail.vue
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
-
-
-
-
diff --git a/src/views/project_manager_appointment/edit.vue b/src/views/project_manager_appointment/edit.vue
index 69d6152..f58bfde 100644
--- a/src/views/project_manager_appointment/edit.vue
+++ b/src/views/project_manager_appointment/edit.vue
@@ -1,20 +1,17 @@