项目分类统计
This commit is contained in:
parent
ee13847917
commit
7478527647
|
|
@ -69,37 +69,37 @@ function initTable(dataList, limit, page) {
|
||||||
{
|
{
|
||||||
field: "username", title: "总照片数量", width: "8%", unresize: true, align: "center",
|
field: "username", title: "总照片数量", width: "8%", unresize: true, align: "center",
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
return "<div style='width: 50px;height: 100%;cursor: pointer;' onclick='viewImg("+JSON.stringify(d)+",0)'><span style='color:#409EFF;font-weight: bold;'>0</span></div>";
|
return "<div class='num-btn' onclick='viewImg("+JSON.stringify(d)+",0)'><span style='color:#409EFF;'>0</span></div>";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "username", title: "安全违章", width: "8%", unresize: true, align: "center",
|
field: "username", title: "安全违章", width: "8%", unresize: true, align: "center",
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
return "<div style='width: 50px;height: 100%;cursor: pointer;' onclick='viewImg("+JSON.stringify(d)+",1)'><span style='color:#F56C6C;font-weight: bold;'>0</span></div>";
|
return "<div class='num-btn' onclick='viewImg("+JSON.stringify(d)+",1)'><span style='color:#F56C6C;'>0</span></div>";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "username", title: "质量检查", width: "8%", unresize: true, align: "center",
|
field: "username", title: "质量检查", width: "8%", unresize: true, align: "center",
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
return "<div style='width: 50px;height: 100%;cursor: pointer;' onclick='viewImg("+JSON.stringify(d)+",2)'><span style='color:#80E1BB;font-weight: bold;'>0</span></div>";
|
return "<div class='num-btn' onclick='viewImg("+JSON.stringify(d)+",2)'><span style='color:#80E1BB;'>0</span></div>";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "username", title: "安全措施落实", width: "10%", unresize: true, align: "center",
|
field: "username", title: "安全措施落实", width: "10%", unresize: true, align: "center",
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
return "<div style='width: 50px;height: 100%;cursor: pointer;' onclick='viewImg("+JSON.stringify(d)+",3)'><span style='color:#FFC328;font-weight: bold;'>0</span></div>";
|
return "<div class='num-btn' onclick='viewImg("+JSON.stringify(d)+",3)'><span style='color:#FFC328;'>0</span></div>";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "username", title: "协调照片 ", width: "8%", unresize: true, align: "center",
|
field: "username", title: "协调照片 ", width: "8%", unresize: true, align: "center",
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
return "<div style='width: 50px;height: 100%;cursor: pointer;' onclick='viewImg("+JSON.stringify(d)+",4)'><span style='color:#F56CCF;font-weight: bold;'>0</span></div>";
|
return "<div class='num-btn' onclick='viewImg("+JSON.stringify(d)+",4)'><span style='color:#F56CCF;'>0</span></div>";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "username", title: "重要事项及宣传 ", width: "10%", unresize: true, align: "center",
|
field: "username", title: "重要事项及宣传 ", width: "10%", unresize: true, align: "center",
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
return "<div style='width: 50px;height: 100%;cursor: pointer;' onclick='viewImg("+JSON.stringify(d)+",5)'><span style='color:#06B6D4;font-weight: bold;'>0</span></div>";
|
return "<div class='num-btn' onclick='viewImg("+JSON.stringify(d)+",5)'><span style='color:#06B6D4;'>0</span></div>";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,16 @@
|
||||||
.layui-table-init {
|
.layui-table-init {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.num-btn {
|
||||||
|
width: 50px;
|
||||||
|
height: 100%;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.num-btn > span {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="../../js/synthesisQuery/proClassifyStatistics.js" charset="UTF-8" type="text/javascript"></script>
|
<script src="../../js/synthesisQuery/proClassifyStatistics.js" charset="UTF-8" type="text/javascript"></script>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue