companyDetails.vue 38 KB

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