detail.vue 141 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326
  1. <template>
  2. <div class="app-container">
  3. <el-collapse v-model="activeName" @change="handleChange" v-if="nodeBusinessInfo.currentNodeInstanceId">
  4. <el-collapse-item>
  5. <template slot="title" >
  6. <span style="font-size:20px; color:RGB(168,168,168)">
  7. <i class="el-icon-star-on"></i>
  8. <span> {{currentNode==null ?'???':currentNode.nodeName?currentNode.nodeName:'结束'}}</span>
  9. <span style="margin-left:30px" v-if="reportNo || statementNo">已取号:<span style="font-style:italic;" v-if="statementNo">{{statementNo}}</span>
  10. <span style="font-style:italic;margin-left:30px" v-if="reportNo">{{reportNo}}</span></span>
  11. </span>
  12. <span style="font-size:15px; margin-left:15px;letter-spacing:2px; color:RGB(168,168,168)">
  13. 点击展开查看实时流程图
  14. </span>
  15. </template>
  16. <WorkflowBoard ref='board' :nodeBusinessInfo="nodeBusinessInfo" />
  17. </el-collapse-item>
  18. </el-collapse>
  19. <el-tabs v-model="activeTagName" @tab-click="handleClick" type="border-card">
  20. <el-tab-pane name="order" class="pane-class" :lazy=true>
  21. <span slot="label"><i class="el-icon-document"></i> 市场订单</span>
  22. <y-detail-page-layout ref="myPersonalOrder" @save="handleCreate" :editStatus="couldEdit" :couldBack="couldBack">
  23. <div>
  24. <el-form ref="majorForm" :model="major" class="form-container" :rules="rules">
  25. <div class="createMajor-main-container">
  26. <div class="postInfo-container">
  27. <div>
  28. <el-divider content-position="left">
  29. <h3 class="title">
  30. <div class="avatar-wrapper icon-title">订单</div>
  31. <div class="icon-info">大中型订单</div>
  32. </h3>
  33. </el-divider>
  34. </div>
  35. <el-row class="row-style">
  36. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  37. <el-form-item
  38. label="客户经理:"
  39. prop="clientManager"
  40. :rules="{required: true, message: '客户经理不能为空', trigger: 'blur'}"
  41. label-width="120px"
  42. class="postInfo-container-item"
  43. >
  44. <el-input :value="major.clientManager" class="filter-item" readonly disabled />
  45. </el-form-item>
  46. </el-col>
  47. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  48. <el-form-item
  49. label="订单属性:"
  50. prop="financial"
  51. :rules="{required: true, message: '订单属性不能为空', trigger: 'blur'}"
  52. label-width="120px"
  53. class="postInfo-container-item"
  54. >
  55. <el-select v-model="major.financial" placeholder="请选择" style="width: 100%">
  56. <el-option label="金融" :value="true">金融</el-option>
  57. <el-option label="非金融" :value="false">非金融</el-option>
  58. </el-select>
  59. </el-form-item>
  60. </el-col>
  61. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  62. <el-form-item
  63. label="派单方式:"
  64. prop="allotType"
  65. :rules="{required: true, message: '派单方式不能为空', trigger: 'blur'}"
  66. label-width="120px"
  67. class="postInfo-container-item"
  68. >
  69. <el-select v-model="major.allotType" placeholder="请选择" style="width: 100%">
  70. <el-option label="部门轮单" value="轮单"></el-option>
  71. <el-option label="部门指派" value="指派"></el-option>
  72. </el-select>
  73. </el-form-item>
  74. </el-col>
  75. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.allotType==='指派' || nodeBusinessInfo.currentNodeInstanceId ">
  76. <el-form-item
  77. label="接单部门:"
  78. prop="departmentId"
  79. label-width="120px"
  80. class="postInfo-container-item"
  81. >
  82. <el-select v-model="major.departmentId" style="width: 100%">
  83. <el-option v-for="(d,id) in allotDepartment" :label="d.name" :value="d.id"></el-option>
  84. </el-select>
  85. </el-form-item>
  86. </el-col>
  87. </el-row>
  88. <el-row class="row-style" v-if="saveOrderBtn==null">
  89. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  90. <el-form-item
  91. label="项目负责人:"
  92. prop="principalId"
  93. label-width="120px"
  94. :class="['postInfo-container-item']"
  95. >
  96. <el-select v-model="major.principalId"
  97. placeholder="待定" style="width: 100%"
  98. readonly
  99. disabled>
  100. <el-option v-for="(p,id) in principals" :label="p.name" :value="p.id"></el-option>
  101. </el-select>
  102. </el-form-item>
  103. </el-col>
  104. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  105. <el-form-item
  106. label="项目成员:"
  107. prop="membersId"
  108. label-width="120px"
  109. :class="['postInfo-container-item']"
  110. >
  111. <el-select v-model="major.membersId"
  112. placeholder="待定"
  113. multiple
  114. readonly
  115. disabled
  116. style="width: 100%">
  117. <el-option v-for="(u,id) in allUsers" :label="u.name" :value="u.id"></el-option>
  118. </el-select>
  119. </el-form-item>
  120. </el-col>
  121. </el-row>
  122. <el-row class="row-style">
  123. <el-col :xs="12" :sm="12" :lg="18" :span="6">
  124. <el-form-item
  125. label="订单名称:"
  126. prop="name"
  127. :rules="{required: true, message: '订单名称不能为空', trigger: 'blur'}"
  128. label-width="120px"
  129. class="postInfo-container-item"
  130. >
  131. <el-input v-model="major.name" clearable class="filter-item" style=" width: 100%" />
  132. </el-form-item>
  133. </el-col>
  134. </el-row>
  135. <el-row class="row-style">
  136. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  137. <el-form-item
  138. label="对象类型:"
  139. prop="businessObjectType"
  140. :rules="{required: true, message: '评估对象类型不能为空', trigger: 'blur'}"
  141. label-width="120px"
  142. class="postInfo-container-item"
  143. >
  144. <el-select v-model="major.businessObjectType" placeholder="请选择" @change="changeType" style="width: 100%">
  145. <el-option label="土地" value="土地"></el-option>
  146. <el-option label="房地产" value="房地产"></el-option>
  147. </el-select>
  148. </el-form-item>
  149. </el-col>
  150. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.businessObjectType==='房地产'">
  151. <el-form-item
  152. label="特殊类型:"
  153. prop="specialType"
  154. label-width="120px"
  155. class="postInfo-container-item"
  156. >
  157. <el-select v-model="major.specialType" placeholder="请选择" style="width: 100%">
  158. <el-option label="在建工程" value="在建工程"></el-option>
  159. <el-option label="加油加气站" value="加油加气站"></el-option>
  160. <el-option label="电站" value="电站"></el-option>
  161. <el-option label="客运站" value="客运站"></el-option>
  162. </el-select>
  163. </el-form-item>
  164. </el-col>
  165. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  166. <el-form-item
  167. label="业务类型:"
  168. prop="businessGener"
  169. label-width="120px"
  170. class="postInfo-container-item"
  171. >
  172. <el-select v-model="major.businessGener" placeholder="请选择" clearable style="width: 100%" >
  173. <el-option v-for="(type,index) in types" :label="type" :value="type"></el-option>
  174. </el-select>
  175. </el-form-item>
  176. </el-col>
  177. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  178. <el-form-item
  179. label="评估目的:"
  180. prop="evaluateAim"
  181. :rules="{required: true, message: '评估目的不能为空', trigger: 'blur'}"
  182. label-width="120px"
  183. class="postInfo-container-item"
  184. >
  185. <el-select v-model="major.evaluateAim" placeholder="请选择" style="width: 100%">
  186. <el-option label="抵押" value="抵押"></el-option>
  187. <el-option label="咨询" value="咨询"></el-option>
  188. <el-option label="融资" value="融资"></el-option>
  189. <el-option label="可行性研究" value="可行性研究"></el-option>
  190. <el-option label="不良资产价值评估" value="不良资产价值评估"></el-option>
  191. <el-option label="其他" value="其他"></el-option>
  192. </el-select>
  193. </el-form-item>
  194. </el-col>
  195. </el-row>
  196. <el-row class="row-style">
  197. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  198. <el-form-item
  199. label="再次委托:"
  200. prop="entrustAgain"
  201. :rules="{required: true, message: '再次委托不能为空', trigger: 'blur'}"
  202. label-width="120px"
  203. class="postInfo-container-item"
  204. >
  205. <el-radio v-model="major.entrustAgain" :label="false" size="medium" >否</el-radio>
  206. <el-radio v-model="major.entrustAgain" :label="true" size="medium" >是</el-radio>
  207. </el-form-item>
  208. </el-col>
  209. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  210. <el-form-item
  211. label="分户搬迁:"
  212. prop="multipleRemoval"
  213. :rules="{required: true, message: '分户搬迁不能为空', trigger: 'blur'}"
  214. label-width="120px"
  215. class="postInfo-container-item"
  216. >
  217. <el-radio v-model="major.multipleRemoval" :label="false" size="medium" >否</el-radio>
  218. <el-radio v-model="major.multipleRemoval" :label="true" size="medium" >是</el-radio>
  219. </el-form-item>
  220. </el-col>
  221. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  222. <el-form-item
  223. label="是否口估:"
  224. prop="informalEvaluate"
  225. :rules="{required: true, message: '是否口估不能为空', trigger: 'blur'}"
  226. label-width="120px"
  227. class="postInfo-container-item"
  228. >
  229. <el-radio v-model="major.informalEvaluate" :label="false" size="medium" >否</el-radio>
  230. <el-radio v-model="major.informalEvaluate" :label="true" size="medium" >是</el-radio>
  231. </el-form-item>
  232. </el-col>
  233. </el-row>
  234. <el-row class="row-style">
  235. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  236. <el-form-item
  237. label="客户类型:"
  238. prop="clienteleType"
  239. :rules="{required: true, message: '客户类型不能为空', trigger: 'blur'}"
  240. label-width="120px"
  241. class="postInfo-container-item"
  242. >
  243. <el-select v-model="major.clienteleType" placeholder="请选择" @change="changeCustomerType(0)" style="width: 100%">
  244. <el-option label="企业" value="企业"></el-option>
  245. <el-option label="个人" value="个人"></el-option>
  246. </el-select>
  247. </el-form-item>
  248. </el-col>
  249. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.clienteleType==='企业'">
  250. <el-form-item
  251. label="客户名称:"
  252. prop="clienteleId"
  253. label-width="120px"
  254. class="postInfo-container-item"
  255. >
  256. <el-select v-model="major.clienteleId" placeholder="请选择(可搜索)" @change="findSubClientele(0)" clearable filterable style="width: 100%" v-if="couldEdit">
  257. <el-option v-for="(c,id) in customerCompany" :label="c.name" :value="c.id"></el-option>
  258. </el-select>
  259. <el-input :value="major.cclienteleName" class="filter-item" v-else/>
  260. </el-form-item>
  261. </el-col>
  262. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.clienteleType==='企业'">
  263. <el-form-item
  264. label="业务来源:"
  265. prop="clienteleSubId"
  266. label-width="120px"
  267. class="postInfo-container-item"
  268. >
  269. <el-select v-model="major.clienteleSubId" placeholder="请选择(可搜索)" @change="getCustomerContract" clearable filterable style="width: 100%" v-if="couldEdit">
  270. <el-option v-for="(s,id) in subCustomerCompany" :label="s.name" :value="s.id"></el-option>
  271. </el-select>
  272. <el-input :value="major.cclienteleSubName" class="filter-item" v-else />
  273. </el-form-item>
  274. </el-col>
  275. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  276. <el-form-item
  277. label="客户联系人:"
  278. prop="clienteleContactId"
  279. :rules="{required: true, message: '客户联系人不能为空', trigger: 'blur'}"
  280. label-width="140px"
  281. class="postInfo-container-item"
  282. >
  283. <div v-if="couldEdit">
  284. <el-select v-model="major.clienteleContactId" placeholder="请选择(可搜索)" clearable filterable @change="getContactInfo" style="width:80%">
  285. <el-option v-for="(c,id) in customerContract" :label="c.name" :value="c.id"></el-option>
  286. </el-select>
  287. <el-tooltip class="item" effect="dark" content="没有联系人?点击新增" placement="top-end">
  288. <span style="margin-left:5%;color:RGB(64,158,255);cursor:pointer" @click="createLinkman(false)">新增</span>
  289. </el-tooltip>
  290. </div>
  291. <el-input :value="major.cclienteleContactName" class="filter-item" v-else/>
  292. </el-form-item>
  293. </el-col>
  294. </el-row>
  295. <el-row class="row-style">
  296. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  297. <el-form-item
  298. label="联系人电话:"
  299. prop="clienteleContactId"
  300. label-width="120px"
  301. class="postInfo-container-item"
  302. >
  303. <el-input :value="major.cmobile" class="filter-item" readonly disabled/>
  304. </el-form-item>
  305. </el-col>
  306. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  307. <el-form-item
  308. label="联系人部门:"
  309. prop="cdepartment"
  310. label-width="120px"
  311. class="postInfo-container-item"
  312. >
  313. <el-input :value="major.cdepartment" class="filter-item" readonly disabled/>
  314. </el-form-item>
  315. </el-col>
  316. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  317. <el-form-item
  318. label="联系人职务:"
  319. prop="cduty"
  320. label-width="120px"
  321. class="postInfo-container-item"
  322. >
  323. <el-input :value="major.cduty" class="filter-item" readonly disabled/>
  324. </el-form-item>
  325. </el-col>
  326. </el-row>
  327. <el-row class="row-style">
  328. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  329. <el-form-item
  330. label="分配产值:"
  331. prop="dispenseBenefit"
  332. :rules="{required: true, message: '分配产值不能为空', trigger: 'blur'}"
  333. label-width="120px"
  334. class="postInfo-container-item"
  335. >
  336. <el-radio v-model="major.dispenseBenefit" :label="false" size="medium" >否</el-radio>
  337. <el-radio v-model="major.dispenseBenefit" :label="true" size="medium">是</el-radio>
  338. </el-form-item>
  339. </el-col>
  340. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  341. <el-form-item
  342. label="是否异地:"
  343. prop="nonnative"
  344. :rules="{required: true, message: '是否异地不能为空', trigger: 'blur'}"
  345. label-width="120px"
  346. class="postInfo-container-item"
  347. >
  348. <el-radio v-model="major.nonnative" :label="false" size="medium" >否</el-radio>
  349. <el-radio v-model="major.nonnative" :label="true" size="medium" >是</el-radio>
  350. </el-form-item>
  351. </el-col>
  352. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  353. <el-form-item
  354. label="是否续贷:"
  355. prop="refinance"
  356. :rules="{required: true, message: '是否续贷不能为空', trigger: 'blur'}"
  357. label-width="120px"
  358. class="postInfo-container-item"
  359. >
  360. <el-radio v-model="major.refinance" :label="false" size="medium" >否</el-radio>
  361. <el-radio v-model="major.refinance" :label="true" size="medium">是</el-radio>
  362. </el-form-item>
  363. </el-col>
  364. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  365. <el-form-item
  366. label="贷款到期:"
  367. prop="loanExpire"
  368. label-width="120px"
  369. class="postInfo-container-item"
  370. >
  371. <el-radio v-model="major.loanExpire" :label="false" size="medium" >否</el-radio>
  372. <el-radio v-model="major.loanExpire" :label="true" size="medium">是</el-radio>
  373. </el-form-item>
  374. </el-col>
  375. </el-row>
  376. <el-row class="row-style">
  377. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  378. <el-form-item
  379. label="贷款额度:"
  380. prop="loanLimit"
  381. label-width="120px"
  382. class="postInfo-container-item"
  383. >
  384. <el-input v-model="major.loanLimit" clearable class="filter-item" >
  385. <template slot="append">万</template>
  386. </el-input>
  387. </el-form-item>
  388. </el-col>
  389. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  390. <el-form-item
  391. label="贷款期限:"
  392. prop="loanPeriod"
  393. label-width="120px"
  394. class="postInfo-container-item"
  395. >
  396. <el-input v-model="major.loanPeriod" clearable class="filter-item" >
  397. <template slot="append">年</template>
  398. </el-input>
  399. </el-form-item>
  400. </el-col>
  401. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  402. <el-form-item
  403. label="贷款性质:"
  404. prop="loanNature"
  405. label-width="120px"
  406. class="postInfo-container-item"
  407. >
  408. <el-input v-model="major.loanNature" clearable class="filter-item" />
  409. </el-form-item>
  410. </el-col>
  411. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  412. <el-form-item
  413. label="贷款用途:"
  414. prop="loanAim"
  415. label-width="120px"
  416. class="postInfo-container-item"
  417. >
  418. <el-input v-model="major.loanAim" clearable class="filter-item" />
  419. </el-form-item>
  420. </el-col>
  421. </el-row>
  422. <el-row class="row-style">
  423. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  424. <el-form-item
  425. label="委托人:"
  426. prop="bailor"
  427. :rules="{required: true, message: '委托人不能为空', trigger: 'blur'}"
  428. label-width="120px"
  429. class="postInfo-container-item"
  430. >
  431. <el-input v-model="major.bailor" clearable class="filter-item" />
  432. </el-form-item>
  433. </el-col>
  434. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  435. <el-form-item
  436. label="委托人地址:"
  437. prop="bailorAddress"
  438. label-width="120px"
  439. class="postInfo-container-item"
  440. >
  441. <el-input v-model="major.bailorAddress" clearable class="filter-item" />
  442. </el-form-item>
  443. </el-col>
  444. </el-row>
  445. <el-row class="row-style">
  446. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  447. <el-form-item
  448. label="委托联系人:"
  449. prop="bailorContactName"
  450. :rules="{required: true, message: '委托联系人不能为空', trigger: 'blur'}"
  451. label-width="140px"
  452. class="postInfo-container-item"
  453. >
  454. <el-input v-model="major.bailorContactName" clearable class="filter-item" />
  455. </el-form-item>
  456. </el-col>
  457. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  458. <el-form-item
  459. label="委托电话:"
  460. prop="bailorContactTel"
  461. label-width="120px"
  462. class="postInfo-container-item"
  463. >
  464. <el-input v-model="major.bailorContactTel" clearable class="filter-item"/>
  465. </el-form-item>
  466. </el-col>
  467. </el-row>
  468. <el-row class="row-style">
  469. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  470. <el-form-item
  471. label="产权人:"
  472. prop="owner"
  473. label-width="120px"
  474. class="postInfo-container-item"
  475. >
  476. <el-input v-model="major.owner" clearable class="filter-item"/>
  477. </el-form-item>
  478. </el-col>
  479. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  480. <el-form-item
  481. label="产权人电话:"
  482. prop="ownerTel"
  483. label-width="120px"
  484. class="postInfo-container-item"
  485. >
  486. <el-input v-model="major.ownerTel" clearable class="filter-item"/>
  487. </el-form-item>
  488. </el-col>
  489. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  490. <el-form-item
  491. label="是否加急:"
  492. prop="urgent"
  493. :rules="{required: true, message: '是否加急不能为空', trigger: 'blur'}"
  494. label-width="120px"
  495. class="postInfo-container-item"
  496. >
  497. <el-radio v-model="major.urgent" :label="false" size="medium" >否</el-radio>
  498. <el-radio v-model="major.urgent" :label="true" size="medium" >是</el-radio>
  499. </el-form-item>
  500. </el-col>
  501. </el-row>
  502. <el-row class="row-style">
  503. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  504. <el-form-item
  505. label="终端客户类型:"
  506. prop="terminalClienteleType"
  507. label-width="140px"
  508. class="postInfo-container-item"
  509. >
  510. <el-select v-model="major.terminalClienteleType" placeholder="请选择" clearable @change="changeCustomerType(1)" style="width:100%">
  511. <el-option label="企业" value="企业"></el-option>
  512. <el-option label="个人" value="个人"></el-option>
  513. </el-select>
  514. </el-form-item>
  515. </el-col>
  516. <el-col :xs="24" :sm="12" :lg="12" :span="6" v-if="major.terminalClienteleType!=''">
  517. <el-form-item
  518. label="终端客户名称:"
  519. prop="terminalClienteleId"
  520. label-width="140px"
  521. :rules="{required: true, message: '终端客户名称不能为空', trigger: 'blur'}"
  522. class="postInfo-container-item"
  523. >
  524. <div v-if="couldEdit">
  525. <el-select v-model="major.terminalClienteleId" placeholder="请选择(可搜索)" @change="findSubClientele(1)" clearable filterable style="width:90%">
  526. <el-option v-for="(c,id) in tCustomerCompany" :label="c.name" :value="c.id"></el-option>
  527. </el-select>
  528. <el-tooltip class="item" effect="dark" content="没有终端客户?点击新增" placement="top-end">
  529. <span style="margin-left:5%;color:RGB(64,158,255);cursor:pointer" @click="createTerminalClient()">新增</span>
  530. </el-tooltip>
  531. </div>
  532. <el-input :value="major.tterminalClienteleName" readonly disabled class="filter-item" v-else/>
  533. </el-form-item>
  534. </el-col>
  535. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.terminalClienteleType=='企业'">
  536. <el-form-item
  537. label="终端联系人:"
  538. prop="terminalClienteleContactId"
  539. label-width="140px"
  540. :rules="{required: true, message: '终端联系人不能为空', trigger: 'blur'}"
  541. class="postInfo-container-item"
  542. >
  543. <div v-if="couldEdit">
  544. <el-select v-model="major.terminalClienteleContactId" placeholder="请选择(可搜索)" clearable filterable @change="getTcontactInfo" style="width:80%">
  545. <el-option v-for="(c,id) in tCustomerContract" :label="c.name" :value="c.id"></el-option>
  546. </el-select>
  547. <el-tooltip class="item" effect="dark" content="没有联系人?点击新增" placement="top-end">
  548. <span style="margin-left:5%;color:RGB(64,158,255);cursor:pointer" @click="createTlinkman()">新增</span>
  549. </el-tooltip>
  550. </div>
  551. <el-input :value="major.tterminalClienteleContactName" readonly disabled class="filter-item" v-else/>
  552. </el-form-item>
  553. </el-col>
  554. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.terminalClienteleType!=''">
  555. <el-form-item
  556. label="终端联系电话:"
  557. prop="tmobile"
  558. label-width="140px"
  559. class="postInfo-container-item"
  560. >
  561. <el-input :value="major.tmobile" class="filter-item" readonly disabled/>
  562. </el-form-item>
  563. </el-col>
  564. </el-row>
  565. <el-row class="row-style">
  566. <el-col :xs="24" :sm="12" :lg="18" :span="12">
  567. <el-form-item
  568. label="订单备注:"
  569. prop="remark"
  570. label-width="120px"
  571. class="postInfo-container-item"
  572. >
  573. <el-input v-model="major.remark" :autosize="{ minRows: 1, maxRows: 1}" clearable class="filter-item" type="textarea" />
  574. </el-form-item>
  575. </el-col>
  576. </el-row>
  577. </div>
  578. </div>
  579. </el-form>
  580. </div>
  581. </y-detail-page-layout>
  582. </el-tab-pane>
  583. <el-tab-pane name="evaluate" class="pane-class" :lazy=true v-if ="!couldEdit">
  584. <span slot="label"><i class="el-icon-office-building"></i> 估价对象</span>
  585. <div class="createMajor-main-container">
  586. <div class="postInfo-container">
  587. <div>
  588. <el-divider content-position="left">
  589. <h3 class="title">
  590. <div class="avatar-wrapper icon-title">对象</div>
  591. <div class="icon-info">{{major.businessObjectType}}</div>
  592. </h3>
  593. </el-divider>
  594. </div>
  595. </div>
  596. </div>
  597. <div class="evaluate-table" v-if="major.businessObjectType==='土地'">
  598. <div >
  599. <el-row >
  600. <el-col :span="2">
  601. <div>
  602. <el-statistic
  603. group-separator=","
  604. :precision="4"
  605. :value="totalEvaluateValue"
  606. title="估价对象总价(万)"
  607. >
  608. <template slot="prefix">
  609. <i class="el-icon-coin"></i>
  610. </template>
  611. </el-statistic>
  612. </div>
  613. </el-col>
  614. <el-col :span="2" style="margin-left:20px">
  615. <div>
  616. <el-statistic
  617. group-separator=","
  618. :precision="2"
  619. :value="totalAcreage"
  620. title="估价对象总面积(㎡)"
  621. >
  622. <template slot="prefix">
  623. <i class="el-icon-house"></i>
  624. </template>
  625. </el-statistic>
  626. </div>
  627. </el-col>
  628. </el-row>
  629. </div>
  630. <el-table
  631. ref="multipleTable"
  632. :data="evaluateLandData"
  633. stripe
  634. :header-row-style="{ color: '#333333','font-size': '14px' }"
  635. border
  636. takeNumberItems
  637. style="width: 100%; margin-top:20px;font-size: 14px;">
  638. <el-table-column
  639. type="index"
  640. label="序号"
  641. width="50"
  642. align="center">
  643. </el-table-column>
  644. <el-table-column
  645. prop="located"
  646. label="坐落"
  647. align="center"
  648. show-overflow-tooltip>
  649. </el-table-column>
  650. <el-table-column
  651. prop="landType"
  652. label="土地类型"
  653. width="80"
  654. align="center">
  655. </el-table-column>
  656. <el-table-column
  657. prop="landUse"
  658. label="用途"
  659. width="80"
  660. align="center">
  661. </el-table-column>
  662. <el-table-column
  663. prop="rightToUser"
  664. label="所有权人"
  665. align="center"
  666. show-overflow-tooltip>
  667. </el-table-column>
  668. <el-table-column
  669. prop="landCertificateNo"
  670. label="国土证号"
  671. align="center"
  672. show-overflow-tooltip>
  673. </el-table-column>
  674. <el-table-column
  675. prop="plotRatio"
  676. label="容积率(%)"
  677. width="80"
  678. align="center">
  679. </el-table-column>
  680. <el-table-column
  681. prop="useAcreage"
  682. label="使用权面积(㎡)"
  683. width="80"
  684. align="center">
  685. </el-table-column>
  686. <el-table-column
  687. prop="evaluateValue"
  688. label="初步定价(万)"
  689. width="80"
  690. align="center">
  691. </el-table-column>
  692. <el-table-column
  693. prop="checked"
  694. label="审核定价(万)"
  695. width="80"
  696. align="center">
  697. <template slot-scope="scope">
  698. {{scope.row.checkValue==null?'待审核':scope.row.checkValue}}
  699. </template>
  700. </el-table-column>
  701. <el-table-column
  702. prop="statementNo"
  703. label="价值意见书号"
  704. align="center"
  705. width=250
  706. show-overflow-tooltip>
  707. <template slot-scope="scope">
  708. <el-tag type='success'>
  709. {{scope.row.statementNo==null?'未取号':scope.row.statementNo}}</el-tag>
  710. </template>
  711. </el-table-column>
  712. <el-table-column
  713. prop="reportNo"
  714. label="报告号"
  715. align="center"
  716. width=250
  717. show-overflow-tooltip>
  718. <template slot-scope="scope">
  719. <el-tag type='danger'>
  720. {{scope.row.reportNo==null?'未取号':scope.row.reportNo}}</el-tag>
  721. </template>
  722. </el-table-column>
  723. <el-table-column
  724. prop="letterNo"
  725. label="复评函号"
  726. align="center"
  727. width=250
  728. show-overflow-tooltip>
  729. <template slot-scope="scope">
  730. <el-tag>
  731. {{scope.row.letterNo==null?'未取号':scope.row.letterNo}}</el-tag>
  732. </template>
  733. </el-table-column>
  734. <el-table-column
  735. label="操作"
  736. width="100"
  737. align="center">
  738. <template slot-scope="scope">
  739. <el-button @click="landTargetEdit(scope.row)" type="text" size="small">
  740. 查看
  741. </el-button>
  742. </template>
  743. </el-table-column>
  744. </el-table>
  745. </div>
  746. <div class="evaluate-table" v-if="major.businessObjectType==='房地产'">
  747. <div >
  748. <el-row>
  749. <el-col :span="2">
  750. <div>
  751. <el-statistic
  752. group-separator=","
  753. :precision="4"
  754. :value="totalEvaluateValue"
  755. title="估价对象总价(万)"
  756. >
  757. <template slot="prefix">
  758. <i class="el-icon-coin"></i>
  759. </template>
  760. </el-statistic>
  761. </div>
  762. </el-col>
  763. <el-col :span="2" style="margin-left:20px">
  764. <div>
  765. <el-statistic
  766. group-separator=","
  767. :precision="2"
  768. :value="totalAcreage"
  769. title="估价对象总面积(㎡)"
  770. >
  771. <template slot="prefix">
  772. <i class="el-icon-house"></i>
  773. </template>
  774. </el-statistic>
  775. </div>
  776. </el-col>
  777. </el-row>
  778. </div>
  779. <el-table
  780. ref="multipleTable"
  781. :data="evaluateLandData"
  782. stripe
  783. :header-row-style="{ color: '#333333','font-size': '14px' }"
  784. border
  785. takeNumberItems
  786. style="width: 100%; margin-top:20px;font-size: 14px;">
  787. <el-table-column
  788. type="index"
  789. label="序号"
  790. width="50"
  791. align="center">
  792. </el-table-column>
  793. <el-table-column
  794. prop="housePurpose"
  795. label="用途"
  796. width="80"
  797. align="center"
  798. show-overflow-tooltip>
  799. <template slot-scope="scope">
  800. <span v-for="(u,index) in JSON.parse(scope.row.housePurpose)">
  801. {{u}} {{index==((JSON.parse(scope.row.housePurpose)).length-1)?'':','}}
  802. </span>
  803. </template>
  804. </el-table-column>
  805. <el-table-column
  806. prop="owner"
  807. label="权利人"
  808. width="120"
  809. show-overflow-tooltip
  810. align="center">
  811. </el-table-column>
  812. <el-table-column
  813. prop="located"
  814. label="坐落"
  815. align="center"
  816. show-overflow-tooltip>
  817. </el-table-column>
  818. <el-table-column
  819. prop="buildAcreage"
  820. label="建筑面积(㎡)"
  821. width="80"
  822. align="center"
  823. show-overflow-tooltip>
  824. </el-table-column>
  825. <el-table-column
  826. prop="landAcreage"
  827. label="土地面积(㎡)"
  828. width="80"
  829. align="center">
  830. </el-table-column>
  831. <el-table-column
  832. prop="evaluateValue"
  833. label="初步定价(万)"
  834. width="80"
  835. align="center">
  836. </el-table-column>
  837. <el-table-column
  838. prop="checked"
  839. label="审核定价(万)"
  840. width="80"
  841. align="center">
  842. <template slot-scope="scope">
  843. {{scope.row.checkValue==null?'待审核':scope.row.checkValue}}
  844. </template>
  845. </el-table-column>
  846. <el-table-column
  847. prop="statementNo"
  848. label="价值意见书号"
  849. align="center"
  850. width=250
  851. show-overflow-tooltip>
  852. <template slot-scope="scope">
  853. <el-tag type='success'>
  854. {{scope.row.statementNo==null?'未取号':scope.row.statementNo}}</el-tag>
  855. </template>
  856. </el-table-column>
  857. <el-table-column
  858. prop="reportNo"
  859. label="报告号"
  860. align="center"
  861. width=250
  862. show-overflow-tooltip>
  863. <template slot-scope="scope">
  864. <el-tag type='danger'>
  865. {{scope.row.reportNo==null?'未取号':scope.row.reportNo}}</el-tag>
  866. </template>
  867. </el-table-column>
  868. <el-table-column
  869. prop="letterNo"
  870. label="复评函号"
  871. align="center"
  872. width=250
  873. show-overflow-tooltip>
  874. <template slot-scope="scope">
  875. <el-tag >
  876. {{scope.row.letterNo==null?'未取号':scope.row.letterNo}}</el-tag>
  877. </template>
  878. </el-table-column>
  879. <el-table-column
  880. label="操作"
  881. width="100"
  882. align="center">
  883. <template slot-scope="scope">
  884. <el-button @click="landTargetEdit(scope.row)" type="text" size="small">
  885. 查看
  886. </el-button>
  887. </template>
  888. </el-table-column>
  889. </el-table>
  890. </div>
  891. <div class="createMajor-main-container" style="margin-top:50px">
  892. <div class="postInfo-container">
  893. <div>
  894. <el-divider content-position="left">
  895. <h3 class="title">
  896. <div class="avatar-wrapper icon-title">反馈</div>
  897. <div class="icon-info">客户反馈</div>
  898. </h3>
  899. </el-divider>
  900. </div>
  901. </div>
  902. <el-form ref="feedbackFrom" :model="feedback" class="form-container" style="margin-top:50px">
  903. <el-row >
  904. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  905. <el-form-item
  906. label="出具产品类型:"
  907. prop="production"
  908. :rules="{required: true, message: '出具产品类型不能为空', trigger: 'blur'}"
  909. label-width="160px"
  910. class="postInfo-container-item"
  911. >
  912. <el-checkbox-group v-model="feedback.production">
  913. <el-checkbox-button label="STATEMENT" name="production">价值意见书</el-checkbox-button>
  914. <el-checkbox-button label="REPORT" name="production">报告</el-checkbox-button>
  915. <el-checkbox-button label="LETTER" name="production">复评函</el-checkbox-button>
  916. </el-checkbox-group>
  917. </el-form-item>
  918. </el-col>
  919. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  920. <el-form-item
  921. label="打印份数:"
  922. prop="printing"
  923. :rules="{required: true, message: '打印份数不能为空', trigger: 'blur'}"
  924. label-width="120px"
  925. class="postInfo-container-item"
  926. >
  927. <el-input-number disabled :precision="0" :min="1" :value-on-clear="1" v-model.number="feedback.printing" type="number"
  928. style="width:206px"
  929. class="filter-item" />
  930. </el-form-item>
  931. </el-col>
  932. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  933. <el-form-item
  934. label="打印备注:"
  935. prop="printingRemark"
  936. label-width="120px"
  937. class="postInfo-container-item"
  938. >
  939. <el-select v-model="feedback.printingRemark" disabled readonly>
  940. <el-option label="一本不装订" value="一本不装订"></el-option>
  941. <el-option label="一本带技术" value="一本带技术"></el-option>
  942. <el-option label="一本带技术不装订" value="一本带技术不装订"></el-option>
  943. </el-select>
  944. </el-form-item>
  945. </el-col>
  946. </el-row>
  947. </el-form>
  948. </div>
  949. </el-tab-pane>
  950. <el-tab-pane name="producution" class="pane-class" :lazy=true v-if ="!couldEdit">
  951. <span slot="label"><i class="el-icon-document-checked"></i> 产品信息</span>
  952. <div class="createMajor-main-container" style="margin-top:40px">
  953. <div class="postInfo-container">
  954. <div>
  955. <el-divider content-position="left">
  956. <h3 class="title">
  957. <div class="avatar-wrapper icon-title">产品</div>
  958. <div class="icon-info">产品信息</div>
  959. </h3>
  960. </el-divider>
  961. </div>
  962. </div>
  963. </div>
  964. <el-table
  965. :data="productions"
  966. stripe
  967. ref = "pTable"
  968. :header-row-style="{ color: '#333333', 'font-size': '16px' }"
  969. border
  970. style="width: 99%; margin-top:20px;font-size: 16px;">
  971. <el-table-column type="expand">
  972. <template slot-scope="props">
  973. <el-form label-position="left" :model="props.row" class="form-container" ref="productionFrom">
  974. <div>
  975. <el-row class="row-style">
  976. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  977. <el-form-item
  978. prop="name"
  979. :rules="{required: true, message: '项目不能为空', trigger: 'blur'}"
  980. label-width="120px"
  981. class="postInfo-container-item" label="项目名称:">
  982. <el-input v-model="props.row.name" class="filter-item" disabled readonly/>
  983. </el-form-item>
  984. </el-col>
  985. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  986. <el-form-item prop="clientName"
  987. :rules="{required: true, message: '委托方不能为空', trigger: 'blur'}"
  988. label-width="120px"
  989. class="postInfo-container-item" label="委托方:">
  990. <el-input v-model="props.row.clientName" class="filter-item" disabled readonly />
  991. </el-form-item>
  992. </el-col>
  993. </el-row><el-row class="row-style">
  994. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  995. <el-form-item prop="clientAddress"
  996. :rules="{required: true, message: '委托方地址不能为空', trigger: 'blur'}"
  997. label-width="140px"
  998. class="postInfo-container-item" label="委托方地址:">
  999. <el-input v-model="props.row.clientAddress" class="filter-item" disabled readonly/>
  1000. </el-form-item>
  1001. </el-col>
  1002. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1003. <el-form-item prop="clientTel"
  1004. :rules="{required: true, message: '委托方电话不能为空', trigger: 'blur'}"
  1005. label-width="140px"
  1006. class="postInfo-container-item" label="委托方电话:">
  1007. <el-input v-model="props.row.clientTel" class="filter-item" disabled readonly/>
  1008. </el-form-item>
  1009. </el-col>
  1010. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1011. <el-form-item prop="qrCode"
  1012. label-width="140px"
  1013. class="postInfo-container-item" label="二维码:">
  1014. </el-form-item>
  1015. <img style="width:200px;height:200px; display:flex ;position:absolute;top:0;right:0"
  1016. :src="props.row.qrCode" alt="NULL" />
  1017. </el-col>
  1018. </el-row>
  1019. <el-row class="row-style">
  1020. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1021. <el-form-item prop="evaluateAmount"
  1022. :rules="{required: true, message: '评估总价不能为空', trigger: 'blur'}"
  1023. label-width="120px"
  1024. class="postInfo-container-item" label="评估总价:">
  1025. <el-input :precision="2" :min="0" v-model.number="props.row.evaluateAmount" type="number" disabled readonly
  1026. style="width:100%"
  1027. class="filter-item">
  1028. <template slot="append">
  1029. <span>元</span>
  1030. </template>
  1031. </el-input>
  1032. </el-form-item>
  1033. </el-col>
  1034. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1035. <el-form-item prop="evaluateAcreage"
  1036. :rules="{required: true, message: '评估面积不能为空', trigger: 'blur'}"
  1037. label-width="120px"
  1038. class="postInfo-container-item" label="评估面积:">
  1039. <el-input :precision="2" :min="0" v-model.number="props.row.evaluateAcreage" type="number" disabled readonly
  1040. style="width:100%"
  1041. class="filter-item" >
  1042. <template slot="append">
  1043. <span>平方</span>
  1044. </template>
  1045. </el-input>
  1046. </el-form-item>
  1047. </el-col>
  1048. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1049. <el-form-item prop="evaluatePrice"
  1050. :rules="{required: true, message: '评估单价不能为空', trigger: 'blur'}"
  1051. label-width="120px"
  1052. class="postInfo-container-item" label="评估单价:">
  1053. <el-input :precision="2" :min="0" v-model.number="props.row.evaluatePrice" type="number" disabled readonly
  1054. style="width:100%"
  1055. class="filter-item" >
  1056. <template slot="append">
  1057. <span>元</span>
  1058. </template>
  1059. </el-input>
  1060. </el-form-item>
  1061. </el-col>
  1062. </el-row>
  1063. <el-row class="row-style">
  1064. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1065. <el-form-item prop="owner"
  1066. :rules="{required: true, message: '产权人不能为空', trigger: 'blur'}"
  1067. label-width="120px"
  1068. class="postInfo-container-item" label="产权人:">
  1069. <el-input v-model="props.row.owner" class="filter-item" disabled readonly/>
  1070. </el-form-item>
  1071. </el-col>
  1072. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1073. <el-form-item prop="valueTiming"
  1074. :rules="{required: true, message: '价值时点不能为空', trigger: 'blur'}"
  1075. label-width="120px"
  1076. class="postInfo-container-item" label="价值时点:">
  1077. <el-date-picker
  1078. v-model="props.row.valueTiming" type="date" placeholder="选择日期" style="width:100%" disabled readonly>
  1079. </el-date-picker>
  1080. </el-form-item>
  1081. </el-col>
  1082. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="props.row.production==='REPORT'">
  1083. <el-form-item prop="signatory"
  1084. label-width="120px"
  1085. class="postInfo-container-item" label="签字人:" >
  1086. <el-select v-model="props.row.signatoryId"
  1087. placeholder="产品类型为报告,签字人必填"
  1088. multiple
  1089. clearable disabled readonly
  1090. style=" width: 100%" >
  1091. <el-option v-for="(u,id) in allUsers" :label="u.name" :value="u.id"></el-option>
  1092. </el-select>
  1093. </el-form-item>
  1094. </el-col>
  1095. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-else>
  1096. <el-form-item prop="signatory"
  1097. label-width="120px"
  1098. class="postInfo-container-item">
  1099. </el-form-item>
  1100. </el-col>
  1101. </el-row>
  1102. <el-row class="row-style">
  1103. <el-col :xs="24" :sm="12" :lg="18" :span="6">
  1104. <el-form-item prop="comment"
  1105. label-width="120px"
  1106. class="postInfo-container-item" label="特殊情况说明:">
  1107. <el-input v-model.trim="props.row.comment" class="filter-item" disabled readonly/>
  1108. </el-form-item>
  1109. </el-col>
  1110. </el-row>
  1111. </div>
  1112. </el-form>
  1113. </template>
  1114. </el-table-column>
  1115. <el-table-column
  1116. label="产品号"
  1117. prop="reportNo"
  1118. align="center">
  1119. <template slot-scope="props">
  1120. <span style="color:rgb(131,201,94); font-weight:bold">{{ props.row.reportNo }}</span>
  1121. </template>
  1122. </el-table-column>
  1123. <el-table-column
  1124. label="项目名称"
  1125. prop="name"
  1126. align="center">
  1127. <template slot-scope="props">
  1128. <span style="font-size:16px">{{props.row.name}}</span>
  1129. </template>
  1130. </el-table-column>
  1131. <el-table-column
  1132. label="产品类型"
  1133. prop="production"
  1134. align="center">
  1135. <template slot-scope="props">
  1136. <span style="font-size:16px">{{aliasProductionType(props.row.production)}}</span>
  1137. </template>
  1138. </el-table-column>
  1139. <el-table-column
  1140. label="产品状态"
  1141. prop="name"
  1142. align="center">
  1143. <template slot-scope="props">
  1144. <i v-if="props.row.name" style="font-size:20px; color:green" class="el-icon-success"></i>
  1145. <i v-else style="font-size:20px; color:red" class="el-icon-error"></i>
  1146. </template>
  1147. </el-table-column>
  1148. </el-table>
  1149. </el-tab-pane>
  1150. <el-tab-pane name="quality" class="pane-class" :lazy=true v-if ="!couldEdit">
  1151. <span slot="label"><i class="el-icon-pie-chart"></i> 产品质检</span>
  1152. <el-form ref="performanceForm" :model="performance" class="form-container">
  1153. <div class="createMajor-main-container">
  1154. <div class="postInfo-container">
  1155. <div>
  1156. <el-divider content-position="left">
  1157. <h3 class="title">
  1158. <div class="avatar-wrapper icon-title">质检</div>
  1159. <div class="icon-info">产品质检</div>
  1160. </h3>
  1161. </el-divider>
  1162. </div>
  1163. <div style="margin-top:50px">
  1164. <el-row class="row-style" style="margin-top:30px;" >
  1165. <el-col :xs="24" :sm="12" :lg="7" :span="6">
  1166. <el-form-item prop="productionNo"
  1167. label-width="120px"
  1168. class="postInfo-container-item" label="产品号:">
  1169. <el-input style="width:100%;" disabled readonly :value="performance.productionNo" class="filter-item" />
  1170. </el-form-item>
  1171. </el-col>
  1172. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  1173. <el-form-item prop="productionType"
  1174. label-width="120px"
  1175. class="postInfo-container-item" label="产品类型:">
  1176. <el-input style="width:100%;" disabled readonly :value="performance.productionType" class="filter-item" />
  1177. </el-form-item>
  1178. </el-col>
  1179. <el-col :xs="24" :sm="12" :lg="5" :span="6">
  1180. <el-form-item prop="productionName"
  1181. label-width="120px"
  1182. class="postInfo-container-item" label="项目名称:">
  1183. <el-input style="width:100%;" disabled readonly :value="performance.productionName" class="filter-item" />
  1184. </el-form-item>
  1185. </el-col>
  1186. <el-col :xs="24" :sm="12" :lg="4" :span="6">
  1187. <el-form-item prop="productionName"
  1188. label-width="120px"
  1189. class="postInfo-container-item" label="负责人:">
  1190. <el-input style="width:100%;" disabled readonly :value="performance.principal" class="filter-item" />
  1191. </el-form-item>
  1192. </el-col>
  1193. </el-row>
  1194. <el-card shadow="hover" style="width:80%;margin-left:3%" v-for="(p,id) in performance.info" :index="id">
  1195. <el-divider content-position="left">
  1196. <h3 class="title">
  1197. {{p.checkLoop}}
  1198. </h3>
  1199. </el-divider>
  1200. <el-row class="row-style" >
  1201. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1202. <el-form-item prop="normalMistake"
  1203. label-width="120px"
  1204. class="postInfo-container-item" label="一般错误个数:">
  1205. <el-input-number :min="0" style="width:100%;" type="number" disabled readonly :value="p.normalMistake" class="filter-item" />
  1206. </el-form-item>
  1207. </el-col>
  1208. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1209. <el-form-item prop="hardMistake"
  1210. label-width="120px"
  1211. class="postInfo-container-item" label="较大错误个数:">
  1212. <el-input-number :min="0" style="width:100%;" type="number" disabled readonly :value="p.hardMistake" class="filter-item" />
  1213. </el-form-item>
  1214. </el-col>
  1215. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  1216. <el-form-item prop="fatalMistake"
  1217. label-width="120px"
  1218. class="postInfo-container-item" label="重大错误个数:">
  1219. <el-input-number :min="0" style="width:100%;" type="number" disabled readonly :value="p.fatalMistake" class="filter-item" />
  1220. </el-form-item>
  1221. </el-col>
  1222. </el-row>
  1223. <el-row class="row-style">
  1224. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  1225. <el-form-item prop="reason"
  1226. label-width="120px"
  1227. class="postInfo-container-item" label="扣分原因:">
  1228. <el-input disabled readonly :value="p.reason" class="filter-item" type="textarea" />
  1229. </el-form-item>
  1230. </el-col>
  1231. </el-row>
  1232. </el-card>
  1233. </div>
  1234. </div>
  1235. </div>
  1236. </el-form>
  1237. </el-tab-pane>
  1238. <el-tab-pane name="finance" class="pane-class" :lazy=true v-if ="!couldEdit">
  1239. <span slot="label"><i class="el-icon-coin"></i> 收款开票</span>
  1240. <div class="createMajor-main-container">
  1241. <div class="postInfo-container">
  1242. <div>
  1243. <el-divider content-position="left">
  1244. <h3 class="title">
  1245. <div class="avatar-wrapper icon-title">收开</div>
  1246. <div class="icon-info">收款开票</div>
  1247. </h3>
  1248. </el-divider>
  1249. </div>
  1250. </div>
  1251. </div>
  1252. <div style="margin-top: 40px;" v-if="productionFinance.length > 0">
  1253. <el-card v-for="(item,index) in productionFinance" shadow="hover">
  1254. <el-form ref="financeForm" :model="item" class="form-container">
  1255. <el-divider content-position="left" >
  1256. <span style="font-size:16px;font-weight:bold;">{{ item.productionNo }} {{ item.productionType }}</span>
  1257. </el-divider>
  1258. <el-row class="row-style">
  1259. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1260. <el-form-item label-width="120px" class="postInfo-container-item" prop="prodRealAmount" label="产品实收金额:">
  1261. <el-input :value="item.prodRealAmount" class="filter-item" type="type" readonly disabled>
  1262. <template slot="append">元</template>
  1263. </el-input>
  1264. </el-form-item>
  1265. </el-col>
  1266. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1267. <el-form-item label-width="120px" class="postInfo-container-item" prop="orderRealAmount" label="订单实收金额:">
  1268. <el-input :value="item.orderRealAmount" class="filter-item" type="type" readonly disabled>
  1269. <template slot="append">元</template>
  1270. </el-input>
  1271. </el-form-item>
  1272. </el-col>
  1273. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1274. <el-form-item label-width="120px" class="postInfo-container-item" prop="shouldAmount" label="订单应收金额:">
  1275. <el-input :value="item.shouldAmount" class="filter-item" type="type" readonly disabled>
  1276. <template slot="append">元</template>
  1277. </el-input>
  1278. </el-form-item>
  1279. </el-col>
  1280. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1281. <el-form-item label-width="120px" class="postInfo-container-item" prop="standardAmount" label="产品标准收费:">
  1282. <el-input :value="item.standardAmount" class="filter-item" type="type" readonly disabled>
  1283. <template slot="append">元</template>
  1284. </el-input>
  1285. </el-form-item>
  1286. </el-col>
  1287. </el-row>
  1288. <el-row class="row-style">
  1289. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1290. <el-form-item label-width="120px" class="postInfo-container-item" prop="invoiceTitle" label="发票抬头:">
  1291. <el-input :value="item.invoiceTitle" class="filter-item" type="type" readonly disabled />
  1292. </el-form-item>
  1293. </el-col>
  1294. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1295. <el-form-item label-width="120px" class="postInfo-container-item" prop="invoiceType" label="发票类型:">
  1296. <el-input :value="item.invoiceType" class="filter-item" type="type" readonly disabled />
  1297. </el-form-item>
  1298. </el-col>
  1299. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1300. <el-form-item label-width="120px" class="postInfo-container-item" prop="taxNo" label="税号:">
  1301. <el-input :value="item.taxNo" class="filter-item" type="type" readonly disabled />
  1302. </el-form-item>
  1303. </el-col>
  1304. </el-row>
  1305. <el-row class="row-style">
  1306. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1307. <el-form-item label-width="120px" class="postInfo-container-item" prop="invoiceAmount" label="开票金额:">
  1308. <el-input :value="item.invoiceAmount" class="filter-item" type="type" readonly disabled>
  1309. <template slot="append">元</template>
  1310. </el-input>
  1311. </el-form-item>
  1312. </el-col>
  1313. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1314. <el-form-item label-width="120px" class="postInfo-container-item" prop="invoiceDate" label="开票日期:">
  1315. <el-input :value="item.invoiceDate" class="filter-item" type="type" readonly disabled />
  1316. </el-form-item>
  1317. </el-col>
  1318. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1319. <el-form-item label-width="120px" class="postInfo-container-item" prop="invoiceTaxRate" label="税点:">
  1320. <el-input :value="item.invoiceTaxRate" class="filter-item" type="type" readonly disabled>
  1321. <template slot="append">%</template>
  1322. </el-input>
  1323. </el-form-item>
  1324. </el-col>
  1325. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1326. <el-form-item label-width="120px" class="postInfo-container-item" prop="invoiceAmount" label="税额:">
  1327. <el-input :value="item.invoiceAmount" class="filter-item" type="type" readonly disabled >
  1328. <template slot="append">元</template>
  1329. </el-input>
  1330. </el-form-item>
  1331. </el-col>
  1332. </el-row>
  1333. <el-row class="row-style">
  1334. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1335. <el-form-item label-width="120px" class="postInfo-container-item" prop="bankName" label="开户银行:">
  1336. <el-input :value="item.bankName" class="filter-item" type="type" readonly disabled />
  1337. </el-form-item>
  1338. </el-col>
  1339. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1340. <el-form-item label-width="120px" class="postInfo-container-item" prop="invoiceState" label="开票状态:">
  1341. <el-input :value="item.invoiceState" class="filter-item" type="type" readonly disabled />
  1342. </el-form-item>
  1343. </el-col>
  1344. </el-row>
  1345. </el-form>
  1346. </el-card>
  1347. </div>
  1348. <div style="margin-top: 40px;height: 30%;text-align: center" v-else>
  1349. <span style="color: darkgrey;">还未设置订单应收款</span>
  1350. </div>
  1351. </el-tab-pane>
  1352. <el-tab-pane name="workflowLog" class="pane-class" :lazy=true v-if="!couldEdit">
  1353. <span slot="label"><i class="el-icon-date"></i> 流程日志</span>
  1354. <div class="createMajor-main-container">
  1355. <div class="postInfo-container">
  1356. <div>
  1357. <el-divider content-position="left">
  1358. <h3 class="title">
  1359. <div class="avatar-wrapper icon-title">日志</div>
  1360. <div class="icon-info">流程审批日志</div>
  1361. </h3>
  1362. </el-divider>
  1363. </div>
  1364. </div>
  1365. </div>
  1366. <el-table
  1367. :data="workflowLogs"
  1368. stripe
  1369. :header-row-style="{ color: '#333333' }"
  1370. border
  1371. style="width: 100%; margin-top:20px">
  1372. <el-table-column
  1373. prop="nodeName"
  1374. label="节点名称"
  1375. align="center">
  1376. </el-table-column>
  1377. <el-table-column
  1378. prop="state"
  1379. label="处理结果"
  1380. align="center">
  1381. </el-table-column>
  1382. <el-table-column
  1383. prop="handlerName"
  1384. label="处理人"
  1385. align="center">
  1386. </el-table-column>
  1387. <el-table-column
  1388. prop="longTime"
  1389. label="处理时长"
  1390. align="center">
  1391. </el-table-column>
  1392. <el-table-column
  1393. prop="created"
  1394. label="处理时间"
  1395. align="center">
  1396. </el-table-column>
  1397. <el-table-column
  1398. prop="comments"
  1399. label="处理意见"
  1400. align="center"
  1401. show-overflow-tooltip>
  1402. </el-table-column>
  1403. </el-table>
  1404. </el-tab-pane>
  1405. </el-tabs>
  1406. <el-dialog :visible.sync="landDialogVisible" custom-class="createLinkman">
  1407. <div>
  1408. <el-form ref="landFrom" :model="landTarget" style="margin-top:20px">
  1409. <el-divider content-position="left">【土地】基本信息</el-divider>
  1410. <el-row>
  1411. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1412. <el-form-item
  1413. label="土地类型:"
  1414. prop="landType"
  1415. label-width="120px"
  1416. class="postInfo-container-item"
  1417. >
  1418. <el-radio v-model="landTarget.landType" label="国有" size="mini" readonly disabled>国有</el-radio>
  1419. <el-radio v-model="landTarget.landType" label="集体" size="mini" readonly disabled>集体</el-radio>
  1420. </el-form-item>
  1421. </el-col>
  1422. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1423. <el-form-item
  1424. label="使用权面积:"
  1425. prop="useAcreage"
  1426. label-width="120px"
  1427. class="postInfo-container-item"
  1428. >
  1429. <el-input v-model="landTarget.useAcreage" class="filter-item" readonly disabled>
  1430. <template slot="append">平方</template>
  1431. </el-input>
  1432. </el-form-item>
  1433. </el-col>
  1434. </el-row>
  1435. <el-row>
  1436. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1437. <el-form-item
  1438. label="使用权类型:"
  1439. prop="rights"
  1440. label-width="120px"
  1441. class="postInfo-container-item"
  1442. >
  1443. <el-checkbox-group v-model="landTarget.rights" >
  1444. <el-checkbox-button label="出让" name="rights"></el-checkbox-button>
  1445. <el-checkbox-button label="划拨" name="rights"></el-checkbox-button>
  1446. </el-checkbox-group>
  1447. </el-form-item>
  1448. </el-col>
  1449. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1450. <el-form-item
  1451. label="使用权人:"
  1452. prop="rightToUser"
  1453. label-width="120px"
  1454. class="postInfo-container-item"
  1455. >
  1456. <el-input v-model.trim="landTarget.rightToUser" class="filter-item" readonly disabled/>
  1457. </el-form-item>
  1458. </el-col>
  1459. </el-row>
  1460. <el-row>
  1461. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1462. <el-form-item
  1463. label="国土证号:"
  1464. prop="landCertificateNo"
  1465. label-width="120px"
  1466. class="postInfo-container-item"
  1467. >
  1468. <el-input v-model.trim="landTarget.landCertificateNo" class="filter-item" readonly disabled/>
  1469. </el-form-item>
  1470. </el-col>
  1471. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1472. <el-form-item
  1473. label="坐落:"
  1474. prop="located"
  1475. label-width="120px"
  1476. class="postInfo-container-item"
  1477. >
  1478. <el-input v-model.trim="landTarget.located" class="filter-item" readonly disabled />
  1479. </el-form-item>
  1480. </el-col>
  1481. </el-row>
  1482. <el-row>
  1483. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1484. <el-form-item
  1485. label="剩余年限:"
  1486. prop="residueYears"
  1487. label-width="120px"
  1488. class="postInfo-container-item"
  1489. >
  1490. <el-input v-model="landTarget.residueYears" class="filter-item" readonly disabled>
  1491. <template slot="append">年</template>
  1492. </el-input>
  1493. </el-form-item>
  1494. </el-col>
  1495. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1496. <el-form-item
  1497. label="容积率:"
  1498. prop="plotRatio"
  1499. label-width="120px"
  1500. class="postInfo-container-item"
  1501. >
  1502. <el-input v-model="landTarget.plotRatio" class="filter-item" readonly disabled>
  1503. <template slot="append">%</template>
  1504. </el-input>
  1505. </el-form-item>
  1506. </el-col>
  1507. </el-row>
  1508. <el-row>
  1509. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1510. <el-form-item
  1511. label="用途(地类):"
  1512. prop="landUse"
  1513. label-width="120px"
  1514. class="postInfo-container-item"
  1515. >
  1516. <el-input v-model.trim="landTarget.landUse" class="filter-item" readonly disabled />
  1517. </el-form-item>
  1518. </el-col>
  1519. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1520. <el-form-item
  1521. label="估价期日:"
  1522. prop="evaluateDate"
  1523. label-width="120px"
  1524. class="postInfo-container-item"
  1525. >
  1526. <el-date-picker
  1527. v-model="landTarget.evaluateDate" type="date" placeholder="选择日期" style="width:100%" readonly disabled>
  1528. </el-date-picker>
  1529. </el-form-item>
  1530. </el-col>
  1531. </el-row>
  1532. <el-row>
  1533. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1534. <el-form-item
  1535. label="负责人:"
  1536. prop="principalId"
  1537. label-width="120px"
  1538. class="postInfo-container-item"
  1539. >
  1540. <el-select :value="landTarget.principalId" readonly disabled style="width:100%">
  1541. <el-option v-for="(p,id) in principals" :label="p.name" :value="p.id"></el-option>
  1542. </el-select>
  1543. </el-form-item>
  1544. </el-col>
  1545. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1546. <el-form-item
  1547. label="实勘人:"
  1548. prop="sites"
  1549. label-width="120px"
  1550. class="postInfo-container-item"
  1551. >
  1552. <el-select v-model="landTarget.sites" multiple readonly disabled placeholder="请选择" style="width:100%">
  1553. <el-option v-for="(u,id) in allUsers" :label="u.name" :value="u.id"></el-option>
  1554. </el-select>
  1555. </el-form-item>
  1556. </el-col>
  1557. </el-row>
  1558. <el-row>
  1559. <el-col :xs="24" :sm="12" :lg="24" :span="12">
  1560. <el-form-item
  1561. label="备注:"
  1562. prop="remark"
  1563. label-width="120px"
  1564. class="postInfo-container-item"
  1565. >
  1566. <el-input v-model.trim="landTarget.remark" class="filter-item" type="textarea" style="width:100%;" readonly disabled />
  1567. </el-form-item>
  1568. </el-col>
  1569. </el-row>
  1570. <div>
  1571. <el-divider content-position="left">【土地】定价信息</el-divider>
  1572. <el-row>
  1573. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  1574. <el-form-item
  1575. label="评估方法:"
  1576. prop="eMethods"
  1577. label-width="160px"
  1578. :class="['postInfo-container-item','task-class']"
  1579. >
  1580. <el-checkbox-group v-model="eMethods">
  1581. <el-checkbox-button label="市场比较法" name="eMethods"></el-checkbox-button>
  1582. <el-checkbox-button label="收益还原法" name="eMethods"></el-checkbox-button>
  1583. <el-checkbox-button label="成本逼近法" name="eMethods"></el-checkbox-button>
  1584. <el-checkbox-button label="剩余法" name="eMethods"></el-checkbox-button>
  1585. <el-checkbox-button label="基准地价系数修正法" name="eMethods"></el-checkbox-button>
  1586. <el-checkbox-button label="其他" name="eMethods"></el-checkbox-button>
  1587. </el-checkbox-group>
  1588. </el-form-item>
  1589. </el-col>
  1590. </el-row>
  1591. <el-row>
  1592. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1593. <el-form-item
  1594. label="初步定价:"
  1595. prop="evaluateValue"
  1596. label-width="160px"
  1597. :class="['postInfo-container-item','task-class']"
  1598. >
  1599. <el-input v-model="landTarget.evaluateValue" class="filter-item" readonly disabled>
  1600. <template slot="append">万</template>
  1601. </el-input>
  1602. </el-form-item>
  1603. </el-col>
  1604. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1605. <el-form-item
  1606. label="审核定价:"
  1607. prop="checkValue"
  1608. label-width="160px"
  1609. :class="['postInfo-container-item','task-class']"
  1610. >
  1611. <span slot="label">审核定价
  1612. <el-tooltip
  1613. class="item"
  1614. effect="dark"
  1615. content="默认为‘初步定价’可修改。"
  1616. placement="top-start"
  1617. >
  1618. <i class="el-icon-question"/></el-tooltip>
  1619. </span>
  1620. <el-input v-model="landTarget.checkValue" :placeholder="landTarget.evaluateValue" class="filter-item" readonly disabled>
  1621. <template slot="append">万</template>
  1622. </el-input>
  1623. </el-form-item>
  1624. </el-col>
  1625. </el-row>
  1626. </div>
  1627. </el-form>
  1628. </div>
  1629. </el-dialog>
  1630. <el-dialog :visible.sync="houseDialogVisible" custom-class="createLinkman">
  1631. <div>
  1632. <el-divider content-position="left">【房地产】基本信息</el-divider>
  1633. <el-form ref="houseFrom" :model="landTarget" style="margin-top:20px">
  1634. <el-row>
  1635. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1636. <el-form-item
  1637. label="房屋用途:"
  1638. prop="houseUseTO"
  1639. label-width="120px"
  1640. :class="['postInfo-container-item']"
  1641. >
  1642. <el-checkbox-group v-model="houseUseTO">
  1643. <el-checkbox-button label="住宅" name="houseUseTO"></el-checkbox-button>
  1644. <el-checkbox-button label="商业" name="houseUseTO"></el-checkbox-button>
  1645. <el-checkbox-button label="办公" name="houseUseTO"></el-checkbox-button>
  1646. <el-checkbox-button label="工业" name="houseUseTO"></el-checkbox-button>
  1647. <el-checkbox-button label="其他" name="houseUseTO"></el-checkbox-button>
  1648. </el-checkbox-group>
  1649. </el-form-item>
  1650. </el-col>
  1651. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1652. <el-form-item
  1653. label="土地使用权人:"
  1654. prop="rightToUser"
  1655. label-width="140px"
  1656. class="postInfo-container-item"
  1657. >
  1658. <el-input v-model.trim="landTarget.rightToUser" class="filter-item" readonly disabled />
  1659. </el-form-item>
  1660. </el-col>
  1661. </el-row>
  1662. <el-row>
  1663. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1664. <el-form-item
  1665. label="权利人:"
  1666. prop="owner"
  1667. label-width="120px"
  1668. class="postInfo-container-item"
  1669. >
  1670. <el-input v-model.trim="landTarget.owner" class="filter-item" readonly disabled />
  1671. </el-form-item>
  1672. </el-col>
  1673. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1674. <el-form-item
  1675. label="权证号:"
  1676. prop="ownerNo"
  1677. label-width="120px"
  1678. class="postInfo-container-item"
  1679. >
  1680. <el-input v-model.trim="landTarget.ownerNo" class="filter-item" readonly disabled />
  1681. </el-form-item>
  1682. </el-col>
  1683. </el-row>
  1684. <el-row>
  1685. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1686. <el-form-item
  1687. label="土地证号:"
  1688. prop="landCertificateNo"
  1689. label-width="120px"
  1690. class="postInfo-container-item"
  1691. >
  1692. <el-input v-model.trim="landTarget.landCertificateNo" class="filter-item" readonly disabled />
  1693. </el-form-item>
  1694. </el-col>
  1695. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1696. <el-form-item
  1697. label="坐落:"
  1698. prop="located"
  1699. label-width="120px"
  1700. class="postInfo-container-item"
  1701. >
  1702. <el-input v-model.trim="landTarget.located" class="filter-item" readonly disabled/>
  1703. </el-form-item>
  1704. </el-col>
  1705. </el-row>
  1706. <el-row>
  1707. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1708. <el-form-item
  1709. label="使用权类型:"
  1710. prop="useRightType"
  1711. label-width="120px"
  1712. class="postInfo-container-item"
  1713. >
  1714. <el-input v-model.trim="landTarget.useRightType" class="filter-item" readonly disabled />
  1715. </el-form-item>
  1716. </el-col>
  1717. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1718. <el-form-item
  1719. label="项目名称:"
  1720. prop="targetName"
  1721. label-width="120px"
  1722. class="postInfo-container-item"
  1723. >
  1724. <el-input v-model.trim="landTarget.targetName" readonly disabled/>
  1725. </el-form-item>
  1726. </el-col>
  1727. </el-row>
  1728. <el-row>
  1729. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1730. <el-form-item
  1731. label="竣工年代:"
  1732. prop="buildDoneYear"
  1733. label-width="120px"
  1734. class="postInfo-container-item"
  1735. >
  1736. <el-input v-model.trim="landTarget.buildDoneYear" class="filter-item" readonly disabled/>
  1737. </el-form-item>
  1738. </el-col>
  1739. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1740. <el-form-item
  1741. label="建筑面积:"
  1742. prop="buildAcreage"
  1743. label-width="120px"
  1744. class="postInfo-container-item"
  1745. >
  1746. <el-input v-model="landTarget.buildAcreage" readonly disabled
  1747. style="width:100%" class="filter-item" >
  1748. <template slot="append">平方</template>
  1749. </el-input>
  1750. </el-form-item>
  1751. </el-col>
  1752. </el-row>
  1753. <el-row>
  1754. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1755. <el-form-item
  1756. label="土地面积:"
  1757. prop="landAcreage"
  1758. label-width="120px"
  1759. class="postInfo-container-item"
  1760. >
  1761. <el-input v-model="landTarget.landAcreage" readonly disabled
  1762. style="width:100%" class="filter-item" >
  1763. <template slot="append">平方</template>
  1764. </el-input>
  1765. </el-form-item>
  1766. </el-col>
  1767. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1768. <el-form-item
  1769. label="规划用途:"
  1770. prop="planPurpose"
  1771. label-width="120px"
  1772. class="postInfo-container-item"
  1773. >
  1774. <el-input v-model.trim="landTarget.planPurpose" class="filter-item" readonly disabled/>
  1775. </el-form-item>
  1776. </el-col>
  1777. </el-row>
  1778. <el-row>
  1779. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1780. <el-form-item
  1781. label="实勘地址:"
  1782. prop="siteLocated"
  1783. label-width="120px"
  1784. class="postInfo-container-item"
  1785. >
  1786. <el-input v-model.trim="landTarget.siteLocated" class="filter-item" readonly disabled/>
  1787. </el-form-item>
  1788. </el-col>
  1789. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1790. <el-form-item
  1791. label="实际用途:"
  1792. prop="realPurpose"
  1793. label-width="120px"
  1794. class="postInfo-container-item"
  1795. >
  1796. <el-input v-model.trim="landTarget.realPurpose" class="filter-item" readonly disabled/>
  1797. </el-form-item>
  1798. </el-col>
  1799. </el-row>
  1800. <el-row>
  1801. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1802. <el-form-item
  1803. label="负责人:"
  1804. prop="principalId"
  1805. label-width="120px"
  1806. class="postInfo-container-item"
  1807. >
  1808. <el-select :value="landTarget.principalId" readonly disabled style="width:100%">
  1809. <el-option v-for="(p,id) in principals" :label="p.name" :value="p.id"></el-option>
  1810. </el-select>
  1811. </el-form-item>
  1812. </el-col>
  1813. <el-col :xs="24" :sm="12" :lg="12" :span="8">
  1814. <el-form-item
  1815. label="实勘人:"
  1816. prop="sites"
  1817. label-width="120px"
  1818. class="postInfo-container-item"
  1819. >
  1820. <el-select v-model="landTarget.sites" multiple readonly disabled placeholder="请选择" style="width:100%">
  1821. <el-option v-for="(u,id) in allUsers" :label="u.name" :value="u.id"></el-option>
  1822. </el-select>
  1823. </el-form-item>
  1824. </el-col>
  1825. </el-row>
  1826. <el-row>
  1827. <el-col :xs="24" :sm="12" :lg="24" :span="12">
  1828. <el-form-item
  1829. label="备注:"
  1830. prop="remark"
  1831. label-width="120px"
  1832. class="postInfo-container-item"
  1833. >
  1834. <el-input v-model.trim="landTarget.remark" class="filter-item" type="textarea" readonly disabled/>
  1835. </el-form-item>
  1836. </el-col>
  1837. </el-row>
  1838. <div>
  1839. <el-divider content-position="left">【房地产】定价信息</el-divider>
  1840. <el-row>
  1841. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  1842. <el-form-item
  1843. label="评估方法:"
  1844. prop="eMethods"
  1845. label-width="160px"
  1846. :class="['postInfo-container-item','task-class']"
  1847. >
  1848. <el-checkbox-group v-model="eMethods">
  1849. <el-checkbox-button label="比较法" name="eMethods"></el-checkbox-button>
  1850. <el-checkbox-button label="还原法" name="eMethods"></el-checkbox-button>
  1851. <el-checkbox-button label="成本法" name="eMethods"></el-checkbox-button>
  1852. <el-checkbox-button label="假设开发法" name="eMethods"></el-checkbox-button>
  1853. <el-checkbox-button label="基准地价修正法" name="eMethods"></el-checkbox-button>
  1854. </el-checkbox-group>
  1855. </el-form-item>
  1856. </el-col>
  1857. </el-row>
  1858. <el-row>
  1859. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1860. <el-form-item
  1861. label="初步定价:"
  1862. prop="evaluateValue"
  1863. label-width="160px"
  1864. :class="['postInfo-container-item','task-class']"
  1865. >
  1866. <el-input v-model="landTarget.evaluateValue" readonly disabled
  1867. style="width:100%"
  1868. class="filter-item">
  1869. <template slot="append">万</template>
  1870. </el-input>
  1871. </el-form-item>
  1872. </el-col>
  1873. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  1874. <el-form-item
  1875. label="审核定价:"
  1876. prop="checkValue"
  1877. label-width="180px"
  1878. :class="['postInfo-container-item','task-class']"
  1879. >
  1880. <span slot="label">审核定价
  1881. <el-tooltip
  1882. class="item"
  1883. effect="dark"
  1884. content="默认为‘初步定价’若价格无误,可直接点击保存按钮,否则可修改。"
  1885. placement="top-start"
  1886. >
  1887. <i class="el-icon-question"/></el-tooltip>
  1888. </span>
  1889. <el-input v-model="landTarget.checkValue" :placeholder="landTarget.evaluateValue" readonly disabled
  1890. style="width:100%"
  1891. class="filter-item">
  1892. <template slot="append">万</template>
  1893. </el-input>
  1894. </el-form-item>
  1895. </el-col>
  1896. </el-row>
  1897. </div>
  1898. </el-form>
  1899. </div>
  1900. </el-dialog>
  1901. <el-dialog :visible.sync="createLinkmanVisible" width="70%" custom-class="createLinkman">
  1902. <el-divider content-position="left">新增客户联系人</el-divider>
  1903. <el-form ref="linkmanFrom" :model="linkmanFrom" :rules="rules">
  1904. <el-row>
  1905. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1906. <el-form-item
  1907. label="客户类型:"
  1908. prop="clienteleType"
  1909. :rules="{required: true, message: '客户类型不能为空', trigger: 'blur'}"
  1910. label-width="120px"
  1911. class="postInfo-container-item"
  1912. >
  1913. <el-select v-model="linkmanFrom.clienteleType" disabled readonly>
  1914. <el-option label="企业" value="企业"></el-option>
  1915. <el-option label="个人" value="个人"></el-option>
  1916. </el-select>
  1917. </el-form-item>
  1918. </el-col>
  1919. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.clienteleType==='企业'">
  1920. <el-form-item
  1921. label="客户名称:"
  1922. prop="clienteleId"
  1923. :rules="{required: true, message: '客户名称不能为空', trigger: 'blur'}"
  1924. label-width="120px"
  1925. class="postInfo-container-item"
  1926. >
  1927. <el-select v-model="linkmanFrom.clienteleId" disabled readonly>
  1928. <el-option v-for="(c,id) in customerCompany" :label="c.name" :value="c.id"></el-option>
  1929. </el-select>
  1930. </el-form-item>
  1931. </el-col>
  1932. <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="major.clienteleType==='企业'">
  1933. <el-form-item
  1934. label="业务来源:"
  1935. prop="clienteleSubId"
  1936. :rules="{required: true, message: '业务来源不能为空', trigger: 'blur'}"
  1937. label-width="120px"
  1938. class="postInfo-container-item"
  1939. >
  1940. <el-select v-model="linkmanFrom.clienteleSubId" disabled readonly>
  1941. <el-option v-for="(s,id) in subCustomerCompany" :label="s.name" :value="s.id"></el-option>
  1942. </el-select>
  1943. </el-form-item>
  1944. </el-col>
  1945. </el-row>
  1946. <el-row>
  1947. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1948. <el-form-item
  1949. label="联系人姓名:"
  1950. prop="name"
  1951. :rules="{required: true, message: '联系人姓名不能为空', trigger: 'blur'}"
  1952. label-width="120px"
  1953. class="postInfo-container-item"
  1954. >
  1955. <el-input v-model.trim="linkmanFrom.name" class="filter-item" />
  1956. </el-form-item>
  1957. </el-col>
  1958. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1959. <el-form-item
  1960. label="联系电话:"
  1961. prop="mobile"
  1962. label-width="120px"
  1963. class="postInfo-container-item"
  1964. >
  1965. <el-input v-model.trim="linkmanFrom.mobile" class="filter-item" />
  1966. </el-form-item>
  1967. </el-col>
  1968. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1969. <el-form-item
  1970. label="性别:"
  1971. prop="sex"
  1972. label-width="120px"
  1973. class="postInfo-container-item"
  1974. >
  1975. <el-select v-model=linkmanFrom.sex>
  1976. <el-option label="男" value="男">男</el-option>
  1977. <el-option label="女" value="女">女</el-option>
  1978. </el-select>
  1979. </el-form-item>
  1980. </el-col>
  1981. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1982. <el-form-item
  1983. label="身份证号:"
  1984. prop="idNo"
  1985. label-width="120px"
  1986. class="postInfo-container-item"
  1987. >
  1988. <el-input v-model.trim="linkmanFrom.idNo" class="filter-item" />
  1989. </el-form-item>
  1990. </el-col>
  1991. </el-row>
  1992. <el-row>
  1993. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  1994. <el-form-item
  1995. label="微信号:"
  1996. prop="wechatNo"
  1997. label-width="120px"
  1998. class="postInfo-container-item"
  1999. >
  2000. <el-input v-model.trim="linkmanFrom.wechatNo" class="filter-item" />
  2001. </el-form-item>
  2002. </el-col>
  2003. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2004. <el-form-item
  2005. label="QQ号:"
  2006. prop="qqNo"
  2007. label-width="120px"
  2008. class="postInfo-container-item"
  2009. >
  2010. <el-input v-model.trim="linkmanFrom.qqNo" class="filter-item" />
  2011. </el-form-item>
  2012. </el-col>
  2013. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2014. <el-form-item
  2015. label="毕业院校:"
  2016. prop="school"
  2017. label-width="120px"
  2018. class="postInfo-container-item"
  2019. >
  2020. <el-input v-model.trim="linkmanFrom.school" class="filter-item" />
  2021. </el-form-item>
  2022. </el-col>
  2023. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2024. <el-form-item
  2025. label="毕业专业:"
  2026. prop="industry"
  2027. label-width="120px"
  2028. class="postInfo-container-item"
  2029. >
  2030. <el-input v-model.trim="linkmanFrom.industry" class="filter-item" />
  2031. </el-form-item>
  2032. </el-col>
  2033. </el-row>
  2034. <el-row>
  2035. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2036. <el-form-item
  2037. label="所在部门:"
  2038. prop="department"
  2039. label-width="120px"
  2040. class="postInfo-container-item"
  2041. >
  2042. <el-input v-model.trim="linkmanFrom.department" class="filter-item" />
  2043. </el-form-item>
  2044. </el-col>
  2045. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2046. <el-form-item
  2047. label="职位:"
  2048. prop="duty"
  2049. label-width="120px"
  2050. class="postInfo-container-item"
  2051. >
  2052. <el-input v-model.trim="linkmanFrom.duty" class="filter-item" />
  2053. </el-form-item>
  2054. </el-col>
  2055. </el-row>
  2056. <el-row>
  2057. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  2058. <el-form-item
  2059. label="备注:"
  2060. prop="description"
  2061. label-width="120px"
  2062. class="postInfo-container-item"
  2063. >
  2064. <el-input v-model.trim="linkmanFrom.description" class="filter-item" type="textarea" />
  2065. </el-form-item>
  2066. </el-col>
  2067. </el-row>
  2068. <el-button type="primary" @click="saveLinkman()" style="position:absolute;top:45px;right:20px">保存</el-button>
  2069. </el-form>
  2070. </el-dialog>
  2071. <el-dialog :visible.sync="createTlinkmanVisible" width="70%" custom-class="createLinkman">
  2072. <el-divider content-position="left">{{major.terminalClienteleType==='企业'?'新增终端客户联系人':'新增终端客户'}}</el-divider>
  2073. <el-form ref="tLinkmanFrom" :model="tLinkmanFrom" :rules="rules" >
  2074. <el-row v-if="major.terminalClienteleType==='企业'">
  2075. <el-col :xs="24" :sm="12" :lg="12" :span="6">
  2076. <el-form-item
  2077. label="所属企业:"
  2078. prop="ccId"
  2079. label-width="120px"
  2080. class="postInfo-container-item"
  2081. >
  2082. <el-select v-model="major.terminalClienteleId" disabled readonly style="width:100%">
  2083. <el-option v-for="(c,id) in tCustomerCompany" :label="c.name" :value="c.id"></el-option>
  2084. </el-select>
  2085. </el-form-item>
  2086. </el-col>
  2087. </el-row>
  2088. <el-row>
  2089. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2090. <el-form-item
  2091. label="联系人姓名:"
  2092. prop="name"
  2093. :rules="{required: true, message: '联系人姓名不能为空', trigger: 'blur'}"
  2094. label-width="140px"
  2095. class="postInfo-container-item"
  2096. >
  2097. <el-input v-model.trim="tLinkmanFrom.name" class="filter-item" />
  2098. </el-form-item>
  2099. </el-col>
  2100. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2101. <el-form-item
  2102. label="联系电话:"
  2103. prop="mobile"
  2104. label-width="120px"
  2105. class="postInfo-container-item"
  2106. >
  2107. <el-input v-model.trim="tLinkmanFrom.mobile" class="filter-item" />
  2108. </el-form-item>
  2109. </el-col>
  2110. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2111. <el-form-item
  2112. label="性别:"
  2113. prop="sex"
  2114. label-width="120px"
  2115. class="postInfo-container-item"
  2116. >
  2117. <el-select v-model=tLinkmanFrom.sex>
  2118. <el-option label="男" value="男">男</el-option>
  2119. <el-option label="女" value="女">女</el-option>
  2120. </el-select>
  2121. </el-form-item>
  2122. </el-col>
  2123. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2124. <el-form-item
  2125. label="身份证号:"
  2126. prop="idNo"
  2127. label-width="120px"
  2128. class="postInfo-container-item"
  2129. >
  2130. <el-input v-model.trim="tLinkmanFrom.idNo" class="filter-item" />
  2131. </el-form-item>
  2132. </el-col>
  2133. </el-row>
  2134. <el-row>
  2135. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2136. <el-form-item
  2137. label="微信号:"
  2138. prop="wechatNo"
  2139. label-width="120px"
  2140. class="postInfo-container-item"
  2141. >
  2142. <el-input v-model.trim="tLinkmanFrom.wechatNo" class="filter-item" />
  2143. </el-form-item>
  2144. </el-col>
  2145. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2146. <el-form-item
  2147. label="QQ号:"
  2148. prop="qqNo"
  2149. label-width="120px"
  2150. class="postInfo-container-item"
  2151. >
  2152. <el-input v-model.trim="tLinkmanFrom.qqNo" class="filter-item" />
  2153. </el-form-item>
  2154. </el-col>
  2155. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2156. <el-form-item
  2157. label="毕业院校:"
  2158. prop="school"
  2159. label-width="120px"
  2160. class="postInfo-container-item"
  2161. >
  2162. <el-input v-model.trim="tLinkmanFrom.school" class="filter-item" />
  2163. </el-form-item>
  2164. </el-col>
  2165. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2166. <el-form-item
  2167. label="毕业专业:"
  2168. prop="industry"
  2169. label-width="120px"
  2170. class="postInfo-container-item"
  2171. >
  2172. <el-input v-model.trim="tLinkmanFrom.industry" class="filter-item" />
  2173. </el-form-item>
  2174. </el-col>
  2175. </el-row>
  2176. <el-row>
  2177. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2178. <el-form-item
  2179. label="所在部门:"
  2180. prop="department"
  2181. label-width="120px"
  2182. class="postInfo-container-item"
  2183. >
  2184. <el-input v-model.trim="tLinkmanFrom.department" class="filter-item" />
  2185. </el-form-item>
  2186. </el-col>
  2187. <el-col :xs="24" :sm="12" :lg="6" :span="6">
  2188. <el-form-item
  2189. label="职位:"
  2190. prop="duty"
  2191. label-width="120px"
  2192. class="postInfo-container-item"
  2193. >
  2194. <el-input v-model.trim="tLinkmanFrom.duty" class="filter-item" />
  2195. </el-form-item>
  2196. </el-col>
  2197. </el-row>
  2198. <el-row>
  2199. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  2200. <el-form-item
  2201. label="备注:"
  2202. prop="description"
  2203. label-width="120px"
  2204. class="postInfo-container-item"
  2205. >
  2206. <el-input v-model.trim="tLinkmanFrom.description" class="filter-item" type="textarea" />
  2207. </el-form-item>
  2208. </el-col>
  2209. </el-row>
  2210. <el-button type="primary" @click="saveTlinkman()" style="position:absolute;top:45px;right:20px">保存</el-button>
  2211. </el-form>
  2212. </el-dialog>
  2213. <el-dialog :visible.sync="createTerminalClientVisible" width="70%" custom-class="createLinkman">
  2214. <el-divider content-position="left">新增终端客户</el-divider>
  2215. <el-form ref="terminalClientFrom" :model="terminalClientFrom" :rules="rules" >
  2216. <el-row>
  2217. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  2218. <el-form-item
  2219. label="客户名称:"
  2220. prop="name"
  2221. :rules="{required: true, message: '联系人姓名不能为空', trigger: 'blur'}"
  2222. label-width="120px"
  2223. class="postInfo-container-item"
  2224. >
  2225. <el-input v-model.trim="terminalClientFrom.name" class="filter-item" />
  2226. </el-form-item>
  2227. </el-col>
  2228. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  2229. <el-form-item
  2230. label="企业类型:"
  2231. prop="companyType"
  2232. :rules="{required: true, message: '联系电话不能为空', trigger: 'blur'}"
  2233. label-width="120px"
  2234. class="postInfo-container-item"
  2235. >
  2236. <el-input v-model.trim="terminalClientFrom.companyType" class="filter-item" />
  2237. </el-form-item>
  2238. </el-col>
  2239. <el-col :xs="24" :sm="12" :lg="8" :span="6">
  2240. <el-form-item
  2241. label="联系电话:"
  2242. prop="phone"
  2243. :rules="{required: true, message: '联系电话不能为空', trigger: 'blur'}"
  2244. label-width="120px"
  2245. class="postInfo-container-item"
  2246. >
  2247. <el-input v-model.trim="terminalClientFrom.phone" class="filter-item" />
  2248. </el-form-item>
  2249. </el-col>
  2250. </el-row>
  2251. <el-row>
  2252. <el-col :xs="24" :sm="12" :lg="24" :span="6">
  2253. <el-form-item
  2254. label="客户地址:"
  2255. prop="address"
  2256. label-width="120px"
  2257. class="postInfo-container-item"
  2258. >
  2259. <el-input v-model.trim="terminalClientFrom.address" class="filter-item" />
  2260. </el-form-item>
  2261. </el-col>
  2262. </el-row>
  2263. <el-button type="primary" @click="saveClient()" style="position:absolute;top:45px;right:20px">保存</el-button>
  2264. </el-form>
  2265. </el-dialog>
  2266. </div>
  2267. </template>
  2268. <script>
  2269. import Breadcrumb from '@/components/Breadcrumb'
  2270. import YDetailPageLayout from '@/components/YDetailPageLayout/index_detail'
  2271. import WorkflowBoard from '@/components/workflowBoard'
  2272. import {isNumber,phoneNumber,postiveInteger,isIdNumber} from '@/utils/validate'
  2273. export default {
  2274. name: 'majorDetail',
  2275. components: {
  2276. Breadcrumb,
  2277. YDetailPageLayout,
  2278. WorkflowBoard
  2279. },
  2280. watch:{
  2281. productions: {
  2282. handler(newValue, oldVal) {
  2283. for (let p in oldVal){
  2284. if (oldVal[p].evaluateAmount==null){
  2285. oldVal[p].evaluateAmount = this.totalEvaluateValue;
  2286. }
  2287. if (oldVal[p].evaluateAcreage==null){
  2288. oldVal[p].evaluateAcreage = this.totalAcreage;
  2289. }
  2290. }
  2291. for (let d in newValue){
  2292. newValue[d].evaluatePrice = ((newValue[d].evaluateAmount)/(newValue[d].evaluateAcreage)).toFixed(0);
  2293. }
  2294. },
  2295. deep: true
  2296. },
  2297. nodeBusinessInfo: {
  2298. handler(newValue, oldValue) {
  2299. const board = this.$refs.board;
  2300. if (board){
  2301. board.getInstanceQueue();
  2302. }
  2303. },
  2304. deep: true,
  2305. }
  2306. },
  2307. data() {
  2308. return {
  2309. rules:{
  2310. loanLimit:[{required: false,validator:isNumber,trigger:'blur'}],
  2311. loanPeriod:[{required: false,validator:postiveInteger,trigger:'blur'}],
  2312. bailorContactTel:[{required: true, message: '委托联系人电话不能为空', trigger: 'blur'},{validator:phoneNumber,trigger:'blur'}],
  2313. ownerTel:[{required: false,validator:phoneNumber,trigger:'blur'}],
  2314. phone:[{required: true, message: '联系电话不能为空', trigger: 'blur'},{validator:phoneNumber,trigger:'blur'}],
  2315. // tmobile:[{required: true, message: '终端联系电话不能为空', trigger: 'blur'},{validator:phoneNumber,trigger:'blur'}],
  2316. idNo:[{required: false,validator:isIdNumber,trigger:'blur'}],
  2317. mobile:[{required: true, message: '联系电话不能为空', trigger: 'blur'},{validator:phoneNumber,trigger:'blur'}],
  2318. },
  2319. activeName:'workflowInfo',
  2320. activeTagName: 'order',
  2321. nodeBusinessInfo:{
  2322. currentNodePermission:{
  2323. commit:true,
  2324. reversible:true,
  2325. restartable:true,
  2326. terminable:true,
  2327. skippable:true,
  2328. },
  2329. mainBusiness:"MAJOR_BUSINESS",
  2330. doWorkflow:false,
  2331. businessSubId:null,
  2332. businessId:null,
  2333. businessMinId:null,
  2334. currentNodeInstanceId:null,
  2335. production:[],
  2336. reportNos:[],
  2337. currentNodeInstanceCode:null,
  2338. ifCheckTask:true
  2339. },
  2340. major: {
  2341. id:null,
  2342. name:null,
  2343. financial:false,
  2344. allotType:"轮单",
  2345. clientManagerId:this.$store.getters.userInfo.id,
  2346. principalId:null,
  2347. departmentId:null,
  2348. businessObjectType:"土地",
  2349. specialType:null,
  2350. businessGener:null,
  2351. evaluateAim:"抵押",
  2352. entrustAgain:false,
  2353. multipleRemoval:false,
  2354. informalEvaluate:false,
  2355. clienteleType:"企业",
  2356. clienteleId:null,
  2357. clienteleContactId:null,
  2358. dispenseBenefit:false,
  2359. nonnative:false,
  2360. refinance:false,
  2361. loanLimit:null,
  2362. loanPeriod:null,
  2363. loanNature:null,
  2364. loanAim:null,
  2365. loanExpire:false,
  2366. bailor:null,
  2367. bailorAddress:null,
  2368. bailorContactName:null,
  2369. bailorContactTel:null,
  2370. owner:null,
  2371. ownerTel:null,
  2372. urgent:false,
  2373. terminalClienteleId:null,
  2374. terminalClienteleType:'',
  2375. terminalClienteleContactId:null,
  2376. remark:null,
  2377. membersName:null,
  2378. clientManager:this.$store.getters.userInfo.name,
  2379. members:null,
  2380. productionInfo:null,
  2381. printing:null,
  2382. printingRemark:null,
  2383. cmobile:null,
  2384. cdepartment:null,
  2385. cduty:null,
  2386. cclienteleName:null,
  2387. cclienteleSubName:null,
  2388. cclienteleContactName:null,
  2389. tmobile:null,
  2390. tterminalClienteleContactName:null,
  2391. tterminalClienteleName:null,
  2392. clienteleSubId:null,
  2393. },
  2394. currentNode:{
  2395. flowId:null,
  2396. pnodeId:null,
  2397. nodeId:null,
  2398. flowCode:null,
  2399. nodeName:"",
  2400. nodeCode:null,
  2401. state:"",
  2402. instanceId:null,
  2403. sequence:null,
  2404. tasks:[]
  2405. },
  2406. majorId:null,
  2407. allotDepartment:[],
  2408. principals:[],
  2409. allUsers:[],
  2410. evaluateLandData: [],
  2411. landDialogVisible:false,
  2412. houseDialogVisible:false,
  2413. landTarget:{
  2414. id:null,
  2415. majorId:null,
  2416. targetType:null,
  2417. landType:null,
  2418. useAcreage:null,
  2419. rights:[],
  2420. rightToUser:null,
  2421. landCertificateNo:null,
  2422. located:null,
  2423. residueYears:null,
  2424. plotRatio:null,
  2425. landUse:null,
  2426. principalId:null,
  2427. sites:[],
  2428. evaluateDate:null,
  2429. remark:null,
  2430. evaluateValue:null,
  2431. evaluateMethods:[],
  2432. housePurpose:[],
  2433. owner:null,
  2434. ownerNo:null,
  2435. targetName:null,
  2436. buildDoneYear:null,
  2437. buildAcreage:null,
  2438. landAcreage:null,
  2439. planPurpose:null,
  2440. realPurpose:null,
  2441. siteLocated:null,
  2442. useRightType:null
  2443. },
  2444. eMethods:[],
  2445. houseUseTO:[],
  2446. totalEvaluateValue:0,
  2447. totalAcreage:0,
  2448. feedback:{
  2449. majorId:null,
  2450. production:[],
  2451. printing:null,
  2452. printingRemark:null
  2453. },
  2454. workflowLogs:[],
  2455. productions:[],
  2456. waitingUpload:[],
  2457. performance:{
  2458. productionNo:null,
  2459. productionType:null,
  2460. principal:null,
  2461. productionName:null,
  2462. info:[]
  2463. // id:null,
  2464. // allots:[],
  2465. // fatalMistake:null,
  2466. // hardMistake:null,
  2467. // normalMistake:null,
  2468. // reason:null,
  2469. // performanceAllot:null,
  2470. // checkLoop:null,
  2471. },
  2472. saveOrderBtn:null,
  2473. customerCompany:[],
  2474. subCustomerCompany:[],
  2475. customerContract:[],
  2476. tCustomerCompany:[],
  2477. tSubCustomerCompany:[],
  2478. tCustomerContract:[],
  2479. types:[],
  2480. landType:[ "划拨土地价格评估",
  2481. "土地利用总体规划、规划调整、项目规划",
  2482. "城乡建设用地增减挂钩项目",
  2483. "建设用地报件",
  2484. "房屋征收、搬迁社会稳定风险评估",
  2485. "社会稳定风险评价",
  2486. "自然资源资产负债表项目",
  2487. "航空摄影测量",
  2488. "集体建设用地使用权价格评估",
  2489. "土地复垦方案",
  2490. "开发区土地集约利用评价",
  2491. "城市土地集约利用评价",
  2492. "土地基准地价评估",
  2493. "土地标定地价评估",
  2494. "土地地价动态监测",
  2495. "建设项目节地评价",
  2496. "集体承包土地的经营权流转租赁评估",
  2497. "集体经营性建设用地出让地价、租赁地价评估",
  2498. "集体经营性建设用地转让、出资、抵押评估",
  2499. "农用地质量分等评估",
  2500. "农用地定级和基准地价评估",
  2501. "集体建设用地定级和基准地价评估",
  2502. "工业用地集约利用评价",
  2503. "征收农用地区片综合地价评估",
  2504. "城市低效用地专项规划项目"],
  2505. houseType :[ "司法鉴定中不动产损害赔偿评估",
  2506. "税收部门征税房地产批量评估",
  2507. "房地产投资项目可行性研究",
  2508. "金融机构已设营业网点市场前景调查分析报告",
  2509. "企业国有资产产权无偿划转操作方案咨询",
  2510. "房地产区域市场研究",
  2511. "商业银行押品快速变现价值的量化分析评估",
  2512. "城市旧城改造、棚户区改造实施规划编制",
  2513. "城市旧城改造、棚户区改造项目可行性研究",
  2514. "城市更新项目规划编制",
  2515. "城市旧城改造、棚户区改造征收、搬迁方案咨询",
  2516. "城市更新项目可行性研究",
  2517. "以财务报表为目的投资性物业价值评估(投资性房地产市场价值除外)",
  2518. "住房租赁证券化评估",
  2519. "房屋征收、搬迁社会稳定风险评估",
  2520. "政府为出让土地成片大规模土地分等定级研究",
  2521. "“城中村”房屋搬迁补偿评估",
  2522. "经营性物业租金体系研究",
  2523. "存量房地产再开发利用投资价值评估、咨询",
  2524. "公共性、公益性房地产评估",
  2525. ],
  2526. createLinkmanVisible:false,
  2527. linkmanFrom:{
  2528. clienteleType:null,
  2529. clienteleSubId:null,
  2530. clienteleId:null,
  2531. ccId:null,
  2532. name:null,
  2533. mobile:null,
  2534. phone:null,
  2535. sex:null,
  2536. idNo:null,
  2537. wechatNo:null,
  2538. qqNo:null,
  2539. school:null,
  2540. industry:null,
  2541. department:null,
  2542. duty:null,
  2543. terminal:false,
  2544. description:null
  2545. },
  2546. createTerminalClientVisible:false,
  2547. terminalClientFrom:{
  2548. name:null,
  2549. companyType:null,
  2550. address:null,
  2551. phone:null,
  2552. terminal:true
  2553. },
  2554. createTlinkmanVisible:false,
  2555. tLinkmanFrom:{
  2556. ccId:null,
  2557. name:null,
  2558. mobile:null,
  2559. phone:null,
  2560. sex:null,
  2561. idNo:null,
  2562. wechatNo:null,
  2563. qqNo:null,
  2564. school:null,
  2565. industry:null,
  2566. department:null,
  2567. duty:null,
  2568. terminal:false,
  2569. description:null
  2570. },
  2571. doUpload:false,
  2572. productionFinance: [],
  2573. }
  2574. },
  2575. created() {
  2576. this.couldEdit = this.$route.query.couldEdit ==='true';
  2577. this.showBtn = this.$route.query.showBtn ==='true';
  2578. this.couldBack = this.$route.query.couldBack ==='true';
  2579. this.reportNo = this.$route.query.reportNo;
  2580. this.production = this.$route.query.pt;
  2581. this.statementNo = this.$route.query.statementNo;
  2582. this.saveOrderBtn = this.$route.query.saveOrderBtn;
  2583. this.majorId = this.$route.query.id;
  2584. this.currentNode.nodeName = this.$route.query.currentNodeName;
  2585. this.nodeBusinessInfo.doWorkflow = this.$route.query.couldEdit ==='true';
  2586. this.nodeBusinessInfo.currentNodeInstanceId= this.$route.query.currentNodeId;
  2587. this.nodeBusinessInfo.businessId= this.$route.query.id;
  2588. this.nodeBusinessInfo.businessMinId=this.$route.query.reportNo;
  2589. this.nodeBusinessInfo.businessSubId=this.$route.query.statementNo;
  2590. this.getMajorDetail();
  2591. this.getCustomerCompany(0);
  2592. this.getCustomerCompany(1);
  2593. this.changeType();
  2594. if (typeof(this.nodeBusinessInfo.currentNodeInstanceId)!='undefined' &&this.nodeBusinessInfo.currentNodeInstanceId!=null){
  2595. this.getCurrentNodeInfo();
  2596. }
  2597. if (this.activeTagName === 'order'){
  2598. this.getAllotDepartment();
  2599. this.getLandTargetList();
  2600. }
  2601. if (this.activeTagName === 'evaluate'){
  2602. if (this.major.businessObjectType==='土地'){
  2603. this.getLandTargetList();
  2604. }
  2605. }
  2606. if (this.activeTagName === 'workflowLog'){
  2607. this.getWorkflowLogs();
  2608. }
  2609. if (this.activeTagName === 'producution'){
  2610. this.getProductions(this.majorId,(this.reportNo==null?this.statementNo:this.reportNo));
  2611. }
  2612. if (this.activeTagName === 'quality'){
  2613. this.getPerformance(this.majorId,(this.reportNo==null?this.statementNo:this.reportNo));
  2614. }
  2615. if (this.activeTagName === 'finance' && this.productionFinance.length == 0){
  2616. this.getFinanceInvoiceAmountInfo();
  2617. }
  2618. // if (this.nodeBusinessInfo.currentNodeInstanceId){
  2619. // setTimeout(() => {
  2620. // this.$refs.board.getInstanceQueue();
  2621. // }, 1000);
  2622. // }
  2623. },
  2624. methods: {
  2625. handleChange(){
  2626. },
  2627. handleClick(tab) {
  2628. if (tab.name === 'order' && this.allotDepartment.length==0){
  2629. this.getAllotDepartment();
  2630. }
  2631. if (tab.name === 'evaluate'){
  2632. if ( this.evaluateLandData.length==0){
  2633. this.getLandTargetList();
  2634. }
  2635. }
  2636. if (tab.name === 'workflowLog'){
  2637. if ( this.workflowLogs.length==0){
  2638. this.getWorkflowLogs();
  2639. }
  2640. }
  2641. if (tab.name === 'producution'){
  2642. this.getLandTargetList();
  2643. this.getProductions(this.majorId,(this.reportNo==null?this.statementNo:this.reportNo));
  2644. }
  2645. // if (tab.name === 'performance'){
  2646. // if ( this.performance.allots.length==0){
  2647. // this.getPerformance();
  2648. // }
  2649. // }
  2650. if (tab.name === 'quality'){
  2651. this.getPerformance(this.majorId,(this.reportNo==null?this.statementNo:this.reportNo));
  2652. }
  2653. if (tab.name === 'finance' && this.productionFinance.length == 0){
  2654. this.getFinanceInvoiceAmountInfo();
  2655. }
  2656. },
  2657. handleCreate(){
  2658. this.$refs.majorForm.validate(valid => {
  2659. if (valid) {
  2660. if (this.major.id) {
  2661. this.$api.major.edit(this.major).then(res => {
  2662. if (res.code === 200) {
  2663. this.$notify({
  2664. title: '成功',
  2665. message: '保存成功',
  2666. type: 'success',
  2667. duration: 2000
  2668. });
  2669. const back = this.$route.query.back;
  2670. if (back) {
  2671. this.$router.push(back)
  2672. }
  2673. }
  2674. })
  2675. } else {
  2676. if (this.major.terminalClienteleType==='个人'){
  2677. this.major.terminalClienteleContactId = this.major.terminalClienteleId;
  2678. this.major.terminalClienteleId = null;
  2679. }
  2680. this.$api.major.add(this.major).then(res => {
  2681. if (res.code === 200) {
  2682. if (res.data && res.data.instanceNodeId && res.data.state){
  2683. this.$api.workflow.commit(res.data).then(result =>{
  2684. if (result.code === 200 && result.data){
  2685. this.$notify({
  2686. title: '成功',
  2687. message: '下单并提交流程成功',
  2688. type: 'success',
  2689. duration: 2000
  2690. });
  2691. }
  2692. })
  2693. }else{
  2694. this.$notify({
  2695. title: '成功',
  2696. message: '下单成功,需要手动提交流程。',
  2697. type: 'warning',
  2698. duration: 2000
  2699. });
  2700. }
  2701. const back = this.$route.query.back;
  2702. if (back) {
  2703. this.$router.push(back)
  2704. }
  2705. }else{
  2706. this.$notify({
  2707. title: '失败',
  2708. message: '下单失败,请稍后再试。',
  2709. type: 'error',
  2710. duration: 2000
  2711. });
  2712. }
  2713. })
  2714. }
  2715. }else{
  2716. console.log("error")
  2717. }
  2718. })
  2719. },
  2720. getMajorDetail(){
  2721. if (this.majorId){
  2722. let majorId= this.majorId;
  2723. let reportNo = this.statementNo;
  2724. this.$api.major.detail(this.majorId).then(res=>{
  2725. if (res.code === 200){
  2726. this.major = res.data;
  2727. this.major.membersId = JSON.parse(this.major.members);
  2728. if (this.major.feedbackInfo){
  2729. let feedbacks = JSON.parse(this.major.feedbackInfo);
  2730. if (reportNo){
  2731. this.feedback = feedbacks.filter(function(e,index,array){
  2732. return e.reportNo === reportNo;
  2733. })[0]
  2734. if (!this.feedback){
  2735. this.feedback = feedbacks.filter(function(e,index,array){
  2736. return e.majorId == majorId;
  2737. })[0];
  2738. }
  2739. }else {
  2740. this.feedback = feedbacks.filter(function(e,index,array){
  2741. return e.majorId == majorId;
  2742. })[0];
  2743. }
  2744. this.nodeBusinessInfo.production = this.feedback.production;
  2745. }
  2746. this.getPrincipalByAllotDepartment();
  2747. this.getAllUser();
  2748. // if (typeof(this.nodeBusinessInfo.currentNodeInstanceId)!='undefined'){
  2749. // this.$refs.board.getInstanceQueue();
  2750. // }
  2751. }
  2752. })
  2753. }
  2754. },
  2755. getAllotDepartment(){
  2756. this.$api.department.allot().then(res=>{
  2757. if (res.code === 200){
  2758. this.allotDepartment = res.data;
  2759. }
  2760. })
  2761. },
  2762. getPrincipalByAllotDepartment(){
  2763. let departmentId = this.major.departmentId;
  2764. if (departmentId){
  2765. this.$api.user.usersByDepartmentId(departmentId).then(res=>{
  2766. if (res.code === 200){
  2767. this.principals = res.data;
  2768. }
  2769. })
  2770. }
  2771. },
  2772. getAllUser() {
  2773. this.$api.user.simpleAll().then(res => {
  2774. if (res.code === 200) {
  2775. this.allUsers = res.data;
  2776. }
  2777. })
  2778. },
  2779. getCurrentNodeInfo(){
  2780. if (this.majorId){
  2781. this.$api.workNodeInstance.currentNode({"mainBusiness":"MAJOR_BUSINESS","businessId":this.majorId,"businessSubId":this.statementNo,"businessMinId":this.reportNo}).then(res=>{
  2782. if (res.code === 200){
  2783. if (res.data){
  2784. this.currentNode = res.data;
  2785. this.nodeBusinessInfo.currentInstanceNodeId = res.data.instanceId;
  2786. this.nodeBusinessInfo.currentNodeInstanceCode = res.data.nodeCode;
  2787. }
  2788. if (this.currentNode.nodeCode ==='CHECK_STATEMENT' ||
  2789. this.currentNode.nodeCode ==='CHECK_REPORT' ||
  2790. this.currentNode.nodeCode ==='CHECK_LETTER' ){
  2791. this.getPerformance();
  2792. }
  2793. if (this.currentNode.nodeCode ==='WRITE_STATEMENT' ||
  2794. this.currentNode.nodeCode ==='WRITE_REPORT' ||
  2795. this.currentNode.nodeCode ==='WRITE_LETTER' ){
  2796. if (this.major.businessObjectType==='土地'){
  2797. this.getLandTargetList();
  2798. }
  2799. }
  2800. }
  2801. })
  2802. }
  2803. },
  2804. getLandTargetList(){
  2805. if (this.majorId){
  2806. const obj = new Object();
  2807. obj.majorId = this.majorId;
  2808. obj.statementNo =this.statementNo;
  2809. if (!this.production){
  2810. if (this.feedback.production.includes("REPORT")){
  2811. obj.reportNo = this.reportNo;
  2812. }else{
  2813. obj.letterNo = this.reportNo;
  2814. }
  2815. }else{
  2816. if (this.production === 'STATEMENT'){
  2817. obj.statementNo = this.reportNo;
  2818. } else if (this.production === 'REPORT'){
  2819. obj.reportNo = this.reportNo;
  2820. }else{
  2821. obj.letterNo = this.reportNo;
  2822. }
  2823. }
  2824. this.$api.majorTarget.list(obj).then(res=>{
  2825. if (res.code === 200){
  2826. this.evaluateLandData = res.data;
  2827. this.statementNo = this.evaluateLandData[0].statementNo
  2828. let totalAcreages = [];
  2829. let totalValues = this.evaluateLandData.map(item=>item.evaluateValue);
  2830. if (this.major.businessObjectType === '土地'){
  2831. totalAcreages = this.evaluateLandData.map(item=>item.useAcreage);
  2832. }else{
  2833. totalAcreages = this.evaluateLandData.map(item=>item.buildAcreage);
  2834. }
  2835. for (let i in totalValues){
  2836. if (totalValues[i]!=null && typeof(totalValues[i])!='undefined'){
  2837. this.totalEvaluateValue += totalValues[i];
  2838. }
  2839. }
  2840. for (let j in totalAcreages){
  2841. if (totalAcreages[j]!=null && typeof(totalAcreages[j])!='undefined'){
  2842. this.totalAcreage += totalAcreages[j];
  2843. }
  2844. }
  2845. }
  2846. })
  2847. }
  2848. },
  2849. getWorkflowLogs(){
  2850. console.log(this.statementNo);
  2851. let param = {
  2852. businessId:this.majorId,
  2853. businessSubId: this.statementNo,
  2854. businessMinId:this.reportNo,
  2855. businessType:'MAJOR_BUSINESS'
  2856. }
  2857. this.$api.workflowLog.list(param).then(res=>{
  2858. if (res.code === 200){
  2859. this.workflowLogs = res.data;
  2860. }
  2861. })
  2862. },
  2863. getProductions(majorId,reportNo){
  2864. if (majorId){
  2865. let pro = {
  2866. majorId:majorId,
  2867. reportNo:reportNo,
  2868. sequence:this.currentNode.sequence
  2869. }
  2870. this.$api.majorProduction.list(pro).then(res=>{
  2871. if (res.code === 200 ){
  2872. this.productions = res.data;
  2873. this.nodeBusinessInfo.doSecondCheck = this.productions[0].secondCheck;
  2874. this.nodeBusinessInfo.doThirdCheck = this.productions[0].thirdCheck;
  2875. //回显上传的文档
  2876. for (let p in this.productions){
  2877. let d = JSON.parse(this.productions[p].filePath);
  2878. let c = JSON.parse(this.productions[p].checkedFilePath);
  2879. for (let q in d){
  2880. this.productions[p].filePathList.push({name: d[q].name, url:d[q].url,index:p});
  2881. }
  2882. for (let cc in c){
  2883. this.productions[p].filePathList1.push({name: c[cc].name, url:c[cc].url,index:p});
  2884. }
  2885. }
  2886. }
  2887. })
  2888. }
  2889. },
  2890. getPerformance(majorId,productionNo){
  2891. if (majorId && productionNo){
  2892. const obj = new Object();
  2893. obj.businessType = 'MAJOR_BUSINESS';
  2894. obj.majorId = majorId;
  2895. obj.productionNo = productionNo;
  2896. obj.checkLoop = this.checkLoop;
  2897. this.$api.businessProductionPerformance.detail(obj).then(res=>{
  2898. if (res.code === 200){
  2899. this.performance = res.data;
  2900. }
  2901. })
  2902. }
  2903. },
  2904. landTargetEdit(row){
  2905. if (row.targetType ==='土地'){
  2906. this.landDialogVisible = true;
  2907. }else{
  2908. this.houseDialogVisible = true;
  2909. }
  2910. this.landTarget = row;
  2911. this.landTarget.rights = JSON.parse(this.landTarget.rightType);
  2912. this.landTarget.sites = JSON.parse(this.landTarget.siteIds);
  2913. this.eMethods = [];
  2914. this.houseUseTO = [];
  2915. if (JSON.parse(this.landTarget.evaluateMethods)){
  2916. this.eMethods = JSON.parse(this.landTarget.evaluateMethods);
  2917. }
  2918. if (JSON.parse(this.landTarget.housePurpose)){
  2919. this.houseUseTO = JSON.parse(this.landTarget.housePurpose);
  2920. }
  2921. },
  2922. aliasProductionType(code){
  2923. let name = '价值意见书';
  2924. if (code ==='REPORT'){
  2925. name = '报告';
  2926. }
  2927. if (code ==='LETTER'){
  2928. name = '复评函';
  2929. }
  2930. return name;
  2931. },
  2932. getCustomerCompany(val){
  2933. if (val ===0){
  2934. let simpleAll = new Object();
  2935. simpleAll.terminal=val;
  2936. this.$api.customerCompany.simpleAll(simpleAll).then(res=>{
  2937. if (res.code === 200){
  2938. this.customerCompany = res.data;
  2939. }
  2940. })
  2941. }else{
  2942. let simpleAll = new Object();
  2943. simpleAll.terminal=val;
  2944. this.$api.customerCompany.simpleAll(simpleAll).then(res=>{
  2945. if (res.code === 200){
  2946. this.tCustomerCompany = res.data;
  2947. }
  2948. })
  2949. }
  2950. },
  2951. findSubClientele(val){
  2952. if (val===0){
  2953. this.major.cmobile = null;
  2954. this.major.cDepartment = null;
  2955. this.major.cDuty = null;
  2956. if (this.major.clienteleId){
  2957. let simpleAll = new Object();
  2958. simpleAll.terminal=val;
  2959. simpleAll.parentId= this.major.clienteleId;
  2960. this.$api.customerCompany.simpleAll(simpleAll).then(res=>{
  2961. if (res.code === 200){
  2962. this.subCustomerCompany = res.data;
  2963. if (this.major.clienteleSubId){
  2964. this.major.clienteleSubId = null
  2965. }
  2966. if (this.major.clienteleContactId){
  2967. this.major.clienteleContactId = null
  2968. this.customerContract =[];
  2969. }
  2970. }
  2971. })
  2972. }
  2973. }else {
  2974. if (this.major.terminalClienteleType==='企业' && this.major.terminalClienteleId){
  2975. let simpleAll = new Object();
  2976. simpleAll.terminal=val;
  2977. simpleAll.ccId = this.major.terminalClienteleId;
  2978. this.$api.customerLinkman.simpleAll(simpleAll).then(res=>{
  2979. if (res.code === 200){
  2980. this.tCustomerContract =res.data;
  2981. }
  2982. this.major.terminalClienteleContactId = null;
  2983. this.major.tmobile = null;
  2984. })
  2985. }else{
  2986. if (this.major.terminalClienteleType==='个人' && this.major.terminalClienteleId){
  2987. this.$api.customerLinkman.detail(this.major.terminalClienteleId).then(res=>{
  2988. if (res.code === 200){
  2989. this.major.tmobile = res.data.mobile;
  2990. }
  2991. })
  2992. }
  2993. }
  2994. }
  2995. },
  2996. getCustomerContract(){
  2997. this.major.cmobile = null;
  2998. this.major.cDepartment = null;
  2999. this.major.cDuty = null;
  3000. if (this.major.clienteleSubId){
  3001. let simpleAll = new Object();
  3002. simpleAll.ccId = this.major.clienteleSubId
  3003. this.$api.customerLinkman.simpleAll(simpleAll).then(res=>{
  3004. if (res.code === 200){
  3005. this.customerContract = res.data;
  3006. if (this.major.clienteleContactId){
  3007. this.major.clienteleContactId = null
  3008. }
  3009. }
  3010. })
  3011. }
  3012. },
  3013. changeCustomerType(val){
  3014. if (val ===0){
  3015. this.major.cmobile = null;
  3016. this.major.cDepartment = null;
  3017. this.major.cDuty = null;
  3018. if (this.major.clienteleId){
  3019. this.major.clienteleId = null;
  3020. this.customerCompany=[]
  3021. }
  3022. if (this.major.clienteleSubId){
  3023. this.major.clienteleSubId = null;
  3024. this.subCustomerCompany=[]
  3025. }
  3026. if (this.major.clienteleContactId){
  3027. this.major.clienteleContactId = null;
  3028. this.customerContract =[]
  3029. }
  3030. if (this.major.clienteleType==='个人'){
  3031. let simpleAll = new Object();
  3032. simpleAll.ccId = 1;
  3033. simpleAll.terminal = 0;
  3034. this.$api.customerLinkman.simpleAll(simpleAll).then(res=>{
  3035. if (res.code === 200){
  3036. this.customerContract = res.data;
  3037. if (this.major.clienteleContactId){
  3038. this.major.clienteleContactId = null
  3039. }
  3040. }
  3041. })
  3042. }
  3043. if (this.major.clienteleType==='企业'){
  3044. this.getCustomerCompany(0)
  3045. this.major.clienteleContactId = null
  3046. this.customerContract =[];
  3047. }
  3048. }else {
  3049. if (this.major.terminalClienteleType==='个人'){
  3050. let simpleAll = new Object();
  3051. simpleAll.ccId = 2;
  3052. simpleAll.terminal = 1;
  3053. this.$api.customerLinkman.simpleAll(simpleAll).then(res=>{
  3054. if (res.code === 200){
  3055. this.tCustomerCompany = res.data;
  3056. if (this.major.terminalClienteleId){
  3057. this.major.terminalClienteleContactId = null
  3058. this.major.terminalClienteleId = null
  3059. this.tCustomerContract =[];
  3060. this.major.tmobile = null;
  3061. }
  3062. }
  3063. })
  3064. }
  3065. if (this.major.terminalClienteleType==='企业'){
  3066. this.major.terminalClienteleContactId = null
  3067. this.major.terminalClienteleId = null;
  3068. this.major.tmobile = null;
  3069. this.tCustomerContract =[];
  3070. this.getCustomerCompany(1)
  3071. }
  3072. if (this.major.terminalClienteleType===''){
  3073. this.major.terminalClienteleContactId = null;
  3074. this.major.terminalClienteleId = null;
  3075. this.major.tmobile = null;
  3076. this.tCustomerCompany= [];
  3077. this.tCustomerContract =[];
  3078. }
  3079. }
  3080. },
  3081. getContactInfo(){
  3082. if (this.major.clienteleContactId){
  3083. this.$api.customerLinkman.detail(this.major.clienteleContactId).then(res=>{
  3084. if (res.code === 200){
  3085. this.major.cmobile = res.data.mobile;
  3086. this.major.cDepartment = res.data.department
  3087. this.major.cDuty = res.data.duty
  3088. }
  3089. })
  3090. }
  3091. },
  3092. getTcontactInfo(){
  3093. if (this.major.terminalClienteleContactId){
  3094. this.$api.customerLinkman.detail(this.major.terminalClienteleContactId).then(res=>{
  3095. if (res.code === 200){
  3096. this.major.tmobile = res.data.mobile;
  3097. }
  3098. })
  3099. }
  3100. },
  3101. changeType(){
  3102. if (this.major.businessGener){
  3103. this.major.businessGener = null;
  3104. }
  3105. if (this.major.businessObjectType==='土地'){
  3106. this.types = this.landType;
  3107. }
  3108. if (this.major.businessObjectType==='房地产'){
  3109. this.types = this.houseType;
  3110. }
  3111. },
  3112. createLinkman(val){
  3113. this.createLinkmanVisible = true;
  3114. this.linkmanFrom.terminal = val;
  3115. this.linkmanFrom.clienteleType = this.major.clienteleType;
  3116. this.linkmanFrom.clienteleId = this.major.clienteleId;
  3117. this.linkmanFrom.clienteleSubId = this.major.clienteleSubId;
  3118. if (this.major.clienteleType==='企业'){
  3119. this.linkmanFrom.ccId = this.major.clienteleSubId
  3120. }else{
  3121. this.major.clienteleSubId = 1;
  3122. this.linkmanFrom.ccId = this.major.clienteleSubId;
  3123. }
  3124. },
  3125. createTlinkman(){
  3126. this.createTlinkmanVisible = true;
  3127. this.tLinkmanFrom.terminal = 1;
  3128. if (this.major.terminalClienteleType==='企业'){
  3129. this.tLinkmanFrom.ccId = this.major.terminalClienteleId;
  3130. }else{
  3131. this.tLinkmanFrom.ccId = 1;
  3132. }
  3133. },
  3134. saveLinkman(){
  3135. this.$refs.linkmanFrom.validate(valid =>{
  3136. if (valid){
  3137. this.$api.customerLinkman.add(this.linkmanFrom).then(res=>{
  3138. if (res.code ===200){
  3139. this.$notify({
  3140. title: '成功',
  3141. message: '新增客户联系人成功',
  3142. type: 'success',
  3143. duration: 2000
  3144. });
  3145. }
  3146. this.getCustomerContract();
  3147. setTimeout(()=>{
  3148. this.major.clienteleContactId = this.customerContract[0].id;
  3149. this.getContactInfo();
  3150. },2000)
  3151. this.createLinkmanVisible=false;
  3152. })
  3153. }
  3154. })
  3155. },
  3156. saveTlinkman(){
  3157. this.$refs.tLinkmanFrom.validate(valid =>{
  3158. if (valid){
  3159. if (!this.tLinkmanFrom.ccId){
  3160. this.tLinkmanFrom.ccId = 2;
  3161. this.tLinkmanFrom.terminal = 1;
  3162. }
  3163. this.$api.customerLinkman.add(this.tLinkmanFrom).then(res=>{
  3164. if (res.code ===200){
  3165. this.$notify({
  3166. title: '成功',
  3167. message: '新增终端联系人成功',
  3168. type: 'success',
  3169. duration: 2000
  3170. });
  3171. }
  3172. if (this.major.terminalClienteleType==='企业'){
  3173. this.findSubClientele(1);
  3174. setTimeout(()=>{
  3175. this.major.terminalClienteleContactId = this.tCustomerContract[0].id;
  3176. this.getTcontactInfo();
  3177. },2000)
  3178. }
  3179. if (this.major.terminalClienteleType==='个人'){
  3180. let simpleAll = new Object();
  3181. simpleAll.ccId = 2;
  3182. simpleAll.terminal = 1;
  3183. this.$api.customerLinkman.simpleAll(simpleAll).then(res=>{
  3184. if (res.code === 200){
  3185. this.tCustomerCompany = res.data;
  3186. }
  3187. })
  3188. setTimeout(()=>{
  3189. this.major.terminalClienteleId = this.tCustomerCompany[0].id;
  3190. this.major.terminalClienteleContactId = this.tCustomerCompany[0].id;
  3191. this.getTcontactInfo();
  3192. },2000)
  3193. }
  3194. this.createTlinkmanVisible=false;
  3195. })
  3196. }
  3197. })
  3198. },
  3199. createTerminalClient(){
  3200. if (this.major.terminalClienteleType==='企业'){
  3201. this.createTerminalClientVisible = true;
  3202. }else{
  3203. this.createTlinkmanVisible = true;
  3204. }
  3205. },
  3206. saveClient(){
  3207. this.$refs.terminalClientFrom.validate(valid =>{
  3208. if (valid){
  3209. this.$api.customerCompany.add(this.terminalClientFrom).then(res=>{
  3210. if (res.code ===200){
  3211. this.$notify({
  3212. title: '成功',
  3213. message: '新增客户成功',
  3214. type: 'success',
  3215. duration: 2000
  3216. });
  3217. }
  3218. this.getCustomerCompany(1);
  3219. this.major.terminalClienteleContactId = null;
  3220. this.major.tmobile = null;
  3221. this.tCustomerContract =[];
  3222. setTimeout(()=>{
  3223. this.major.terminalClienteleId = this.tCustomerCompany[0].id;
  3224. this.findSubClientele(1);
  3225. },2000)
  3226. this.createTerminalClientVisible=false;
  3227. })
  3228. }
  3229. })
  3230. },
  3231. getFinanceInvoiceAmountInfo(){
  3232. const obj = new Object();
  3233. obj.majorId= this.majorId;
  3234. obj.productionNos = [];
  3235. if (this.statementNo){
  3236. obj.productionNos.push(this.statementNo);
  3237. }
  3238. if (this.reportNo){
  3239. obj.productionNos.push(this.reportNo);
  3240. }
  3241. this.$api.financeInvoice.getInvoiceAmountInfo(obj).then(res => {
  3242. if (res.code === 200) {
  3243. this.productionFinance = res.data;
  3244. }
  3245. })
  3246. }
  3247. },
  3248. }
  3249. </script>
  3250. <style lang="scss" scoped>
  3251. .row-style{
  3252. margin-left:40px;
  3253. margin-right:1%;
  3254. }
  3255. .task-class{
  3256. /deep/ .el-form-item__label {
  3257. color: red;
  3258. }
  3259. }
  3260. .evaluate-table{
  3261. margin-left:40px;
  3262. margin-top:35px;
  3263. }
  3264. .pane-class{
  3265. width:100%;
  3266. overflow-y: scroll;
  3267. }
  3268. /deep/ .cell-class{
  3269. font-size:13px;
  3270. color:black;
  3271. }
  3272. .table {
  3273. /deep/ thead {
  3274. .el-table-column--selection {
  3275. .cell {
  3276. display: none;
  3277. }
  3278. }
  3279. }
  3280. }
  3281. .performance-avatar-wrapper{
  3282. width: 50px;
  3283. height: 50px;
  3284. position: relative;
  3285. border-radius: 50%;
  3286. background-color: rgba(129,216,207,1);
  3287. text-align: center;
  3288. line-height: 50px;
  3289. }
  3290. .perfomance-icon-title{
  3291. font-size: 20px;
  3292. color: rgba(255, 255, 255, 1);
  3293. display: inline-block;
  3294. position: relative;
  3295. top: -2px;
  3296. }
  3297. /deep/.createLinkman {
  3298. border-radius: 10px;
  3299. }
  3300. </style>