|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="container">
|
|
|
<save-form inline :model="search" @submit="FetchDetail" @reset="reset" saveKey="/main/main/baseInfo">
|
|
|
- <el-form-item prop="year">
|
|
|
+ <!-- <el-form-item prop="year">
|
|
|
<el-date-picker
|
|
|
v-model="search.dates"
|
|
|
type="daterange"
|
|
@@ -12,7 +12,7 @@
|
|
|
end-placeholder="结束日期"
|
|
|
:picker-options="pickerOptions">
|
|
|
</el-date-picker>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item prop="organId">
|
|
|
<el-select
|
|
|
clearable
|
|
@@ -29,11 +29,21 @@
|
|
|
<el-button native-type="submit" type="primary">搜索</el-button>
|
|
|
<el-button native-type="reset" type="danger">重置</el-button>
|
|
|
</save-form>
|
|
|
- <el-alert type="info" :closable="false" style="margin-bottom: 20px;">
|
|
|
+ <!-- <el-alert type="info" :closable="false" style="margin-bottom: 20px;">
|
|
|
每日0点更新前一日数据
|
|
|
- </el-alert>
|
|
|
+ </el-alert> -->
|
|
|
+ <!-- 这里显示选项卡 -->
|
|
|
<empty desc="暂无统计数据" v-if="isEmpty"/>
|
|
|
<el-row v-else class="rows" :gutter="20">
|
|
|
+ <el-col :xs="24" :sm="24" :md="9" :xl="9">
|
|
|
+ <studentbaseinfo :data="dataInfo" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :md="6" :xl="6">
|
|
|
+ <studentbaseinfo :data="dataInfo" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :md="9" :xl="9">
|
|
|
+ <studentbaseinfo :data="dataInfo" />
|
|
|
+ </el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="12">
|
|
|
<student :data="dataInfo"/>
|
|
|
</el-col>
|
|
@@ -63,9 +73,11 @@ import management from './management'
|
|
|
import hrdata from './hr'
|
|
|
import student from './student'
|
|
|
import curriculum from './curriculum'
|
|
|
+import studentbaseinfo from './studentBaseinfo'
|
|
|
import { getTimes } from '@/utils'
|
|
|
import { descs } from '../constant'
|
|
|
|
|
|
+
|
|
|
const getInitDate = () => {
|
|
|
const end = new Date();
|
|
|
const start = new Date();
|
|
@@ -81,6 +93,7 @@ export default {
|
|
|
hrdata,
|
|
|
student,
|
|
|
curriculum,
|
|
|
+ studentbaseinfo
|
|
|
},
|
|
|
data () {
|
|
|
return {
|