recordpeople.vue 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618
  1. <template>
  2. <view class="index">
  3. <!-- <u-navbar :background="background" title-color="#ffffff" back-icon-color="#ffffff" >
  4. <view class="nav_box">
  5. <view class="nav_boxa" :class="navidx==1?'act':''" @click="navcheck(1)">
  6. <image :src="navbg" class="nav_boxb"></image>
  7. <view class="nav_boxa1">户籍信息</view>
  8. </view>
  9. <view class="nav_boxa" :class="navidx==0?'act':''" @click="navcheck(0)">
  10. <image :src="navbg" class="nav_boxb"></image>
  11. <view class="nav_boxa1">常住信息</view>
  12. </view>
  13. </view>
  14. </u-navbar> -->
  15. <p style="height: 20upx; background-color: #f2f2f2;"></p>
  16. <view class="sous_sear" @click="getSearch">
  17. <view class="sous_tit">筛选查询</view>
  18. <input placeholder="请选择筛选条件" class="sous_input" disabled/>
  19. <image :src="searimg" class="sous_img"></image>
  20. </view>
  21. <p style="height: 28upx; background-color: #f2f2f2;"></p>
  22. <!-- <div class="tabld">
  23. <view :class="[currentTab==index ? 'one_tabhu ' : '']" v-for="(item,index) in tabsta" :key="index" @click="changeTab(index)">
  24. <text>{{item.text}}</text>
  25. <text style="color: #AAAAAA;">{{item.nume}}</text>
  26. </view>
  27. </div> -->
  28. <div class="tabld">
  29. <view :class="navidx==1?'one_tabhu':''" @click="navcheck(1)">
  30. <text>户籍信息</text>
  31. </view>
  32. <view :class="navidx==0?'one_tabhu':''" @click="navcheck(0)">
  33. <text>常驻信息</text>
  34. </view>
  35. </div>
  36. <view class="tab">
  37. <!-- //表格 -->
  38. <view class="exele">
  39. <view class="box">
  40. <table @change="change">
  41. <tr class="tr_one">
  42. <!-- <th style="width: 130upx; text-align: center;">编号</th> -->
  43. <th style="width: 100upx; text-align: center;">姓名</th>
  44. <th style="width: 80upx; text-align: center;">性别</th>
  45. <th style="width: 270upx; text-align: center;">身份证号</th>
  46. <th style="width: 170upx; text-align: center;">联系方式</th>
  47. <!-- <th style="width: 100upx;">联系方式</th> -->
  48. <th style="width: 50upx; text-align: center;">操作</th>
  49. <!-- <th style="width: 60upx;">查看</th> -->
  50. </tr>
  51. <view class="scrollbox">
  52. <scroll-view scroll-y class="scroll-view" upper-threshold="40" lower-threshold="40" @scrolltolower="bot_btn">
  53. <tr v-for="(item,index) in list" :key="index" :class=" [index%2 ==0 ? 'two_tr two_trtwo':'two_tr']" @click="chakn(item)">
  54. <!-- <td style="width: 130upx; text-align: center;" >{{ item.code == null ? '暂无信息' : item.code}}</td> -->
  55. <td style="width: 100upx; text-align: center;" >{{ item.userName == null ? '暂无信息' : item.userName}}</td>
  56. <td style="width: 80upx; text-align: center;" >{{ item.gender == null ? '暂无信息' : item.gender}}</td>
  57. <!-- <td style="width: 40upx; text-align: center;">{{item.gender == null? '暂无信息' : item.gender }}</td> -->
  58. <td style="width: 270upx; text-align: center;">{{item.idCard == null? '暂无信息' : item.idCard }}</td>
  59. <td style="width: 170upx; text-align: center;" >{{ item.phoneNum == null? '暂无信息' : item.phoneNum}}</td>
  60. <!-- <td style="width: 100upx;" :class="[item.phone == '' ? 'tdse' : '' ]" >{{ item.phone == ''? '未完善' : item.phone}}</td> -->
  61. <!-- <td style="width: 100upx; text-align: center;" :class="[item.addtime == null ? 'tdse' : item.addtime == ''? 'tdse' : '' ]">{{ item.addtime ==null ? '未完善' : item.addtime==''? '未完善' : item.addtime}}</td> -->
  62. <!-- <td style="width: 50upx;" class="coiu" @click.stop="dele(item.id)">删除</td> -->
  63. <td style="width: 50upx; color: #32B16C;" @click.stop="goDetail(item)">查看</td>
  64. </tr>
  65. <div class="shax" v-if="list.length>0">
  66. {{wtdt}}
  67. </div>
  68. <div class="zanwu " v-else><span>暂无数据</span></div>
  69. </scroll-view>
  70. <!-- 水印 -->
  71. <view class="syone" v-if="list.length>0">{{telephone}}</view>
  72. <view class="sytwo" v-if="list.length>0">{{telephone}}</view>
  73. <view class="sythree" v-if="list.length>0">{{telephone}}</view>
  74. </view>
  75. </table>
  76. </view>
  77. </view>
  78. </view>
  79. <div class="xinse" @click="addVacFrom">新增户主</div>
  80. <!-- <div class="xinse" @click.stop="showPicker($event)">选择地址</div> -->
  81. <!-- 弹窗 -->
  82. <!-- 搜索弹窗 -->
  83. <view class='bgbox' v-if="searchflag" @click="getSearClose"></view>
  84. <view class="searfixed" v-if="searchflag">
  85. <view class="searf_top">
  86. <view class="searf_topl" @click="getSearClose">
  87. <image :src="searimg"></image>
  88. </view>
  89. <view class="searf_topr" @click="getClearFn">重置</view>
  90. </view>
  91. <view class="searf_cen">
  92. <view class="searf_cenli">
  93. <view class="searf_cenlitit">身份证号</view>
  94. <input placeholder="请输入身份证号" type="text" value="" v-model="params.idCard" class="searf_cenlin"/>
  95. </view>
  96. <view class="searf_cenli">
  97. <view class="searf_cenlitit">人员姓名</view>
  98. <input placeholder="请输入人员姓名" type="text" value="" v-model="params.userName" class="searf_cenlin"/>
  99. </view>
  100. <view class="searf_cenli" v-if="roles">
  101. <view class="searf_cenlitit">手机号</view>
  102. <input placeholder="请输入手机号进行查询" maxlength="11" type="number" value="" v-model="params.phoneNum" class="searf_cenlin"/>
  103. </view>
  104. <view class="searf_cenli">
  105. <view class="searf_cenlitit" v-if="navidx==0">居住地址</view>
  106. <view class="searf_cenlitit" v-else>户籍地址</view>
  107. <view class="searf_cenlin" @click="showPicker">
  108. <view class="addsa" :style="searchresult?'':'color:#AAAAAA;'">{{searchresult||'选择区域'}}</view>
  109. <image :src="rimg" class="addsimg"></image>
  110. </view>
  111. </view>
  112. <!-- 是否是户主选择 -->
  113. <view class="searf_cenli">
  114. <view class="searf_cenlitit">是否户主</view>
  115. <view class="searf_cenlin" @click="showHouse">
  116. <view class="addsa" :style="params.houseType?'':'color:#AAAAAA;'">{{params.houseType||'选择是否户主'}}</view>
  117. <image :src="rimg" class="addsimg"></image>
  118. </view>
  119. </view>
  120. <!-- 是否确认 -->
  121. <view class="searf_cenli">
  122. <view class="searf_cenlitit">是否确认</view>
  123. <view class="searf_cenlin" @click="showSure">
  124. <view class="addsa" v-if="params.isConfirm" >{{params.isConfirm=='Y'?'是':'否'}}</view>
  125. <view class="addsa" v-else style="color:#AAAAAA">选择是否确认</view>
  126. <image :src="rimg" class="addsimg"></image>
  127. </view>
  128. </view>
  129. <!-- 人员类别 -->
  130. <view class="searf_cenli">
  131. <view class="searf_cenlitit" style="min-width: 180rpx;">人员类别</view>
  132. <uni-data-checkbox multiple v-model="keyvalue" :localdata="keycategory" >
  133. </uni-data-checkbox>
  134. </view>
  135. </view>
  136. <view class="searf_fot" @click="Seach">查询</view>
  137. </view>
  138. <view class="bgbox" v-if="houseflag"></view>
  139. <!-- 是否户主 -->
  140. <selectPicker ref="houseselet" :list="houselist" title="请选择" @vacChange="vacHouseChange"></selectPicker>
  141. <!-- 是否确认 -->
  142. <selectPicker ref="sureselet" :list="surelist" title="请选择" @vacChange="vacSureChange"></selectPicker>
  143. <!-- 选择查看 -->
  144. <view class="housebox" v-if="houseflag">
  145. <view class="house_tit">
  146. <view class="house_titl" @click="getClose">取消</view>
  147. <view class="house_titc">请选择</view>
  148. <view class="house_titr"></view>
  149. </view>
  150. <view class="houselist" @click="getCheck(0)">查看修改</view>
  151. <!-- <view class="houselist" @click="getCheck(1)" v-if="housetypflag">查看家庭成员</view> -->
  152. <view class="houselist" @click="getCheck(1)">查看家庭成员</view>
  153. <view class="houselist" @click="getCheck(2)" v-if="housetypflag">添加家庭成员</view>
  154. <view class="houselist" @click="getCheck(3)" v-if="navidx==1&&currentTab!=2">变更记录</view>
  155. </view>
  156. <!-- 乡镇 -->
  157. <!-- <selectPicker ref="townsselet" :list="townslist" title="请选择乡镇" @vacChange="vacTownsChange"></selectPicker> -->
  158. <!-- 村 -->
  159. <selectPicker ref="villageselet" :list="villagelist" title="请选择村(居)" @vacChange="vacVillageChange"></selectPicker>
  160. <selectMorePicker
  161. ref="picker"
  162. :title="auiPicker.title"
  163. :layer="auiPicker.layer"
  164. :titflag='auiPicker.titflag'
  165. :data="auiPicker.data"
  166. @callback="pickerCallback"
  167. ></selectMorePicker>
  168. </view>
  169. </template>
  170. <script>
  171. import selectPicker from '@/_components/picker/selectPicker.vue'
  172. import selectMorePicker from '@/_components/picker/selectMorePicker.vue'
  173. export default {
  174. components:{selectPicker,selectMorePicker},
  175. data() {
  176. return {
  177. background: {
  178. backgroundColor: '#009FE8'
  179. },
  180. navidx:1,
  181. navbg:require("@/static/image/titbg.png"),
  182. searimg:require("@/static/image/icon_mine_listenter.png"),
  183. closeimg:require("@/static/image/del.png"),
  184. searchflag:false,
  185. rimg:require('@/static/image/upr.png'),
  186. upimg:require("@/static/image/up.png"),
  187. activeTab: 0, //tab切换
  188. //列表数据
  189. list: [],
  190. roles:false,
  191. show: false,
  192. tabsta: [{
  193. "text": '全部',
  194. "nume": 0
  195. },
  196. {
  197. "text": '已认领',
  198. "nume": 0
  199. },
  200. {
  201. "text": '未认领',
  202. "nume": 0
  203. },
  204. ],
  205. currentTab: 0, //tab切换
  206. Collected: false, //判断已采集未采集 false 已采集 true未采集
  207. params: { //上拉刷新
  208. pageNum: 1,
  209. pageSize: 20,
  210. idCard:'',
  211. queryType:'hj',
  212. houseType:'',
  213. isConfirm:'',
  214. userName:'',
  215. isRl:'',
  216. phoneNum:'',
  217. keyCategory:''
  218. },
  219. villageTowns:'',
  220. village:'',
  221. keyword: '',
  222. haveMore: true,
  223. wtdt: '上拉加载更多',
  224. listShow: true, //判断是否有数据 true 有
  225. areaList: {}, //班级数据
  226. xuan: ['请选择', '请选择', '请选择'],
  227. columns: [
  228. ],
  229. cites: [],
  230. tehu: '请选择班级',
  231. companyId: '',
  232. arrbq: [],
  233. startDate:'选择开始时间',
  234. endDate:'选择结束时间',
  235. showtime:false,
  236. minDate:0 ,
  237. maxDate: 0,
  238. currentDate: 0,
  239. shwtie:0,
  240. townslist:[],//乡镇
  241. villagelist:[],//村,
  242. villageTownsId:'',
  243. villageId:'',
  244. gridIdJz:'',//居住片区
  245. villagerGroupIdJz:'',//居住片区下一级
  246. gridId:'',//户籍片区
  247. villagerGroupId: '',//户籍
  248. searchresult:'',//搜索区域显示
  249. houselist:[{
  250. "label": '是',
  251. "value":0
  252. },{
  253. "label": '否',
  254. "value":1
  255. }],
  256. surelist:[{
  257. "label": '是',
  258. "value":'Y'
  259. },{
  260. "label": '否',
  261. "value":'N'
  262. }],
  263. sureselet:false,
  264. houseflag:false,
  265. keyselet:false,
  266. auiPicker: {
  267. title: '选择区域',
  268. layer: null,
  269. titflag:true,
  270. data: []
  271. },
  272. houseobj:{
  273. id:'',
  274. code:''
  275. },
  276. housetypflag:false,
  277. telephone:'',
  278. keycategory:[],//人员类别
  279. keyvalue:[],
  280. };
  281. },
  282. onShow() {
  283. let type = uni.getStorageSync('token')
  284. if (!type) {
  285. uni.reLaunch({
  286. url: '/pages/login/login'
  287. })
  288. }else{
  289. let roles=uni.getStorageSync('roles')||false
  290. this.roles=roles
  291. }
  292. // var iutem = new Date().getFullYear() + 1
  293. // this.maxDate = new Date(iutem,12,1).getTime()
  294. // this.minDate= new Date(2017, 10, 1).getTime()
  295. },
  296. onLoad(option) {
  297. // 水印
  298. this.telephone = uni.getStorageSync('phone')||''
  299. // 水印
  300. // 获取人员列表
  301. this.getKeyCateFn()
  302. // 获取类别
  303. // var value=option.value;
  304. // console.log(value)
  305. if(option.detail==1){
  306. this.params.keyCategory=option.text;
  307. this.keyvalue[0]=option.value
  308. }
  309. uni.$on('refreshData',(data) => {
  310. // this.params.userName='';
  311. // this.params.deptId='';
  312. // this.villageTowns='';
  313. // this.village='';
  314. // this.villageTownsId='';
  315. // this.villageId='';
  316. this.params.pageNum = 1;
  317. // this.currentTab=0;
  318. this.list = []
  319. // 修改 获取列表的
  320. // 获取统计
  321. this.getAlllist()
  322. this.lists(this.params)
  323. })
  324. // this.getTownsFn();
  325. this.params.pageNum = 1
  326. this.list = []
  327. // 修改 获取列表的
  328. // 获取统计
  329. this.getAlllist()
  330. this.lists(this.params)
  331. this.getRegionListFirst()
  332. },
  333. beforeDestroy() {
  334. uni.$off("refreshData")
  335. },
  336. created() {
  337. },
  338. //下拉刷新
  339. // onPullDownRefresh() {
  340. // wx.showNavigationBarLoading()
  341. // this.params.pageNum = 1
  342. // this.shwtie = 0;
  343. // this.params = { //上拉刷新
  344. // pageSize: 20,
  345. // pageNum: 1,
  346. // }, //查询
  347. // this.keyword = ''
  348. // this.list = []
  349. // },
  350. methods: {
  351. getKeyCateFn(){
  352. var that = this;
  353. this.$http.get('system/dict/data/type/key_category').then(res => {
  354. if (res.code == 200) {
  355. this.keycategory = res.data.map(v => {
  356. return {
  357. text: v.dictLabel,
  358. value: v.dictValue
  359. }
  360. })
  361. }
  362. })
  363. },
  364. getSearch(){
  365. this.searchflag=true
  366. },
  367. getSearClose(){
  368. this.searchflag=false
  369. },
  370. getClose(){
  371. this.houseflag=false
  372. },
  373. getSure(){
  374. this.houseflag=false
  375. },
  376. // 查看修改
  377. getCheck(e){
  378. this.houseflag=false
  379. var id=this.houseobj.id;
  380. var code=this.houseobj.code;
  381. if(e==0){
  382. var isnrl=0
  383. if(this.currentTab==2){
  384. isnrl=1
  385. }
  386. uni.navigateTo({
  387. url: '/add/pages/addvacfrom/addpeople?id=' + id+'&isnrl='+isnrl+'&navidx='+this.navidx
  388. })
  389. // uni.navigateTo({
  390. // url: '/add/pages/addvacfrom/addpeople?id=' + id
  391. // })
  392. }else if(e==1){
  393. if(this.housetypflag){
  394. uni.navigateTo({
  395. url: '/home/pages/recordthree/familylist?code='+code
  396. })
  397. }else{
  398. uni.navigateTo({
  399. url: '/home/pages/recordthree/familylist?code='+code+'&nohousetypflag=1'
  400. })
  401. }
  402. }else if(e==2){
  403. // 添加家庭成员
  404. uni.navigateTo({
  405. url: '/add/pages/addvacfrom/addpeople?code='+code
  406. })
  407. }else if(e==3){
  408. uni.navigateTo({
  409. url: '/home/pages/recordthree/changerecord?id='+id
  410. })
  411. }
  412. },
  413. // 是否户主
  414. showHouse(){
  415. this.$refs.houseselet.show()
  416. },
  417. //是否确认
  418. showSure(){
  419. this.$refs.sureselet.show()
  420. },
  421. vacHouseChange(e){
  422. this.params.houseType=e[0].label;
  423. //搜索
  424. // this.list = []
  425. // this.params.pageNum = 1
  426. // this.params.pageSize = 20
  427. // this.lists(this.params);
  428. // this.getAlllist();
  429. },
  430. vacSureChange(e){
  431. this.params.isConfirm=e[0].value;
  432. //搜索
  433. // this.list = []
  434. // this.params.pageNum = 1
  435. // this.params.pageSize = 20
  436. // this.lists(this.params);
  437. // this.getAlllist();
  438. },
  439. getRegionListFirst(){
  440. this.$http.post('boman-system/chinaArea/treeSelect',{pid: 0},true).then(res=>{
  441. this.auiPicker.data=res.data
  442. })
  443. },
  444. //显示picker多级联动弹窗
  445. showPicker(e){
  446. const _this = this;
  447. _this.$refs.picker.open().then(function(){
  448. console.log('picker打开');
  449. });
  450. },
  451. //picker多级联动回调
  452. pickerCallback(e){
  453. const _this = this;
  454. let result = '';
  455. e.data.forEach(function(item, index){
  456. if(index==0){
  457. result += item.name;
  458. }else{
  459. result +='/'+ item.name;
  460. }
  461. });
  462. _this.searchresult=result;
  463. var params={
  464. idCard:this.params.idCard,
  465. queryType:this.params.queryType,
  466. isRl:this.params.isRl,
  467. houseType:this.params.houseType,
  468. isConfirm:this.params.isConfirm,
  469. userName:this.params.userName,
  470. phoneNum:this.params.phoneNum,
  471. keyCategory:this.params.keyCategory,
  472. pageNum:this.params.pageNum,
  473. pageSize:20
  474. }
  475. var length=e.data.length;
  476. // console.log(this.params.queryType,33)
  477. // console.log(e,8)
  478. if(this.params.queryType=='hj'){
  479. switch (length) {
  480. case 0:
  481. break;
  482. case 1:
  483. params.provinceId = e.data[0].areaid;
  484. break;
  485. case 2:
  486. params.cityId = e.data[1].areaid;
  487. break;
  488. case 3:
  489. params.regionId = e.data[2].areaid;
  490. break;
  491. case 4:
  492. params.villageTownsId = e.data[3].areaid;
  493. break;
  494. case 5:
  495. params.villageId = e.data[4].areaid;
  496. break;
  497. case 6:
  498. params.gridId = e.data[5].areaid;
  499. break;
  500. case 7:
  501. params.villagerGroupId = e.data[6].areaid;
  502. break;
  503. default:
  504. break;
  505. }
  506. }else{
  507. switch (length) {
  508. case 0:
  509. break;
  510. case 1:
  511. params.provinceIdXjd = e.data[0].areaid;
  512. break;
  513. case 2:
  514. params.cityIdXjd = e.data[1].areaid;
  515. break;
  516. case 3:
  517. params.regionIdXjd = e.data[2].areaid;
  518. break;
  519. case 4:
  520. params.villageTownsIdXjd = e.data[3].areaid;
  521. break;
  522. case 5:
  523. params.villageIdXjd = e.data[4].areaid;
  524. break;
  525. case 6:
  526. params.gridIdJz = e.data[5].areaid;
  527. break;
  528. case 7:
  529. params.villagerGroupIdJz = e.data[6].areaid;
  530. break;
  531. default:
  532. break;
  533. }
  534. }
  535. //搜索
  536. // this.list = []
  537. this.params=JSON.parse(JSON.stringify(params));
  538. // this.params.pageNum = 1
  539. // this.params.pageSize = 20
  540. // this.lists(this.params);
  541. // this.getAlllist();
  542. },
  543. navcheck(e){
  544. if(this.navidx==e){
  545. return
  546. }
  547. this.navidx=e;
  548. var params={
  549. idCard:this.params.idCard,
  550. queryType:this.params.queryType,
  551. houseType:this.params.houseType,
  552. pageNum: 1,
  553. pageSize: 20,
  554. isRl:this.params.isRl,
  555. isConfirm:this.params.isConfirm,
  556. keyCategory:this.params.keyCategory,
  557. userName:this.params.userName,
  558. phoneNum:this.params.phoneNum
  559. }
  560. // 判断是不是认领的
  561. if(e==0){
  562. params.queryType='cz'
  563. // 常驻
  564. for(var i in this.params){
  565. if(i!='pageNum'&&i!='pageSize'&&i!='isRl'){
  566. if(i=='provinceId'){
  567. params.provinceIdXjd=this.params[i]
  568. }else if(i=='cityId'){
  569. params.cityIdXjd=this.params[i]
  570. }else if(i=='regionId'){
  571. params.regionIdXjd=this.params[i]
  572. }else if(i=='villageTownsId'){
  573. params.villageTownsIdXjd=this.params[i]
  574. }else if(i=='villageId'){
  575. params.villageIdXjd=this.params[i]
  576. }else if(i=='gridId'){
  577. params.gridIdJz=this.params[i]
  578. }else if(i=='villagerGroupId'){
  579. params.villagerGroupIdJz=this.params[i]
  580. }
  581. }
  582. }
  583. // gridIdJz:'',//居住片区
  584. // villagerGroupIdJz:'',//居住片区下一级
  585. // gridId:'',//户籍片区
  586. // villagerGroupId: '',//户籍
  587. }else{
  588. // 户籍
  589. params.queryType='hj'
  590. for(var i in this.params){
  591. if(i!='pageNum'&&i!='pageSize'&&i!='isRl'){
  592. if(i=='provinceIdXjd'){
  593. params.provinceId=this.params[i]
  594. }else if(i=='cityIdXjd'){
  595. params.cityId=this.params[i]
  596. }else if(i=='regionIdXjd'){
  597. params.regionId=this.params[i]
  598. }else if(i=='villageTownsIdXjd'){
  599. params.villageTownsId=this.params[i]
  600. }else if(i=='villageIdXjd'){
  601. params.villageId=this.params[i]
  602. }else if(i=='gridIdJz'){
  603. params.gridId=this.params[i]
  604. }else if(i=='villagerGroupIdJz'){
  605. params.villagerGroupId=this.params[i]
  606. }
  607. }
  608. }
  609. }
  610. this.list = []
  611. this.params=JSON.parse(JSON.stringify(params));
  612. this.$nextTick(function(){
  613. this.getAlllist()
  614. if(this.currentTab==2){
  615. // 未认领
  616. this.getListRyrlFn();
  617. return
  618. }else{
  619. // 认领
  620. this.lists(params)
  621. }
  622. })
  623. },
  624. getClearFn(){
  625. // this.params.userName='';
  626. // this.params.deptId='';
  627. // this.villageTowns='';
  628. // this.village='';
  629. // this.villageTownsId='';
  630. // this.villageId='';
  631. this.searchresult='';
  632. var params={
  633. pageNum: 1,
  634. pageSize: 20,
  635. idCard:'',
  636. queryType:this.params.queryType,
  637. isRl:this.params.isRl,
  638. houseType:'',
  639. isConfirm:'',
  640. keyCategory:"",
  641. userName:'',
  642. phoneNum:''
  643. }
  644. this.keyvalue=[];
  645. // this.list = []
  646. this.params=JSON.parse(JSON.stringify(params));
  647. // this.getAlllist()
  648. // this.lists(this.params)
  649. },
  650. // showTownsSelect(){
  651. // this.$refs.townsselet.show()
  652. // },
  653. // showVillageSelect(){
  654. // if(!this.villageTownsId){
  655. // uni.showToast({
  656. // title:"请先选择乡镇",
  657. // icon:"none"
  658. // })
  659. // return
  660. // }
  661. // this.$refs.villageselet.show()
  662. // },
  663. // getTownsFn(){
  664. // var that=this;
  665. // that.$http.get('boman-system/dept/list/towns').then(res=>{
  666. // if(res.code&&res.code != 200) {
  667. // }else{
  668. // this.townslist = res.map(v=>{
  669. // return {label: v.deptName,value:v.id}
  670. // })
  671. // }
  672. // })
  673. // },
  674. // getVillageFn(){
  675. // var that=this;
  676. // var params={
  677. // deptId:this.villageTownsId
  678. // }
  679. // that.$http.get('boman-system/dept/list/towns',params).then(res=>{
  680. // if(res.code&&res.code != 200) {
  681. // }else{
  682. // this.villagelist = res.map(v=>{
  683. // return {label: v.deptName,value:v.id}
  684. // })
  685. // }
  686. // })
  687. // },
  688. // vacTownsChange(e){
  689. // var id = e[0].value;
  690. // if(this.villageTownsId==id){
  691. // }else{
  692. // this.villageId='';
  693. // this.village='';
  694. // this.villageTowns=e[0].label;
  695. // this.villageTownsId=e[0].value;
  696. // this.params.deptId=e[0].value
  697. // this.getVillageFn();
  698. // this.list = []
  699. // this.params.pageNum = 1;
  700. // this.getAlllist()
  701. // this.lists(this.params)
  702. // }
  703. // },
  704. // vacVillageChange(e){
  705. // var id = e[0].value;
  706. // if(this.villageTownsId==id){
  707. // }else{
  708. // this.village=e[0].label;
  709. // this.villageId=e[0].value;
  710. // this.params.deptId=e[0].value
  711. // this.list = []
  712. // this.params.pageNum = 1;
  713. // this.getAlllist()
  714. // this.lists(this.params)
  715. // }
  716. // },
  717. getAlllist(){
  718. // var params={
  719. // userName:this.params.userName,
  720. // };
  721. // if(this.villageId){
  722. // params.townId=this.villageTownsId
  723. // params.villageId=this.villageId
  724. // }else if(this.villageTownsId){
  725. // params.townId=this.villageTownsId
  726. // }
  727. return
  728. var params={}
  729. for(var i in this.params){
  730. if(i!='pageNum'&&i!='pageSize'&&i!='isRl'){
  731. // if(i=='provinceIdXjd'){
  732. // params.provinceId=this.params[i]
  733. // }else if(i=='cityIdXjd'){
  734. // params.cityId=this.params[i]
  735. // }else if(i=='regionIdXjd'){
  736. // params.regionId=this.params[i]
  737. // }else if(i=='villageTownsIdXjd'){
  738. // params.townId=this.params[i]
  739. // }else if(i=='villageTownsId'){
  740. // params.townId=this.params[i]
  741. // }else if(i=='villageIdXjd'){
  742. // params.villageId=this.params[i]
  743. // }else{
  744. params[i]=this.params[i]
  745. // }
  746. }
  747. }
  748. this.$http.post("boman-web-core/core/ryrl/sts", params).then(res => {
  749. if (res.code == 200) {
  750. this.tabsta[0].nume = res.data.total;
  751. this.tabsta[1].nume = res.data.yrl;
  752. this.tabsta[2].nume = res.data.wrl;
  753. } else {
  754. uni.showToast({
  755. title: res.msg,
  756. duration: 1000,
  757. icon: 'none'
  758. });
  759. }
  760. })
  761. },
  762. goDetail(e) {
  763. // 弹窗弹窗
  764. // 记录选择的
  765. // 判断是不是常驻
  766. if(this.navidx==1){
  767. // 户籍
  768. this.houseflag=true;
  769. this.houseobj.code=e.code;
  770. this.houseobj.id=e.id;
  771. if(e.houseType=='是'){
  772. this.housetypflag=true
  773. }else{
  774. this.housetypflag=false
  775. }
  776. }else{
  777. //常驻
  778. if(e.houseType=='是'){
  779. this.houseflag=true;
  780. this.houseobj.code=e.code;
  781. this.houseobj.id=e.id;
  782. this.housetypflag=true
  783. }else{
  784. this.housetypflag=false
  785. var isnrl=0
  786. if(this.currentTab==2){
  787. isnrl=1
  788. }
  789. uni.navigateTo({
  790. url: '/add/pages/addvacfrom/addpeople?id=' + e.id+'&isnrl='+isnrl+'&navidx='+this.navidx
  791. })
  792. }
  793. // 未认领
  794. }
  795. },
  796. //查询列表
  797. // 户籍地址
  798. getListHjFn(params){
  799. // var params=this.params;
  800. this.$http.get("boman-web-core/core/czrk/list", params).then(res => {
  801. //停止下拉加载
  802. uni.hideNavigationBarLoading()
  803. uni.stopPullDownRefresh()
  804. if (res.code == 200) {
  805. if (res.rows.length < params.pageSize) {
  806. this.haveMore = false
  807. this.wtdt='到底了~';
  808. } else {
  809. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  810. if(num<res.total){
  811. this.haveMore = true
  812. this.wtdt='上拉加载更多'
  813. }else{
  814. this.haveMore = false
  815. this.wtdt='到底了~';
  816. }
  817. }
  818. if(params.pageNum==1){
  819. this.list = res.rows
  820. }else{
  821. this.list = this.list.concat(res.rows)
  822. }
  823. } else {
  824. uni.showToast({
  825. title: res.msg,
  826. duration: 1000,
  827. icon: 'none'
  828. });
  829. }
  830. })
  831. },
  832. //常驻信息
  833. getListCzFn(params){
  834. // console.log(params)
  835. // var params=this.params;
  836. this.$http.get("boman-web-core/core/jzdz/list", params).then(res => {
  837. //停止下拉加载
  838. uni.hideNavigationBarLoading()
  839. uni.stopPullDownRefresh()
  840. if (res.code == 200) {
  841. if (res.rows.length < params.pageSize) {
  842. this.haveMore = false
  843. this.wtdt='到底了~';
  844. } else {
  845. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  846. if(num<res.total){
  847. this.haveMore = true
  848. this.wtdt='上拉加载更多'
  849. }else{
  850. this.haveMore = false
  851. this.wtdt='到底了~';
  852. }
  853. }
  854. if(params.pageNum==1){
  855. this.list = res.rows
  856. }else{
  857. this.list = this.list.concat(res.rows)
  858. }
  859. } else {
  860. uni.showToast({
  861. title: res.msg,
  862. duration: 1000,
  863. icon: 'none'
  864. });
  865. }
  866. })
  867. },
  868. // 人员未认领接口
  869. getListRyrlFn(){
  870. var params=this.params;
  871. // 户籍
  872. if(this.navidx==1){
  873. this.$http.get("boman-web-core/core/ryrl/listHj", params).then(res => {
  874. //停止下拉加载
  875. uni.hideNavigationBarLoading()
  876. uni.stopPullDownRefresh()
  877. if (res.code == 200) {
  878. if (res.rows.length < params.pageSize) {
  879. this.haveMore = false
  880. this.wtdt='到底了~';
  881. } else {
  882. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  883. if(num<res.total){
  884. this.haveMore = true
  885. this.wtdt='上拉加载更多'
  886. }else{
  887. this.haveMore = false
  888. this.wtdt='到底了~';
  889. }
  890. }
  891. if(params.pageNum==1){
  892. this.list = res.rows
  893. }else{
  894. this.list = this.list.concat(res.rows)
  895. }
  896. } else {
  897. uni.showToast({
  898. title: res.msg,
  899. duration: 1000,
  900. icon: 'none'
  901. });
  902. }
  903. })
  904. }else{
  905. this.$http.get("boman-web-core/core/ryrl/listCz", params).then(res => {
  906. //停止下拉加载
  907. uni.hideNavigationBarLoading()
  908. uni.stopPullDownRefresh()
  909. if (res.code == 200) {
  910. if (res.rows.length < params.pageSize) {
  911. this.haveMore = false
  912. this.wtdt='到底了~';
  913. } else {
  914. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  915. if(num<res.total){
  916. this.haveMore = true
  917. this.wtdt='上拉加载更多'
  918. }else{
  919. this.haveMore = false
  920. this.wtdt='到底了~';
  921. }
  922. }
  923. if(params.pageNum==1){
  924. this.list = res.rows
  925. }else{
  926. this.list = this.list.concat(res.rows)
  927. }
  928. } else {
  929. uni.showToast({
  930. title: res.msg,
  931. duration: 1000,
  932. icon: 'none'
  933. });
  934. }
  935. })
  936. }
  937. // 常驻
  938. },
  939. lists(params) {
  940. if(this.navidx==1){
  941. this.getListHjFn(params)
  942. }else{
  943. this.getListCzFn(params)
  944. }
  945. // this.$http.get("boman-web-core/core/ryrl/list", params).then(res => {
  946. // //停止下拉加载
  947. // uni.hideNavigationBarLoading()
  948. // uni.stopPullDownRefresh()
  949. // if (res.code == 200) {
  950. // if (res.rows.length < params.pageSize) {
  951. // this.haveMore = false
  952. // this.wtdt='到底了~';
  953. // } else {
  954. // var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  955. // if(num<res.total){
  956. // this.haveMore = true
  957. // this.wtdt='上拉加载更多'
  958. // }else{
  959. // this.haveMore = false
  960. // this.wtdt='到底了~';
  961. // }
  962. // }
  963. // if(params.pageNum==1){
  964. // this.list = res.rows
  965. // }else{
  966. // this.list = this.list.concat(res.rows)
  967. // }
  968. // } else {
  969. // uni.showToast({
  970. // title: res.msg,
  971. // duration: 1000,
  972. // icon: 'none'
  973. // });
  974. // }
  975. // })
  976. },
  977. //刷新
  978. bot_btn() {
  979. if (this.haveMore) {
  980. this.params.pageNum++
  981. this.lists(this.params)
  982. }
  983. },
  984. //查看
  985. chakn(item) {
  986. // uni.setStorageSync('item', item)
  987. // wx.navigateTo({
  988. // url: '/pages/home/recordtwo'
  989. // })
  990. },
  991. // 删除
  992. dele(item){
  993. this.$http.dele("boman-web-core/core/info/" + item).then(res => {
  994. if(res.code == 200){
  995. this.params.pageNum = 1
  996. this.list = []
  997. this.getAlllist()
  998. this.lists(this.params)
  999. }
  1000. })
  1001. },
  1002. //搜索
  1003. Seach() {
  1004. this.list = [];
  1005. this.searchflag=false;
  1006. this.params.pageNum = 1;
  1007. this.params.pageSize=20;
  1008. //人员类别
  1009. if(this.keyvalue.length){
  1010. var keyArr=this.keycategory;
  1011. var newKey=[];
  1012. this.keyvalue.forEach((item,idx)=>{
  1013. newKey[idx]=keyArr[item].text
  1014. })
  1015. this.params.keyCategory=newKey.join(',')
  1016. }
  1017. this.getAlllist();
  1018. // 判断tab
  1019. if(this.currentTab==2){
  1020. this.getListRyrlFn()
  1021. }else{
  1022. this.lists(this.params)
  1023. }
  1024. },
  1025. //弹
  1026. changeTab(index){
  1027. this.currentTab = index
  1028. this.params.pageNum=1;
  1029. this.params.pageSize=20;
  1030. this.list = []
  1031. if(index == 0){
  1032. this.params.isRl = ''
  1033. this.lists(this.params)
  1034. }else if(index == 1){
  1035. // 已认领
  1036. this.params.isRl = "是"
  1037. this.lists(this.params)
  1038. }else if(index == 2){
  1039. // 未认领
  1040. this.params.isRl = "否"
  1041. this.getListRyrlFn()
  1042. }
  1043. },
  1044. // formatter(type, value){
  1045. // if (type === 'year') {
  1046. // return `${value}年`;
  1047. // } else if (type === 'month') {
  1048. // return `${value}月`;
  1049. // }
  1050. // return value;
  1051. // },
  1052. // 点击新增
  1053. addVacFrom () {
  1054. uni.navigateTo({
  1055. url: '/add/pages/addvacfrom/addpeople?type=house'
  1056. })
  1057. }
  1058. }
  1059. }
  1060. </script>
  1061. <style lang="scss" scoped>
  1062. // 水印
  1063. .syone{position: absolute;font-size: 40rpx;color: rgba(0,0,0,0.3);top: 200rpx;left: 50%;transform: translateX(-50%) rotate(45deg);}
  1064. .sytwo{position: absolute;font-size: 40rpx;color: rgba(0,0,0,0.3);top: 420rpx;left: 50%;transform: translateX(-50%) rotate(45deg);}
  1065. .sythree{position: absolute;font-size: 40rpx;color: rgba(0,0,0,0.3);top: 620rpx;left: 50%;transform: translateX(-50%) rotate(45deg);}
  1066. .bgbox{position: fixed;left: 0;right: 0;top: 0;bottom: 0;z-index: 999;
  1067. background: rgba(0,0,0,0.5);}
  1068. .housebox{position: fixed;left: 0;right: 0;bottom: 0;z-index: 1000;background: #FFFFFF;border-radius: 30rpx 30rpx 0 0;
  1069. .house_tit{width: 100%;height: 100rpx;position: relative;z-index: 999;background: #F2F2F2;border-radius: 30rpx 30rpx 0 0;display: flex;align-items: center;margin-bottom: 10rpx;
  1070. .house_titl{font-size: 30rpx;color: #333333;flex: 0 0 auto;height: 100rpx;width: 120rpx;text-align: center;line-height:100rpx;}
  1071. .house_titr{flex: 0 0 auto;font-size: 30rpx;color: #197DE0;height:100rpx;width:120rpx;text-align: center;line-height: 100rpx;}
  1072. .house_titc{line-height: 40rpx;font-size: 34rpx;color: #333;padding: 30rpx;box-sizing: border-box;flex: 1;text-align: center;}
  1073. }
  1074. .houselist{width: 100%;text-align: center;font-size: 30rpx;color: #333333;line-height: 88rpx;
  1075. &.act{color: #197DE0;}
  1076. &:last-child{padding-bottom: 20rpx;}
  1077. }
  1078. }
  1079. .nav_box{display: flex;align-items: center;justify-content: center;flex: 1;
  1080. .nav_boxa{position: relative;width: 214rpx;height: 86rpx;
  1081. .nav_boxb{width: 100%;height: 100%;display: none;}
  1082. .nav_boxa1{font-size: 34rpx;font-weight: bold;color: #0678AC;text-align: center;padding-top: 14rpx;box-sizing: border-box;position: absolute;left: 0;top: 0;right: 0;bottom: 0;}
  1083. &.act{color: #FFFFFF;
  1084. .nav_boxb{display: block;}
  1085. .nav_boxa1{color: #FFFFFF;}
  1086. }
  1087. }
  1088. }
  1089. .address{
  1090. display: flex;align-items: center;
  1091. margin-top: 38rpx;
  1092. .addtita{flex: 0 0 auto;font-size: 28rpx;font-weight: bold;
  1093. color: #343434;}
  1094. .addressa{
  1095. display: flex;align-items: center;
  1096. flex: 1;
  1097. display: flex;align-items: center;justify-content: flex-end;
  1098. overflow: hidden;
  1099. .addsa{font-size: 26rpx;color: #333333;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
  1100. flex: 1;text-align: right;
  1101. }
  1102. .addsimg{width: 16rpx;height: 24rpx;margin-left: 10rpx;flex: 0 0 auto;}
  1103. // .adds{
  1104. // display: flex;align-items: center;justify-content: flex-start;padding:10rpx 20rpx;min-width: 220rpx;box-sizing: border-box;}
  1105. }
  1106. .addclear{color: #EA2929;font-size: 26rpx;flex: 0 0 auto;height: 60rpx;line-height: 60rpx;width: 128rpx;text-align:center}
  1107. }
  1108. .coie{
  1109. width: 100%;
  1110. box-sizing: border-box;
  1111. padding: 0 33upx;
  1112. .coie_nav{
  1113. border-top: 1upx solid #E5E5E5;
  1114. display: flex;
  1115. flex-wrap: wrap;
  1116. padding-bottom: 28upx;
  1117. p{
  1118. width: 33.33%;
  1119. text-align: center;
  1120. display: flex;
  1121. flex-direction: column;
  1122. margin-top: 53upx;
  1123. span{
  1124. font-size: 28upx;
  1125. }
  1126. i{
  1127. font-size: 28upx;
  1128. color: #333;
  1129. margin-top: 28upx;
  1130. }
  1131. }
  1132. }
  1133. }
  1134. .ieju{
  1135. height: 17upx;
  1136. width: 100%;
  1137. background-color: #eee;
  1138. margin-bottom: 33upx;
  1139. }
  1140. //暂无数据
  1141. .zanwu {
  1142. text-align: center;
  1143. padding-top: 20upx;
  1144. span {
  1145. font-size: 24upx;
  1146. }
  1147. }
  1148. .scrollbox{position: relative;}
  1149. .scroll-view {
  1150. max-height: calc(100vh - 401upx);
  1151. }
  1152. .shax {
  1153. // height: 83upx;
  1154. font-size: 25upx;
  1155. color: #666;
  1156. text-align: center;
  1157. }
  1158. .index {
  1159. // padding-top: 33upx;
  1160. max-height: 100vh;
  1161. .sous {
  1162. padding: 24upx 33upx 0;
  1163. // display: flex;
  1164. .input {
  1165. height: 80upx;
  1166. border: 1upx solid #E5E5E5;
  1167. flex: 1;
  1168. margin-right: 28upx;
  1169. padding-left: 10upx;
  1170. box-sizing: border-box;
  1171. }
  1172. button {
  1173. // width: 125upx;
  1174. height: 80upx;
  1175. background-color: #1678FF;
  1176. text-size: 28upx;
  1177. color: #fff;
  1178. text-align: center;
  1179. line-height: 80upx;
  1180. }
  1181. }
  1182. //tab
  1183. .tab {
  1184. padding-top:33upx;
  1185. padding-bottom: 100upx;
  1186. .tabs {
  1187. display: flex;
  1188. padding: 0 20upx;
  1189. box-sizing: border-box;
  1190. height: 111upx;
  1191. justify-content: space-between;
  1192. box-shadow: 0px 7px 7px 0px rgba(229, 229, 229, 0.5);
  1193. .one_tab {
  1194. color: #1678FF !important;
  1195. // width: 140upx;
  1196. // text-align: center;
  1197. // .twotabs {
  1198. // font-size: 31upx;
  1199. // color: #666666;
  1200. // ;
  1201. // font-weight: 500;
  1202. // }
  1203. // .twosrtabs {
  1204. // color: #1678FF;
  1205. // }
  1206. // .twotabstwo {
  1207. // font-size: 24upx;
  1208. // color: #AAAAAA;
  1209. // }
  1210. }
  1211. .one_tabqie {
  1212. border-bottom: 8upx solid #1678FF;
  1213. }
  1214. }
  1215. }
  1216. //表格
  1217. .exele {
  1218. .box {
  1219. .tr_one {
  1220. display: flex;
  1221. padding: 0 20upx;
  1222. box-sizing: border-box;
  1223. justify-content: space-between;
  1224. th {
  1225. // flex: 1;
  1226. font-size: 24upx;
  1227. font-family: PingFang SC;
  1228. font-weight: 500;
  1229. color: #333333;
  1230. line-height: 14upx;
  1231. overflow: hidden;
  1232. text-overflow: ellipsis;
  1233. white-space: nowrap;
  1234. line-height: 83upx;
  1235. height: 83upx;
  1236. }
  1237. }
  1238. .two_tr {
  1239. display: flex;
  1240. padding: 0 20upx;
  1241. box-sizing: border-box;
  1242. justify-content: space-between;
  1243. td {
  1244. // flex: 1;
  1245. font-size: 24upx;
  1246. font-family: PingFang SC;
  1247. font-weight: 500;
  1248. color: #333333;
  1249. line-height: 83upx;
  1250. height: 83upx;
  1251. overflow: hidden;
  1252. text-overflow: ellipsis;
  1253. white-space: nowrap;
  1254. }
  1255. .tdse {
  1256. color: #E60012 !important;
  1257. }
  1258. .apply_span_xl{
  1259. color: #32B16C !important;
  1260. }
  1261. .apply_span_xltwo{
  1262. color: #ffa200 !important;
  1263. }
  1264. .apply_span_xlfive{
  1265. color: #4c4b4b !important;
  1266. }
  1267. .apply_span_xlthreo{
  1268. color: #f00404 !important;
  1269. }
  1270. .apply_span_xlforu{
  1271. color: #aaaaaa !important;
  1272. }
  1273. // .apply_span_xla{
  1274. // color: #1678FF;
  1275. // text-decoration: underline ;
  1276. // }
  1277. .coiu {
  1278. color: #EC1717;
  1279. }
  1280. }
  1281. .two_trtwo {
  1282. background-color: #EBEFF2;
  1283. }
  1284. }
  1285. }
  1286. }
  1287. .banj {
  1288. height: 86upx;
  1289. width: 100%;
  1290. // text-align: center;
  1291. line-height: 86upx;
  1292. // background-color: #F6F9FC;
  1293. color: #AAAAAA;
  1294. margin-top: 20upx;
  1295. display: flex;
  1296. justify-content: space-around;
  1297. }
  1298. .apply_box{
  1299. .apply_item_input{
  1300. padding: 0 33upx;
  1301. // border-top: 1upx solid #F4F4F4;
  1302. display: flex;
  1303. height: 68upx;
  1304. align-items: center;
  1305. .apply_span_x{
  1306. font-size: 28upx;
  1307. color: #363535;
  1308. span{
  1309. color: #F22346;
  1310. }
  1311. }
  1312. .input_r{
  1313. font-size: 28upx;
  1314. height: 100%;
  1315. flex: 1;
  1316. text-align: right;
  1317. }
  1318. .input_rtwo{
  1319. line-height:68upx;
  1320. }
  1321. .input_rtwoss{
  1322. color: #1678FF;
  1323. }
  1324. .input_rtwosss{
  1325. color: #FF0000;
  1326. }
  1327. }
  1328. .apply_title_jt{
  1329. height: 130upx;
  1330. border-top: 1upx solid #F4F4F4;
  1331. display: flex;
  1332. justify-content: space-between;
  1333. align-items: center;
  1334. padding: 0 32upx;
  1335. span{
  1336. font-size: 36upx;
  1337. color: #333;
  1338. font-weight: bold;
  1339. }
  1340. .apply_title_btn{
  1341. width: 160upx;
  1342. height: 60upx;
  1343. font-size: 24upx;
  1344. color: #fff;
  1345. display: flex;
  1346. justify-content: center;
  1347. align-items: center;
  1348. background: #FF568C;
  1349. border-radius: 8upx;
  1350. .img{
  1351. width: 30upx;
  1352. height: 30upx;
  1353. margin-right: 10upx;
  1354. }
  1355. }
  1356. }
  1357. .apply_title_jts{
  1358. border:none;
  1359. }
  1360. .apply_title_jt_item{
  1361. border-bottom: 9upx solid #F4F4F4;
  1362. .apply_item_input_qx{
  1363. color: #FF5185;
  1364. height: 100%;
  1365. display: flex;
  1366. justify-content: center;
  1367. align-items: center;
  1368. height: 112upx;
  1369. font-size: 30upx;
  1370. }
  1371. }
  1372. .apply_item_sfz{
  1373. padding: 42upx 20upx;
  1374. border-bottom: 9upx solid #F4F4F4;
  1375. .apply_item_sfz_title{
  1376. font-weight: bold;
  1377. font-size: 34upx;
  1378. margin-bottom: 40upx;
  1379. margin-left: 2upx;
  1380. }
  1381. .apply_item_phones{
  1382. display: flex;
  1383. justify-content: space-between;
  1384. .apply_item_phone{
  1385. width: 340upx;
  1386. height: 218upx;
  1387. .img{
  1388. width: 100%;
  1389. height: 100%;
  1390. border-radius: 20upx;
  1391. }
  1392. }
  1393. }
  1394. }
  1395. .apply_item_zdxx{
  1396. padding: 0 26upx;
  1397. font-size: 34upx;
  1398. font-weight: bold;
  1399. color: #333;
  1400. height: 112upx;
  1401. line-height: 112upx;
  1402. border: 1upx solid #F4F4F4;
  1403. }
  1404. .qt_div{
  1405. height: 112upx;
  1406. border-top: 1upx solid #F4F4F4;
  1407. padding: 0 32upx;
  1408. border-bottom: 9upx solid #F9F9F9;
  1409. .input_l{
  1410. height: 100%;
  1411. font-size: 30upx;
  1412. }
  1413. }
  1414. }
  1415. .tabld{
  1416. display: flex;
  1417. // height: 90upx;
  1418. box-shadow: 0px 7px 5px 0px rgba(218, 218, 218, 0.35);
  1419. view {
  1420. font-size:26upx ;
  1421. font-family: PingFang SC;
  1422. font-weight: 500;
  1423. color: #191919;
  1424. text-align: center;
  1425. flex: 1;
  1426. // line-height: 70upx;
  1427. display: flex;
  1428. flex-direction: column;
  1429. padding: 18rpx 0 20rpx;
  1430. }
  1431. .one_tabhu{
  1432. color: #009FE8;
  1433. position: relative;
  1434. ::after{width: 28rpx;height: 6rpx;background: #009FE8;position: absolute;left: 50%;margin-left: -14rpx;bottom: 0;content: "";}
  1435. }
  1436. }
  1437. .nbhe{
  1438. display: flex;
  1439. margin-bottom: 44upx;
  1440. p{
  1441. font-size: 25upx;
  1442. flex: 1;
  1443. padding: 0 77upx;
  1444. display: flex;
  1445. align-items: center;
  1446. }
  1447. p:nth-child(2){
  1448. justify-content: flex-end;
  1449. }
  1450. img{
  1451. width: 31upx;
  1452. height: 29upx;
  1453. margin-right: 11upx;
  1454. }
  1455. }
  1456. .xinse{
  1457. position: fixed;
  1458. width: 100%;
  1459. bottom: 0;
  1460. left: 0;
  1461. font-size: 33upx;
  1462. font-family: PingFang SC;
  1463. font-weight: 500;
  1464. color: #FFFFFF;
  1465. height: 90upx;
  1466. text-align: center;
  1467. line-height: 90upx;
  1468. z-index: 2;
  1469. background: linear-gradient(-40deg, #3C6AF8, #5E8AC6);
  1470. }
  1471. .sous_sear{
  1472. padding: 0rpx 32rpx;background: #FFFFFF;height: 112rpx;box-sizing: border-box;display: flex;align-items: center;
  1473. .sous_tit{font-size: 28rpx;color: #343434;flex: 0 0 auto;}
  1474. .sous_img{width: 18rpx;height: 32rpx;margin-left: 20rpx;flex: 0 0 auto;}
  1475. .sous_input{font-size: 30rpx;color: #AAAAAA;flex: 1;text-align: right;}
  1476. }
  1477. // 搜索条件width: 562rpx;
  1478. .sfixed{min-height: 840rpx;background: #FFFFFF;border-radius: 14rpx;padding: 40rpx 34rpx;box-sizing: border-box;position: fixed;left: 60rpx;right: 60rpx;top: 50%;transform: translateY(-50%);
  1479. z-index: 1100;max-height: calc(100vh - 280rpx);overflow-y: auto;
  1480. .sfixed_tit{font-size: 28rpx;font-weight: bold;color: #343434;line-height: 44rpx;text-align: center;}
  1481. .sfixed_clo{width: 34rpx;height: 34rpx;position: absolute;right: 34rpx;top: 44rpx;}
  1482. .sfixed_box{
  1483. padding-top: 20rpx;
  1484. .sfixed_inp{width: 100%;height: 76rpx;background:#F2F2F2;padding: 0 34rpx;box-sizing: border-box;font-size: 28rpx;color: #333333;margin-top: 30rpx;}
  1485. .sfixed_line{width: 62rpx;height: 6rpx;background: #009FE8;margin: 38rpx auto 32rpx;}
  1486. .sfixed_flex{display: flex;align-items: center;justify-content: space-between;
  1487. .sfixed_a{font-size: 26rpx;font-weight: bold;color: #666666;}
  1488. .sfixed_ar{font-size: 26rpx;font-weight: bold;color: #DF0024;}
  1489. }
  1490. }
  1491. .sfixed_btn{width: 100%;height: 76rpx;background: #00B034;border: 0px solid #00B034;border-radius: 6rpx;font-size: 28rpx;font-weight: bold;
  1492. color: #FFFFFF;text-align: center;line-height: 76rpx;margin-top: 62rpx;}
  1493. }
  1494. // 搜索弹窗新
  1495. .searfixed{width: 648rpx;background: #FFFFFF;z-index: 1200;position: fixed;right: 0;top: 0;bottom: 0;display: flex;flex-direction: column;
  1496. .searf_top{display: flex;align-items: center;justify-content: space-between;padding:20rpx 34rpx 20rpx 0;margin-bottom: 20rpx;flex:0 0 auto;
  1497. .searf_topl{width: 80rpx;height: 50rpx;display: flex;align-items: center;padding-left: 34rpx;box-sizing: border-box;
  1498. image{width: 18rpx;height: 32rpx;transform: rotate(180deg);}
  1499. }
  1500. .searf_topr{width: 98rpx;height: 42rpx;
  1501. background: linear-gradient(-90deg, #3C6AF8, #5E8AC6);
  1502. border-radius: 20rpx;font-size: 26rpx;color: #FFFFFF;line-height: 42rpx;text-align: center;}
  1503. }
  1504. .searf_cen{flex: 1;overflow-y: auto;padding: 0 34rpx;
  1505. .searf_cenli{margin-bottom: 40rpx;
  1506. .searf_cenlitit{font-size: 28rpx;font-weight: bold;color: #343434;margin-bottom: 24rpx;}
  1507. .searf_cenlin{width: 100%;height: 70rpx;background: #F2F2F2;border-radius: 34rpx;padding: 0 40rpx;box-sizing: border-box;line-height: 70rpx;font-size: 28rpx;color: #333333;display: flex;align-items: center;overflow: hidden;
  1508. .addsa{flex: 1;font-size: 28rpx;color: #333333;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
  1509. .addsimg{width: 32rpx;height: 18rpx;flex: 0 0 auto;}
  1510. }
  1511. }
  1512. }
  1513. .searf_fot{width: 100%;height: 90rpx;
  1514. background: linear-gradient(-90deg, #3C6AF8, #5E8AC6);line-height: 90rpx;text-align: center;font-weight: bold;
  1515. color: #FFFFFF;font-size: 30rpx;}
  1516. }
  1517. </style>