recordpeople.vue 42 KB

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