<!--
 * @Description: 提箱预约管理界面
 * @version: 1.0
 * @Author: 九哥
 * @Date: 2020-08-08 17:59:20
 * @LastEditors: 631089326@qq.com 631089326@qq.com
 * @LastEditTime: 2022-06-11 15:54:38
-->
<template>
  <div>
    <a-card :bordered="false" class="card-area">
      <OperatePanel2
        :pageType="pageType"
        :pageId="pageId"
        @handleBusiness="handleBusiness"
      />
      <a-spin size="large" :spinning="spinning">
        <!-- 内容区域 -->
        <k-form-build
          :value="jsonData"
          :dynamicData="dynamicData"
          :defaultValue="defaultValue"
          @change="handleChange"
          @handleEnter="handleEnter"
          @handleBlur="handleBlur"
          @logEvent="logEvent"
          ref="kfb"
        />
        <!-- 操作面板 -->
        <SearchPanel
          ref="searchPanel"
          v-if="searchConfigJson.showSearchPanel"
          :pageId="searchConfigJson.searchPageId"
          :searchDialogWidth="searchConfigJson.searchWidth"
          :title="searchConfigJson.searchTitle"
          :defaultFilter="defaultFilter"
          :isDeafaultSearch="false"
          @handleQuery="searchQuery"
        />
      </a-spin>
    </a-card>
    <BaseModal
      ref="modalForm"
      :serviceName="modalServiceName"
      :pageId="modalPageId !== '' ? modalPageId : pageId"
      :width="modalDialogWidth"
      :baseCodeType="modalBaseCodeType"
      @ok="handleOk"
      :url="modalUrl"
      :dynamicData="modalDynamicData"
    />
  </div>
</template>
<script>
import { FormMixin } from "../../../packages/mixins/FormMixin";
export default {
  name: "PageForm2",
  mixins: [FormMixin],
  components: {},
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>
