<template>
  <div id="followHistoryForm">
    <el-row>
      <el-col :span="24" class="form">
        <el-form :model="ruleForm" v-if="ruleForm[0].jg_pro_id == 0" ref="ruleForm" label-width="200px" class="demo-ruleForm">
          <el-form-item label="融资金额（万元）：">
            <span>{{ ruleForm[0].money }}</span>
          </el-form-item>
          <el-form-item label="融资用途：">
            <span>{{ ruleForm[0].use }}</span>
          </el-form-item>
          <el-form-item label="期望利率范围：">
            <span>{{ ruleForm[0].mongey_min_rate }}%~{{ ruleForm[0].mongey_max_rate }}%</span>
          </el-form-item>
          <el-form-item label="期望融资期限(个月)：">
            <span>{{ ruleForm[0].claims_min_term }}个月~{{ ruleForm[0].claims_max_term }}个月</span>
          </el-form-item>
          <el-form-item label="担保方式：">
            <span>{{ ruleForm[0].hyname }}</span>
          </el-form-item>
          <el-form-item label="项目情况：">
            <span>{{ ruleForm[0].project_status }}</span>
          </el-form-item>
          <el-form-item label="授信额度(万元)：">
            <span style="color: red">{{ ruleForm[0].finmoney }}</span>
          </el-form-item>
          <el-form-item label="授信时间：">
            <span style="color: red">{{ ruleForm[0].historytime }}</span>
          </el-form-item>
          <el-form-item label="授信利率：">
            <span style="color: red">{{ ruleForm[0].sxcplilue }}%</span>
          </el-form-item>
          <el-form-item label="授信产品名称：">
            <span style="color: red">{{ ruleForm[0].sxcpname }}</span>
          </el-form-item>
          <el-form-item label="授信期限：">
            <span style="color: red">{{ ruleForm[0].sxhowlong }}个月</span>
          </el-form-item>
          <!--<el-form-item label="辅助资料（点击查看）：">-->
            <!--<el-link :href="ruleForm[0].cdata" :underline="false">{{ ruleForm[0].cdata }}</el-link>-->
          <el-form-item label="资料（企业报告）：">
            <el-link :href="'https://jlxwjr.jljrkg.com/files/financial/custom/20200510160327.docx'" :underline="false">企业报告 </el-link>
          </el-form-item>
        </el-form>
        <!---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
        <el-form :model="ruleForm" :rules="rules" v-else ref="ruleForm" label-width="200px" class="demo-ruleForm">
          <el-form-item label="融资金额（万元）：">
            <span>{{ ruleForm[0].money }}</span>
          </el-form-item>
          <el-form-item label="融资用途：">
            <span>{{ ruleForm[0].use }}</span>
          </el-form-item>
          <el-form-item label="期望利率范围：">
            <span>{{ ruleForm[0].mongey_min_rate }}%~{{ ruleForm[0].mongey_max_rate }}%</span>
          </el-form-item>
          <el-form-item label="期望融资期限(个月)：">
            <span>{{ ruleForm[0].claims_min_term }}个月~{{ ruleForm[0].claims_max_term }}个月</span>
          </el-form-item>
          <el-form-item label="担保方式：">
            <span>{{ ruleForm[0].hyname }}</span>
          </el-form-item>
          <el-form-item label="项目情况：">
            <span>{{ ruleForm[0].project_status }}</span>
          </el-form-item>
          <!--<el-form-item label="辅助资料（点击查看）：">-->
            <!--<el-link :href="ruleForm[0].cdata" :underline="false">{{ ruleForm[0].cdata }}</el-link>-->
          <el-form-item label="资料（企业报告）：">
            <el-link :href="'https://jlxwjr.jljrkg.com/files/financial/custom/20200510160327.docx'" :underline="false">企业报告 </el-link>
          </el-form-item>
          <el-form-item label="定向产品名称：">
            <span>{{ ruleForm[0].jgpronew.name }}</span>
          </el-form-item>
          <el-form-item label="定向产品利率范围：">
            <span>{{ ruleForm[0].jgpronew.mongey_min_rate }}%~{{ ruleForm[0].jgpronew.mongey_max_rate }}%</span>
          </el-form-item>
          <el-form-item label="定向产品融资期限（个月）：">
            <span>{{ ruleForm[0].jgpronew.claims_min_term }}个月~{{ ruleForm[0].jgpronew.claims_max_term }}个月</span>
          </el-form-item>
          <el-form-item label="授信额度(万元)：">
            <span style="color: red">{{ ruleForm[0].finmoney }}</span>
          </el-form-item>
          <el-form-item label="授信时间：">
            <span style="color: red">{{ ruleForm[0].historytime }}</span>
          </el-form-item>
          <el-form-item label="授信利率：">
            <span style="color: red">{{ ruleForm[0].sxcplilue }}%</span>
          </el-form-item>
          <el-form-item label="授信产品名称：">
            <span style="color: red">{{ ruleForm[0].sxcpname }}</span>
          </el-form-item>
          <el-form-item label="授信期限：">
            <span style="color: red">{{ ruleForm[0].sxhowlong }}个月</span>
          </el-form-item>
        </el-form>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'followHistoryForm',
  props: {
    ruleForm: null,
    charList: null,
  },
  components: {},
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.form {
  padding: 0 200px 0 0;
}
</style>
