diff --git a/src/views/hoisting/job_data/index.vue b/src/views/hoisting/job_data/index.vue
index aa4cc3f..794e21a 100644
--- a/src/views/hoisting/job_data/index.vue
+++ b/src/views/hoisting/job_data/index.vue
@@ -283,6 +283,7 @@ const fnShowPoints = (id) => {
data.showPointsDialog.visible = true;
};
const fnPreviewVideo = (VIDEO_PATH) => {
+ console.log(VIDEO_PATH);
data.videoDialog.visible = true;
data.videoDialog.src = VIDEO_PATH;
};
diff --git a/src/views/off_duty_management/record/components/view.vue b/src/views/off_duty_management/record/components/view.vue
new file mode 100644
index 0000000..32dc0d5
--- /dev/null
+++ b/src/views/off_duty_management/record/components/view.vue
@@ -0,0 +1,66 @@
+
+
+
+
+ {{ info.DEPARTMENTNAME_ALL }}
+
+
+ {{ info.POSTNAME }}
+
+
+ {{ info.USER_NAME }}
+
+
+ {{ info.STARTTIME }}-{{ info.ENDTIME }}
+
+
+ {{ info.DESCR }}
+
+
+ 待审批
+ 审批通过
+
+ 审批打回
+ 无需审批
+
+
+ {{
+ info.REVIEW_USER_NAME + " [" + info.REVIEW_USER_DEPARTMENTNAME + "]"
+ }}
+
+
+ {{ info.REVIEW_DESC }}
+
+
+
+ 关闭
+
+
+
+
+
+
+
diff --git a/src/views/off_duty_management/record/index.vue b/src/views/off_duty_management/record/index.vue
index 4686ed0..f85092a 100644
--- a/src/views/off_duty_management/record/index.vue
+++ b/src/views/off_duty_management/record/index.vue
@@ -117,6 +117,10 @@
+
@@ -125,6 +129,8 @@ import { serialNumber } from "@/assets/js/utils";
import useListData from "@/assets/js/useListData.js";
import { getRecordList } from "@/request/off_duty_management.js";
import LayoutDepartment from "@/components/department/index.vue";
+import {reactive} from "vue";
+import ViewInfo from "./components/view.vue";
const reviewStatusList = [
{ ID: "0", NAME: "待审批" },
@@ -136,6 +142,12 @@ const reviewStatusList = [
];
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
useListData(getRecordList, { otherParams: { TYPE: "show" } });
+const data = reactive({
+ viewDialog: {
+ visible: false,
+ info: {},
+ },
+});
const fnGetDataTransfer = () => {
fnGetData({
STARTTIME: searchForm.value.dates?.[0],
@@ -150,6 +162,10 @@ const fnResetPaginationTransfer = () => {
DEPTIDS: searchForm.value.DEPTIDS?.join(","),
});
};
+const fnView = (row) => {
+ data.viewDialog.visible = true;
+ data.viewDialog.info = row;
+};