housedetail.vue 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075
  1. <template>
  2. <view class="check">
  3. <uni-forms ref="form" :model="datainfo" :rules="rules">
  4. <view class="cbox">
  5. <view class="chmain">
  6. <picker range-key='dictLabel' :disabled="ptype=='edit'?true:false" :value="rylxidx" :range="rylxList" @change='bindDateChangee'>
  7. <uni-forms-item label="人员类型" required name="residentType">
  8. <view class="flexc mh35">
  9. <view class="flex1 txr f13 co27" v-if="datainfo.residentType&&!rylx">{{statusFormats(datainfo.residentType,rylxList,'rylx')}}</view>
  10. <view class="flex1 txr f13" v-else :class="rylx?'co27':'coa'">{{rylx||"请选择人员类型"}}</view>
  11. <view class="rimg"><image :src="rimg"></image></view>
  12. </view>
  13. </uni-forms-item>
  14. </picker>
  15. <uni-forms-item label="姓名" name="residentName">
  16. <view class="flexc">
  17. <uni-easyinput :disabled="isdisabled" v-model="datainfo.residentName" :inputBorder='false' placeholder="请输入姓名" />
  18. </view>
  19. </uni-forms-item>
  20. <uni-forms-item label="手机号码" required name="residentPhone">
  21. <view class="flexc">
  22. <uni-easyinput :disabled="isdisabled" v-model="datainfo.residentPhone" :inputBorder='false' placeholder="请输入手机号码" />
  23. </view>
  24. </uni-forms-item>
  25. <uni-forms-item label="小区名称" required name="tenantId">
  26. <w-select
  27. style="margin-left: 20rpx;"
  28. v-model="datainfo.tenantId"
  29. :list='voList'
  30. width='200rpx'
  31. valueName='dictLabel'
  32. keyName="dictValue"
  33. :valuea="datainfo.tenantId"
  34. :chosevalue="tenantName?tenantName:statusFormats(datainfo.tenantId,voList,'tenant')"
  35. :isdisabled="ptype=='edit'?true:false"
  36. :filterable="filterable"
  37. @change='getchangea'
  38. >
  39. </w-select>
  40. </uni-forms-item>
  41. <block v-if="datainfo.residentType&&datainfo.residentType!=3">
  42. <uni-forms-item label="房屋号" required name="houseId" v-if="datainfo.residentType!=3">
  43. <w-select
  44. style="margin-left: 20rpx;"
  45. v-model="datainfo.houseId"
  46. :list='fwlist'
  47. valueName='dictLabel'
  48. keyName="dictValue"
  49. :valuea="datainfo.houseId"
  50. :isdisabled="ptype=='edit'?true:false"
  51. :chosevalue="datainfo.detailedAddress"
  52. :filterable='filterable'
  53. @change='getchange'
  54. >
  55. </w-select>
  56. </uni-forms-item>
  57. <block v-if="datainfo.residentType==1">
  58. <uni-forms-item label="是否户主" required name="isHouseholder">
  59. <view class="flexc ">
  60. <view class="flex1"></view>
  61. <view class="sylist flexcc" :class="datainfo.isHouseholder==ite.dictValue?'act':''" v-for="(ite,idx) in sfList" :key="idx" @click="getSyFn(ite.dictValue)">{{ite.dictLabel}}</view>
  62. <view class="rimg"><image :src="rimg"></image></view>
  63. </view>
  64. </uni-forms-item>
  65. <block v-if="datainfo.isHouseholder!='Y'">
  66. <picker range-key='dictLabel' :disabled="isdisabled" :value="hzgxidx" :range="hzgxList" @change='bindDateChangea'>
  67. <uni-forms-item class="isnobor" label="与户主关系" required name="residentRelationship">
  68. <view class="flexc mh35">
  69. <view class="flex1 txr f13 co27" v-if="datainfo.residentRelationship&&!hzgx">{{statusFormats(datainfo.residentRelationship,hzgxList,'hzgx')}}</view>
  70. <view class="flex1 txr f13" v-else :class="hzgx?'co27':'coa'">{{hzgx||"请选择与户主关系"}}</view>
  71. <view class="rimg"><image :src="rimg"></image></view>
  72. </view>
  73. </uni-forms-item>
  74. </picker>
  75. </block>
  76. </block>
  77. </block>
  78. </view>
  79. <uni-collapse ref="collapse" v-model="value" >
  80. <block>
  81. <view class="chtit">人员信息</view>
  82. <block>
  83. <uni-collapse-item title-border="none" class="chmain">
  84. <template v-slot:title>
  85. <uni-forms-item label="身份证号" required name="residentIdCard">
  86. <view class="flexc">
  87. <uni-easyinput :disabled="isdisabled" v-model="datainfo.residentIdCard" :inputBorder='false' placeholder="自动识别" />
  88. <image v-if='datainfo.idCardBack' :src="baseUrl+datainfo.idCardBack" class="cmico" @click.stop="getPreview(datainfo.idCardBack)"></image>
  89. <image :src="cmico" @click.stop="getaddImage('front')" class="cmico"></image>
  90. </view>
  91. </uni-forms-item>
  92. </template>
  93. <view>
  94. <uni-forms-item label="性别" required name="residentGender">
  95. <view class="flexc">
  96. <view class="flex1"></view>
  97. <uni-data-checkbox :map="map" :disabled="isdisabled" selectedColor="#0156FE" selectedTextColor="#272727" v-model="datainfo.residentGender" :localdata="xbList" />
  98. </view>
  99. </uni-forms-item>
  100. <uni-forms-item label="家庭地址" required name="idCardAddress">
  101. <view class="flexc">
  102. <uni-easyinput disabled v-model="datainfo.idCardAddress" :inputBorder='false' placeholder="自动识别" />
  103. </view>
  104. </uni-forms-item>
  105. <picker range-key='dictLabel' :disabled="isdisabled" :value="rymmidx" :range="rymmList" @change='bindDateChangef'>
  106. <uni-forms-item label="人员面貌" required name="residentAppearance">
  107. <view class="flexc mh35">
  108. <view class="flex1 txr f13 co27" v-if="datainfo.residentAppearance&&!rymm">{{statusFormats(datainfo.residentAppearance,rymmList,'rymm')}}</view>
  109. <view class="flex1 txr f13" v-else :class="rymm?'co27':'coa'">{{rymm||"请选择人员面貌"}}</view>
  110. <view class="rimg"><image :src="rimg"></image></view>
  111. </view>
  112. </uni-forms-item>
  113. </picker>
  114. <picker range-key='dictLabel' :disabled="isdisabled" :value="dslxidx" :range="dslxList" @change='bindDateChangeg'>
  115. <uni-forms-item label="特殊类型" name="specialType">
  116. <view class="flexc mh35">
  117. <view class="flex1 txr f13 co27" v-if="datainfo.specialType&&!dslx">{{statusFormats(datainfo.specialType,dslxList,'dslx')}}</view>
  118. <view class="flex1 txr f13" v-else :class="dslx?'co27':'coa'">{{dslx||"如有五保户等特殊类型,请选择"}}</view>
  119. <view class="rimg"><image :src="rimg"></image></view>
  120. </view>
  121. </uni-forms-item>
  122. </picker>
  123. <uni-forms-item label="工作单位" name="residentEmployer">
  124. <view class="flexc">
  125. <uni-easyinput :disabled="isdisabled" v-model="datainfo.residentEmployer" :inputBorder='false' placeholder="请输入工作单位" />
  126. </view>
  127. </uni-forms-item>
  128. <uni-forms-item label="兴趣爱好" name="residentHobby">
  129. <view class="flexc ml10">
  130. <uni-easyinput type="textarea" :disabled="isdisabled" autoHeight v-model="datainfo.residentHobby" :inputBorder='false' placeholder="请输入兴趣爱好" />
  131. </view>
  132. </uni-forms-item>
  133. <uni-forms-item label="上传头像" name="facePhoto">
  134. <view class="addimgs">
  135. <block v-if="phofile&&phofile.length">
  136. <view class="assimg" v-for="(ite,idx) in phofile" :key="idx" @click="getPreviewa(idx,phofile)">
  137. <image :src="baseUrl+ite" class="img"></image>
  138. <image :src="rdelimg" class="delimg" @click.stop="getDelFn(idx,'fm')"></image>
  139. </view>
  140. </block>
  141. <view class="addbox" @click="getaddImageava">
  142. <image :src="aphoto"></image>
  143. <view>添加图片</view>
  144. </view>
  145. </view>
  146. </uni-forms-item>
  147. </view>
  148. </uni-collapse-item>
  149. </block>
  150. </block>
  151. <block v-if="datainfo.residentType==1&&datainfo.isHouseholder=='Y'">
  152. <view class="chtit">房本信息</view>
  153. <block>
  154. <uni-collapse-item title-border="none" class="chmain">
  155. <template v-slot:title>
  156. <uni-forms-item label="房屋坐落" required name="location">
  157. <view class="flexc">
  158. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.location" :inputBorder='false' placeholder="自动识别" />
  159. <image v-if='houserinfo.houseImage' :src="baseUrl+houserinfo.houseImage" class="cmico" @click.stop="getPreview(houserinfo.houseImage)"></image>
  160. <image :src="cmico" @click.stop="getaddImage('fbxx')" class="cmico"></image>
  161. </view>
  162. </uni-forms-item>
  163. </template>
  164. <view >
  165. <uni-forms-item label="权利人姓名" name="ownerName">
  166. <view class="flexc">
  167. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.ownerName" :inputBorder='false' placeholder="自动识别" />
  168. <view class="rimg"></view>
  169. </view>
  170. </uni-forms-item>
  171. <uni-forms-item label="权利类型" name="rightType">
  172. <picker range-key='dictLabel' :disabled="isdisabled" :value="qllxidx" :range="qllxList" @change='bindDateChange'>
  173. <view class="flexc">
  174. <view class="flex1 txr f13 co27" v-if="houserinfo.rightType&&!qllx">{{statusFormats(houserinfo.rightType,qllxList,'qllx')}}</view>
  175. <view class="flex1 txr f13" v-else :class="qllx?'co27':'coa'">{{qllx||"请选择权利类型"}}</view>
  176. <view class="rimg"><image :src="rimg"></image></view>
  177. </view>
  178. </picker>
  179. </uni-forms-item>
  180. <uni-forms-item label="建筑面积" required name="area">
  181. <view class="flexc">
  182. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.area" :inputBorder='false' placeholder="自动识别" />
  183. <view class="tips">m²</view>
  184. <view class="rimg"></view>
  185. </view>
  186. </uni-forms-item>
  187. <uni-forms-item label="不动产单元号" name="propertyUnitNumber">
  188. <view class="flexc">
  189. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.propertyUnitNumber" :inputBorder='false' placeholder="请输入不动产单元号" />
  190. <view class="rimg"></view>
  191. </view>
  192. </uni-forms-item>
  193. <uni-forms-item label="相关的字第号" name="documentNumber">
  194. <view class="flexc">
  195. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.documentNumber" :inputBorder='false' placeholder="请输入相关的字第号" />
  196. <view class="rimg"></view>
  197. </view>
  198. </uni-forms-item>
  199. <uni-forms-item label="小区名称" name="communityName">
  200. <view class="flexc">
  201. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.communityName" :inputBorder='false' placeholder="请输入小区名称" />
  202. <view class="rimg"></view>
  203. </view>
  204. </uni-forms-item>
  205. <uni-forms-item label="门牌号" required name="detailedAddress">
  206. <view class="flexc">
  207. <uni-easyinput disabled v-model="houserinfo.detailedAddress" :inputBorder='false' placeholder="请输入门牌号" />
  208. <view class="rimg"></view>
  209. </view>
  210. </uni-forms-item>
  211. <uni-forms-item label="使用期限" name="usagePeriod">
  212. <view class="flexc">
  213. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.usagePeriod" :inputBorder='false' placeholder="请输入使用期限" />
  214. <view class="rimg"></view>
  215. </view>
  216. </uni-forms-item>
  217. <uni-forms-item label="登记日期" name="registrationDate">
  218. <!-- <picker mode="timed" :disabled="isdisabled" @change='bindDateChangea'>
  219. <view class="flexc">
  220. <view class="flex1 txr f13" :class="datainfo.registrationDate?'co27':'coa'">{{datainfo.registrationDate||"请选择登记日期"}}</view>
  221. <view class="rimg"><image :src="rimg"></image></view>
  222. </view>
  223. </picker> -->
  224. <!-- :hide-second='true' -->
  225. <view class="flexc">
  226. <uni-datetime-picker :disabled="isdisabled" :class="houserinfo.registrationDate?'co27':'coa'" type="datetime" placeholder="请选择登记日期" :border="false" v-model="houserinfo.registrationDate" />
  227. <view class="rimg"><image :src="rimg"></image></view>
  228. </view>
  229. </uni-forms-item>
  230. <uni-forms-item label="共有姓名" name="coOwner">
  231. <view class="flexc">
  232. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.coOwner" :inputBorder='false' placeholder="请输入共有姓名" />
  233. <view class="rimg"></view>
  234. </view>
  235. </uni-forms-item>
  236. <uni-forms-item label="共有情况" name="coOwnership">
  237. <view class="flexc">
  238. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.coOwnership" :inputBorder='false' placeholder="请输入共有情况" />
  239. <view class="rimg"></view>
  240. </view>
  241. </uni-forms-item>
  242. <uni-forms-item label="房屋状态" name="houseStatus">
  243. <picker range-key='dictLabel' :disabled="isdisabled" :value="fwztidx" :range="fwztList" @change='bindDateChangeb'>
  244. <view class="flexc">
  245. <view class="flex1 txr f13 co27" v-if="houserinfo.houseStatus&&!fwzt">{{statusFormats(houserinfo.houseStatus,fwztList,'fwzt')}}</view>
  246. <view class="flex1 txr f13" v-else :class="fwzt?'co27':'coa'">{{fwzt||"请选择房屋状态"}}</view>
  247. <view class="rimg"><image :src="rimg"></image></view>
  248. </view>
  249. </picker>
  250. </uni-forms-item>
  251. <uni-forms-item label="房屋用途" name="usageType">
  252. <picker range-key='dictLabel' :disabled="isdisabled" :value="fwytidx" :range="fwytList" @change='bindDateChangec'>
  253. <view class="flexc">
  254. <view class="flex1 txr f13 co27" v-if="houserinfo.usageType&&!fwyt">{{statusFormats(houserinfo.usageType,fwytList,'fwyt')}}</view>
  255. <view class="flex1 txr f13" v-else :class="fwyt?'co27':'coa'">{{fwyt||"请选择房屋用途"}}</view>
  256. <view class="rimg"><image :src="rimg"></image></view>
  257. </view>
  258. </picker>
  259. </uni-forms-item>
  260. <uni-forms-item label="有无车位" name="hasParkingSpace">
  261. <picker range-key='dictLabel' :disabled="isdisabled" :value="ywcwidx" :range="ywcwList" @change='bindDateChanged'>
  262. <view class="flexc">
  263. <view class="flex1 txr f13 co27" v-if="houserinfo.hasParkingSpace&&!ywcw">{{statusFormats(houserinfo.hasParkingSpace,ywcwList,'ywcw')}}</view>
  264. <view class="flex1 txr f13" v-else :class="ywcw?'co27':'coa'">{{ywcw||"请选择有/无"}}</view>
  265. <view class="rimg"><image :src="rimg"></image></view>
  266. </view>
  267. </picker>
  268. </uni-forms-item>
  269. <uni-forms-item label="车位号" name="parkingNumber">
  270. <view class="flexc">
  271. <uni-easyinput :disabled="isdisabled" v-model="houserinfo.parkingNumber" :inputBorder='false' placeholder="请输入车位号" />
  272. <view class="rimg"></view>
  273. </view>
  274. </uni-forms-item>
  275. </view>
  276. </uni-collapse-item>
  277. </block>
  278. </block>
  279. </uni-collapse>
  280. <view class="hfbtns flexcj" v-if="datainfo.examine==1&&checkPermi(['wuYe:residentInfo:examineStaff'])">
  281. <view class="btn btn1" @click.stop="getShFn('3')">拒绝</view>
  282. <view class="btn btn2" @click.stop="getShFn('2')">通过</view>
  283. </view>
  284. <!-- <view class="hfbtns flexcj" v-if="datainfo.examine==3&&checkPermi(['wuYe:residentInfo:editAuthentication'])">
  285. <view class="btn btn2" @click.stop="getSubmit">修改提交</view>
  286. </view> -->
  287. </view>
  288. </uni-forms>
  289. <loading></loading>
  290. </view>
  291. </template>
  292. <script>
  293. import config from '@/config'
  294. import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
  295. import {uploadIdentify,uploadmore} from '@/utils/common.js'
  296. import {listNoPageTenant,houseInfoDet,examineResident} from "@/api/work/work.js"
  297. import {gettenantList} from "@/api/login.js"
  298. import {residentInfoDet,authenticationPut} from "@/api/work/people.js"
  299. import {getDictionaryFn} from "@/api/system/user.js"
  300. import {selectValueKey} from "@/utils/common.js"
  301. import {getOcrIdCard,getrealEstateCertificatee} from "@/api/system/card.js"
  302. import wSelect from "@/people/components/w-select/w-select.vue"
  303. export default {
  304. components: {wSelect},
  305. data() {
  306. return {
  307. rimg: require('@/mine/static/house/rimg.png'),
  308. cmico: require('@/mine/static/house/cmico.png'),
  309. aphoto: require('@/service/static/service/photo.png'),
  310. baseUrl: config.baseUrl,
  311. checkflag:true,
  312. backgroundColor: "transparent",
  313. value:'',
  314. datainfo: {
  315. "tenantId":"",//租户id
  316. "residentType":"",//人员类型:1:业主 2:租户 3:其他
  317. "residentName":"",//居住人员姓名
  318. "residentPhone":"",//人员手机号
  319. "houseInfoRedidentList":[],//用户房屋信息集合
  320. "houseId":"",//关联房屋信息表的house_id
  321. "residentRelationship":"",//居住人员与户主的关系,如父子、夫妻等
  322. "isHouseholder":"",//是否是户主 N不是 Y是
  323. "residentIdCard":"",//居住人员身份证号码,18位
  324. // "residentBirthday":"",//居住人员出生日期
  325. "residentGender":'',//居住人员性别:1-男,2-女
  326. // "isTenant":"",//是否是租户:Y-是,N-否
  327. "residentEmployer":"",//居住人员工作单位
  328. "residentAppearance":"",//居住人员面貌,如党员、群众等
  329. "residentHobby":"",//爱好
  330. "facePhoto":"",//人脸地址
  331. "idCardAddress":"",//身份证住址
  332. "specialType":"",//特殊类型
  333. "idCardFront":"",//身份证正面
  334. "idCardBack":"",//身份证反面
  335. },
  336. rules:{
  337. residentType: {rules: [{required: true,errorMessage: '请选择人人员类型' }]},
  338. // residentIdCard: {rules: [{required: true,errorMessage: '请输入身份证号码' }]},
  339. // residentName: {rules: [{required: true,errorMessage: '请输入姓名' }]},
  340. // residentGender: {rules: [{required: true,errorMessage: '请选择性别' }]},
  341. // houseId: {rules: [{required: true,errorMessage: '请选择房屋号' }]},
  342. // detailedAddress: {rules: [{required: true,errorMessage: '请输入居住地址' }]},
  343. // isHouseholder: {rules: [{required: true,errorMessage: '请选择是否户主' }]},
  344. // residentRelationship: {rules: [{required: true,errorMessage: '请选择与户主关系' }]},
  345. residentPhone: {rules: [{required: true,errorMessage: '请输入手机号'}, {pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,errorMessage:'请输入正确的手机号码'}]},
  346. },
  347. hzgx:"",
  348. rylx:"",
  349. hzgxidx:0,
  350. dslxidx:0,
  351. rylxidx:0,
  352. list:[],
  353. phofile:[],
  354. fwlist:[],
  355. rylxList:[],
  356. fwzt:'',
  357. qllx:'',
  358. fwyt:'',
  359. ywcw:'',
  360. hzgx:'',
  361. sfhz:"",
  362. sfzh:"",
  363. rymm:"",
  364. dslx:"",
  365. fwztidx:0,
  366. qllxidx:0,
  367. fwytidx:0,
  368. ywcwidx:0,
  369. hzgxidx:0,
  370. sfzhidx:0,
  371. rymmidx:0,
  372. sfhzidx:0,
  373. dslxidx:0,
  374. fwztList:[],
  375. qllxList:[],
  376. fwytList:[],
  377. hzgxList:[],
  378. sfList:[],
  379. rymmList:[],
  380. dslxList:[],
  381. xbList:[],
  382. ywcwList:[{dictLabel:'有',dictValue:'Y'},{dictLabel:'无',dictValue:'N'},],
  383. isdisabled:false,
  384. ptype:'add',
  385. filterable:true,
  386. chooseValue:'',
  387. map:{text:'dictLabel',value:'dictValue'},
  388. userId:this.$store.state.user.userId,
  389. voList:[],
  390. tenantName:'',
  391. houseInfoRedidentList:[],
  392. fwztList:[],
  393. qllxList:[],
  394. fwytList:[],
  395. sfList:[],
  396. rzflag:false,
  397. choseidx:'',
  398. houserinfo:{
  399. "houseId":'',
  400. "tenantId":"",//租户id
  401. "houseImage":null,//房本照片
  402. "ownerName":null,//权利人姓名
  403. "location":null,//房屋坐落位置
  404. "rightType":null,//权利类型,如所有权、使用权等
  405. "area":null,//房屋面积,单位为平方米
  406. "documentNumber":null,//房屋相关的字第号
  407. "propertyUnitNumber":null,//不动产单元号
  408. "coOwnership":null,//房屋的共有情况,如共有比例等
  409. "usageType":null,//房屋用途,如住宅、商业等
  410. "usagePeriod":null,//房屋使用期限
  411. "registrationDate":null,//房屋登记日期
  412. "coOwner":null,//共有人姓名,多个共有人可以用逗号分隔
  413. "detailedAddress":null,//房屋的详细门牌号
  414. "hasParkingSpace":null,//是否有车位,Y表示有,N表示无
  415. "communityName":null,//房屋所在小区名称
  416. "houseStatus":null,//房屋状态:1-自住,2-出租,3-空闲,4-待售
  417. "parkingNumber":null,//车位号
  418. }
  419. }
  420. },
  421. onLoad: function(e) {
  422. if(e.type){
  423. this.rztype=e.type
  424. this.rzflag=true;
  425. this.datainfo.residentPhone=this.$store.state.user.phonenumber;
  426. this.datainfo.userId=this.$store.state.user.userId;
  427. }else{
  428. // var tenantId=this.$store.state.user.tenantId;
  429. // this.datainfo.tenantId=tenantId;
  430. // this.getRoleNopage(tenantId)
  431. }
  432. this.gettenantList();
  433. if(e.id){
  434. this.id=e.id;
  435. this.ptype="edit";
  436. // this.isdisabled=true;
  437. this.getDetail()
  438. }
  439. this.init()
  440. },
  441. onPageScroll(e) {
  442. var scrollTop = Number(e.scrollTop);
  443. if (scrollTop > 0) {
  444. this.backgroundColor = '#48CC9A'
  445. } else {
  446. this.backgroundColor = 'transparent'
  447. }
  448. },
  449. methods: {
  450. checkPermi,
  451. checkRole,
  452. getEditFn(){
  453. this.isdisabled=false;
  454. },
  455. getSyFn(e){
  456. this.datainfo.isHouseholder=e
  457. console.log(this.datainfo.isHouseholder)
  458. },
  459. getShFn(type){
  460. var that=this;
  461. var params=JSON.parse(JSON.stringify(this.datainfo))
  462. params.examine=type;
  463. examineResident(params).then(res=>{
  464. if(res.code==200){
  465. this.$toast('审核成功')
  466. setTimeout(function() {
  467. uni.$emit('refHouseList')
  468. uni.navigateBack({
  469. delta:1
  470. })
  471. }, 1500);
  472. }
  473. })
  474. },
  475. getChose(idx){
  476. this.choseidx=idx;
  477. },
  478. getAddfb(){
  479. var obj={
  480. "ownerName":"",//权利人姓名
  481. "location":"",//房屋坐落位置
  482. "rightType":"",//权利类型,如所有权、使用权等
  483. "area":"",//房屋面积,单位为平方米
  484. "documentNumber":"",//房屋相关的字第号
  485. "propertyUnitNumber":"",//不动产单元号
  486. "coOwnership":"",//房屋的共有情况,如共有比例等
  487. "usageType":"",//房屋用途,如住宅、商业等
  488. "usagePeriod":"",//房屋使用期限
  489. "registrationDate":"",//房屋登记日期
  490. "coOwner":"",//共有人姓名,多个共有人可以用逗号分隔
  491. "detailedAddress":"",//房屋的详细门牌号
  492. "hasParkingSpace":"",//是否有车位,Y表示有,N表示无
  493. "communityName":"",//房屋所在小区名称
  494. "houseStatus":"",//房屋状态:1-自住,2-出租,3-空闲,4-待售
  495. "parkingNumber":'',//车位号
  496. }
  497. this.houseInfoRedidentList.push(obj)
  498. },
  499. getDelfb(idx){
  500. this.houseInfoRedidentList.splice(idx,1)
  501. },
  502. statusFormats(data, list,type) {
  503. var aite=selectValueKey(list, data);
  504. if(type=='qllx'){
  505. this.qllxidx=aite.key;
  506. }else if(type=='rylx'){
  507. this.rylxidx=aite.key;
  508. }else if(type=='hzgx'){
  509. this.hzgxidx=aite.key;
  510. }else if(type=='fwzt'){
  511. this.fwztidx=aite.key;
  512. }else if(type=='fwyt'){
  513. this.fwytidx=aite.key;
  514. }else if(type=='ywcw'){
  515. this.ywcwidx=aite.key;
  516. }else if(type=='tenant'){
  517. this.tenantName=aite.actions;
  518. }else if(type=='rymm'){
  519. this.rymmidx=aite.key;
  520. }else if(type=='dslx'){
  521. this.dslxidx=aite.key;
  522. }
  523. return aite.actions;
  524. },
  525. getchangea(e){
  526. var tenantId=this.datainfo.tenantId;
  527. this.datainfo.tenantId=e.dictValue;
  528. this.houserinfo.communityName=e.dictLabel;
  529. // 业主或租户
  530. if(this.datainfo.residentType!=3){
  531. this.listNoPageTenant(e.dictValue)
  532. }
  533. },
  534. getchange(e){
  535. this.datainfo.houseId=e.dictValue;
  536. this.datainfo.detailedAddress=e.dictLabel;
  537. this.houserinfo.detailedAddress=e.dictLabel;
  538. this.houserinfo.houseId=e.dictValue;
  539. this.houserinfo.location=e.location;
  540. },
  541. // 获取租户列表
  542. gettenantList(){
  543. gettenantList().then(res=>{
  544. if(res.code==200){
  545. if(res.data.voList&&res.data.voList.length){
  546. this.voList = res.data.voList.map(v => {
  547. return {
  548. dictLabel: v.companyName,
  549. dictValue: v.tenantId
  550. }
  551. })
  552. }
  553. }else{
  554. this.$toast(res.msg)
  555. }
  556. })
  557. },
  558. listNoPageTenant(id){
  559. var params={
  560. tenantId:id,
  561. }
  562. listNoPageTenant(params).then(res=>{
  563. if(res.code==200){
  564. this.fwlist= res.data.map(v => {
  565. return {
  566. dictLabel: v.detailedAddress,
  567. dictValue: v.houseId,
  568. location: v.location
  569. }
  570. })
  571. // if(res.rows&&res.rows.length<2){
  572. // var newObj=res.rows[0];
  573. // this.datainfo.houseId=newObj.houseId;
  574. // this.datainfo.detailedAddress=newObj.detailedAddress
  575. // }
  576. }
  577. })
  578. },
  579. init(){
  580. // 人员类型
  581. getDictionaryFn('resident_Type').then(res=>{
  582. if(res.code==200){
  583. this.rylxList = res.data.map(v => {
  584. return {
  585. dictLabel: v.dictLabel,
  586. dictValue: v.dictValue
  587. }
  588. })
  589. }
  590. })
  591. // 是否
  592. getDictionaryFn('sys_yes_no').then(res=>{
  593. if(res.code==200){
  594. this.sfList = res.data.map(v => {
  595. return {
  596. dictLabel: v.dictLabel,
  597. dictValue: v.dictValue
  598. }
  599. })
  600. }
  601. })
  602. //户主关系
  603. getDictionaryFn('relationship_householder').then(res=>{
  604. if(res.code==200){
  605. this.hzgxList = res.data.map(v => {
  606. return {
  607. dictLabel: v.dictLabel,
  608. dictValue: v.dictValue
  609. }
  610. })
  611. }
  612. })
  613. // 房屋状态
  614. getDictionaryFn('house_status').then(res=>{
  615. if(res.code==200){
  616. this.fwztList = res.data.map(v => {
  617. return {
  618. dictLabel: v.dictLabel,
  619. dictValue: v.dictValue
  620. }
  621. })
  622. }
  623. })
  624. //权利类型
  625. getDictionaryFn('types_rights').then(res=>{
  626. if(res.code==200){
  627. this.qllxList = res.data.map(v => {
  628. return {
  629. dictLabel: v.dictLabel,
  630. dictValue: v.dictValue
  631. }
  632. })
  633. }
  634. })
  635. //房屋用途
  636. getDictionaryFn('use_remises').then(res=>{
  637. if(res.code==200){
  638. this.fwytList = res.data.map(v => {
  639. return {
  640. dictLabel: v.dictLabel,
  641. dictValue: v.dictValue
  642. }
  643. })
  644. }
  645. })
  646. //人员面貌
  647. getDictionaryFn('affiliation_personnel').then(res=>{
  648. if(res.code==200){
  649. this.rymmList = res.data.map(v => {
  650. return {
  651. dictLabel: v.dictLabel,
  652. dictValue: v.dictValue
  653. }
  654. })
  655. }
  656. })
  657. // 特殊类型
  658. getDictionaryFn('special_type').then(res=>{
  659. if(res.code==200){
  660. this.dslxList = res.data.map(v => {
  661. return {
  662. dictLabel: v.dictLabel,
  663. dictValue: v.dictValue
  664. }
  665. })
  666. }
  667. })
  668. //性别
  669. getDictionaryFn('gender').then(res=>{
  670. if(res.code==200){
  671. this.xbList = res.data.map(v => {
  672. return {
  673. dictLabel: v.dictLabel,
  674. dictValue: Number(v.dictValue)
  675. }
  676. })
  677. }
  678. })
  679. },
  680. getBackFn(){
  681. uni.navigateBack({
  682. delta:1
  683. })
  684. },
  685. bindDateChange(e){
  686. var val=e.detail.value;
  687. this.houserinfo.rightType=this.qllxList[val].dictValue;
  688. this.qllx=this.qllxList[val].dictLabel;
  689. },
  690. bindDateChangea(e){
  691. var val=e.detail.value;
  692. this.houserinfo.registrationDate=val;
  693. },
  694. bindDateChangeb(e){
  695. var val=e.detail.value;
  696. this.houserinfo.houseStatus=this.fwztList[val].dictValue;
  697. this.fwzt=this.fwztList[val].dictLabel;
  698. },
  699. bindDateChangec(e){
  700. var val=e.detail.value;
  701. this.houserinfo.usageType=this.fwytList[val].dictValue;
  702. this.fwyt=this.fwytList[val].dictLabel;
  703. },
  704. bindDateChanged(e){
  705. var val=e.detail.value;
  706. this.houserinfo.hasParkingSpace=this.ywcwList[val].dictValue;
  707. this.ywcw=this.ywcwList[val].dictLabel;
  708. },
  709. bindDateChangee(e){
  710. var val=e.detail.value;
  711. this.datainfo.residentType=this.rylxList[val].dictValue;
  712. this.rylx=this.rylxList[val].dictLabel;
  713. },
  714. bindDateChangef(e){
  715. var val=e.detail.value;
  716. this.datainfo.residentAppearance=this.rymmList[val].dictValue;
  717. this.rymm=this.rymmList[val].dictLabel;
  718. },
  719. bindDateChangeg(e){
  720. var val=e.detail.value;
  721. this.datainfo.specialType=this.dslxList[val].dictValue;
  722. this.dslx=this.dslxList[val].dictLabel;
  723. },
  724. getDetail(){
  725. residentInfoDet(this.id).then(res=>{
  726. if(res.code==200){
  727. this.datainfo=res.data;
  728. if(res.data.facePhoto){
  729. this.phofile=res.data.facePhoto.split(',')
  730. }
  731. var data=JSON.parse(JSON.stringify(res.data))
  732. if(data.residentType!=3){
  733. this.listNoPageTenant(data.tenantId)
  734. }
  735. if(res.data.houseInfoRedidentList&&res.data.houseInfoRedidentList.length&&res.data.houseInfoRedidentList[0]){
  736. var houseinfo=res.data.houseInfoRedidentList[0]
  737. this.houserinfo=JSON.parse(JSON.stringify(houseinfo))
  738. }
  739. }
  740. })
  741. },
  742. getSubmit(){
  743. var that=this;
  744. this.$refs.form.validate().then(res => {
  745. var params=JSON.parse(JSON.stringify(this.datainfo))
  746. var phofile=JSON.parse(JSON.stringify(this.phofile))
  747. // if(phofile&&phofile.length){
  748. // params.facePhoto=this.phofile.join(',');
  749. // }
  750. params.facePhoto=this.phofile.join(',');
  751. if(!params.tenantId){
  752. this.$toast('请选择小区名称')
  753. return
  754. }
  755. if(params.residentType==1&&params.isHouseholder=='Y'){
  756. var houserinfo=JSON.parse(JSON.stringify(this.houserinfo))
  757. if(!houserinfo.location){
  758. this.$toast('请输入房屋坐落')
  759. return
  760. }
  761. if(!houserinfo.area){
  762. this.$toast('请输入房屋面积')
  763. return
  764. }
  765. if(!houserinfo.detailedAddress){
  766. this.$toast('请输入详细门牌号')
  767. return
  768. }
  769. houserinfo.tenantId=params.tenantId;
  770. var newarr=[]
  771. newarr.push(houserinfo)
  772. params.houseInfoRedidentList=JSON.parse(JSON.stringify(newarr))
  773. }
  774. if(params.residentType==2){
  775. params.isTenant='Y'
  776. }else{
  777. params.isTenant=''
  778. }
  779. // if(!params.detailedAddress){
  780. // this.$toast('请选择居住门户')
  781. // return
  782. // }
  783. // let _IDRe18 =
  784. // /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/
  785. // let _IDre15 = /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/
  786. // // 校验身份证:
  787. // if (params.residentIdCard&&!_IDRe18.test(params.residentIdCard) && !_IDre15.test(params.residentIdCard)) {
  788. // this.$toast("请输入正确身份证号")
  789. // return
  790. // }
  791. if(this.ptype=='add'){
  792. if(this.rzflag){
  793. residentInfoAdd(params).then(res=>{
  794. if(res.code==200){
  795. this.$toast("新增成功")
  796. setTimeout(function(){
  797. uni.$emit("residentInfoList")
  798. var initFace='';
  799. that.$store.dispatch('checkInitFace', initFace).then(() => {
  800. })
  801. uni.navigateBack({
  802. delta:1
  803. })
  804. },1500)
  805. }
  806. })
  807. }else{
  808. }
  809. }else{
  810. if(this.rzflag){
  811. params.isFilter=true;
  812. residentInfoPut(params).then(res=>{
  813. if(res.code==200){
  814. this.$toast("修改成功")
  815. setTimeout(function(){
  816. uni.$emit("residentInfoList")
  817. var initFace='';
  818. that.$store.dispatch('checkInitFace', initFace).then(() => {
  819. })
  820. uni.navigateBack({
  821. delta:1
  822. })
  823. },1500)
  824. }
  825. })
  826. }else{
  827. authenticationPut(params).then(res=>{
  828. if(res.code==200){
  829. this.$toast("修改成功")
  830. setTimeout(function(){
  831. uni.$emit("residentInfoList")
  832. uni.navigateBack({
  833. delta:1
  834. })
  835. },1500)
  836. }
  837. })
  838. }
  839. }
  840. })
  841. },
  842. getPreviewa(idx,arr) {
  843. var newArr=[];
  844. arr.forEach(ite=>{
  845. var ds=this.baseUrl+ite
  846. newArr.push(ds)
  847. })
  848. uni.previewImage({
  849. urls: newArr,
  850. current:idx,
  851. success: function(data) {},
  852. fail: function(err) {}
  853. });
  854. },
  855. getPreview(img) {
  856. var newArr=[];
  857. var url=this.baseUrl+img
  858. newArr.push(url)
  859. uni.previewImage({
  860. urls: newArr,
  861. current:0,
  862. success: function(data) {},
  863. fail: function(err) {}
  864. });
  865. },
  866. getDelFn(idx,type){
  867. var that=this;
  868. uni.showModal({
  869. title: '确认删除',
  870. content: "是否确认删除",
  871. cancelText: '取消',
  872. confirmText: '确认',
  873. success: function(res) {
  874. if (res.confirm) {
  875. that.phofile.splice(idx,1)
  876. } else if (res.cancel) {
  877. }
  878. }
  879. });
  880. },
  881. getaddImageava(type){
  882. if(this.isdisabled){
  883. return
  884. }
  885. let that = this;
  886. let file =[],count=9
  887. uni.chooseImage({
  888. success:function(res){
  889. let img= res.tempFilePaths;
  890. if(img.length + file.length > count){
  891. uni.showToast({
  892. title: '最多上传'+count+'张图片',
  893. icon: 'none',
  894. duration: 2000
  895. })
  896. }else{
  897. let imglen = res.tempFilePaths.length;
  898. var fuwufile = [];
  899. uploadmore('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
  900. that.phofile = that.phofile.concat(rs);
  901. })
  902. }
  903. }
  904. });
  905. },
  906. getaddImage(type){
  907. if(this.isdisabled){
  908. return
  909. }
  910. let that = this;
  911. let file =[],count=9
  912. uni.chooseImage({
  913. count: 1,
  914. success:function(res){
  915. let img= res.tempFilePaths;
  916. if(img.length + file.length > count){
  917. uni.showToast({
  918. title: '最多上传'+count+'张图片',
  919. icon: 'none',
  920. duration: 2000
  921. })
  922. }else{
  923. let imglen = res.tempFilePaths.length;
  924. var fuwufile = [];
  925. uploadIdentify('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
  926. var resurl=rs[0];
  927. if(type=='front'){
  928. that.datainfo.idCardBack = resurl.fileName;
  929. if (rs && rs.length > 0) {
  930. var obj = {
  931. type:type,
  932. url: resurl.urlOnline
  933. }
  934. that.getOcrIdCard(obj)
  935. }
  936. }else{
  937. that.houserinfo.houseImage=resurl.fileName
  938. }
  939. // if(rs&&rs.length>0){
  940. // var obj={
  941. // url:resurl.urlOnline
  942. // }
  943. // that.getOcrIdCardfz(obj)
  944. // }
  945. })
  946. }
  947. }
  948. });
  949. },
  950. getOcrIdCard(obj) {
  951. var params = {
  952. image: obj.url,
  953. idCardSide: obj.type
  954. }
  955. getOcrIdCard(params).then(res => {
  956. if (res.code == 200) {
  957. var datainfo = res.data;
  958. if (obj.type == 'front') {
  959. this.datainfo.residentName = datainfo.realName;
  960. this.datainfo.residentIdCard = datainfo.idCard;
  961. this.datainfo.idCardAddress = datainfo.address;
  962. // } else {
  963. // this.datainfo.expirationDate = datainfo.expirationDate
  964. }
  965. }
  966. })
  967. },
  968. getOcrIdCardfz(obj){
  969. var params={
  970. image:obj.url
  971. }
  972. getrealEstateCertificatee(params).then(res=>{
  973. if(res.code==200){
  974. var datainfo=res.data;
  975. // var obj=JSON.parse(JSON.stringify(this.houseInfoRedidentList[idx]))
  976. this.houserinfo.ownerName=datainfo.ownerName;
  977. this.houserinfo.location=datainfo.location;
  978. this.houserinfo.rightType=datainfo.rightType;
  979. this.houserinfo.area=datainfo.area;
  980. this.houserinfo.documentNumber=datainfo.documentNumber;
  981. this.houserinfo.propertyUnitNumber=datainfo.propertyUnitNumber;
  982. this.houserinfo.coOwnership=datainfo.coOwnership;
  983. this.houserinfo.usageType=datainfo.usageType;
  984. this.houserinfo.usagePeriod=datainfo.usagePeriod;
  985. this.houserinfo.registrationDate=datainfo.registrationDate;
  986. this.houserinfo.coOwner=datainfo.coOwner;
  987. // this.houseInfoRedidentList.splice(idx,1,obj)
  988. }
  989. })
  990. },
  991. }
  992. }
  993. </script>
  994. <style>
  995. page{background: #F3F3F0;}
  996. </style>
  997. <style lang="scss" scoped>
  998. .coa /deep/ .uni-date__x-input{text-align: right;color: #AAAAAA;}
  999. .check /deep/ .select-wrap{border: none;width: 100%;}
  1000. .mh35{min-height: 70rpx;display: flex;align-items: center;}
  1001. .check /deep/ .uni-forms-item{min-height: 106rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;border-bottom: 2rpx solid #E6E6E6;padding:10rpx 0;}
  1002. .check .cbox .chmain /deep/ .isnobor{border: none;}
  1003. .check /deep/ .uni-forms-item__label{font-weight: bold;font-size: 26rpx;color: #222327;flex: 0 0 auto;width: auto !important;}
  1004. .check /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 26rpx;color: #222327;}
  1005. .check /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 26rpx;}
  1006. .check /deep/ .uni-easyinput__placeholder-class{font-size: 26rpx;color: #AAAAAA;}
  1007. .check /deep/ .uni-input-input{font-size: 26rpx;}
  1008. .check /deep/ .uni-textarea-textarea{font-size: 26rpx;}
  1009. .check /deep/ .is-disabled{color: #222327;background-color: #ffffff !important;}
  1010. .check /deep/ .uni-data-checklist .checklist-group .checklist-box{margin:10rpx 8rpx 10rpx 16rpx;}
  1011. .check /deep/ .uni-data-checklist{flex: 0 0 auto;}
  1012. .check /deep/ .is-required{font-size: 26rpx;color: #F40027;margin-right: 4rpx;}
  1013. .check /deep/ .uni-collapse{background-color: transparent;}
  1014. // .check /deep/ .uni-collapse .chmain{margin-bottom: 24rpx;}
  1015. .check{min-height: 100vh;box-sizing: border-box;padding: 20rpx 18rpx 54rpx;}
  1016. .cbox{
  1017. .chtit{font-weight: 500;font-size: 24rpx;color: #666666;padding:20rpx 14rpx;}
  1018. .chmain{
  1019. padding: 0rpx 28rpx;background: #FFFFFF;border-radius: 20rpx;
  1020. .rimg{width: 16rpx;height: 28rpx;flex: 0 0 auto;margin-left: 20rpx;
  1021. image{width: 100%;height: 100%;}
  1022. }
  1023. }
  1024. .hbtns{font-weight: bold;display: flex;align-items: center;justify-content: center;font-size: 26rpx;height: 88rpx;border-radius: 20rpx;box-sizing: border-box;
  1025. &.bga{border: 1px solid #0256FD;color: #FFFFFF;background: #0256FD;}
  1026. &.bgb{border: 1px solid #0256FD;color: #0256FD;background: #CADBFF;}
  1027. }
  1028. .sylist{background: #F0F0F0;border-radius: 26rpx;border:2rpx solid #DADADA;margin-left: 26rpx;font-weight: 500;min-width:112rpx;height: 54rpx;box-sizing: border-box;
  1029. font-size: 26rpx;
  1030. color: #666666;
  1031. &.act{border: 2rpx solid #0256FD;background: #DCE8FF;color: #0256FD;}
  1032. }
  1033. .cmico{width: 48rpx;height: 48rpx;margin-left: 16rpx;}
  1034. .delbox{padding: 12rpx 32rpx;
  1035. image{width: 26rpx;height: 26rpx;margin-right: 14rpx;}
  1036. view{font-weight: 500;font-size: 26rpx;color: #FF6969;}
  1037. }
  1038. }
  1039. .addbox{width: 160rpx;height: 128rpx;background: #F0F0F0;border-radius: 20rpx;display: flex;flex-direction: column;align-items: center;justify-content: center;margin-left: 24rpx;margin-bottom: 20rpx;flex: 0 0 auto;
  1040. image{width: 48rpx;height: 42rpx;margin-bottom: 12rpx;}
  1041. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  1042. }
  1043. .addimgs{display: flex;align-items: center;flex-wrap: wrap;justify-content: flex-end;
  1044. .assimg{width: 128rpx;height: 128rpx;position: relative;overflow: hidden;margin: 0 0 20rpx 24rpx;
  1045. .img{width: 100%;height: 100%;}
  1046. .delimg{width: 24rpx;height: 24rpx;position: absolute;right: 0;top: 0;}
  1047. }
  1048. }
  1049. .hfbtns{margin-top: 60rpx;
  1050. .btn{height: 88rpx;background: #FFF8F8;border-radius: 20rpx;width: 316rpx;display: flex;align-items: center;justify-content: center;font-weight: bold;
  1051. font-size: 26rpx;box-sizing: border-box;
  1052. &.btn1{border: 2rpx solid #FF6969;background: #FFF8F8;color: #FF6969;}
  1053. &.btn2{background: #0256FD;color: #ffffff;}
  1054. }
  1055. }
  1056. </style>