|
@@ -10,7 +10,7 @@
|
|
|
<div class="page-form-title-box" style="border:none;">
|
|
|
<el-form :model="queryParams" class="form-box" ref="queryForm"
|
|
|
:inline="true" style="width:100%;">
|
|
|
- <div class="table-school-college-toggle-box">
|
|
|
+ <div class="table-school-college-toggle-box" v-if="!propsData.deptId&&!propsData.subId">
|
|
|
<p :class="checkStatus==null?'p-check':''" @click="tableCheck(null)">全部</p>
|
|
|
<p :class="checkStatus==0?'p-check':''" @click="tableCheck(0)">待检查</p>
|
|
|
<p :class="checkStatus==1?'p-check':''" @click="tableCheck(1)">已检查</p>
|
|
@@ -23,7 +23,7 @@
|
|
|
style="width: 140px"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="" prop="deptId" v-if="!propsData.deptId">
|
|
|
+ <el-form-item label="" prop="deptId" v-if="!propsData.deptId&&!propsData.subId">
|
|
|
<el-select v-model="queryParams.deptId" placeholder="学院单位" style="width: 120px">
|
|
|
<el-option
|
|
|
v-for="dict in deptOption"
|
|
@@ -213,6 +213,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
|
+ if(this.propsData.deptId||this.propsData.subId){
|
|
|
+ this.$set(this,'checkStatus',1);
|
|
|
+ }
|
|
|
this.getDeptDropList();
|
|
|
},
|
|
|
mounted(){
|