|
|
@ -4,7 +4,12 @@ |
|
|
@ 备注: 编辑排班记录 |
|
|
@ 备注: 编辑排班记录 |
|
|
--> |
|
|
--> |
|
|
<script lang="ts" setup> |
|
|
<script lang="ts" setup> |
|
|
import { geiOrgAllPeople, saveEditDutyInfo, getDutyCont } from "@/api/hr/paiban/index"; |
|
|
import { |
|
|
|
|
|
geiOrgAllPeople, |
|
|
|
|
|
saveEditDutyInfo, |
|
|
|
|
|
getDutyCont, |
|
|
|
|
|
get_org_everyone_people, |
|
|
|
|
|
} from "@/api/hr/paiban/index"; |
|
|
import { get_org } from "@/api/opk/zxy/news/api"; |
|
|
import { get_org } from "@/api/opk/zxy/news/api"; |
|
|
const props = defineProps({ |
|
|
const props = defineProps({ |
|
|
isOpen: { |
|
|
isOpen: { |
|
|
@ -28,6 +33,7 @@ const props = defineProps({ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
|
|
|
const ruleFormRef = ref(null); |
|
|
const loading = ref(false); |
|
|
const loading = ref(false); |
|
|
const emits = defineEmits(["update:isOpen", "pickRefresh"]); |
|
|
const emits = defineEmits(["update:isOpen", "pickRefresh"]); |
|
|
const isShow = computed({ |
|
|
const isShow = computed({ |
|
|
@ -47,6 +53,7 @@ const orgPeopleList = ref([]); |
|
|
//关闭比阿尼系统 |
|
|
//关闭比阿尼系统 |
|
|
const closeSavePage = () => { |
|
|
const closeSavePage = () => { |
|
|
emits("update:isOpen", false); |
|
|
emits("update:isOpen", false); |
|
|
|
|
|
ruleFormRef.value.resetFields(); |
|
|
}; |
|
|
}; |
|
|
//监听 |
|
|
//监听 |
|
|
watch( |
|
|
watch( |
|
|
@ -79,7 +86,7 @@ const getOrgPeople = () => { |
|
|
if (saveInfo.value.isCompany == 1) { |
|
|
if (saveInfo.value.isCompany == 1) { |
|
|
// orgPeopleList.value = props.currOrgManList; |
|
|
// orgPeopleList.value = props.currOrgManList; |
|
|
// loading.value = false; |
|
|
// loading.value = false; |
|
|
get_org({ |
|
|
get_org_everyone_people({ |
|
|
id: props.cumpanyId.toString(), |
|
|
id: props.cumpanyId.toString(), |
|
|
all: 1, |
|
|
all: 1, |
|
|
}) |
|
|
}) |
|
|
@ -128,6 +135,9 @@ const orgTreeProps = { |
|
|
children: "child", |
|
|
children: "child", |
|
|
label: "name", |
|
|
label: "name", |
|
|
}; //行政组织树对照值 |
|
|
}; //行政组织树对照值 |
|
|
|
|
|
onMounted(() => { |
|
|
|
|
|
getOrgPeople(); |
|
|
|
|
|
}); |
|
|
</script> |
|
|
</script> |
|
|
<template> |
|
|
<template> |
|
|
<el-dialog |
|
|
<el-dialog |
|
|
|