|
|
@ -3,10 +3,10 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div class="backlog_body">
|
|
|
|
<div class="backlog_body">
|
|
|
|
<div class="search_top">
|
|
|
|
<div class="search_top">
|
|
|
|
<div class="btn">
|
|
|
|
<!-- <div class="btn">
|
|
|
|
<el-button @click="search_data">搜索</el-button>
|
|
|
|
<el-button @click="search_data">搜索</el-button>
|
|
|
|
<el-button @click="reset">重置</el-button>
|
|
|
|
<el-button @click="reset">重置</el-button>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
<el-form :model="search" class="search_top_form">
|
|
|
|
<el-form :model="search" class="search_top_form">
|
|
|
|
<el-form-item label="创建时间">
|
|
|
|
<el-form-item label="创建时间">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
@ -25,6 +25,10 @@
|
|
|
|
placeholder="请选择关键词"
|
|
|
|
placeholder="请选择关键词"
|
|
|
|
></el-input>
|
|
|
|
></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item>
|
|
|
|
|
|
|
|
<el-button @click="search_data">搜索</el-button>
|
|
|
|
|
|
|
|
<el-button @click="reset">重置</el-button>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="search_table">
|
|
|
|
<div class="search_table">
|
|
|
@ -147,13 +151,15 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
get_backlog(param).then((res) => {
|
|
|
|
get_backlog(param).then((res) => {
|
|
|
|
// 根据返回码值判断流程状态
|
|
|
|
// 根据返回码值判断流程状态
|
|
|
|
for( let i = 0; i<res.rows.length;i++) {
|
|
|
|
for (let i = 0; i < res.rows.length; i++) {
|
|
|
|
res.rows[i].process_status = this.process_change(res.rows[i].alarmStatus)
|
|
|
|
res.rows[i].process_status = this.process_change(
|
|
|
|
|
|
|
|
res.rows[i].alarmStatus
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log('res.rows',res.rows);
|
|
|
|
console.log("res.rows", res.rows);
|
|
|
|
this.table_data = res.rows;
|
|
|
|
this.table_data = res.rows;
|
|
|
|
this.total = res.total;
|
|
|
|
this.total = res.total;
|
|
|
|
})
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
reset() {
|
|
|
|
reset() {
|
|
|
|
this.search.backlog_time = [this.get_today(), this.get_tomorrow()];
|
|
|
|
this.search.backlog_time = [this.get_today(), this.get_tomorrow()];
|
|
|
@ -229,12 +235,12 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 根据返回码值判断流程状态
|
|
|
|
// 根据返回码值判断流程状态
|
|
|
|
process_change(val) {
|
|
|
|
process_change(val) {
|
|
|
|
switch(val) {
|
|
|
|
switch (val) {
|
|
|
|
case 1 :
|
|
|
|
case 1:
|
|
|
|
return "审核中";
|
|
|
|
return "审核中";
|
|
|
|
case 2 :
|
|
|
|
case 2:
|
|
|
|
return "审核完成";
|
|
|
|
return "审核完成";
|
|
|
|
case 3 :
|
|
|
|
case 3:
|
|
|
|
return "驳回";
|
|
|
|
return "驳回";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -242,12 +248,12 @@ export default {
|
|
|
|
console.log(`每页 ${val} 条`);
|
|
|
|
console.log(`每页 ${val} 条`);
|
|
|
|
this.pageNum = 1;
|
|
|
|
this.pageNum = 1;
|
|
|
|
this.pageSize = val;
|
|
|
|
this.pageSize = val;
|
|
|
|
this.search_data()
|
|
|
|
this.search_data();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
console.log(`当前页: ${val}`);
|
|
|
|
console.log(`当前页: ${val}`);
|
|
|
|
this.pageNum = val;
|
|
|
|
this.pageNum = val;
|
|
|
|
this.search_data()
|
|
|
|
this.search_data();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -334,7 +340,6 @@ export default {
|
|
|
|
.el-input__inner {
|
|
|
|
.el-input__inner {
|
|
|
|
// width: 300px;
|
|
|
|
// width: 300px;
|
|
|
|
border-radius: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
height: 3.7vh;
|
|
|
|
|
|
|
|
border: 1px solid #3d505e;
|
|
|
|
border: 1px solid #3d505e;
|
|
|
|
// border: 0.5px dashed;
|
|
|
|
// border: 0.5px dashed;
|
|
|
|
background: #283436;
|
|
|
|
background: #283436;
|
|
|
@ -350,6 +355,20 @@ export default {
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
background: #283436;
|
|
|
|
background: #283436;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-button {
|
|
|
|
|
|
|
|
width: 70px;
|
|
|
|
|
|
|
|
border: 0.1px solid #4a6072;
|
|
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
border-radius: 0px !important;
|
|
|
|
|
|
|
|
background: #323f43;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-button:focus,
|
|
|
|
|
|
|
|
.el-button:hover {
|
|
|
|
|
|
|
|
color: #34e1b3;
|
|
|
|
|
|
|
|
border: 2px solid #137868;
|
|
|
|
|
|
|
|
background: url("~@/assets/companyFile/2121.png") no-repeat !important;
|
|
|
|
|
|
|
|
background-size: 100% 100% !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/deep/.el-range-separator {
|
|
|
|
/deep/.el-range-separator {
|
|
|
|