70 lines
1.6 KiB
Vue
70 lines
1.6 KiB
Vue
<template>
|
|
<div class="ele-body ele-body-card">
|
|
<a-row :gutter="16">
|
|
<a-col
|
|
v-bind="
|
|
styleResponsive
|
|
? { xl: 18, lg: 18, md: 16, sm: 24, xs: 24 }
|
|
: { span: 6 }
|
|
"
|
|
>
|
|
<PendingAll />
|
|
</a-col>
|
|
<a-col
|
|
v-bind="
|
|
styleResponsive
|
|
? { xl: 6, lg: 6, md: 8, sm: 24, xs: 24 }
|
|
: { span: 12 }
|
|
"
|
|
>
|
|
<Tools />
|
|
<CountUser />
|
|
</a-col>
|
|
</a-row>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { useThemeStore } from '@/store/modules/theme';
|
|
import { storeToRefs } from 'pinia';
|
|
import Tools from '@/views/oa/task/components/tools.vue';
|
|
import PendingAll from './components/pending-all.vue';
|
|
import CountUser from '@/views/oa/task/components/count-user.vue';
|
|
// import { notification } from 'ant-design-vue';
|
|
|
|
// 是否开启响应式布局
|
|
const themeStore = useThemeStore();
|
|
const { styleResponsive } = storeToRefs(themeStore);
|
|
|
|
/**
|
|
* 测试账号
|
|
*/
|
|
// const openNotification = () => {
|
|
// notification['warning']({
|
|
// message: '管理人员',
|
|
// description: '分派专员/123456'
|
|
// });
|
|
// notification['warning']({
|
|
// message: '技术人员1',
|
|
// description: '张工/123456'
|
|
// });
|
|
// notification['warning']({
|
|
// message: '客户1',
|
|
// description: '客户1/123456'
|
|
// });
|
|
// };
|
|
// openNotification();
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
export default {
|
|
name: 'CountIndex'
|
|
};
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.a-cursor {
|
|
cursor: pointer;
|
|
}
|
|
</style>
|