todoDetail.vue 113 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607
  1. <template>
  2. <div class="app-container">
  3. <el-collapse v-model="activeName" @change="handleChange" accordion>
  4. <el-collapse-item name="workflowBoard">
  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> 当前节点:{{ currentNode == null ? '???' : currentNode.nodeName }}</span>
  9. <span> 项目编号:{{ nodeBusinessInfo.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' @workflowCommitVerify="workflowCommitVerify" :nodeBusinessInfo="nodeBusinessInfo" />
  16. </el-collapse-item>
  17. </el-collapse>
  18. <div class="button-area">
  19. <el-button v-if="nodeBusinessInfo.currentNodePermission.commit" class="y-save" type="success" round
  20. @click="commit('PASS')" :disabled="!nodeBusinessInfo.doWorkflow">提交</el-button>
  21. <el-button v-if="nodeBusinessInfo.currentNodePermission.reversible" class="y-save" type="warning" round
  22. @click="commit('REVERSE')" :disabled="!nodeBusinessInfo.doWorkflow">退回</el-button>
  23. <el-button v-if="nodeBusinessInfo.currentNodePermission.skippable" class="y-save" type="warning" round
  24. @click="commit('SKIP')" :disabled="!nodeBusinessInfo.doWorkflow">跳过</el-button>
  25. <el-button v-if="nodeBusinessInfo.currentNodePermission.terminable" class="y-save" type="danger" round
  26. @click="commit('TERMINATE')" :disabled="!nodeBusinessInfo.doWorkflow">终止</el-button>
  27. <el-button v-if="nodeBusinessInfo.currentNodePermission.restartable" class="y-save" type="danger" round
  28. @click="commit('RESTART')" :disabled="!nodeBusinessInfo.doWorkflow">重置</el-button>
  29. <el-button class="y-save" round type="info" @click="goBack">返回</el-button>
  30. </div>
  31. <el-tabs v-model="activeTagName" @tab-click="handleClick" type="border-card">
  32. <el-tab-pane name="order" class="pane-class" :lazy=true>
  33. <span slot="label"><i class="el-icon-document"></i> 个贷订单</span>
  34. <el-form ref="personalForm" :model="personal">
  35. <div class="createMajor-main-container">
  36. <div class="postInfo-container">
  37. <div>
  38. <el-divider content-position="left">
  39. <h3 class="title">
  40. <div class="avatar-wrapper icon-title">订单</div>
  41. <div class="icon-info">个贷订单</div>
  42. </h3>
  43. </el-divider>
  44. </div>
  45. <el-row class="row-style">
  46. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  47. <el-form-item label="项目编号:" prop="orderId" label-width="120px" class="postInfo-container-item">
  48. <el-input :value="personal.orderId" class="filter-item" readonly disabled />
  49. </el-form-item>
  50. </el-col>
  51. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  52. <el-form-item label="评估目的:" prop="evaluateAim" label-width="120px" class="postInfo-container-item">
  53. <el-input :value="personal.evaluateAim" class="filter-item" readonly disabled />
  54. </el-form-item>
  55. </el-col>
  56. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  57. <el-form-item label="房屋用途:" prop="purpose" label-width="160px" class="postInfo-container-item">
  58. <el-checkbox-group v-model="personal.purpose">
  59. <el-checkbox-button label="HOUSE" name="purpose">住宅</el-checkbox-button>
  60. <el-checkbox-button label="BUSINESS" name="purpose">商业</el-checkbox-button>
  61. <el-checkbox-button label="OFFICE" name="purpose">办公</el-checkbox-button>
  62. <el-checkbox-button label="INDUSTRIAL" name="purpose">工业</el-checkbox-button>
  63. <el-checkbox-button label="OTHER" name="purpose">其他</el-checkbox-button>
  64. </el-checkbox-group>
  65. </el-form-item>
  66. </el-col>
  67. </el-row>
  68. <el-row class="row-style">
  69. <el-col :xs="12" :sm="12" :lg="24" :span="6">
  70. <el-form-item label="坐落:" prop="location" label-width="120px" class="postInfo-container-item">
  71. <el-input :value="personal.location" class="filter-item" readonly disabled />
  72. </el-form-item>
  73. </el-col>
  74. </el-row>
  75. <el-row class="row-style">
  76. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  77. <el-form-item label="客户类型:" prop="clienteleType" label-width="120px" class="postInfo-container-item">
  78. <el-input :value="personal.clienteleType" 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="clienteleId" label-width="120px" class="postInfo-container-item">
  83. <el-input :value="personal.clientName" class="filter-item" readonly disabled />
  84. </el-form-item>
  85. </el-col>
  86. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  87. <el-form-item label="业务来源:" prop="clienteleSubId" label-width="120px" class="postInfo-container-item">
  88. <el-input :value="personal.clientSubName" class="filter-item" readonly disabled />
  89. </el-form-item>
  90. </el-col>
  91. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  92. <el-form-item label="客户联系人:" prop="clienteleContactId" label-width="120px"
  93. class="postInfo-container-item">
  94. <el-input :value="personal.contactName" class="filter-item" readonly disabled />
  95. </el-form-item>
  96. </el-col>
  97. </el-row>
  98. <el-row class="row-style">
  99. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  100. <el-form-item label="联系人电话:" prop="clienteleContactId" label-width="120px"
  101. class="postInfo-container-item">
  102. <el-input :value="personal.contactTel" class="filter-item" readonly disabled />
  103. </el-form-item>
  104. </el-col>
  105. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  106. <el-form-item label="联系人部门:" prop="clienteleContactId" label-width="120px"
  107. class="postInfo-container-item">
  108. <el-input :value="personal.cdepartment" class="filter-item" readonly disabled />
  109. </el-form-item>
  110. </el-col>
  111. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  112. <el-form-item label="联系人职务:" prop="clienteleContactId" label-width="120px"
  113. class="postInfo-container-item">
  114. <el-input :value="personal.cduty" class="filter-item" readonly disabled />
  115. </el-form-item>
  116. </el-col>
  117. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  118. <el-form-item label="中介:" prop="agent" label-width="120px" class="postInfo-container-item">
  119. <el-input :value="personal.agent" class="filter-item" readonly disabled />
  120. </el-form-item>
  121. </el-col>
  122. </el-row>
  123. <el-row class="row-style">
  124. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  125. <el-form-item label="贷款性质:" prop="loanNature" label-width="120px" class="postInfo-container-item">
  126. <el-input :value="personal.loanNature" class="filter-item" readonly disabled />
  127. </el-form-item>
  128. </el-col>
  129. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  130. <el-form-item label="贷款用途:" prop="loanAim" label-width="120px" class="postInfo-container-item">
  131. <el-input :value="personal.loanAim" class="filter-item" readonly disabled />
  132. </el-form-item>
  133. </el-col>
  134. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  135. <el-form-item label="贷款额度:" prop="loanLimit" label-width="120px" class="postInfo-container-item">
  136. <el-input :value="personal.loanLimit" class="filter-item" readonly disabled>
  137. <template slot="append">万元</template>
  138. </el-input>
  139. </el-form-item>
  140. </el-col>
  141. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  142. <el-form-item label="贷款期限:" prop="loanPeriod" label-width="120px" class="postInfo-container-item">
  143. <el-input :value="personal.loanPeriod" class="filter-item" readonly disabled>
  144. <template slot="append">年</template>
  145. </el-input>
  146. </el-form-item>
  147. </el-col>
  148. </el-row>
  149. <el-row class="row-style">
  150. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  151. <el-form-item label="贷款是否到期:" prop="loanExpire" label-width="140px" class="postInfo-container-item">
  152. <el-radio v-model="personal.loanExpire" :label="false" border>否</el-radio>
  153. <el-radio v-model="personal.loanExpire" :label="true" border>是</el-radio>
  154. </el-form-item>
  155. </el-col>
  156. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  157. <el-form-item label="资料说明:" prop="credentials" label-width="120px" class="postInfo-container-item">
  158. <el-checkbox-group v-model="personal.credentials">
  159. <el-checkbox-button label="HOUSE_CERTIFICATE" name="credentials">房产证</el-checkbox-button>
  160. <el-checkbox-button label="LAND_CERTIFICATE" name="credentials">国土证</el-checkbox-button>
  161. <el-checkbox-button label="IMMOVABLE_CERTIFICATE" name="credentials">不动产权证</el-checkbox-button>
  162. <el-checkbox-button label="NONE" name="credentials">无资料</el-checkbox-button>
  163. </el-checkbox-group>
  164. </el-form-item>
  165. </el-col>
  166. </el-row>
  167. <el-row class="row-style">
  168. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  169. <el-form-item label="委托人1:" prop="bailorA" label-width="120px" class="postInfo-container-item">
  170. <el-input :value="personal.bailorA" class="filter-item" readonly disabled />
  171. </el-form-item>
  172. </el-col>
  173. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  174. <el-form-item label="委托人1电话:" prop="bailoraTel" label-width="120px" class="postInfo-container-item">
  175. <el-input :value="personal.bailoraTel" class="filter-item" readonly disabled />
  176. </el-form-item>
  177. </el-col>
  178. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  179. <el-form-item label="委托人2:" prop="bailorB" label-width="120px" class="postInfo-container-item">
  180. <el-input :value="personal.bailorB" class="filter-item" readonly disabled />
  181. </el-form-item>
  182. </el-col>
  183. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  184. <el-form-item label="委托人2电话:" prop="bailorbTel" label-width="120px" class="postInfo-container-item">
  185. <el-input :value="personal.bailorbTel" class="filter-item" readonly disabled />
  186. </el-form-item>
  187. </el-col>
  188. </el-row>
  189. <el-row class="row-style">
  190. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  191. <el-form-item label="终端客户类型:" prop="terminalClienteleType" label-width="140px"
  192. class="postInfo-container-item">
  193. <el-input :value="personal.terminalClienteleType" class="filter-item" readonly disabled />
  194. </el-form-item>
  195. </el-col>
  196. <el-col :xs="24" :sm="12" :lg="12" :span="6" v-show="personal.terminalClienteleType != ''">
  197. <el-form-item label="终端客户名称:" prop="terminalClienteleId" label-width="140px"
  198. class="postInfo-container-item">
  199. <el-input :value="personal.tterminalClienteleName" class="filter-item" readonly disabled />
  200. </el-form-item>
  201. </el-col>
  202. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-show="personal.terminalClienteleType == '企业'">
  203. <el-form-item label="终端联系人:" prop="terminalClienteleContactId" label-width="120px"
  204. class="postInfo-container-item">
  205. <el-input :value="personal.tterminalClienteleContactName" class="filter-item" readonly disabled />
  206. </el-form-item>
  207. </el-col>
  208. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-show="personal.terminalClienteleType != ''">
  209. <el-form-item label="终端联系电话:" prop="clienteleType" label-width="140px" class="postInfo-container-item">
  210. <el-input :value="personal.tmobile" class="filter-item" readonly disabled />
  211. </el-form-item>
  212. </el-col>
  213. </el-row>
  214. <el-row class="row-style">
  215. <el-col :xs="24" :sm="12" :lg="23" :span="12">
  216. <el-form-item label="订单备注:" prop="remark" label-width="120px" class="postInfo-container-item">
  217. <el-input :value="personal.remark" class="filter-item" type="text" readonly disabled />
  218. </el-form-item>
  219. </el-col>
  220. </el-row>
  221. </div>
  222. </div>
  223. </el-form>
  224. <el-form ref="personalMemberForm" :model="personal" :rules="rules">
  225. <div class="createMajor-main-container">
  226. <div class="postInfo-container">
  227. <div>
  228. <el-divider content-position="left">
  229. <h3 class="title">
  230. <div class="avatar-wrapper icon-title">人员</div>
  231. <div class="icon-info">项目人员</div>
  232. </h3>
  233. </el-divider>
  234. </div>
  235. <el-row class="row-style">
  236. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  237. <el-form-item label="客户经理:" prop="clientManager" label-width="120px" class="postInfo-container-item">
  238. <el-input :value="personal.clientManager" class="filter-item" readonly disabled />
  239. </el-form-item>
  240. </el-col>
  241. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  242. <el-form-item label="内业人员:" prop="inwardStaffName" label-width="120px" class="postInfo-container-item">
  243. <el-input :value="personal.inwardStaffName" class="filter-item" readonly disabled />
  244. </el-form-item>
  245. </el-col>
  246. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  247. <el-form-item label="外业人员:" prop="outwardStaff" label-width="120px" class="postInfo-container-item">
  248. <el-tooltip v-if="currentNode.nodeCode === 'DEPARTMENT_ALLOCATION'" placement="top-start"
  249. content="请确定外业人员" :manual=true v-model="outwardStaffTip">
  250. <el-select v-model="personal.outwardStaff" filterable clearable>
  251. <el-option v-for="(item, id) in outwardStaffs" :key="item.id" :label="item.name" :value="item.id">
  252. </el-option>
  253. </el-select>
  254. </el-tooltip>
  255. <el-input :value="personal.outwardStaffName" class="filter-item" readonly disabled v-else />
  256. </el-form-item>
  257. </el-col>
  258. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  259. <el-form-item label="定价内业:" prop="pricingStaffName" label-width="120px" class="postInfo-container-item">
  260. <el-input :value="personal.pricingStaffName" class="filter-item" readonly disabled />
  261. </el-form-item>
  262. </el-col>
  263. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  264. <el-form-item label-width="160px">
  265. <el-button v-if="currentNode.nodeCode === 'DEPARTMENT_ALLOCATION'" type="primary" round
  266. @click="saveOutwardStaff()">保存</el-button>
  267. </el-form-item>
  268. </el-col>
  269. </el-row>
  270. </div>
  271. </div>
  272. </el-form>
  273. </el-tab-pane>
  274. <el-tab-pane name="scene" class="pane-class" :lazy=true>
  275. <span slot="label"><i class="el-icon-search"></i> 外业实勘</span>
  276. <el-form ref="sceneForm" :model="sceneForm" class="form-container" :rules="rules">
  277. <div class="createMajor-main-container">
  278. <div class="postInfo-container">
  279. <div>
  280. <el-divider content-position="left">
  281. <h3 class="title">
  282. <div class="avatar-wrapper icon-title">实勘</div>
  283. <div class="icon-info">实勘信息</div>
  284. </h3>
  285. </el-divider>
  286. </div>
  287. <div>
  288. <el-row class="row-style" v-if="currentNode.nodeCode === 'SPOT_RECONNAISSANCE'">
  289. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  290. <el-button type="danger" round @click="saveScene()">保存</el-button>
  291. </el-col>
  292. </el-row>
  293. <el-row class="row-style" style="margin-top: 10px;">
  294. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  295. <el-form-item prop="orderId" label-width="120px" class="postInfo-container-item" label="订单号:">
  296. <el-input disabled readonly :value="personal.orderId" class="filter-item" />
  297. </el-form-item>
  298. </el-col>
  299. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  300. <el-form-item prop="sceneUserName" label-width="120px" class="postInfo-container-item" label="实勘人:">
  301. <el-input disabled readonly :value="personal.outwardStaffName" class="filter-item" />
  302. </el-form-item>
  303. </el-col>
  304. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  305. <el-form-item prop="productionType" label-width="120px" class="postInfo-container-item" label="坐落:">
  306. <el-input disabled readonly :value="personal.location" class="filter-item" />
  307. </el-form-item>
  308. </el-col>
  309. </el-row>
  310. <el-row class="row-style">
  311. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  312. <el-form-item prop="inRingDewlling" label-width="120px" class="postInfo-container-item"
  313. :rules="{ required: true, message: '绕城内住宅不能为空', trigger: 'blur' }" label="绕城内住宅:">
  314. <el-input-number style="width: 100%;" :min="0" v-model="sceneForm.inRingDewlling"
  315. :readonly="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'"
  316. :disabled="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'" class="filter-item">
  317. </el-input-number>
  318. </el-form-item>
  319. </el-col>
  320. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  321. <el-form-item prop="outRingDewlling" label-width="120px" class="postInfo-container-item"
  322. :rules="{ required: true, message: '绕城外住宅不能为空', trigger: 'blur' }" label="绕城外住宅:">
  323. <el-input-number style="width: 100%;" :min="0" v-model="sceneForm.outRingDewlling"
  324. :readonly="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'"
  325. :disabled="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'" class="filter-item">
  326. </el-input-number>
  327. </el-form-item>
  328. </el-col>
  329. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  330. <el-form-item prop="inRingBuilding" label-width="120px" class="postInfo-container-item"
  331. :rules="{ required: true, message: '绕城内商业不能为空', trigger: 'blur' }" label="绕城内商业:">
  332. <el-input-number style="width: 100%;" :min="0" v-model="sceneForm.inRingBuilding"
  333. :readonly="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'"
  334. :disabled="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'" class="filter-item">
  335. </el-input-number>
  336. </el-form-item>
  337. </el-col>
  338. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  339. <el-form-item prop="outRingBuilding" label-width="120px" class="postInfo-container-item"
  340. :rules="{ required: true, message: '绕城外商业不能为空', trigger: 'blur' }" label="绕城外商业:">
  341. <el-input-number style="width: 100%;" :min="0" v-model="sceneForm.outRingBuilding"
  342. :readonly="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'"
  343. :disabled="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'" class="filter-item">
  344. </el-input-number>
  345. </el-form-item>
  346. </el-col>
  347. </el-row>
  348. <el-row class="row-style">
  349. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  350. <el-form-item label="实勘备注:" prop="remark" label-width="120px" class="postInfo-container-item">
  351. <el-input v-model="sceneForm.remark" :autosize="{ minRows: 3, maxRows: 3 }" class="filter-item"
  352. :readonly="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'"
  353. :disabled="currentNode.nodeCode != 'SPOT_RECONNAISSANCE'" type="textarea" />
  354. </el-form-item>
  355. </el-col>
  356. </el-row>
  357. </div>
  358. </div>
  359. </div>
  360. </el-form>
  361. </el-tab-pane>
  362. <el-tab-pane id="evaluteObject" name="evaluate" class="pane-class" :lazy=true>
  363. <span slot="label"><i class="el-icon-office-building"></i> 评估对象</span>
  364. <el-form ref="targetForm" :model="target">
  365. <div class="createMajor-main-container">
  366. <div class="postInfo-container">
  367. <div>
  368. <el-divider content-position="left">
  369. <h3 class="title">
  370. <div class="avatar-wrapper icon-title">价格</div>
  371. <div class="icon-info">评估价格</div>
  372. </h3>
  373. </el-divider>
  374. </div>
  375. </div>
  376. </div>
  377. <el-row class="row-style">
  378. <el-col :xs="24" :sm="12" :lg="18" :span="6">
  379. <el-form-item label="流程:" prop="acreage" label-width="140px" class="postInfo-container-item">
  380. <el-switch v-model="target.isOnline" style="margin-bottom: 5px;" active-text="线上" inactive-text="线下"
  381. @change="calculateSwith()"
  382. :readonly="!(currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER')"
  383. :disabled="!(currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER')">
  384. </el-switch>
  385. </el-form-item>
  386. </el-col>
  387. <el-col :xs="12" :sm="12" :lg="6" :span="6">
  388. <el-form-item label="打印二维码:" prop="validateCode" label-width="140px" class="postInfo-container-item">
  389. <a @mouseenter="showQrCode(target.qrCode)">出入库二维码</a> <a @mouseenter="showQrCode(target.validateCode)" style="margin-left: 5px">验证二维码</a>
  390. <div class="qr-code-div">
  391. <img id="validateCode" class="qr-code" :src="qrCodeUrl" alt="未定价" @click="printQR()"/>
  392. </div>
  393. </el-form-item>
  394. </el-col>
  395. </el-row>
  396. <el-row class="row-style">
  397. <el-col :xs="12" :sm="12" :lg="18" :span="6">
  398. <el-form-item label="项目名称:" prop="location" label-width="140px" class="postInfo-container-item">
  399. <el-input v-model="personal.location" class="filter-item" />
  400. </el-form-item>
  401. </el-col>
  402. </el-row>
  403. <el-row class="row-style">
  404. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  405. <el-form-item label="委托方1:" prop="bailorA" label-width="140px" class="postInfo-container-item">
  406. <el-input v-model="personal.bailorA" class="filter-item" />
  407. </el-form-item>
  408. </el-col>
  409. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  410. <el-form-item label="委托方2:" prop="bailorB" label-width="140px" class="postInfo-container-item">
  411. <el-input v-model="personal.bailorB" class="filter-item" />
  412. </el-form-item>
  413. </el-col>
  414. </el-row>
  415. <el-row class="row-style">
  416. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  417. <el-form-item label="评估面积(平):" prop="acreage" label-width="140px" class="postInfo-container-item">
  418. <el-input-number v-model="target.acreage" size="medium" controls-position="right" :min="0" :max="10000"
  419. style="width: 100%;"></el-input-number>
  420. </el-form-item>
  421. </el-col>
  422. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  423. <el-form-item label="评估单价(元):" prop="price" label-width="140px" class="postInfo-container-item">
  424. <el-input-number v-model="target.price" size="medium" controls-position="right" :min="0"
  425. style="width: 100%;"></el-input-number>
  426. </el-form-item>
  427. </el-col>
  428. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  429. <el-form-item label="评估总价(元):" prop="amount" label-width="140px" class="postInfo-container-item">
  430. <el-input-number v-model="target.amount" size="medium" controls-position="right" :min="0"
  431. style="width: 100%;"></el-input-number>
  432. </el-form-item>
  433. </el-col>
  434. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  435. <el-button type="primary" round @click="savePrice()" style="margin-left: 20px;" v-if="(currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'REVIEW_STATEMENT'
  436. || currentNode.nodeCode === 'CHECK_REPORT' || currentNode.nodeCode === 'CHECK_LETTER')">保存</el-button>
  437. </el-col>
  438. </el-row>
  439. </el-form>
  440. </el-tab-pane>
  441. <el-tab-pane name="comparable" class="pane-class" :lazy=true :disabled="!target.isOnline">
  442. <span slot="label"><i class="el-icon-office-building"></i> 可比实例</span>
  443. <div class="createMajor-main-container">
  444. <div class="postInfo-container">
  445. <div>
  446. <el-divider content-position="left">
  447. <h3 class="title">
  448. <div class="avatar-wrapper icon-title">实例</div>
  449. <div class="icon-info">可比实例</div>
  450. </h3>
  451. </el-divider>
  452. </div>
  453. </div>
  454. </div>
  455. <el-form ref="compareToForm" :model="compareList" v-if="target.isOnline">
  456. <el-row class="row-style">
  457. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  458. <el-form-item label="修正系数:" prop="fixValue" label-width="120px"
  459. :rules="{ required: true, message: '修正系数不能为空', trigger: 'blur' }" class="postInfo-container-item">
  460. <el-input-number v-model="compareList.fixValue" :step="0.1" :min="1" size="medium" style="width: 100%;"
  461. controls-position="right"></el-input-number>
  462. </el-form-item>
  463. </el-col>
  464. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  465. <el-form-item label="是否划拨:" prop="rightsType" label-width="120px"
  466. :rules="{ required: true, message: '是否划拨不能为空', trigger: 'blur' }" class="postInfo-container-item">
  467. <el-select v-model="compareList.rightsType" placeholder="请选择" @change="selectRightsType()">
  468. <el-option label="划拨" value="ALLOT">划拨</el-option>
  469. <el-option label="出让" value="SELL">出让</el-option>
  470. </el-select>
  471. </el-form-item>
  472. </el-col>
  473. <el-col :xs="24" :sm="12" :lg="4" :span="6" v-show="compareList.rightsType === 'ALLOT'">
  474. <el-form-item label="环线位置:" prop="rollingLevel" label-width="120px"
  475. :rules="{ required: compareList.rightsType === 'ALLOT', message: '是否划拨不能为空', trigger: 'blur' }"
  476. class="postInfo-container-item">
  477. <el-select v-model="compareList.rollingLevel" placeholder="请选择" @change="selectRoll()">
  478. <el-option label="二环内" :value=1>二环内</el-option>
  479. <el-option label="二至三环" :value=2>二至三环</el-option>
  480. <el-option label="三环外" :value=3>三环外</el-option>
  481. </el-select>
  482. </el-form-item>
  483. </el-col>
  484. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  485. <el-form-item label="计算方式:" prop="calculateType" label-width="120px"
  486. :rules="{ required: true, message: '计算方式不能为空', trigger: 'blur' }" class="postInfo-container-item">
  487. <el-select v-model="compareList.calculateType" clearable placeholder="请选择"
  488. @change="selectCalculateType()">
  489. <el-option label="简单算术平均" value="SIMPLE">简单算术平均</el-option>
  490. <el-option label="加权算术平均" value="WEIGHT">加权算术平均</el-option>
  491. </el-select>
  492. </el-form-item>
  493. </el-col>
  494. <el-col :xs="24" :sm="12" :lg="5" :span="6" style="margin-left: 20px;">
  495. <el-button type="primary" round @click="calulate()"
  496. v-if="currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER'">保存</el-button>
  497. <!-- <el-button type="primary" round @click="saveCalulateResult()"
  498. v-if="currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER'">保存价格</el-button> -->
  499. </el-col>
  500. </el-row>
  501. <el-table v-loading="calculating" element-loading-text="正在计算..." element-loading-spinner="el-icon-loading"
  502. element-loading-background="rgba(144, 147, 153, 0.5)" :data="compareList.analysisData" border="border" stripe
  503. :header-cell-style="{ color: '#333333' }" style="
  504. border-left: 1px solid #ebeced;
  505. border-right: 1px solid #ebeced;
  506. color: #333333; font-size: 16px;">
  507. <el-table-column prop="index" label="指标" width="180" align="center">
  508. <template scope="scope">
  509. <span v-if="requiredIndex.includes(scope.row.index)" style="color:red">* </span>
  510. <span>{{ scope.row.index }}</span>
  511. </template>
  512. </el-table-column>
  513. <el-table-column prop="compareA" label="实例A" align="center">
  514. <template scope="scope" style="float:right">
  515. <div v-if="needWeight.includes(scope.row.index)">
  516. <el-input style="width:60%" v-model="scope.row.compareA.valueA" />
  517. <el-input-number v-model="scope.row.compareA.weight" :max="150" :min="1" size="small"
  518. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  519. </div>
  520. <div v-else-if="scope.row.index === '市场状况'">
  521. <el-date-picker v-model="scope.row.compareA.valueA" type="month" style="width:60%" placeholder="选择月">
  522. </el-date-picker>
  523. <el-input-number v-model="scope.row.compareA.weight" :max="150" :min="1" size="small"
  524. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  525. </div>
  526. <div v-else-if="scope.row.index === '楼层/总楼层'">
  527. <el-input style="width:26%" v-model="scope.row.compareA.valueA" />
  528. <span style="margin-left:2%;margin-right:2%">/</span>
  529. <el-input style="width:26%" v-model="scope.row.compareA.valueB" />
  530. <el-input-number v-model="scope.row.compareA.weight" :min="1" :max="150" size="small"
  531. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  532. </div>
  533. <div v-else-if="scope.row.index === '修正后价格'">
  534. <span v-if="scope.row.compareA.valueA"
  535. style="color:RGB(144,147,153);font-weight:bold;font-size:20px">¥{{
  536. parseFloat(scope.row.compareA.valueA).toLocaleString() }}</span>
  537. </div>
  538. <div v-else-if="scope.row.index === '权重'">
  539. <el-input-number v-if="compareList.calculateType === 'WEIGHT'" v-model="scope.row.compareA.valueA"
  540. style="width:100%;" :min="0" :max="1" size="small" :step="0.1"
  541. controls-position="right"></el-input-number>
  542. </div>
  543. <div v-else-if="scope.row.index === '总价(元)'">
  544. <span v-if="scope.row.compareA.valueA"
  545. style="color:RGB(144,147,153);font-weight:bold;font-size:16px">¥{{
  546. parseFloat(scope.row.compareA.valueA).toLocaleString() }}</span>
  547. </div>
  548. <div v-else-if="scope.row.index === '单价(元)'">
  549. <el-input-number v-model="scope.row.compareA.valueA" style="width:100%;" :min="0" size="small"
  550. controls-position="right"></el-input-number>
  551. </div>
  552. <!-- <div v-else-if="scope.row.index === '室内装饰'">
  553. <el-select v-model="scope.row.compareA.valueA" placeholder="请选择" style="width:60%">
  554. <el-option label="精装" value="精装">精装</el-option>
  555. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  556. <el-option label="简装" value="简装">简装</el-option>
  557. <el-option label="清水" value="清水">清水</el-option>
  558. </el-select>
  559. <el-input-number v-model="scope.row.compareA.weight" :max="150" :min="1" size="small"
  560. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  561. </div> -->
  562. <div v-else>
  563. <el-input style="width:100%" v-model="scope.row.compareA.valueA" />
  564. </div>
  565. </template>
  566. </el-table-column>
  567. <el-table-column prop="compareB" label="实例B" align="center">
  568. <template scope="scope" style="float:right">
  569. <div v-if="needWeight.includes(scope.row.index)">
  570. <el-input style="width:60%" v-model="scope.row.compareB.valueA" />
  571. <el-input-number v-model="scope.row.compareB.weight" :max="150" :min="1" size="small"
  572. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  573. </div>
  574. <div v-else-if="scope.row.index === '市场状况'">
  575. <el-date-picker v-model="scope.row.compareB.valueA" type="month" style="width:60%" placeholder="选择月">
  576. </el-date-picker>
  577. <el-input-number v-model="scope.row.compareB.weight" :max="150" :min="1" size="small"
  578. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  579. </div>
  580. <div v-else-if="scope.row.index === '楼层/总楼层'">
  581. <el-input style="width:26%" v-model="scope.row.compareB.valueA" />
  582. <span style="margin-left:2%;margin-right:2%">/</span>
  583. <el-input style="width:26%" v-model="scope.row.compareB.valueB" />
  584. <el-input-number v-model="scope.row.compareB.weight" :min="1" :max="150" size="small"
  585. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  586. </div>
  587. <div v-else-if="scope.row.index === '修正后价格'">
  588. <span v-if="scope.row.compareB.valueA"
  589. style="color:RGB(144,147,153);font-weight:bold;font-size:20px">¥{{
  590. parseFloat(scope.row.compareB.valueA).toLocaleString() }}</span>
  591. </div>
  592. <div v-else-if="scope.row.index === '权重'">
  593. <el-input-number v-if="compareList.calculateType === 'WEIGHT'" v-model="scope.row.compareB.valueA"
  594. style="width:100%;" :min="0" :max="1" size="small" :step="0.1"
  595. controls-position="right"></el-input-number>
  596. </div>
  597. <div v-else-if="scope.row.index === '总价(元)'">
  598. <span v-if="scope.row.compareB.valueA"
  599. style="color:RGB(144,147,153);font-weight:bold;font-size:16px">¥{{
  600. parseFloat(scope.row.compareB.valueA).toLocaleString() }}</span>
  601. </div>
  602. <div v-else-if="scope.row.index === '单价(元)'">
  603. <el-input-number v-model="scope.row.compareB.valueA" style="width:100%;" :min="0" size="small"
  604. controls-position="right"></el-input-number>
  605. </div>
  606. <!-- <div v-else-if="scope.row.index === '室内装饰'">
  607. <el-select v-model="scope.row.compareB.valueA" placeholder="请选择" style="width:60%">
  608. <el-option label="精装" value="精装">精装</el-option>
  609. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  610. <el-option label="简装" value="简装">简装</el-option>
  611. <el-option label="清水" value="清水">清水</el-option>
  612. </el-select>
  613. <el-input-number v-model="scope.row.compareB.weight" :max="150" :min="1" size="small"
  614. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  615. </div> -->
  616. <div v-else>
  617. <el-input style="width:100%" v-model="scope.row.compareB.valueA" />
  618. </div>
  619. </template>
  620. </el-table-column>
  621. <el-table-column prop="compareC" label="实例C" align="center">
  622. <template scope="scope" style="float:right">
  623. <div v-if="needWeight.includes(scope.row.index)">
  624. <el-input style="width:60%" v-model="scope.row.compareC.valueA" />
  625. <el-input-number v-model="scope.row.compareC.weight" :max="150" :min="1" size="small"
  626. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  627. </div>
  628. <div v-else-if="scope.row.index === '市场状况'">
  629. <el-date-picker v-model="scope.row.compareC.valueA" type="month" style="width:60%" placeholder="选择月">
  630. </el-date-picker>
  631. <el-input-number v-model="scope.row.compareC.weight" :max="150" :min="1" size="small"
  632. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  633. </div>
  634. <div v-else-if="scope.row.index === '楼层/总楼层'">
  635. <el-input style="width:26%" v-model="scope.row.compareC.valueA" />
  636. <span style="margin-left:2%;margin-right:2%">/</span>
  637. <el-input style="width:26%" v-model="scope.row.compareC.valueB" />
  638. <el-input-number v-model="scope.row.compareC.weight" :min="1" :max="150" size="small"
  639. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  640. </div>
  641. <div v-else-if="scope.row.index === '修正后价格'">
  642. <span v-if="scope.row.compareC.valueA"
  643. style="color:RGB(144,147,153);font-weight:bold;font-size:20px">¥{{
  644. parseFloat(scope.row.compareC.valueA).toLocaleString() }}</span>
  645. </div>
  646. <div v-else-if="scope.row.index === '权重'">
  647. <el-input-number v-if="compareList.calculateType === 'WEIGHT'" v-model="scope.row.compareC.valueA"
  648. style="width:100%;" :min="0" :max="1" size="small" :step="0.1"
  649. controls-position="right"></el-input-number>
  650. </div>
  651. <div v-else-if="scope.row.index === '总价(元)'">
  652. <span v-if="scope.row.compareC.valueA"
  653. style="color:RGB(144,147,153);font-weight:bold;font-size:16px">¥{{
  654. parseFloat(scope.row.compareC.valueA).toLocaleString() }}</span>
  655. </div>
  656. <div v-else-if="scope.row.index === '单价(元)'">
  657. <el-input-number v-model="scope.row.compareC.valueA" style="width:100%;" :min="0" size="small"
  658. controls-position="right"></el-input-number>
  659. </div>
  660. <!-- <div v-else-if="scope.row.index === '室内装饰'">
  661. <el-select v-model="scope.row.compareC.valueA" placeholder="请选择" style="width:60%">
  662. <el-option label="精装" value="精装">精装</el-option>
  663. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  664. <el-option label="简装" value="简装">简装</el-option>
  665. <el-option label="清水" value="清水">清水</el-option>
  666. </el-select>
  667. <el-input-number v-model="scope.row.compareC.weight" :max="150" :min="1" size="small"
  668. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  669. </div> -->
  670. <div v-else>
  671. <el-input style="width:100%" v-model="scope.row.compareC.valueA" />
  672. </div>
  673. </template>
  674. </el-table-column>
  675. <el-table-column prop="target" label="评估对象" align="center">
  676. <template scope="scope" style="float:right">
  677. <div v-if="needWeight.includes(scope.row.index)">
  678. <el-input style="width:60%" v-model="scope.row.target.valueA" />
  679. <el-input-number v-model="scope.row.target.weight" :min="1" size="small" controls-position="right"
  680. style="width:30%;margin-left:10%"></el-input-number>
  681. </div>
  682. <div v-else-if="scope.row.index === '市场状况'">
  683. <el-date-picker v-model="scope.row.target.valueA" type="month" style="width:60%" placeholder="选择月">
  684. </el-date-picker>
  685. <el-input-number v-model="scope.row.target.weight" :max="150" :min="1" size="small"
  686. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  687. </div>
  688. <div v-else-if="scope.row.index === '楼层/总楼层'">
  689. <el-input style="width:26%" v-model="scope.row.target.valueA" />
  690. <span style="margin-left:2%;margin-right:2%">/</span>
  691. <el-input style="width:26%" v-model="scope.row.target.valueB" />
  692. <el-input-number v-model="scope.row.target.weight" :max="150" :min="1" size="small"
  693. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  694. </div>
  695. <div v-else-if="scope.row.index === '修正后价格'">
  696. <span v-if="scope.row.target.valueA" style="color:red;font-weight:bold;font-size:20px">¥{{
  697. parseFloat(scope.row.target.valueA).toLocaleString() }}</span>
  698. </div>
  699. <div v-else-if="scope.row.index === '权重'">
  700. <el-input-number v-if="false" v-model="scope.row.target.valueA" style="width:100%;" :min="0" :max="1"
  701. size="small" :step="0.1" controls-position="right"></el-input-number>
  702. </div>
  703. <div v-else-if="scope.row.index === '总价(元)' || scope.row.index === '单价(元)'">
  704. <span v-if="scope.row.target.valueA" style="color:red;font-weight:bold;font-size:16px">¥{{
  705. parseFloat(scope.row.target.valueA).toLocaleString() }}</span>
  706. </div>
  707. <!-- <div v-else-if="scope.row.index === '室内装饰'">
  708. <el-select v-model="scope.row.target.valueA" placeholder="请选择" style="width:60%">
  709. <el-option label="精装" value="精装">精装</el-option>
  710. <el-option label="中等装修" value="中等装修">中等装修</el-option>
  711. <el-option label="简装" value="简装">简装</el-option>
  712. <el-option label="清水" value="清水">清水</el-option>
  713. </el-select>
  714. <el-input-number v-model="scope.row.target.weight" :max="150" :min="1" size="small"
  715. controls-position="right" style="width:30%;margin-left:10%"></el-input-number>
  716. </div> -->
  717. <div v-else>
  718. <el-input style="width:100%" v-model="scope.row.target.valueA" />
  719. </div>
  720. </template>
  721. </el-table-column>
  722. </el-table>
  723. </el-form>
  724. </el-tab-pane>
  725. <el-tab-pane name="certificateInfo" class="pane-class" :lazy=true :disabled="!target.isOnline">
  726. <span slot="label"><i class="el-icon-postcard"></i> 证件信息</span>
  727. <el-tabs v-model="certificateInfo">
  728. <el-tab-pane name="CHANGE" class="pane-class" :lazy=true :disabled="!certificateCouldEdit">
  729. <span slot="label" :style="certificateCouldEdit ? 'color:red' : 'color:RGB(168,168,168)'"><i
  730. class="el-icon-refresh"></i> 换证</span>
  731. <div>
  732. <el-checkbox-group v-model="changeCredentials" size="medium" style="float: left;">
  733. <el-checkbox-button label="HOUSE_CERTIFICATE" name="credentials">房产证</el-checkbox-button>
  734. <el-checkbox-button label="LAND_CERTIFICATE" name="credentials">国土证</el-checkbox-button>
  735. <el-checkbox-button label="IMMOVABLE_CERTIFICATE" name="credentials">不动产权证</el-checkbox-button>
  736. </el-checkbox-group>
  737. <el-button type="danger" round style="float: left; margin-left: 20px;margin-top: 2px"
  738. @click="saveChangeCer()">确认换证</el-button>
  739. </div>
  740. </el-tab-pane>
  741. <el-tab-pane name="HOUSE_CERTIFICATE" class="pane-class" :lazy=true v-if="houseShow">
  742. <span slot="label"><i class="el-icon-postcard"></i> 房产证</span>
  743. <HouseCertificate ref="houseComponent" @custom-event="getPersonalTarget()" :id="target.id"
  744. :linkAttributes="linkAttributes" :houseCertificateObject="target.houseCertificate"
  745. :editStatus="certificateCouldEdit">
  746. </HouseCertificate>
  747. </el-tab-pane>
  748. <el-tab-pane name="LAND_CERTIFICATE" class="pane-class" :lazy=true v-if="landShow">
  749. <span slot="label"><i class="el-icon-postcard"></i> 国土证</span>
  750. <LandCertificate ref="landComponent" @custom-event="getPersonalTarget()" :id="target.id"
  751. :linkAttributes="linkAttributes" :landCertificateObject="target.landCertificate"
  752. :editStatus="certificateCouldEdit"></LandCertificate>
  753. </el-tab-pane>
  754. <el-tab-pane name="IMMOVABLE_CERTIFICATE" class="pane-class" :lazy=true v-if="immovalbeShow">
  755. <span slot="label"><i class="el-icon-postcard"></i> 不动产权证</span>
  756. <ImmovableCertificate ref="immovComponent" @custom-event="getPersonalTarget()" :id="target.id"
  757. :linkAttributes="linkAttributes" :immovableCertificateObject="target.immovableCertificate"
  758. :editStatus="certificateCouldEdit">
  759. </ImmovableCertificate>
  760. </el-tab-pane>
  761. </el-tabs>
  762. </el-tab-pane>
  763. <el-tab-pane name="otherInfo" class="pane-class" :lazy=true :disabled="!target.isOnline">
  764. <span slot="label"><i class="el-icon-chat-line-square"></i> 附加信息</span>
  765. <el-tabs v-model="otherInfo">
  766. <el-tab-pane name="entityInfo" class="pane-class" :lazy=true>
  767. <span slot="label"><i class="el-icon-paperclip"></i> 实物状况</span>
  768. <EntityInfo @custom-event="getPersonalTarget()" ref="entityCompent" :id="target.id"
  769. :linkAttributes="linkAttributes" :entityInfoObject="target.entityInfo" :editStatus="certificateCouldEdit">
  770. </EntityInfo>
  771. </el-tab-pane>
  772. <el-tab-pane name="backgroundInfo" class="pane-class" :lazy=true>
  773. <span slot="label"><i class="el-icon-paperclip"></i> 区位状况</span>
  774. <BackgroundInfo @custom-event="getPersonalTarget()" :id="target.id"
  775. :backgroundInfoObject="target.backgroundInfo" :editStatus="certificateCouldEdit"></BackgroundInfo>
  776. </el-tab-pane>
  777. <el-tab-pane name="sellingAbilityInfo" class="pane-class" :lazy=true>
  778. <span slot="label"><i class="el-icon-paperclip"></i> 变现能力</span>
  779. <SellingAbilityInfo @custom-event="getPersonalTarget()" :id="target.id"
  780. :sellingAbilityInfoObject="target.sellingAbility" :editStatus="certificateCouldEdit"
  781. :outWardStaffId="personal.outwardStaff"></SellingAbilityInfo>
  782. </el-tab-pane>
  783. </el-tabs>
  784. </el-tab-pane>
  785. <el-tab-pane name="producution" class="pane-class" :lazy=true>
  786. <span slot="label"><i class="el-icon-document-checked"></i> 产品信息</span>
  787. <div class="createMajor-main-container"
  788. v-if="currentNode.nodeCode === 'QUOTATION_FEEDBACK' || currentNode.nodeCode === 'STATEMENT_FEEDBACK'">
  789. <div class="postInfo-container">
  790. <div>
  791. <el-divider content-position="left">
  792. <h3 class="title">
  793. <div class="avatar-wrapper icon-title">反馈</div>
  794. <div class="icon-info">客户反馈</div>
  795. </h3>
  796. </el-divider>
  797. </div>
  798. <el-form ref="feedbackFrom" class="form-container" style="margin-top:30px" :rules="rules">
  799. <el-row>
  800. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  801. <el-form-item label="出具产品类型:" prop="production" label-width="160px" class="postInfo-container-item">
  802. <el-checkbox-group v-model="feedback" @change="saveFeedback()">
  803. <el-checkbox-button label="STATEMENT" name="production">价值意见书</el-checkbox-button>
  804. <el-checkbox-button label="REPORT" name="production">报告</el-checkbox-button>
  805. <el-checkbox-button label="LETTER" name="production">复评函</el-checkbox-button>
  806. <el-tooltip class="item" effect="dark" content="只出具价值意见书,不再出具其他产品。" placement="top-start">
  807. <el-checkbox-button v-if="currentNode.nodeCode === 'STATEMENT_FEEDBACK'" label="NONE"
  808. name="production">不再出具</el-checkbox-button>
  809. </el-tooltip>
  810. </el-checkbox-group>
  811. </el-form-item>
  812. </el-col>
  813. </el-row>
  814. </el-form>
  815. </div>
  816. </div>
  817. <div class="createMajor-main-container">
  818. <div class="postInfo-container">
  819. <div>
  820. <el-divider content-position="left">
  821. <h3 class="title">
  822. <div class="avatar-wrapper icon-title">产品</div>
  823. <div class="icon-info">产品信息</div>
  824. </h3>
  825. </el-divider>
  826. </div>
  827. </div>
  828. </div>
  829. <div v-if="showProds" style="display: flex;margin-top: 50px;margin-bottom: 20px; width: 100%;">
  830. <el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%; width: 20%;"
  831. >
  832. <img :src="statementCardPNG" class="image">
  833. <div style="padding: 14px;">
  834. <span>房地产意见书</span>
  835. <span class="checked">{{ statementProd.checkState }}<i v-if="statementProd.checkState"
  836. class="el-icon-circle-check"></i></span>
  837. <time class="time">{{ statementProd.modified }}</time>
  838. <div class="control">
  839. <el-button type="text" class="button" @click="doStamp(statementProd.files)"
  840. :disabled="!statementProd.isOnline">加盖公章</el-button>
  841. <el-button type="text" class="button" @click="genProductionFile(1)" >系统生成</el-button>
  842. </div>
  843. </div>
  844. <el-upload style="position: relative; top: -10px; padding: 10px;"
  845. :action="'/api/personalProduction/upload/' + target.id + '/1'" :file-list="statementProd.files" :limit="1"
  846. :on-exceed="handleExceed" :on-preview="handleAttachmentPreview" :on-success="getProductions"
  847. :before-remove="handleRemoveFile">
  848. <el-button type="text" style="position: relative; left: 10px;top: -4px;">手动上传</el-button>
  849. </el-upload>
  850. </el-card>
  851. <el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;"
  852. v-if="hasReport">
  853. <img :src="technicCardPNG" class="image">
  854. <div style="padding: 14px;">
  855. <span>技术报告</span>
  856. <span class="checked">{{ technicReportProd.checkState }}<i v-if="technicReportProd.checkState"
  857. class="el-icon-circle-check"></i></span>
  858. <time class="time">{{ technicReportProd.modified }}</time>
  859. <div class="control">
  860. <el-button type="text" class="button" @click="doStamp(technicReportProd.files)"
  861. :disabled="currentNode.nodeCode != 'WRITE_REPORT'">加盖公章</el-button>
  862. <el-button type="text" class="button" @click="genProductionFile(2)"
  863. :disabled="currentNode.nodeCode != 'WRITE_REPORT'">系统生成</el-button>
  864. </div>
  865. </div>
  866. <el-upload style="position: relative; top: -10px; padding: 10px;"
  867. :action="'/api/personalProduction/upload/' + target.id + '/2'" :file-list="technicReportProd.files"
  868. :limit="1" :on-exceed="handleExceed" :on-preview="handleAttachmentPreview" :on-success="getProductions"
  869. :before-remove="handleRemoveFile">
  870. <el-button type="text" style="position: relative; left: 10px;top: -4px;"
  871. :disabled="currentNode.nodeCode != 'WRITE_REPORT'">手动上传</el-button>
  872. </el-upload>
  873. </el-card>
  874. <el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;"
  875. v-if="hasReport">
  876. <img :src="finalCardPNG" class="image">
  877. <div style="padding: 14px;">
  878. <span>结果报告</span>
  879. <span class="checked">{{ finalReprotProd.checkState }}<i v-if="finalReprotProd.checkState"
  880. class="el-icon-circle-check"></i></span>
  881. <time class="time">{{ finalReprotProd.modified }}</time>
  882. <div class="control">
  883. <el-button type="text" class="button" @click="doStamp(finalReprotProd.files)"
  884. :disabled="currentNode.nodeCode != 'WRITE_REPORT'">加盖公章</el-button>
  885. <el-button type="text" class="button" @click="genProductionFile(3)"
  886. :disabled="currentNode.nodeCode != 'WRITE_REPORT'">系统生成</el-button>
  887. </div>
  888. </div>
  889. <el-upload style="position: relative; top: -10px;padding: 10px;"
  890. :action="'/api/personalProduction/upload/' + target.id + '/3'" :file-list="finalReprotProd.files" :limit="1"
  891. :on-exceed="handleExceed" :on-preview="handleAttachmentPreview" :on-success="getProductions"
  892. :before-remove="handleRemoveFile">
  893. <el-button type="text" style="position: relative; left: 10px;top: -4px;"
  894. :disabled="currentNode.nodeCode != 'WRITE_REPORT'">手动上传</el-button>
  895. </el-upload>
  896. </el-card>
  897. <el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%;width: 20%;"
  898. v-if="hasLetter">
  899. <img :src="letterCardPNG" class="image">
  900. <div style="padding: 14px;">
  901. <span>复评函</span>
  902. <span class="checked">{{ letterReprotProd.checkState }}<i v-if="letterReprotProd.checkState"
  903. class="el-icon-circle-check"></i></span>
  904. <time class="time">{{ letterReprotProd.modified }}</time>
  905. <div class="control">
  906. </div>
  907. </div>
  908. <el-upload style="position: relative; top: -10px;padding: 10px;"
  909. :action="'/api/personalProduction/upload/' + target.id + '/4'" :file-list="letterReprotProd.files"
  910. :limit="1" :on-exceed="handleExceed" :on-preview="handleAttachmentPreview" :on-success="getProductions"
  911. :before-remove="handleRemoveFile">
  912. <el-button type="text" style="position: relative; left: 10px;top: -4px;"
  913. :disabled="currentNode.nodeCode != 'WRITE_LETTER'">手动上传</el-button>
  914. </el-upload>
  915. </el-card>
  916. </div>
  917. <div v-else style="display: flex;margin-top: 100px; width: 100%;">
  918. <span style="color:rgb(144,147,153); margin-left: 2.2%; width: 20%; margin-top:-3%">还没有选择产品类型</span>
  919. </div>
  920. </el-tab-pane>
  921. <el-tab-pane name="workflowLog" class="pane-class" :lazy=true>
  922. <span slot="label"><i class="el-icon-date"></i> 流程日志</span>
  923. <div class="createMajor-main-container">
  924. <div class="postInfo-container">
  925. <div>
  926. <el-divider content-position="left">
  927. <h3 class="title">
  928. <div class="avatar-wrapper icon-title">日志</div>
  929. <div class="icon-info">流程审批日志</div>
  930. </h3>
  931. </el-divider>
  932. </div>
  933. </div>
  934. </div>
  935. <el-table :data="workflowLogs" stripe :header-row-style="{ color: '#333333' }" border
  936. style="width: 100%; margin-top:20px">
  937. <el-table-column prop="nodeName" label="节点名称" align="center">
  938. </el-table-column>
  939. <el-table-column prop="state" label="处理结果" align="center">
  940. </el-table-column>
  941. <el-table-column prop="handlerName" label="处理人" align="center">
  942. </el-table-column>
  943. <el-table-column prop="longTime" label="处理时长" align="center">
  944. </el-table-column>
  945. <el-table-column prop="created" label="处理时间" align="center">
  946. </el-table-column>
  947. <el-table-column prop="comments" label="处理意见" align="center" show-overflow-tooltip>
  948. </el-table-column>
  949. </el-table>
  950. </el-tab-pane>
  951. </el-tabs>
  952. <el-dialog :visible.sync="decideProductionTypeDialog" width="25%" center top="35vh" custom-class="doWarehouseClass">
  953. <div>
  954. <i class="el-icon-warning" style="color:RGB(230,162,60);font-size:22px;margin-right:10px;"></i>
  955. <span style="position:absolute;top:58px">在此节点是否确定产品类型?</span>
  956. </div>
  957. <div style="margin-top:30px;margin-left:20px">
  958. <el-radio-group v-model="target.feedback">
  959. <el-radio label="NONE" value="NONE">不确定</el-radio>
  960. <el-radio label="STATEMENT" value="STATEMENT">价值意见书</el-radio>
  961. <el-radio label="REPORT" value="REPORT">报告</el-radio>
  962. <el-radio label="LETTER" value="LETTER">复评函</el-radio>
  963. </el-radio-group>
  964. </div>
  965. <span slot="footer" class="dialog-footer">
  966. <el-button @click="decideProductionTypeDialog = false">取消</el-button>
  967. <el-button type="primary" @click="saveFeedbackWhenPrice()">保存</el-button>
  968. </span>
  969. </el-dialog>
  970. <el-dialog :visible.sync="inWarehouseDialog" width="30%" center top="35vh" custom-class="doWarehouseClass">
  971. <div>
  972. <i class="el-icon-warning" style="color:RGB(230,162,60);font-size:22px;margin-right:10px;"></i>
  973. <span style="position:absolute;top:58px;padding-right:50px;font-size: 20px">{{ warehouseTip }}</span>
  974. </div>
  975. <span slot="footer" class="dialog-footer">
  976. <el-button @click="inWarehouseDialog = false">取 消</el-button>
  977. <el-button type="primary" @click="doInWareHouse()">确 定</el-button>
  978. </span>
  979. </el-dialog>
  980. <el-dialog :visible.sync="outWarehouseDialog" width="30%" center top="35vh" custom-class="doWarehouseClass">
  981. <div>
  982. <i class="el-icon-warning" style="color:RGB(230,162,60);font-size:22px;margin-right:10px;"></i>
  983. <span style="position:absolute;top:58px;font-size: 20px">{{ warehouseTip }}</span>
  984. </div>
  985. <span slot="footer" class="dialog-footer">
  986. <el-button @click="outWarehouseDialog = false">取 消</el-button>
  987. <el-button type="primary" @click="doOutWareHouse()">确 定</el-button>
  988. </span>
  989. </el-dialog>
  990. <el-dialog :visible.sync="checkDialog" width="50%" center top="25vh" custom-class="doWarehouseClass">
  991. <el-divider content-position="left">产品审核</el-divider>
  992. <el-form ref="targetForm" :model="target">
  993. <el-row>
  994. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  995. <el-form-item label="项目名称:" prop="location" label-width="140px" class="postInfo-container-item">
  996. <el-input :value="target.location" class="filter-item" disabled readonly style=" width: 100%" />
  997. </el-form-item>
  998. </el-col>
  999. </el-row>
  1000. <el-row>
  1001. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1002. <el-form-item label="委托方1:" prop="bailorA" label-width="140px" class="postInfo-container-item">
  1003. <el-input :value="personal.bailorA" disabled readonly class="filter-item" />
  1004. </el-form-item>
  1005. </el-col>
  1006. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1007. <el-form-item label="委托方2:" prop="bailorB" label-width="140px" class="postInfo-container-item">
  1008. <el-input :value="personal.bailorB" disabled readonly class="filter-item" />
  1009. </el-form-item>
  1010. </el-col>
  1011. </el-row>
  1012. <el-row>
  1013. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1014. <el-form-item label="评估面积:" prop="acreage" label-width="140px" class="postInfo-container-item">
  1015. <el-input v-model="target.acreage" disabled readonly>
  1016. <template slot="append">
  1017. <span>平</span>
  1018. </template>
  1019. </el-input>
  1020. </el-form-item>
  1021. </el-col>
  1022. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1023. <el-form-item label="评估单价:" prop="price" label-width="140px" class="postInfo-container-item">
  1024. <el-input v-model="target.price" disabled readonly>
  1025. <template slot="append">
  1026. <span>元</span>
  1027. </template>
  1028. </el-input>
  1029. </el-form-item>
  1030. </el-col>
  1031. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1032. <el-form-item label="评估总价:" prop="amount" label-width="140px" class="postInfo-container-item">
  1033. <el-input v-model="target.amount" disabled readonly>
  1034. <template slot="append">
  1035. <span>元</span>
  1036. </template>
  1037. </el-input>
  1038. </el-form-item>
  1039. </el-col>
  1040. </el-row>
  1041. <el-row>
  1042. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  1043. <el-form-item label="备注:" prop="amount" label-width="140px" class="postInfo-container-item">
  1044. <span style="font-weight: bolder; color: red;">本人已对评估结果信息及报告文档完成审核,已确认无误。</span>
  1045. </el-form-item>
  1046. </el-col>
  1047. </el-row>
  1048. <el-row>
  1049. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  1050. <el-button type="info" style="margin-left: 40%;" @click="checkDialog = false">取消</el-button>
  1051. <el-button type="success" @click="checkPass()">确认</el-button>
  1052. </el-col>
  1053. </el-row>
  1054. </el-form>
  1055. </el-dialog>
  1056. </div>
  1057. </template>
  1058. <script>
  1059. import YDetailPageLayout from '@/components/YDetailPageLayout/index_detail'
  1060. import WorkflowBoard from '@/components/workflowBoard'
  1061. import { calculateTargetPrice, validateParams } from '@/utils/personalUtil'
  1062. import HouseCertificate from '@/components/personalForms/houseCertificate'
  1063. import LandCertificate from '@/components/personalForms/landCertificate'
  1064. import ImmovableCertificate from '@/components/personalForms/immovableCertificate'
  1065. import EntityInfo from '@/components/personalForms/entityInfo'
  1066. import BackgroundInfo from '@/components/personalForms/backgroundInfo'
  1067. import SellingAbilityInfo from '@/components/personalForms/sellingAbilityInfo'
  1068. import existPNG from '@/assets/images/exist.png'
  1069. import emptyPNG from '@/assets/images/empty.png'
  1070. export default {
  1071. name: 'personalTodoDetail',
  1072. components: {
  1073. YDetailPageLayout,
  1074. WorkflowBoard,
  1075. HouseCertificate,
  1076. LandCertificate,
  1077. ImmovableCertificate,
  1078. EntityInfo,
  1079. BackgroundInfo,
  1080. SellingAbilityInfo
  1081. },
  1082. watch: {
  1083. personal: {
  1084. handler(newVal, oldVal) {
  1085. if (newVal.outwardStaff) {
  1086. this.outwardStaffTip = false;
  1087. } else {
  1088. this.outwardStaffTip = true;
  1089. }
  1090. this.certificateInfo = newVal.credentials[0];
  1091. if (newVal.credentials.includes("HOUSE_CERTIFICATE")) {
  1092. this.houseShow = true;
  1093. } else {
  1094. this.houseShow = false;
  1095. }
  1096. if (newVal.credentials.includes("LAND_CERTIFICATE")) {
  1097. this.landShow = true;
  1098. } else {
  1099. this.landShow = false;
  1100. }
  1101. if (newVal.credentials.includes("IMMOVABLE_CERTIFICATE")) {
  1102. this.immovalbeShow = true;
  1103. } else {
  1104. this.immovalbeShow = false;
  1105. }
  1106. this.changeCredentials = newVal.credentials;
  1107. },
  1108. deep: true
  1109. },
  1110. activeTagName: {
  1111. handler(newVal, oldVal) {
  1112. if (newVal != 'order') {
  1113. this.outwardStaffTip = false;
  1114. }
  1115. },
  1116. },
  1117. target: {
  1118. handler(newVal, oldVal) {
  1119. if (newVal.acreage != null && newVal.price != null) {
  1120. newVal.amount = Math.round(newVal.acreage * newVal.price)
  1121. }
  1122. if (newVal.id) {
  1123. this.getProductions();
  1124. }
  1125. if (newVal.isOnline) {
  1126. this.jumpTabs();
  1127. }
  1128. if (newVal.qrCode){
  1129. this.qrCodeUrl = newVal.qrCode;
  1130. }
  1131. },
  1132. deep: true
  1133. },
  1134. feedback: {
  1135. handler(newVal, oldVal) {
  1136. if (this.currentNode.nodeCode === 'STATEMENT_FEEDBACK' && !newVal.includes("STATEMENT")) {
  1137. //this.feedback.push("STATEMENT");
  1138. }
  1139. // if (this.currentNode.nodeCode === 'QUOTATION_FEEDBACK' && newVal.length>1) {
  1140. // this.$message("只能选择一种产品类型。");
  1141. // //this.feedback = oldVal;
  1142. // }
  1143. // if (this.currentNode.nodeCode === 'STATEMENT_FEEDBACK' && newVal.length!=2) {
  1144. // this.$message("只能选择一种产品类型。");
  1145. // //this.feedback = oldVal;
  1146. // }
  1147. // if ((newVal.includes("REPORT") && newVal.includes("LETTER")) ||
  1148. // (newVal.includes("REPORT") && newVal.includes("NONE")) ||
  1149. // (newVal.includes("LETTER") && newVal.includes("NONE"))) {
  1150. // this.$message('除意见书以外,只能选择剩余中的一种选项');
  1151. // //this.feedback = oldVal;
  1152. // }
  1153. this.nodeBusinessInfo.production = this.feedback;
  1154. this.$refs.board.getInstanceQueue();
  1155. if (this.feedback.includes("STATEMENT")) {
  1156. this.hasStatement = true;
  1157. } else {
  1158. this.hasStatement = false;
  1159. }
  1160. if (this.feedback.includes("REPORT")) {
  1161. this.hasReport = true;
  1162. } else {
  1163. this.hasReport = false;
  1164. }
  1165. if (this.feedback.includes("LETTER")) {
  1166. this.hasLetter = true;
  1167. } else {
  1168. this.hasLetter = false;
  1169. }
  1170. if (this.feedback.length > 0) {
  1171. this.showProds = true
  1172. } else {
  1173. this.showProds = false;
  1174. }
  1175. },
  1176. deep: true
  1177. },
  1178. 'compareList.analysisData': {
  1179. handler(newVal, oldVal) {
  1180. if (newVal[2].compareA.valueA && newVal[5].compareA.valueA) {
  1181. newVal[1].compareA.valueA = newVal[2].compareA.valueA * newVal[5].compareA.valueA;
  1182. }
  1183. if (newVal[2].compareB.valueA && newVal[5].compareB.valueA) {
  1184. newVal[1].compareB.valueA = newVal[2].compareB.valueA * newVal[5].compareB.valueA;
  1185. }
  1186. if (newVal[2].compareC.valueA && newVal[5].compareC.valueA) {
  1187. newVal[1].compareC.valueA = newVal[2].compareC.valueA * newVal[5].compareC.valueA;
  1188. }
  1189. },
  1190. deep: true,
  1191. },
  1192. certificateInfo: {
  1193. handler() {
  1194. this.$nextTick(() => {
  1195. if (this.$refs.immovComponent) {
  1196. this.$refs.immovComponent.refreshLinkAttributes();
  1197. }
  1198. if (this.$refs.houseComponent) {
  1199. this.$refs.houseComponent.refreshLinkAttributes();
  1200. }
  1201. if (this.$refs.landComponent) {
  1202. this.$refs.landComponent.refreshLinkAttributes();
  1203. }
  1204. })
  1205. },
  1206. immediate: true
  1207. }
  1208. },
  1209. computed: {
  1210. certificateCouldEdit() {
  1211. let currentNodeCode = this.$route.query.currentNodeCode;
  1212. if (currentNodeCode === 'GENERATE_STATEMENT' || currentNodeCode === 'WRITE_REPORT' || currentNodeCode === 'WRITE_LETTER') {
  1213. return true;
  1214. } else {
  1215. return false;
  1216. }
  1217. },
  1218. },
  1219. data() {
  1220. return {
  1221. rules: {
  1222. outwardStaff: [
  1223. { required: true, message: '外业人员不能为空', trigger: 'blur' },
  1224. ],
  1225. },
  1226. workflowLogs: [],
  1227. activeName: null,
  1228. activeTagName: null,
  1229. nodeBusinessInfo: {
  1230. currentNodePermission: {
  1231. commit: true,
  1232. reversible: true,
  1233. restartable: true,
  1234. terminable: true,
  1235. skippable: true,
  1236. },
  1237. mainBusiness: "PERSONAL_BUSINESS",
  1238. doWorkflow: false,
  1239. businessId: null,
  1240. currentNodeInstanceId: null,
  1241. currentNodeInstanceCode: null,
  1242. production: [],
  1243. businessSubId: null,
  1244. ifFeedback: null,
  1245. ccId: null
  1246. },
  1247. currentNode: {
  1248. flowId: null,
  1249. pnodeId: null,
  1250. nodeId: null,
  1251. flowCode: null,
  1252. nodeName: "",
  1253. nodeCode: null,
  1254. state: "",
  1255. instanceId: null,
  1256. sequence: null,
  1257. restartable: null,
  1258. reversible: null,
  1259. skippable: null,
  1260. terminable: null,
  1261. tasks: []
  1262. },
  1263. personal: {
  1264. id: null,
  1265. clientManagerId: null,
  1266. clientManager: null,
  1267. evaluateAim: null,
  1268. purpose: [],
  1269. location: null,
  1270. clienteleType: null,
  1271. clienteleId: null,
  1272. cclienteleName: null,
  1273. cclienteleSubName: null,
  1274. agent: null,
  1275. cclienteleContactName: null,
  1276. cmobile: null,
  1277. cdepartment: null,
  1278. cduty: null,
  1279. loanNature: null,
  1280. loanAim: null,
  1281. loanLimit: null,
  1282. loanPeriod: null,
  1283. loanExpire: false,
  1284. credentials: [],
  1285. bailorA: null,
  1286. bailorATel: null,
  1287. bailorB: null,
  1288. bailorBTel: null,
  1289. terminalClienteleType: null,
  1290. tterminalClienteleName: null,
  1291. tterminalClienteleContactName: null,
  1292. tmobile: null,
  1293. remark: null,
  1294. inwardStaffName: null,
  1295. outwardStaff: null,
  1296. outwardStaffName: null,
  1297. pricingStaffName: null,
  1298. inwardStaffName: null,
  1299. },
  1300. outwardStaffs: [],
  1301. outwardStaffTip: true,
  1302. certificateName: null,
  1303. otherInfo: 'entityInfo',
  1304. certificateInfo: null,
  1305. target: {
  1306. id: null,
  1307. personalId: null,
  1308. location: null,
  1309. bailorA: null,
  1310. bailorB: null,
  1311. acreage: null,
  1312. amount: null,
  1313. price: null,
  1314. isOnline: null,
  1315. feedback: null,
  1316. houseCertificate: null,
  1317. landCertificate: null,
  1318. immovableCertificate: null,
  1319. entityInfo: null,
  1320. backgroundInfo: null,
  1321. sellingAbility: null,
  1322. sellMoney: null,
  1323. sellMoneyBase: null,
  1324. sellMoneyRate: null,
  1325. validateCode: null
  1326. },
  1327. compareList: {
  1328. targetId: null,
  1329. calculateId: null,
  1330. fixValue: 1,
  1331. rightsType: 'SELL',
  1332. rollingLevel: 1,
  1333. calculateType: 'SIMPLE',
  1334. method: 'COMPARE',
  1335. analysisData: [
  1336. {
  1337. "sorted": null,
  1338. "index": "坐落",
  1339. "compareA": { valueA: null },
  1340. "compareB": { valueA: null },
  1341. "compareC": { valueA: null },
  1342. "target": { valueA: null },
  1343. },
  1344. {
  1345. "sorted": null,
  1346. "index": "总价(元)",
  1347. "compareA": { valueA: null },
  1348. "compareB": { valueA: null },
  1349. "compareC": { valueA: null },
  1350. "target": { valueA: null },
  1351. },
  1352. {
  1353. "sorted": null,
  1354. "index": "单价(元)",
  1355. "compareA": { valueA: null },
  1356. "compareB": { valueA: null },
  1357. "compareC": { valueA: null },
  1358. "target": { valueA: null },
  1359. },
  1360. {
  1361. "sorted": null,
  1362. "index": "市场状况",
  1363. "compareA": { valueA: null, weight: 100 },
  1364. "compareB": { valueA: null, weight: 100 },
  1365. "compareC": { valueA: null, weight: 100 },
  1366. "target": { valueA: null, weight: 100 },
  1367. },
  1368. {
  1369. "sorted": null,
  1370. "index": "所在楼栋",
  1371. "compareA": { valueA: '对中庭', weight: 100 },
  1372. "compareB": { valueA: '对中庭', weight: 100 },
  1373. "compareC": { valueA: '对中庭', weight: 100 },
  1374. "target": { valueA: '对中庭', weight: 100 },
  1375. },
  1376. {
  1377. "sorted": null,
  1378. "index": "建筑面积(平)",
  1379. "compareA": { valueA: 0, weight: 100 },
  1380. "compareB": { valueA: 0, weight: 100 },
  1381. "compareC": { valueA: 0, weight: 100 },
  1382. "target": { valueA: 0, weight: 100 },
  1383. },
  1384. {
  1385. "sorted": null,
  1386. "index": "楼层/总楼层",
  1387. "compareA": { valueA: null, valueb: null, weight: 100 },
  1388. "compareB": { valueA: null, valueb: null, weight: 100 },
  1389. "compareC": { valueA: null, valueb: null, weight: 100 },
  1390. "target": { valueA: null, valueb: null, weight: 100 },
  1391. },
  1392. {
  1393. "sorted": null,
  1394. "index": "户型",
  1395. "compareA": { valueA: null, weight: 100 },
  1396. "compareB": { valueA: null, weight: 100 },
  1397. "compareC": { valueA: null, weight: 100 },
  1398. "target": { valueA: null, weight: 100 },
  1399. },
  1400. {
  1401. "sorted": null,
  1402. "index": "室内装饰",
  1403. "compareA": { valueA: null, weight: 100 },
  1404. "compareB": { valueA: null, weight: 100 },
  1405. "compareC": { valueA: null, weight: 100 },
  1406. "target": { valueA: null, weight: 100 },
  1407. },
  1408. {
  1409. "sorted": null,
  1410. "index": "其他",
  1411. "compareA": { valueA: null, weight: 100 },
  1412. "compareB": { valueA: null, weight: 100 },
  1413. "compareC": { valueA: null, weight: 100 },
  1414. "target": { valueA: null, weight: 100 },
  1415. },
  1416. {
  1417. "sorted": null,
  1418. "index": "修正后价格",
  1419. "compareA": { valueA: null },
  1420. "compareB": { valueA: null },
  1421. "compareC": { valueA: null },
  1422. "target": { valueA: null },
  1423. }
  1424. ],
  1425. price: null,
  1426. amount: null,
  1427. acreage: null,
  1428. sellMoney: null,
  1429. sellMoneyBase: null,
  1430. sellMoneyRate: null
  1431. },
  1432. needWeight: ['所在楼栋', '建筑面积(平)', '户型', '其他','室内装饰'],
  1433. requiredIndex: ['单价(元)', '坐落', '市场状况', '所在楼栋', '建筑面积(平)', '户型', '室内装饰', '楼层/总楼层', '权重'],
  1434. calculateWeight: {
  1435. "sorted": null,
  1436. "index": "权重",
  1437. "compareA": { valueA: null },
  1438. "compareB": { valueA: null },
  1439. "compareC": { valueA: null },
  1440. "target": { valueA: null },
  1441. },
  1442. calculating: false,
  1443. decideProductionTypeDialog: false,
  1444. linkAttributes: {
  1445. location: null,
  1446. bailor1: null,
  1447. bailor1Tel: null,
  1448. bailor2: null,
  1449. bailor2Tel: null,
  1450. acreage: null,
  1451. allFloor: null,
  1452. purpose: null,
  1453. ownerName: null,
  1454. atFloor: null
  1455. },
  1456. statementProd: {
  1457. id: null,
  1458. targetId: null,
  1459. files: [],
  1460. created: null,
  1461. checkState: null,
  1462. isOnline: null
  1463. },
  1464. technicReportProd: {
  1465. id: null,
  1466. targetId: null,
  1467. files: [],
  1468. created: null,
  1469. checkState: null
  1470. },
  1471. finalReprotProd: {
  1472. id: null,
  1473. targetId: null,
  1474. files: [],
  1475. created: null,
  1476. checkState: null
  1477. },
  1478. letterReprotProd: {
  1479. id: null,
  1480. targetId: null,
  1481. files: [],
  1482. created: null,
  1483. checkSatae: null
  1484. },
  1485. statementCardPNG: emptyPNG,
  1486. technicCardPNG: emptyPNG,
  1487. finalCardPNG: emptyPNG,
  1488. letterCardPNG: emptyPNG,
  1489. outWarehouseDialog: false,
  1490. inWarehouseDialog: false,
  1491. warehouseTip: null,
  1492. productionId: null,
  1493. hasStatement: false,
  1494. hasReport: false,
  1495. hasLetter: false,
  1496. feedback: null,
  1497. checkDialog: false,
  1498. checkProDTO: {
  1499. targetId: null,
  1500. production: null
  1501. },
  1502. showProds: true,
  1503. sceneForm: {
  1504. id: null,
  1505. personalId: null,
  1506. inRingDewlling: null,
  1507. outRingDewlling: null,
  1508. inRingBuilding: null,
  1509. outRingBuilding: null,
  1510. remark: null
  1511. },
  1512. houseShow: false,
  1513. immovalbeShow: false,
  1514. landShow: false,
  1515. changeCredentials: [],
  1516. qrCodeUrl:null
  1517. }
  1518. },
  1519. created() {
  1520. this.personalId = this.$route.query.id;
  1521. this.businessSubId = this.$route.query.orderId;
  1522. this.isOnline = this.$route.query.isOnline === 'true';
  1523. this.nodeBusinessInfo.currentNodeInstanceCode = this.$route.query.currentNodeCode;
  1524. this.nodeBusinessInfo.doWorkflow = this.$route.query.doWorkflow === 'true';
  1525. this.nodeBusinessInfo.businessId = this.$route.query.id;
  1526. this.nodeBusinessInfo.businessSubId = this.$route.query.orderId;
  1527. this.activeTagName = this.jumpTabs();
  1528. this.getPersonalTarget();
  1529. this.getPersonal();
  1530. this.getOutWardStaffList();
  1531. this.getWorkflowLogs();
  1532. this.getCurrentNodeInfo();
  1533. this.getProductions();
  1534. this.getScene();
  1535. },
  1536. methods: {
  1537. getPersonal() {
  1538. if (this.personalId) {
  1539. this.$api.personal.detail(this.personalId).then(res => {
  1540. if (res.code === 200) {
  1541. res.data.credentials = JSON.parse(res.data.credentials);
  1542. res.data.purpose = JSON.parse(res.data.purpose);
  1543. this.personal = res.data;
  1544. this.linkAttributes.location = this.personal.location;
  1545. this.linkAttributes.bailor1 = this.personal.bailorA;
  1546. this.linkAttributes.bailor1Tel = this.personal.bailoraTel;
  1547. this.linkAttributes.bailor2 = this.personal.bailorB;
  1548. this.linkAttributes.bailor2Tel = this.personal.bailorbTel;
  1549. this.linkAttributes.purpose = this.personal.purpose;
  1550. if (this.personal.evaluateAim === '抵押') {
  1551. this.linkAttributes.ownerName = this.personal.bailorA;
  1552. }
  1553. this.nodeBusinessInfo.ccId = this.personal.clienteleId;
  1554. }
  1555. })
  1556. }
  1557. },
  1558. getPersonalTarget() {
  1559. if (this.personalId) {
  1560. this.$api.personalTarget.detail(this.personalId).then(res => {
  1561. if (res.code === 200) {
  1562. this.target = res.data;
  1563. this.linkAttributes.acreage = this.target.acreage;
  1564. if (res.data.isOnline) {
  1565. this.getCaluateTable(res.data.id)
  1566. }
  1567. if (res.data.houseCertificate) {
  1568. this.target.houseCertificate = JSON.parse(res.data.houseCertificate);
  1569. }
  1570. if (res.data.landCertificate) {
  1571. this.target.landCertificate = JSON.parse(res.data.landCertificate);
  1572. }
  1573. if (res.data.immovableCertificate) {
  1574. this.target.immovableCertificate = JSON.parse(res.data.immovableCertificate);
  1575. }
  1576. if (res.data.entityInfo) {
  1577. this.target.entityInfo = JSON.parse(res.data.entityInfo);
  1578. }
  1579. if (res.data.backgroundInfo) {
  1580. this.target.backgroundInfo = JSON.parse(res.data.backgroundInfo);
  1581. }
  1582. if (res.data.sellingAbility) {
  1583. this.target.sellingAbility = JSON.parse(res.data.sellingAbility);
  1584. }
  1585. if (res.data.feedback) {
  1586. this.feedback = JSON.parse(res.data.feedback);
  1587. this.nodeBusinessInfo.production = this.feedback;
  1588. this.nodeBusinessInfo.ifFeedback = this.feedback?false:true;
  1589. } else {
  1590. this.feedback = []
  1591. }
  1592. this.qrCodeUrl = this.target.qrCode;
  1593. }
  1594. })
  1595. }
  1596. },
  1597. getCurrentNodeInfo() {
  1598. if (this.personalId) {
  1599. this.$api.workNodeInstance.currentNode({ "mainBusiness": "PERSONAL_BUSINESS", "businessId": this.personalId, "businessSubId": this.businessSubId }).then(res => {
  1600. if (res.code === 200) {
  1601. if (res.data) {
  1602. this.currentNode = res.data;
  1603. this.nodeBusinessInfo.currentInstanceNodeId = res.data.instanceId;
  1604. this.nodeBusinessInfo.currentNodeInstanceCode = res.data.nodeCode;
  1605. this.nodeBusinessInfo.currentNodePermission.restartable = res.data.restartable;
  1606. this.nodeBusinessInfo.currentNodePermission.reversible = res.data.reversible;
  1607. this.nodeBusinessInfo.currentNodePermission.skippable = res.data.skippable;
  1608. this.nodeBusinessInfo.currentNodePermission.terminable = res.data.terminable;
  1609. }
  1610. }
  1611. })
  1612. }
  1613. },
  1614. handleClick(tab) {
  1615. if ("producution" === tab && this.feedback == null) {
  1616. this.feedback = [];
  1617. }
  1618. if ("scene" === tab) {
  1619. this.getScene();
  1620. }
  1621. },
  1622. getWorkflowLogs() {
  1623. let param = {
  1624. businessId: this.personalId,
  1625. businessType: 'PERSONAL_BUSINESS',
  1626. businessSubId: this.businessSubId
  1627. }
  1628. this.$api.workflowLog.list(param).then(res => {
  1629. if (res.code === 200) {
  1630. this.workflowLogs = res.data;
  1631. }
  1632. })
  1633. },
  1634. workflowCommitVerify(val, callback) {
  1635. let commit = val.commit;
  1636. let verify = new Object();
  1637. verify.state = true;
  1638. verify.productionType = this.feedback;
  1639. if (commit.state === 'PASS') {
  1640. let nodeCode = this.nodeBusinessInfo.currentNodeInstanceCode
  1641. switch (nodeCode) {
  1642. case 'DEPARTMENT_ALLOCATION':
  1643. if (!this.personal.outwardStaff) {
  1644. this.$message('请确定外业人员后,再提交流程。')
  1645. verify.state = false;
  1646. } else {
  1647. verify.nextHandlerId = this.personal.outwardStaff;
  1648. }
  1649. callback(verify);
  1650. return;
  1651. case "DETERMINE_PRICE":
  1652. if (!this.target.feedback) {
  1653. verify.state = false;
  1654. callback(verify);
  1655. this.decideProductionTypeDialog = true
  1656. return;
  1657. } else {
  1658. callback(verify);
  1659. return;
  1660. }
  1661. case "GENERATE_STATEMENT":
  1662. case "WRITE_REPORT":
  1663. case "WRITE_LETTER":
  1664. if (this.isOnline) {
  1665. let ok = true;
  1666. this.personal.credentials.forEach(item => {
  1667. if (item === 'HOUSE_CERTIFICATE' && !this.target.houseCertificate) {
  1668. this.$notify({
  1669. title: '提示',
  1670. message: '请先完成房产证信息录入再提交,否则请切换为线下流程。',
  1671. type: 'error',
  1672. duration: 2000
  1673. });
  1674. ok = false;
  1675. }
  1676. if (item === 'LAND_CERTIFICATE' && !this.target.landCertificate) {
  1677. this.$notify({
  1678. title: '提示',
  1679. message: '请先完成国土证信息录入再提交,否则请切换为线下流程。',
  1680. type: 'error',
  1681. duration: 2000
  1682. });
  1683. ok = false;
  1684. }
  1685. if (item === 'IMMOVABLE_CERTIFICATE' && !this.target.immovableCertificate) {
  1686. this.$notify({
  1687. title: '提示',
  1688. message: '请先完成不动产权证信息录入再提交,否则请切换为线下流程。',
  1689. type: 'error',
  1690. duration: 2000
  1691. });
  1692. ok = false;
  1693. }
  1694. })
  1695. if (ok && nodeCode === 'GENERATE_STATEMENT' && (this.statementProd == null || this.statementProd.files.length === 0)) {
  1696. this.$notify({
  1697. title: '提示',
  1698. message: '请生成意见书,再提交流程',
  1699. type: 'error',
  1700. duration: 2000
  1701. });
  1702. }
  1703. if (ok && nodeCode === 'WRITE_REPORT' && (this.technicReportProd == null || this.technicReportProd.files.length === 0)) {
  1704. this.$notify({
  1705. title: '提示',
  1706. message: '请生成报告,再提交流程',
  1707. type: 'error',
  1708. duration: 2000
  1709. });
  1710. }
  1711. if (ok && nodeCode === 'WRITE_LETTER' && (this.letterReprotProd == null || this.letterReprotProd.files.length === 0)) {
  1712. this.$notify({
  1713. title: '提示',
  1714. message: '请生成复评函,再提交流程',
  1715. type: 'error',
  1716. duration: 2000
  1717. });
  1718. }
  1719. verify.state = false;
  1720. }
  1721. callback(verify);
  1722. return;
  1723. case "REVIEW_STATEMENT":
  1724. if (this.statementProd == null || this.statementProd.checkState === '待审核') {
  1725. verify.state = false;
  1726. callback(verify);
  1727. this.checkProDTO.production = "STATEMENT";
  1728. this.checkProDTO.targetId = this.target.id;
  1729. this.checkDialog = true
  1730. return;
  1731. }
  1732. callback(verify);
  1733. case "CHECK_REPORT":
  1734. if (this.technicReportProd.checkState == null || this.finalReprotProd.checkState == null ||
  1735. this.technicReportProd.checkState === '待审核' || this.finalReprotProd.checkState === '待审核') {
  1736. verify.state = false;
  1737. callback(verify);
  1738. this.checkProDTO.production = "REPORT";
  1739. this.checkProDTO.targetId = this.target.id;
  1740. this.checkDialog = true
  1741. return;
  1742. }
  1743. callback(verify);
  1744. return;
  1745. case "CHECK_LETTER":
  1746. if (!this.letterReprotProd.checkState) {
  1747. verify.state = false;
  1748. callback(verify);
  1749. this.checkProDTO.production = "LETTER";
  1750. this.checkProDTO.targetId = this.target.id;
  1751. this.checkDialog = true
  1752. return;
  1753. }
  1754. callback(verify);
  1755. return;
  1756. case "QUOTATION_FEEDBACK":
  1757. if (this.feedback.length != 1) {
  1758. verify.state = false;
  1759. callback(verify);
  1760. this.$message("还没有确定产品类型");
  1761. return;
  1762. }
  1763. callback(verify);
  1764. return;
  1765. case "STATEMENT_FEEDBACK":
  1766. if (this.feedback.length != 2) {
  1767. verify.state = false;
  1768. callback(verify);
  1769. this.$message("意见书送达后,还没有确定后续产品类型。");
  1770. return;
  1771. }
  1772. callback(verify);
  1773. return;
  1774. }
  1775. }
  1776. },
  1777. handleChange(tab) {
  1778. if (this.outwardStaffTip) {
  1779. this.outwardStaffTip = false;
  1780. }
  1781. },
  1782. goBack() {
  1783. const back = this.$route.query.back
  1784. if (back) {
  1785. this.$router.push(back)
  1786. }
  1787. },
  1788. getOutWardStaffList() {
  1789. this.$api.user.postUser("个贷外业岗").then(res => {
  1790. if (res.code === 200) {
  1791. this.outwardStaffs = res.data;
  1792. }
  1793. })
  1794. },
  1795. saveOutwardStaff() {
  1796. this.$refs.personalMemberForm.validate(valid => {
  1797. if (valid) {
  1798. if (this.personal.id) {
  1799. const personalMember = new Object();
  1800. personalMember.id = this.personal.id;
  1801. personalMember.outwardStaff = this.personal.outwardStaff
  1802. const taskRecordDTO = this.buildTaskRecordDTO(personalMember);
  1803. this.$api.personal.allotOutward(taskRecordDTO).then(res => {
  1804. if (res.code === 200 && res.data) {
  1805. this.$notify({
  1806. title: '成功',
  1807. message: '保存成功,请提交节点继续流程。',
  1808. type: 'success',
  1809. duration: 2000
  1810. });
  1811. } else {
  1812. this.$notify({
  1813. title: '失败',
  1814. message: '保存失败,请提联系系统管理员',
  1815. type: 'success',
  1816. duration: 2000
  1817. });
  1818. }
  1819. })
  1820. }
  1821. }
  1822. })
  1823. },
  1824. //构建任务处理对象
  1825. buildTaskRecordDTO(data) {
  1826. const taskRecordDTO = new Object();
  1827. taskRecordDTO.recordId = this.currentNode.tasks[0].recordId;
  1828. taskRecordDTO.taskData = data;
  1829. return taskRecordDTO;
  1830. },
  1831. //提交节点
  1832. commit(state) {
  1833. this.$refs.board.commit(state);
  1834. },
  1835. jumpTabs() {
  1836. const orderTag = ['OPENING_ORDER', 'DEPARTMENT_ALLOCATION'];
  1837. const evaluate = ['DETERMINE_PRICE', 'REVIEW_STATEMENT', 'CHECK_REPORT', 'CHECK_LETTER'];
  1838. const certificates = ['GENERATE_STATEMENT', 'WRITE_REPORT', 'WRITE_LETTER']
  1839. const scenesTag = ['SPOT_RECONNAISSANCE']
  1840. const nodeCode = this.$route.query.currentNodeCode;
  1841. if (orderTag.includes(nodeCode)) {
  1842. return 'order';
  1843. }
  1844. if (evaluate.includes(nodeCode)) {
  1845. return 'evaluate'
  1846. }
  1847. if (certificates.includes(nodeCode) && this.isOnline) {
  1848. return 'certificateInfo';
  1849. }
  1850. if (this.feedback == null) {
  1851. this.feedback = [];
  1852. }
  1853. if (scenesTag.includes(nodeCode)) {
  1854. return 'scene';
  1855. }
  1856. return 'producution'
  1857. },
  1858. calulate() {
  1859. this.calculating = true;
  1860. this.$refs.compareToForm.validate(valid => {
  1861. if (valid) {
  1862. if (validateParams(this.compareList.analysisData)) {
  1863. this.compareList = calculateTargetPrice(this.compareList);
  1864. }
  1865. }
  1866. })
  1867. this.saveCalulateResult();
  1868. setTimeout(() => {
  1869. this.calculating = false;
  1870. }, 500)
  1871. },
  1872. saveCalulateResult() {
  1873. this.target.amount = this.compareList.amount;
  1874. this.target.price = this.compareList.price;
  1875. this.target.acreage = this.compareList.acreage;
  1876. this.compareList.targetId = this.target.id;
  1877. this.target.sellMoneyRate = this.compareList.sellMoneyRate;
  1878. this.target.sellMoney = this.compareList.sellMoney;
  1879. this.target.sellMoneyBase = this.compareList.sellMoneyBase;
  1880. let message = this.target.price?'价格保存成功。':'价格未计算,暂存可比实例信息。';
  1881. let type = this.target.price?'success':'warning';
  1882. let taskRecord = this.buildTaskRecordDTO(this.compareList);
  1883. this.$api.personalCalculate.calculate(taskRecord).then(res => {
  1884. if (res.code === 200 && res.data) {
  1885. this.getCaluateTable(this.target.id);
  1886. this.$notify({
  1887. title: '成功',
  1888. message: message,
  1889. type: type,
  1890. duration: 2000
  1891. });
  1892. } else {
  1893. this.$notify({
  1894. title: '失败',
  1895. message: '保存失败',
  1896. type: 'error',
  1897. duration: 2000
  1898. });
  1899. }
  1900. })
  1901. },
  1902. savePrice() {
  1903. this.$refs.targetForm.validate(valid => {
  1904. if (valid) {
  1905. let target = new Object();
  1906. target.id = this.target.id;
  1907. target.personalId = this.target.personalId;
  1908. target.price = this.target.price;
  1909. target.amount = this.target.amount;
  1910. target.acreage = this.target.acreage;
  1911. target.location = this.personal.location;
  1912. target.bailorA = this.personal.bailorA;
  1913. target.bailorB = this.personal.bailorB;
  1914. let taskRecord = this.buildTaskRecordDTO(target);
  1915. this.$api.personalTarget.price(taskRecord).then(res => {
  1916. if (res.code === 200 && res.data) {
  1917. this.$notify({
  1918. title: '成功',
  1919. message: '保存成功',
  1920. type: 'success',
  1921. duration: 2000
  1922. });
  1923. } else {
  1924. this.$notify({
  1925. title: '失败',
  1926. message: '保存失败',
  1927. type: 'error',
  1928. duration: 2000
  1929. });
  1930. }
  1931. })
  1932. }
  1933. })
  1934. },
  1935. getCaluateTable(targetId) {
  1936. if (targetId) {
  1937. this.$api.personalCalculate.getResult(targetId).then(res => {
  1938. if (res.code === 200 && res.data) {
  1939. this.compareList = res.data;
  1940. this.linkAttributes.allFloor = this.compareList.analysisData[6].target.valueB;
  1941. this.linkAttributes.atFloor = this.compareList.analysisData[6].target.valueA;
  1942. this.linkAttributes.houseType = this.compareList.analysisData[7].target.valueA;
  1943. this.selectCalculateType();
  1944. }
  1945. })
  1946. }
  1947. },
  1948. calculateSwith() {
  1949. this.$api.personalTarget.calculateSwith(this.target.isOnline, this.target.id).then(res => {
  1950. if (res.code === 200 && res.data) {
  1951. this.isOnline = this.target.isOnline;
  1952. }
  1953. })
  1954. if (this.target.isOnline && !this.compareList.calculateId) {
  1955. this.getCaluateTable(this.target.id);
  1956. }
  1957. },
  1958. selectCalculateType() {
  1959. let data = this.compareList.analysisData
  1960. if (this.compareList.calculateType === 'SIMPLE') {
  1961. let dataX = data.filter(function (item) {
  1962. return item.index != '权重'
  1963. })
  1964. this.compareList.analysisData = dataX;
  1965. } else {
  1966. if (!data.map(item => item.index).includes("权重")) {
  1967. data.splice(10, 0, this.calculateWeight)
  1968. }
  1969. }
  1970. },
  1971. saveFeedbackWhenPrice() {
  1972. this.nodeBusinessInfo.ifFeedback = true;
  1973. if (this.target.id && this.target.feedback && this.target.feedback != 'NONE') {
  1974. this.nodeBusinessInfo.ifFeedback = false;
  1975. this.nodeBusinessInfo.production = [this.target.feedback];
  1976. const feedbackReq = new Object();
  1977. feedbackReq.feedback = this.target.feedback;
  1978. feedbackReq.id = this.target.id;
  1979. feedbackReq.personalId = this.target.personalId;
  1980. this.$api.personalTarget.feedback(feedbackReq);
  1981. }
  1982. this.decideProductionTypeDialog = false;
  1983. this.commit("PASS");
  1984. },
  1985. genProductionFile(tag) {
  1986. const certificates = this.personal.credentials
  1987. for (let i in certificates) {
  1988. if (certificates[i] === 'HOUSE_CERTIFICATE' && !this.target.houseCertificate) {
  1989. this.$message('房产证未点击保存');
  1990. return;
  1991. }
  1992. if (certificates[i] === 'LAND_CERTIFICATE' && !this.target.landCertificate) {
  1993. this.$message('国土证未点击保存');
  1994. return;
  1995. }
  1996. if (certificates[i] === 'IMMOVABLE_CERTIFICATE' && !this.target.immovableCertificate) {
  1997. this.$message('不动产权证未点击保存');
  1998. return;
  1999. }
  2000. }
  2001. if (!this.target.entityInfo) {
  2002. this.$message('实物状况未点击保存');
  2003. return;
  2004. }
  2005. if (!this.target.backgroundInfo) {
  2006. this.$message('区位状况未点击保存');
  2007. return;
  2008. }
  2009. if (!this.target.sellingAbility) {
  2010. this.$message('变现能力未点击保存');
  2011. return;
  2012. }
  2013. this.$confirm('系统生成将会覆盖原有文档,请确认是否继续?', '提示', {
  2014. confirmButtonText: '确认',
  2015. cancelButtonText: '取消',
  2016. type: 'warning',
  2017. center: true
  2018. }).then(() => {
  2019. if (this.personal.id && this.target.id) {
  2020. this.$api.personalProduction.genFile(this.personal.id, tag).then(res => {
  2021. if (res.code === 200 && res.data) {
  2022. this.$notify({
  2023. title: '成功',
  2024. message: '生成文档成功',
  2025. type: 'success',
  2026. duration: 2000
  2027. });
  2028. this.getProductions();
  2029. this.getPersonalTarget();
  2030. } else {
  2031. this.$notify({
  2032. title: '失败',
  2033. message: '生成文档失败',
  2034. type: 'error',
  2035. duration: 2000
  2036. });
  2037. }
  2038. })
  2039. }
  2040. })
  2041. },
  2042. getProductions() {
  2043. if (this.target.id) {
  2044. this.$api.personalProduction.getProductions(this.target.id).then(res => {
  2045. if (res.code === 200) {
  2046. const words = res.data
  2047. words.forEach(word => {
  2048. if (word.production === 'STATEMENT') {
  2049. this.statementProd = word;
  2050. const fs = [];
  2051. if (word.filePath) {
  2052. this.statementCardPNG = existPNG;
  2053. const sta = JSON.parse(word.filePath)
  2054. sta.id = word.id;
  2055. fs.push(sta);
  2056. } else {
  2057. this.statementCardPNG = emptyPNG;
  2058. }
  2059. this.statementProd.files = fs;
  2060. }
  2061. if (word.production === 'TECHNIC') {
  2062. this.technicReportProd = word;
  2063. const fs = [];
  2064. if (word.filePath) {
  2065. const tec = JSON.parse(word.filePath)
  2066. tec.id = word.id;
  2067. this.technicCardPNG = existPNG;
  2068. fs.push(tec);
  2069. } else {
  2070. this.technicCardPNG = emptyPNG;
  2071. }
  2072. this.technicReportProd.files = fs;
  2073. }
  2074. if (word.production === 'FINAL') {
  2075. this.finalReprotProd = word;
  2076. const fs = [];
  2077. if (word.filePath) {
  2078. const final = JSON.parse(word.filePath)
  2079. final.id = word.id;
  2080. this.finalCardPNG = existPNG;
  2081. fs.push(final);
  2082. } else {
  2083. this.finalCardPNG = emptyPNG;
  2084. }
  2085. this.finalReprotProd.files = fs;
  2086. }
  2087. });
  2088. }
  2089. })
  2090. }
  2091. },
  2092. handleExceed(files, fileList) {
  2093. this.$message(`当前限制选择 1个文件,本次选择了 ${files.length} 个文件`);
  2094. },
  2095. handleAttachmentPreview(file) {
  2096. // window.open(file.url)
  2097. this.officeFileView(file.name, file.url);
  2098. },
  2099. handleRemoveFile(file, fileList) {
  2100. this.$confirm('请确认是否移除已存在的报告?', '提示', {
  2101. confirmButtonText: '确定',
  2102. cancelButtonText: '取消',
  2103. type: 'warning',
  2104. center: true
  2105. }).then(() => {
  2106. let pid = file.id;
  2107. if (pid) {
  2108. this.$api.personalProduction.removeFile(pid).then(res => {
  2109. if (res.code === 200 && res.data) {
  2110. this.$notify({
  2111. title: '成功',
  2112. message: '文档移除成功',
  2113. type: 'success',
  2114. duration: 2000
  2115. });
  2116. this.getProductions();
  2117. }
  2118. })
  2119. }
  2120. })
  2121. },
  2122. selectRoll() {
  2123. let roll = this.compareList.rollingLevel;
  2124. this.compareList.sellMoneyRate = 0.01;
  2125. if (roll === 1) {
  2126. this.compareList.sellMoneyBase = 12000;
  2127. this.compareList.sellMoney = 12000 * 0.01;
  2128. } else if (roll === 2) {
  2129. this.compareList.sellMoneyBase = 10800;
  2130. this.compareList.sellMoney = 10800 * 0.01;
  2131. } else {
  2132. this.compareList.sellMoneyBase = 10100;
  2133. this.compareList.sellMoney = 10100 * 0.01;
  2134. }
  2135. },
  2136. selectRightsType() {
  2137. if (this.compareList.rightsType === 'SELL') {
  2138. this.compareList.sellMoneyRate = null;
  2139. this.compareList.sellMoneyBase = null;
  2140. this.compareList.sellMoney = null;
  2141. this.target.sellMoneyRate = null;
  2142. this.target.sellMoneyBase = null;
  2143. this.target.sellMoney = null;
  2144. } else {
  2145. this.selectRoll();
  2146. }
  2147. },
  2148. downloadPkg() {
  2149. if (this.target.id) {
  2150. this.$api.personalProduction.downloadPkg(this.target.id);
  2151. }
  2152. },
  2153. doStamp(files) {
  2154. const file = files[0];
  2155. if (file) {
  2156. this.$api.businessProduction.doStamp(file).then(res => {
  2157. if (res.code === 200 && res.data) {
  2158. this.$notify({
  2159. title: '成功',
  2160. message: '加盖公章成功',
  2161. type: 'success',
  2162. duration: 2000
  2163. });
  2164. } else {
  2165. this.$notify({
  2166. title: '失败',
  2167. message: '加盖公章失败',
  2168. type: 'error',
  2169. duration: 2000
  2170. });
  2171. }
  2172. })
  2173. } else {
  2174. this.$notify({
  2175. title: '失败',
  2176. message: '加盖公章失败,请先生成意见书或报告',
  2177. type: 'error',
  2178. duration: 2000
  2179. });
  2180. }
  2181. },
  2182. checkPass() {
  2183. if (this.checkProDTO.targetId && this.checkProDTO.production) {
  2184. const taskRecordDTO = this.buildTaskRecordDTO(this.checkProDTO);
  2185. this.$api.personalProduction.checkPass(taskRecordDTO).then(res => {
  2186. if (res.code === 200 && res.data) {
  2187. this.$notify({
  2188. title: '成功',
  2189. message: '审核成功',
  2190. type: 'success',
  2191. duration: 2000
  2192. });
  2193. const prodType = this.checkProDTO.production;
  2194. if (prodType === 'REPORT') {
  2195. this.technicReportProd.checkState = '已审核';
  2196. this.finalReprotProd.checkState = '已审核';
  2197. }
  2198. if (prodType === 'STATEMENT') {
  2199. this.statementProd.checkState = '已审核';
  2200. }
  2201. if (prodType === 'LETTER') {
  2202. this.letterReprotProd.checkState = '已审核';
  2203. }
  2204. this.commit("PASS");
  2205. } else {
  2206. this.$notify({
  2207. title: '失败',
  2208. message: '审核失败',
  2209. type: 'error',
  2210. duration: 2000
  2211. });
  2212. }
  2213. this.checkDialog = false;
  2214. })
  2215. }
  2216. },
  2217. warehouse() {
  2218. const code = this.currentNode.nodeCode;
  2219. if (code === 'STATEMENT_IN') {
  2220. const orderId = this.personal.orderId
  2221. this.warehouseTip = "请确认将项目编号为[" + orderId + "]的意见书入库?";
  2222. this.checkProDTO.production = "STATEMENT";
  2223. this.checkProDTO.targetId = this.target.id;
  2224. this.inWarehouseDialog = true;
  2225. }
  2226. const orderId = this.personal.orderId
  2227. if (code === 'STATEMENT_OUT') {
  2228. this.warehouseTip = "请确认将项目编号为[" + orderId + "]的意见书出库?";
  2229. this.checkProDTO.production = "STATEMENT";
  2230. this.checkProDTO.targetId = this.target.id;
  2231. this.outWarehouseDialog = true;
  2232. }
  2233. if (code === 'REPORT_IN') {
  2234. this.warehouseTip = "请确认将项目编号为[" + orderId + "]的报告入库?";
  2235. this.checkProDTO.production = "REPORT";
  2236. this.checkProDTO.targetId = this.target.id;
  2237. this.inWarehouseDialog = true;
  2238. }
  2239. if (code === 'REPORT_OUT') {
  2240. this.warehouseTip = "请确认将项目编号为[" + orderId + "]的报告出库?";
  2241. this.checkProDTO.production = "REPORT";
  2242. this.checkProDTO.targetId = this.target.id;
  2243. this.outWarehouseDialog = true;
  2244. }
  2245. },
  2246. doInWareHouse() {
  2247. if (this.checkProDTO.targetId && this.checkProDTO.production) {
  2248. let taskRecordDTO = this.buildTaskRecordDTO(this.checkProDTO);
  2249. this.$api.personalProduction.inWareHouse(taskRecordDTO).then(res => {
  2250. if (res.code === 200 && res.data) {
  2251. this.$notify({
  2252. title: '成功',
  2253. message: '入库操作成功',
  2254. type: 'success',
  2255. duration: 2000
  2256. });
  2257. } else {
  2258. this.$notify({
  2259. title: '失败',
  2260. message: '入库操作失败',
  2261. type: 'error',
  2262. duration: 2000
  2263. });
  2264. }
  2265. })
  2266. }
  2267. this.inWarehouseDialog = false;
  2268. },
  2269. doOutWareHouse() {
  2270. if (this.checkProDTO.targetId && this.checkProDTO.production) {
  2271. let taskRecordDTO = this.buildTaskRecordDTO(this.checkProDTO);
  2272. this.$api.personalProduction.outWareHouse(taskRecordDTO).then(res => {
  2273. if (res.code === 200 && res.data) {
  2274. this.$notify({
  2275. title: '成功',
  2276. message: '出库操作成功',
  2277. type: 'success',
  2278. duration: 2000
  2279. });
  2280. } else {
  2281. this.$notify({
  2282. title: '失败',
  2283. message: '出库操作失败',
  2284. type: 'error',
  2285. duration: 2000
  2286. });
  2287. }
  2288. })
  2289. }
  2290. this.outWarehouseDialog = false;
  2291. },
  2292. saveFeedback() {
  2293. let flag = true;
  2294. const oldFeedback = JSON.parse(this.target.feedback);
  2295. if (oldFeedback) {
  2296. oldFeedback.forEach(element => {
  2297. if (!this.feedback.includes(element)) {
  2298. if (element === 'STATEMENT' && this.statementProd.id) {
  2299. this.$message("不能移除已存在的产品类型");
  2300. flag = false;
  2301. }
  2302. if (element === 'REPORT' && (this.technicReportProd.id || this.finalReprotProd.id)) {
  2303. this.$message("不能移除已存在的产品类型");
  2304. flag = false;
  2305. }
  2306. }
  2307. });
  2308. if (this.currentNode.nodeCode === 'QUOTATION_FEEDBACK' && this.feedback.length > 1) {
  2309. this.$message("只能选择一种产品类型");
  2310. flag = false;
  2311. }
  2312. if (this.currentNode.nodeCode === 'STATEMENT_FEEDBACK' && this.feedback.length > 2) {
  2313. this.$message("只能选择一种产品类型");
  2314. flag = false;
  2315. }
  2316. }
  2317. if (flag) {
  2318. const feedbackDTO = new Object();
  2319. feedbackDTO.id = this.target.id;
  2320. feedbackDTO.personalId = this.target.personalId;
  2321. if (this.feedback.length == 0) {
  2322. return;
  2323. }
  2324. feedbackDTO.feedback = JSON.stringify(this.feedback);
  2325. const taskRecordDTO = this.buildTaskRecordDTO(feedbackDTO)
  2326. this.$api.personalTarget.doFeedback(taskRecordDTO).then(res => {
  2327. if (res.code === 200 && res.data) {
  2328. this.$notify({
  2329. title: '成功',
  2330. message: '反馈客户信息成功',
  2331. type: 'success',
  2332. duration: 2000
  2333. });
  2334. this.getPersonalTarget();
  2335. } else {
  2336. this.$notify({
  2337. title: '失败',
  2338. message: '反馈客户信息失败',
  2339. type: 'error',
  2340. duration: 2000
  2341. });
  2342. }
  2343. })
  2344. } else {
  2345. this.feedback = oldFeedback;
  2346. }
  2347. },
  2348. saveScene() {
  2349. this.$refs.sceneForm.validate((valid) => {
  2350. if (valid) {
  2351. if (this.sceneForm.id) {
  2352. const taskRecordDTO = this.buildTaskRecordDTO(this.sceneForm)
  2353. this.$api.personalScene.saveScene(taskRecordDTO).then(res => {
  2354. if (res.code === 200 && res.data) {
  2355. this.$notify({
  2356. title: '成功',
  2357. message: '实勘信息更新成功',
  2358. type: 'success',
  2359. duration: 2000
  2360. })
  2361. this.getScene();
  2362. }
  2363. })
  2364. } else {
  2365. this.sceneForm.personalId = this.personal.id;
  2366. const taskRecordDTO = this.buildTaskRecordDTO(this.sceneForm)
  2367. this.$api.personalScene.saveScene(taskRecordDTO).then(res => {
  2368. if (res.code === 200 && res.data) {
  2369. this.$notify({
  2370. title: '成功',
  2371. message: '实勘信息添加成功',
  2372. type: 'success',
  2373. duration: 2000
  2374. })
  2375. this.getScene();
  2376. }
  2377. })
  2378. }
  2379. }
  2380. })
  2381. },
  2382. getScene() {
  2383. this.$api.personalScene.getScene(this.personalId).then(res => {
  2384. if (res.code === 200 && res.data) {
  2385. this.sceneForm = res.data;
  2386. }
  2387. })
  2388. },
  2389. saveChangeCer() {
  2390. this.$confirm('是否确定需要换证。换证之后,已录入的证件信息将被清空。请确认?', '提示', {
  2391. confirmButtonText: '确定',
  2392. cancelButtonText: '取消',
  2393. type: 'warning'
  2394. }).then(() => {
  2395. const personal = new Object();
  2396. personal.id = this.personal.id;
  2397. personal.credentials = JSON.stringify(this.changeCredentials);
  2398. this.$api.personal.changeCredentials(personal).then(res => {
  2399. if (res.code === 200) {
  2400. this.$notify({
  2401. title: '成功',
  2402. message: '换证成功',
  2403. type: 'success',
  2404. duration: 2000
  2405. });
  2406. this.getPersonal();
  2407. }
  2408. })
  2409. })
  2410. },
  2411. // 文档预览
  2412. officeFileView(name, url) {
  2413. if (name || url) {
  2414. const route = this.$router.resolve({
  2415. path: "/office/view/window",
  2416. query: {
  2417. // 文档标题
  2418. title: name,
  2419. // 文档url地址
  2420. url: url,
  2421. mode: 'edit'
  2422. }
  2423. });
  2424. // 在新窗口打开页面
  2425. window.open(route.href, "_blank");
  2426. } else {
  2427. this.$notify({
  2428. title: '失败',
  2429. message: 'url为空,无法打开,如未保存请保存后再试!',
  2430. type: 'error',
  2431. duration: 2000
  2432. });
  2433. }
  2434. },
  2435. printQR() {
  2436. const path = this.qrCodeUrl;
  2437. console.log(path)
  2438. if (!path) {
  2439. this.$message("二维码还未生成,无法打印。")
  2440. return;
  2441. }
  2442. let routeUrl = this.$router.resolve({
  2443. path: `/print/code?path=${path}`
  2444. });
  2445. window.open(routeUrl.href, '_blank');
  2446. },
  2447. showQrCode(url){
  2448. console.log(url)
  2449. this.qrCodeUrl = url;
  2450. }
  2451. }
  2452. }
  2453. </script>
  2454. <style lang="scss" scoped>
  2455. .row-style {
  2456. margin-left: 40px;
  2457. margin-right: 1%;
  2458. }
  2459. .major-radio {
  2460. width: 92px
  2461. }
  2462. .task-class {
  2463. /deep/ .el-form-item__label {
  2464. color: red;
  2465. }
  2466. }
  2467. .evaluate-table {
  2468. margin-left: 40px;
  2469. margin-top: 35px;
  2470. }
  2471. .pane-class {
  2472. width: 100%;
  2473. overflow-y: scroll;
  2474. }
  2475. /deep/ .cell-class {
  2476. font-size: 13px;
  2477. color: black;
  2478. }
  2479. .table {
  2480. /deep/ thead {
  2481. .el-table-column--selection {
  2482. .cell {
  2483. display: none;
  2484. }
  2485. }
  2486. }
  2487. }
  2488. /deep/.doWarehouseClass {
  2489. border-radius: 10px;
  2490. }
  2491. .button-area {
  2492. position: absolute;
  2493. top: 20px;
  2494. right: 50px;
  2495. }
  2496. .error-type {
  2497. margin-right: 5px;
  2498. }
  2499. .error-type:hover {
  2500. cursor: pointer;
  2501. }
  2502. .box-card {
  2503. margin-top: 40px
  2504. }
  2505. .time {
  2506. font-size: 13px;
  2507. color: #999;
  2508. float: right;
  2509. margin-top: 5px;
  2510. }
  2511. .bottom {
  2512. margin-top: 13px;
  2513. line-height: 12px;
  2514. }
  2515. .button {
  2516. float: left;
  2517. }
  2518. .image {
  2519. width: 100%;
  2520. padding: 0%;
  2521. display: block;
  2522. }
  2523. .control {
  2524. z-index: 999;
  2525. position: relative;
  2526. top: 10px;
  2527. }
  2528. .checked {
  2529. margin-left: 10px;
  2530. font-size: 12px;
  2531. color: green;
  2532. }
  2533. .qr-code-div {
  2534. background-color: RGB(245, 245, 245);
  2535. width: 150px;
  2536. height: 150px;
  2537. position: absolute;
  2538. display: flex;
  2539. justify-content: center;
  2540. align-items: center;
  2541. }
  2542. .qr-code {
  2543. width: 150px;
  2544. height: 150px;
  2545. z-index: 999;
  2546. border: 1px #919398 solid;
  2547. border-radius: 5px;
  2548. }
  2549. .qr-code-div:hover {
  2550. cursor: pointer;
  2551. // background-color:RGB(220,220,220);
  2552. // width: 180px;
  2553. // height: 180px;
  2554. }
  2555. a:hover{
  2556. cursor: pointer;
  2557. color: #5a9cf8
  2558. }
  2559. </style>