companyDetails.vue 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019
  1. <template>
  2. <div class="housedetails">
  3. <div class="list">
  4. <div class="allpd32rpx bgcFFFFFF mb16rpx">
  5. <van-row>
  6. <van-col :span="24">
  7. <div class="detailstitle width100 mt24rpx border_bottom_ccc">
  8. <div class="float_left width80">
  9. <div>{{ form.qymc }}</div>
  10. <span style="color: #aaaaaa; font-size: 24rpx">
  11. {{ "园区入住时间:" + form.rzsj + 1111 }}
  12. </span>
  13. </div>
  14. <div class="width20 float_left">
  15. <div
  16. class="companystatus"
  17. style="margin-top: -7rpx; float: right; width: 100%"
  18. >
  19. {{ getDicType("type", form.settleInType) }}
  20. <!-- {{form.settleInType}}-->
  21. </div>
  22. </div>
  23. </div>
  24. </van-col>
  25. <van-col :span="24">
  26. <div
  27. class="typestitle width100 mt24rpx mb16rpx border_bottom_ccc fontcolor251FCA"
  28. >
  29. <div
  30. class="float_left"
  31. style="width: 90%"
  32. @click="jumpDeleteTgas()"
  33. >
  34. <span
  35. v-for="(item, index) in qymcString"
  36. :key="index"
  37. v-if="qymcString && qymcString.length > 0"
  38. >
  39. {{ item }}
  40. ·
  41. </span>
  42. <span v-if="!qymcString || qymcString.length == 0">
  43. 暂无标签
  44. </span>
  45. </div>
  46. <van-icon
  47. @click="jumpChosseTags()"
  48. class="float_right"
  49. style="font-size: 50rpx; width: 50rpx; margin-top: -12rpx"
  50. name="edit"
  51. />
  52. </div>
  53. </van-col>
  54. </van-row>
  55. <van-row class="border_bottom_ccc">
  56. <van-col :span="8">
  57. <div class="yongtu_second_title">入驻状态</div>
  58. <div class="yongtu_first_title">
  59. {{ getDicType("zt", form.entryStatus) }}
  60. </div>
  61. </van-col>
  62. <!-- <van-col :span="6">
  63. <div class="yongtu_second_title">所属楼盘</div>
  64. <div class="yongtu_first_title chaochuyincang">
  65. {{ !form.areaName ? "暂无" : form.areaName }}
  66. </div>
  67. </van-col> -->
  68. <!-- <van-col :span="6">
  69. <div class="yongtu_second_title">招商经理</div>
  70. <div class="yongtu_first_title chaochuyincang">
  71. {{
  72. form.investmentManagerName == null
  73. ? "暂无"
  74. : form.investmentManagerName
  75. }}
  76. </div>
  77. </van-col> -->
  78. <van-col :span="8">
  79. <div class="yongtu_second_title">从业人数</div>
  80. <div class="yongtu_first_title">
  81. {{ form.practiceNumber == null ? "未知" : form.practiceNumber }}
  82. </div>
  83. </van-col>
  84. <van-col :span="8">
  85. <div class="yongtu_second_title">所属行业</div>
  86. <div class="yongtu_first_title">
  87. {{ form.industry == null ? "未知" : form.industry }}
  88. </div>
  89. </van-col>
  90. </van-row>
  91. <div
  92. style="
  93. border-top: 2rpx solid #cccccc;
  94. font-size: 24rpx;
  95. color: #777777;
  96. "
  97. >
  98. <div style="margin: 16rpx 0">
  99. 所属楼盘:{{ !form.areaName ? "暂无" : form.areaName }}
  100. </div>
  101. <div style="margin: 16rpx 0">
  102. 当前企服专员{{
  103. !form.serviceCommissionerName
  104. ? "暂无"
  105. : form.serviceCommissionerName
  106. }}
  107. </div>
  108. </div>
  109. </div>
  110. <div class="list-row" style="padding-top: 0">
  111. <uni-collapse v-model="value" style="width: 100%">
  112. <uni-collapse-item
  113. title="基础信息"
  114. :open="true"
  115. @change="selectItems"
  116. >
  117. <view slot="title" class="uni-collapse-item__title-text"
  118. >基础信息
  119. <van-icon
  120. @click="jumpEditCompanyDetails(id)"
  121. name="edit"
  122. style="
  123. color: #1d18bc;
  124. z-index: 100;
  125. font-size: 35rpx;
  126. font-weight: bold;
  127. margin-left: 10px;
  128. "
  129. />
  130. </view>
  131. <div style="height: auto">
  132. <view
  133. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  134. >
  135. <view class="input_title float_left">公司名称:</view>
  136. <input
  137. disabled="true"
  138. style="color: #777"
  139. class="input_value float_left"
  140. placeholder="暂无"
  141. v-model="form.qymc"
  142. />
  143. </view>
  144. <view
  145. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  146. >
  147. <view class="input_title float_left">统一社会信用代码:</view>
  148. <input
  149. disabled="true"
  150. style="color: #777"
  151. class="input_value float_left"
  152. placeholder="暂无"
  153. v-model="form.shxydm"
  154. />
  155. </view>
  156. <view
  157. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  158. >
  159. <view class="input_title float_left">注册资金(万元):</view>
  160. <input
  161. disabled="true"
  162. style="color: #777"
  163. class="input_value float_left"
  164. placeholder="暂无"
  165. v-model="form.zczj"
  166. />
  167. </view>
  168. <view
  169. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  170. >
  171. <view class="input_title float_left">币种</view>
  172. <div style="color: #777" class="input_value float_left">
  173. {{ getDicType("money", form.currency) }}
  174. </div>
  175. </view>
  176. <view
  177. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  178. >
  179. <view class="input_title float_left">注册时间:</view>
  180. <input
  181. disabled="true"
  182. style="color: #777"
  183. class="input_value float_left"
  184. placeholder="暂无"
  185. v-model="form.zcsj"
  186. />
  187. </view>
  188. <view
  189. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  190. >
  191. <view class="input_title float_left">法定代表人:</view>
  192. <input
  193. disabled="true"
  194. style="color: #777"
  195. class="input_value float_left"
  196. placeholder="暂无"
  197. v-model="form.fddbr"
  198. />
  199. </view>
  200. <view
  201. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  202. >
  203. <view class="input_title float_left">法人电话 :</view>
  204. <input
  205. disabled="true"
  206. style="color: #777"
  207. class="input_value float_left"
  208. placeholder="暂无"
  209. v-model="form.lxdh"
  210. />
  211. </view>
  212. <view
  213. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  214. >
  215. <view class="input_title float_left">法人邮箱 :</view>
  216. <input
  217. disabled="true"
  218. style="color: #777"
  219. class="input_value float_left"
  220. placeholder="暂无"
  221. v-model="form.frEmail"
  222. />
  223. </view>
  224. <view
  225. v-if="!form.frsfzh || form.frsfzh.length == 0"
  226. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  227. >
  228. <view class="input_title float_left">法人身份证:</view>
  229. <input
  230. disabled="true"
  231. style="color: #777"
  232. class="input_value float_left"
  233. placeholder="暂无"
  234. />
  235. </view>
  236. <view
  237. v-if="form.frsfzh && form.frsfzh.length != 0"
  238. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  239. style="height: 194rpx"
  240. >
  241. <view class="input_title">法人身份证:</view>
  242. <view class="width100" style="position: relative">
  243. <img
  244. @click="choosefrsfzh_zhenmian()"
  245. :src="
  246. BASE_URI +
  247. '/FileController/download/' +
  248. form.frsfzh_zhenmian
  249. "
  250. class="idclass margin12rpx float_left"
  251. placeholder="请输入"
  252. />
  253. <img
  254. @click="choosefrsfzh_fanmian()"
  255. :src="
  256. BASE_URI +
  257. '/FileController/download/' +
  258. form.frsfzh_fanmian
  259. "
  260. class="idclass margin12rpx float_left"
  261. placeholder="请输入"
  262. />
  263. </view>
  264. </view>
  265. <view
  266. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  267. >
  268. <view class="input_title float_left">企业联系人</view>
  269. <input
  270. disabled="true"
  271. style="color: #777"
  272. class="input_value float_left"
  273. placeholder="暂无"
  274. v-model="form.qylxr"
  275. />
  276. </view>
  277. <view
  278. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  279. >
  280. <view class="input_title float_left">联系人电话:</view>
  281. <input
  282. disabled="true"
  283. style="color: #777"
  284. class="input_value float_left"
  285. placeholder="暂无"
  286. v-model="form.lxdh"
  287. />
  288. </view>
  289. <view
  290. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  291. >
  292. <view class="input_title float_left">联系人邮箱:</view>
  293. <input
  294. disabled="true"
  295. style="color: #777"
  296. class="input_value float_left"
  297. placeholder="暂无"
  298. v-model="form.email"
  299. />
  300. </view>
  301. <view
  302. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  303. >
  304. <view class="input_title float_left">财务负责人:</view>
  305. <input
  306. disabled="true"
  307. style="color: #777"
  308. class="input_value float_left"
  309. placeholder="暂无"
  310. v-model="form.cwfzr"
  311. />
  312. </view>
  313. <view
  314. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  315. >
  316. <view class="input_title float_left">负责人电话:</view>
  317. <input
  318. disabled="true"
  319. style="color: #777"
  320. class="input_value float_left"
  321. placeholder="暂无"
  322. v-model="form.cwfzrdh"
  323. />
  324. </view>
  325. <view
  326. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  327. >
  328. <view class="input_title float_left">入驻类型</view>
  329. <div class="input_value float_left">
  330. {{ getDicType("type", form.settleInType) }}
  331. {{ form.settleInType + "123123123" }}
  332. </div>
  333. </view>
  334. <view
  335. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  336. style="display: flex"
  337. >
  338. <view class="input_title float_left">招商经理:</view>
  339. <view style="color: #777; font-size: 28rpx; width: 60%">
  340. {{ form.investmentManagerName }}
  341. </view>
  342. </view>
  343. <view
  344. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  345. >
  346. <view class="input_title float_left">所属楼盘:</view>
  347. <input
  348. disabled="true"
  349. style="color: #777"
  350. class="input_value float_left"
  351. placeholder="暂无"
  352. v-model="form.area"
  353. />
  354. </view>
  355. <view
  356. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  357. >
  358. <view class="input_title float_left">注册地址:</view>
  359. <input
  360. disabled="true"
  361. style="color: #777"
  362. class="input_value float_left"
  363. placeholder="暂无"
  364. v-model="form.zcdz"
  365. />
  366. </view>
  367. <view
  368. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  369. >
  370. <view class="input_title float_left">经营地址:</view>
  371. <input
  372. disabled="true"
  373. style="color: #777"
  374. class="input_value float_left"
  375. placeholder="暂无"
  376. v-model="form.jydz"
  377. />
  378. </view>
  379. <view class="width100 mt24rpx padb24rpx list_date height300rpx">
  380. <view class="input_title mb16rpx">经营范围:</view>
  381. <textarea
  382. v-model="form.jyfw"
  383. :maxlength="2000"
  384. placeholder="请输入"
  385. type="textarea"
  386. style="
  387. height: 200rpx;
  388. background: rgba(249, 249, 249, 1);
  389. padding: 20rpx;
  390. width: calc(100% - 40rpx);
  391. "
  392. />
  393. <div
  394. style="
  395. background: rgba(249, 249, 249, 1);
  396. text-align: right;
  397. padding-right: 10px;
  398. padding-bottom: 10rpx;
  399. "
  400. >
  401. {{ form.jyfw ? form.jyfw.length : 0 }}/2000
  402. </div>
  403. </view>
  404. <view class="width100 mt24rpx list_date height40rpx">
  405. <view class="input_title float_left" style="width: 52%"
  406. >营业执照副本:(限1张)</view
  407. >
  408. </view>
  409. <view class="custom-image-box" style="position: relative">
  410. <img
  411. :src="
  412. !form.yyzzfbzp || form.yyzzfbzp == 'undefined'
  413. ? '../../../static/unuploadzhizhao.png'
  414. : BASE_URI + '/FileController/download/' + form.yyzzfbzp
  415. "
  416. style="color: #777; width: 300rpx; height: 260rpx"
  417. placeholder="请输入"
  418. />
  419. </view>
  420. <view
  421. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpxs"
  422. >
  423. <view class="input_title float_left">荣誉信息(限6张)</view>
  424. <textarea
  425. :maxlength="2000"
  426. placeholder="请输入"
  427. v-model="form.honorInformation"
  428. type="textarea"
  429. style="
  430. height: 270rpx;
  431. background: rgba(249, 249, 249, 1);
  432. padding: 20rpx;
  433. width: calc(100% - 40rpx);
  434. "
  435. />
  436. <div
  437. style="
  438. background: rgba(249, 249, 249, 1);
  439. text-align: right;
  440. padding-right: 10px;
  441. padding-bottom: 10rpx;
  442. margi-bottom: 10rpx;
  443. "
  444. >
  445. {{
  446. form.honorInformation ? form.honorInformation.length : 0
  447. }}/2000
  448. </div>
  449. <view
  450. class="custom-image-box"
  451. style="margin-top: 20rpx; display: flex"
  452. >
  453. <img
  454. v-for="item in form.ryxxzp"
  455. :key="item"
  456. :src="BASE_URI + '/FileController/download/' + item"
  457. class="idclass margin12rpx float_left"
  458. placeholder="请输入"
  459. />
  460. </view>
  461. </view>
  462. <view
  463. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height80rpx"
  464. >
  465. <view class="input_title float_left height80rpx">
  466. 全年研发投入:
  467. <br />
  468. (万元)
  469. </view>
  470. <input
  471. disabled="true"
  472. style="color: #777; height: 80rpx; line-height: 80rpx"
  473. class="input_value float_left"
  474. placeholder="暂无"
  475. v-model="form.rdInvestment"
  476. />
  477. </view>
  478. <view
  479. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height80rpx"
  480. >
  481. <view class="input_title float_left height80rpx"
  482. >全年技改投入:<br />(万元)</view
  483. >
  484. <input
  485. disabled="true"
  486. style="color: #777; height: 80rpx; line-height: 80rpx"
  487. class="input_value float_left"
  488. placeholder="暂无"
  489. v-model="form.jgInvestment"
  490. />
  491. </view>
  492. <view
  493. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height80rpx"
  494. >
  495. <view class="input_title float_left height80rpx"
  496. >拥有知识产权<br />(个数)</view
  497. >
  498. <input
  499. :disabled="true"
  500. style="color: #777; height: 80rpx; line-height: 80rpx"
  501. class="input_value float_left"
  502. placeholder="暂无"
  503. v-model="form.zscqgs"
  504. />
  505. </view>
  506. <view
  507. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height80rpx"
  508. >
  509. <view class="input_title float_left"
  510. >四技合同金额:<br />(技术开发)(万元)</view
  511. >
  512. <input
  513. disabled="true"
  514. style="color: #777; height: 80rpx; line-height: 80rpx"
  515. class="input_value float_left"
  516. placeholder="暂无"
  517. v-model="form.fourOpennessAmount"
  518. />
  519. </view>
  520. <view
  521. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height80rpx"
  522. >
  523. <view class="input_title float_left"
  524. >四技合同金额:<br />(转让)(万元)</view
  525. >
  526. <input
  527. disabled="true"
  528. style="color: #777; height: 80rpx; line-height: 80rpx"
  529. class="input_value float_left"
  530. placeholder="暂无"
  531. v-model="form.fourTransferenceAmount"
  532. />
  533. </view>
  534. <view
  535. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height80rpx"
  536. >
  537. <view class="input_title float_left"
  538. >四技合同金额:<br />(服务)(万元)</view
  539. >
  540. <input
  541. disabled="true"
  542. style="color: #777; height: 80rpx; line-height: 80rpx"
  543. class="input_value float_left"
  544. placeholder="暂无"
  545. v-model="form.fourServiceAmount"
  546. />
  547. </view>
  548. <view
  549. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height80rpx"
  550. >
  551. <view class="input_title float_left">
  552. 四技合同金额:<br />(咨询)(万元)
  553. </view>
  554. <input
  555. disabled="true"
  556. style="color: #777"
  557. class="input_value float_left"
  558. placeholder="暂无"
  559. v-model="form.fourConsultAmount"
  560. />
  561. </view>
  562. <view
  563. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  564. style="display: flex"
  565. >
  566. <view class="input_title float_left">关联企业:</view>
  567. <div style="color: #777; width: 60%" class="float_left">
  568. {{ form.associationCompanyName }}
  569. </div>
  570. </view>
  571. </div>
  572. </uni-collapse-item>
  573. </uni-collapse>
  574. </div>
  575. <div class="list-row" style="padding-top: 0">
  576. <uni-collapse v-model="value1" style="width: 100%">
  577. <uni-collapse-item
  578. title="走访信息"
  579. :open="true"
  580. @change="selectItems"
  581. >
  582. <div
  583. style="height: auto; margin: 32rpx 0 32rpx 0"
  584. v-for="item in interviewList"
  585. :key="item.id"
  586. >
  587. <view
  588. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  589. >
  590. <view class="input_title float_left">走访时间:</view>
  591. <input
  592. disabled="true"
  593. style="color: #777"
  594. class="input_value float_left"
  595. placeholder="暂无"
  596. v-model="item.interviewTime"
  597. />
  598. </view>
  599. <view
  600. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  601. >
  602. <view class="input_title float_left">走访类型:</view>
  603. <div
  604. disabled="true"
  605. style="color: #777"
  606. class="input_value float_left"
  607. placeholder="暂无"
  608. >
  609. {{ getDicTypeZoufang(item.interviewType) }}
  610. </div>
  611. </view>
  612. <view
  613. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  614. style="display: flex"
  615. >
  616. <view class="input_title float_left">走访记录:</view>
  617. <div style="color: #777; width: 60%" class="float_left">
  618. {{ item.interviewRecord }}
  619. </div>
  620. </view>
  621. <view
  622. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  623. >
  624. <view class="input_title float_left">是否需要处理:</view>
  625. <!-- <input
  626. disabled="true"
  627. style="color: #777"
  628. class="input_value float_left"
  629. placeholder="暂无"
  630. v-model="onetext8172"
  631. /> -->
  632. <div class="input_value float_left">
  633. <span style="color: #777" v-if="item.isStatus == 2">是</span>
  634. <span style="color: #777" v-if="item.isStatus == 1">否</span>
  635. </div>
  636. </view>
  637. <view
  638. v-if="item.isStatus == 2"
  639. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  640. >
  641. <view class="input_title float_left">处理人:</view>
  642. <input
  643. disabled="true"
  644. style="color: #777"
  645. class="input_value float_left"
  646. placeholder="暂无"
  647. v-model="item.handleUserName"
  648. />
  649. </view>
  650. <view
  651. v-if="item.isStatus == 2"
  652. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  653. style="display: flex"
  654. >
  655. <view class="input_title float_left">处理结果:</view>
  656. <div style="color: #777; width: 60%" class="float_left">
  657. {{
  658. !item.handleResult || item.handleResult == "null"
  659. ? ""
  660. : item.handleResult
  661. }}
  662. </div>
  663. </view>
  664. <div
  665. color="#1D18BC"
  666. class="dengjibutton"
  667. @click="openHandleReportDialog(item)"
  668. v-if="
  669. item.isStatus == 2 &&
  670. !item.handleUserName &&
  671. !item.handleResult
  672. "
  673. >
  674. 处理登记
  675. </div>
  676. <div
  677. color="#1D18BC"
  678. class="dengjibutton"
  679. style="background: #e6e8e9"
  680. v-if="
  681. item.isStatus != 2 ||
  682. (item.handleUserName && item.handleResult)
  683. "
  684. >
  685. 无需处理
  686. </div>
  687. </div>
  688. </uni-collapse-item>
  689. </uni-collapse>
  690. </div>
  691. </div>
  692. <handle-report ref="handleReport" @changeActive="changeActive" />
  693. </div>
  694. </template>
  695. <script>
  696. import {
  697. getCompanyHouseDetails,
  698. getByCodes,
  699. getCompanyTagsByQybq,
  700. interviewEscalationListAll,
  701. findCompanyTags,
  702. } from "@/js_sdk/http";
  703. import handleReport from "../companyreport/components/handlereport.vue";
  704. export default {
  705. components: {
  706. handleReport,
  707. },
  708. data() {
  709. return {
  710. BASE_URI: this.$constant.BASE_URI,
  711. id: "",
  712. qymcString: [],
  713. dic_SelectList: {},
  714. interviewList: [],
  715. dic_key: [
  716. "MNP_BUILDING_TYPE",
  717. "SETTLE_IN_STATUS",
  718. "interviewType",
  719. "CURRENCY",
  720. ],
  721. activeNames: [],
  722. StatusBar: 0,
  723. search: {
  724. pageSize: 10,
  725. pageNum: 1,
  726. },
  727. form: {
  728. id: "",
  729. settleInType: null,
  730. },
  731. // value: true,
  732. value1: true,
  733. list: [],
  734. value: ["0"],
  735. modeIndex: -1,
  736. styleIndex: -1,
  737. current: 0,
  738. mode: "default",
  739. dotsStyles: {},
  740. swiperDotIndex: 0,
  741. };
  742. },
  743. onLoad(option) {
  744. try {
  745. this.id = option.id;
  746. this.getByCodes();
  747. } catch (error) {
  748. console.log(error);
  749. }
  750. },
  751. onShow() {
  752. this.findCompanyTags(this.id);
  753. },
  754. methods: {
  755. async findCompanyTags(id) {
  756. let data = await findCompanyTags(id);
  757. this.qymcString = data.map((e) => {
  758. return e.tagName;
  759. });
  760. },
  761. jumpEditCompanyDetails(e) {
  762. uni.navigateTo({
  763. url: "/pages/subPackages/companyDetailsEdit/companyDetailsEdit?id=" + e,
  764. });
  765. },
  766. jumpDeleteTgas() {
  767. uni.navigateTo({
  768. url: "/pages/subPackages/companyTagsDelete/index?id=" + this.form.id,
  769. });
  770. },
  771. jumpChosseTags() {
  772. try {
  773. uni.navigateTo({
  774. url: "/pages/subPackages/chooseCompanyTags/index?id=" + this.form.id,
  775. });
  776. } catch (error) {}
  777. },
  778. openHandleReportDialog(item) {
  779. let that = this;
  780. that.$refs.handleReport.openDianlog(item);
  781. },
  782. getDicTypeZoufang(value) {
  783. if (!value && this.dic_SelectList.interviewType) return;
  784. let interviewType = this.dic_SelectList.interviewType;
  785. let index = interviewType.findIndex((e) => e.value == value);
  786. if (index != -1) return interviewType[index].label;
  787. },
  788. getDicType(type, value) {
  789. if (type == "money" && this.dic_SelectList.CURRENCY) {
  790. let CURRENCY = this.dic_SelectList.CURRENCY;
  791. let index = CURRENCY.findIndex((e) => e.value == value);
  792. if (index != -1) return CURRENCY[index].label;
  793. else return "暂无";
  794. }
  795. if (type == "type" && this.dic_SelectList.MNP_BUILDING_TYPE) {
  796. console.log(type);
  797. console.log(value);
  798. if (value) {
  799. let MNP_BUILDING_TYPE = this.dic_SelectList.MNP_BUILDING_TYPE;
  800. let index = MNP_BUILDING_TYPE.findIndex((e) => e.value == value);
  801. console.log("indexindexindexindex", index);
  802. if (index != -1) {
  803. console.log(MNP_BUILDING_TYPE);
  804. console.log(MNP_BUILDING_TYPE[index].label);
  805. return MNP_BUILDING_TYPE[index].label;
  806. } else return "暂无";
  807. } else {
  808. return "";
  809. }
  810. }
  811. if (type == "zt" && this.dic_SelectList.SETTLE_IN_STATUS) {
  812. // console.log('entryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatus',value)
  813. // console.log('entryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatus',this.dic_SelectList.SETTLE_IN_STATUS)
  814. let SETTLE_IN_STATUS = this.dic_SelectList.SETTLE_IN_STATUS;
  815. let index = SETTLE_IN_STATUS.findIndex((e) => e.value == value);
  816. if (index != -1) return SETTLE_IN_STATUS[index].label;
  817. else return "暂无";
  818. }
  819. },
  820. async getByCodes() {
  821. try {
  822. this.search.pageNum = 1;
  823. let data = await getByCodes(JSON.stringify(this.dic_key));
  824. console.log("1213123333333333333333", data);
  825. this.dic_SelectList = this.$common.handleDicList(data);
  826. let interviewList = await interviewEscalationListAll(this.id);
  827. this.getCompanyHouseDetails(this.id);
  828. this.interviewList = interviewList;
  829. } catch (error) {
  830. console.log(error);
  831. }
  832. },
  833. async changeActive() {
  834. let interviewList = await interviewEscalationListAll(this.id);
  835. this.interviewList = interviewList;
  836. },
  837. selectItems(e) {
  838. this.$nextTick(() => {
  839. this.$refs.collapse.resize();
  840. });
  841. },
  842. choosefrsfzh_zhenmian() {
  843. let that = this;
  844. uni.previewImage({
  845. urls: [
  846. that.BASE_URI +
  847. "/FileController/download/" +
  848. that.form.frsfzh_zhenmian,
  849. ],
  850. longPressActions: {
  851. itemList: ["发送给朋友", "保存图片", "收藏"],
  852. success: function (data) {},
  853. fail: function (err) {},
  854. },
  855. });
  856. },
  857. choosefrsfzh_fanmian() {
  858. let that = this;
  859. uni.previewImage({
  860. urls: [
  861. that.BASE_URI +
  862. "/FileController/download/" +
  863. that.form.frsfzh_fanmian,
  864. ],
  865. longPressActions: {
  866. itemList: ["发送给朋友", "保存图片", "收藏"],
  867. success: function (data) {},
  868. fail: function (err) {},
  869. },
  870. });
  871. },
  872. async getCompanyHouseDetails(e) {
  873. try {
  874. let that = this;
  875. let detail = await getCompanyHouseDetails(e);
  876. let qymcString = await getCompanyTagsByQybq(detail.data.qybq);
  877. that.findCompanyTags(e);
  878. that.form = detail.data;
  879. that.form.qymcString = qymcString;
  880. if (detail.data.ryxxzp && detail.data.ryxxzp.length > 0) {
  881. that.form.ryxxzp = detail.data.ryxxzp.split(",");
  882. }
  883. if (detail.data.frsfzh && detail.data.frsfzh.length > 0) {
  884. let sfzlist = detail.data.frsfzh.split(",");
  885. that.form.frsfzh_fanmian = sfzlist[0];
  886. that.form.frsfzh_zhenmian = sfzlist[1];
  887. that.$forceUpdate();
  888. }
  889. for (const key in that.form) {
  890. if (that.form[key] == null || that.form[key] == "null") {
  891. // that.form[key] == undefined;
  892. that.form[key] = "暂无";
  893. }
  894. }
  895. that.$forceUpdate();
  896. } catch (error) {}
  897. },
  898. onChange(event) {
  899. this.activeNames = event.detail;
  900. },
  901. },
  902. };
  903. </script>
  904. <style scoped lang="scss">
  905. .chaochuyincang {
  906. white-space: nowrap;
  907. overflow: hidden;
  908. text-overflow: ellipsis;
  909. }
  910. .dengjibutton {
  911. margin-top: 24rpx;
  912. margin-left: 60rpx;
  913. margin-right: 60rpx;
  914. width: calc(100% - 120rpx);
  915. height: 60rpx;
  916. text-align: center;
  917. background: #1d18bc;
  918. color: white;
  919. line-height: 60rpx;
  920. }
  921. .housedetails {
  922. margin-bottom: 200rpx;
  923. }
  924. .housedetails {
  925. .detailstitle {
  926. display: flex;
  927. font-size: 30rpx;
  928. font-weight: 500;
  929. color: #333333;
  930. padding-bottom: 16rpx;
  931. }
  932. .typestitle {
  933. display: flex;
  934. font-size: 24rpx;
  935. font-weight: 500;
  936. padding-bottom: 16rpx;
  937. margin-bottom: 16rpx;
  938. }
  939. }
  940. </style>
  941. <style lang="scss">
  942. ::v-deep .is-open + .uni-collapse-item__wrap {
  943. height: auto !important;
  944. }
  945. ::v-deep .uni-collapse-item__wrap-content {
  946. height: auto !important;
  947. }
  948. .pageconfig {
  949. background: #ffffff;
  950. padding: 32rpx;
  951. }
  952. .input_title {
  953. width: 40%;
  954. font-size: 28rpx;
  955. height: 40rpx;
  956. line-height: 40rpx;
  957. color: #333333;
  958. }
  959. .input_value {
  960. width: 60%;
  961. font-size: 28rpx;
  962. height: 40rpx;
  963. line-height: 40rpx;
  964. color: #777777;
  965. }
  966. .uni-collapse-item__title-box {
  967. padding: 0 !important;
  968. }
  969. .uni-collapse-item__title-text {
  970. color: #1d18bc !important;
  971. font-size: 32rpx !important;
  972. margin: 32rpx 0;
  973. font-weight: bold;
  974. }
  975. .idclass {
  976. width: 147rpx;
  977. height: 100rpx;
  978. }
  979. </style>