detail.vue 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058
  1. <template>
  2. <div class="detailWrapper">
  3. <section class="section1 public-flex">
  4. <div class="public-margin-r-20">
  5. <h4>
  6. 投资项目
  7. <span class="alreadyStop" v-if="detailInfo.delFlag === '1'"
  8. >已终止</span
  9. >
  10. </h4>
  11. <p class="projectNameTit">{{ detailInfo.projectName }}</p>
  12. </div>
  13. </section>
  14. <el-divider></el-divider>
  15. <section>
  16. <!-- :space="200" -->
  17. <el-divider></el-divider>
  18. <div
  19. class="public-flex-between basicsInfo"
  20. v-if="detailInfo.projectState != '1'"
  21. >
  22. <div class="public-flex-center-column">
  23. <div>项目公司名称</div>
  24. <p
  25. style="width: 250px; text-align: center"
  26. class="yichu1"
  27. v-if="
  28. detailInfo.tProjectCompany &&
  29. detailInfo.tProjectCompany.companyName
  30. "
  31. >
  32. {{ detailInfo.tProjectCompany.companyName }}
  33. </p>
  34. </div>
  35. <div class="public-flex-center-column">
  36. <div>渠道</div>
  37. <p
  38. v-if="
  39. detailInfo.tProjectChannel &&
  40. detailInfo.tProjectChannel.channelName
  41. "
  42. >
  43. {{ detailInfo.tProjectChannel.channelName }}
  44. </p>
  45. <p v-else>无</p>
  46. </div>
  47. <div class="public-flex-center-column">
  48. <div>项目负责人</div>
  49. <p>{{ detailInfo.investHead }}</p>
  50. </div>
  51. <div class="public-flex-center-column" v-if="detailInfo.projectDate">
  52. <div>立项通过日期</div>
  53. <p>{{ detailInfo.projectDate }}</p>
  54. </div>
  55. <div class="public-flex-center-column" v-if="detailInfo.decisionDate">
  56. <div>投决通过日期</div>
  57. <p>{{ detailInfo.decisionDate }}</p>
  58. </div>
  59. <div class="public-flex-center-column">
  60. <div>投前估值(万元)</div>
  61. <p>{{ detailInfo.investValuation }}</p>
  62. </div>
  63. <div class="public-flex-center-column">
  64. <div>预计投资金额(万元)</div>
  65. <p>{{ detailInfo.investMoney }}</p>
  66. </div>
  67. </div>
  68. </section>
  69. <section class="section3">
  70. <el-tabs v-model="activeName" @tab-click="handleClick">
  71. <el-tab-pane label="投决信息" name="0"></el-tab-pane>
  72. <el-tab-pane label="项目基本信息" name="1"></el-tab-pane>
  73. </el-tabs>
  74. <section>
  75. <div v-if="activeName === '0'" class="public-padded-20 detail-meeting">
  76. <el-tabs type="border-card">
  77. <el-tab-pane label="项目投决申请表">
  78. <el-form
  79. v-if="formTJApply.id"
  80. class="special-el-form public-padded-t-20"
  81. ref="formTJApply"
  82. :model="formTJApply"
  83. label-width="120px"
  84. >
  85. <el-form-item
  86. label="股权/其他合作商务条款"
  87. prop="provision"
  88. class="special-el-form-item"
  89. >
  90. <el-input
  91. rows="4"
  92. type="textarea"
  93. maxlength="200"
  94. v-model="formTJApply.provision"
  95. disabled
  96. />
  97. </el-form-item>
  98. <el-form-item
  99. label="投决资料"
  100. prop="listFile"
  101. class="special-el-form-item"
  102. >
  103. <fileItem
  104. ref="fileItemTJApply"
  105. :id="formTJApply.id"
  106. :is-detail="true"
  107. ></fileItem>
  108. </el-form-item>
  109. <!-- <el-form-item
  110. label="通知名单"
  111. prop="participants"
  112. class="special-el-form-item"
  113. >
  114. <el-input
  115. rows="4"
  116. type="textarea"
  117. v-model="formTJApply.participants"
  118. disabled
  119. />
  120. </el-form-item>-->
  121. <el-form-item label="其他附件" prop="otherListFile" class="special-el-form-item">
  122. <fileItem ref="otherFileItem" :id="formTJApply.id" :is-detail="true"></fileItem>
  123. </el-form-item>
  124. </el-form>
  125. <div
  126. v-else
  127. class="public-flex-center public-padded-20"
  128. style="color: #909399"
  129. >
  130. 暂无数据
  131. </div>
  132. </el-tab-pane>
  133. <el-tab-pane label="项目投决评估评审汇总表" v-if="formTJApply.participantsId!=null&&formTJApply.taskDefKey!='modifyApply'&&formTJApply.taskDefKey!='deptLeader'&&formTJApply.taskDefKey!='meeting'&&formTJApply.taskDefKey!='decision'">
  134. <el-form
  135. class="table-form ss_scoreTable"
  136. ref="scoreForm"
  137. :model="scoreForm"
  138. label-width="0px"
  139. >
  140. <table
  141. border="1"
  142. cellpadding="0"
  143. cellspacing="0"
  144. class="allScoring"
  145. >
  146. <thead>
  147. <tr>
  148. <th colspan="10" class="bg-blue">项目投决会评估评审汇总表</th>
  149. </tr>
  150. <tr class="specificTr">
  151. <th>项目名称</th>
  152. <th>
  153. <textarea
  154. class="table-textarea"
  155. v-model="scoreForm.projectName"
  156. name=""
  157. disabled
  158. ></textarea>
  159. </th>
  160. <th>项目所属公司</th>
  161. <th colspan="3">
  162. <textarea
  163. class="table-textarea"
  164. v-model="form1.tProjectPool.company"
  165. name=""
  166. disabled
  167. ></textarea>
  168. </th>
  169. <th>项目负责人</th>
  170. <th>
  171. <textarea
  172. class="table-textarea"
  173. v-model="collectForm.investCommissioner"
  174. name=""
  175. disabled
  176. ></textarea>
  177. </th>
  178. <th>总人数</th>
  179. <th>
  180. <textarea
  181. v-model="collectForm.totalPerson"
  182. class="table-textarea"
  183. name=""
  184. disabled
  185. ></textarea>
  186. </th>
  187. </tr>
  188. <tr class="bg-blue">
  189. <th>序号</th>
  190. <th>评审类别</th>
  191. <th>评审事项</th>
  192. <th colspan="3">评审指标</th>
  193. <th>标准分值(满分50)</th>
  194. <th colspan="2">汇总分数</th>
  195. <th>平均分数</th>
  196. </tr>
  197. </thead>
  198. <tbody class="text-center">
  199. <tr>
  200. <td rowspan="2">1</td>
  201. <td rowspan="2">模式先进</td>
  202. <td>产业优势</td>
  203. <td colspan="3" class="text-left">
  204. 满足以下条件之一:市场热点、新经济、强势传统产业
  205. </td>
  206. <td>
  207. 阶段性:0-1<br />
  208. 持久:2-3<br />
  209. 持久重大:4-5
  210. </td>
  211. <td colspan="2">
  212. <input
  213. autocomplete="off"
  214. v-model="collectForm.industryAdvantageSum"
  215. name="industryAdvantageSum"
  216. type="text"
  217. class="table-input"
  218. disabled
  219. />
  220. </td>
  221. <td>
  222. <input
  223. autocomplete="off"
  224. type="text"
  225. v-model="collectForm.industryAdvantageAvg"
  226. name="industryAdvantageAvg"
  227. class="table-input"
  228. disabled
  229. />
  230. </td>
  231. </tr>
  232. <tr>
  233. <td>商业模式</td>
  234. <td colspan="3" class="text-left">
  235. 满足以下条件之一:技术/行业/渠道优势明显、模式创新度高、降本增效显著
  236. </td>
  237. <td>
  238. 先进:0-3<br />
  239. 非常先进:4-5<br />
  240. 超级先进:6-7<br />
  241. 颠覆性的:8-9
  242. </td>
  243. <td colspan="2">
  244. <input
  245. autocomplete="off"
  246. type="text"
  247. v-model="collectForm.businessModelSum"
  248. name="businessModelSum"
  249. class="table-input"
  250. disabled
  251. />
  252. </td>
  253. <td>
  254. <input
  255. autocomplete="off"
  256. type="text"
  257. v-model="collectForm.businessModelAvg"
  258. name="businessModelAvg"
  259. class="table-input"
  260. disabled
  261. />
  262. </td>
  263. </tr>
  264. <tr>
  265. <td rowspan="4">2</td>
  266. <td rowspan="4">团队优秀</td>
  267. <td rowspan="4">核心团队优秀</td>
  268. <td colspan="3">
  269. 创业团队专业,产业背景出身,至少十年以上行业经验
  270. </td>
  271. <td>
  272. 10年以上产业经验:0-2<br />
  273. 15年以上产业经验:3-4
  274. </td>
  275. <td colspan="2">
  276. <input
  277. autocomplete="off"
  278. type="text"
  279. v-model="collectForm.teamExperienceSum"
  280. name="teamExperienceSum"
  281. class="table-input"
  282. disabled
  283. />
  284. </td>
  285. <td>
  286. <input
  287. autocomplete="off"
  288. type="text"
  289. v-model="collectForm.teamExperienceAvg"
  290. name="teamExperienceAvg"
  291. class="table-input"
  292. disabled
  293. />
  294. </td>
  295. </tr>
  296. <tr>
  297. <td colspan="3">
  298. 创始团队背景为行业内专家/教授/名校哈佛大学博士/行业内龙头企业技术团队等
  299. </td>
  300. <td>
  301. 硕士博士团队:0-2<br />
  302. 行业内知名专家、世界名校博士、行业内龙头企业技术团队:3-4
  303. </td>
  304. <td colspan="2">
  305. <input
  306. autocomplete="off"
  307. type="text"
  308. v-model="collectForm.teamBackgroundSum"
  309. name="teamBackgroundSum"
  310. class="table-input"
  311. disabled
  312. />
  313. </td>
  314. <td>
  315. <input
  316. autocomplete="off"
  317. type="text"
  318. v-model="collectForm.teamBackgroundAvg"
  319. name="teamBackgroundAvg"
  320. class="table-input"
  321. disabled
  322. />
  323. </td>
  324. </tr>
  325. <tr>
  326. <td colspan="3">
  327. 拥有3位以上德才兼备、同心同德的核心团队成员,能够支撑企业快速扩张
  328. </td>
  329. <td>
  330. 强:0-2 <br />
  331. 很强:3-4
  332. </td>
  333. <td colspan="2">
  334. <input
  335. autocomplete="off"
  336. type="text"
  337. v-model="collectForm.teamHeartSum"
  338. name="teamHeartSum"
  339. class="table-input"
  340. disabled
  341. />
  342. </td>
  343. <td>
  344. <input
  345. autocomplete="off"
  346. type="text"
  347. v-model="collectForm.teamHeartAvg"
  348. name="teamHeartAvg"
  349. class="table-input"
  350. disabled
  351. />
  352. </td>
  353. </tr>
  354. <tr>
  355. <td colspan="3">
  356. 团队领袖诚信、学习能力意愿强,具有很强的职业精神、职业道德、职业技能
  357. </td>
  358. <td>
  359. 合格:0-2<br />
  360. 优秀:3-5 <br />
  361. 卓越:6-8
  362. </td>
  363. <td colspan="2">
  364. <input
  365. autocomplete="off"
  366. type="text"
  367. v-model="collectForm.teamFaithSum"
  368. name="teamFaithSum"
  369. class="table-input"
  370. disabled
  371. />
  372. </td>
  373. <td>
  374. <input
  375. autocomplete="off"
  376. type="text"
  377. v-model="collectForm.teamFaithAvg"
  378. name="teamFaithAvg"
  379. class="table-input"
  380. disabled
  381. />
  382. </td>
  383. </tr>
  384. <tr>
  385. <td rowspan="5">3</td>
  386. <td rowspan="5">企业价值</td>
  387. <td rowspan="2">初步产品原型</td>
  388. <td colspan="3">
  389. 具备一定的技术基础和原型,能够证明产品的可行性和创新性,能够为用户真正带来价值。
  390. </td>
  391. <td>2</td>
  392. <td colspan="2">
  393. <input
  394. autocomplete="off"
  395. type="text"
  396. v-model="collectForm.productBaseSum"
  397. name="productBaseSum"
  398. class="table-input"
  399. disabled
  400. />
  401. </td>
  402. <td>
  403. <input
  404. autocomplete="off"
  405. type="text"
  406. v-model="collectForm.productBaseAvg"
  407. name="productBaseAvg"
  408. class="table-input"
  409. disabled
  410. />
  411. </td>
  412. </tr>
  413. <tr>
  414. <td colspan="3">具有明确的盈利模式</td>
  415. <td>2</td>
  416. <td colspan="2">
  417. <input
  418. autocomplete="off"
  419. type="text"
  420. v-model="collectForm.productProfitSum"
  421. name="productProfitSum"
  422. class="table-input"
  423. disabled
  424. />
  425. </td>
  426. <td>
  427. <input
  428. autocomplete="off"
  429. type="text"
  430. v-model="collectForm.productProfitAvg"
  431. name="productProfitAvg"
  432. class="table-input"
  433. disabled
  434. />
  435. </td>
  436. </tr>
  437. <tr>
  438. <td rowspan="2">机构认可</td>
  439. <td colspan="3">
  440. 清科、投中年度排行前一百位的投资机构或上市公司、中国500强知名企业或知名投资人投资。
  441. </td>
  442. <td>1</td>
  443. <td colspan="2">
  444. <input
  445. autocomplete="off"
  446. type="text"
  447. v-model="collectForm.organInvestSum"
  448. name="organInvestSum"
  449. class="table-input"
  450. disabled
  451. />
  452. </td>
  453. <td>
  454. <input
  455. autocomplete="off"
  456. type="text"
  457. v-model="collectForm.organInvestAvg"
  458. name="organInvestAvg"
  459. class="table-input"
  460. disabled
  461. />
  462. </td>
  463. </tr>
  464. <tr>
  465. <td colspan="3">
  466. 公司近期12个月内估值XX万元以上,且与项目公司无关联关系的专业化投资机构(人)的投资超过500万元。
  467. </td>
  468. <td>1</td>
  469. <td colspan="2">
  470. <input
  471. autocomplete="off"
  472. v-model="collectForm.organValuationSum"
  473. name="organValuationSum"
  474. type="text"
  475. class="table-input"
  476. disabled
  477. />
  478. </td>
  479. <td>
  480. <input
  481. autocomplete="off"
  482. v-model="collectForm.organValuationAvg"
  483. name="organValuationAvg"
  484. type="text"
  485. class="table-input"
  486. disabled
  487. />
  488. </td>
  489. </tr>
  490. <tr>
  491. <td>估值</td>
  492. <td colspan="3">估值水平、预期收益合理</td>
  493. <td>1</td>
  494. <td colspan="2">
  495. <input
  496. type="text"
  497. v-model="collectForm.valuationSum"
  498. name="valuationSum"
  499. class="table-input"
  500. disabled
  501. />
  502. </td>
  503. <td>
  504. <input
  505. autocomplete="off"
  506. type="text"
  507. v-model="collectForm.valuationAvg"
  508. name="valuationAvg"
  509. class="table-input"
  510. disabled
  511. />
  512. </td>
  513. </tr>
  514. <tr>
  515. <td rowspan="2">4</td>
  516. <td rowspan="2">市场广阔</td>
  517. <td>市场空间大</td>
  518. <td colspan="3">
  519. 行业具有高成长性,细分市场年销售规模已经达到或五年内达到50亿元。
  520. </td>
  521. <td>
  522. 50-100亿:0.5<br />
  523. 100-200亿:1<br />
  524. 200亿以上:2
  525. </td>
  526. <td colspan="2">
  527. <input
  528. autocomplete="off"
  529. type="text"
  530. v-model="collectForm.marketSpaceSum"
  531. name="marketSpaceSum"
  532. class="table-input"
  533. disabled
  534. />
  535. </td>
  536. <td>
  537. <input
  538. autocomplete="off"
  539. type="text"
  540. v-model="collectForm.marketSpaceAvg"
  541. name="marketSpaceAvg"
  542. class="table-input"
  543. disabled
  544. />
  545. </td>
  546. </tr>
  547. <tr>
  548. <td>成长空间大</td>
  549. <td colspan="3">预计年增长率在30%以上</td>
  550. <td>
  551. 收入年增长率30%以上:1<br />
  552. 收入年增长率50%以上:2<br />
  553. 收入年增长率70%以上:3
  554. </td>
  555. <td colspan="2">
  556. <input
  557. autocomplete="off"
  558. type="text"
  559. v-model="collectForm.developSpaceSum"
  560. name="developSpaceSum"
  561. class="table-input"
  562. disabled
  563. />
  564. </td>
  565. <td>
  566. <input
  567. autocomplete="off"
  568. type="text"
  569. v-model="collectForm.developSpaceAvg"
  570. name="developSpaceAvg"
  571. class="table-input"
  572. disabled
  573. />
  574. </td>
  575. </tr>
  576. <tr>
  577. <td>5</td>
  578. <td>股权收益</td>
  579. <td>退出方式</td>
  580. <td colspan="3">通过并购、股权转让、股权回购等方式退出</td>
  581. <td>
  582. 退出收益5%-15%:1<br />
  583. 退出收益15%-50%:2<br />
  584. 退出收益50%-100%:3<br />
  585. 退出收益1倍以上:4
  586. </td>
  587. <td colspan="2">
  588. <input
  589. autocomplete="off"
  590. type="text"
  591. v-model="collectForm.quitWaySum"
  592. name="quitWaySum"
  593. class="table-input"
  594. disabled
  595. />
  596. </td>
  597. <td>
  598. <input
  599. autocomplete="off"
  600. type="text"
  601. v-model="collectForm.quitWayAvg"
  602. name="quitWayAvg"
  603. class="table-input"
  604. disabled
  605. />
  606. </td>
  607. </tr>
  608. <tr>
  609. <td colspan="10" class="text-left big-font">
  610. 评分说明:<br />
  611. 1.
  612. 固定指标分值部分,评分人需根据项目实际情况,评分范围仅有0分和满分,满分为各评审指标对应的标准分值。<br />
  613. 2.
  614. 浮动指标分值部分,最高分值为各评审指标对应的最高区间分值,最低分值为0分,分值保留小数点后一位数字。
  615. </td>
  616. </tr>
  617. </tbody>
  618. </table>
  619. </el-form>
  620. </el-tab-pane>
  621. </el-tabs>
  622. </div>
  623. <div v-show="activeName === '1'">
  624. <poolForm :type="type" :id="id"></poolForm>
  625. </div>
  626. </section>
  627. </section>
  628. <section>
  629. <flowBase :procInstId="pInstId" :id="id" v-if="pInstId"></flowBase>
  630. </section>
  631. </div>
  632. </template>
  633. <script>
  634. import poolForm from "../../invest/components/poolForm";
  635. import fileItem from "../../invest/components/fileItem";
  636. import flowBase from "../flowBase.vue";
  637. import {
  638. getPool,
  639. } from "@/api/invest/pool";
  640. import {
  641. listMeeting,
  642. } from "@/api/invest/meeting";
  643. import{
  644. getDecisionInfo,
  645. getMeetingInfo,
  646. getSumScore
  647. } from "@/api/project/decision/pool"
  648. import { mapGetters } from "vuex";
  649. export default {
  650. name: "decisionDetail",
  651. components: {
  652. poolForm,
  653. fileItem,
  654. flowBase
  655. },
  656. data() {
  657. return {
  658. meetingId: "0",
  659. type: "2",
  660. id: "",
  661. active: 0,
  662. detailInfo: {
  663. projectName: "",
  664. },
  665. activeName: "0",
  666. pInstId: null,
  667. formTJApply: {
  668. id: null,
  669. procInstId:null,
  670. projectPoolId: null,
  671. projectName: null,
  672. provision: null,
  673. listFile: null,
  674. participants: null,
  675. participantsId: null,
  676. },
  677. // 打分表单参数
  678. scoreForm: {
  679. businessModel: null,
  680. businessModelNote: null,
  681. createBy: null,
  682. createTime: null,
  683. delFlag: null,
  684. developSpace: null,
  685. developSpaceNote: null,
  686. examine: null,
  687. id: null,
  688. illustrate: null, //说明
  689. industryAdvantage: null,
  690. industryAdvantageNote: null,
  691. investCommissioner: null, //项目负责人
  692. marketSpace: null, //市场空间
  693. marketSpaceNote: null,
  694. meetingId: null, //
  695. organInvest: null,
  696. organInvestNote: null,
  697. organValuation: null,
  698. organValuationNote: null,
  699. params: {},
  700. productBase: null,
  701. productBaseNote: null,
  702. productProfit: null,
  703. productProfitNote: null,
  704. projectPoolId: null,
  705. quitWay: null,
  706. quitWayNote: null,
  707. remark: null,
  708. scoringPerson: null, //打分人
  709. teamBackground: null,
  710. teamBackgroundNote: null,
  711. teamExperience: null,
  712. teamExperienceNote: null,
  713. teamFaith: null,
  714. teamFaithNote: null,
  715. teamHeart: null,
  716. teamHeartNote: null,
  717. type: null,
  718. updateBy: null,
  719. updateTime: null,
  720. valuation: null,
  721. valuationNote: null,
  722. },
  723. // 会议详情表单
  724. form1: {
  725. meetingTheme: null,
  726. meetingCode: null,
  727. meetingType: null,
  728. projectPoolId: null,
  729. projectName: null,
  730. projectStage: null,
  731. projectGroup: "",
  732. startTime: null,
  733. endTime: null,
  734. place: null,
  735. promoter: null,
  736. promoterId: null,
  737. participants: null,
  738. participantsId: null,
  739. tProjectPool: {
  740. company: null,
  741. projectName: null,
  742. projectStage: null,
  743. },
  744. },
  745. // 汇总分数表单
  746. collectForm: {
  747. businessModelAvg: null,
  748. businessModelSum: null,
  749. developSpaceAvg: null,
  750. developSpaceSum: null,
  751. industryAdvantageAvg: null,
  752. industryAdvantageSum: null,
  753. investCommissioner: null,
  754. marketSpaceAvg: null,
  755. marketSpaceSum: null,
  756. meetingId: null,
  757. organInvestAvg: null,
  758. organInvestSum: null,
  759. organValuationAvg: null,
  760. organValuationSum: null,
  761. productBaseAvg: null,
  762. productBaseSum: null,
  763. productProfitAvg: null,
  764. productProfitSum: null,
  765. projectPoolId: null,
  766. quitWayAvg: null,
  767. quitWaySum: null,
  768. scoringPerson: null,
  769. teamBackgroundAvg: null,
  770. teamBackgroundSum: null,
  771. teamExperienceAvg: null,
  772. teamExperienceSum: null,
  773. teamFaithAvg: null,
  774. teamFaithSum: null,
  775. teamHeartAvg: null,
  776. teamHeartSum: null,
  777. valuationAvg: null,
  778. valuationSum: null,
  779. },
  780. };
  781. },
  782. computed: {
  783. ...mapGetters(["user"]),
  784. },
  785. created() {
  786. this.id = this.$route.query.id;
  787. this.pInstId=this.$route.query.pInstId;
  788. this.getDetail();
  789. this.getlistProjectPoolIdNewDecision();
  790. if (this.$route.query.activeName) {
  791. this.activeName = this.$route.query.activeName;
  792. }
  793. },
  794. methods: {
  795. getMettingId(type) {
  796. let queryParams = {
  797. pageNum: 1,
  798. pageSize: 10,
  799. meetingType: type,
  800. orderByColumn: "createTime",
  801. isAsc: "desc",
  802. projectPoolId: this.id,
  803. };
  804. listMeeting(queryParams).then((response) => {
  805. let meetingList = response.rows;
  806. if (meetingList.length > 0) {
  807. let meetingId = meetingList[0].id;
  808. if (type === "LX") {
  809. this.$refs.approvalTableForm.initialize(meetingId);
  810. } else if (type === "TJ") {
  811. this.$refs.voteTableForm.initialize(meetingId);
  812. }
  813. } else {
  814. if (type === "LX") {
  815. this.$refs.approvalTableForm.showNodata();
  816. } else if (type === "TJ") {
  817. this.$refs.voteTableForm.showNodata();
  818. }
  819. }
  820. });
  821. },
  822. handleClick(tab, event) {
  823. let that = this;
  824. if (this.activeName === "0") {
  825. // 项目投决
  826. this.getMettingId("TJ");
  827. this.getlistProjectPoolIdNewDecision();
  828. } else if (this.activeName === "1") {
  829. // 项目报备
  830. this.getDetail();
  831. }
  832. },
  833. // 获取投决申请
  834. getlistProjectPoolIdNewDecision() {
  835. let that = this;
  836. getDecisionInfo(this.$route.query.pInstId).then((response) => {
  837. if (response && response.data) {
  838. that.formTJApply = response.data;
  839. if(response.data.participantsId!=null&&response.data.taskDefKey!='modifyApply'
  840. &&response.data.taskDefKey != "deptLeader"&&response.data.taskDefKey != "decision"&&response.data.taskDefKey != "meeting"){
  841. this.getMeeting();
  842. this.getSelectMeetingId();
  843. }
  844. setTimeout(() => {
  845. this.$refs.fileItemTJApply.handleButton();
  846. this.$refs.fileItemTJApply.fileList = [];
  847. this.$refs.fileItemTJApply.getListFileBusinessId(that.formTJApply.id,"11");
  848. //其他附件
  849. this.$refs.otherFileItem.handleButton();
  850. this.$refs.otherFileItem.fileList = [];
  851. this.$refs.otherFileItem.getListFileBusinessId(that.formTJApply.id, "0");
  852. }, 300);
  853. }
  854. });
  855. },
  856. getDetail() {
  857. getPool(this.id).then((response) => {
  858. this.detailInfo = response.data;
  859. // 项目退出完成n
  860. if (response.data.projectState === "n") {
  861. this.active = parseInt(response.data.projectStage);
  862. } else {
  863. this.active = parseInt(response.data.projectStage) - 1;
  864. }
  865. });
  866. },
  867. //会议投决
  868. getMeeting(){
  869. getMeetingInfo(this.$route.query.pInstId).then((response) => {
  870. this.form1 = response.data;
  871. this.form1.projectPoolId = response.data.projectPoolId;
  872. this.form1.projectName = response.data.tProjectPool.projectName;
  873. this.form1.projectStage = response.data.tProjectPool.projectStage;
  874. this.scoreForm.projectPoolId = response.data.projectPoolId;
  875. this.scoreForm.projectName = response.data.tProjectPool.projectName;
  876. // 打分人
  877. this.scoreForm.scoringPerson = this.user.userId;
  878. // 项目负责人
  879. this.scoreForm.investCommissioner = response.data.tProjectPool.investHead;
  880. this.collectForm.investCommissioner =
  881. response.data.tProjectPool.investHead;
  882. this.scoreForm.meetingId = response.data.id;
  883. /*setTimeout(() => {
  884. this.$refs.fileItems.fileList = [];
  885. this.$refs.fileItems.getListFileBusinessId(id);
  886. this.$refs.fileItems.handleButton();
  887. }, 300);*/
  888. });
  889. },
  890. //总裁室
  891. // 根据会议ID查询汇总分数和平均分数
  892. getSelectMeetingId() {
  893. getSumScore(this.$route.query.pInstId).then((response) => {
  894. this.collectForm = response.data;
  895. this.collectForm.investCommissioner = this.scoreForm.investCommissioner;
  896. });
  897. },
  898. },
  899. };
  900. </script>
  901. <style lang="scss" scoped>
  902. .detailWrapper {
  903. padding: 20px 0;
  904. width: 92%;
  905. margin: 0 auto;
  906. .section1 {
  907. p {
  908. font-size: 24px;
  909. font-weight: bold;
  910. margin: 0;
  911. }
  912. > div:first-child {
  913. // width: calc(100% - 700px);
  914. width: 100%;
  915. }
  916. .btnList {
  917. width: 700px;
  918. display: flex;
  919. justify-content: flex-end;
  920. }
  921. }
  922. .basicsInfo {
  923. font-size: 14px;
  924. background: #f1f1f1;
  925. margin-top: -24px;
  926. width: 100%;
  927. padding: 30px 20px 10px;
  928. div {
  929. color: #7e7d7d;
  930. }
  931. p {
  932. font-size: 16px;
  933. color: #333;
  934. font-weight: bold;
  935. }
  936. }
  937. .section3 {
  938. margin-top: 40px;
  939. }
  940. }
  941. .projectNameTit {
  942. }
  943. .alreadyStop {
  944. font-weight: normal;
  945. font-size: 12px;
  946. background: #ff0000;
  947. color: #fff;
  948. border-radius: 5px;
  949. padding: 5px 10px;
  950. margin-left: 10px;
  951. }
  952. /*表格样式开始*/
  953. .ss_scoreTable {
  954. padding-bottom: 50px;
  955. ::v-deep .el-input.is-disabled .el-input__inner {
  956. background-color: #fff !important;
  957. color: #606266;
  958. }
  959. ::v-deep .el-input__inner {
  960. border: 1px solid transparent;
  961. text-align: center;
  962. }
  963. ::v-deep.el-textarea__inner {
  964. border: none;
  965. height: 50px;
  966. resize: none;
  967. }
  968. ::v-deep .el-textarea.is-disabled .el-textarea__inner {
  969. background-color: #fff !important;
  970. }
  971. textarea:disabled,
  972. input:disabled {
  973. background-color: #fff !important;
  974. }
  975. // ::v-deep .el-textarea__inner {
  976. // // border: 1px solid transparent!important;
  977. // }
  978. table {
  979. // width:80%;
  980. // width: 600px;
  981. margin: 0 30px;
  982. -moz-user-select: none;
  983. -webkit-user-select: none;
  984. -ms-user-select: none;
  985. -khtml-user-selece: none;
  986. /*上面都是兼容性问题,具体看浏览器版本或什么浏览器*/
  987. user-select: none; /*内容禁止选中*/
  988. }
  989. tbody td {
  990. font-size: 14px;
  991. }
  992. thead th,
  993. .big-font {
  994. font-size: 16px !important;
  995. font-weight: bold;
  996. }
  997. .public-pedded-0 {
  998. padding: 0;
  999. }
  1000. .text-center {
  1001. text-align: center;
  1002. }
  1003. .text-left {
  1004. text-align: left;
  1005. }
  1006. .table-textarea {
  1007. width: 100%;
  1008. // width: 180px;
  1009. border: none;
  1010. height: 50px;
  1011. resize: none;
  1012. }
  1013. .table-input {
  1014. width: 100%;
  1015. // width: 100%;
  1016. // height: 80px;
  1017. border: none;
  1018. font-size: 20px;
  1019. font-weight: bold;
  1020. text-align: center;
  1021. margin-top: 20px;
  1022. }
  1023. .bg-blue,
  1024. .specificTr > th:nth-child(2n-1) {
  1025. background-color: #9bc2e6;
  1026. }
  1027. .specificTr > th:nth-child(2n-1) {
  1028. white-space: nowrap;
  1029. padding: 0 15px;
  1030. }
  1031. .specificTr .table-textarea {
  1032. padding-top: 16px;
  1033. background-color: #fff;
  1034. }
  1035. tr > th {
  1036. height: 50px;
  1037. }
  1038. input:disabled {
  1039. // background-color: #fff !important;
  1040. }
  1041. .btnList {
  1042. width: 100%;
  1043. display: flex;
  1044. justify-content: center;
  1045. padding-bottom: 40px;
  1046. margin-top: 30px;
  1047. }
  1048. }
  1049. </style>