修改bug
This commit is contained in:
parent
0348d28998
commit
f4c2b2368c
@ -173,7 +173,8 @@
|
||||
var stationOverview;
|
||||
var recode;
|
||||
var selected_work_type = -1;
|
||||
var err_status = 0;//異常紀錄,0:為解決 1:已解決
|
||||
var err_status = 1;//異常紀錄,1:未解決 0:已解決
|
||||
var err_status = 1;//異常紀錄,1:未解決 0:已解決
|
||||
var groupType = 0; //0:日 1:月 2:年 3:歷年
|
||||
var historyRange = "";
|
||||
var selectInverterkwhBarType = 0;
|
||||
@ -1559,7 +1560,7 @@
|
||||
|
||||
//#region 改變項目(運維)
|
||||
function ChangeType(type) {
|
||||
err_status = type;
|
||||
Type = type;
|
||||
for (var i = 0; i < 4; i++) {
|
||||
var name = "button" + i;
|
||||
document.getElementById(name).setAttribute("class", "btn btn-secondary waves-effect waves-themed");
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<div class="row mb-5 d-flex justify-content-start">
|
||||
<div class="pr-3">
|
||||
<div class="btn-group btn-group-md">
|
||||
<button type="button" class="btn btn-success waves-effect waves-themed" onclick="ChangeStatus(0)" id="errbutton0">未解決</button>
|
||||
<button type="button" class="btn btn-secondary waves-effect waves-themed" onclick="ChangeStatus(1)" id="errbutton1">己解決</button>
|
||||
<button type="button" class="btn btn-success waves-effect waves-themed" onclick="ChangeStatus(1)" id="errbutton1">未解決</button>
|
||||
<button type="button" class="btn btn-secondary waves-effect waves-themed" onclick="ChangeStatus(0)" id="errbutton0">己解決</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pr-3">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user