liuhairui пре 2 недеља
родитељ
комит
c5407cf379

+ 8 - 1
src/api/mes_api_gty/overTimePayVerification.js

@@ -49,5 +49,12 @@ export const getLocal = (params) => {
   })
 }
 
-
+/** 考勤建立:法定天数 / 工时类型写入(与 14-overTimePayVerification 弹窗提交对应) */
+export const clockUpdate = (data) => {
+  return service({
+    url: '/mes_server/overtime_verification/clockUpdate',
+    method: 'post',
+    data
+  })
+}
 

+ 1 - 2
src/view/performance/14-overTimePayVerification/index.vue

@@ -290,10 +290,9 @@ export default {
 // 全量引入格式化工具 请按需保留
 import { Download, Refresh, Search } from '@element-plus/icons-vue'
 import { reactive, ref } from 'vue'
-import { getDownData, getSide, getUpData } from '@/api/mes_api_gty/overTimePayVerification'
+import { getDownData, getSide, getUpData, clockUpdate } from '@/api/mes_api_gty/overTimePayVerification'
 import { Layout, LayoutContent, LayoutHeader, LayoutSider } from '@arco-design/web-vue'
 import { useUserStore } from '@/pinia/modules/user'
-import {clockUpdate} from '@/api/yunyin/yunying'
 import {ElMessage} from "element-plus";
 import * as XLSX from "xlsx";
 const userStore = useUserStore()