<template>
  <div class="" v-if="id">
    <el-form
      class="special-el-form"
      ref="form"
      :model="form1"
      label-width="120px"
    >
      <el-form-item
        label="项目名称"
        prop="projectName"
        class="special-el-form-item"
      >
        <el-input
          type="textarea"
          rows="2"
          v-model="form1.projectName"
          disabled
        />
      </el-form-item>
      <el-form-item
        label="项目阶段"
        prop="projectStage"
        class="special-el-form-item"
      >
        <el-select v-model="form1.projectStage" disabled placeholder="">
          <el-option
            v-for="dict in dict.type.project_stage"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="会议主题" prop="meetingTheme">
        <el-input
          v-model="form1.meetingTheme"
          placeholder="请输入会议主题"
          disabled
        />
      </el-form-item>
      <el-form-item label="会议类别" prop="meetingType">
        <el-select v-model="form1.meetingType" disabled>
          <el-option
            v-for="dict in dict.type.meeting_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          ></el-option>
        </el-select>
      </el-form-item>

      <el-form-item label="会议开始时间" prop="startTime">
        <el-date-picker
          disabled
          clearable
          v-model="form1.startTime"
          type="datetime"
          format="yyyy-MM-dd HH:mm"
          value-format="yyyy-MM-dd HH:mm"
        >
        </el-date-picker>
      </el-form-item>
      <el-form-item label="会议结束时间" prop="endTime">
        <el-date-picker
          disabled
          clearable
          v-model="form1.endTime"
          type="datetime"
          format="yyyy-MM-dd HH:mm"
          value-format="yyyy-MM-dd HH:mm"
        >
        </el-date-picker>
      </el-form-item>
      <el-form-item label="会议地点" prop="place">
        <el-input v-model="form1.place" disabled />
      </el-form-item>
      <el-form-item label="会议发起人" prop="promoter">
        <el-input v-model="form1.promoter" disabled />
      </el-form-item>
      <el-form-item
        label="会议参与人"
        prop="participants"
        class="special-el-form-item"
      >
        <el-input
          type="textarea"
          rows="2"
          v-model="form1.participants"
          disabled
        />
      </el-form-item>
      <el-form-item label="附件" prop="file" class="special-el-form-item">
        <fileItem ref="fileItems" :id="form.id"></fileItem>
      </el-form-item>
      <!-- 所有人打分列表 scoringList -->
      <el-table
        ref="dataTable"
        class="tableWrapper"
        border
        :data="scoringList"
        v-if="scoringList.length > 0"
      >
        <el-table-column
          type="index"
          label="序号"
          width="50"
          align="center"
        ></el-table-column>
        <el-table-column label="打分人" align="center" prop="createBy">
          <template slot-scope="scope">
            <div :title="scope.row.createBy">
              {{ scope.row.createBy }}
            </div>
          </template>
        </el-table-column>
        <el-table-column label="打分时间" align="center" prop="createTime">
          <template slot-scope="scope">
            <div :title="scope.row.createTime">
              {{ scope.row.createTime }}
            </div>
          </template>
        </el-table-column>
        <el-table-column
          label="操作"
          align="center"
          class-name="small-padding fixed-width"
        >
          <template slot-scope="scope">
            <el-button
              class="custom-blue-color"
              size="mini"
              type="text"
              icon="el-icon-search"
              @click="handleDetail(scope.row)"
              >查看</el-button
            >
          </template>
        </el-table-column>
      </el-table>
    </el-form>
    <el-form
      class="table-form ss_scoreTable"
      ref="form"
      :model="form"
      :rules="rules"
      label-width="0px"
    >
      <table v-if="formType === 1" border="1" cellpadding="0" cellspacing="0">
        <thead>
          <tr>
            <th colspan="10" class="bg-blue">项目立项评估评审表</th>
          </tr>
          <tr class="specificTr">
            <th>项目名称</th>
            <th>
              <textarea
                class="table-textarea"
                v-model="form.projectName"
                name=""
                disabled
              ></textarea>
            </th>
            <th>项目所属公司</th>
            <th colspan="3">
              <textarea
                class="table-textarea"
                v-model="form1.tProjectPool.company"
                name=""
                disabled
              ></textarea>
            </th>

            <th>项目负责人</th>
            <th>
              <textarea
                class="table-textarea"
                v-model="form.investCommissioner"
                name=""
                disabled
              ></textarea>
            </th>
            <th>打分人</th>
            <th>
              <textarea
                v-if="form.createBy"
                v-model="form.createBy"
                class="table-textarea"
                name=""
                disabled
              ></textarea>
              <textarea
                v-else
                v-model="user.nickName"
                class="table-textarea"
                name=""
                disabled
              ></textarea>
            </th>
          </tr>
          <tr class="bg-blue">
            <th>序号</th>
            <th>评审类别</th>
            <th>评审事项</th>
            <th colspan="3">评审指标</th>
            <th>标准分值（满分50）</th>
            <th colspan="2">市场部/投资部打分</th>
            <th>备注【如不适用，需说明情况】</th>
          </tr>
        </thead>
        <tbody class="text-center">
          <tr>
            <td rowspan="2">1</td>
            <td rowspan="2">模式先进</td>
            <td>产业优势</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：市场热点、新经济、强势传统产业
            </td>
            <td>
              阶段性：0-1<br />
              持久：2-3<br />
              持久重大：4-5
            </td>
            <td colspan="2">
              <el-form-item prop="industryAdvantage">
                <el-input
                  :disabled="readonly"
                  v-model="form.industryAdvantage"
                  name="industryAdvantage"
                  type="text"
                  class="table-input"
                  prop="industryAdvantage"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>5){value=5}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                v-model="form.industryAdvantageNote"
                name="industryAdvantageNote"
                class="table-textarea"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>商业模式</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：技术/行业/渠道优势明显、模式创新度高、降本增效显著
            </td>
            <td>
              先进：0-3<br />
              非常先进：4-5<br />
              超级先进：6-7<br />
              颠覆性的：8-9
            </td>
            <td colspan="2">
              <el-form-item prop="businessModel">
                <el-input
                  :disabled="readonly"
                  v-model="form.businessModel"
                  name="businessModel"
                  type="text"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>9){value=9}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                v-model="form.businessModelNote"
                name="businessModelNote"
                class="table-textarea"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="4">2</td>
            <td rowspan="4">团队优秀</td>
            <td rowspan="4">核心团队优秀</td>
            <td colspan="3">
              创业团队专业，产业背景出身，至少十年以上行业经验
            </td>
            <td>
              10年以上产业经验：0-2<br />
              15年以上产业经验：3-4
            </td>
            <td colspan="2">
              <el-form-item prop="teamExperience">
                <el-input
                  :disabled="readonly"
                  v-model="form.teamExperience"
                  name="teamExperience"
                  type="text"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamExperienceNote"
                name="teamExperienceNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              创始团队背景为行业内专家/教授/名校哈佛大学博士/行业内龙头企业技术团队等
            </td>
            <td>
              硕士博士团队：0-2<br />
              行业内知名专家、世界名校博士、行业内龙头企业技术团队：3-4
            </td>
            <td colspan="2">
              <el-form-item prop="teamBackground">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.teamBackground"
                  name="teamBackground"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamBackgroundNote"
                name="teamBackgroundNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              拥有3位以上德才兼备、同心同德的核心团队成员，能够支撑企业快速扩张
            </td>
            <td>
              强：0-2 <br />
              很强：3-4
            </td>
            <td colspan="2">
              <el-form-item prop="teamHeart">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.teamHeart"
                  name="teamHeart"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamHeartNote"
                name="teamHeartNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              团队领袖诚信、学习能力意愿强，具有很强的职业精神、职业道德、职业技能
            </td>
            <td>
              合格：0-2<br />
              优秀：3-5 <br />
              卓越：6-8
            </td>
            <td colspan="2">
              <el-form-item prop="teamFaith">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.teamFaith"
                  name="teamFaith"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>8){value=8}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamFaithNote"
                name="teamFaithNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="5">3</td>
            <td rowspan="5">企业价值</td>
            <td rowspan="2">初步产品原型</td>
            <td colspan="3">
              具备一定的技术基础和原型，能够证明产品的可行性和创新性，能够为用户真正带来价值。
            </td>
            <td>2</td>
            <td colspan="2">
              <el-form-item prop="productBase">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.productBase"
                  name="productBase"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>2){value=2}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.productBaseNote"
                name="productBaseNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">具有明确的盈利模式</td>
            <td>2</td>
            <td colspan="2">
              <el-form-item prop="productProfit">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.productProfit"
                  name="productProfit"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>2){value=2}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.productProfitNote"
                name="productProfitNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="2">机构认可</td>
            <td colspan="3">
              清科、投中年度排行前一百位的投资机构或上市公司、中国500强知名企业或知名投资人投资。
            </td>
            <td>1</td>
            <td colspan="2">
              <el-form-item prop="organInvest">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.organInvest"
                  name="organInvest"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>1){value=1}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.organInvestNote"
                name="organInvestNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              公司近期12个月内估值XX万元以上，且与项目公司无关联关系的专业化投资机构（人）的投资超过500万元。
            </td>
            <td>1</td>
            <td colspan="2">
              <el-form-item prop="organValuation">
                <el-input
                  :disabled="readonly"
                  v-model="form.organValuation"
                  type="text"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>1){value=1}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                v-model="form.organValuationNote"
                class="table-textarea"
                name="organValuationNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>估值</td>
            <td colspan="3">估值水平、预期收益合理</td>
            <td>1</td>
            <td colspan="2">
              <el-form-item prop="valuation">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.valuation"
                  name="valuation"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>1){value=1}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.valuationNote"
                name="valuationNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="2">4</td>
            <td rowspan="2">市场广阔</td>
            <td>市场空间大</td>
            <td colspan="3">
              行业具有高成长性，细分市场年销售规模已经达到或五年内达到50亿元。
            </td>
            <td>
              50-100亿：0.5<br />
              100-200亿：1<br />
              200亿以上：2
            </td>
            <td colspan="2">
              <el-form-item prop="marketSpace">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.marketSpace"
                  name="marketSpace"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>2){value=2}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.marketSpaceNote"
                name="marketSpaceNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>成长空间大</td>
            <td colspan="3">预计年增长率在30%以上</td>
            <td>
              收入年增长率30%以上：1<br />
              收入年增长率50%以上：2<br />
              收入年增长率70%以上：3
            </td>
            <td colspan="2">
              <el-form-item prop="developSpace">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.developSpace"
                  name="developSpace"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>3){value=3}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.developSpaceNote"
                name="developSpaceNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>5</td>
            <td>股权收益</td>
            <td>退出方式</td>
            <td colspan="3">通过并购、股权转让、股权回购等方式退出</td>
            <td>
              退出收益5%-15%：1<br />
              退出收益15%-50%：2<br />
              退出收益50%-100%：3<br />
              退出收益1倍以上：4
            </td>
            <td colspan="2">
              <el-form-item prop="quitWay">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.quitWay"
                  name="quitWay"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.quitWayNote"
                name="quitWayNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3" class="big-font">同意或不同意说明</td>
            <td colspan="7" class="big-font">
              <el-form-item prop="illustrate">
                <el-input
                  :disabled="readonly"
                  type="textarea"
                  style="width: 95%; margin-top: 20px"
                  class="table-textarea"
                  v-model="form.illustrate"
                  name="illustrate"
                />
              </el-form-item>
            </td>
          </tr>
          <tr>
            <td colspan="10" class="text-left big-font">
              评分说明：<br />
              1.
              固定指标分值部分，评分人需根据项目实际情况，评分范围仅有0分和满分，满分为各评审指标对应的标准分值。<br />
              2.
              浮动指标分值部分，最高分值为各评审指标对应的最高区间分值，最低分值为0分，分值保留小数点后一位数字。
            </td>
          </tr>
        </tbody>
      </table>
      <table
        v-if="formType === 2"
        border="1"
        cellpadding="0"
        cellspacing="0"
        class="allScoring"
      >
        <thead>
          <tr>
            <th colspan="10" class="bg-blue">项目立项评估评审汇总表</th>
          </tr>
          <tr class="specificTr">
            <th>项目名称</th>
            <th>
              <textarea
                class="table-textarea"
                v-model="form.projectName"
                name=""
                disabled
              ></textarea>
            </th>
            <th>项目所属公司</th>
            <th colspan="3">
              <textarea
                class="table-textarea"
                v-model="form1.tProjectPool.company"
                name=""
                disabled
              ></textarea>
            </th>

            <th>项目负责人</th>
            <th>
              <textarea
                class="table-textarea"
                name=""
                v-model="collectForm.investCommissioner"
                disabled
              ></textarea>
            </th>
            <th>总人数</th>
            <th>
              <textarea
                v-model="collectForm.totalPerson"
                class="table-textarea"
                name=""
                disabled
              ></textarea>
            </th>
          </tr>
          <tr class="bg-blue">
            <th>序号</th>
            <th>评审类别</th>
            <th>评审事项</th>
            <th colspan="3">评审指标</th>
            <th>标准分值（满分50）</th>
            <th colspan="2">汇总分数</th>
            <th>平均分数</th>
          </tr>
        </thead>
        <tbody class="text-center">
          <tr>
            <td rowspan="2">1</td>
            <td rowspan="2">模式先进</td>
            <td>产业优势</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：市场热点、新经济、强势传统产业
            </td>
            <td>
              阶段性：0-1<br />
              持久：2-3<br />
              持久重大：4-5
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                v-model="collectForm.industryAdvantageSum"
                name="industryAdvantageSum"
                type="text"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.industryAdvantageAvg"
                name="industryAdvantageAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>商业模式</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：技术/行业/渠道优势明显、模式创新度高、降本增效显著
            </td>
            <td>
              先进：0-3<br />
              非常先进：4-5<br />
              超级先进：6-7<br />
              颠覆性的：8-9
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.businessModelSum"
                name="businessModelSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.businessModelAvg"
                name="businessModelAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="4">2</td>
            <td rowspan="4">团队优秀</td>
            <td rowspan="4">核心团队优秀</td>
            <td colspan="3">
              创业团队专业，产业背景出身，至少十年以上行业经验
            </td>
            <td>
              10年以上产业经验：0-2<br />
              15年以上产业经验：3-4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamExperienceSum"
                name="teamExperienceSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamExperienceAvg"
                name="teamExperienceAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              创始团队背景为行业内专家/教授/名校哈佛大学博士/行业内龙头企业技术团队等
            </td>
            <td>
              硕士博士团队：0-2<br />
              行业内知名专家、世界名校博士、行业内龙头企业技术团队：3-4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamBackgroundSum"
                name="teamBackgroundSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamBackgroundAvg"
                name="teamBackgroundAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              拥有3位以上德才兼备、同心同德的核心团队成员，能够支撑企业快速扩张
            </td>
            <td>
              强：0-2 <br />
              很强：3-4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamHeartSum"
                name="teamHeartSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamHeartAvg"
                name="teamHeartAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              团队领袖诚信、学习能力意愿强，具有很强的职业精神、职业道德、职业技能
            </td>
            <td>
              合格：0-2<br />
              优秀：3-5 <br />
              卓越：6-8
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamFaithSum"
                name="teamFaithSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamFaithAvg"
                name="teamFaithAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="5">3</td>
            <td rowspan="5">企业价值</td>
            <td rowspan="2">初步产品原型</td>
            <td colspan="3">
              具备一定的技术基础和原型，能够证明产品的可行性和创新性，能够为用户真正带来价值。
            </td>
            <td>2</td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productBaseSum"
                name="productBaseSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productBaseAvg"
                name="productBaseAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">具有明确的盈利模式</td>
            <td>2</td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productProfitSum"
                name="productProfitSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productProfitAvg"
                name="productProfitAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="2">机构认可</td>
            <td colspan="3">
              清科、投中年度排行前一百位的投资机构或上市公司、中国500强知名企业或知名投资人投资。
            </td>
            <td>1</td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.organInvestSum"
                name="organInvestSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.organInvestAvg"
                name="organInvestAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              公司近期12个月内估值XX万元以上，且与项目公司无关联关系的专业化投资机构（人）的投资超过500万元。
            </td>
            <td>1</td>
            <td colspan="2">
              <input
                autocomplete="off"
                v-model="collectForm.organValuationSum"
                name="organValuationSum"
                type="text"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                v-model="collectForm.organValuationAvg"
                name="organValuationAvg"
                type="text"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>估值</td>
            <td colspan="3">估值水平、预期收益合理</td>
            <td>1</td>
            <td colspan="2">
              <input
                type="text"
                v-model="collectForm.valuationSum"
                name="valuationSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.valuationAvg"
                name="valuationAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="2">4</td>
            <td rowspan="2">市场广阔</td>
            <td>市场空间大</td>
            <td colspan="3">
              行业具有高成长性，细分市场年销售规模已经达到或五年内达到50亿元。
            </td>
            <td>
              50-100亿：0.5<br />
              100-200亿：1<br />
              200亿以上：2
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.marketSpaceSum"
                name="marketSpaceSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.marketSpaceAvg"
                name="marketSpaceAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>成长空间大</td>
            <td colspan="3">预计年增长率在30%以上</td>
            <td>
              收入年增长率30%以上：1<br />
              收入年增长率50%以上：2<br />
              收入年增长率70%以上：3
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.developSpaceSum"
                name="developSpaceSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.developSpaceAvg"
                name="developSpaceAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>5</td>
            <td>股权收益</td>
            <td>退出方式</td>
            <td colspan="3">通过并购、股权转让、股权回购等方式退出</td>
            <td>
              退出收益5%-15%：1<br />
              退出收益15%-50%：2<br />
              退出收益50%-100%：3<br />
              退出收益1倍以上：4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.quitWaySum"
                name="quitWaySum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.quitWayAvg"
                name="quitWayAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="10" class="text-left big-font">
              评分说明：<br />
              1.
              固定指标分值部分，评分人需根据项目实际情况，评分范围仅有0分和满分，满分为各评审指标对应的标准分值。<br />
              2.
              浮动指标分值部分，最高分值为各评审指标对应的最高区间分值，最低分值为0分，分值保留小数点后一位数字。
            </td>
          </tr>
        </tbody>
      </table>
      <table v-if="formType === 3" border="1" cellpadding="0" cellspacing="0">
        <thead>
          <tr>
            <th colspan="10" class="bg-blue">项目投决会评估评审表</th>
          </tr>
          <tr class="specificTr">
            <th>项目名称</th>
            <th>
              <textarea
                class="table-textarea"
                v-model="form.projectName"
                name=""
                disabled
              ></textarea>
            </th>
            <th>项目所属公司</th>
            <th colspan="3">
              <textarea
                class="table-textarea"
                v-model="form1.tProjectPool.company"
                name=""
                disabled
              ></textarea>
            </th>
            <th>项目负责人</th>
            <th>
              <textarea
                class="table-textarea"
                v-model="form.investCommissioner"
                name=""
                disabled
              ></textarea>
            </th>
            <th>打分人</th>
            <th>
              <textarea
                v-model="user.nickName"
                class="table-textarea"
                name=""
                disabled
              ></textarea>
            </th>
          </tr>
          <tr class="bg-blue">
            <th>序号</th>
            <th>评审类别</th>
            <th>评审事项</th>
            <th colspan="3">评审指标</th>
            <th>标准分值（满分50）</th>
            <th colspan="2">投决会打分</th>
            <th>备注【如不适用，需说明情况】</th>
          </tr>
        </thead>
        <tbody class="text-center">
          <tr>
            <td rowspan="2">1</td>
            <td rowspan="2">模式先进</td>
            <td>产业优势</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：市场热点、新经济、强势传统产业
            </td>
            <td>
              阶段性：0-1<br />
              持久：2-3<br />
              持久重大：4-5
            </td>
            <td colspan="2">
              <el-form-item prop="industryAdvantage">
                <el-input
                  :disabled="readonly"
                  v-model="form.industryAdvantage"
                  name="industryAdvantage"
                  type="text"
                  class="table-input"
                  prop="industryAdvantage"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>5){value=5}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                v-model="form.industryAdvantageNote"
                name="industryAdvantageNote"
                class="table-textarea"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>商业模式</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：技术/行业/渠道优势明显、模式创新度高、降本增效显著
            </td>
            <td>
              先进：0-3<br />
              非常先进：4-5<br />
              超级先进：6-7<br />
              颠覆性的：8-9
            </td>
            <td colspan="2">
              <el-form-item prop="businessModel">
                <el-input
                  :disabled="readonly"
                  v-model="form.businessModel"
                  name="businessModel"
                  type="text"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>9){value=9}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                v-model="form.businessModelNote"
                name="businessModelNote"
                class="table-textarea"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="4">2</td>
            <td rowspan="4">团队优秀</td>
            <td rowspan="4">核心团队优秀</td>
            <td colspan="3">
              创业团队专业，产业背景出身，至少十年以上行业经验
            </td>
            <td>
              10年以上产业经验：0-2<br />
              15年以上产业经验：3-4
            </td>
            <td colspan="2">
              <el-form-item prop="teamExperience">
                <el-input
                  :disabled="readonly"
                  v-model="form.teamExperience"
                  name="teamExperience"
                  type="text"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamExperienceNote"
                name="teamExperienceNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              创始团队背景为行业内专家/教授/名校哈佛大学博士/行业内龙头企业技术团队等
            </td>
            <td>
              硕士博士团队：0-2<br />
              行业内知名专家、世界名校博士、行业内龙头企业技术团队：3-4
            </td>
            <td colspan="2">
              <el-form-item prop="teamBackground">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.teamBackground"
                  name="teamBackground"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamBackgroundNote"
                name="teamBackgroundNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              拥有3位以上德才兼备、同心同德的核心团队成员，能够支撑企业快速扩张
            </td>
            <td>
              强：0-2 <br />
              很强：3-4
            </td>
            <td colspan="2">
              <el-form-item prop="teamHeart">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.teamHeart"
                  name="teamHeart"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamHeartNote"
                name="teamHeartNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              团队领袖诚信、学习能力意愿强，具有很强的职业精神、职业道德、职业技能
            </td>
            <td>
              合格：0-2<br />
              优秀：3-5 <br />
              卓越：6-8
            </td>
            <td colspan="2">
              <el-form-item prop="teamFaith">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.teamFaith"
                  name="teamFaith"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>8){value=8}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.teamFaithNote"
                name="teamFaithNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="5">3</td>
            <td rowspan="5">企业价值</td>
            <td rowspan="2">初步产品原型</td>
            <td colspan="3">
              具备一定的技术基础和原型，能够证明产品的可行性和创新性，能够为用户真正带来价值。
            </td>
            <td>2</td>
            <td colspan="2">
              <el-form-item prop="productBase">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.productBase"
                  name="productBase"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>2){value=2}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.productBaseNote"
                name="productBaseNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">具有明确的盈利模式</td>
            <td>2</td>
            <td colspan="2">
              <el-form-item prop="productProfit">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.productProfit"
                  name="productProfit"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>2){value=2}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.productProfitNote"
                name="productProfitNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="2">机构认可</td>
            <td colspan="3">
              清科、投中年度排行前一百位的投资机构或上市公司、中国500强知名企业或知名投资人投资。
            </td>
            <td>1</td>
            <td colspan="2">
              <el-form-item prop="organInvest">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.organInvest"
                  name="organInvest"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>1){value=1}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.organInvestNote"
                name="organInvestNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3">
              公司近期12个月内估值XX万元以上，且与项目公司无关联关系的专业化投资机构（人）的投资超过500万元。
            </td>
            <td>1</td>
            <td colspan="2">
              <el-form-item prop="organValuation">
                <el-input
                  :disabled="readonly"
                  v-model="form.organValuation"
                  type="text"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>1){value=1}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                v-model="form.organValuationNote"
                class="table-textarea"
                name="organValuationNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>估值</td>
            <td colspan="3">估值水平、预期收益合理</td>
            <td>1</td>
            <td colspan="2">
              <el-form-item prop="valuation">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.valuation"
                  name="valuation"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>1){value=1}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.valuationNote"
                name="valuationNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td rowspan="2">4</td>
            <td rowspan="2">市场广阔</td>
            <td>市场空间大</td>
            <td colspan="3">
              行业具有高成长性，细分市场年销售规模已经达到或五年内达到50亿元。
            </td>
            <td>
              50-100亿：0.5<br />
              100-200亿：1<br />
              200亿以上：2
            </td>
            <td colspan="2">
              <el-form-item prop="marketSpace">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.marketSpace"
                  name="marketSpace"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>2){value=2}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.marketSpaceNote"
                name="marketSpaceNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>成长空间大</td>
            <td colspan="3">预计年增长率在30%以上</td>
            <td>
              收入年增长率30%以上：1<br />
              收入年增长率50%以上：2<br />
              收入年增长率70%以上：3
            </td>
            <td colspan="2">
              <el-form-item prop="developSpace">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.developSpace"
                  name="developSpace"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>3){value=3}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.developSpaceNote"
                name="developSpaceNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td>5</td>
            <td>股权收益</td>
            <td>退出方式</td>
            <td colspan="3">通过并购、股权转让、股权回购等方式退出</td>
            <td>
              退出收益5%-15%：1<br />
              退出收益15%-50%：2<br />
              退出收益50%-100%：3<br />
              退出收益1倍以上：4
            </td>
            <td colspan="2">
              <el-form-item prop="quitWay">
                <el-input
                  :disabled="readonly"
                  type="text"
                  v-model="form.quitWay"
                  name="quitWay"
                  class="table-input"
                  :min="0"
                  oninput="if(value){value=value.replace(/[^\d.]/g,'').replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3');if(value>4){value=4}}"
                />
              </el-form-item>
            </td>
            <td>
              <textarea
                :disabled="readonly"
                class="table-textarea"
                v-model="form.quitWayNote"
                name="quitWayNote"
              ></textarea>
            </td>
          </tr>
          <tr>
            <td colspan="3" class="big-font">同意或不同意说明</td>
            <td colspan="7" class="big-font">
              <el-form-item prop="illustrate">
                <el-input
                  :disabled="readonly"
                  type="textarea"
                  style="width: 95%; margin-top: 20px"
                  class="table-textarea"
                  v-model="form.illustrate"
                  name="illustrate"
                />
              </el-form-item>
            </td>
          </tr>
          <tr>
            <td colspan="10" class="text-left big-font">
              评分说明：<br />
              1.
              固定指标分值部分，评分人需根据项目实际情况，评分范围仅有0分和满分，满分为各评审指标对应的标准分值。<br />
              2.
              浮动指标分值部分，最高分值为各评审指标对应的最高区间分值，最低分值为0分，分值保留小数点后一位数字。
            </td>
          </tr>
        </tbody>
      </table>
      <table
        v-if="formType === 4"
        border="1"
        cellpadding="0"
        cellspacing="0"
        class="allScoring"
      >
        <thead>
          <tr>
            <th colspan="10" class="bg-blue">项目投决会评估评审汇总表</th>
          </tr>
          <tr class="specificTr">
            <th>项目名称</th>
            <th>
              <textarea
                class="table-textarea"
                v-model="form.projectName"
                name=""
                disabled
              ></textarea>
            </th>
            <th>项目所属公司</th>
            <th colspan="3">
              <textarea
                class="table-textarea"
                v-model="form1.tProjectPool.company"
                name=""
                disabled
              ></textarea>
            </th>
            <th>项目负责人</th>
            <th>
              <textarea
                class="table-textarea"
                v-model="collectForm.investCommissioner"
                name=""
                disabled
              ></textarea>
            </th>
            <th>总人数</th>
            <th>
              <textarea
                v-model="collectForm.totalPerson"
                class="table-textarea"
                name=""
                disabled
              ></textarea>
            </th>
          </tr>
          <tr class="bg-blue">
            <th>序号</th>
            <th>评审类别</th>
            <th>评审事项</th>
            <th colspan="3">评审指标</th>
            <th>标准分值（满分50）</th>
            <th colspan="2">汇总分数</th>
            <th>平均分数</th>
          </tr>
        </thead>

        <tbody class="text-center">
          <tr>
            <td rowspan="2">1</td>
            <td rowspan="2">模式先进</td>
            <td>产业优势</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：市场热点、新经济、强势传统产业
            </td>
            <td>
              阶段性：0-1<br />
              持久：2-3<br />
              持久重大：4-5
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                v-model="collectForm.industryAdvantageSum"
                name="industryAdvantageSum"
                type="text"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.industryAdvantageAvg"
                name="industryAdvantageAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>商业模式</td>
            <td colspan="3" class="text-left">
              满足以下条件之一：技术/行业/渠道优势明显、模式创新度高、降本增效显著
            </td>
            <td>
              先进：0-3<br />
              非常先进：4-5<br />
              超级先进：6-7<br />
              颠覆性的：8-9
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.businessModelSum"
                name="businessModelSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.businessModelAvg"
                name="businessModelAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="4">2</td>
            <td rowspan="4">团队优秀</td>
            <td rowspan="4">核心团队优秀</td>
            <td colspan="3">
              创业团队专业，产业背景出身，至少十年以上行业经验
            </td>
            <td>
              10年以上产业经验：0-2<br />
              15年以上产业经验：3-4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamExperienceSum"
                name="teamExperienceSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamExperienceAvg"
                name="teamExperienceAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              创始团队背景为行业内专家/教授/名校哈佛大学博士/行业内龙头企业技术团队等
            </td>
            <td>
              硕士博士团队：0-2<br />
              行业内知名专家、世界名校博士、行业内龙头企业技术团队：3-4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamBackgroundSum"
                name="teamBackgroundSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamBackgroundAvg"
                name="teamBackgroundAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              拥有3位以上德才兼备、同心同德的核心团队成员，能够支撑企业快速扩张
            </td>
            <td>
              强：0-2 <br />
              很强：3-4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamHeartSum"
                name="teamHeartSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamHeartAvg"
                name="teamHeartAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              团队领袖诚信、学习能力意愿强，具有很强的职业精神、职业道德、职业技能
            </td>
            <td>
              合格：0-2<br />
              优秀：3-5 <br />
              卓越：6-8
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamFaithSum"
                name="teamFaithSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.teamFaithAvg"
                name="teamFaithAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="5">3</td>
            <td rowspan="5">企业价值</td>
            <td rowspan="2">初步产品原型</td>
            <td colspan="3">
              具备一定的技术基础和原型，能够证明产品的可行性和创新性，能够为用户真正带来价值。
            </td>
            <td>2</td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productBaseSum"
                name="productBaseSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productBaseAvg"
                name="productBaseAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">具有明确的盈利模式</td>
            <td>2</td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productProfitSum"
                name="productProfitSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.productProfitAvg"
                name="productProfitAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="2">机构认可</td>
            <td colspan="3">
              清科、投中年度排行前一百位的投资机构或上市公司、中国500强知名企业或知名投资人投资。
            </td>
            <td>1</td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.organInvestSum"
                name="organInvestSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.organInvestAvg"
                name="organInvestAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="3">
              公司近期12个月内估值XX万元以上，且与项目公司无关联关系的专业化投资机构（人）的投资超过500万元。
            </td>
            <td>1</td>
            <td colspan="2">
              <input
                autocomplete="off"
                v-model="collectForm.organValuationSum"
                name="organValuationSum"
                type="text"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                v-model="collectForm.organValuationAvg"
                name="organValuationAvg"
                type="text"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>估值</td>
            <td colspan="3">估值水平、预期收益合理</td>
            <td>1</td>
            <td colspan="2">
              <input
                type="text"
                v-model="collectForm.valuationSum"
                name="valuationSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.valuationAvg"
                name="valuationAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td rowspan="2">4</td>
            <td rowspan="2">市场广阔</td>
            <td>市场空间大</td>
            <td colspan="3">
              行业具有高成长性，细分市场年销售规模已经达到或五年内达到50亿元。
            </td>
            <td>
              50-100亿：0.5<br />
              100-200亿：1<br />
              200亿以上：2
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.marketSpaceSum"
                name="marketSpaceSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.marketSpaceAvg"
                name="marketSpaceAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>成长空间大</td>
            <td colspan="3">预计年增长率在30%以上</td>
            <td>
              收入年增长率30%以上：1<br />
              收入年增长率50%以上：2<br />
              收入年增长率70%以上：3
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.developSpaceSum"
                name="developSpaceSum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.developSpaceAvg"
                name="developSpaceAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td>5</td>
            <td>股权收益</td>
            <td>退出方式</td>
            <td colspan="3">通过并购、股权转让、股权回购等方式退出</td>
            <td>
              退出收益5%-15%：1<br />
              退出收益15%-50%：2<br />
              退出收益50%-100%：3<br />
              退出收益1倍以上：4
            </td>
            <td colspan="2">
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.quitWaySum"
                name="quitWaySum"
                class="table-input"
                disabled
              />
            </td>
            <td>
              <input
                autocomplete="off"
                type="text"
                v-model="collectForm.quitWayAvg"
                name="quitWayAvg"
                class="table-input"
                disabled
              />
            </td>
          </tr>
          <tr>
            <td colspan="10" class="text-left big-font">
              评分说明：<br />
              1.
              固定指标分值部分，评分人需根据项目实际情况，评分范围仅有0分和满分，满分为各评审指标对应的标准分值。<br />
              2.
              浮动指标分值部分，最高分值为各评审指标对应的最高区间分值，最低分值为0分，分值保留小数点后一位数字。
            </td>
          </tr>
        </tbody>
      </table>
      <el-form-item class="btnList">
        <el-button v-if="showBack" @click="goBack">返 回</el-button>
        <el-button
          v-if="!readonly"
          type="primary"
          @click="submitForm"
          v-preventReClick
          >提 交</el-button
        >
      </el-form-item>
    </el-form>
  </div>
  <div
    v-else
    class="public-flex-center public-padded-20"
    style="color: #909399"
  >
    暂无数据
  </div>
