readonlyDetail.vue 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690
  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. import { POBrowser } from 'js-pageoffice'
  892. import utils from '@/utils/utils'
  893. import Decimal from 'decimal.js'
  894. export default {
  895. name: 'personalTodoDetail',
  896. components: {
  897. YDetailPageLayout,
  898. WorkflowBoard,
  899. HouseCertificate,
  900. LandCertificate,
  901. ImmovableCertificate,
  902. EntityInfo,
  903. BackgroundInfo,
  904. SellingAbilityInfo
  905. },
  906. watch: {
  907. $route(to, from) {
  908. if (to.path === from.path){
  909. this.personalId = this.$route.query.id;
  910. this.businessSubId = this.$route.query.orderId;
  911. this.nodeName = this.$route.query.currentNodeName;
  912. this.nodeBusinessInfo.doWorkflow = false
  913. this.nodeBusinessInfo.businessId = this.$route.query.id;
  914. this.nodeBusinessInfo.businessSubId = this.$route.query.orderId;
  915. this.getPersonalTarget();
  916. this.getPersonal();
  917. this.getOutWardStaffList();
  918. this.getWorkflowLogs();
  919. this.getCurrentNodeInfo();
  920. this.getProductions();
  921. this.getScene();
  922. }
  923. },
  924. personal: {
  925. handler(newVal, oldVal) {
  926. if (newVal.outwardStaff) {
  927. this.outwardStaffTip = false;
  928. } else {
  929. this.outwardStaffTip = true;
  930. }
  931. this.certificateInfo = newVal.credentials[0];
  932. if (newVal.credentials.includes("HOUSE_CERTIFICATE")){
  933. this.houseShow = true;
  934. }else{
  935. this.houseShow = false;
  936. }
  937. if (newVal.credentials.includes("LAND_CERTIFICATE")){
  938. this.landShow = true;
  939. }else{
  940. this.landShow = false;
  941. }
  942. if (newVal.credentials.includes("IMMOVABLE_CERTIFICATE")){
  943. this.immovalbeShow = true;
  944. }else{
  945. this.immovalbeShow = false;
  946. }
  947. },
  948. deep: true
  949. },
  950. activeTagName: {
  951. handler(newVal, oldVal) {
  952. if (newVal != 'order') {
  953. this.outwardStaffTip = false;
  954. }
  955. },
  956. },
  957. target: {
  958. handler(newVal, oldVal) {
  959. if (newVal.acreage != null && newVal.price != null && newVal.price !=null && newVal.price != 0) {
  960. let acrege = Decimal(newVal.acreage);
  961. let price = Decimal(newVal.price);
  962. let wan = Decimal(10000);
  963. let amount = acrege.mul(price).div(wan);
  964. newVal.amount = utils.roundToDecimalPlace(amount,2)
  965. }
  966. if (newVal.id) {
  967. this.getProductions();
  968. }
  969. },
  970. deep: true
  971. },
  972. feedback: {
  973. handler(newVal, oldVal) {
  974. if (newVal != oldVal) {
  975. this.$refs.board.getInstanceQueue();
  976. }
  977. },
  978. deep: true
  979. }
  980. },
  981. computed: {
  982. certificateCouldEdit() {
  983. let currentNodeCode = this.$route.query.currentNodeCode;
  984. if (currentNodeCode === 'GENERATE_STATEMENT') {
  985. return true;
  986. } else {
  987. return false;
  988. }
  989. },
  990. },
  991. data() {
  992. return {
  993. rules: {
  994. outwardStaff: [
  995. { required: true, message: '外业人员不能为空', trigger: 'blur' },
  996. ],
  997. },
  998. workflowLogs: [],
  999. activeName: 'workflowInfo',
  1000. activeTagName: 'order',
  1001. nodeBusinessInfo: {
  1002. currentNodePermission: {
  1003. commit: true,
  1004. reversible: true,
  1005. restartable: true,
  1006. terminable: true,
  1007. skippable: true,
  1008. },
  1009. mainBusiness: "PERSONAL_BUSINESS",
  1010. doWorkflow: false,
  1011. businessId: null,
  1012. currentNodeInstanceId: null,
  1013. currentNodeInstanceCode: null,
  1014. production: [],
  1015. businessSubId: null,
  1016. ifFeedback: null,
  1017. ccId: null
  1018. },
  1019. currentNode: {
  1020. flowId: null,
  1021. pnodeId: null,
  1022. nodeId: null,
  1023. flowCode: null,
  1024. nodeName: "",
  1025. nodeCode: null,
  1026. state: "",
  1027. instanceId: null,
  1028. sequence: null,
  1029. restartable: null,
  1030. reversible: null,
  1031. skippable: null,
  1032. terminable: null,
  1033. tasks: []
  1034. },
  1035. personal: {
  1036. id: null,
  1037. clientManagerId: null,
  1038. clientManager: null,
  1039. evaluateAim: null,
  1040. purpose: [],
  1041. location: null,
  1042. clienteleType: null,
  1043. clienteleId: null,
  1044. cclienteleName: null,
  1045. cclienteleSubName: null,
  1046. agent: null,
  1047. cclienteleContactName: null,
  1048. cmobile: null,
  1049. cdepartment: null,
  1050. cduty: null,
  1051. loanNature: null,
  1052. loanAim: null,
  1053. loanLimit: null,
  1054. loanPeriod: null,
  1055. loanExpire: false,
  1056. credentials: [],
  1057. bailorA: null,
  1058. bailorATel: null,
  1059. bailorB: null,
  1060. bailorBTel: null,
  1061. terminalClienteleType: null,
  1062. tterminalClienteleName: null,
  1063. tterminalClienteleContactName: null,
  1064. tmobile: null,
  1065. remark: null,
  1066. inwardStaffName: null,
  1067. outwardStaff: null,
  1068. outwardStaffName: null,
  1069. pricingStaffName: null,
  1070. inwardStaffName: null,
  1071. },
  1072. outwardStaffs: [],
  1073. outwardStaffTip: true,
  1074. certificateName: null,
  1075. otherInfo: null,
  1076. target: {
  1077. id: null,
  1078. personalId: null,
  1079. location: null,
  1080. acreage: null,
  1081. amount: null,
  1082. price: null,
  1083. isOnline: false,
  1084. feedback: null,
  1085. houseCertificate: null,
  1086. landCertificate: null,
  1087. immovableCertificate: null,
  1088. entityInfo: null,
  1089. backgroundInfo: null,
  1090. sellingAbility: null,
  1091. sellMoney: null,
  1092. sellMoneyBase: null,
  1093. sellMoneyRate: null
  1094. },
  1095. compareList: {
  1096. targetId: null,
  1097. calculateId: null,
  1098. fixValue: 1,
  1099. rightsType: 'SELL',
  1100. rollingLevel: 1,
  1101. calculateType: 'SIMPLE',
  1102. method: 'COMPARE',
  1103. analysisData: [
  1104. {
  1105. "sorted": null,
  1106. "index": "坐落",
  1107. "compareA": { valueA: null },
  1108. "compareB": { valueA: null },
  1109. "compareC": { valueA: null },
  1110. "target": { valueA: null },
  1111. },
  1112. {
  1113. "sorted": null,
  1114. "index": "总价(元)",
  1115. "compareA": { valueA: null },
  1116. "compareB": { valueA: null },
  1117. "compareC": { valueA: null },
  1118. "target": { valueA: null },
  1119. },
  1120. {
  1121. "sorted": null,
  1122. "index": "单价(元)",
  1123. "compareA": { valueA: null },
  1124. "compareB": { valueA: null },
  1125. "compareC": { valueA: null },
  1126. "target": { valueA: null },
  1127. },
  1128. {
  1129. "sorted": null,
  1130. "index": "市场状况",
  1131. "compareA": { valueA: null, weight: 100 },
  1132. "compareB": { valueA: null, weight: 100 },
  1133. "compareC": { valueA: null, weight: 100 },
  1134. "target": { valueA: null, weight: 100 },
  1135. },
  1136. {
  1137. "sorted": null,
  1138. "index": "所在楼栋",
  1139. "compareA": { valueA: '对中庭', weight: 100 },
  1140. "compareB": { valueA: '对中庭', weight: 100 },
  1141. "compareC": { valueA: '对中庭', weight: 100 },
  1142. "target": { valueA: '对中庭', weight: 100 },
  1143. },
  1144. {
  1145. "sorted": null,
  1146. "index": "建筑面积(平)",
  1147. "compareA": { valueA: 0, weight: 100 },
  1148. "compareB": { valueA: 0, weight: 100 },
  1149. "compareC": { valueA: 0, weight: 100 },
  1150. "target": { valueA: 0, weight: 100 },
  1151. },
  1152. {
  1153. "sorted": null,
  1154. "index": "楼层/总楼层",
  1155. "compareA": { valueA: null, valueb: null, weight: 100 },
  1156. "compareB": { valueA: null, valueb: null, weight: 100 },
  1157. "compareC": { valueA: null, valueb: null, weight: 100 },
  1158. "target": { valueA: null, valueb: null, weight: 100 },
  1159. },
  1160. {
  1161. "sorted": null,
  1162. "index": "户型",
  1163. "compareA": { valueA: null, weight: 100 },
  1164. "compareB": { valueA: null, weight: 100 },
  1165. "compareC": { valueA: null, weight: 100 },
  1166. "target": { valueA: null, weight: 100 },
  1167. },
  1168. {
  1169. "sorted": null,
  1170. "index": "室内装饰",
  1171. "compareA": { valueA: '精装', weight: 100 },
  1172. "compareB": { valueA: '精装', weight: 100 },
  1173. "compareC": { valueA: '精装', weight: 100 },
  1174. "target": { valueA: '精装', weight: 100 },
  1175. },
  1176. {
  1177. "sorted": null,
  1178. "index": "其他",
  1179. "compareA": { valueA: null, weight: 100 },
  1180. "compareB": { valueA: null, weight: 100 },
  1181. "compareC": { valueA: null, weight: 100 },
  1182. "target": { valueA: null, weight: 100 },
  1183. },
  1184. {
  1185. "sorted": null,
  1186. "index": "修正后价格",
  1187. "compareA": { valueA: null },
  1188. "compareB": { valueA: null },
  1189. "compareC": { valueA: null },
  1190. "target": { valueA: null },
  1191. }
  1192. ],
  1193. price: null,
  1194. amount: null,
  1195. acreage: null,
  1196. sellMoney: null,
  1197. sellMoneyBase: null,
  1198. sellMoneyRate: null
  1199. },
  1200. needWeight: ['所在楼栋', '建筑面积(平)', '户型', '其他'],
  1201. requiredIndex: ['单价(元)', '坐落', '市场状况', '所在楼栋', '建筑面积(平)', '户型', '室内装饰', '楼层/总楼层', '权重'],
  1202. calculateWeight: {
  1203. "sorted": null,
  1204. "index": "权重",
  1205. "compareA": { valueA: null },
  1206. "compareB": { valueA: null },
  1207. "compareC": { valueA: null },
  1208. "target": { valueA: null },
  1209. },
  1210. calculating: false,
  1211. decideProductionTypeDialog: false,
  1212. linkAttributes: {
  1213. location: null,
  1214. bailor1: null,
  1215. bailor1Tel: null,
  1216. bailor2: null,
  1217. bailor2Tel: null,
  1218. acreage: null,
  1219. allFloor: null,
  1220. purpose: null,
  1221. ownerName: null,
  1222. atFloor: null
  1223. },
  1224. statementProd: {
  1225. id: null,
  1226. targetId: null,
  1227. files: [],
  1228. created: null,
  1229. checkSatae: null
  1230. },
  1231. technicReportProd: {
  1232. id: null,
  1233. targetId: null,
  1234. files: [],
  1235. created: null,
  1236. checkSatae: null
  1237. },
  1238. finalReprotProd: {
  1239. id: null,
  1240. targetId: null,
  1241. files: [],
  1242. created: null,
  1243. checkSatae: null
  1244. },
  1245. statementCardPNG: emptyPNG,
  1246. technicCardPNG: emptyPNG,
  1247. finalCardPNG: emptyPNG,
  1248. outWarehouseDialog: false,
  1249. inWarehouseDialog: false,
  1250. warehouseTip: null,
  1251. productionId: null,
  1252. // hasStatement: false,
  1253. // hasReport: false,
  1254. feedback: null,
  1255. checkDialog: false,
  1256. checkProDTO: {
  1257. targetId: null,
  1258. production: null
  1259. },
  1260. sceneForm: {
  1261. id: null,
  1262. personalId: null,
  1263. inRingDewlling: null,
  1264. outRingDewlling: null,
  1265. inRingBuilding: null,
  1266. outRingBuilding: null,
  1267. remark: null
  1268. },
  1269. otherInfo: 'entityInfo',
  1270. certificateInfo: null,
  1271. houseShow:false,
  1272. immovalbeShow:false,
  1273. landShow:false,
  1274. qrCodeUrl:null,
  1275. showQR:true
  1276. }
  1277. },
  1278. created() {
  1279. this.personalId = this.$route.query.id;
  1280. this.businessSubId = this.$route.query.orderId;
  1281. this.nodeName = this.$route.query.currentNodeName;
  1282. this.nodeBusinessInfo.doWorkflow = false
  1283. this.nodeBusinessInfo.businessId = this.$route.query.id;
  1284. this.nodeBusinessInfo.businessSubId = this.$route.query.orderId;
  1285. this.getPersonalTarget();
  1286. this.getPersonal();
  1287. this.getOutWardStaffList();
  1288. this.getWorkflowLogs();
  1289. this.getCurrentNodeInfo();
  1290. this.getProductions();
  1291. this.getScene();
  1292. },
  1293. methods: {
  1294. getPersonal() {
  1295. if (this.personalId) {
  1296. this.$api.personal.detail(this.personalId).then(res => {
  1297. if (res.code === 200) {
  1298. res.data.credentials = JSON.parse(res.data.credentials);
  1299. res.data.purpose = JSON.parse(res.data.purpose);
  1300. this.personal = res.data;
  1301. this.linkAttributes.location = this.personal.location;
  1302. this.linkAttributes.bailor1 = this.personal.bailorA;
  1303. this.linkAttributes.bailor1Tel = this.personal.bailoraTel;
  1304. this.linkAttributes.bailor2 = this.personal.bailorB;
  1305. this.linkAttributes.bailor2Tel = this.personal.bailorbTel;
  1306. this.linkAttributes.purpose = this.personal.purpose;
  1307. if (this.personal.evaluateAim === '抵押') {
  1308. this.linkAttributes.ownerName = this.personal.bailorA;
  1309. }
  1310. this.nodeBusinessInfo.ccId = this.personal.clienteleId;
  1311. }
  1312. })
  1313. }
  1314. },
  1315. getPersonalTarget() {
  1316. if (this.personalId) {
  1317. this.$api.personalTarget.detail(this.personalId).then(res => {
  1318. if (res.code === 200) {
  1319. res.data.amount = utils.roundToDecimalPlace(new Decimal(res.data.amount).div(10000),2)
  1320. this.target = res.data;
  1321. this.linkAttributes.acreage = this.target.acreage;
  1322. if (res.data.isOnline) {
  1323. this.getCaluateTable(res.data.id)
  1324. }
  1325. if (res.data.houseCertificate) {
  1326. this.target.houseCertificate = JSON.parse(res.data.houseCertificate);
  1327. }
  1328. if (res.data.landCertificate) {
  1329. this.target.landCertificate = JSON.parse(res.data.landCertificate);
  1330. }
  1331. if (res.data.immovableCertificate) {
  1332. this.target.immovableCertificate = JSON.parse(res.data.immovableCertificate);
  1333. }
  1334. if (res.data.entityInfo) {
  1335. this.target.entityInfo = JSON.parse(res.data.entityInfo);
  1336. }
  1337. if (res.data.backgroundInfo) {
  1338. this.target.backgroundInfo = JSON.parse(res.data.backgroundInfo);
  1339. }
  1340. if (res.data.sellingAbility) {
  1341. this.target.sellingAbility = JSON.parse(res.data.sellingAbility);
  1342. }
  1343. if (res.data.feedback) {
  1344. this.feedback = JSON.parse(res.data.feedback);
  1345. this.nodeBusinessInfo.production = this.feedback;
  1346. // if (this.feedback.includes("STATEMENT")) {
  1347. // this.hasStatement = true;
  1348. // }
  1349. // if (this.feedback.includes("REPORT")) {
  1350. // this.hasReport = true;
  1351. // }
  1352. } else {
  1353. this.feedback = [];
  1354. }
  1355. }
  1356. })
  1357. }
  1358. },
  1359. getCurrentNodeInfo() {
  1360. if (this.personalId) {
  1361. this.$api.workNodeInstance.currentNode({ "mainBusiness": "PERSONAL_BUSINESS", "businessId": this.personalId, "businessSubId": this.businessSubId }).then(res => {
  1362. if (res.code === 200) {
  1363. if (res.data) {
  1364. this.currentNode = res.data;
  1365. this.nodeBusinessInfo.currentInstanceNodeId = res.data.instanceId;
  1366. this.nodeBusinessInfo.currentNodeInstanceCode = res.data.nodeCode;
  1367. this.nodeBusinessInfo.currentNodePermission.restartable = res.data.restartable;
  1368. this.nodeBusinessInfo.currentNodePermission.reversible = res.data.reversible;
  1369. this.nodeBusinessInfo.currentNodePermission.skippable = res.data.skippable;
  1370. this.nodeBusinessInfo.currentNodePermission.terminable = res.data.terminable;
  1371. }
  1372. }
  1373. })
  1374. }
  1375. },
  1376. handleClick(tab) { },
  1377. getWorkflowLogs() {
  1378. let param = {
  1379. businessId: this.personalId,
  1380. businessType: 'PERSONAL_BUSINESS',
  1381. businessSubId: this.businessSubId
  1382. }
  1383. this.$api.workflowLog.list(param).then(res => {
  1384. if (res.code === 200) {
  1385. this.workflowLogs = res.data;
  1386. }
  1387. })
  1388. },
  1389. goBack() {
  1390. const back = this.$route.query.back
  1391. if (back) {
  1392. this.$router.push(back)
  1393. }
  1394. },
  1395. getOutWardStaffList() {
  1396. this.$api.user.postUser("个贷外业岗").then(res => {
  1397. if (res.code === 200) {
  1398. this.outwardStaffs = res.data;
  1399. }
  1400. })
  1401. },
  1402. getCaluateTable(targetId) {
  1403. if (targetId) {
  1404. this.$api.personalCalculate.getResult(targetId).then(res => {
  1405. if (res.code === 200 && res.data) {
  1406. this.compareList = res.data;
  1407. this.linkAttributes.allFloor = this.compareList.analysisData[6].target.valueB;
  1408. this.linkAttributes.atFloor = this.compareList.analysisData[6].target.valueA;
  1409. this.linkAttributes.houseType = this.compareList.analysisData[7].target.valueA;
  1410. }
  1411. })
  1412. }
  1413. },
  1414. calculateSwith() {
  1415. this.$api.personalTarget.calculateSwith(this.target.isOnline, this.target.id);
  1416. if (this.target.isOnline && !this.compareList.calculateId) {
  1417. this.getCaluateTable(this.target.id);
  1418. }
  1419. if (this.target.isOnline) {
  1420. setTimeout(() => {
  1421. const element = document.getElementById("evaluteObject");
  1422. element.scrollTop = element.scrollHeight;
  1423. }, 500);
  1424. }
  1425. },
  1426. getProductions() {
  1427. if (this.target.id) {
  1428. this.$api.personalProduction.getProductions(this.target.id).then(res => {
  1429. if (res.code === 200) {
  1430. const words = res.data
  1431. words.forEach(word => {
  1432. if (word.production === 'STATEMENT') {
  1433. this.statementProd = word;
  1434. const fs = [];
  1435. if (word.filePath) {
  1436. this.statementCardPNG = existPNG;
  1437. const sta = JSON.parse(word.filePath)
  1438. sta.id = word.id;
  1439. fs.push(sta);
  1440. } else {
  1441. this.statementCardPNG = emptyPNG;
  1442. }
  1443. this.statementProd.files = fs;
  1444. }
  1445. if (word.production === 'TECHNIC') {
  1446. this.technicReportProd = word;
  1447. const fs = [];
  1448. if (word.filePath) {
  1449. const tec = JSON.parse(word.filePath)
  1450. tec.id = word.id;
  1451. this.technicCardPNG = existPNG;
  1452. fs.push(tec);
  1453. } else {
  1454. this.technicCardPNG = emptyPNG;
  1455. }
  1456. this.technicReportProd.files = fs;
  1457. }
  1458. if (word.production === 'FINAL') {
  1459. this.finalReprotProd = word;
  1460. const fs = [];
  1461. if (word.filePath) {
  1462. const final = JSON.parse(word.filePath)
  1463. final.id = word.id;
  1464. this.finalCardPNG = existPNG;
  1465. fs.push(final);
  1466. } else {
  1467. this.finalCardPNG = emptyPNG;
  1468. }
  1469. this.finalReprotProd.files = fs;
  1470. }
  1471. });
  1472. }
  1473. })
  1474. }
  1475. },
  1476. downloadPkg() {
  1477. if (this.target.id) {
  1478. this.$api.personalProduction.downloadPkg(this.target.id);
  1479. }
  1480. },
  1481. getScene() {
  1482. this.$api.personalScene.getScene(this.personalId).then(res => {
  1483. if (res.code === 200 && res.data) {
  1484. this.sceneForm = res.data;
  1485. }
  1486. })
  1487. },
  1488. printQR(path){
  1489. let routeUrl = this.$router.resolve({
  1490. path: `/print/code?path=${path}`
  1491. });
  1492. window.open(routeUrl.href, '_blank');
  1493. },
  1494. handleAttachmentPreview(file) {
  1495. // window.open(file.url)
  1496. // this.officeFileView(name,url);
  1497. this.openPageoffice(file.name, file.url);
  1498. },
  1499. // 文档预览
  1500. officeFileView(name, url) {
  1501. if (name || url) {
  1502. const route = this.$router.resolve({
  1503. path: "/office/view/window",
  1504. query: {
  1505. // 文档标题
  1506. title: name,
  1507. // 文档url地址
  1508. url: url,
  1509. mode:'view'
  1510. }
  1511. });
  1512. // 在新窗口打开页面
  1513. window.open(route.href, "_blank");
  1514. } else {
  1515. this.$notify({
  1516. title: '失败',
  1517. message: 'url为空,无法打开,如未保存请保存后再试!',
  1518. type: 'error',
  1519. duration: 2000
  1520. });
  1521. }
  1522. },
  1523. downloadAll(){
  1524. if (this.target.id) {
  1525. let fileName = this.businessSubId;
  1526. this.$api.personalProduction.downloadPkg(this.target.id).then(res=>{
  1527. let blob = new Blob([res],{type:"application/octet-stream;"})
  1528. const url = window.URL.createObjectURL(blob);
  1529. const link = document.createElement('a');
  1530. link.href = url;
  1531. link.setAttribute('download',fileName+'产品包.zip');
  1532. document.body.appendChild(link);
  1533. link.click();
  1534. })
  1535. }
  1536. },
  1537. openPageoffice(fileName,fileUrl) {
  1538. let paramJson={};
  1539. paramJson.fileName=fileName;
  1540. paramJson.fileUrl=fileUrl;
  1541. let paramString=JSON.stringify(paramJson);
  1542. //openWindow()第三个参数用来向弹出的PageOffice浏览器(POBrowser)窗口传递参数(参数长度不限),支持json格式字符串。
  1543. //此处为了方便演示,我们传递了file_id和file_name两个参数,具体以您实际开发为准。
  1544. POBrowser.openWindow('/admin/#/showDoc', 'width=1150px;height=900px;',paramString);
  1545. },
  1546. }
  1547. }
  1548. </script>
  1549. <style lang="scss" scoped>
  1550. .row-style {
  1551. margin-left: 40px;
  1552. margin-right: 1%;
  1553. }
  1554. .major-radio {
  1555. width: 92px
  1556. }
  1557. .task-class {
  1558. /deep/ .el-form-item__label {
  1559. color: red;
  1560. }
  1561. }
  1562. .evaluate-table {
  1563. margin-left: 40px;
  1564. margin-top: 35px;
  1565. }
  1566. .pane-class {
  1567. width: 100%;
  1568. overflow-y: scroll;
  1569. }
  1570. /deep/ .cell-class {
  1571. font-size: 13px;
  1572. color: black;
  1573. }
  1574. .table {
  1575. /deep/ thead {
  1576. .el-table-column--selection {
  1577. .cell {
  1578. display: none;
  1579. }
  1580. }
  1581. }
  1582. }
  1583. /deep/.doWarehouseClass {
  1584. border-radius: 10px;
  1585. }
  1586. .button-area {
  1587. position: absolute;
  1588. top: 20px;
  1589. right: 50px;
  1590. }
  1591. .error-type {
  1592. margin-right: 5px;
  1593. }
  1594. .error-type:hover {
  1595. cursor: pointer;
  1596. }
  1597. .box-card {
  1598. margin-top: 40px
  1599. }
  1600. .time {
  1601. font-size: 13px;
  1602. color: #999;
  1603. float: right;
  1604. margin-top: 5px;
  1605. }
  1606. .bottom {
  1607. margin-top: 13px;
  1608. line-height: 12px;
  1609. }
  1610. .button {
  1611. float: left;
  1612. }
  1613. .image {
  1614. width: 100%;
  1615. padding: 0%;
  1616. display: block;
  1617. }
  1618. .control {
  1619. z-index: 999;
  1620. position: relative;
  1621. top: 10px;
  1622. }
  1623. .checked {
  1624. margin-left: 10px;
  1625. font-size: 12px;
  1626. color: green;
  1627. }
  1628. .qr-code-div{
  1629. background-color: RGB(245, 245, 245);
  1630. width: 150px;
  1631. height: 150px;
  1632. position: absolute;
  1633. display: flex;
  1634. justify-content: center;
  1635. align-items: center;
  1636. }
  1637. .qr-code{
  1638. width: 150px;
  1639. height: 150px;
  1640. z-index: 999;
  1641. border: 1px #919398 solid;
  1642. border-radius: 5px;
  1643. }
  1644. .qr-code-div:hover {
  1645. cursor: pointer;
  1646. // background-color:RGB(220,220,220);
  1647. // width: 205px;
  1648. // height: 205px;
  1649. }
  1650. a:hover{
  1651. cursor: pointer;
  1652. color: #5a9cf8
  1653. }
  1654. </style>