companyDetails.vue 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053
  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 }}
  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 chaochuyincang">
  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="
  226. !form.frsfzh ||
  227. form.frsfzh.length == 0 ||
  228. form.frsfzh == '暂无'
  229. "
  230. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  231. >
  232. <view class="input_title float_left">法人身份证:</view>
  233. <input
  234. disabled="true"
  235. style="color: #777"
  236. class="input_value float_left"
  237. placeholder="暂无"
  238. />
  239. </view>
  240. <view
  241. v-if="form.frsfzh && form.frsfzh.length != 0"
  242. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  243. style="height: 194rpx"
  244. >
  245. <view class="input_title">法人身份证:</view>
  246. <view class="width100" style="position: relative">
  247. <img
  248. @click="choosefrsfzh_zhenmian()"
  249. :src="
  250. BASE_URI +
  251. '/FileController/download/' +
  252. form.frsfzh_zhenmian
  253. "
  254. class="idclass margin12rpx float_left"
  255. placeholder="请输入"
  256. />
  257. <img
  258. @click="choosefrsfzh_fanmian()"
  259. :src="
  260. BASE_URI +
  261. '/FileController/download/' +
  262. form.frsfzh_fanmian
  263. "
  264. class="idclass margin12rpx float_left"
  265. placeholder="请输入"
  266. />
  267. </view>
  268. </view> -->
  269. <view
  270. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  271. >
  272. <view class="input_title float_left">企业联系人</view>
  273. <input
  274. disabled="true"
  275. style="color: #777"
  276. class="input_value float_left"
  277. placeholder="暂无"
  278. v-model="form.qylxr"
  279. />
  280. </view>
  281. <view
  282. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  283. >
  284. <view class="input_title float_left">联系人电话:</view>
  285. <input
  286. disabled="true"
  287. style="color: #777"
  288. class="input_value float_left"
  289. placeholder="暂无"
  290. v-model="form.lxdh"
  291. />
  292. </view>
  293. <view
  294. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  295. >
  296. <view class="input_title float_left">联系人邮箱:</view>
  297. <input
  298. disabled="true"
  299. style="color: #777"
  300. class="input_value float_left"
  301. placeholder="暂无"
  302. v-model="form.email"
  303. />
  304. </view>
  305. <view
  306. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  307. >
  308. <view class="input_title float_left">财务负责人:</view>
  309. <input
  310. disabled="true"
  311. style="color: #777"
  312. class="input_value float_left"
  313. placeholder="暂无"
  314. v-model="form.cwfzr"
  315. />
  316. </view>
  317. <view
  318. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  319. >
  320. <view class="input_title float_left">负责人电话:</view>
  321. <input
  322. disabled="true"
  323. style="color: #777"
  324. class="input_value float_left"
  325. placeholder="暂无"
  326. v-model="form.cwfzrdh"
  327. />
  328. </view>
  329. <view
  330. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  331. >
  332. <view class="input_title float_left">入驻类型</view>
  333. <div class="input_value float_left">
  334. {{ getDicType("type", form.settleInType) }}
  335. {{ form.settleInType }}
  336. </div>
  337. </view>
  338. <view
  339. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  340. style="display: flex"
  341. >
  342. <view class="input_title float_left">招商经理:</view>
  343. <view style="color: #777; font-size: 28rpx; width: 60%">
  344. {{ form.investmentManagerName }}
  345. </view>
  346. </view>
  347. <view
  348. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  349. >
  350. <view class="input_title float_left">所属楼盘:</view>
  351. <input
  352. disabled="true"
  353. style="color: #777"
  354. class="input_value float_left"
  355. placeholder="暂无"
  356. v-model="form.areaName"
  357. />
  358. </view>
  359. <view
  360. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  361. >
  362. <view class="input_title float_left">注册地址:</view>
  363. <input
  364. disabled="true"
  365. style="color: #777"
  366. class="input_value float_left"
  367. placeholder="暂无"
  368. v-model="form.zcdz"
  369. />
  370. </view>
  371. <view
  372. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  373. style="display: flex"
  374. >
  375. <view class="input_title mb16rpx">主营业务:</view>
  376. <div>
  377. <div
  378. style="display: flex; margin-bottom: 20rpx"
  379. v-for="(item, index) in form.jyfw"
  380. :key="index"
  381. >
  382. {{ item }}
  383. </div>
  384. </div>
  385. </view>
  386. <view class="width100 mt24rpx list_date height40rpx">
  387. <view class="input_title float_left" style="width: 52%"
  388. >营业执照副本:(限1张)</view
  389. >
  390. </view>
  391. <view class="custom-image-box" style="position: relative">
  392. <img
  393. :src="
  394. !form.yyzzfbzp ||
  395. form.yyzzfbzp == 'null' ||
  396. form.yyzzfbzp == '暂无'
  397. ? '../../../static/unuploadzhizhao.png'
  398. : BASE_URI + '/FileController/download/' + form.yyzzfbzp
  399. "
  400. style="color: #777; width: 300rpx; height: 260rpx"
  401. placeholder="请输入"
  402. />
  403. </view>
  404. <view
  405. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpxs"
  406. >
  407. <view class="input_title float_left">荣誉信息(限6张)</view>
  408. <textarea
  409. :maxlength="2000"
  410. placeholder="请输入"
  411. v-model="form.honorInformation"
  412. type="textarea"
  413. style="
  414. height: 270rpx;
  415. background: rgba(249, 249, 249, 1);
  416. padding: 20rpx;
  417. width: calc(100% - 40rpx);
  418. "
  419. />
  420. <div
  421. style="
  422. background: rgba(249, 249, 249, 1);
  423. text-align: right;
  424. padding-right: 10px;
  425. padding-bottom: 10rpx;
  426. margi-bottom: 10rpx;
  427. "
  428. >
  429. {{
  430. form.honorInformation ? form.honorInformation.length : 0
  431. }}/2000
  432. </div>
  433. <view
  434. class="custom-image-box"
  435. style="margin-top: 20rpx; display: flex"
  436. >
  437. <img
  438. v-for="item in form.ryxxzp"
  439. :key="item"
  440. :src="BASE_URI + '/FileController/download/' + item"
  441. class="idclass margin12rpx float_left"
  442. placeholder="请输入"
  443. />
  444. </view>
  445. </view>
  446. <view
  447. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  448. style="display: flex"
  449. >
  450. <view class="input_title float_left">关联企业:</view>
  451. <div style="color: #777; width: 60%" class="float_left">
  452. {{ form.associationCompanyName }}
  453. </div>
  454. </view>
  455. </div>
  456. </uni-collapse-item>
  457. </uni-collapse>
  458. </div>
  459. <div class="list-row" style="padding-top: 0">
  460. <uni-collapse v-model="value2" style="width: 100%">
  461. <uni-collapse-item
  462. title="关联社会载体"
  463. :open="true"
  464. @change="selectItems"
  465. >
  466. <view slot="title" class="uni-collapse-item__title-text"
  467. >关联社会载体
  468. </view>
  469. <div style="height: auto">
  470. <div
  471. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  472. style="display: flex; height: auto"
  473. >
  474. <div class="width30 first_title">自有</div>
  475. <div style="width: 60%" class="float_left font28rpx">
  476. {{
  477. form.socialCarrierStrName
  478. ? form.socialCarrierStrName
  479. : "暂无"
  480. }}
  481. </div>
  482. </div>
  483. <div
  484. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  485. style="display: flex; height: auto"
  486. >
  487. <div class="width30 first_title">租赁</div>
  488. <div style="width: 60%" class="float_left font28rpx">
  489. {{
  490. form.socialCarrierLeaseStrName
  491. ? form.socialCarrierLeaseStrName
  492. : "暂无"
  493. }}
  494. </div>
  495. </div>
  496. <div
  497. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  498. style="display: flex; height: auto"
  499. >
  500. <div class="width30 first_title">未确定</div>
  501. <div style="width: 60%" class="float_left font28rpx">
  502. {{
  503. form.socialCarrierNoTrueName
  504. ? form.socialCarrierNoTrueName
  505. : "暂无"
  506. }}
  507. </div>
  508. </div>
  509. </div>
  510. </uni-collapse-item>
  511. </uni-collapse>
  512. </div>
  513. <div class="list-row" style="padding-top: 0">
  514. <uni-collapse v-model="value2" style="width: 100%">
  515. <uni-collapse-item
  516. title="关联自有载体"
  517. :open="true"
  518. @change="selectItems"
  519. >
  520. <view slot="title" class="uni-collapse-item__title-text"
  521. >关联自有载体
  522. </view>
  523. <div style="height: auto">
  524. <div
  525. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  526. style="display: flex; height: auto"
  527. >
  528. <div class="width30 first_title">有合同</div>
  529. <div style="width: 60%" class="float_left font28rpx">
  530. {{
  531. !form.socialCarrierName ? "暂无" : form.socialCarrierName
  532. }}
  533. </div>
  534. </div>
  535. <div
  536. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  537. style="display: flex; height: auto"
  538. >
  539. <div class="width30 first_title">无合同</div>
  540. <div style="width: 60%" class="float_left font28rpx">
  541. {{
  542. form.contractCarrierNoStrName
  543. ? form.contractCarrierNoStrName
  544. : "暂无"
  545. }}
  546. </div>
  547. </div>
  548. </div>
  549. </uni-collapse-item>
  550. </uni-collapse>
  551. </div>
  552. <!-- <div class="list-row" style="padding-top: 0">
  553. <uni-collapse v-model="value1" style="width: 100%">
  554. <uni-collapse-item
  555. title="走访信息"
  556. :open="true"
  557. @change="selectItems"
  558. >
  559. <div
  560. style="height: auto; margin: 32rpx 0 32rpx 0"
  561. v-for="item in interviewList"
  562. :key="item.id"
  563. >
  564. <view
  565. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  566. >
  567. <view class="input_title float_left">走访时间:</view>
  568. <input
  569. disabled="true"
  570. style="color: #777"
  571. class="input_value float_left"
  572. placeholder="暂无"
  573. v-model="item.interviewTime"
  574. />
  575. </view>
  576. <view
  577. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  578. >
  579. <view class="input_title float_left">走访类型:</view>
  580. <div
  581. disabled="true"
  582. style="color: #777"
  583. class="input_value float_left"
  584. placeholder="暂无"
  585. >
  586. {{ getDicTypeZoufang(item.interviewType) }}
  587. </div>
  588. </view>
  589. <view
  590. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  591. style="display: flex"
  592. >
  593. <view class="input_title float_left">走访记录:</view>
  594. <div style="color: #777; width: 60%" class="float_left">
  595. {{ item.interviewRecord }}
  596. </div>
  597. </view>
  598. <view
  599. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  600. >
  601. <view class="input_title float_left">是否需要处理:</view>
  602. <div class="input_value float_left">
  603. <span style="color: #777" v-if="item.isStatus == 2">是</span>
  604. <span style="color: #777" v-if="item.isStatus == 1">否</span>
  605. </div>
  606. </view>
  607. <view
  608. v-if="item.isStatus == 2"
  609. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  610. >
  611. <view class="input_title float_left">处理人:</view>
  612. <input
  613. disabled="true"
  614. style="color: #777"
  615. class="input_value float_left"
  616. placeholder="暂无"
  617. v-model="item.handleUserName"
  618. />
  619. </view>
  620. <view
  621. v-if="item.isStatus == 2"
  622. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  623. style="display: flex"
  624. >
  625. <view class="input_title float_left">处理结果:</view>
  626. <div style="color: #777; width: 60%" class="float_left">
  627. {{
  628. !item.handleResult || item.handleResult == "null"
  629. ? ""
  630. : item.handleResult
  631. }}
  632. </div>
  633. </view>
  634. <div
  635. color="#1D18BC"
  636. class="dengjibutton"
  637. @click="openHandleReportDialog(item)"
  638. v-if="
  639. item.isStatus == 2 &&
  640. !item.handleUserName &&
  641. !item.handleResult
  642. "
  643. >
  644. 处理登记
  645. </div>
  646. <div
  647. color="#1D18BC"
  648. class="dengjibutton"
  649. style="background: #e6e8e9"
  650. v-if="
  651. item.isStatus != 2 ||
  652. (item.handleUserName && item.handleResult)
  653. "
  654. >
  655. 无需处理
  656. </div>
  657. </div>
  658. </uni-collapse-item>
  659. </uni-collapse>
  660. </div> -->
  661. </div>
  662. <handle-report ref="handleReport" @changeActive="changeActive" />
  663. </div>
  664. </template>
  665. <script>
  666. import {
  667. getCompanyHouseDetails,
  668. getByCodes,
  669. getCompanyTagsByQybq,
  670. interviewEscalationListAll,
  671. findCompanyTags,
  672. selectByCompanyId,
  673. getRoomNameByCompanyId,
  674. } from "@/js_sdk/http";
  675. import handleReport from "../companyreport/components/handlereport.vue";
  676. export default {
  677. components: {
  678. handleReport,
  679. },
  680. data() {
  681. return {
  682. BASE_URI: this.$constant.BASE_URI,
  683. id: "",
  684. qymcString: [],
  685. dic_SelectList: {},
  686. interviewList: [],
  687. dic_key: [
  688. "MNP_BUILDING_TYPE",
  689. "SETTLE_IN_STATUS",
  690. "interviewType",
  691. "CURRENCY",
  692. ],
  693. activeNames: [],
  694. StatusBar: 0,
  695. search: {
  696. pageSize: 10,
  697. pageNum: 1,
  698. },
  699. form: {
  700. id: "",
  701. settleInType: null,
  702. socialCarrierName: "123123",
  703. },
  704. // value: true,
  705. value1: true,
  706. value2: true,
  707. list: [],
  708. value: ["0"],
  709. modeIndex: -1,
  710. styleIndex: -1,
  711. current: 0,
  712. mode: "default",
  713. dotsStyles: {},
  714. swiperDotIndex: 0,
  715. };
  716. },
  717. onLoad(option) {
  718. try {
  719. this.id = option.id;
  720. this.getByCodes();
  721. } catch (error) {
  722. console.log(error);
  723. }
  724. },
  725. onShow() {
  726. this.findCompanyTags(this.id);
  727. },
  728. methods: {
  729. async getRoomNameByCompanyId() {
  730. let socialCarrierName = await getRoomNameByCompanyId({
  731. companyId: this.id,
  732. });
  733. this.form.socialCarrierName = socialCarrierName;
  734. },
  735. async selectByCompanyId1() {
  736. let zaiti = await selectByCompanyId({ companyId: this.id });
  737. console.log("zaitizaitizaitizaiti", zaiti);
  738. let socialCarrierStr = [];
  739. let socialCarrierStrName = [];
  740. let socialCarrierLeaseStr = [];
  741. let socialCarrierLeaseStrName = [];
  742. let socialCarrierNoTrue = [];
  743. let socialCarrierNoTrueName = [];
  744. let contractCarrierNoStr = [];
  745. let contractCarrierNoStrName = [];
  746. for (let i = 0; i < zaiti.length; i++) {
  747. let item = zaiti[i];
  748. console.log(item.propertyNature, item.socialType);
  749. if (item.propertyNature === "2" && item.socialType === "1") {
  750. socialCarrierStr.push(item.houseId);
  751. socialCarrierStrName.push(
  752. item.discName + item.groupName + item.buildName + item.houseName
  753. );
  754. }
  755. if (item.propertyNature === "2" && item.socialType === "2") {
  756. socialCarrierLeaseStr.push(item.houseId);
  757. socialCarrierLeaseStrName.push(
  758. item.discName + item.groupName + item.buildName + item.houseName
  759. );
  760. }
  761. if (item.propertyNature === "2" && item.socialType === "3") {
  762. socialCarrierNoTrue.push(item.houseId);
  763. socialCarrierNoTrueName.push(
  764. item.discName + item.groupName + item.buildName + item.houseName
  765. );
  766. }
  767. if (item.propertyNature === "1" && item.ownType === "2") {
  768. contractCarrierNoStr.push(item.houseId);
  769. contractCarrierNoStrName.push(
  770. item.discName + item.groupName + item.buildName + item.houseName
  771. );
  772. }
  773. }
  774. this.form.socialCarrierStr = socialCarrierStr.join(",");
  775. this.form.socialCarrierStrName = socialCarrierStrName.join(",");
  776. this.form.socialCarrierLeaseStr = socialCarrierLeaseStr.join(",");
  777. this.form.socialCarrierLeaseStrName = socialCarrierLeaseStrName.join(",");
  778. this.form.socialCarrierNoTrue = socialCarrierNoTrue.join(",");
  779. this.form.socialCarrierNoTrueName = socialCarrierNoTrueName.join(",");
  780. this.form.contractCarrierNoStr = contractCarrierNoStr.join(",");
  781. this.form.contractCarrierNoStrName = contractCarrierNoStrName.join(",");
  782. console.log(this.form);
  783. },
  784. async findCompanyTags(id) {
  785. let data = await findCompanyTags(id);
  786. this.qymcString = data.map((e) => {
  787. return e.tagName;
  788. });
  789. },
  790. jumpEditCompanyDetails(e) {
  791. uni.navigateTo({
  792. url: "/pages/subPackages/companyDetailsEdit/companyDetailsEdit?id=" + e,
  793. });
  794. },
  795. jumpDeleteTgas() {
  796. uni.navigateTo({
  797. url: "/pages/subPackages/companyTagsDelete/index?id=" + this.form.id,
  798. });
  799. },
  800. jumpChosseTags() {
  801. try {
  802. uni.navigateTo({
  803. url: "/pages/subPackages/chooseCompanyTags/index?id=" + this.form.id,
  804. });
  805. } catch (error) {}
  806. },
  807. openHandleReportDialog(item) {
  808. let that = this;
  809. that.$refs.handleReport.openDianlog(item);
  810. },
  811. getDicTypeZoufang(value) {
  812. if (!value && this.dic_SelectList.interviewType) return;
  813. let interviewType = this.dic_SelectList.interviewType;
  814. let index = interviewType.findIndex((e) => e.value == value);
  815. if (index != -1) return interviewType[index].label;
  816. },
  817. getDicType(type, value) {
  818. if (type == "money" && this.dic_SelectList.CURRENCY) {
  819. let CURRENCY = this.dic_SelectList.CURRENCY;
  820. let index = CURRENCY.findIndex((e) => e.value == value);
  821. if (index != -1) return CURRENCY[index].label;
  822. else return "暂无";
  823. }
  824. if (type == "type" && this.dic_SelectList.MNP_BUILDING_TYPE) {
  825. if (value) {
  826. let MNP_BUILDING_TYPE = this.dic_SelectList.MNP_BUILDING_TYPE;
  827. let index = MNP_BUILDING_TYPE.findIndex((e) => e.value == value);
  828. if (index != -1) {
  829. return MNP_BUILDING_TYPE[index].label;
  830. } else return "暂无";
  831. } else {
  832. return "";
  833. }
  834. }
  835. if (type == "zt" && this.dic_SelectList.SETTLE_IN_STATUS) {
  836. // console.log('entryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatus',value)
  837. // console.log('entryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatusentryStatus',this.dic_SelectList.SETTLE_IN_STATUS)
  838. let SETTLE_IN_STATUS = this.dic_SelectList.SETTLE_IN_STATUS;
  839. let index = SETTLE_IN_STATUS.findIndex((e) => e.value == value);
  840. if (index != -1) return SETTLE_IN_STATUS[index].label;
  841. else return "暂无";
  842. }
  843. },
  844. async getByCodes() {
  845. try {
  846. this.search.pageNum = 1;
  847. let data = await getByCodes(JSON.stringify(this.dic_key));
  848. this.dic_SelectList = this.$common.handleDicList(data);
  849. let interviewList = await interviewEscalationListAll(this.id);
  850. this.getCompanyHouseDetails(this.id);
  851. this.interviewList = interviewList;
  852. } catch (error) {
  853. console.log(error);
  854. }
  855. },
  856. async changeActive() {
  857. let interviewList = await interviewEscalationListAll(this.id);
  858. this.interviewList = interviewList;
  859. },
  860. selectItems(e) {
  861. this.$nextTick(() => {
  862. this.$refs.collapse.resize();
  863. });
  864. },
  865. choosefrsfzh_zhenmian() {
  866. let that = this;
  867. uni.previewImage({
  868. urls: [
  869. that.BASE_URI +
  870. "/FileController/download/" +
  871. that.form.frsfzh_zhenmian,
  872. ],
  873. longPressActions: {
  874. itemList: ["发送给朋友", "保存图片", "收藏"],
  875. success: function (data) {},
  876. fail: function (err) {},
  877. },
  878. });
  879. },
  880. choosefrsfzh_fanmian() {
  881. let that = this;
  882. uni.previewImage({
  883. urls: [
  884. that.BASE_URI +
  885. "/FileController/download/" +
  886. that.form.frsfzh_fanmian,
  887. ],
  888. longPressActions: {
  889. itemList: ["发送给朋友", "保存图片", "收藏"],
  890. success: function (data) {},
  891. fail: function (err) {},
  892. },
  893. });
  894. },
  895. async getCompanyHouseDetails(e) {
  896. try {
  897. let that = this;
  898. let detail = await getCompanyHouseDetails(e);
  899. let qymcString = await getCompanyTagsByQybq(detail.data.qybq);
  900. that.findCompanyTags(e);
  901. that.form = detail.data;
  902. console.log(detail.data.frsfzh);
  903. that.form.qymcString = qymcString;
  904. console.log(that.form.jyfw.split(","));
  905. that.form.jyfw = that.form.jyfw.split(",");
  906. if (detail.data.ryxxzp && detail.data.ryxxzp.length > 0) {
  907. that.form.ryxxzp = detail.data.ryxxzp.split(",");
  908. }
  909. if (detail.data.frsfzh && detail.data.frsfzh.length > 0) {
  910. let sfzlist = detail.data.frsfzh.split(",");
  911. that.form.frsfzh_fanmian = sfzlist[0];
  912. that.form.frsfzh_zhenmian = sfzlist[1];
  913. that.$forceUpdate();
  914. }
  915. for (const key in that.form) {
  916. if (that.form[key] == null || that.form[key] == "null") {
  917. // that.form[key] == undefined;
  918. that.form[key] = "暂无";
  919. }
  920. }
  921. that.selectByCompanyId1();
  922. this.getRoomNameByCompanyId();
  923. that.$forceUpdate();
  924. } catch (error) {}
  925. },
  926. onChange(event) {
  927. this.activeNames = event.detail;
  928. },
  929. },
  930. };
  931. </script>
  932. <style scoped lang="scss">
  933. .chaochuyincang {
  934. white-space: nowrap;
  935. overflow: hidden;
  936. text-overflow: ellipsis;
  937. }
  938. .form_row {
  939. height: 40rpx;
  940. font-weight: 400;
  941. font-size: 24rpx;
  942. }
  943. .dengjibutton {
  944. margin-top: 24rpx;
  945. margin-left: 60rpx;
  946. margin-right: 60rpx;
  947. width: calc(100% - 120rpx);
  948. height: 60rpx;
  949. text-align: center;
  950. background: #1d18bc;
  951. color: white;
  952. line-height: 60rpx;
  953. }
  954. .housedetails {
  955. margin-bottom: 200rpx;
  956. }
  957. .housedetails {
  958. .detailstitle {
  959. display: flex;
  960. font-size: 30rpx;
  961. font-weight: 500;
  962. color: #333333;
  963. padding-bottom: 16rpx;
  964. }
  965. .typestitle {
  966. display: flex;
  967. font-size: 24rpx;
  968. font-weight: 500;
  969. padding-bottom: 16rpx;
  970. margin-bottom: 16rpx;
  971. }
  972. }
  973. </style>
  974. <style lang="scss">
  975. ::v-deep .is-open + .uni-collapse-item__wrap {
  976. height: auto !important;
  977. }
  978. ::v-deep .uni-collapse-item__wrap-content {
  979. height: auto !important;
  980. }
  981. .pageconfig {
  982. background: #ffffff;
  983. padding: 32rpx;
  984. }
  985. .input_title {
  986. min-width: 40%;
  987. font-size: 28rpx;
  988. height: 40rpx;
  989. line-height: 40rpx;
  990. color: #333333;
  991. }
  992. .input_value {
  993. // width: 60%;
  994. font-size: 28rpx;
  995. height: 40rpx;
  996. line-height: 40rpx;
  997. color: #777777;
  998. }
  999. .uni-collapse-item__title-box {
  1000. padding: 0 !important;
  1001. }
  1002. .uni-collapse-item__title-text {
  1003. color: #1d18bc !important;
  1004. font-size: 32rpx !important;
  1005. margin: 32rpx 0;
  1006. font-weight: bold;
  1007. }
  1008. .idclass {
  1009. width: 147rpx;
  1010. height: 100rpx;
  1011. }
  1012. </style>