|
@@ -60,11 +60,12 @@
|
|
|
<p class="inquire-button-one" @click="handleQuery" style="margin-right:10px;">查询</p>
|
|
|
<p class="reset-button-one" @click="resetQuery">重置</p>
|
|
|
</el-form-item>
|
|
|
- <div class="form-button-max-big-box">
|
|
|
- <div class="form-button-big-box">
|
|
|
- <div :class="queryParams.isSelf==1?'checkDiv':''" style="width:100px;" @click="topRightClickType">
|
|
|
- <p class="text-p">本人发起</p>
|
|
|
- <p class="el-icon-check icon-p" v-if="queryParams.isSelf==1"></p>
|
|
|
+ <!--与我相关-->
|
|
|
+ <div class="form-button-max-big-box-me">
|
|
|
+ <div class="form-button-big-box-me">
|
|
|
+ <div :class="queryParams.myRelated==1?'checkDiv-me':''" style="width:100px;" @click="topRightClickType">
|
|
|
+ <p class="text-p-me">与我相关</p>
|
|
|
+ <p class="el-icon-check icon-p-me" v-if="queryParams.myRelated==1"></p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -169,7 +170,7 @@
|
|
|
checkTimeSort:0,
|
|
|
searchValue:"",
|
|
|
deptId:"",
|
|
|
- isSelf:0,
|
|
|
+ myRelated:1,
|
|
|
},
|
|
|
dateRange:[],
|
|
|
tableList:[],
|
|
@@ -186,6 +187,11 @@
|
|
|
this.getList();
|
|
|
},
|
|
|
methods:{
|
|
|
+ //与我相关按钮
|
|
|
+ topRightClickType(){
|
|
|
+ this.$set(this.queryParams,'myRelated',this.queryParams.myRelated==1?0:1);
|
|
|
+ this.handleQuery();
|
|
|
+ },
|
|
|
//开始检查
|
|
|
goAddPage(type,id){
|
|
|
if(this.pageType != type){
|
|
@@ -224,10 +230,6 @@
|
|
|
this.handleQuery();
|
|
|
}
|
|
|
},
|
|
|
- topRightClickType(){
|
|
|
- this.$set(this.queryParams,'isSelf',this.queryParams.isSelf==1?0:1);
|
|
|
- this.handleQuery();
|
|
|
- },
|
|
|
//获取数据列表
|
|
|
getList(){
|
|
|
let obj = JSON.parse(JSON.stringify(this.queryParams))
|
|
@@ -262,7 +264,7 @@
|
|
|
checkTimeSort:0,
|
|
|
searchValue:"",
|
|
|
deptId:"",
|
|
|
- isSelf:0,
|
|
|
+ myRelated:1,
|
|
|
});
|
|
|
this.handleQuery();
|
|
|
},
|
|
@@ -374,6 +376,42 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .form-button-max-big-box-me{
|
|
|
+ display: inline-block;
|
|
|
+ .form-button-big-box-me{
|
|
|
+ display: flex;
|
|
|
+ div{
|
|
|
+ position: relative;
|
|
|
+ height:40px;
|
|
|
+ width:80px;
|
|
|
+ line-height: 40px;
|
|
|
+ text-align: center;
|
|
|
+ color:#999;
|
|
|
+ font-size:14px;
|
|
|
+ border:1px solid #999;
|
|
|
+ border-radius:4px;
|
|
|
+ margin-left:10px;
|
|
|
+ font-weight:500;
|
|
|
+ cursor: pointer;
|
|
|
+ .icon-p-me{
|
|
|
+ width:15px;
|
|
|
+ height:15px;
|
|
|
+ line-height:15px;
|
|
|
+ text-align: center;
|
|
|
+ position: absolute;
|
|
|
+ right:0;
|
|
|
+ bottom:0;
|
|
|
+ color:#fff;
|
|
|
+ background: #0183fa;
|
|
|
+ border-top-left-radius:4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .checkDiv-me{
|
|
|
+ color:#0183FA!important;
|
|
|
+ border:1px solid #0183FA!important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.content-box{
|
|
|
flex: 1;
|