|
@@ -32,22 +32,22 @@
|
|
</save-form>
|
|
</save-form>
|
|
<empty desc="暂无统计数据" v-if="isEmpty"/>
|
|
<empty desc="暂无统计数据" v-if="isEmpty"/>
|
|
<el-row v-else class="rows" :gutter="20">
|
|
<el-row v-else class="rows" :gutter="20">
|
|
- <el-col :xs="24" :sm="24" :md="12" :span="7">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="12" :xl="7">
|
|
<operate :data="dataInfo"/>
|
|
<operate :data="dataInfo"/>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="24" :md="12" :span="7">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="12" :xl="7">
|
|
<business :data="dataInfo"/>
|
|
<business :data="dataInfo"/>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="24" :md="24" :span="10">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="24" :xl="10">
|
|
<management :data="dataInfo"/>
|
|
<management :data="dataInfo"/>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="24" :md="12" :span="7">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="12" :xl="7">
|
|
<hrdata :data="dataInfo"/>
|
|
<hrdata :data="dataInfo"/>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="24" :md="12" :span="7">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="12" :xl="7">
|
|
<student :data="dataInfo"/>
|
|
<student :data="dataInfo"/>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="24" :md="24" :span="10">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="24" :xl="10">
|
|
<curriculum :data="dataInfo"/>
|
|
<curriculum :data="dataInfo"/>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -62,6 +62,8 @@ import hrdata from './hr'
|
|
import student from './student'
|
|
import student from './student'
|
|
import curriculum from './curriculum'
|
|
import curriculum from './curriculum'
|
|
|
|
|
|
|
|
+import { descs } from '../constant'
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
operate,
|
|
operate,
|
|
@@ -100,7 +102,10 @@ export default {
|
|
organIds: this.search.organIds.join(',')
|
|
organIds: this.search.organIds.join(',')
|
|
})
|
|
})
|
|
for (const item of res.data) {
|
|
for (const item of res.data) {
|
|
- data[item.dataType] = item
|
|
|
|
|
|
+ data[item.dataType] = {
|
|
|
|
+ ...item,
|
|
|
|
+ desc: descs[item.dataType]
|
|
|
|
+ }
|
|
}
|
|
}
|
|
} catch (error) {
|
|
} catch (error) {
|
|
console.log(error)
|
|
console.log(error)
|