|
@@ -66,12 +66,12 @@
|
|
|
</template>
|
|
|
|
|
|
<!-- 按部门/项目筛选 -->
|
|
|
- <el-select v-if="ins == 10" v-model="departmentOrProject" placeholder="请选择" size="small" @change="selcts(10)" style="margin-left:10px;width:120px">
|
|
|
+ <!-- <el-select v-if="ins == 10" v-model="departmentOrProject" placeholder="请选择" size="small" @change="selcts(10)" style="margin-left:10px;width:120px">
|
|
|
<el-option label="查看项目审核人" :value="1"></el-option>
|
|
|
<el-option label="查看部门审核人" :value="0"></el-option>
|
|
|
- </el-select>
|
|
|
+ </el-select> -->
|
|
|
<!-- 项目筛选 -->
|
|
|
- <el-select v-if="(ins != 4 && ins != 8 && ins != 9 && ins != 10) || (ins == 10 && departmentOrProject == 1)" v-model="proJuctId" placeholder="请选择项目" clearable filterable size="small" @change="selcts()" style="margin-left:10px">
|
|
|
+ <el-select v-if="(ins != 4 && ins != 8 && ins != 9 && ins != 10) || ins == 10" v-model="proJuctId" placeholder="请选择项目" clearable filterable size="small" @change="selcts()" style="margin-left:10px">
|
|
|
<el-option v-for="(item) in proListOvertime" :key="item.id" :label="item.projectName + (item.projectCode ? item.projectCode : '')" :value="item.id">
|
|
|
<span style="float: left;color: #8492a6;">{{ item.projectCode }}</span>
|
|
|
<span style="float: right;font-size: 13px;margin-left: 20px">{{ item.projectName }}</span>
|
|
@@ -79,7 +79,7 @@
|
|
|
</el-select>
|
|
|
|
|
|
<!-- 部门筛选 -->
|
|
|
- <el-cascader v-if="ins == 9 || ins == 8 || ins == 6 || (ins == 10 && departmentOrProject == 0)" v-model="departmentIdArray" :options="departmentList" placeholder="请选择部门"
|
|
|
+ <el-cascader v-if="ins == 9 || ins == 8 || ins == 6" v-model="departmentIdArray" :options="departmentList" placeholder="请选择部门"
|
|
|
:props="{ checkStrictly: false,expandTrigger: 'hover' }" :show-all-levels="false" clearable
|
|
|
@change="selcts(9)" size="small" style="margin-left:10px"
|
|
|
></el-cascader>
|
|
@@ -1286,16 +1286,12 @@ export default {
|
|
|
startDate: this.rangeDatas[0],
|
|
|
endDate: this.rangeDatas[1],
|
|
|
pageIndex: this.page,
|
|
|
- pageSize: this.size,
|
|
|
- stateKey: this.departmentOrProject
|
|
|
+ pageSize: this.size
|
|
|
}
|
|
|
if(this.userId){
|
|
|
parameter.userId = this.userId
|
|
|
}
|
|
|
- if(this.departmentIdArray.length != 0 && this.departmentOrProject == 0){
|
|
|
- parameter.departmentId = this.departmentIdArray[this.departmentIdArray.length - 1]
|
|
|
- }
|
|
|
- if(this.proJuctId && this.departmentOrProject == 1){
|
|
|
+ if(this.proJuctId){
|
|
|
parameter.projectId = this.proJuctId
|
|
|
}
|
|
|
this.listLoading = true
|