|
@@ -61,15 +61,15 @@
|
|
|
<el-form-item style="float: right;" v-hasPermi="['safety:rectifyClap:add']">
|
|
|
<el-col :span="1.5">
|
|
|
<p class="inquire-button-one"
|
|
|
- style="width:90px;margin-right:0;"
|
|
|
+ style="width:70px;margin-right:0;"
|
|
|
@click="addButton"
|
|
|
- ><i class="el-icon-plus"></i> 随手拍</p>
|
|
|
+ >随手拍</p>
|
|
|
</el-col>
|
|
|
</el-form-item>
|
|
|
<el-form-item style="float: right;">
|
|
|
<el-col :span="1.5">
|
|
|
<p class="add-button-one-90"
|
|
|
- style="width:90px;"
|
|
|
+ style="width:80px;"
|
|
|
@click="goPage(2)"
|
|
|
>上报记录</p>
|
|
|
</el-col>
|
|
@@ -77,8 +77,8 @@
|
|
|
<!--与我相关-->
|
|
|
<div class="form-button-max-big-box-me">
|
|
|
<div class="form-button-big-box-me">
|
|
|
- <div :class="queryParams.myRelated==1?'checkDiv-me':''" style="width:90px;" @click="topRightClickType">
|
|
|
- <p class="text-p-me">与我相关</p>
|
|
|
+ <div :class="queryParams.myRelated==1?'checkDiv-me':''" @click="topRightClickType">
|
|
|
+ <p class="text-p-me">与我有关{{correlationNum}}</p>
|
|
|
<p class="el-icon-check icon-p-me" v-if="queryParams.myRelated==1"></p>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -236,6 +236,7 @@
|
|
|
dateRange:[],
|
|
|
tableList:[],
|
|
|
total:0,
|
|
|
+ correlationNum:'',
|
|
|
//新增窗口
|
|
|
addDialogType:false,
|
|
|
addDialogForm:{
|
|
@@ -274,6 +275,21 @@
|
|
|
this.getList();
|
|
|
},
|
|
|
methods:{
|
|
|
+ //获取相关数量
|
|
|
+ getCorrelationNum(){
|
|
|
+ securityCheckClapList({
|
|
|
+ pageNum:1,
|
|
|
+ pageSize:20,
|
|
|
+ deptId:'',
|
|
|
+ searchValue:'',
|
|
|
+ rectifyStatus:'',
|
|
|
+ upTimeOrder:"",
|
|
|
+ zgTimeOrder:"",
|
|
|
+ myRelated:1,
|
|
|
+ }).then(response => {
|
|
|
+ this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
|
|
|
+ });
|
|
|
+ },
|
|
|
//与我相关按钮
|
|
|
topRightClickType(){
|
|
|
this.$set(this.queryParams,'myRelated',this.queryParams.myRelated==1?0:1);
|
|
@@ -326,6 +342,7 @@
|
|
|
}else{
|
|
|
obj.endTime = ""
|
|
|
}
|
|
|
+ this.getCorrelationNum();
|
|
|
securityCheckClapList(obj).then(response => {
|
|
|
this.total = response.data.total;
|
|
|
this.tableList = response.data.records;
|
|
@@ -528,7 +545,7 @@
|
|
|
div{
|
|
|
position: relative;
|
|
|
height:40px;
|
|
|
- width:80px;
|
|
|
+ width:130px;
|
|
|
line-height: 40px;
|
|
|
text-align: center;
|
|
|
color:#999;
|