|
@@ -1,6 +1,9 @@
|
|
<template>
|
|
<template>
|
|
<div class="i_body_box">
|
|
<div class="i_body_box">
|
|
<div class="check_nav">
|
|
<div class="check_nav">
|
|
|
|
+ <div class="nav all" v-show="false" :class="{ active: type == '1' }" @click="checkType('1')">
|
|
|
|
+ 年度考核
|
|
|
|
+ </div>
|
|
<div class="nav all" :class="{ active: type == '' }" @click="checkType('')">
|
|
<div class="nav all" :class="{ active: type == '' }" @click="checkType('')">
|
|
全部
|
|
全部
|
|
</div>
|
|
</div>
|
|
@@ -19,10 +22,11 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="check_box" v-loading="loading">
|
|
<div class="check_box" v-loading="loading">
|
|
- <div class="noneData" v-if="!worksArray.length" style="text-align: center; margin-top: 20px;">
|
|
|
|
|
|
+ <examine v-if="type==1"></examine>
|
|
|
|
+ <div class="noneData" v-if="!worksArray.length && type!=1" style="text-align: center; margin-top: 20px;">
|
|
暂无数据
|
|
暂无数据
|
|
</div>
|
|
</div>
|
|
- <div class="test_panel" v-for="(item, index) in worksArray" :key="index">
|
|
|
|
|
|
+ <div class="test_panel" v-if="type!=1" v-for="(item, index) in worksArray" :key="index">
|
|
<div class="test_panel_title">
|
|
<div class="test_panel_title">
|
|
<div class="title" :style="{paddingLeft: (item.array.length > 0 || item.carray.length > 0) ? '0' : '30px'}" @click="openWork(index)">
|
|
<div class="title" :style="{paddingLeft: (item.array.length > 0 || item.carray.length > 0) ? '0' : '30px'}" @click="openWork(index)">
|
|
<span class="open" :class="{active: item.open}" v-if="item.array.length > 0 || item.carray.length > 0"></span>
|
|
<span class="open" :class="{active: item.open}" v-if="item.array.length > 0 || item.carray.length > 0"></span>
|
|
@@ -112,6 +116,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import examine from '../examine/index'
|
|
export default {
|
|
export default {
|
|
props: {
|
|
props: {
|
|
userid: {
|
|
userid: {
|
|
@@ -121,6 +126,9 @@ export default {
|
|
type: String,
|
|
type: String,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ components:{
|
|
|
|
+ examine
|
|
|
|
+ },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
type: "",
|
|
type: "",
|