<!--日常巡查上报-->
<template>
  <EveryBodyInspectReport :current_type="3"
                          :type_source_id="type_source_id"
                          :type_source_id_detail='type_source_id_detail'
                          :contacts="contacts"
                          :contacts_id="contacts_id" />
</template>
<script>
import EveryBodyInspectReport from "@/pages/template/everyday/common/addTask.vue";
export default {
  components: {
    EveryBodyInspectReport,
  },
  onLoad(options) {
    this.type_source_id = options?.type_source_id;
    this.type_source_id_detail = JSON.parse(options.item);
    this.contacts = options.contacts;
    this.contacts_id = options.contacts_id;
    uni.setNavigationBarTitle({
      title: `${this.type_source_id_detail.categroy}-日常上报`,
    });
  },
  data() {
    return {
      type_source_id: null,
      type_source_id_detail: null,
      contacts: "", //负责人
      contacts_id: "",
    };
  },
};
</script>
<style lang="scss" scoped>
</style>