recordnuclein.vue 37 KB

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