<template>
  <div class="shareholder">
    <el-form
      ref="ruleFormRef"
      :model="ruleForm"
      label-position="top"
      label-width="150px"
      class="rule-form-orange"
    >
      <el-form-item
        label="指标名称"
        prop="resource"
        style="width: 100%"
      >
        <el-input v-model="ruleForm.desc" placeholder="请输入指标名称" />
      </el-form-item>
      <div style="width: 100%">
        <cy-comm-table
          ref="commTable"
          :columns="columns"
          :data="tableData"
        />
      </div>
      <el-form-item
        label="法定代表人"
        prop="resource"
      >
        <el-input v-model="ruleForm.desc" placeholder="请输入法定代表人" />
      </el-form-item>
      <el-form-item
        label=" 年龄"
        prop="resource"
      >
        <el-input v-model="ruleForm.desc" placeholder="请输入年龄" />
      </el-form-item>
      <el-form-item
        label="评估得分"
        prop="resource"
      >
        <el-input v-model="ruleForm.desc" placeholder="请输入评估得分" />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      ruleForm: {
        desc: '股东'
      },
      tableData: [
        { userName: '1111', statusName: '2131231' },
        { userName: '1111', statusName: '2131231' }
      ],
      columns: [
        {
          label: '序号',
          index: true,
          width: '200'
        },
        {
          label: '股东名称',
          prop: 'postName',
          showTooltip: true
        },
        {
          label: '持股比例',
          showTooltip: true,
          prop: 'userNumber'
        }]
    }
  }
}
</script>

<style lang="scss" scoped>
.shareholder {

}
</style>
