|
@@ -30,7 +30,7 @@
|
|
|
人员动态
|
|
|
</div>
|
|
|
<div class="contentp">
|
|
|
- <el-table :row-class-name="tableRowClassName" :data="sjrydata" header-row-class-name="tblheaderclass"
|
|
|
+ <el-table :row-class-name="tableRowClassName" @select="(e, e1) => { return false; }" :data="sjrydata" header-row-class-name="tblheaderclass"
|
|
|
style="width: 100%;" height="240">
|
|
|
<el-table-column prop="params.deptname" label="班组" width="103" />
|
|
|
<el-table-column prop="params.username" label="人员" />
|
|
@@ -47,7 +47,7 @@
|
|
|
降雨监测
|
|
|
</div>
|
|
|
<div class="contentp">
|
|
|
- <el-table :row-class-name="tableRowClassName" :data="weatherdata" header-row-class-name="tblheaderclass"
|
|
|
+ <el-table :row-class-name="tableRowClassName" :highlight-current-row="false" :data="weatherdata" header-row-class-name="tblheaderclass"
|
|
|
style="width: 100%;" height="240">
|
|
|
<el-table-column prop="fxDate" label="日期" width="103" />
|
|
|
<el-table-column prop="textDay" label="天气" />
|
|
@@ -254,10 +254,10 @@ function addmarks() {
|
|
|
position: JSON.parse(`[${currenttask[index].taskLocation}]`),
|
|
|
map: window.map,
|
|
|
icon: new AMap.Icon({
|
|
|
- size: new AMap.Size(50, 50), // 图标尺寸
|
|
|
+ size: new AMap.Size(25, 25), // 图标尺寸
|
|
|
image: currenttask[index].status == 6 ? '/map-marker-green.png' : '/map-marker-red.png',
|
|
|
// imageOffset: new AMap.Pixel(0, -60), // 图像相对展示区域的偏移量,适于雪碧图等
|
|
|
- imageSize: new AMap.Size(50, 50) // 根据所设置的大小拉伸或压缩图片
|
|
|
+ imageSize: new AMap.Size(25, 25) // 根据所设置的大小拉伸或压缩图片
|
|
|
})
|
|
|
|
|
|
});
|
|
@@ -274,7 +274,7 @@ function addmarks() {
|
|
|
// info.style.background = "rgba(0,0,0,0.6)";
|
|
|
info.style.color = "black";
|
|
|
info.innerHTML = (`${e.target.content.params.data}`);
|
|
|
- if (infoWindow == null) { infoWindow = new AMap.InfoWindow({ offset: new AMap.Pixel(25, 0) }); }
|
|
|
+ if (infoWindow == null) { infoWindow = new AMap.InfoWindow({ offset: new AMap.Pixel(0, 0) }); }
|
|
|
infoWindow.setContent(info);
|
|
|
infoWindow.open(window.map, e.target.getPosition());
|
|
|
}
|
|
@@ -326,7 +326,7 @@ function addmarks() {
|
|
|
var myChart2 = echarts.init(document.getElementById('chart2'));
|
|
|
var sourcex = [['zt',"总数","完成"]];
|
|
|
for (var index = 0; index < 12; index++) {
|
|
|
- sourcex.push([month[index],taskdata1.total[index], taskdata1.wc[index]])
|
|
|
+ sourcex.push([month[index],taskdata2.total[index], taskdata2.wc[index]])
|
|
|
}
|
|
|
myChart2.setOption({
|
|
|
legend: { left: 'right' },
|
|
@@ -358,8 +358,8 @@ function addmarks() {
|
|
|
var imgwidth = myChart.getWidth()
|
|
|
|
|
|
let xData = month,
|
|
|
- yData = taskdata2.wc,
|
|
|
- barData = taskdata2.wc, maxData = taskdata2.total;
|
|
|
+ yData = taskdata1.wc,
|
|
|
+ barData = taskdata1.wc, maxData = taskdata1.total;
|
|
|
|
|
|
var option = {
|
|
|
backgroundColor: 'rgb(0, 16, 58)',
|
|
@@ -641,7 +641,7 @@ function addmarks() {
|
|
|
|
|
|
|
|
|
}
|
|
|
- tj.number = total + "";
|
|
|
+ tj.number = wctotal + "";
|
|
|
tj.unit = ism ? "米" : "座";
|
|
|
tj.wc = ((wctotal / (total == 0 ? 1 : total)) * 100).toFixed(2) + "%"
|
|
|
}
|
|
@@ -809,10 +809,16 @@ function addmarks() {
|
|
|
--el-table-header-bg-color: rgba(0, 0, 0, 0) !important;
|
|
|
--el-table-border: none;
|
|
|
--el-table-border-color: rgba(0, 0, 0, 0) !important;
|
|
|
+ --el-table-row-hover-bg-color:rgba(0,0,0,0) !important;
|
|
|
+ .el-table__header-wrapper th,
|
|
|
+ .el-table .el-table__fixed-header-wrapper th{
|
|
|
+ background: rgba(0, 0, 0, 0) !important;
|
|
|
+ }
|
|
|
color: #fff;
|
|
|
|
|
|
}
|
|
|
|
|
|
+ --el-table-row-hover-bg-color
|
|
|
.el-table .el-table__header-wrapper th,
|
|
|
.el-table .el-table__fixed-header-wrapper th {
|
|
|
background: rgba(0, 0, 0, 0) !important;
|