<template>
  <div id="info-1">
    <el-row>
      <el-col :span="24" class="main">
        <el-col :span="24" class="one">
          <el-form :model="info" ref="info" label-width="150px">
            <el-col :span="12">
              <el-form-item label="服务对象名称" prop="name">
                <el-input v-model="info.name" placeholder="请输入服务对象名称" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="服务对象类型" prop="type">
                <el-input v-model="info.type" placeholder="请输入服务对象类型" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="24">
              <el-form-item label="保安服务类型" prop="baoan_sevicetype">
                <!-- <el-checkbox-group v-model="info.baoan_sevicetype">
                  <el-checkbox v-for="(item, index) in baoan_sevicetypeList" :key="index" :label="item" :name="item"></el-checkbox>
                </el-checkbox-group> -->
                <el-input v-model="info.baoan_sevicetype" placeholder="请输入服务对象类型" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="24">
              <el-form-item label="详细地址" prop="service_address">
                <el-input v-model="info.service_address" placeholder="请输入详细地址" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="保安公司所属县市区" prop="household">
                <el-input v-model="info.household" placeholder="请输入保安公司所属县市区" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="公司归属地管辖单位" prop="tube_company">
                <el-input v-model="info.tube_company" placeholder="请输入公司归属地管辖单位" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="服务单位联系人" prop="contact">
                <el-input v-model="info.contact" placeholder="请输入服务单位联系人" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="联系电话" prop="phone">
                <el-input v-model="info.phone" placeholder="请输入联系电话" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="合同开始时间" prop="contract_startdate">
                <el-input v-model="info.contract_startdate" placeholder="请输入合同开始时间" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="合同终止时间" prop="contract_enddate">
                <el-input v-model="info.contract_enddate" placeholder="请输入合同终止时间" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="是否重点单位" prop="key_address">
                <el-input v-model="info.key_address" placeholder="请输入是否重点单位" readonly></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="是否娱乐场所" prop="recreation_address">
                <el-input v-model="info.recreation_address" placeholder="请输入是否娱乐场所" readonly></el-input>
              </el-form-item>
            </el-col>
          </el-form>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
const { baoan_sevicetype } = require('@common/src/layout/deploy/dict');
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'info-1',
  props: {
    info: { type: Object },
  },
  components: {},
  data: function () {
    return {
      baoan_sevicetypeList: baoan_sevicetype,
    };
  },
  created() {},
  methods: {},
  computed: {
    ...mapState(['user']),
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
  watch: {
    test: {
      deep: true,
      immediate: true,
      handler(val) {},
    },
  },
};
</script>

<style lang="less" scoped></style>
