修改bug

This commit is contained in:
宋伟佳
2021-09-09 18:20:49 +08:00
parent 0b87561a91
commit 31a6fa4e4a
2 changed files with 60 additions and 48 deletions
+8 -3
View File
@@ -8,7 +8,11 @@
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
<!-- <el-tab-pane label="标准预警" name="STANDARD">-->
<div class="dynamic-content">
<el-row>
<el-col>
<h5>实施预警</h5>
</el-col>
<el-col>
<div class="more">
<el-form :inline="true" :model="dynamic" class="demo-form-inline">
<el-form-item label="标准编号">
@@ -23,7 +27,7 @@
placeholder="根据标准名称查找">
</el-input>
</el-form-item>
<el-form-item label="实施日期" class="choose-time-area">
<el-form-item label="实施日期" style="margin-right: -40px" class="choose-time-area">
<el-datePicker
clearable size="small"
v-model="dynamic.putTime"
@@ -54,6 +58,8 @@
</el-form-item>
</el-form>
</div>
</el-col>
</el-row>
<div class="content" style="height: 100%; padding-top: 5px; ">
<el-divider content-position="left" class="dynamic-child-title">新车型实施日期预警</el-divider>
<el-table
@@ -1081,14 +1087,13 @@ export default {
}
.more {
/deep/ .el-input__inner {
width: 155px;
}
.choose-time-area {
/deep/ .el-input__inner {
width: 220px;
width: 170px;
}
}
@@ -139,11 +139,18 @@ export default {
this.splitInfoPage = 1;
this.sarStandCompareHis();
},
// getTime(time){
// let date = new Date(time + 8 * 3600 * 1000); // 增加8小时
// console.log(date.toJSON().substr(0, 19).replace('T', ' '));
// return date.toJSON().substr(0, 19).replace('T', ' ');
// },
// 查询表格
sarStandCompareHis() {
this.spinShow = true;
this.standCommonlySearch.start = new Date(this.standCommonlySearch.start).getTime() //转换为毫秒时间戳
this.standCommonlySearch.type = 1;
var form = this.standCommonlySearch;
console.log(form);
this.$http.get("slrs/sar-public-idea/SelectAllPage", form, {
_this: this
}, res => {