diff --git a/src/layout/default/components/header/msg.vue b/src/layout/default/components/header/msg.vue index 192e7d3..fdc3d50 100644 --- a/src/layout/default/components/header/msg.vue +++ b/src/layout/default/components/header/msg.vue @@ -33,9 +33,9 @@ const getNums = async () => { } -setInterval(() => { - getNums() -}, 5000); +// setInterval(() => { +// getNums() +// }, 5000); getNums() diff --git a/src/views/oa_Initiate/edit.vue b/src/views/oa_Initiate/edit.vue index 709de35..d6bbd76 100644 --- a/src/views/oa_Initiate/edit.vue +++ b/src/views/oa_Initiate/edit.vue @@ -5,9 +5,37 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -18,19 +46,42 @@ import generateForm from './../../components/generateForm/index.vue' import Popup from "@/components/popup/index.vue"; import { apiOaoaApproveAdd } from "@/api/oa_Initiate" +import qj from './form/jq/qj.vue' +import cc from './form/jq/cc.vue' +import wc from './form/jq/wc.vue' +import jb from './form/jq/jb.vue' +import hysyd from './form/xz/hysyd.vue' +import gwlz from './form/xz/gwlz.vue' +import wpwx from './form/xz/wpwx.vue' +import zzjy from './form/xz/zzjy.vue' +import yz from './form/xz/yz.vue' +import yc from './form/xz/yc.vue' +import ycgh from './form/xz/ycgh.vue' +import jk from './form/cw/jk.vue' +import fk from './form/cw/fk.vue' +import jl from './form/cw/jl.vue' +import cg from './form/cw/cg.vue' +import hdjf from './form/cw/hdjf.vue' +import rz from './form/rs/rz.vue' +import zz from './form/rs/zz.vue' +import lz from './form/rs/lz.vue' +import zg from './form/rs/zg.vue' +import zpxq from './form/rs/zpxq.vue' import tysp from './form/qt/tysp.vue' -defineProps({ +let props = defineProps({ type: { - type: Number, + type: String, } }) + + const emit = defineEmits(["success", "close"]); const formRef = shallowRef(); const popupRef = shallowRef>(); diff --git a/src/views/oa_Initiate/form/jk/cg.vue b/src/views/oa_Initiate/form/cw/cg.vue similarity index 100% rename from src/views/oa_Initiate/form/jk/cg.vue rename to src/views/oa_Initiate/form/cw/cg.vue diff --git a/src/views/oa_Initiate/form/jk/fk.vue b/src/views/oa_Initiate/form/cw/fk.vue similarity index 100% rename from src/views/oa_Initiate/form/jk/fk.vue rename to src/views/oa_Initiate/form/cw/fk.vue diff --git a/src/views/oa_Initiate/form/jk/hdjf.vue b/src/views/oa_Initiate/form/cw/hdjf.vue similarity index 84% rename from src/views/oa_Initiate/form/jk/hdjf.vue rename to src/views/oa_Initiate/form/cw/hdjf.vue index 2e58ff7..05bb0f9 100644 --- a/src/views/oa_Initiate/form/jk/hdjf.vue +++ b/src/views/oa_Initiate/form/cw/hdjf.vue @@ -50,11 +50,18 @@ - \ No newline at end of file diff --git a/src/views/oa_Initiate/form/jq/jb.vue b/src/views/oa_Initiate/form/jq/jb.vue index 8048f21..ab51bf6 100644 --- a/src/views/oa_Initiate/form/jq/jb.vue +++ b/src/views/oa_Initiate/form/jq/jb.vue @@ -4,14 +4,14 @@ + value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间" @change="calcDay"> + value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间" @change="calcDay"> @@ -36,11 +36,20 @@ - \ No newline at end of file diff --git a/src/views/oa_Initiate/form/jq/qj.vue b/src/views/oa_Initiate/form/jq/qj.vue index 8b7278c..6dd6165 100644 --- a/src/views/oa_Initiate/form/jq/qj.vue +++ b/src/views/oa_Initiate/form/jq/qj.vue @@ -12,20 +12,20 @@ + value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间" @change="calcDay"> + value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间" @change="calcDay"> - + @@ -44,11 +44,19 @@ - \ No newline at end of file diff --git a/src/views/oa_Initiate/form/jq/wc.vue b/src/views/oa_Initiate/form/jq/wc.vue index 4e6af95..3bcef34 100644 --- a/src/views/oa_Initiate/form/jq/wc.vue +++ b/src/views/oa_Initiate/form/jq/wc.vue @@ -2,21 +2,21 @@ - - + + + value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间" @change="calcDay"> + value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间" @change="calcDay"> @@ -41,11 +41,19 @@ - \ No newline at end of file diff --git a/src/views/oa_Initiate/form/xz/hysyd.vue b/src/views/oa_Initiate/form/xz/hysyd.vue index 017269d..f6b73f4 100644 --- a/src/views/oa_Initiate/form/xz/hysyd.vue +++ b/src/views/oa_Initiate/form/xz/hysyd.vue @@ -39,11 +39,21 @@ - \ No newline at end of file diff --git a/src/views/oa_Initiate/form/xz/yc.vue b/src/views/oa_Initiate/form/xz/yc.vue index 8507e24..fe406c6 100644 --- a/src/views/oa_Initiate/form/xz/yc.vue +++ b/src/views/oa_Initiate/form/xz/yc.vue @@ -35,7 +35,7 @@ - + @@ -52,11 +52,24 @@ - \ No newline at end of file diff --git a/src/views/oa_Initiate/form/xz/ycgh.vue b/src/views/oa_Initiate/form/xz/ycgh.vue index 6a2aca4..d8c42ef 100644 --- a/src/views/oa_Initiate/form/xz/ycgh.vue +++ b/src/views/oa_Initiate/form/xz/ycgh.vue @@ -4,7 +4,7 @@ - + @@ -41,7 +41,11 @@ const qjlxList = reactive(['事假', '年假', '调休假', '病假', '婚假', '产假', '陪产假', '其他']) const formData = ref({}) const formRef = ref(null) - +import { apiOaCarCateLists } from '@/api/oa_car_cate' +let carLists = ref([]) +apiOaCarCateLists().then(res => { + carLists.value = res.lists +}) // 表单验证 const formRules = reactive({ qjlx: [{ diff --git a/src/views/oa_Initiate/form/xz/yz.vue b/src/views/oa_Initiate/form/xz/yz.vue index b9de7b0..65150cf 100644 --- a/src/views/oa_Initiate/form/xz/yz.vue +++ b/src/views/oa_Initiate/form/xz/yz.vue @@ -49,7 +49,8 @@ - \ No newline at end of file diff --git a/src/views/oa_Initiate/form/xz/zzjy.vue b/src/views/oa_Initiate/form/xz/zzjy.vue index 195dcfe..986d2e6 100644 --- a/src/views/oa_Initiate/form/xz/zzjy.vue +++ b/src/views/oa_Initiate/form/xz/zzjy.vue @@ -41,15 +41,15 @@ - - + - - + @@ -73,7 +73,7 @@ -