<template>
  <div class="sign-confirmation-content">
    <el-form
      ref="ruleFormRef"
      :model="ruleForm"
      :rules="rules"
      label-position="top"
      label-width="150px"
      class="rule-form-orange"
    >
      <cy-info-title>签署文件</cy-info-title>
      <el-form-item label="签署确认" prop="approvalConclusion">
        <el-radio-group v-model="ruleForm.approvalConclusion">
          <el-radio label="pass">是</el-radio>
          <el-radio label="back">否</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item
        label="已签文件："
        prop="desc"
        style="width: 100%;"
        class="form-required"
      >
        <cy-upload
          ref="fileStorage"
          :upload-params="uploadParams"
          :file-data="ruleForm.fileStorageList"
          :upload-from-orange-status="true"
          placeholder="请上传已签文件"
        />
      </el-form-item>
      <cy-info-title>签署人信息</cy-info-title>
      <div class="table-box" style="width: 100%">
        <el-table :data="moneyDetailList">
          <el-table-column type="index" label="类型"></el-table-column>
          <el-table-column prop="belongDepartment" label="姓名" label-class-name="rule-required">
            <template slot-scope="scope">
              <el-input
                v-model="scope.row.belongDepartment"
                placeholder="请输入姓名"
                :disabled="disabled"
              >
              </el-input>
            </template>
          </el-table-column>
          <el-table-column label="联系方式">
            <template slot-scope="scope">
              <el-input
                v-model="scope.row.belongDepartment"
                placeholder="请输入联系方式"
                :disabled="disabled"
              >
              </el-input>
            </template>
          </el-table-column>
        </el-table>
      </div>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      formlabel: {
        company: '公司名称'
      },
      ruleForm: {
        desc: '',
        value: ''
      },
      rules: {
        name: [{ required: true, message: '请输入公司名称', trigger: 'change' }]
      }
    }
  },
  methods: {
    validate() {
      this.$refs.ruleFormRef.value.validate(valid => {
        if (valid) {
          console.log(valid)
        } else {
          console.log(1111)
        }
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.basic-information {
}
</style>
