companyDetails.vue 33 KB

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