<template>
  <el-drawer
    :title="`[` + form.electLineName + `]完成情况`"
    :visible.sync="visible"
    :size="650"
    destroy-on-close
    @closed="visible = false"
  >
    <el-container v-loading="loading">
      <el-main>
        <el-form>
          <el-form-item label="事件序号" prop="eventNo"
            >{{ form.eventNo }}
          </el-form-item>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="线路名称" prop="electLineName"
                >{{ form.electLineName }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="主分支名称" prop="branchName"
                >{{ form.branchName }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="数据状态" prop="dataStatus"
                >{{ form.dataStatus }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="推送状态" prop="pushStatus"
                >{{ form.pushStatus }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="是否可维护" prop="isMaintainable"
                >{{ form.isMaintainable }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="是否纯专变" prop="isPureSpecia"
                >{{ form.isPureSpecia }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="事件类型" prop="eventType"
                >{{ form.eventType }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="研判停电性质" prop="powerOutageNature"
                >{{ form.powerOutageNature }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="停电起始时间" prop="powerOutageStart"
                >{{ form.powerOutageStart }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="停电终止时间" prop="powerOutageEnd"
                >{{ form.powerOutageEnd }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item
                label="可靠性停电时户数"
                prop="powerOutageDuringHouseholds"
                >{{ form.powerOutageDuringHouseholds }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="所属市公司" prop="city"
                >{{ form.city }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="所属县公司" prop="county"
                >{{ form.county }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="所属供电所" prop="station"
                >{{ form.station }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="单位编码" prop="oranNo"
                >{{ form.oranNo }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="变电站名称" prop="substationName"
                >{{ form.substationName }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="停电户次数" prop="powerOutageHouseholds"
                >{{ form.powerOutageHouseholds }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="停电线次数" prop="powerOutageLine"
                >{{ form.powerOutageLine }}
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="24">
            <el-col :lg="12">
              <el-form-item label="目标时户数" prop="powerOutageHouseholds"
                >{{ form.powerOutageHouseholds }}
              </el-form-item>
            </el-col>
            <el-col :lg="12">
              <el-form-item label="时户数差异" prop="powerOutageLine"
                >{{ form.powerOutageLine }}
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
        <el-footer style="text-align: center">
          <el-button @click="visible = false">关闭</el-button>
        </el-footer>
      </el-main>
    </el-container>
  </el-drawer>
</template>

<script>
export default {
  emits: ["success", "closed"],
  components: {},
  data() {
    return {
      loading: false,
      form: {
        recordId: "",
        sortNo: 0,
        userName: "",
        year: "",
        month: "",
        postSalary: 0,
        levelSalary: 0,
        foodSalary: 0,
        otherPassSalary: 0,
        transportSalary: 0,
        postAllowance: 0,
        sumAmount: 0,
        pensoin: 0,
        unemployment: 0,
        medical: 0,
        accumulationFund: 0,
        tax: 0,
        costOther: 0,
        realCost: 0,
        realSalary: 0,
        msgType: "",
        remark: "",
      },
      visible: false,
      isSaveing: false,
    };
  },
  mounted() {},
  methods: {
    //显示
    openModel(row) {
      this.visible = true;
      this.form = { ...row };
    },
  },
};
</script>

<style></style>
