companyDetails.vue 32 KB

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