Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
fc928119e2
@ -46,4 +46,6 @@ public class SysFaultRecordingDesc {
|
|||||||
@TableField("updated_time")
|
@TableField("updated_time")
|
||||||
private Date updatedTime;
|
private Date updatedTime;
|
||||||
|
|
||||||
|
@TableField("unit")
|
||||||
|
private String unit;
|
||||||
}
|
}
|
||||||
|
@ -20,4 +20,9 @@ public class SysFaultRecordingExcel implements Serializable {
|
|||||||
@ExcelProperty(value = "中文描述",index = 1)
|
@ExcelProperty(value = "中文描述",index = 1)
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "单位",index = 2)
|
||||||
|
private String unit;
|
||||||
}
|
}
|
||||||
|
@ -101,6 +101,7 @@ public class FaultRecorderServiceImpl implements FaultRecorderService {
|
|||||||
SheetInfoBean sheetDTO = new SheetInfoBean();
|
SheetInfoBean sheetDTO = new SheetInfoBean();
|
||||||
map.put("variable", "英文名称");
|
map.put("variable", "英文名称");
|
||||||
map.put("description", "中文描述");
|
map.put("description", "中文描述");
|
||||||
|
map.put("unit","单位");
|
||||||
sheetDTO.setSheetName(theoreticalPowerCurve.getMadeinfactory());
|
sheetDTO.setSheetName(theoreticalPowerCurve.getMadeinfactory());
|
||||||
sheetDTO.setFieldAndAlias(map);
|
sheetDTO.setFieldAndAlias(map);
|
||||||
sheetDTO.setCollection(sysFaultRecordingDescList);
|
sheetDTO.setCollection(sysFaultRecordingDescList);
|
||||||
|
@ -20,4 +20,9 @@ public class SysRunLogExcel implements Serializable {
|
|||||||
@ExcelProperty(value = "中文描述",index = 1)
|
@ExcelProperty(value = "中文描述",index = 1)
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "单位",index = 2)
|
||||||
|
private String unit;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.das.modules.plc.domain;
|
package com.das.modules.plc.domain;
|
||||||
|
|
||||||
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
@ -46,4 +47,9 @@ public class SysRunLogDesc {
|
|||||||
@TableField("updated_time")
|
@TableField("updated_time")
|
||||||
private Date updatedTime;
|
private Date updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
@TableField("unit")
|
||||||
|
private String unit;
|
||||||
}
|
}
|
||||||
|
@ -122,6 +122,7 @@ public class PlcLogsServiceImpl implements PlcLogService {
|
|||||||
SheetInfoBean sheetDTO = new SheetInfoBean();
|
SheetInfoBean sheetDTO = new SheetInfoBean();
|
||||||
map.put("variable", "英文名称");
|
map.put("variable", "英文名称");
|
||||||
map.put("description", "中文描述");
|
map.put("description", "中文描述");
|
||||||
|
map.put("unit","单位");
|
||||||
sheetDTO.setSheetName(theoreticalPowerCurve.getMadeinfactory());
|
sheetDTO.setSheetName(theoreticalPowerCurve.getMadeinfactory());
|
||||||
sheetDTO.setFieldAndAlias(map);
|
sheetDTO.setFieldAndAlias(map);
|
||||||
sheetDTO.setCollection(sysFaultRecordingDescList);
|
sheetDTO.setCollection(sysFaultRecordingDescList);
|
||||||
|
@ -65,8 +65,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tabsPart">
|
<div class="tabsPart">
|
||||||
<el-table :data="faultRecordingpageData" class="tablePart">
|
<el-table :data="faultRecordingpageData" class="tablePart">
|
||||||
<el-table-column prop="variable" label="列路" align="center"> </el-table-column>
|
<el-table-column prop="variable" label="变量" align="center"> </el-table-column>
|
||||||
<el-table-column prop="description" label="中文" align="center"> </el-table-column>
|
<el-table-column prop="description" label="中文" align="center"> </el-table-column>
|
||||||
|
<el-table-column prop="unit" label="单位" align="center"> </el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div class="mainFooter">
|
<div class="mainFooter">
|
||||||
@ -76,7 +77,7 @@
|
|||||||
:total="paginationOptions1.total"
|
:total="paginationOptions1.total"
|
||||||
:page-sizes="paginationOptions1.pageSizes"
|
:page-sizes="paginationOptions1.pageSizes"
|
||||||
background
|
background
|
||||||
:pager-count="7"
|
:pager-count="5"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
@size-change="handleSizeChange1"
|
@size-change="handleSizeChange1"
|
||||||
@current-change="handleCurrentChange1"
|
@current-change="handleCurrentChange1"
|
||||||
@ -99,8 +100,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tabsPart">
|
<div class="tabsPart">
|
||||||
<el-table :data="runLogpageData" class="tablePart">
|
<el-table :data="runLogpageData" class="tablePart">
|
||||||
<el-table-column prop="variable" label="列路" align="center"> </el-table-column>
|
<el-table-column prop="variable" label="变量" align="center"> </el-table-column>
|
||||||
<el-table-column prop="description" label="中文" align="center"> </el-table-column>
|
<el-table-column prop="description" label="中文" align="center"> </el-table-column>
|
||||||
|
<el-table-column prop="unit" label="单位" align="center"> </el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div class="mainFooter">
|
<div class="mainFooter">
|
||||||
@ -110,7 +112,7 @@
|
|||||||
:total="paginationOptions2.total"
|
:total="paginationOptions2.total"
|
||||||
:page-sizes="paginationOptions2.pageSizes"
|
:page-sizes="paginationOptions2.pageSizes"
|
||||||
background
|
background
|
||||||
:pager-count="7"
|
:pager-count="5"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
@size-change="handleSizeChange2"
|
@size-change="handleSizeChange2"
|
||||||
@current-change="handleCurrentChange2"
|
@current-change="handleCurrentChange2"
|
||||||
@ -608,14 +610,14 @@ onMounted(() => {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
$headerHeight: 60px;
|
$headerHeight: 60px;
|
||||||
// $defaultBackgroundColor: #fff;
|
$defaultBackgroundColor: #fff;
|
||||||
$defaultAsideWidth: 260px;
|
$defaultAsideWidth: 260px;
|
||||||
$paginationHeight: 32px;
|
$paginationHeight: 32px;
|
||||||
.theoreticalpowerCurve {
|
.theoreticalpowerCurve {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: transparent;
|
// background: transparent;
|
||||||
.mainContainer {
|
.mainContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -720,15 +722,15 @@ $paginationHeight: 32px;
|
|||||||
.bottom-left {
|
.bottom-left {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
.box-card3 {
|
|
||||||
width: 50%;
|
|
||||||
.tabsPart {
|
.tabsPart {
|
||||||
height: 240px;
|
height: 240px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
:deep(el-table .cel) {
|
:deep(.el-table .cell) {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.box-card3 {
|
||||||
|
width: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user