</template>

<script>
import {
  getMeeting,
  addScoring,
  getScoring,
  selectMeetingId,
  getScoringListById,
} from "@/api/invest/meeting";
import fileItem from "./fileItem";
import { mapGetters } from "vuex";
export default {
  props: {
    formType: {
      type: Number,
      default: 1, //1=立项打分表 2=立项汇总表 3=投决打分表 4=投决汇总表
    },
    readonly: {
      type: Boolean,
    },
    showBack: {
      type: Boolean,
      required: false,
    },
  },
  dicts: ["meeting_type", "project_stage", "project_group"],
  components: { fileItem },
  data() {
    return {
      id: "",
      // 打分表单参数
      form: {
        businessModel: null,
        businessModelNote: null,
        createBy: null,
        createTime: null,
        delFlag: null,
        developSpace: null,
        developSpaceNote: null,
        examine: null,
        id: null,
        illustrate: null, //说明
        industryAdvantage: null,
        industryAdvantageNote: null,
        investCommissioner: null, //项目负责人
        marketSpace: null, //市场空间
        marketSpaceNote: null,
        meetingId: null, //
        organInvest: null,
        organInvestNote: null,
        organValuation: null,
        organValuationNote: null,
        params: {},
        productBase: null,
        productBaseNote: null,
        productProfit: null,
        productProfitNote: null,
        projectPoolId: null,
        quitWay: null,
        quitWayNote: null,
        remark: null,
        scoringPerson: null, //打分人
        teamBackground: null,
        teamBackgroundNote: null,
        teamExperience: null,
        teamExperienceNote: null,
        teamFaith: null,
        teamFaithNote: null,
        teamHeart: null,
        teamHeartNote: null,
        type: null,
        updateBy: null,
        updateTime: null,
        valuation: null,
        valuationNote: null,
      },
      // 会议详情表单
      form1: {
        meetingTheme: null,
        meetingCode: null,
        meetingType: null,
        projectPoolId: null,
        projectName: null,
        projectStage: null,
        projectGroup: "",
        startTime: null,
        endTime: null,
        place: null,
        promoter: null,
        promoterId: null,
        participants: null,
        participantsId: null,
        tProjectPool: {
          company: null,
          projectName: null,
          projectStage: null,
        },
      },
      // 汇总分数表单
      collectForm: {
        businessModelAvg: null,
        businessModelSum: null,
        developSpaceAvg: null,
        developSpaceSum: null,
        industryAdvantageAvg: null,
        industryAdvantageSum: null,
        investCommissioner: null,
        marketSpaceAvg: null,
        marketSpaceSum: null,
        meetingId: null,
        organInvestAvg: null,
        organInvestSum: null,
        organValuationAvg: null,
        organValuationSum: null,
        productBaseAvg: null,
        productBaseSum: null,
        productProfitAvg: null,
        productProfitSum: null,
        projectPoolId: null,
        quitWayAvg: null,
        quitWaySum: null,
        scoringPerson: null,
        teamBackgroundAvg: null,
        teamBackgroundSum: null,
        teamExperienceAvg: null,
        teamExperienceSum: null,
        teamFaithAvg: null,
        teamFaithSum: null,
        teamHeartAvg: null,
        teamHeartSum: null,
        valuationAvg: null,
        valuationSum: null,
      },
      rules: {
        industryAdvantage: [
          { required: true, trigger: "blur", message: "请打分" },
        ],
        businessModel: [{ required: true, trigger: "blur", message: "请打分" }],
        teamExperience: [
          { required: true, trigger: "blur", message: "请打分" },
        ],
        teamBackground: [
          { required: true, trigger: "blur", message: "请打分" },
        ],
        teamHeart: [{ required: true, trigger: "blur", message: "请打分" }],
        teamFaith: [{ required: true, trigger: "blur", message: "请打分" }],
        productBase: [{ required: true, trigger: "blur", message: "请打分" }],
        productProfit: [{ required: true, trigger: "blur", message: "请打分" }],
        organValuation: [
          { required: true, trigger: "blur", message: "请打分" },
        ],
        organInvest: [{ required: true, trigger: "blur", message: "请打分" }],
        valuation: [{ required: true, trigger: "blur", message: "请打分" }],
        marketSpace: [{ required: true, trigger: "blur", message: "请打分" }],
        developSpace: [{ required: true, trigger: "blur", message: "请打分" }],
        quitWay: [{ required: true, trigger: "blur", message: "请打分" }],
        // illustrate: [{ required: true, trigger: "blur", message: "请输入" }],
      },
      // 所以人打分列表
      scoringList: [],
    };
  },
  computed: {
    ...mapGetters(["user"]),
  },
  mounted() {
    if (this.id && this.id != "0") {
      this.initialize(this.id);
    }
  },
  methods: {
    ListGetScoringListById(id) {
      getScoringListById(id).then((response) => {
        this.scoringList = response.rows;
      });
    },
    async initialize(id) {
      this.id = id;
      await this.getDetail(id);
      // 汇总表
      if (this.formType === 2 || this.formType === 4) {
        this.getSelectMeetingId(id);
        this.ListGetScoringListById(id);
      } else if (this.readonly) {
        // 打分详情
        this.form = this.$store.getters.tProjectScoring;
        // console.log("this.form=",this.form)
        // if (this.form.id) {
        //   this.getScoringList(this.form.id);
        // }
      }
    },
    showNodata() {
      this.id = null;
    },

    // 打分详情-弹窗
    handleDetail(row) {
      this.$store.commit("SET_TPROJECTSCORING", row);
      let type;
      if (this.formType === 2) {
        type = 1;
      } else if (this.formType === 4) {
        type = 3;
      }
      this.$router.push({
        path: "/invest/meeting/mark",
        query: { id: row.meetingId, formType: type, readonly: this.readonly },
      });
    },
    // 根据会议ID查询汇总分数和平均分数
    getSelectMeetingId(id) {
      selectMeetingId(id).then((response) => {
        this.collectForm = response.data;
        this.collectForm.investCommissioner = this.form.investCommissioner;
      });
    },
    // 打分详情
    getScoringList(id) {
      getScoring(id).then((response) => {
        this.form = response.data;
      });
    },
    // 会议i详情
    getDetail(id) {
      getMeeting(id).then((response) => {
        this.form1 = response.data;
        this.form1.projectPoolId = response.data.projectPoolId;
        this.form1.projectName = response.data.tProjectPool.projectName;
        this.form1.projectStage = response.data.tProjectPool.projectStage;

        this.form.projectPoolId = response.data.projectPoolId;
        this.form.projectName = response.data.tProjectPool.projectName;
        // 打分人
        this.form.scoringPerson = this.user.userId;
        //  项目负责人
        this.form.investCommissioner = response.data.tProjectPool.investHead;
        this.collectForm.investCommissioner =
          response.data.tProjectPool.investHead;
        this.form.meetingId = response.data.id;
        setTimeout(() => {
          this.$refs.fileItems.fileList = [];
          this.$refs.fileItems.getListFileBusinessId(id);
          this.$refs.fileItems.handleButton();
        }, 300);
      });
    },
    // 打分的提交
    submitForm() {
      let that = this;
      // console.log("this.form", this.form);
      this.$refs["form"].validate((valid, rules) => {
        if (valid) {
          addScoring(this.form).then((response) => {
            this.$modal.msgSuccess("操作成功");
            this.$store.dispatch("getApprovalNumber"); //初始化项目立项代办数量
            this.$store.dispatch("getDecisionNumber"); //初始化项目投决代办数量
            setTimeout(() => {
              that.goBack();
            }, 1500);
          });
        } else {
          for (var ruleName in rules) {
            let _rule = rules[ruleName];
            let message = _rule[0].message;
            this.$message.warning(message, 1);
            break;
          }
          //验证不通过回滚到不通过的第一个位置
          this.$nextTick(() => {
            let isError = document.getElementsByClassName("is-error");
            isError[0].scrollIntoView({
              block: "center",
              behavior: "smooth",
            });
          });
        }
      });
    },
    checkItem() {},
    goBack() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="scss" scoped>
.special-el-form {
  margin-top: 20px;
}

/*表格样式开始*/
.ss_scoreTable {
  padding-bottom: 50px;
  ::v-deep .el-input.is-disabled .el-input__inner {
    background-color: #fff !important;
    color: #606266;
  }
  ::v-deep .el-input__inner {
    border: 1px solid transparent;
    text-align: center;
  }
  ::v-deep.el-textarea__inner {
    border: none;
    height: 50px;
    resize: none;
  }
  ::v-deep .el-textarea.is-disabled .el-textarea__inner {
    background-color: #fff !important;
  }
  textarea:disabled,
  input:disabled {
    background-color: #fff !important;
  }
  // ::v-deep .el-textarea__inner {
  //   // border: 1px solid transparent!important;
  // }
  table {
    // width:80%;
    // width: 600px;
    margin: 0 30px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-selece: none;
    /*上面都是兼容性问题，具体看浏览器版本或什么浏览器*/
    user-select: none; /*内容禁止选中*/
  }
  tbody td {
    font-size: 14px;
  }
  thead th,
  .big-font {
    font-size: 16px !important;
    font-weight: bold;
  }
  .public-pedded-0 {
    padding: 0;
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .table-textarea {
    width: 100%;
    // width: 180px;
    border: none;
    height: 50px;
    resize: none;
  }
  .table-input {
    width: 100%;
    // width: 100%;
    // height: 80px;
    border: none;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
  }
  .bg-blue,
  .specificTr > th:nth-child(2n-1) {
    background-color: #9bc2e6;
  }
  .specificTr > th:nth-child(2n-1) {
    white-space: nowrap;
    padding: 0 15px;
  }
  .specificTr .table-textarea {
    padding-top: 16px;
    background-color: #fff;
  }
  tr > th {
    height: 50px;
  }
  input:disabled {
    // background-color: #fff !important;
  }
  .btnList {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
    margin-top: 30px;
  }
}
.tableWrapper {
  margin: 20px 0;
}
.allScoring {
  .table-input {
    margin-top: 0px !important;
  }
}
</style>
