<template>
  <div>
    <div style="display: flex">
      <el-table
        :data="data.customerOrgRegister"
        border
        style="width: 90%; height: 150px"
        row-key="id"
        size="small"
        class="el-table__body-wrapper tbody"
        highlight-current-row
        @row-click="rowickCustomerOrgRegister"
        ref="data.customerOrgRegister"
      >
        <el-table-column
          prop="medical_times"
          label="已选组合项目"
          width="130"
        />
        <el-table-column prop="begin_time" label="标准价" />
        <el-table-column prop="end_time" label="折扣" />
        <el-table-column prop="is_complete" label="价格" />
        <el-table-column label="支付方式"></el-table-column>
        <el-table-column label="已缴费"></el-table-column>
        <el-table-column label="检查科室"></el-table-column>
        <el-table-column label="状态"></el-table-column>
        <el-table-column label="锁"></el-table-column>
        <el-table-column label="登记人"></el-table-column>
        <el-table-column label="登记日期"></el-table-column>
      </el-table>
    </div>
    
  </div>
</template>
<script>

export default {
  components: {},
  data() {
    return {
      data: {
        customerOrgRegister: [], //单位体检次数登记
      },

      form: {
        displayName: "",
        englishShortName: "",
        itemTypeId: "",
        price: "",
        priceItemId: "",
        unitId: "",
        defaultResult: "",
        referenceRangeTypeFlag: "",
        isProduceSummary: "",
        isNameIntoSummary: "",
        isDiagnosisFunction: "",
        diagnosisFunction: "",
        isCalculationItem: "",
        calculationFunction: "",
        isContinueProcess: "",
        resultTemplateTypeFlag: "",
        inputCheck: "",
        isActive: "",
      },

      dialogCustomerOrgRegister: false, //体检次数弹窗 显示控制
      dialogContactPerson: false, //联系人弹窗 显示控制
      dialogContactMethod: false, //联系方式弹窗 显示控制

      formCustomerOrgRegister: {}, //体检次数 form表单数据

      formContactPerson: {}, //联系人form表单数据

      formContactMethod: {}, //联系方式form表单数据

      rules: {
        displayName: [
          { required: true, message: "请输入名称", trigger: "blur" },
        ],
        englishShortName: [
          { required: true, message: "请输入英文缩写", trigger: "blur" },
        ],
        itemTypeId: [
          { required: true, message: "请输入项目类别", trigger: "blur" },
        ],
        price: [{ required: true, message: "请输入价格", trigger: "blur" }],
        priceItemId: [
          { required: true, message: "请输入价表项目编码", trigger: "blur" },
        ],
        unitId: [{ required: true, message: "请输入单位", trigger: "blur" }],
        defaultResult: [
          { required: true, message: "请输入默认结果", trigger: "blur" },
        ],
        referenceRangeTypeFlag: [
          { required: true, message: "请输入参考范围类别", trigger: "blur" },
        ],
        isProduceSummary: [
          { required: true, message: "请选择是生成小结", trigger: "blur" },
        ],
        isNameIntoSummary: [
          { required: true, message: "请输择称进入小结", trigger: "blur" },
        ],
        isDiagnosisFunction: [
          { required: true, message: "请选择启用诊断函数", trigger: "blur" },
        ],
        diagnosisFunction: [
          { required: true, message: "请输入诊断函数", trigger: "blur" },
        ],
        isCalculationItem: [
          { required: true, message: "请选择计算项目", trigger: "blur" },
        ],
        calculationFunction: [
          { required: true, message: "请输入计算函数", trigger: "blur" },
        ],
        isContinueProcess: [
          { required: true, message: "请选择继续处理", trigger: "blur" },
        ],
        resultTemplateTypeFlag: [
          {
            required: true,
            message: "请输入结果模板类别标志",
            trigger: "blur",
          },
        ],
        inputCheck: [
          { required: true, message: "请选择结果校验公式", trigger: "blur" },
        ],
        isActive: [{ required: true, message: "请选择启用", trigger: "blur" }],
      },

      isshow: false,
    };
  },

  created() {},

  //挂载完成
  mounted() {},

  methods: {
    //点击体检次数行
    rowickCustomerOrgRegister() {
      this.$message.success("rowickCustomerOrgRegister");
    },

    //体检次数 相关操作
    addTimes() {
      this.$message.success("增加次数 addTimes");
    },
    editCustomerOrgRegister() {
      this.$message.success("体检完成 editCustomerOrgRegister");
    },
    canselCustomerOrgRegister() {
      this.$message.success("取消完成 canselCustomerOrgRegister");
    },
  },
};
</script>
<style scoped>
.box {
  display: flex;
}
</style>