guarantyResult.vue 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310
  1. <template>
  2. <div class="contrl">
  3. <div class="title-div">
  4. <span>完善估价对象实物信息</span>
  5. <el-button class="genBtn" plain type="danger" @click="genResultDoc()">生成《房地产抵押估价结果报告》
  6. <el-icon style="vertical-align: -20%;">
  7. <ArrowRightBold />
  8. </el-icon>
  9. </el-button>
  10. </div>
  11. <el-tabs v-model="activeName" class="targets-tabs" type="border-card">
  12. <el-tab-pane :label="'估价对象' + t.tid" :name="t.tid" :lazy="true" v-for="(t, index) in targets">
  13. <div class="targetTable">
  14. <el-table :data="t.aims" border stripe size="default" ref="multipleTableRef"
  15. :header-row-style="{ color: '#333333', 'font-size': '16px' }"
  16. style="color: #333333; font-size: 16px;" @selection-change="handleSelectionChange">
  17. <el-table-column type="selection" width="55" align="center" />
  18. <el-table-column prop="tid" label="估价对象" width="80" align="center" />
  19. <el-table-column prop="tno" label="序号" width="60" align="center" />
  20. <el-table-column prop="certificateNo" label="权属证书号" width="220" align="center" />
  21. <el-table-column prop="ownShipUser" label="权利人" show-overflow-tooltip
  22. align="center" />
  23. <el-table-column prop="location" label="坐落" show-overflow-tooltip width="300" align="center" />
  24. <el-table-column prop="lngLat" label="经纬度" show-overflow-tooltip width="200"
  25. align="center" />
  26. <!-- <el-table-column prop="atFloor" label="所在楼层" width="60" align="center" />
  27. <el-table-column prop="structure" label="结构" width="60" align="center" />
  28. <el-table-column prop="useTo" label="用途" width="60" align="center" />
  29. <el-table-column prop="outerAcreage" label="分摊或占用土地使用权面积(㎡)" align="center" />
  30. <el-table-column prop="acreage" label="建筑面积(㎡)" width="60" align="center" />
  31. <el-table-column prop="price" label="单价(元/㎡)" width="60" align="center" />
  32. <el-table-column prop="amount" label="总价(万元)" width="60" align="center" />
  33. <el-table-column prop="landCertificateNo" label="国有土地使用证号" align="center" />
  34. <el-table-column prop="landType" label="地类(用途)" width="60" align="center" /> -->
  35. <el-table-column label="操作" width="160" align="center">
  36. <template v-slot="scope">
  37. <el-button type="text" @click="addEntityInfo(scope.row.tid, scope.row.tno)">实物信息</el-button>
  38. <el-button type="text" @click="getAreaInfoByLngLat(scope.row.lngLat,scope.row.docId,scope.row.tid, scope.row.tno,scope.row.location)">区位信息</el-button>
  39. </template>
  40. </el-table-column>
  41. </el-table>
  42. </div>
  43. </el-tab-pane>
  44. </el-tabs>
  45. <div style="margin-top: 40px;">
  46. <div class="demo-button-style">
  47. <!-- <el-checkbox-group v-model="targetPoint">
  48. <el-checkbox-button v-for="p in t.list" :key="p.no" :value="p.no">
  49. {{ p.no }}
  50. </el-checkbox-button>
  51. </el-checkbox-group> -->
  52. </div>
  53. <amap ref="map" :targetPoint="targetPoint" @getPOIData="getPOIData"></amap>
  54. </div>
  55. <el-dialog v-model="entityInfoDialog" width="85%" align-center @closed="cleanId">
  56. <h2>估价对象{{ tId }}序号{{ tNo }}</h2>
  57. <el-form :model="entityInfo" label-width="180" style="margin-top: 10px;">
  58. <el-divider content-position="left"><span style="color:#ff6154;">实物状况</span></el-divider>
  59. <el-row :gutter="24">
  60. <el-col :span="6">
  61. <el-form-item label="小区名称:" class="form-item" >
  62. <el-input v-model="entityInfo.communityName" clearable>
  63. </el-input>
  64. </el-form-item>
  65. </el-col>
  66. <el-col :span="6">
  67. <el-form-item label="栋号:" class="form-item" >
  68. <el-input v-model="entityInfo.buildingNo" clearable>
  69. <template #append>
  70. <span>栋</span>
  71. </template>
  72. </el-input>
  73. </el-form-item>
  74. </el-col>
  75. <el-col :span="6">
  76. <el-form-item label="竣工年代:" class="form-item" >
  77. <el-date-picker
  78. v-model="entityInfo.houseAge"
  79. type="year"
  80. placeholder="请选择"
  81. value-format="YYYY年"
  82. />
  83. </el-form-item>
  84. </el-col>
  85. <el-col :span="6">
  86. <el-form-item label="使用状况:" class="form-item" >
  87. <el-select v-model="entityInfo.useInfo" clearable placeholder="请选择">
  88. <el-option label="出租" value="出租" />
  89. <el-option label="自用" value="自用" />
  90. <el-option label="空置" value="空置" />
  91. </el-select>
  92. </el-form-item>
  93. </el-col>
  94. </el-row>
  95. <el-row :gutter="24">
  96. <el-col :span="6">
  97. <el-form-item label="产权/实际用途:" class="form-item" >
  98. <el-input v-model="entityInfo.useTo" clearable>
  99. </el-input>
  100. </el-form-item>
  101. </el-col>
  102. <el-col :span="6">
  103. <el-form-item label="建筑外观:" class="form-item" >
  104. <el-select v-model="entityInfo.buildingOut" clearable placeholder="请选择">
  105. <el-option label="水泥搓砂" value="水泥搓砂" />
  106. <el-option label="水刷石" value="水刷石" />
  107. <el-option label="刷外墙涂料" value="刷外墙涂料" />
  108. <el-option label="贴外墙砖" value="贴外墙砖" />
  109. <el-option label="真石漆" value="真石漆" />
  110. <el-option label="外墙复合材料" value="外墙复合材料" />
  111. <el-option label="干挂石材" value="干挂石材" />
  112. </el-select>
  113. </el-form-item>
  114. </el-col>
  115. <el-col :span="6">
  116. <el-form-item label="所在层:" class="form-item" >
  117. <el-input-number v-model="entityInfo.atFloor" clearable />
  118. </el-form-item>
  119. </el-col>
  120. <el-col :span="6">
  121. <el-form-item label="总楼层:" class="form-item" >
  122. <el-input-number v-model="entityInfo.floor" clearable />
  123. </el-form-item>
  124. </el-col>
  125. </el-row>
  126. <el-row :gutter="24">
  127. <el-col :span="6">
  128. <el-form-item label="载人电梯(数量):" class="form-item" >
  129. <el-input-number v-model="entityInfo.elevator" clearable />
  130. </el-form-item>
  131. </el-col>
  132. <el-col :span="6">
  133. <el-form-item label="层高(米):" class="form-item" >
  134. <el-input-number v-model="entityInfo.roomHigh" clearable />
  135. </el-form-item>
  136. </el-col>
  137. <el-col :span="6">
  138. <el-form-item label="户型布局:" class="form-item" >
  139. <el-input v-model="entityInfo.roomType" clearable></el-input>
  140. </el-form-item>
  141. </el-col>
  142. <el-col :span="6">
  143. <el-form-item label="成新率:" class="form-item" >
  144. <el-select v-model="entityInfo.newPercentage" clearable placeholder="请选择">
  145. <el-option label="全新" value="全新" />
  146. <el-option label="九成新" value="九成新" />
  147. <el-option label="八至九成新" value="八至九成新" />
  148. <el-option label="七至八成新" value="七至八成新" />
  149. <el-option label="六至七成新" value="六至七成新" />
  150. <el-option label="六成新以下" value="六成新以下" />
  151. </el-select>
  152. </el-form-item>
  153. </el-col>
  154. </el-row>
  155. <el-row :gutter="24">
  156. <el-col :span="6">
  157. <el-form-item label="建筑结构:" class="form-item" >
  158. <el-input v-model="entityInfo.buildingStructure" clearable></el-input>
  159. </el-form-item>
  160. </el-col>
  161. <el-col :span="6">
  162. <el-form-item label="基本设施:" class="form-item" >
  163. <el-select v-model="entityInfo.baseFacility" clearable placeholder="请选择">
  164. <el-option label="不通气" value="不通气" />
  165. <el-option label="通气" value="通气" />
  166. <el-option label="通气通暖" value="通气通暖" />
  167. </el-select>
  168. </el-form-item>
  169. </el-col>
  170. <el-col :span="6">
  171. <el-form-item label="中央空调:" class="form-item" >
  172. <el-radio-group v-model="entityInfo.centerAirConditioning">
  173. <el-radio :value="true">是</el-radio>
  174. <el-radio :value="false" >否</el-radio>
  175. </el-radio-group>
  176. </el-form-item>
  177. </el-col>
  178. <el-col :span="6">
  179. <el-form-item label="自动喷淋:" class="form-item" >
  180. <el-radio-group v-model="entityInfo.autoSpray">
  181. <el-radio :value="true">是</el-radio>
  182. <el-radio :value="false" >否</el-radio>
  183. </el-radio-group>
  184. </el-form-item>
  185. </el-col>
  186. </el-row>
  187. <el-row :gutter="24">
  188. <el-col :span="6">
  189. <el-form-item label="烟感报警:" class="form-item" >
  190. <el-radio-group v-model="entityInfo.smogEmergency">
  191. <el-radio :value="true">是</el-radio>
  192. <el-radio :value="false" >否</el-radio>
  193. </el-radio-group>
  194. </el-form-item>
  195. </el-col>
  196. <el-col :span="6">
  197. <el-form-item label="消防栓:" class="form-item" >
  198. <el-radio-group v-model="entityInfo.fireHydrant">
  199. <el-radio :value="true">是</el-radio>
  200. <el-radio :value="false" >否</el-radio>
  201. </el-radio-group>
  202. </el-form-item>
  203. </el-col>
  204. <el-col :span="6">
  205. <el-form-item label="网线光纤:" class="form-item" >
  206. <el-radio-group v-model="entityInfo.netLine">
  207. <el-radio :value="true">是</el-radio>
  208. <el-radio :value="false" >否</el-radio>
  209. </el-radio-group>
  210. </el-form-item>
  211. </el-col>
  212. <el-col :span="6">
  213. <el-form-item label="可视对讲系统:" class="form-item" >
  214. <el-radio-group v-model="entityInfo.visualSys">
  215. <el-radio :value="true">是</el-radio>
  216. <el-radio :value="false" >否</el-radio>
  217. </el-radio-group>
  218. </el-form-item>
  219. </el-col>
  220. </el-row>
  221. <el-row :gutter="24">
  222. <el-col :span="6">
  223. <el-form-item label="办公智慧系统:" class="form-item" >
  224. <el-radio-group v-model="entityInfo.officeSmartSys">
  225. <el-radio :value="true">是</el-radio>
  226. <el-radio :value="false" >否</el-radio>
  227. </el-radio-group>
  228. </el-form-item>
  229. </el-col>
  230. </el-row>
  231. <el-divider content-position="left"><span style="color:#ff6154;">装饰装修</span></el-divider>
  232. <el-row :gutter="24">
  233. <el-col :span="6">
  234. <el-form-item label="客厅地面:" class="form-item" >
  235. <el-select v-model="entityInfo.livingroomGround"
  236. filterable
  237. allow-create
  238. default-first-option
  239. :reserve-keyword="false">
  240. <el-option label="贴400*400地砖" value="贴400*400地砖" />
  241. <el-option label="贴600*600地砖" value="贴600*600地砖" />
  242. <el-option label="贴800*800地砖" value="贴800*800地砖" />
  243. <el-option label="铺实木地板" value="铺实木地板" />
  244. <el-option label="铺强化木地板" value="铺强化木地板" />
  245. <el-option label="贴防滑地砖" value="贴防滑地砖" />
  246. <el-option label="铺马赛克" value="铺马赛克" />
  247. <el-option label="为水泥地坪" value="为水泥地坪" />
  248. <el-option label="为水泥砂浆找平" value="为水泥砂浆找平" />
  249. <el-option label="铺地毯" value="铺地毯" />
  250. <el-option label="刷地坪漆" value="刷地坪漆" />
  251. <el-option label="其它" value="其它" />
  252. </el-select>
  253. </el-form-item>
  254. </el-col>
  255. <el-col :span="6">
  256. <el-form-item label="客厅天棚:" class="form-item" >
  257. <el-select v-model="entityInfo.livingroomTop"
  258. filterable
  259. allow-create
  260. default-first-option
  261. :reserve-keyword="false">
  262. <el-option label="水泥砂浆刮平" value="水泥砂浆刮平" />
  263. <el-option label="白色腻子刮平" value="白色腻子刮平" />
  264. <el-option label="刷乳胶漆" value="刷乳胶漆" />
  265. <el-option label="安装石膏吊角线" value="安装石膏吊角线" />
  266. <el-option label="石膏板吊顶装饰" value="石膏板吊顶装饰" />
  267. <el-option label="石膏板吊边顶" value="石膏板吊边顶" />
  268. <el-option label="木质吊顶装饰" value="木质吊顶装饰" />
  269. <el-option label="金属网格吊顶" value="金属网格吊顶" />
  270. <el-option label="塑料扣板吊顶" value="塑料扣板吊顶" />
  271. <el-option label="铝扣板吊顶" value="铝扣板吊顶" />
  272. <el-option label="矿棉板吊顶" value="矿棉板吊顶" />
  273. <el-option label="其它" value="其它" />
  274. </el-select>
  275. </el-form-item>
  276. </el-col>
  277. <el-col :span="6">
  278. <el-form-item label="客厅内墙:" class="form-item" >
  279. <el-select v-model="entityInfo.livingroomWall" allow-create clearable default-first-option placeholder="请选择">
  280. <el-option label="水泥砂浆刮平" value="水泥砂浆刮平" />
  281. <el-option label="白色腻子刮平" value="白色腻子刮平" />
  282. <el-option label="刷乳胶漆" value="刷乳胶漆" />
  283. <el-option label="贴墙砖" value="贴墙砖" />
  284. <el-option label="木包装饰" value="木包装饰" />
  285. <el-option label="软包装饰" value="软包装饰" />
  286. <el-option label="贴墙纸" value="贴墙纸" />
  287. <el-option label="贴墙布" value="贴墙布" />
  288. <el-option label="刷白色涂料" value="刷白色涂料" />
  289. <el-option label="局部木质墙裙,其余部分刷乳胶漆" value="局部木质墙裙,其余部分刷乳胶漆" />
  290. <el-option label="瓷砖墙裙,其余部分刷乳胶漆" value="瓷砖墙裙,其余部分刷乳胶漆" />
  291. </el-select>
  292. </el-form-item>
  293. </el-col>
  294. <el-col :span="6">
  295. <el-form-item label="客厅其他部分:" class="form-item" >
  296. <el-select v-model="entityInfo.livingroomOther" allow-create clearable default-first-option placeholder="请选择">
  297. <el-option label="入户安装防盗门" value="入户安装防盗门" />
  298. <el-option label="入户安装防火门" value="入户安装防火门" />
  299. <el-option label="入户安装铁门" value="入户安装铁门" />
  300. <el-option label="入户安装实木门" value="入户安装实木门" />
  301. </el-select>
  302. </el-form-item>
  303. </el-col>
  304. </el-row>
  305. <el-row :gutter="24">
  306. <el-col :span="6">
  307. <el-form-item label="卧室地面:" class="form-item" >
  308. <el-select v-model="entityInfo.bedroomGround"
  309. filterable
  310. allow-create
  311. default-first-option
  312. :reserve-keyword="false">
  313. <el-option label="贴400*400地砖" value="贴400*400地砖" />
  314. <el-option label="贴600*600地砖" value="贴600*600地砖" />
  315. <el-option label="贴800*800地砖" value="贴800*800地砖" />
  316. <el-option label="铺实木地板" value="铺实木地板" />
  317. <el-option label="铺强化木地板" value="铺强化木地板" />
  318. <el-option label="贴防滑地砖" value="贴防滑地砖" />
  319. <el-option label="铺马赛克" value="铺马赛克" />
  320. <el-option label="为水泥地坪" value="为水泥地坪" />
  321. <el-option label="为水泥砂浆找平" value="为水泥砂浆找平" />
  322. <el-option label="铺地毯" value="铺地毯" />
  323. <el-option label="刷地坪漆" value="刷地坪漆" />
  324. <el-option label="其它" value="其它" />
  325. </el-select>
  326. </el-form-item>
  327. </el-col>
  328. <el-col :span="6">
  329. <el-form-item label="卧室天棚:" class="form-item" >
  330. <el-select v-model="entityInfo.bedroomTop"
  331. filterable
  332. allow-create
  333. default-first-option
  334. :reserve-keyword="false">
  335. <el-option label="水泥砂浆刮平" value="水泥砂浆刮平" />
  336. <el-option label="白色腻子刮平" value="白色腻子刮平" />
  337. <el-option label="刷乳胶漆" value="刷乳胶漆" />
  338. <el-option label="安装石膏吊角线" value="安装石膏吊角线" />
  339. <el-option label="石膏板吊顶装饰" value="石膏板吊顶装饰" />
  340. <el-option label="石膏板吊边顶" value="石膏板吊边顶" />
  341. <el-option label="木质吊顶装饰" value="木质吊顶装饰" />
  342. <el-option label="金属网格吊顶" value="金属网格吊顶" />
  343. <el-option label="塑料扣板吊顶" value="塑料扣板吊顶" />
  344. <el-option label="铝扣板吊顶" value="铝扣板吊顶" />
  345. <el-option label="矿棉板吊顶" value="矿棉板吊顶" />
  346. <el-option label="其它" value="其它" />
  347. </el-select>
  348. </el-form-item>
  349. </el-col>
  350. <el-col :span="6">
  351. <el-form-item label="卧室内墙:" class="form-item" >
  352. <el-select v-model="entityInfo.bedroomWall" allow-create clearable default-first-option placeholder="请选择">
  353. <el-option label="水泥砂浆刮平" value="水泥砂浆刮平" />
  354. <el-option label="白色腻子刮平" value="白色腻子刮平" />
  355. <el-option label="刷乳胶漆" value="刷乳胶漆" />
  356. <el-option label="贴墙砖" value="贴墙砖" />
  357. <el-option label="木包装饰" value="木包装饰" />
  358. <el-option label="软包装饰" value="软包装饰" />
  359. <el-option label="贴墙纸" value="贴墙纸" />
  360. <el-option label="贴墙布" value="贴墙布" />
  361. <el-option label="刷白色涂料" value="刷白色涂料" />
  362. <el-option label="局部木质墙裙,其余部分刷乳胶漆" value="局部木质墙裙,其余部分刷乳胶漆" />
  363. <el-option label="瓷砖墙裙,其余部分刷乳胶漆" value="瓷砖墙裙,其余部分刷乳胶漆" />
  364. </el-select>
  365. </el-form-item>
  366. </el-col>
  367. <el-col :span="6">
  368. <el-form-item label="卧室其他部分:" class="form-item" >
  369. <el-select v-model="entityInfo.bedroomOther" allow-create clearable default-first-option placeholder="请选择">
  370. <el-option label="入户安装防盗门" value="入户安装防盗门" />
  371. <el-option label="入户安装防火门" value="入户安装防火门" />
  372. <el-option label="入户安装铁门" value="入户安装铁门" />
  373. <el-option label="入户安装实木门" value="入户安装实木门" />
  374. </el-select>
  375. </el-form-item>
  376. </el-col>
  377. </el-row>
  378. <el-row :gutter="24">
  379. <el-col :span="6">
  380. <el-form-item label="厨房及卫生间地面:" class="form-item" >
  381. <el-select v-model="entityInfo.bathroomGround"
  382. filterable
  383. allow-create
  384. default-first-option
  385. :reserve-keyword="false">
  386. <el-option label="贴400*400地砖" value="贴400*400地砖" />
  387. <el-option label="贴600*600地砖" value="贴600*600地砖" />
  388. <el-option label="贴800*800地砖" value="贴800*800地砖" />
  389. <el-option label="铺实木地板" value="铺实木地板" />
  390. <el-option label="铺强化木地板" value="铺强化木地板" />
  391. <el-option label="贴防滑地砖" value="贴防滑地砖" />
  392. <el-option label="铺马赛克" value="铺马赛克" />
  393. <el-option label="为水泥地坪" value="为水泥地坪" />
  394. <el-option label="为水泥砂浆找平" value="为水泥砂浆找平" />
  395. <el-option label="铺地毯" value="铺地毯" />
  396. <el-option label="刷地坪漆" value="刷地坪漆" />
  397. <el-option label="其它" value="其它" />
  398. </el-select>
  399. </el-form-item>
  400. </el-col>
  401. <el-col :span="6">
  402. <el-form-item label="厨房及卫生间天棚:" class="form-item" >
  403. <el-select v-model="entityInfo.bathroomTop"
  404. filterable
  405. allow-create
  406. default-first-option
  407. :reserve-keyword="false">
  408. <el-option label="水泥砂浆刮平" value="水泥砂浆刮平" />
  409. <el-option label="白色腻子刮平" value="白色腻子刮平" />
  410. <el-option label="刷乳胶漆" value="刷乳胶漆" />
  411. <el-option label="安装石膏吊角线" value="安装石膏吊角线" />
  412. <el-option label="石膏板吊顶装饰" value="石膏板吊顶装饰" />
  413. <el-option label="石膏板吊边顶" value="石膏板吊边顶" />
  414. <el-option label="木质吊顶装饰" value="木质吊顶装饰" />
  415. <el-option label="金属网格吊顶" value="金属网格吊顶" />
  416. <el-option label="塑料扣板吊顶" value="塑料扣板吊顶" />
  417. <el-option label="铝扣板吊顶" value="铝扣板吊顶" />
  418. <el-option label="矿棉板吊顶" value="矿棉板吊顶" />
  419. <el-option label="其它" value="其它" />
  420. </el-select>
  421. </el-form-item>
  422. </el-col>
  423. <el-col :span="6">
  424. <el-form-item label="厨房及卫生间内墙:" class="form-item" >
  425. <el-select v-model="entityInfo.bathroomWall" allow-create clearable default-first-option placeholder="请选择">
  426. <el-option label="水泥砂浆刮平" value="水泥砂浆刮平" />
  427. <el-option label="白色腻子刮平" value="白色腻子刮平" />
  428. <el-option label="刷乳胶漆" value="刷乳胶漆" />
  429. <el-option label="贴墙砖" value="贴墙砖" />
  430. <el-option label="木包装饰" value="木包装饰" />
  431. <el-option label="软包装饰" value="软包装饰" />
  432. <el-option label="贴墙纸" value="贴墙纸" />
  433. <el-option label="贴墙布" value="贴墙布" />
  434. <el-option label="刷白色涂料" value="刷白色涂料" />
  435. <el-option label="局部木质墙裙,其余部分刷乳胶漆" value="局部木质墙裙,其余部分刷乳胶漆" />
  436. <el-option label="瓷砖墙裙,其余部分刷乳胶漆" value="瓷砖墙裙,其余部分刷乳胶漆" />
  437. </el-select>
  438. </el-form-item>
  439. </el-col>
  440. <el-col :span="6">
  441. <el-form-item label="厨房及卫生间其他部分:" class="form-item" >
  442. <el-select v-model="entityInfo.bathroomOther" allow-create clearable default-first-option placeholder="请选择">
  443. <el-option label="入户安装防盗门" value="入户安装防盗门" />
  444. <el-option label="入户安装防火门" value="入户安装防火门" />
  445. <el-option label="入户安装铁门" value="入户安装铁门" />
  446. <el-option label="入户安装实木门" value="入户安装实木门" />
  447. </el-select>
  448. </el-form-item>
  449. </el-col>
  450. </el-row>
  451. <el-row :gutter="24">
  452. </el-row>
  453. <el-row :gutter="24">
  454. <el-col :span="24">
  455. <el-form-item label="土地开发程度:" class="form-item" >
  456. <el-select v-model="entityInfo.landDeep" clearable placeholder="请选择" style="width: 100%;">
  457. <el-option label="宗地外“六通”(通上水、通下水、通电、通气、通路、通讯)、宗地内“五通一平”(通上水、通下水、通讯、通电、通路、场地平整)"
  458. value="宗地外“六通”(通上水、通下水、通电、通气、通路、通讯)、宗地内“五通一平”(通上水、通下水、通讯、通电、通路、场地平整)" />
  459. <el-option label="宗地外“六通”(通上水、通下水、通电、通气、通路、通讯)、宗地内“六通一平”(通上水、通下水、通讯、通电、通气、通路、场地平整)"
  460. value="宗地外“六通”(通上水、通下水、通电、通气、通路、通讯)、宗地内“六通一平”(通上水、通下水、通讯、通电、通气、通路、场地平整)" />
  461. </el-select>
  462. </el-form-item>
  463. </el-col>
  464. </el-row>
  465. <el-divider content-position="left"><span style="color:#ff6154;">项目四至</span></el-divider>
  466. <el-row :gutter="24">
  467. <el-col :span="6">
  468. <el-form-item label="东至:" class="form-item" >
  469. <el-input v-model="entityInfo.eastWay" clearable>
  470. </el-input>
  471. </el-form-item>
  472. </el-col>
  473. <el-col :span="6">
  474. <el-form-item label="西至:" class="form-item" >
  475. <el-input v-model="entityInfo.westWay" clearable>
  476. </el-input>
  477. </el-form-item>
  478. </el-col>
  479. <el-col :span="6">
  480. <el-form-item label="南至:" class="form-item" >
  481. <el-input v-model="entityInfo.southWay" clearable>
  482. </el-input>
  483. </el-form-item>
  484. </el-col>
  485. <el-col :span="6">
  486. <el-form-item label="北至:" class="form-item" >
  487. <el-input v-model="entityInfo.northWay" clearable>
  488. </el-input>
  489. </el-form-item>
  490. </el-col>
  491. </el-row>
  492. </el-form>
  493. <template #footer>
  494. <div class="dialog-footer">
  495. <el-popover
  496. placement="top-start"
  497. :width="200"
  498. trigger="hover"
  499. content="将此实物信息复制到其他标的物。减少填写麻烦,个别字段若需修改可手动调整。"
  500. >
  501. <template #reference>
  502. <el-button type="success" @click="copyEntityInfo()">复制到其他标的</el-button>
  503. </template>
  504. </el-popover>
  505. <el-button @click="entityInfoDialog = false">取消</el-button>
  506. <el-button type="danger" @click="removeEntityInfo()">删除</el-button>
  507. <el-button type="primary" @click="saveEntityInfo()">
  508. 保存
  509. </el-button>
  510. </div>
  511. </template>
  512. </el-dialog>
  513. <el-dialog v-model="areaInfoDialog" width="85%" align-center @closed="cleanLngLat">
  514. <h2>估价对象{{ tId }}序号{{ tNo }}</h2>
  515. <div class="infoType">
  516. <el-divider content-position="left">
  517. <span class="infoTitle">道路</span>
  518. <el-tooltip
  519. class="box-item"
  520. effect="light"
  521. content="刷新"
  522. placement="top-start"
  523. >
  524. <span class="refresh" @click="refreshRoad"><el-icon><Refresh /></el-icon></span>
  525. </el-tooltip>
  526. </el-divider>
  527. <div style="padding-left: 100px;">
  528. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.road" @click="removeRoad(r)">
  529. {{(index+1) +'、'+ r }}
  530. </span>
  531. </div>
  532. </div>
  533. <div class="infoType">
  534. <el-divider content-position="left">
  535. <span class="infoTitle">公共交通</span>
  536. <el-tooltip
  537. class="box-item"
  538. effect="light"
  539. content="刷新"
  540. placement="top-start"
  541. >
  542. <span class="refresh" @click="refreshPublicTransport"><el-icon><Refresh /></el-icon></span>
  543. </el-tooltip>
  544. </el-divider>
  545. <div style="padding-left: 100px;">
  546. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.publicTransport" @click="removePublicTransport(r)">
  547. {{(index+1) +'、'+ r }}
  548. </span>
  549. </div>
  550. </div>
  551. <div class="infoType">
  552. <el-divider content-position="left">
  553. <span class="infoTitle">停车场</span>
  554. <el-tooltip
  555. class="box-item"
  556. effect="light"
  557. content="刷新"
  558. placement="top-start"
  559. >
  560. <span class="refresh" @click="refreshPark"><el-icon><Refresh /></el-icon></span>
  561. </el-tooltip>
  562. </el-divider>
  563. <div style="padding-left: 100px;">
  564. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.park" @click="removePark(r)">
  565. {{(index+1) +'、'+ r }}
  566. </span>
  567. </div>
  568. </div>
  569. <div class="infoType">
  570. <el-divider content-position="left">
  571. <span class="infoTitle">商场</span>
  572. <el-tooltip
  573. class="box-item"
  574. effect="light"
  575. content="刷新"
  576. placement="top-start"
  577. >
  578. <span class="refresh" @click="refreshBusiness"><el-icon><Refresh /></el-icon></span>
  579. </el-tooltip>
  580. </el-divider>
  581. <div style="padding-left: 100px;">
  582. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.business" @click="removeBusiness(r)">
  583. {{(index+1) +'、'+ r}}
  584. </span>
  585. </div>
  586. </div>
  587. <div class="infoType">
  588. <el-divider content-position="left">
  589. <span class="infoTitle">周边小区</span>
  590. <el-tooltip
  591. class="box-item"
  592. effect="light"
  593. content="刷新"
  594. placement="top-start"
  595. >
  596. <span class="refresh" @click="refreshCommunity"><el-icon><Refresh /></el-icon></span>
  597. </el-tooltip>
  598. </el-divider>
  599. <div style="padding-left: 100px;">
  600. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.community" @click="removeCommunity(r)">
  601. {{(index+1) +'、'+ r }}
  602. </span>
  603. </div>
  604. </div>
  605. <div class="infoType">
  606. <el-divider content-position="left">
  607. <span class="infoTitle">教育机构</span>
  608. <el-tooltip
  609. class="box-item"
  610. effect="light"
  611. content="刷新"
  612. placement="top-start"
  613. >
  614. <span class="refresh" @click="refreshEducation"><el-icon><Refresh /></el-icon></span>
  615. </el-tooltip>
  616. </el-divider>
  617. <div style="padding-left: 100px;">
  618. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.education" @click="removeEducation(r)">
  619. {{(index+1) +'、'+ r }}
  620. </span>
  621. </div>
  622. </div>
  623. <div class="infoType">
  624. <el-divider content-position="left">
  625. <span class="infoTitle">医院</span>
  626. <el-tooltip
  627. class="box-item"
  628. effect="light"
  629. content="刷新"
  630. placement="top-start"
  631. >
  632. <span class="refresh" @click="refreshHospital"><el-icon><Refresh /></el-icon></span>
  633. </el-tooltip>
  634. </el-divider>
  635. <div style="padding-left: 100px;">
  636. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.hospital" @click="removeHospital(r)">
  637. {{(index+1) +'、'+ r }}
  638. </span>
  639. </div>
  640. </div>
  641. <div class="infoType">
  642. <el-divider content-position="left">
  643. <span class="infoTitle">银行</span>
  644. <el-tooltip
  645. class="box-item"
  646. effect="light"
  647. content="刷新"
  648. placement="top-start"
  649. >
  650. <span class="refresh" @click="refreshBank"><el-icon><Refresh /></el-icon></span>
  651. </el-tooltip>
  652. </el-divider>
  653. <div style="padding-left: 100px;">
  654. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.bank" @click="removeBank(r)">
  655. {{(index+1) +'、'+ r }}
  656. </span>
  657. </div>
  658. </div>
  659. <div class="infoType">
  660. <el-divider content-position="left">
  661. <span class="infoTitle">酒店宾馆</span>
  662. <el-tooltip
  663. class="box-item"
  664. effect="light"
  665. content="刷新"
  666. placement="top-start"
  667. >
  668. <span class="refresh" @click="refreshHotal"><el-icon><Refresh /></el-icon></span>
  669. </el-tooltip>
  670. </el-divider>
  671. <div style="padding-left: 100px;">
  672. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.hotel" @click="removeHotel(r)">
  673. {{(index+1) +'、'+ r }}
  674. </span>
  675. </div>
  676. </div>
  677. <div class="infoType">
  678. <el-divider content-position="left">
  679. <span class="infoTitle">风景名胜</span>
  680. <el-tooltip
  681. class="box-item"
  682. effect="light"
  683. content="刷新"
  684. placement="top-start"
  685. >
  686. <span class="refresh" @click="refreshSpot"><el-icon><Refresh /></el-icon></span>
  687. </el-tooltip>
  688. </el-divider>
  689. <div style="padding-left: 100px;">
  690. <span class="infoItem" closable type="primary" v-for="(r ,index) in areaInfo.spot" @click="removeSpot(r)">
  691. {{(index+1) +'、'+ r.name }}
  692. </span>
  693. </div>
  694. </div>
  695. <template #footer>
  696. <div class="dialog-footer">
  697. <el-button @click="entityInfoDialog = false">取消</el-button>
  698. <el-button type="primary" @click="saveAreaInfo()">
  699. 保存
  700. </el-button>
  701. </div>
  702. </template>
  703. </el-dialog>
  704. </div>
  705. </template>
  706. <script>
  707. import houseGuaranty from '@/api/houseGuaranty';
  708. import houseTargetEntity from '@/api/houseTargetEntity';
  709. import houseTargetArea from '@/api/houseGuarantyArea';
  710. import amap from '../../../components/MapContainer/index.vue';
  711. export default {
  712. components: {
  713. amap
  714. },
  715. created() {
  716. this.docId = this.$route.query.id;
  717. this.getTargets();
  718. },
  719. watch:{
  720. activeName:{
  721. handler(nv,ov){
  722. const target = this.targets.filter(item=>item.tid = nv)
  723. this.targetPoint = target.aims;
  724. },
  725. immediate:true
  726. },
  727. targets:{
  728. handler(){
  729. this.updatePoint();
  730. },
  731. }
  732. },
  733. data() {
  734. return {
  735. activeName: '①',
  736. docId: null,
  737. targets: [],
  738. certificateName:'1',
  739. entityInfoDialog:false,
  740. entityInfo:{
  741. id:null,
  742. businessId:null,
  743. tid:null,
  744. tno:null,
  745. houseAge:null,
  746. useInfo:null,
  747. useTo:null,
  748. buildingOut:null,
  749. atFloor:null,
  750. floor:null,
  751. elevator:null,
  752. centerAirConditioning:null,
  753. autoSpray:null,
  754. smogEmergency:null,
  755. fireHydrant:null,
  756. netLine:null,
  757. visualSys:null,
  758. buildingStructure:null,
  759. officeSmartSys:null,
  760. baseFacility:null,
  761. roomType:null,
  762. roomHigh:null,
  763. newPercentage:null,
  764. livingroomGround:null,
  765. livingroomTop:null,
  766. livingroomWall:null,
  767. livingroomOther:null,
  768. bedroomGround:null,
  769. bedroomTop:null,
  770. bedroomWall:null,
  771. bedroomOther:null,
  772. bathroomGround:null,
  773. bathroomTop:null,
  774. bathroomWall:null,
  775. bathroomOther:null,
  776. landDeep:null
  777. },
  778. tId: null,
  779. tNo: null,
  780. location:null,
  781. targetPoint:[],
  782. mapDialog:false,
  783. areaInfoDialog:false,
  784. areaInfo:{
  785. docId:null,
  786. tid:null,
  787. tno:null,
  788. lng:null,
  789. lat:null,
  790. road:[],
  791. publicTransport:[],
  792. park:[],
  793. business:[],
  794. community:[],
  795. education:[],
  796. hospital:[],
  797. bank:[],
  798. hotel:[],
  799. spot:[],
  800. },
  801. redius:'1000',
  802. curLngLat:null,
  803. lng:null,
  804. lat:null
  805. }
  806. },
  807. methods: {
  808. updatePoint(){
  809. this.targetPoint = this.targets[0].aims;
  810. },
  811. getTargets() {
  812. houseGuaranty.getTargetsById(this.docId).then(res => {
  813. if (res.code === 200) {
  814. this.targets = res.data;
  815. }
  816. })
  817. },
  818. saveSupplement(t){
  819. t.docId= this.docId;
  820. t.baseInfo = JSON.stringify(t.list);
  821. houseGuaranty.saveSupplement(t).then(res=>{
  822. if (res.code === 200){
  823. ElMessage({
  824. message: '估价对象'+t.tid+',补充信息已保存.',
  825. type: 'success',
  826. plain: true
  827. })
  828. t.id = res.data;
  829. }
  830. })
  831. },
  832. addEntityInfo(id,no){
  833. this.tId = id;
  834. this.tNo = no;
  835. houseTargetEntity.get(this.docId,id,no).then(res=>{
  836. if (res.code === 200 && res.data!=null){
  837. this.entityInfo = res.data
  838. }else{
  839. this.entityInfo = {};
  840. }
  841. })
  842. this.entityInfoDialog = true;
  843. },
  844. saveEntityInfo(){
  845. this.entityInfo.businessId = this.docId;
  846. this.entityInfo.tid= this.tId;
  847. this.entityInfo.tno = this.tNo;
  848. houseTargetEntity.save(this.entityInfo).then(res=>{
  849. if (res.code === 200 && res.data){
  850. ElMessage({
  851. message: '实物状况保存成功.',
  852. type: 'success',
  853. plain: true
  854. })
  855. this.entityInfo.id = res.data;
  856. }
  857. })
  858. },
  859. cleanId() {
  860. this.tId = null;
  861. this.tNo = null;
  862. this.cers = [];
  863. },
  864. removeEntityInfo(){
  865. ElMessageBox.confirm('请确认是否删除此实物状况信息?', '警告', {
  866. confirmButtonText: '确定',
  867. cancelButtonText: '取消',
  868. type: 'warning',
  869. draggable: true,
  870. }).then(()=>{
  871. houseTargetEntity.delete(this.entityInfo.id).then(res=>{
  872. if (res.code === 200 && res.data){
  873. ElMessage({
  874. message: '实物状况已删除.',
  875. type: 'success',
  876. plain: true
  877. })
  878. houseTargetEntity.get(this.docId,this.tId,this.tNo).then(res=>{
  879. if (res.code === 200 ){
  880. this.entityInfo = {};
  881. }
  882. })
  883. }
  884. })
  885. })
  886. },
  887. copyEntityInfo(){
  888. houseTargetEntity.copyEntityInfo(this.entityInfo.id).then(res=>{
  889. if (res.code === 200 ){
  890. ElMessage({
  891. message: '复制成功',
  892. type: 'success',
  893. plain: true
  894. })
  895. }
  896. })
  897. },
  898. genResultDoc(){
  899. houseGuaranty.genResultDoc(this.docId).then(res=>{
  900. if (res.code === 200){
  901. if (res.code === 200) {
  902. ElMessage({
  903. message: '《房地产抵押估价结果报告》生成成功',
  904. type: 'success',
  905. plain: true
  906. })
  907. this.$emit('updateTimeline');
  908. }
  909. }
  910. })
  911. },
  912. handleSelectionChange(val){
  913. this.targetPoint = val;
  914. },
  915. getPOIData(data){
  916. if (data.infoType=='ROAD'){
  917. this.areaInfo.road = data.pois.map(item=>item.name)
  918. }
  919. if (data.infoType=='PUBLIC-TRANSPORT'){
  920. this.areaInfo.publicTransport = data.pois.map(item=>item.name)
  921. }
  922. if (data.infoType=='PARK'){
  923. this.areaInfo.park = data.pois.map(item=>item.name)
  924. }
  925. if (data.infoType=='BUSINESS'){
  926. this.areaInfo.business = data.pois.map(item=>item.name)
  927. }
  928. if (data.infoType=='COMMUNITY'){
  929. this.areaInfo.community = data.pois.map(item=>item.name)
  930. }
  931. if (data.infoType=='EDUCATION'){
  932. this.areaInfo.education = data.pois.map(item=>item.name)
  933. }
  934. if (data.infoType=='HOSPITAL'){
  935. this.areaInfo.hospital = data.pois.map(item=>item.name)
  936. }
  937. if (data.infoType=='BANK'){
  938. this.areaInfo.bank = data.pois.map(item=>item.name)
  939. }
  940. if (data.infoType=='HOTEL'){
  941. this.areaInfo.hotel = data.pois.map(item=>item.name)
  942. }
  943. if (data.infoType=='SPOT'){
  944. this.areaInfo.spot = data.pois
  945. }
  946. },
  947. getAreaInfoByLngLat(lngLat,docId,tid,tno,location){
  948. this.tId = tid;
  949. this.tNo = tno;
  950. this.docId = docId;
  951. this.location = location;
  952. let lngLats = lngLat.split(",");
  953. this.lng = lngLats[0];
  954. this.lat = lngLats[1];
  955. this.areaInfoDialog = true;
  956. //先查询保存的区位信息
  957. houseTargetArea.getByDocIdTidTNo(docId,tid,tno).then(res=>{
  958. if (res.code===200 && res.data!=null){
  959. this.areaInfo.id = res.data.id;
  960. this.areaInfo.tid = res.data.id;
  961. this.areaInfo.tno = res.data.id;
  962. this.areaInfo.lat = res.data.id;
  963. this.areaInfo.lng = res.data.id;
  964. this.areaInfo.road = JSON.parse(res.data.road);
  965. this.areaInfo.publicTransport = JSON.parse(res.data.publicTransport);
  966. this.areaInfo.park = JSON.parse(res.data.park);
  967. this.areaInfo.business = JSON.parse(res.data.business);
  968. this.areaInfo.community = JSON.parse(res.data.community);
  969. this.areaInfo.education = JSON.parse(res.data.education);
  970. this.areaInfo.hospital = JSON.parse(res.data.hospital);
  971. this.areaInfo.bank = JSON.parse(res.data.bank);
  972. this.areaInfo.hotel = JSON.parse(res.data.hotel);
  973. this.areaInfo.spot = JSON.parse(res.data.spot);
  974. }else {
  975. //再根据经纬度范围查询
  976. houseTargetArea.getByLngLat(lngLat).then(res=>{
  977. if (res.code===200 && res.data!=null){
  978. this.areaInfo.road = JSON.parse(res.data.road);
  979. this.areaInfo.publicTransport = JSON.parse(res.data.publicTransport);
  980. this.areaInfo.park = JSON.parse(res.data.park);
  981. this.areaInfo.business = JSON.parse(res.data.business);
  982. this.areaInfo.community = JSON.parse(res.data.community);
  983. this.areaInfo.education = JSON.parse(res.data.education);
  984. this.areaInfo.hospital = JSON.parse(res.data.hospital);
  985. this.areaInfo.bank = JSON.parse(res.data.bank);
  986. this.areaInfo.hotel = JSON.parse(res.data.hotel);
  987. this.areaInfo.spot = JSON.parse(res.data.spot);
  988. }else{
  989. //调用高德API接口获取
  990. this.getAMapInfo(lngLat)
  991. }
  992. })
  993. }
  994. })
  995. },
  996. async getAMapInfo(lngLat){
  997. this.curLngLat = lngLat;
  998. this.$refs.map.collectRoad(this.redius,lngLat);
  999. this.$refs.map.collectPublicTransport(this.redius,lngLat);
  1000. this.$refs.map.colletPark(this.redius,lngLat);
  1001. // 规避高德接口QPS限制
  1002. await this.sleep(1000);
  1003. this.$refs.map.collectBusiness(this.redius,lngLat);
  1004. this.$refs.map.collectCommunity(this.redius,lngLat);
  1005. this.$refs.map.collectEducation(this.redius,lngLat);
  1006. // 规避高德接口QPS限制
  1007. await this.sleep(1000);
  1008. this.$refs.map.collectHospital(this.redius,lngLat);
  1009. this.$refs.map.collectBank(this.redius,lngLat);
  1010. this.$refs.map.collectHotal(this.redius,lngLat);
  1011. // 规避高德接口QPS限制
  1012. await this.sleep(1000);
  1013. this.$refs.map.collectSpot(this.redius,lngLat);
  1014. },
  1015. refreshRoad(){
  1016. this.$refs.map.collectRoad(this.redius,this.curLngLat);
  1017. },
  1018. refreshPublicTransport(){
  1019. this.$refs.map.collectPublicTransport(this.redius,this.curLngLat);
  1020. },
  1021. refreshPark(){
  1022. this.$refs.map.colletPark(this.redius,this.curLngLat);
  1023. },
  1024. refreshBusiness(){
  1025. this.$refs.map.collectBusiness(this.redius,this.curLngLat);
  1026. },
  1027. refreshCommunity(){
  1028. this.$refs.map.collectCommunity(this.redius,this.curLngLat);
  1029. },
  1030. refreshEducation(){
  1031. this.$refs.map.collectEducation(this.redius,this.curLngLat);
  1032. },
  1033. refreshHospital(){
  1034. this.$refs.map.collectHospital(this.redius,this.curLngLat);
  1035. },
  1036. refreshBank(){
  1037. this.$refs.map.collectBank(this.redius,this.curLngLat);
  1038. },
  1039. refreshHotal(){
  1040. this.$refs.map.collectHotal(this.redius,this.curLngLat);
  1041. },
  1042. refreshSpot(){
  1043. this.$refs.map.collectSpot(this.redius,this.curLngLat);
  1044. },
  1045. cleanLngLat(){
  1046. this.curLngLat=null;
  1047. this.location = null;
  1048. this.lng = null,
  1049. this.lat = null,
  1050. this.areaInfo.id=null,
  1051. this.areaInfo.tid=null,
  1052. this.areaInfo.tno=null,
  1053. this.areaInfo.lng = null,
  1054. this.areaInfo.lat = null,
  1055. this.areaInfo.road=[];
  1056. this.areaInfo.publicTransport=[];
  1057. this.areaInfo.park=[];
  1058. this.areaInfo.business=[];
  1059. this.areaInfo.community=[];
  1060. this.areaInfo.education=[];
  1061. this.areaInfo.hospital=[];
  1062. this.areaInfo.bank=[];
  1063. this.areaInfo.hotel=[];
  1064. this.areaInfo.spot=[];
  1065. },
  1066. removeRoad(i){
  1067. this.areaInfo.road = this.areaInfo.road.filter(item=>item!=i);
  1068. },
  1069. removePublicTransport(i){
  1070. this.areaInfo.publicTransport = this.areaInfo.publicTransport.filter(item=>item!=i);
  1071. },
  1072. removeBusiness(i){
  1073. this.areaInfo.business = this.areaInfo.business.filter(item=>item!=i);
  1074. },
  1075. removeCommunity(i){
  1076. this.areaInfo.community = this.areaInfo.community.filter(item=>item!=i);
  1077. },
  1078. removeEducation(i){
  1079. this.areaInfo.education = this.areaInfo.education.filter(item=>item!=i);
  1080. },
  1081. removeHospital(i){
  1082. this.areaInfo.hospital = this.areaInfo.hospital.filter(item=>item!=i);
  1083. },
  1084. removePark(i){
  1085. this.areaInfo.park = this.areaInfo.park.filter(item=>item!=i);
  1086. },
  1087. removeHotel(i){
  1088. this.areaInfo.hotel = this.areaInfo.hotel.filter(item=>item!=i);
  1089. },
  1090. removeBank(i){
  1091. this.areaInfo.bank = this.areaInfo.bank.filter(item=>item!=i);
  1092. },
  1093. removeSpot(i){
  1094. this.areaInfo.spot = this.areaInfo.spot.filter(item=>item.name!=i.name);
  1095. },
  1096. saveAreaInfo(){
  1097. this.areaInfoDialog = false;
  1098. this.areaInfo.docId = this.docId;
  1099. this.areaInfo.tid = this.tId;
  1100. this.areaInfo.tno = this.tNo;
  1101. this.areaInfo.lng = this.lng;
  1102. this.areaInfo.lat = this.lat;
  1103. this.areaInfo.location = this.location;
  1104. this.areaInfo.road = JSON.stringify(this.areaInfo.road);
  1105. this.areaInfo.publicTransport = JSON.stringify(this.areaInfo.publicTransport);
  1106. this.areaInfo.park = JSON.stringify(this.areaInfo.park);
  1107. this.areaInfo.business = JSON.stringify(this.areaInfo.business);
  1108. this.areaInfo.community = JSON.stringify(this.areaInfo.community);
  1109. this.areaInfo.education = JSON.stringify(this.areaInfo.education);
  1110. this.areaInfo.hospital = JSON.stringify(this.areaInfo.hospital);
  1111. this.areaInfo.bank = JSON.stringify(this.areaInfo.bank);
  1112. this.areaInfo.hotel = JSON.stringify(this.areaInfo.hotel);
  1113. this.areaInfo.spot = JSON.stringify(this.areaInfo.spot);
  1114. houseTargetArea.save(this.areaInfo).then(res=>{
  1115. if (res.code ===200 && res.data){
  1116. ElMessage({
  1117. message: '区位状况保存成功',
  1118. type: 'success',
  1119. plain: true
  1120. })
  1121. }
  1122. })
  1123. },
  1124. sleep(delay){
  1125. return new Promise((resolve) => setTimeout(resolve,delay))
  1126. }
  1127. }
  1128. }
  1129. </script>
  1130. <style scoped>
  1131. .contrl {
  1132. font-size: 20px;
  1133. width: 70.9%;
  1134. border-right: 1.5px #dae1eb solid;
  1135. padding: 0px 20px 20px 0px;
  1136. float: left;
  1137. }
  1138. .title-div {
  1139. height: 80px;
  1140. line-height: 80px;
  1141. width: 100%;
  1142. font-size: 20px;
  1143. font-weight: 900;
  1144. }
  1145. .genBtn{
  1146. float: right;
  1147. margin-top: 30px;
  1148. }
  1149. .infoType{
  1150. width: 100%;
  1151. font-size: 16px;
  1152. padding: 10px;
  1153. }
  1154. .infoTitle{
  1155. font-weight: bold;
  1156. font-size: 20px;
  1157. margin-right: 10px;
  1158. }
  1159. .infoItem{
  1160. margin-left: 10px;
  1161. padding: 5px;
  1162. font-size: 18px;
  1163. white-space: nowrap;
  1164. }
  1165. .infoItem:hover{
  1166. cursor: pointer;
  1167. color: #ff6154;
  1168. }
  1169. .refresh:hover{
  1170. color: #ff6154;
  1171. cursor: pointer;
  1172. }
  1173. /* .el-radio-group {
  1174. --el-radio-group-width: 220px;
  1175. }
  1176. .el-input {
  1177. --el-input-width: 100%;
  1178. } */
  1179. :deep(.el-select) {
  1180. width: 220px;
  1181. }
  1182. :deep(.el-input) {
  1183. width: 220px;
  1184. }
  1185. :deep(.el-table .cell) {
  1186. padding: 0px;
  1187. }
  1188. :deep(.el-input__wrapper.is-focus) {
  1189. --el-input-focus-border: #ff6154;
  1190. --el-input-focus-border-color: #ff6154;
  1191. }
  1192. :deep(.el-radio-group__wrapper.is-focused) {
  1193. box-shadow: #ff6154;
  1194. --el-radio-group-input-focus-border-color: #ff6154;
  1195. --el-color-primary: #ff6154;
  1196. }
  1197. :deep(.el-radio__input.is-checked .el-radio__inner) {
  1198. background: #ff6154;
  1199. border-color: #ff6154;
  1200. }
  1201. :deep(.el-radio__inner:hover) {
  1202. border-color: #ff6154;
  1203. }
  1204. :deep(.el-radio__input.is-checked+.el-radio__label) {
  1205. color: #ff6154;
  1206. }
  1207. :deep(.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active){
  1208. color: #ff6154;
  1209. }
  1210. :deep(.el-tabs__item.is-active, .el-tabs__item:hover){
  1211. color: #ff6154;
  1212. }
  1213. :deep(.el-checkbox__label) {
  1214. font-size: 15px;
  1215. }
  1216. :deep(.el-checkbox__input.is-checked .el-checkbox__inner) {
  1217. background-color: #ff6154;
  1218. border-color: #ff6154;
  1219. font-size: 20px;
  1220. }
  1221. :deep(.el-checkbox__input.is-checked+.el-checkbox__label) {
  1222. color:#ff6154;
  1223. }
  1224. :deep(.el-tabs__active-bar){
  1225. background-color:#ff6154;
  1226. }
  1227. :deep(.el-tabs__item.is-active) {
  1228. color:#ff6154;
  1229. }
  1230. :deep(.el-tabs__item:hover){
  1231. color:#ff6154;
  1232. }
  1233. .certificates-tabs {
  1234. margin-top: 30px;
  1235. }
  1236. :deep(.el-input__wrapper.is-focus) {
  1237. --el-input-focus-border: #ff6154;
  1238. --el-input-focus-border-color:#ff6154;
  1239. }
  1240. :deep(.el-button--text:hover){
  1241. color:#ff6154;
  1242. }
  1243. :deep(.el-button--text){
  1244. color:#ff6154;
  1245. }
  1246. :deep(.el-checkbox__input.is-indeterminate .el-checkbox__inner){
  1247. background-color:#ff6154;
  1248. border-color:#ff6154;
  1249. }
  1250. :deep(.el-checkbox__inner:hover){
  1251. border-color:#ff6154;
  1252. }
  1253. </style>