diff --git a/src/views/oa_examine/detail.vue b/src/views/oa_examine/detail.vue
new file mode 100644
index 0000000..be2d987
--- /dev/null
+++ b/src/views/oa_examine/detail.vue
@@ -0,0 +1,190 @@
+
+
+
+
+
+
diff --git a/src/views/oa_examine/index.vue b/src/views/oa_examine/index.vue
index 08b3505..afd4ae5 100644
--- a/src/views/oa_examine/index.vue
+++ b/src/views/oa_examine/index.vue
@@ -53,6 +53,9 @@
删除
+
+ 详情
+
@@ -62,6 +65,8 @@
+
+
@@ -72,11 +77,14 @@ import { usePaging } from '@/hooks/usePaging'
import { apiExpenseList, apiExpenseDelete, apiExpenseDetail } from '@/api/oa_examine'
import { useDictData } from '@/hooks/useDictOptions'
import EditPopup from './edit.vue'
+import detailPopup from './detail.vue'
const editRef = shallowRef>()
// 是否显示编辑框
const showEdit = ref(false)
-
+const detailRef = ref(null)
+// 是否显示编辑框
+const showDetail = ref(false)
const { dictData } = useDictData('jxgl_check_type')
// 查询条件
@@ -115,5 +123,12 @@ const handleDelete = async (id: number | any[]) => {
getLists()
}
+const handDetail = async (id: any) => {
+ let res = await apiExpenseDetail({ id })
+ showDetail.value = true
+ await nextTick()
+ detailRef.value?.open()
+ detailRef.value?.setFormData(res)
+}
getLists()
\ No newline at end of file
diff --git a/src/views/oa_self_examine/detail.vue b/src/views/oa_self_examine/detail.vue
new file mode 100644
index 0000000..40c0ee4
--- /dev/null
+++ b/src/views/oa_self_examine/detail.vue
@@ -0,0 +1,160 @@
+
+
+
+
+
+
diff --git a/src/views/oa_self_examine/edit.vue b/src/views/oa_self_examine/edit.vue
index 3196d3b..32cee9d 100644
--- a/src/views/oa_self_examine/edit.vue
+++ b/src/views/oa_self_examine/edit.vue
@@ -72,12 +72,7 @@
{{ formData.total_self_score }}
-
- {{ formData.total_superior_score }}
-
-
- {{ formData.final_score }}
-
+
diff --git a/src/views/oa_self_examine/index.vue b/src/views/oa_self_examine/index.vue
index 85b7a0c..5435bce 100644
--- a/src/views/oa_self_examine/index.vue
+++ b/src/views/oa_self_examine/index.vue
@@ -42,9 +42,6 @@
-
-
-
@@ -56,6 +53,9 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -65,7 +65,7 @@
-
+
@@ -75,12 +75,15 @@ import { useDictData } from '@/hooks/useDictOptions'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
import { apiOaSelfExamineLists, apiOaSelfExamineDelete, apiOaSelfExamineDetail } from '@/api/oaSelfExamine'
+import detailPopup from './detail.vue'
const editRef = shallowRef>()
// 是否显示编辑框
const showEdit = ref(false)
-
+const detailRef = ref(null)
+// 是否显示编辑框
+const showDetail = ref(false)
// 查询条件
const queryParams = reactive({
@@ -121,5 +124,15 @@ const handleDelete = async (id: number | any[]) => {
getLists()
}
+
+
+const handDetail = async (id: any) => {
+ let res = await apiOaSelfExamineDetail({ id })
+ showDetail.value = true
+ await nextTick()
+ detailRef.value?.open()
+ detailRef.value?.setFormData(res)
+}
+
getLists()