diff --git a/yuthon_performance/models/yuthon_index_employee.py b/yuthon_performance/models/yuthon_index_employee.py
index 42747ab62..ef7f014c6 100644
--- a/yuthon_performance/models/yuthon_index_employee.py
+++ b/yuthon_performance/models/yuthon_index_employee.py
@@ -30,6 +30,14 @@ class YuthonIndexEmployee(models.Model):
def put_assessment_tasks1_approval(self):
pass
+ def open_record(self):
+ return {
+ "type": "ir.actions.act_window",
+ "res_model": 'yuthon.index.employee',
+ "res_id": self.id,
+ "name":"员工详情",
+ "view_mode": "form",
+ }
class YuthonIndexEmployeeLine(models.Model):
_name = 'yuthon.index.employee.line'
_description = '员工绩效指标库明细'
diff --git a/yuthon_performance/views/yuthon_employee_approval.xml b/yuthon_performance/views/yuthon_employee_approval.xml
index 668c0a902..5a6c6322c 100644
--- a/yuthon_performance/views/yuthon_employee_approval.xml
+++ b/yuthon_performance/views/yuthon_employee_approval.xml
@@ -45,6 +45,7 @@
+
diff --git a/yuthon_performance/views/yuthon_index_employee.xml b/yuthon_performance/views/yuthon_index_employee.xml
index a5749ed26..678be93ae 100644
--- a/yuthon_performance/views/yuthon_index_employee.xml
+++ b/yuthon_performance/views/yuthon_index_employee.xml
@@ -9,6 +9,7 @@
+