fix bug stop auto check logs
This commit is contained in:
parent
4a08ad05df
commit
7545b93ee7
|
@ -307,6 +307,7 @@ class ConfigController extends Controller {
|
||||||
} catch (\Exception $exc) {
|
} catch (\Exception $exc) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
\app\models\SyncUrl::deleteAll(['key_config' => 'log_process_status']);
|
||||||
$server_ip = \app\models\SyncUrl::findOne(['key_config' => 'server_api']);
|
$server_ip = \app\models\SyncUrl::findOne(['key_config' => 'server_api']);
|
||||||
$ip = "https://dev-dc.beetai.com";
|
$ip = "https://dev-dc.beetai.com";
|
||||||
if ($server_ip)
|
if ($server_ip)
|
||||||
|
|
|
@ -433,7 +433,7 @@ function _syncFromServerForm(e) {
|
||||||
$("#filter-from-server").select2({
|
$("#filter-from-server").select2({
|
||||||
placeholder: $("input[name='TIM_KIEM_THEO_ID_HOAC_TEN']").val()
|
placeholder: $("input[name='TIM_KIEM_THEO_ID_HOAC_TEN']").val()
|
||||||
});
|
});
|
||||||
if (parseInt($("#totalDevice").html()) != parseInt($("#totalCloud").html()))
|
if ($("#totalDevice").html() === $("#totalCloud").html())
|
||||||
$("#btnCheckLossImage").addClass("hidden");
|
$("#btnCheckLossImage").addClass("hidden");
|
||||||
},
|
},
|
||||||
error: function (jqXHR, textStatus, errorThrown) {
|
error: function (jqXHR, textStatus, errorThrown) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user