readonlyDetail.vue 76 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673
  1. <template>
  2. <div class="app-container">
  3. <el-collapse v-model="activeName">
  4. <el-collapse-item>
  5. <template slot="title">
  6. <span style="font-size:20px; margin-left:20px;letter-spacing:2px;color:red">
  7. <i class="el-icon-warning"></i>
  8. <span> {{ nodeName ? '当前节点:' + nodeName : '当前状态:已归档' }}</span>
  9. <span> 项目编号:{{ businessSubId }}</span>
  10. </span>
  11. <span style="font-size:15px; margin-left:15px;letter-spacing:2px; color:RGB(168,168,168)">
  12. 点击展开查看实时流程图
  13. </span>
  14. </template>
  15. <WorkflowBoard ref='board' :nodeBusinessInfo="nodeBusinessInfo" />
  16. </el-collapse-item>
  17. </el-collapse>
  18. <div class="button-area">
  19. <el-button class="y-save" round type="info" @click="goBack">返回</el-button>
  20. </div>
  21. <el-tabs v-model="activeTagName" @tab-click="handleClick" type="border-card">
  22. <el-tab-pane name="order" class="pane-class" :lazy=true>
  23. <span slot="label"><i class="el-icon-document"></i> 个贷订单</span>
  24. <el-form ref="personalForm" :model="personal">
  25. <div class="createMajor-main-container">
  26. <div class="postInfo-container">
  27. <div>
  28. <el-divider content-position="left">
  29. <h3 class="title">
  30. <div class="avatar-wrapper icon-title">订单</div>
  31. <div class="icon-info">个贷订单</div>
  32. </h3>
  33. </el-divider>
  34. </div>
  35. <el-row class="row-style">
  36. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  37. <el-form-item label="项目编号:" prop="orderId" label-width="120px" class="postInfo-container-item">
  38. <el-input :value="personal.orderId" class="filter-item" readonly disabled />
  39. </el-form-item>
  40. </el-col>
  41. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  42. <el-form-item label="评估目的:" prop="evaluateAim" label-width="120px" class="postInfo-container-item">
  43. <el-input :value="personal.evaluateAim" class="filter-item" readonly disabled />
  44. </el-form-item>
  45. </el-col>
  46. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  47. <el-form-item label="房屋用途:" prop="purpose" label-width="160px" class="postInfo-container-item">
  48. <el-checkbox-group v-model="personal.purpose">
  49. <el-checkbox-button label="HOUSE" name="purpose">住宅</el-checkbox-button>
  50. <el-checkbox-button label="BUSINESS" name="purpose">商业</el-checkbox-button>
  51. <el-checkbox-button label="OFFICE" name="purpose">办公</el-checkbox-button>
  52. <el-checkbox-button label="INDUSTRIAL" name="purpose">工业</el-checkbox-button>
  53. <el-checkbox-button label="OTHER" name="purpose">其他</el-checkbox-button>
  54. </el-checkbox-group>
  55. </el-form-item>
  56. </el-col>
  57. </el-row>
  58. <el-row class="row-style">
  59. <el-col :xs="12" :sm="12" :lg="24" :span="6">
  60. <el-form-item label="坐落:" prop="location" label-width="120px" class="postInfo-container-item">
  61. <el-input :value="personal.location" class="filter-item" readonly disabled />
  62. </el-form-item>
  63. </el-col>
  64. </el-row>
  65. <el-row class="row-style">
  66. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  67. <el-form-item label="客户类型:" prop="clienteleType" label-width="120px" class="postInfo-container-item">
  68. <el-input :value="personal.clienteleType" class="filter-item" readonly disabled />
  69. </el-form-item>
  70. </el-col>
  71. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  72. <el-form-item label="客户名称:" prop="clienteleId" label-width="120px" class="postInfo-container-item">
  73. <el-input :value="personal.clientName" class="filter-item" readonly disabled />
  74. </el-form-item>
  75. </el-col>
  76. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  77. <el-form-item label="业务来源:" prop="clienteleSubId" label-width="120px" class="postInfo-container-item">
  78. <el-input :value="personal.clientSubName" class="filter-item" readonly disabled />
  79. </el-form-item>
  80. </el-col>
  81. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  82. <el-form-item label="客户联系人:" prop="clienteleContactId" label-width="120px"
  83. class="postInfo-container-item">
  84. <el-input :value="personal.contactName" class="filter-item" readonly disabled />
  85. </el-form-item>
  86. </el-col>
  87. </el-row>
  88. <el-row class="row-style">
  89. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  90. <el-form-item label="联系人电话:" prop="clienteleContactId" label-width="120px"
  91. class="postInfo-container-item">
  92. <el-input :value="personal.contactTel" class="filter-item" readonly disabled />
  93. </el-form-item>
  94. </el-col>
  95. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  96. <el-form-item label="联系人部门:" prop="clienteleContactId" label-width="120px"
  97. class="postInfo-container-item">
  98. <el-input :value="personal.cdepartment" class="filter-item" readonly disabled />
  99. </el-form-item>
  100. </el-col>
  101. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  102. <el-form-item label="联系人职务:" prop="clienteleContactId" label-width="120px"
  103. class="postInfo-container-item">
  104. <el-input :value="personal.cduty" class="filter-item" readonly disabled />
  105. </el-form-item>
  106. </el-col>
  107. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  108. <el-form-item label="中介:" prop="agent" label-width="120px" class="postInfo-container-item">
  109. <el-input :value="personal.agent" class="filter-item" readonly disabled />
  110. </el-form-item>
  111. </el-col>
  112. </el-row>
  113. <el-row class="row-style">
  114. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  115. <el-form-item label="贷款性质:" prop="loanNature" label-width="120px" class="postInfo-container-item">
  116. <el-input :value="personal.loanNature" class="filter-item" readonly disabled />
  117. </el-form-item>
  118. </el-col>
  119. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  120. <el-form-item label="贷款用途:" prop="loanAim" label-width="120px" class="postInfo-container-item">
  121. <el-input :value="personal.loanAim" class="filter-item" readonly disabled />
  122. </el-form-item>
  123. </el-col>
  124. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  125. <el-form-item label="贷款额度:" prop="loanLimit" label-width="120px" class="postInfo-container-item">
  126. <el-input :value="personal.loanLimit" class="filter-item" readonly disabled>
  127. <template slot="append">万元</template>
  128. </el-input>
  129. </el-form-item>
  130. </el-col>
  131. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  132. <el-form-item label="贷款期限:" prop="loanPeriod" label-width="120px" class="postInfo-container-item">
  133. <el-input :value="personal.loanPeriod" class="filter-item" readonly disabled>
  134. <template slot="append">年</template>
  135. </el-input>
  136. </el-form-item>
  137. </el-col>
  138. </el-row>
  139. <el-row class="row-style">
  140. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  141. <el-form-item label="贷款是否到期:" prop="loanExpire" label-width="140px" class="postInfo-container-item">
  142. <el-radio v-model="personal.loanExpire" :label="false" border>否</el-radio>
  143. <el-radio v-model="personal.loanExpire" :label="true" border>是</el-radio>
  144. </el-form-item>
  145. </el-col>
  146. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  147. <el-form-item label="资料说明:" prop="credentials" label-width="120px" class="postInfo-container-item">
  148. <el-checkbox-group v-model="personal.credentials">
  149. <el-checkbox-button label="HOUSE_CERTIFICATE" name="credentials">房产证</el-checkbox-button>
  150. <el-checkbox-button label="LAND_CERTIFICATE" name="credentials">国土证</el-checkbox-button>
  151. <el-checkbox-button label="IMMOVABLE_CERTIFICATE" name="credentials">不动产权证</el-checkbox-button>
  152. <el-checkbox-button label="LEASE_CONTRACT" name="credentials">租赁合同</el-checkbox-button>
  153. <el-checkbox-button label="IDENTITY_CARD" name="credentials">身份证</el-checkbox-button>
  154. <el-checkbox-button label="NONE" name="credentials">无资料</el-checkbox-button>
  155. </el-checkbox-group>
  156. </el-form-item>
  157. </el-col>
  158. </el-row>
  159. <el-row class="row-style">
  160. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  161. <el-form-item label="委托人1:" prop="bailorA" label-width="120px" class="postInfo-container-item">
  162. <el-input :value="personal.bailorA" class="filter-item" readonly disabled />
  163. </el-form-item>
  164. </el-col>
  165. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  166. <el-form-item label="委托人1电话:" prop="bailoraTel" label-width="120px" class="postInfo-container-item">
  167. <el-input :value="personal.bailoraTel" class="filter-item" readonly disabled />
  168. </el-form-item>
  169. </el-col>
  170. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  171. <el-form-item label="委托人2:" prop="bailorB" label-width="120px" class="postInfo-container-item">
  172. <el-input :value="personal.bailorB" class="filter-item" readonly disabled />
  173. </el-form-item>
  174. </el-col>
  175. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  176. <el-form-item label="委托人2电话:" prop="bailorbTel" label-width="120px" class="postInfo-container-item">
  177. <el-input :value="personal.bailorbTel" class="filter-item" readonly disabled />
  178. </el-form-item>
  179. </el-col>
  180. </el-row>
  181. <el-row class="row-style">
  182. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  183. <el-form-item label="终端客户类型:" prop="terminalClienteleType" label-width="140px"
  184. class="postInfo-container-item">
  185. <el-input :value="personal.terminalClienteleType" class="filter-item" readonly disabled />
  186. </el-form-item>
  187. </el-col>
  188. <el-col :xs="24" :sm="12" :lg="12" :span="6" v-show="personal.terminalClienteleType != ''">
  189. <el-form-item label="终端客户名称:" prop="terminalClienteleId" label-width="140px"
  190. class="postInfo-container-item">
  191. <el-input :value="personal.tterminalClienteleName" class="filter-item" readonly disabled />
  192. </el-form-item>
  193. </el-col>
  194. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-show="personal.terminalClienteleType === '企业'">
  195. <el-form-item label="终端联系人:" prop="terminalClienteleContactId" label-width="120px"
  196. class="postInfo-container-item">
  197. <el-input :value="personal.tterminalClienteleContactName" class="filter-item" readonly disabled />
  198. </el-form-item>
  199. </el-col>
  200. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-show="personal.terminalClienteleType != ''">
  201. <el-form-item label="终端联系电话:" prop="clienteleType" label-width="130px"
  202. class="postInfo-container-item">
  203. <el-input :value="personal.tmobile" class="filter-item" readonly disabled />
  204. </el-form-item>
  205. </el-col>
  206. </el-row>
  207. <el-row class="row-style">
  208. <el-col :xs="24" :sm="12" :lg="23" :span="12">
  209. <el-form-item label="订单备注:" prop="remark" label-width="120px" class="postInfo-container-item">
  210. <el-input :value="personal.remark" class="filter-item" type="text" readonly disabled />
  211. </el-form-item>
  212. </el-col>
  213. </el-row>
  214. </div>
  215. </div>
  216. </el-form>
  217. <el-form ref="personalMemberForm" :model="personal" :rules="rules">
  218. <div class="createMajor-main-container">
  219. <div class="postInfo-container">
  220. <div>
  221. <el-divider content-position="left">
  222. <h3 class="title">
  223. <div class="avatar-wrapper icon-title">人员</div>
  224. <div class="icon-info">项目人员</div>
  225. </h3>
  226. </el-divider>
  227. </div>
  228. <el-row class="row-style">
  229. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  230. <el-form-item label="客户经理:" prop="clientManager" label-width="120px" class="postInfo-container-item">
  231. <el-input :value="personal.clientManager" class="filter-item" readonly disabled />
  232. </el-form-item>
  233. </el-col>
  234. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  235. <el-form-item label="内业人员:" prop="inwardStaffName" label-width="120px"
  236. class="postInfo-container-item">
  237. <el-input :value="personal.inwardStaffName" class="filter-item" readonly disabled />
  238. </el-form-item>
  239. </el-col>
  240. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  241. <el-form-item label="外业人员:" prop="outwardStaff" label-width="120px" class="postInfo-container-item">
  242. <el-input :value="personal.outwardStaffName" class="filter-item" readonly disabled />
  243. </el-form-item>
  244. </el-col>
  245. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  246. <el-form-item label="定价内业:" prop="pricingStaffName" label-width="120px"
  247. class="postInfo-container-item">
  248. <el-input :value="personal.pricingStaffName" class="filter-item" readonly disabled />
  249. </el-form-item>
  250. </el-col>
  251. </el-row>
  252. </div>
  253. </div>
  254. </el-form>
  255. </el-tab-pane>
  256. <el-tab-pane name="scene" class="pane-class" :lazy=true>
  257. <span slot="label"><i class="el-icon-search"></i> 外业实勘</span>
  258. <el-form ref="sceneForm" :model="sceneForm" class="form-container">
  259. <div class="createMajor-main-container">
  260. <div class="postInfo-container">
  261. <div>
  262. <el-divider content-position="left">
  263. <h3 class="title">
  264. <div class="avatar-wrapper icon-title">实勘</div>
  265. <div class="icon-info">实勘信息</div>
  266. </h3>
  267. </el-divider>
  268. </div>
  269. <div>
  270. <el-row class="row-style" style="margin-top: 10px;">
  271. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  272. <el-form-item prop="orderId" label-width="120px" class="postInfo-container-item" label="订单号:">
  273. <el-input disabled readonly :value="personal.orderId" class="filter-item" />
  274. </el-form-item>
  275. </el-col>
  276. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  277. <el-form-item prop="sceneUserName" label-width="120px" class="postInfo-container-item" label="实勘人:">
  278. <el-input disabled readonly :value="personal.outwardStaffName" class="filter-item" />
  279. </el-form-item>
  280. </el-col>
  281. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  282. <el-form-item prop="productionType" label-width="120px" class="postInfo-container-item" label="坐落:">
  283. <el-input disabled readonly :value="personal.location" class="filter-item" />
  284. </el-form-item>
  285. </el-col>
  286. </el-row>
  287. <el-row class="row-style">
  288. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  289. <el-form-item prop="inRingDewlling" label-width="120px" class="postInfo-container-item"
  290. :rules="{ required: true, message: '绕城内住宅不能为空', trigger: 'blur' }" label="绕城内住宅:">
  291. <el-input v-model="sceneForm.inRingDewlling" disabled readonly class="filter-item">
  292. <template slot="append">套</template>
  293. </el-input>
  294. </el-form-item>
  295. </el-col>
  296. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  297. <el-form-item prop="outRingDewlling" label-width="120px" class="postInfo-container-item"
  298. :rules="{ required: true, message: '绕城外住宅不能为空', trigger: 'blur' }" label="绕城外住宅:">
  299. <el-input v-model="sceneForm.outRingDewlling" disabled readonly class="filter-item">
  300. <template slot="append">套</template>
  301. </el-input>
  302. </el-form-item>
  303. </el-col>
  304. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  305. <el-form-item prop="inRingBuilding" label-width="120px" class="postInfo-container-item"
  306. :rules="{ required: true, message: '绕城内商业不能为空', trigger: 'blur' }" label="绕城内商业:">
  307. <el-input v-model="sceneForm.inRingBuilding" disabled readonly class="filter-item">
  308. <template slot="append">套</template>
  309. </el-input>
  310. </el-form-item>
  311. </el-col>
  312. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  313. <el-form-item prop="outRingBuilding" label-width="120px" class="postInfo-container-item"
  314. :rules="{ required: true, message: '绕城外商业不能为空', trigger: 'blur' }" label="绕城外商业:">
  315. <el-input v-model="sceneForm.outRingBuilding" disabled readonly class="filter-item">
  316. <template slot="append">套</template>
  317. </el-input>
  318. </el-form-item>
  319. </el-col>
  320. </el-row>
  321. <el-row class="row-style">
  322. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  323. <el-form-item label="实勘备注:" prop="remark" label-width="120px" class="postInfo-container-item">
  324. <el-input v-model="sceneForm.remark" :autosize="{ minRows: 3, maxRows: 3 }" class="filter-item"
  325. type="textarea" disabled readonly />
  326. </el-form-item>
  327. </el-col>
  328. </el-row>
  329. </div>
  330. </div>
  331. </div>
  332. </el-form>
  333. </el-tab-pane>
  334. <el-tab-pane name="evaluate" class="pane-class" :lazy=true>
  335. <span slot="label"><i class="el-icon-office-building"></i> 评估对象</span>
  336. <el-form ref="targetForm" :model="target">
  337. <div class="createMajor-main-container">
  338. <div class="postInfo-container">
  339. <div>
  340. <el-divider content-position="left">
  341. <h3 class="title">
  342. <div class="avatar-wrapper icon-title">价格</div>
  343. <div class="icon-info">评估价格</div>
  344. </h3>
  345. </el-divider>
  346. </div>
  347. </div>
  348. </div>
  349. <el-row class="row-style">
  350. <el-col :xs="24" :sm="12" :lg="18" :span="6">
  351. <el-form-item label="流程:" prop="acreage" label-width="140px" class="postInfo-container-item" >
  352. <el-switch :value="target.isOnline" disabled style="margin-bottom: 5px;" active-text="线上" inactive-text="线下"
  353. >
  354. </el-switch>
  355. </el-form-item>
  356. </el-col>
  357. <el-col :xs="12" :sm="12" :lg="6" :span="6">
  358. <el-form-item label="打印二维码:" prop="validateCode" label-width="140px" class="postInfo-container-item">
  359. <a @mouseenter="showQR=true">出入库二维码</a> <a @mouseenter="showQR=false" style="margin-left: 5px">验证二维码</a>
  360. <div class="qr-code-div">
  361. <img v-show="showQR" class="qr-code" :src="target.qrCode" alt="出入库二维码" @click="printQR(target.qrCode)"/>
  362. <img v-show="!showQR" class="qr-code" :src="target.validateCode" alt="验证二维码" @click="printQR(target.validateCode)"/>
  363. </div>
  364. </el-form-item>
  365. </el-col>
  366. </el-row>
  367. <el-row class="row-style">
  368. <el-col :xs="12" :sm="12" :lg="18" :span="6">
  369. <el-form-item label="项目名称:" prop="location" label-width="140px" class="postInfo-container-item">
  370. <el-input :value="personal.location" disabled readonly class="filter-item" />
  371. </el-form-item>
  372. </el-col>
  373. </el-row>
  374. <el-row class="row-style">
  375. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  376. <el-form-item label="委托方1:" prop="bailorA" label-width="140px" class="postInfo-container-item">
  377. <el-input :value="personal.bailorA" disabled readonly class="filter-item" />
  378. </el-form-item>
  379. </el-col>
  380. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  381. <el-form-item label="委托方2:" prop="bailorB" label-width="140px" class="postInfo-container-item">
  382. <el-input :value="personal.bailorB" disabled readonly class="filter-item" />
  383. </el-form-item>
  384. </el-col>
  385. </el-row>
  386. <el-row class="row-style">
  387. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  388. <el-form-item label="评估面积:" prop="acreage" label-width="140px"
  389. :rules="{ required: true, message: '评估面积不能为空', trigger: 'blur' }" class="postInfo-container-item">
  390. <el-input :value="target.acreage" disabled readonly
  391. style="width: 100%;">
  392. <template slot="append">
  393. <span>平</span>
  394. </template>
  395. </el-input>
  396. </el-form-item>
  397. </el-col>
  398. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  399. <el-form-item label="评估单价:" prop="price" label-width="140px"
  400. :rules="{ required: true, message: '评估单价不能为空', trigger: 'blur' }" class="postInfo-container-item">
  401. <el-input :value="target.price" disabled readonly
  402. style="width: 100%;">
  403. <template slot="append">
  404. <span>元</span>
  405. </template>
  406. </el-input>
  407. </el-form-item>
  408. </el-col>
  409. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  410. <el-form-item label="评估总价:" prop="amount" label-width="140px"
  411. :rules="{ required: true, message: '评估总价不能为空', trigger: 'blur' }" class="postInfo-container-item">
  412. <el-input :value="target.amount" disabled readonly
  413. style="width: 100%;">
  414. <template slot="append">
  415. <span>万元</span>
  416. </template>
  417. </el-input>
  418. </el-form-item>
  419. </el-col>
  420. </el-row>
  421. </el-form>
  422. </el-tab-pane>
  423. <el-tab-pane name="comparable" class="pane-class" :lazy=true>
  424. <span slot="label"><i class="el-icon-office-building"></i> 可比实例</span>
  425. <div class="createMajor-main-container">
  426. <div class="postInfo-container">
  427. <div>
  428. <el-divider content-position="left">
  429. <h3 class="title">
  430. <div class="avatar-wrapper icon-title">实例</div>
  431. <div class="icon-info">可比实例</div>
  432. </h3>
  433. </el-divider>
  434. </div>
  435. </div>
  436. <el-form ref="compareToForm" :model="compareList" v-if="target.isOnline">
  437. <el-row class="row-style">
  438. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  439. <el-form-item label="修正系数:" prop="fixValue" label-width="120px"
  440. :rules="{ required: true, message: '修正系数不能为空', trigger: 'blur' }" class="postInfo-container-item">
  441. <el-input-number v-model="compareList.fixValue" :step="0.1" :min="1" size="medium" style="width: 100%;"
  442. controls-position="right"></el-input-number>
  443. </el-form-item>
  444. </el-col>
  445. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  446. <el-form-item label="是否划拨:" prop="rightsType" label-width="120px"
  447. :rules="{ required: true, message: '是否划拨不能为空', trigger: 'blur' }" class="postInfo-container-item">
  448. <el-select v-model="compareList.rightsType" placeholder="请选择" @change="selectRightsType()">
  449. <el-option label="划拨" value="ALLOT">划拨</el-option>
  450. <el-option label="出让" value="SELL">出让</el-option>
  451. </el-select>
  452. </el-form-item>
  453. </el-col>
  454. <el-col :xs="24" :sm="12" :lg="4" :span="6" v-show="compareList.rightsType === 'ALLOT'">
  455. <el-form-item label="环线位置:" prop="rollingLevel" label-width="120px"
  456. :rules="{ required: compareList.rightsType === 'ALLOT', message: '是否划拨不能为空', trigger: 'blur' }"
  457. class="postInfo-container-item">
  458. <el-select v-model="compareList.rollingLevel" placeholder="请选择" @change="selectRoll()">
  459. <el-option label="二环内" :value=1>二环内</el-option>
  460. <el-option label="二至三环" :value=2>二至三环</el-option>
  461. <el-option label="三环外" :value=3>三环外</el-option>
  462. </el-select>
  463. </el-form-item>
  464. </el-col>
  465. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  466. <el-form-item label="计算方式:" prop="calculateType" label-width="120px"
  467. :rules="{ required: true, message: '计算方式不能为空', trigger: 'blur' }" class="postInfo-container-item">
  468. <el-select v-model="compareList.calculateType" clearable placeholder="请选择"
  469. @change="selectCalculateType()">
  470. <el-option label="简单算术平均" value="SIMPLE">简单算术平均</el-option>
  471. <el-option label="加权算术平均" value="WEIGHT">加权算术平均</el-option>
  472. </el-select>
  473. </el-form-item>
  474. </el-col>
  475. </el-row>
  476. <el-table v-loading="calculating" element-loading-text="正在计算..." element-loading-spinner="el-icon-loading"
  477. element-loading-background="rgba(144, 147, 153, 0.5)" :data="compareList.analysisData" border="border"
  478. stripe :header-cell-style="{ color: '#333333' }" style="
  479. border-left: 1px solid #ebeced;
  480. border-right: 1px solid #ebeced;
  481. color: #333333; font-size: 16px;">
  482. <el-table-column prop="index" label="指标" width="180" align="center">
  483. <template scope="scope">
  484. <span v-if="requiredIndex.includes(scope.row.index)" style="color:red">* </span>
  485. <span>{{ scope.row.index }}</span>
  486. </template>
  487. </el-table-column>
  488. <el-table-column prop="compareA" label="实例A" align="center">
  489. <template scope="scope" style="float:right">
  490. <div v-if="needWeight.includes(scope.row.index)">
  491. <el-input style="width:60%" v-model="scope.row.compareA.valueA" />
  492. <el-input-number v-model="scope.row.compareA.weight" :max="150" :min="1" size="small"
  493. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  494. </div>
  495. <div v-else-if="scope.row.index === '市场状况'">
  496. <el-date-picker v-model="scope.row.compareA.valueA" type="month" style="width:60%" placeholder="选择月">
  497. </el-date-picker>
  498. <el-input-number v-model="scope.row.compareA.weight" :max="150" :min="1" size="small"
  499. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  500. </div>
  501. <div v-else-if="scope.row.index === '楼层/总楼层'">
  502. <el-input style="width:26%" v-model="scope.row.compareA.valueA" />
  503. <span style="margin-left:2%;margin-right:2%">/</span>
  504. <el-input style="width:26%" v-model="scope.row.compareA.valueB" />
  505. <el-input-number v-model="scope.row.compareA.weight" :min="1" :max="150" size="small"
  506. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  507. </div>
  508. <div v-else-if="scope.row.index === '修正后价格'">
  509. <span v-if="scope.row.compareA.valueA"
  510. style="color:RGB(144,147,153);font-weight:bold;font-size:20px">¥{{ parseFloat(scope.row.compareA.valueA).toLocaleString() }}</span>
  511. </div>
  512. <div v-else-if="scope.row.index === '权重'">
  513. <el-input-number v-if="compareList.calculateType === 'WEIGHT'" v-model="scope.row.compareA.valueA"
  514. style="width:100%;" :min="0" :max="1" size="small" :step="0.1"
  515. controls-position="right"></el-input-number>
  516. </div>
  517. <div v-else-if="scope.row.index === '总价(元)'">
  518. <span v-if="scope.row.compareA.valueA"
  519. style="color:RGB(144,147,153);font-weight:bold;font-size:16px">¥{{ parseFloat(scope.row.compareA.valueA).toLocaleString() }}</span>
  520. </div>
  521. <div v-else-if="scope.row.index === '单价(元)'">
  522. <el-input-number v-model="scope.row.compareA.valueA" style="width:100%;" :min="0" size="small"
  523. controls-position="right"></el-input-number>
  524. </div>
  525. <div v-else-if="scope.row.index === '室内装饰'">
  526. <el-select v-model="scope.row.compareA.valueA" placeholder="请选择" style="width:60%">
  527. <el-option label="精装" value="精装">精装</el-option>
  528. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  529. <el-option label="简装" value="简装">简装</el-option>
  530. <el-option label="清水" value="清水">清水</el-option>
  531. </el-select>
  532. <el-input-number v-model="scope.row.compareA.weight" :max="150" :min="1" size="small"
  533. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  534. </div>
  535. <div v-else>
  536. <el-input style="width:100%" v-model="scope.row.compareA.valueA" />
  537. </div>
  538. </template>
  539. </el-table-column>
  540. <el-table-column prop="compareB" label="实例B" align="center">
  541. <template scope="scope" style="float:right">
  542. <div v-if="needWeight.includes(scope.row.index)">
  543. <el-input style="width:60%" v-model="scope.row.compareB.valueA" />
  544. <el-input-number v-model="scope.row.compareB.weight" :max="150" :min="1" size="small"
  545. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  546. </div>
  547. <div v-else-if="scope.row.index === '市场状况'">
  548. <el-date-picker v-model="scope.row.compareB.valueA" type="month" style="width:60%" placeholder="选择月">
  549. </el-date-picker>
  550. <el-input-number v-model="scope.row.compareB.weight" :max="150" :min="1" size="small"
  551. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  552. </div>
  553. <div v-else-if="scope.row.index === '楼层/总楼层'">
  554. <el-input style="width:26%" v-model="scope.row.compareB.valueA" />
  555. <span style="margin-left:2%;margin-right:2%">/</span>
  556. <el-input style="width:26%" v-model="scope.row.compareB.valueB" />
  557. <el-input-number v-model="scope.row.compareB.weight" :min="1" :max="150" size="small"
  558. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  559. </div>
  560. <div v-else-if="scope.row.index === '修正后价格'">
  561. <span v-if="scope.row.compareB.valueA"
  562. style="color:RGB(144,147,153);font-weight:bold;font-size:20px">¥{{ parseFloat(scope.row.compareB.valueA).toLocaleString() }}</span>
  563. </div>
  564. <div v-else-if="scope.row.index === '权重'">
  565. <el-input-number v-if="compareList.calculateType === 'WEIGHT'" v-model="scope.row.compareB.valueA"
  566. style="width:100%;" :min="0" :max="1" size="small" :step="0.1"
  567. controls-position="right"></el-input-number>
  568. </div>
  569. <div v-else-if="scope.row.index === '总价(元)'">
  570. <span v-if="scope.row.compareB.valueA"
  571. style="color:RGB(144,147,153);font-weight:bold;font-size:16px">¥{{ parseFloat(scope.row.compareB.valueA).toLocaleString() }}</span>
  572. </div>
  573. <div v-else-if="scope.row.index === '单价(元)'">
  574. <el-input-number v-model="scope.row.compareB.valueA" style="width:100%;" :min="0" size="small"
  575. controls-position="right"></el-input-number>
  576. </div>
  577. <div v-else-if="scope.row.index === '室内装饰'">
  578. <el-select v-model="scope.row.compareB.valueA" placeholder="请选择" style="width:60%">
  579. <el-option label="精装" value="精装">精装</el-option>
  580. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  581. <el-option label="简装" value="简装">简装</el-option>
  582. <el-option label="清水" value="清水">清水</el-option>
  583. </el-select>
  584. <el-input-number v-model="scope.row.compareB.weight" :max="150" :min="1" size="small"
  585. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  586. </div>
  587. <div v-else>
  588. <el-input style="width:100%" v-model="scope.row.compareB.valueA" />
  589. </div>
  590. </template>
  591. </el-table-column>
  592. <el-table-column prop="compareC" label="实例C" align="center">
  593. <template scope="scope" style="float:right">
  594. <div v-if="needWeight.includes(scope.row.index)">
  595. <el-input style="width:60%" v-model="scope.row.compareC.valueA" />
  596. <el-input-number v-model="scope.row.compareC.weight" :max="150" :min="1" size="small"
  597. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  598. </div>
  599. <div v-else-if="scope.row.index === '市场状况'">
  600. <el-date-picker v-model="scope.row.compareC.valueA" type="month" style="width:60%" placeholder="选择月">
  601. </el-date-picker>
  602. <el-input-number v-model="scope.row.compareC.weight" :max="150" :min="1" size="small"
  603. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  604. </div>
  605. <div v-else-if="scope.row.index === '楼层/总楼层'">
  606. <el-input style="width:26%" v-model="scope.row.compareC.valueA" />
  607. <span style="margin-left:2%;margin-right:2%">/</span>
  608. <el-input style="width:26%" v-model="scope.row.compareC.valueB" />
  609. <el-input-number v-model="scope.row.compareC.weight" :min="1" :max="150" size="small"
  610. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  611. </div>
  612. <div v-else-if="scope.row.index === '修正后价格'">
  613. <span v-if="scope.row.compareC.valueA"
  614. style="color:RGB(144,147,153);font-weight:bold;font-size:20px">¥{{ parseFloat(scope.row.compareC.valueA).toLocaleString() }}</span>
  615. </div>
  616. <div v-else-if="scope.row.index === '权重'">
  617. <el-input-number v-if="compareList.calculateType === 'WEIGHT'" v-model="scope.row.compareC.valueA"
  618. style="width:100%;" :min="0" :max="1" size="small" :step="0.1"
  619. controls-position="right"></el-input-number>
  620. </div>
  621. <div v-else-if="scope.row.index === '总价(元)'">
  622. <span v-if="scope.row.compareC.valueA"
  623. style="color:RGB(144,147,153);font-weight:bold;font-size:16px">¥{{ parseFloat(scope.row.compareC.valueA).toLocaleString() }}</span>
  624. </div>
  625. <div v-else-if="scope.row.index === '单价(元)'">
  626. <el-input-number v-model="scope.row.compareC.valueA" style="width:100%;" :min="0" size="small"
  627. controls-position="right"></el-input-number>
  628. </div>
  629. <div v-else-if="scope.row.index === '室内装饰'">
  630. <el-select v-model="scope.row.compareC.valueA" placeholder="请选择" style="width:60%">
  631. <el-option label="精装" value="精装">精装</el-option>
  632. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  633. <el-option label="简装" value="简装">简装</el-option>
  634. <el-option label="清水" value="清水">清水</el-option>
  635. </el-select>
  636. <el-input-number v-model="scope.row.compareC.weight" :max="150" :min="1" size="small"
  637. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  638. </div>
  639. <div v-else>
  640. <el-input style="width:100%" v-model="scope.row.compareC.valueA" />
  641. </div>
  642. </template>
  643. </el-table-column>
  644. <el-table-column prop="target" label="评估对象" align="center">
  645. <template scope="scope" style="float:right">
  646. <div v-if="needWeight.includes(scope.row.index)">
  647. <el-input style="width:60%" v-model="scope.row.target.valueA" />
  648. <el-input-number v-model="scope.row.target.weight" :min="1" size="small" controls-position="right"
  649. style="width:30%;margin-left:10%"></el-input-number>
  650. </div>
  651. <div v-else-if="scope.row.index === '市场状况'">
  652. <el-date-picker v-model="scope.row.target.valueA" type="month" style="width:60%" placeholder="选择月">
  653. </el-date-picker>
  654. <el-input-number v-model="scope.row.target.weight" :max="150" :min="1" size="small"
  655. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  656. </div>
  657. <div v-else-if="scope.row.index === '楼层/总楼层'">
  658. <el-input style="width:26%" v-model="scope.row.target.valueA" />
  659. <span style="margin-left:2%;margin-right:2%">/</span>
  660. <el-input style="width:26%" v-model="scope.row.target.valueB" />
  661. <el-input-number v-model="scope.row.target.weight" :max="150" :min="1" size="small"
  662. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  663. </div>
  664. <div v-else-if="scope.row.index === '修正后价格'">
  665. <span v-if="scope.row.target.valueA"
  666. style="color:red;font-weight:bold;font-size:20px">¥{{ parseFloat(scope.row.target.valueA).toLocaleString() }}</span>
  667. </div>
  668. <div v-else-if="scope.row.index === '权重'">
  669. <el-input-number v-if="false" v-model="scope.row.target.valueA" style="width:100%;" :min="0" :max="1"
  670. size="small" :step="0.1" controls-position="right"></el-input-number>
  671. </div>
  672. <div v-else-if="scope.row.index === '总价(元)' || scope.row.index === '单价(元)'">
  673. <span v-if="scope.row.target.valueA"
  674. style="color:red;font-weight:bold;font-size:16px">¥{{ parseFloat(scope.row.target.valueA).toLocaleString() }}</span>
  675. </div>
  676. <div v-else-if="scope.row.index === '室内装饰'">
  677. <el-select v-model="scope.row.target.valueA" placeholder="请选择" style="width:60%">
  678. <el-option label="精装" value="精装">精装</el-option>
  679. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  680. <el-option label="简装" value="简装">简装</el-option>
  681. <el-option label="清水" value="清水">清水</el-option>
  682. </el-select>
  683. <el-input-number v-model="scope.row.target.weight" :max="150" :min="1" size="small"
  684. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  685. </div>
  686. <div v-else>
  687. <el-input style="width:100%" v-model="scope.row.target.valueA" />
  688. </div>
  689. </template>
  690. </el-table-column>
  691. </el-table>
  692. </el-form>
  693. </div>
  694. </el-tab-pane>
  695. <el-tab-pane name="certificateInfo" class="pane-class" :lazy=true>
  696. <span slot="label"><i class="el-icon-postcard"></i> 证件信息</span>
  697. <el-tabs v-model="certificateInfo" v-if="certificateInfo!=null">
  698. <el-tab-pane name="HOUSE_CERTIFICATE" class="pane-class" :lazy=true v-if="houseShow">
  699. <span slot="label"><i class="el-icon-postcard"></i> 房产证</span>
  700. <HouseCertificate @custom-event="getPersonalTarget()" :id="target.id" :linkAttributes="linkAttributes"
  701. :houseCertificateObject="target.houseCertificate" :editStatus="certificateCouldEdit">
  702. </HouseCertificate>
  703. </el-tab-pane>
  704. <el-tab-pane name="LAND_CERTIFICATE" class="pane-class" :lazy=true v-if="landShow">
  705. <span slot="label"><i class="el-icon-postcard"></i> 国土证</span>
  706. <LandCertificate @custom-event="getPersonalTarget()" :id="target.id"
  707. :landCertificateObject="target.landCertificate" :editStatus="certificateCouldEdit"></LandCertificate>
  708. </el-tab-pane>
  709. <el-tab-pane name="IMMOVABLE_CERTIFICATE" class="pane-class" :lazy=true v-if="immovalbeShow">
  710. <span slot="label"><i class="el-icon-postcard"></i> 不动产权证</span>
  711. <ImmovableCertificate @custom-event="getPersonalTarget()" :id="target.id" :linkAttributes="linkAttributes"
  712. :immovableCertificateObject="target.immovableCertificate" :editStatus="certificateCouldEdit">
  713. </ImmovableCertificate>
  714. </el-tab-pane>
  715. </el-tabs>
  716. <span v-else style="color: RGB(168,168,168)">未提供任何证件信息</span>
  717. </el-tab-pane>
  718. <el-tab-pane name="otherInfo" class="pane-class" :lazy=true>
  719. <span slot="label"><i class="el-icon-chat-line-square"></i> 附加信息</span>
  720. <el-tabs v-model="otherInfo">
  721. <el-tab-pane name="entityInfo" class="pane-class" :lazy=true>
  722. <span slot="label"><i class="el-icon-paperclip"></i> 实物状况</span>
  723. <EntityInfo @custom-event="getPersonalTarget()" ref="entityCompent" :id="target.id"
  724. :linkAttributes="linkAttributes" :entityInfoObject="target.entityInfo" :editStatus="certificateCouldEdit">
  725. </EntityInfo>
  726. </el-tab-pane>
  727. <el-tab-pane name="backgroundInfo" class="pane-class" :lazy=true>
  728. <span slot="label"><i class="el-icon-paperclip"></i> 区位状况</span>
  729. <BackgroundInfo @custom-event="getPersonalTarget()" :id="target.id"
  730. :backgroundInfoObject="target.backgroundInfo" :editStatus="certificateCouldEdit"></BackgroundInfo>
  731. </el-tab-pane>
  732. <el-tab-pane name="sellingAbilityInfo" class="pane-class" :lazy=true>
  733. <span slot="label"><i class="el-icon-paperclip"></i> 变现能力</span>
  734. <SellingAbilityInfo @custom-event="getPersonalTarget()" :id="target.id" :outWardStaffId="personal.outwardStaff"
  735. :sellingAbilityInfoObject="target.sellingAbility" :editStatus="certificateCouldEdit"></SellingAbilityInfo>
  736. </el-tab-pane>
  737. </el-tabs>
  738. </el-tab-pane>
  739. <el-tab-pane name="producution" class="pane-class" :lazy=true>
  740. <span slot="label"><i class="el-icon-document-checked"></i> 产品信息</span>
  741. <div class="createMajor-main-container"
  742. v-if="currentNode.code === 'QUOTATION_FEEDBACK' || currentNode.code === 'STATEMENT_FEEDBACK'">
  743. <div class="postInfo-container">
  744. <div>
  745. <el-divider content-position="left">
  746. <h3 class="title">
  747. <div class="avatar-wrapper icon-title">反馈</div>
  748. <div class="icon-info">客户反馈</div>
  749. </h3>
  750. </el-divider>
  751. </div>
  752. <el-form ref="feedbackFrom" class="form-container" style="margin-top:30px" :rules="rules">
  753. <el-row>
  754. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  755. <el-form-item label="出具产品类型:" prop="production" label-width="160px" class="postInfo-container-item">
  756. <el-checkbox-group v-model="feedback" style="width:300px">
  757. <el-checkbox-button label="STATEMENT" name="production">价值意见书</el-checkbox-button>
  758. <el-checkbox-button label="REPORT" name="production">报告</el-checkbox-button>
  759. <el-checkbox-button label="LETTER" name="production">复评函</el-checkbox-button>
  760. <el-tooltip class="item" effect="dark" content="只出具价值意见书,不再出具其他产品。" placement="top-start">
  761. <el-checkbox-button v-if="currentNode.nodeCode === 'STATEMENT_FEEDBACK'" label="NONE"
  762. name="production">不再出具</el-checkbox-button>
  763. </el-tooltip>
  764. </el-checkbox-group>
  765. </el-form-item>
  766. </el-col>
  767. </el-row>
  768. </el-form>
  769. </div>
  770. </div>
  771. <div class="createMajor-main-container">
  772. <div class="postInfo-container">
  773. <div>
  774. <el-divider content-position="left">
  775. <h3 class="title">
  776. <div class="avatar-wrapper icon-title">产品</div>
  777. <div class="icon-info">产品信息</div>
  778. <el-button type="text" style="margin-left: 20px;" @click="downloadAll()">全部下载</el-button>
  779. </h3>
  780. </el-divider>
  781. </div>
  782. </div>
  783. </div>
  784. <div style="display: flex;margin-top: 100px; width: 100%;">
  785. <el-card :body-style="{ padding: '0px' }" shadow="always"
  786. style="margin-left: 5%; margin-right: 5%; width: 20%;">
  787. <img :src="statementCardPNG" class="image">
  788. <div style="padding: 14px;">
  789. <span>房地产意见书</span>
  790. <span class="checked">{{ statementProd.checkState }}<i v-if="statementProd.checkState"
  791. class="el-icon-circle-check"></i></span>
  792. <time class="time">{{ statementProd.modified }}</time>
  793. <div class="control">
  794. <el-button type="text" class="button" @click="doStamp(statementProd.files)" disabled>加盖公章</el-button>
  795. <el-button type="text" class="button" @click="warehouse()" disabled>出入库</el-button>
  796. <el-button type="text" class="button" @click="genProductionFile(1)" disabled>系统生成</el-button>
  797. </div>
  798. </div>
  799. <el-upload style="position: relative; top: -10px; padding: 10px;"
  800. :action="'/api/personalProduction/upload/' + target.id + '/1'" :file-list="statementProd.files" disabled
  801. :on-preview="handleAttachmentPreview">
  802. <el-button type="text" style="position: relative; left: 10px;top: -4px;" disabled>手动上传</el-button>
  803. </el-upload>
  804. </el-card>
  805. <el-card :body-style="{ padding: '0px' }" shadow="always"
  806. style="margin-left: 5%; margin-right: 5%;width: 20%;">
  807. <img :src="technicCardPNG" class="image">
  808. <div style="padding: 14px;">
  809. <span>技术报告</span>
  810. <span class="checked">{{ technicReportProd.checkState }}<i v-if="technicReportProd.checkState"
  811. class="el-icon-circle-check"></i></span>
  812. <time class="time">{{ technicReportProd.modified }}</time>
  813. <div class="control">
  814. <el-button type="text" class="button" @click="doStamp(technicReportProd.files)"
  815. disabled>加盖公章</el-button>
  816. <el-button type="text" class="button" @click="warehouse()" disabled>出入库</el-button>
  817. <el-button type="text" class="button" @click="genProductionFile(2)" disabled>系统生成</el-button>
  818. </div>
  819. </div>
  820. <el-upload style="position: relative; top: -10px; padding: 10px;"
  821. :action="'/api/personalProduction/upload/' + target.id + '/2'" :file-list="technicReportProd.files"
  822. :on-preview="handleAttachmentPreview">
  823. <el-button type="text" style="position: relative; left: 10px;top: -4px;" disabled>手动上传</el-button>
  824. </el-upload>
  825. </el-card>
  826. <el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;">
  827. <img :src="finalCardPNG" class="image">
  828. <div style="padding: 14px;">
  829. <span>结果报告</span>
  830. <span class="checked">{{ finalReprotProd.checkState }}<i v-if="finalReprotProd.checkState"
  831. class="el-icon-circle-check"></i></span>
  832. <time class="time">{{ finalReprotProd.modified }}</time>
  833. <div class="control">
  834. <el-button type="text" class="button" @click="doStamp(finalReprotProd.files)" disabled>加盖公章</el-button>
  835. <el-button type="text" class="button" @click="warehouse()" disabled>出入库</el-button>
  836. <el-button type="text" class="button" @click="genProductionFile(3)" disabled>系统生成</el-button>
  837. </div>
  838. </div>
  839. <el-upload style="position: relative; top: -10px;padding: 10px;"
  840. :action="'/api/personalProduction/upload/' + target.id + '/3'" :file-list="finalReprotProd.files"
  841. :on-preview="handleAttachmentPreview">
  842. <el-button type="text" style="position: relative; left: 10px;top: -4px;" disabled>手动上传</el-button>
  843. </el-upload>
  844. </el-card>
  845. </div>
  846. </el-tab-pane>
  847. <el-tab-pane name="workflowLog" class="pane-class" :lazy=true>
  848. <span slot="label"><i class="el-icon-date"></i> 流程日志</span>
  849. <div class="createMajor-main-container">
  850. <div class="postInfo-container">
  851. <div>
  852. <el-divider content-position="left">
  853. <h3 class="title">
  854. <div class="avatar-wrapper icon-title">日志</div>
  855. <div class="icon-info">流程审批日志</div>
  856. </h3>
  857. </el-divider>
  858. </div>
  859. </div>
  860. </div>
  861. <el-table :data="workflowLogs" stripe :header-row-style="{ color: '#333333' }" border
  862. style="width: 100%; margin-top:20px">
  863. <el-table-column prop="nodeName" label="节点名称" align="center">
  864. </el-table-column>
  865. <el-table-column prop="state" label="处理结果" align="center">
  866. </el-table-column>
  867. <el-table-column prop="handlerName" label="处理人" align="center">
  868. </el-table-column>
  869. <el-table-column prop="longTime" label="处理时长" align="center">
  870. </el-table-column>
  871. <el-table-column prop="created" label="处理时间" align="center">
  872. </el-table-column>
  873. <el-table-column prop="comments" label="处理意见" align="center" show-overflow-tooltip>
  874. </el-table-column>
  875. </el-table>
  876. </el-tab-pane>
  877. </el-tabs>
  878. </div>
  879. </template>
  880. <script>
  881. import YDetailPageLayout from '@/components/YDetailPageLayout/index_detail'
  882. import WorkflowBoard from '@/components/workflowBoard'
  883. import HouseCertificate from '@/components/personalForms/houseCertificate'
  884. import LandCertificate from '@/components/personalForms/landCertificate'
  885. import ImmovableCertificate from '@/components/personalForms/immovableCertificate'
  886. import EntityInfo from '@/components/personalForms/entityInfo'
  887. import BackgroundInfo from '@/components/personalForms/backgroundInfo'
  888. import SellingAbilityInfo from '@/components/personalForms/sellingAbilityInfo'
  889. import existPNG from '@/assets/images/exist.png'
  890. import emptyPNG from '@/assets/images/empty.png'
  891. export default {
  892. name: 'personalTodoDetail',
  893. components: {
  894. YDetailPageLayout,
  895. WorkflowBoard,
  896. HouseCertificate,
  897. LandCertificate,
  898. ImmovableCertificate,
  899. EntityInfo,
  900. BackgroundInfo,
  901. SellingAbilityInfo
  902. },
  903. watch: {
  904. $route(to, from) {
  905. if (to.path === from.path){
  906. this.personalId = this.$route.query.id;
  907. this.businessSubId = this.$route.query.orderId;
  908. this.nodeName = this.$route.query.currentNodeName;
  909. this.nodeBusinessInfo.doWorkflow = false
  910. this.nodeBusinessInfo.businessId = this.$route.query.id;
  911. this.nodeBusinessInfo.businessSubId = this.$route.query.orderId;
  912. this.getPersonalTarget();
  913. this.getPersonal();
  914. this.getOutWardStaffList();
  915. this.getWorkflowLogs();
  916. this.getCurrentNodeInfo();
  917. this.getProductions();
  918. this.getScene();
  919. }
  920. },
  921. personal: {
  922. handler(newVal, oldVal) {
  923. if (newVal.outwardStaff) {
  924. this.outwardStaffTip = false;
  925. } else {
  926. this.outwardStaffTip = true;
  927. }
  928. this.certificateInfo = newVal.credentials[0];
  929. if (newVal.credentials.includes("HOUSE_CERTIFICATE")){
  930. this.houseShow = true;
  931. }else{
  932. this.houseShow = false;
  933. }
  934. if (newVal.credentials.includes("LAND_CERTIFICATE")){
  935. this.landShow = true;
  936. }else{
  937. this.landShow = false;
  938. }
  939. if (newVal.credentials.includes("IMMOVABLE_CERTIFICATE")){
  940. this.immovalbeShow = true;
  941. }else{
  942. this.immovalbeShow = false;
  943. }
  944. },
  945. deep: true
  946. },
  947. activeTagName: {
  948. handler(newVal, oldVal) {
  949. if (newVal != 'order') {
  950. this.outwardStaffTip = false;
  951. }
  952. },
  953. },
  954. target: {
  955. handler(newVal, oldVal) {
  956. if (newVal.acreage != null && newVal.price != null) {
  957. newVal.amount = (newVal.acreage * newVal.price/10000).toFixed(2)
  958. }
  959. if (newVal.id) {
  960. this.getProductions();
  961. }
  962. },
  963. deep: true
  964. },
  965. feedback: {
  966. handler(newVal, oldVal) {
  967. if (newVal != oldVal) {
  968. this.$refs.board.getInstanceQueue();
  969. }
  970. },
  971. deep: true
  972. }
  973. },
  974. computed: {
  975. certificateCouldEdit() {
  976. let currentNodeCode = this.$route.query.currentNodeCode;
  977. if (currentNodeCode === 'GENERATE_STATEMENT') {
  978. return true;
  979. } else {
  980. return false;
  981. }
  982. },
  983. },
  984. data() {
  985. return {
  986. rules: {
  987. outwardStaff: [
  988. { required: true, message: '外业人员不能为空', trigger: 'blur' },
  989. ],
  990. },
  991. workflowLogs: [],
  992. activeName: 'workflowInfo',
  993. activeTagName: 'order',
  994. nodeBusinessInfo: {
  995. currentNodePermission: {
  996. commit: true,
  997. reversible: true,
  998. restartable: true,
  999. terminable: true,
  1000. skippable: true,
  1001. },
  1002. mainBusiness: "PERSONAL_BUSINESS",
  1003. doWorkflow: false,
  1004. businessId: null,
  1005. currentNodeInstanceId: null,
  1006. currentNodeInstanceCode: null,
  1007. production: [],
  1008. businessSubId: null,
  1009. ifFeedback: null,
  1010. ccId: null
  1011. },
  1012. currentNode: {
  1013. flowId: null,
  1014. pnodeId: null,
  1015. nodeId: null,
  1016. flowCode: null,
  1017. nodeName: "",
  1018. nodeCode: null,
  1019. state: "",
  1020. instanceId: null,
  1021. sequence: null,
  1022. restartable: null,
  1023. reversible: null,
  1024. skippable: null,
  1025. terminable: null,
  1026. tasks: []
  1027. },
  1028. personal: {
  1029. id: null,
  1030. clientManagerId: null,
  1031. clientManager: null,
  1032. evaluateAim: null,
  1033. purpose: [],
  1034. location: null,
  1035. clienteleType: null,
  1036. clienteleId: null,
  1037. cclienteleName: null,
  1038. cclienteleSubName: null,
  1039. agent: null,
  1040. cclienteleContactName: null,
  1041. cmobile: null,
  1042. cdepartment: null,
  1043. cduty: null,
  1044. loanNature: null,
  1045. loanAim: null,
  1046. loanLimit: null,
  1047. loanPeriod: null,
  1048. loanExpire: false,
  1049. credentials: [],
  1050. bailorA: null,
  1051. bailorATel: null,
  1052. bailorB: null,
  1053. bailorBTel: null,
  1054. terminalClienteleType: null,
  1055. tterminalClienteleName: null,
  1056. tterminalClienteleContactName: null,
  1057. tmobile: null,
  1058. remark: null,
  1059. inwardStaffName: null,
  1060. outwardStaff: null,
  1061. outwardStaffName: null,
  1062. pricingStaffName: null,
  1063. inwardStaffName: null,
  1064. },
  1065. outwardStaffs: [],
  1066. outwardStaffTip: true,
  1067. certificateName: null,
  1068. otherInfo: null,
  1069. target: {
  1070. id: null,
  1071. personalId: null,
  1072. location: null,
  1073. acreage: null,
  1074. amount: null,
  1075. price: null,
  1076. isOnline: false,
  1077. feedback: null,
  1078. houseCertificate: null,
  1079. landCertificate: null,
  1080. immovableCertificate: null,
  1081. entityInfo: null,
  1082. backgroundInfo: null,
  1083. sellingAbility: null,
  1084. sellMoney: null,
  1085. sellMoneyBase: null,
  1086. sellMoneyRate: null
  1087. },
  1088. compareList: {
  1089. targetId: null,
  1090. calculateId: null,
  1091. fixValue: 1,
  1092. rightsType: 'SELL',
  1093. rollingLevel: 1,
  1094. calculateType: 'SIMPLE',
  1095. method: 'COMPARE',
  1096. analysisData: [
  1097. {
  1098. "sorted": null,
  1099. "index": "坐落",
  1100. "compareA": { valueA: null },
  1101. "compareB": { valueA: null },
  1102. "compareC": { valueA: null },
  1103. "target": { valueA: null },
  1104. },
  1105. {
  1106. "sorted": null,
  1107. "index": "总价(元)",
  1108. "compareA": { valueA: null },
  1109. "compareB": { valueA: null },
  1110. "compareC": { valueA: null },
  1111. "target": { valueA: null },
  1112. },
  1113. {
  1114. "sorted": null,
  1115. "index": "单价(元)",
  1116. "compareA": { valueA: null },
  1117. "compareB": { valueA: null },
  1118. "compareC": { valueA: null },
  1119. "target": { valueA: null },
  1120. },
  1121. {
  1122. "sorted": null,
  1123. "index": "市场状况",
  1124. "compareA": { valueA: null, weight: 100 },
  1125. "compareB": { valueA: null, weight: 100 },
  1126. "compareC": { valueA: null, weight: 100 },
  1127. "target": { valueA: null, weight: 100 },
  1128. },
  1129. {
  1130. "sorted": null,
  1131. "index": "所在楼栋",
  1132. "compareA": { valueA: '对中庭', weight: 100 },
  1133. "compareB": { valueA: '对中庭', weight: 100 },
  1134. "compareC": { valueA: '对中庭', weight: 100 },
  1135. "target": { valueA: '对中庭', weight: 100 },
  1136. },
  1137. {
  1138. "sorted": null,
  1139. "index": "建筑面积(平)",
  1140. "compareA": { valueA: 0, weight: 100 },
  1141. "compareB": { valueA: 0, weight: 100 },
  1142. "compareC": { valueA: 0, weight: 100 },
  1143. "target": { valueA: 0, weight: 100 },
  1144. },
  1145. {
  1146. "sorted": null,
  1147. "index": "楼层/总楼层",
  1148. "compareA": { valueA: null, valueb: null, weight: 100 },
  1149. "compareB": { valueA: null, valueb: null, weight: 100 },
  1150. "compareC": { valueA: null, valueb: null, weight: 100 },
  1151. "target": { valueA: null, valueb: null, weight: 100 },
  1152. },
  1153. {
  1154. "sorted": null,
  1155. "index": "户型",
  1156. "compareA": { valueA: null, weight: 100 },
  1157. "compareB": { valueA: null, weight: 100 },
  1158. "compareC": { valueA: null, weight: 100 },
  1159. "target": { valueA: null, weight: 100 },
  1160. },
  1161. {
  1162. "sorted": null,
  1163. "index": "室内装饰",
  1164. "compareA": { valueA: '精装', weight: 100 },
  1165. "compareB": { valueA: '精装', weight: 100 },
  1166. "compareC": { valueA: '精装', weight: 100 },
  1167. "target": { valueA: '精装', weight: 100 },
  1168. },
  1169. {
  1170. "sorted": null,
  1171. "index": "其他",
  1172. "compareA": { valueA: null, weight: 100 },
  1173. "compareB": { valueA: null, weight: 100 },
  1174. "compareC": { valueA: null, weight: 100 },
  1175. "target": { valueA: null, weight: 100 },
  1176. },
  1177. {
  1178. "sorted": null,
  1179. "index": "修正后价格",
  1180. "compareA": { valueA: null },
  1181. "compareB": { valueA: null },
  1182. "compareC": { valueA: null },
  1183. "target": { valueA: null },
  1184. }
  1185. ],
  1186. price: null,
  1187. amount: null,
  1188. acreage: null,
  1189. sellMoney: null,
  1190. sellMoneyBase: null,
  1191. sellMoneyRate: null
  1192. },
  1193. needWeight: ['所在楼栋', '建筑面积(平)', '户型', '其他'],
  1194. requiredIndex: ['单价(元)', '坐落', '市场状况', '所在楼栋', '建筑面积(平)', '户型', '室内装饰', '楼层/总楼层', '权重'],
  1195. calculateWeight: {
  1196. "sorted": null,
  1197. "index": "权重",
  1198. "compareA": { valueA: null },
  1199. "compareB": { valueA: null },
  1200. "compareC": { valueA: null },
  1201. "target": { valueA: null },
  1202. },
  1203. calculating: false,
  1204. decideProductionTypeDialog: false,
  1205. linkAttributes: {
  1206. location: null,
  1207. bailor1: null,
  1208. bailor1Tel: null,
  1209. bailor2: null,
  1210. bailor2Tel: null,
  1211. acreage: null,
  1212. allFloor: null,
  1213. purpose: null,
  1214. ownerName: null,
  1215. atFloor: null
  1216. },
  1217. statementProd: {
  1218. id: null,
  1219. targetId: null,
  1220. files: [],
  1221. created: null,
  1222. checkSatae: null
  1223. },
  1224. technicReportProd: {
  1225. id: null,
  1226. targetId: null,
  1227. files: [],
  1228. created: null,
  1229. checkSatae: null
  1230. },
  1231. finalReprotProd: {
  1232. id: null,
  1233. targetId: null,
  1234. files: [],
  1235. created: null,
  1236. checkSatae: null
  1237. },
  1238. statementCardPNG: emptyPNG,
  1239. technicCardPNG: emptyPNG,
  1240. finalCardPNG: emptyPNG,
  1241. outWarehouseDialog: false,
  1242. inWarehouseDialog: false,
  1243. warehouseTip: null,
  1244. productionId: null,
  1245. // hasStatement: false,
  1246. // hasReport: false,
  1247. feedback: null,
  1248. checkDialog: false,
  1249. checkProDTO: {
  1250. targetId: null,
  1251. production: null
  1252. },
  1253. sceneForm: {
  1254. id: null,
  1255. personalId: null,
  1256. inRingDewlling: null,
  1257. outRingDewlling: null,
  1258. inRingBuilding: null,
  1259. outRingBuilding: null,
  1260. remark: null
  1261. },
  1262. otherInfo: 'entityInfo',
  1263. certificateInfo: null,
  1264. houseShow:false,
  1265. immovalbeShow:false,
  1266. landShow:false,
  1267. qrCodeUrl:null,
  1268. showQR:true
  1269. }
  1270. },
  1271. created() {
  1272. this.personalId = this.$route.query.id;
  1273. this.businessSubId = this.$route.query.orderId;
  1274. this.nodeName = this.$route.query.currentNodeName;
  1275. this.nodeBusinessInfo.doWorkflow = false
  1276. this.nodeBusinessInfo.businessId = this.$route.query.id;
  1277. this.nodeBusinessInfo.businessSubId = this.$route.query.orderId;
  1278. this.getPersonalTarget();
  1279. this.getPersonal();
  1280. this.getOutWardStaffList();
  1281. this.getWorkflowLogs();
  1282. this.getCurrentNodeInfo();
  1283. this.getProductions();
  1284. this.getScene();
  1285. },
  1286. methods: {
  1287. getPersonal() {
  1288. if (this.personalId) {
  1289. this.$api.personal.detail(this.personalId).then(res => {
  1290. if (res.code === 200) {
  1291. res.data.credentials = JSON.parse(res.data.credentials);
  1292. res.data.purpose = JSON.parse(res.data.purpose);
  1293. this.personal = res.data;
  1294. this.linkAttributes.location = this.personal.location;
  1295. this.linkAttributes.bailor1 = this.personal.bailorA;
  1296. this.linkAttributes.bailor1Tel = this.personal.bailoraTel;
  1297. this.linkAttributes.bailor2 = this.personal.bailorB;
  1298. this.linkAttributes.bailor2Tel = this.personal.bailorbTel;
  1299. this.linkAttributes.purpose = this.personal.purpose;
  1300. if (this.personal.evaluateAim === '抵押') {
  1301. this.linkAttributes.ownerName = this.personal.bailorA;
  1302. }
  1303. this.nodeBusinessInfo.ccId = this.personal.clienteleId;
  1304. }
  1305. })
  1306. }
  1307. },
  1308. getPersonalTarget() {
  1309. if (this.personalId) {
  1310. this.$api.personalTarget.detail(this.personalId).then(res => {
  1311. if (res.code === 200) {
  1312. this.target = res.data;
  1313. this.linkAttributes.acreage = this.target.acreage;
  1314. if (res.data.isOnline) {
  1315. this.getCaluateTable(res.data.id)
  1316. }
  1317. if (res.data.houseCertificate) {
  1318. this.target.houseCertificate = JSON.parse(res.data.houseCertificate);
  1319. }
  1320. if (res.data.landCertificate) {
  1321. this.target.landCertificate = JSON.parse(res.data.landCertificate);
  1322. }
  1323. if (res.data.immovableCertificate) {
  1324. this.target.immovableCertificate = JSON.parse(res.data.immovableCertificate);
  1325. }
  1326. if (res.data.entityInfo) {
  1327. this.target.entityInfo = JSON.parse(res.data.entityInfo);
  1328. }
  1329. if (res.data.backgroundInfo) {
  1330. this.target.backgroundInfo = JSON.parse(res.data.backgroundInfo);
  1331. }
  1332. if (res.data.sellingAbility) {
  1333. this.target.sellingAbility = JSON.parse(res.data.sellingAbility);
  1334. }
  1335. if (res.data.feedback) {
  1336. this.feedback = JSON.parse(res.data.feedback);
  1337. this.nodeBusinessInfo.production = this.feedback;
  1338. // if (this.feedback.includes("STATEMENT")) {
  1339. // this.hasStatement = true;
  1340. // }
  1341. // if (this.feedback.includes("REPORT")) {
  1342. // this.hasReport = true;
  1343. // }
  1344. } else {
  1345. this.feedback = [];
  1346. }
  1347. }
  1348. })
  1349. }
  1350. },
  1351. getCurrentNodeInfo() {
  1352. if (this.personalId) {
  1353. this.$api.workNodeInstance.currentNode({ "mainBusiness": "PERSONAL_BUSINESS", "businessId": this.personalId, "businessSubId": this.businessSubId }).then(res => {
  1354. if (res.code === 200) {
  1355. if (res.data) {
  1356. this.currentNode = res.data;
  1357. this.nodeBusinessInfo.currentInstanceNodeId = res.data.instanceId;
  1358. this.nodeBusinessInfo.currentNodeInstanceCode = res.data.nodeCode;
  1359. this.nodeBusinessInfo.currentNodePermission.restartable = res.data.restartable;
  1360. this.nodeBusinessInfo.currentNodePermission.reversible = res.data.reversible;
  1361. this.nodeBusinessInfo.currentNodePermission.skippable = res.data.skippable;
  1362. this.nodeBusinessInfo.currentNodePermission.terminable = res.data.terminable;
  1363. }
  1364. }
  1365. })
  1366. }
  1367. },
  1368. handleClick(tab) { },
  1369. getWorkflowLogs() {
  1370. let param = {
  1371. businessId: this.personalId,
  1372. businessType: 'PERSONAL_BUSINESS',
  1373. businessSubId: this.businessSubId
  1374. }
  1375. this.$api.workflowLog.list(param).then(res => {
  1376. if (res.code === 200) {
  1377. this.workflowLogs = res.data;
  1378. }
  1379. })
  1380. },
  1381. goBack() {
  1382. const back = this.$route.query.back
  1383. if (back) {
  1384. this.$router.push(back)
  1385. }
  1386. },
  1387. getOutWardStaffList() {
  1388. this.$api.user.postUser("个贷外业岗").then(res => {
  1389. if (res.code === 200) {
  1390. this.outwardStaffs = res.data;
  1391. }
  1392. })
  1393. },
  1394. getCaluateTable(targetId) {
  1395. if (targetId) {
  1396. this.$api.personalCalculate.getResult(targetId).then(res => {
  1397. if (res.code === 200 && res.data) {
  1398. this.compareList = res.data;
  1399. this.linkAttributes.allFloor = this.compareList.analysisData[6].target.valueB;
  1400. this.linkAttributes.atFloor = this.compareList.analysisData[6].target.valueA;
  1401. this.linkAttributes.houseType = this.compareList.analysisData[7].target.valueA;
  1402. }
  1403. })
  1404. }
  1405. },
  1406. calculateSwith() {
  1407. this.$api.personalTarget.calculateSwith(this.target.isOnline, this.target.id);
  1408. if (this.target.isOnline && !this.compareList.calculateId) {
  1409. this.getCaluateTable(this.target.id);
  1410. }
  1411. if (this.target.isOnline) {
  1412. setTimeout(() => {
  1413. const element = document.getElementById("evaluteObject");
  1414. element.scrollTop = element.scrollHeight;
  1415. }, 500);
  1416. }
  1417. },
  1418. getProductions() {
  1419. if (this.target.id) {
  1420. this.$api.personalProduction.getProductions(this.target.id).then(res => {
  1421. if (res.code === 200) {
  1422. const words = res.data
  1423. words.forEach(word => {
  1424. if (word.production === 'STATEMENT') {
  1425. this.statementProd = word;
  1426. const fs = [];
  1427. if (word.filePath) {
  1428. this.statementCardPNG = existPNG;
  1429. const sta = JSON.parse(word.filePath)
  1430. sta.id = word.id;
  1431. fs.push(sta);
  1432. } else {
  1433. this.statementCardPNG = emptyPNG;
  1434. }
  1435. this.statementProd.files = fs;
  1436. }
  1437. if (word.production === 'TECHNIC') {
  1438. this.technicReportProd = word;
  1439. const fs = [];
  1440. if (word.filePath) {
  1441. const tec = JSON.parse(word.filePath)
  1442. tec.id = word.id;
  1443. this.technicCardPNG = existPNG;
  1444. fs.push(tec);
  1445. } else {
  1446. this.technicCardPNG = emptyPNG;
  1447. }
  1448. this.technicReportProd.files = fs;
  1449. }
  1450. if (word.production === 'FINAL') {
  1451. this.finalReprotProd = word;
  1452. const fs = [];
  1453. if (word.filePath) {
  1454. const final = JSON.parse(word.filePath)
  1455. final.id = word.id;
  1456. this.finalCardPNG = existPNG;
  1457. fs.push(final);
  1458. } else {
  1459. this.finalCardPNG = emptyPNG;
  1460. }
  1461. this.finalReprotProd.files = fs;
  1462. }
  1463. });
  1464. }
  1465. })
  1466. }
  1467. },
  1468. downloadPkg() {
  1469. if (this.target.id) {
  1470. this.$api.personalProduction.downloadPkg(this.target.id);
  1471. }
  1472. },
  1473. getScene() {
  1474. this.$api.personalScene.getScene(this.personalId).then(res => {
  1475. if (res.code === 200 && res.data) {
  1476. this.sceneForm = res.data;
  1477. }
  1478. })
  1479. },
  1480. printQR(path){
  1481. let routeUrl = this.$router.resolve({
  1482. path: `/print/code?path=${path}`
  1483. });
  1484. window.open(routeUrl.href, '_blank');
  1485. },
  1486. handleAttachmentPreview(file) {
  1487. // window.open(file.url)
  1488. this.officeFileView(file.name, file.url);
  1489. },
  1490. // 文档预览
  1491. officeFileView(name, url) {
  1492. if (name || url) {
  1493. const route = this.$router.resolve({
  1494. path: "/office/view/window",
  1495. query: {
  1496. // 文档标题
  1497. title: name,
  1498. // 文档url地址
  1499. url: url,
  1500. mode:'view'
  1501. }
  1502. });
  1503. // 在新窗口打开页面
  1504. window.open(route.href, "_blank");
  1505. } else {
  1506. this.$notify({
  1507. title: '失败',
  1508. message: 'url为空,无法打开,如未保存请保存后再试!',
  1509. type: 'error',
  1510. duration: 2000
  1511. });
  1512. }
  1513. },
  1514. downloadAll(){
  1515. if (this.target.id) {
  1516. let fileName = this.businessSubId;
  1517. this.$api.personalProduction.downloadPkg(this.target.id).then(res=>{
  1518. let blob = new Blob([res],{type:"application/octet-stream;"})
  1519. const url = window.URL.createObjectURL(blob);
  1520. const link = document.createElement('a');
  1521. link.href = url;
  1522. console.log(blob)
  1523. link.setAttribute('download',fileName+'产品包.zip');
  1524. document.body.appendChild(link);
  1525. link.click();
  1526. })
  1527. }
  1528. }
  1529. }
  1530. }
  1531. </script>
  1532. <style lang="scss" scoped>
  1533. .row-style {
  1534. margin-left: 40px;
  1535. margin-right: 1%;
  1536. }
  1537. .major-radio {
  1538. width: 92px
  1539. }
  1540. .task-class {
  1541. /deep/ .el-form-item__label {
  1542. color: red;
  1543. }
  1544. }
  1545. .evaluate-table {
  1546. margin-left: 40px;
  1547. margin-top: 35px;
  1548. }
  1549. .pane-class {
  1550. width: 100%;
  1551. overflow-y: scroll;
  1552. }
  1553. /deep/ .cell-class {
  1554. font-size: 13px;
  1555. color: black;
  1556. }
  1557. .table {
  1558. /deep/ thead {
  1559. .el-table-column--selection {
  1560. .cell {
  1561. display: none;
  1562. }
  1563. }
  1564. }
  1565. }
  1566. /deep/.doWarehouseClass {
  1567. border-radius: 10px;
  1568. }
  1569. .button-area {
  1570. position: absolute;
  1571. top: 20px;
  1572. right: 50px;
  1573. }
  1574. .error-type {
  1575. margin-right: 5px;
  1576. }
  1577. .error-type:hover {
  1578. cursor: pointer;
  1579. }
  1580. .box-card {
  1581. margin-top: 40px
  1582. }
  1583. .time {
  1584. font-size: 13px;
  1585. color: #999;
  1586. float: right;
  1587. margin-top: 5px;
  1588. }
  1589. .bottom {
  1590. margin-top: 13px;
  1591. line-height: 12px;
  1592. }
  1593. .button {
  1594. float: left;
  1595. }
  1596. .image {
  1597. width: 100%;
  1598. padding: 0%;
  1599. display: block;
  1600. }
  1601. .control {
  1602. z-index: 999;
  1603. position: relative;
  1604. top: 10px;
  1605. }
  1606. .checked {
  1607. margin-left: 10px;
  1608. font-size: 12px;
  1609. color: green;
  1610. }
  1611. .qr-code-div{
  1612. background-color: RGB(245, 245, 245);
  1613. width: 150px;
  1614. height: 150px;
  1615. position: absolute;
  1616. display: flex;
  1617. justify-content: center;
  1618. align-items: center;
  1619. }
  1620. .qr-code{
  1621. width: 150px;
  1622. height: 150px;
  1623. z-index: 999;
  1624. border: 1px #919398 solid;
  1625. border-radius: 5px;
  1626. }
  1627. .qr-code-div:hover {
  1628. cursor: pointer;
  1629. // background-color:RGB(220,220,220);
  1630. // width: 205px;
  1631. // height: 205px;
  1632. }
  1633. a:hover{
  1634. cursor: pointer;
  1635. color: #5a9cf8
  1636. }
  1637. </style>