Commit f56a631f authored by Mr.Tang's avatar Mr.Tang

转正人数统计bug修复

parent 81114361
......@@ -64,3 +64,9 @@ export function updateRegular2(data) {
data: data
})
}
export function getCountCurrentRegularizationInTenDays() {
return request({
url: '/confirmationmanage/confirmationmanage/getCountCurrentRegularizationInTenDays',
method: 'get',
})
}
......@@ -167,7 +167,7 @@ export default {
<script setup name="Confirmationmanage">
import FlowChart from '@/components/FlowChart/index.vue'
import { listConfirmationManage, getConfirmationManage, delConfirmationManage, addConfirmationManage, updateConfirmationManage,getAllapproveList } from "@/api/confirmationmanage/confirmationmanage";
import { listConfirmationManage, getConfirmationManage, delConfirmationManage, addConfirmationManage, updateConfirmationManage,getAllapproveList,getCountCurrentRegularizationInTenDays } from "@/api/confirmationmanage/confirmationmanage";
import { pcaTextArr} from "element-china-area-data";
import {useRouter} from "vue-router";
import {ref} from "vue";
......@@ -271,7 +271,12 @@ const data = reactive({
});
const { queryParams, form, rules } = toRefs(data);
const pendingRegularCount = ref(0);
function loadPendingRegularCount() {
getCountCurrentRegularizationInTenDays().then(response => {
pendingRegularCount.value = response.data;
});
}
// 转正高亮状态
const regularHighlight = ref(false)
......@@ -303,7 +308,7 @@ const pendingRegularList = computed(() => {
})
// 待处理人数
const pendingRegularCount = computed(() => pendingRegularList.value.length)
/*const pendingRegularCount = computed(() => pendingRegularList.value.length)*/
// 扩展行样式方法
const getRowClass = ({ row }) => {
......@@ -513,6 +518,7 @@ function handleExport() {
}
onMounted(() => {
getList();
loadPendingRegularCount();
});
getList();
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment