<!DOCTYPE html>
<html lang="zh-tw">

<head>
  <?php
  // 引用 head.inc
  include_once "html_head.inc";
  ?>
</head>

<body>
  <div id="q-app" :visible="IsVueReady==true" @mousemove="FnIdleReset">
    <?php
    // include_once "html_menu.inc";
    include_once "html_layout_header.inc";
    ?>
    <!-- 內容區域 //-->
    <data-table :show-search-field="true" :show-search-panel="true" :show-download-btn="export_cheak" :columns="columns" :excel_name="excel_name_str" :data="tableData" sort_by="create_time" row-key="no" @search-ok="searsh_list()">
      <template v-slot:page-sticky>
        <!-- <q-btn round color="primary" @click="console.log(list)" icon="info"></q-btn> -->
      </template>
      <template v-slot:search-panel-actions>

      </template>
      <template v-slot:search-form>
        <div>
          <div class="w3-row-padding">
            <div class="w3-col l4 s6" style="max-width:300px">
              <q-select v-model="search.store" :stack-label="$t('page.store_machine_alarm_list.search.store')" :options="store" filter />
            </div>
            <div class="w3-col l4 s6" style="max-width:150px">
              <q-datetime v-model="search.start_date" type="date" :stack-label="$t('page.store_machine_alarm_list.search.start_date')">
              </q-datetime>
            </div>
            <div class="w3-col l4 s6" style="max-width:150px">
              <q-datetime v-model="search.end_date" type="date" :stack-label="$t('page.store_machine_alarm_list.search.end_date')">
              </q-datetime>
            </div>
          </div>
        </div>
      </template>
    </data-table>
    <!-- /內容區域 //-->
    <?php
    include_once "html_layout_footer.inc";
    ?>
  </div>
  <?php
  // loading.inc
  include_once "html_loading.inc";
  ?>
</body>
<?php
$is_report_download = true;
// 引用 down.inc
include_once "html_down.php";
?>

</html>