historAllVisit.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. <template>
  2. <div class="bgcolor historAllVisit">
  3. <div class="navBarTOP">
  4. <!-- 顶部条-->
  5. <van-nav-bar class="navBar" title="历史拜访" left-arrow @click-left="onClickLeft" />
  6. <div class="searcTime">
  7. <van-row class="serchInput">
  8. <van-col span="12">
  9. <van-cell
  10. class="monthNow selectcell"
  11. :title="companyName"
  12. is-link
  13. arrow-direction="down"
  14. @click="regionClick" />
  15. </van-col>
  16. <van-col span="12">
  17. <van-cell
  18. class="monthNow selectcell"
  19. :title="regionName"
  20. is-link
  21. @click="SalesRegionClick"
  22. arrow-direction="down" />
  23. </van-col>
  24. <van-col span="12">
  25. <van-cell
  26. class="monthNow selectcell"
  27. :title="deptName"
  28. is-link
  29. @click="SalesDepartmentClick"
  30. arrow-direction="down" />
  31. </van-col>
  32. <van-col span="12">
  33. <van-cell
  34. class="monthNow selectcell"
  35. :title="userName"
  36. is-link
  37. @click="StaffClick"
  38. arrow-direction="down" />
  39. </van-col>
  40. <van-col span="12">
  41. <div class="monthNow" @click="startTimeshow = true">
  42. <span class="month">{{ startTime }}</span>
  43. <van-icon class="CalendarIcon" :name="timeico" />
  44. </div>
  45. </van-col>
  46. <van-col span="12">
  47. <div class="monthNow" @click="endTimeshow = true">
  48. <span class="month">{{ endTime }}</span>
  49. <van-icon class="CalendarIcon" :name="timeico" />
  50. </div>
  51. </van-col>
  52. </van-row>
  53. </div>
  54. <div class="searchDiv">
  55. <van-search v-model="storeName" show-action placeholder="搜索名称/编号/地址/拜访人">
  56. <template #action>
  57. <div @click="onSearch">搜索</div>
  58. </template>
  59. </van-search>
  60. </div>
  61. <div class="lineGrey"></div>
  62. <div v-if="refreshTotal" class="refreshBtn" @click="onSearch">检测到 {{ refreshTotal }} 条更新,点击刷新</div>
  63. <div v-if="refreshTotal" class="lineGrey"></div>
  64. </div>
  65. <!-- 主体内容-->
  66. <div class="container" :style="{ 'margin-top': refreshTotal ? '300px' : '262px' }">
  67. <van-list
  68. class="myList1"
  69. v-model="loading"
  70. :finished="finished"
  71. finished-text="没有更多了"
  72. @load="onLoad">
  73. <div v-if="list.length > 0">
  74. <div class="cellcontent" v-for="(item, index) in list" :key="index">
  75. <van-cell>
  76. <div class="card" style="position: relative" @click="detilsFn(item)">
  77. <span v-if="item.visitSource == 2" class="stateAbnormal">异常拜访</span>
  78. <!--<span v-if="item.visitModel==5" class="state">偏差过大</span>-->
  79. <span v-if="item.visitSource == 1" class="state">正常拜访</span>
  80. <div class="title">
  81. <span>{{ item.storeName }}</span> (<span style="color: #0057ba">{{
  82. item.storeCode
  83. }}</span
  84. >)
  85. </div>
  86. <div class="info">拜访人:{{ item.nickName }}</div>
  87. <div class="info">
  88. 拜访时间:{{ item.visitsTime }}
  89. <span class="textRight" v-if="item.status == '1' && item.taskId == null"
  90. >审批中</span
  91. >
  92. <span
  93. class="textRight"
  94. v-if="item.status == '1' && item.taskId != null"
  95. style="color: red"
  96. >退回修改</span
  97. >
  98. <span class="textRight" style="color: #07c160" v-if="item.status == 2"
  99. >审批完成</span
  100. >
  101. <span class="textRight" v-if="item.status == '3'" style="color: red">拒绝</span>
  102. </div>
  103. <div class="info" v-if="item.dwellTime">拜访时长:{{ item.dwellTime }}</div>
  104. <div class="info">地址:{{ item.addressLine }}</div>
  105. </div>
  106. <!-- 潜在店不显示经销商 -->
  107. <template v-if="item.sfaStoreType.type != 'qzd'">
  108. <!-- 分销店 -->
  109. <template
  110. v-if="
  111. item.sfaStoreType &&
  112. item.sfaStoreType.type == 'fxd' &&
  113. item.sfaStoreChainsContactList
  114. ">
  115. <div class="info">
  116. 经销商:
  117. <div
  118. class="TCFXListItem"
  119. v-for="(item, index) in item.sfaStoreChainsContactList">
  120. <el-popover
  121. popper-class="zpover zpoverStoreztype"
  122. placement="bottom-start"
  123. trigger="click">
  124. <div>
  125. <div>{{ item.chainCode }}</div>
  126. <div>{{ item.chainName }}</div>
  127. </div>
  128. <div slot="reference" :key="index">
  129. {{ item.categoryDescribe }}
  130. </div>
  131. </el-popover>
  132. </div>
  133. </div>
  134. </template>
  135. <template v-else>
  136. <div class="info">经销商:{{ item.chainName }}</div>
  137. </template>
  138. </template>
  139. </van-cell>
  140. <div class="lineGrey"></div>
  141. </div>
  142. </div>
  143. </van-list>
  144. <!-- <p style="text-align: center;color: #ccc;font-size: 12px;" v-if="list.length!=0">&#45;&#45;已经到底了&#45;&#45;</p>-->
  145. <!-- <van-empty description="&#45;&#45;已经到底了&#45;&#45;" v-if="list.length==0"/>-->
  146. </div>
  147. <van-popup v-model="startTimeshow" position="bottom" :style="{ height: '30%' }">
  148. <van-datetime-picker
  149. v-model="startcurrentDate"
  150. type="date"
  151. title="开始日期"
  152. :min-date="minDate"
  153. :max-date="startmaxDate"
  154. @confirm="dateeconfirm"
  155. @cancel="startTimeshow = false" />
  156. </van-popup>
  157. <van-popup v-model="endTimeshow" position="bottom" :style="{ height: '50%' }">
  158. <van-datetime-picker
  159. v-model="currentDate"
  160. type="date"
  161. title="开始日期"
  162. :min-date="endminDate"
  163. :max-date="maxDate"
  164. @confirm="endTimeconfirm"
  165. @cancel="endTimeshow = false" />
  166. </van-popup>
  167. <van-popup v-model="RegionShow" capture position="bottom">
  168. <van-picker
  169. show-toolbar
  170. :columns="companyList"
  171. value-key="deptName"
  172. @confirm="onregionConfirm"
  173. @cancel="RegionShow = false" />
  174. </van-popup>
  175. <van-popup v-model="SalesRegionShow" capture position="bottom">
  176. <van-picker
  177. show-toolbar
  178. :columns="regionList"
  179. value-key="deptName"
  180. @confirm="onSalesRegionConfirm"
  181. @cancel="SalesRegionShow = false" />
  182. </van-popup>
  183. <van-popup v-model="SalesDepartmentShow" capture position="bottom">
  184. <van-picker
  185. show-toolbar
  186. :columns="deptList"
  187. value-key="deptName"
  188. @confirm="onSalesDepartmentConfirm"
  189. @cancel="SalesDepartmentShow = false" />
  190. </van-popup>
  191. <van-popup v-model="StaffShow" capture position="bottom">
  192. <van-picker
  193. show-toolbar
  194. :columns="userList"
  195. @confirm="onStaffConfirm"
  196. value-key="nickName"
  197. @cancel="StaffShow = false" />
  198. </van-popup>
  199. </div>
  200. </template>
  201. <script>
  202. import { getVisits, getvisitDeptInfo, getListTotal } from '@/api/index';
  203. import timeico from '@/assets/Icon/datatims.png';
  204. export default {
  205. name: 'index.vue',
  206. data() {
  207. return {
  208. latestUpdateTime:null,
  209. refreshTotal:0,
  210. timeico: timeico,
  211. defaultDate: new Date(),
  212. searchValue: '',
  213. calendarShow: '',
  214. monthNames: [
  215. '-01',
  216. '-02',
  217. '-03',
  218. '-04',
  219. '-05',
  220. '-06',
  221. '-07',
  222. '-08',
  223. '-09',
  224. '-10',
  225. '-11',
  226. '-12',
  227. ],
  228. calendarIsshow: false,
  229. tabVal: 'insidePlan',
  230. list: [],
  231. loading: false,
  232. finished: true,
  233. listActive: null,
  234. query: '',
  235. show: false,
  236. minDate: new Date(2022, 0, 1),
  237. maxDate: new Date(),
  238. currentDate: new Date(),
  239. startcurrentDate: new Date(),
  240. endminDate: new Date(),
  241. startmaxDate: new Date(),
  242. endTime: '',
  243. startTime: '',
  244. endTimeshow: false,
  245. startTimeshow: false,
  246. storeName: '',
  247. companyName: '全部公司',
  248. deptName: '全部销售部',
  249. regionName: '全部大区',
  250. userName: '全部业务员',
  251. companyCode: '',
  252. deptCode: '',
  253. regionCode: '',
  254. userCode: '',
  255. companyList: [],
  256. deptList: [],
  257. regionList: [],
  258. userList: [],
  259. RegionShow: false,
  260. SalesRegionShow: false,
  261. SalesDepartmentShow: false,
  262. StaffShow: false,
  263. deptForm: { type: '', parentId: '' },
  264. pageNum: 1, // 当前页码 int类型
  265. pageSize: 20, // 当前每页条数 int类型
  266. userDeptLevel: null,
  267. };
  268. },
  269. activated() {
  270. let typeQuery = localStorage.getItem('typeQuery');
  271. if(this.latestUpdateTime!=null && typeQuery == 1){
  272. this.getListTotalFn();
  273. }else{
  274. setTimeout(() => {
  275. this.onSearch();
  276. }, 1000);
  277. }
  278. },
  279. deactivated(){
  280. localStorage.setItem('typeQuery', 1);
  281. },
  282. created() {
  283. this.info();
  284. this.userList = [];
  285. this.pageNum = 1;
  286. this.list = [];
  287. // powerGrade:等级(1-销售员 2-销售部主管 3-大区主管 4-区域公司总经理 5-DIY公司)
  288. this.powerGrade = localStorage.getItem('powerGrade');
  289. // userDeptLevel用户部门等级字段,0-总部,1-公司,2-大区,3-销售部,4-业务员
  290. this.userDeptLevel = localStorage.getItem('userDeptLevel');
  291. this.getDeptInfo('dept');
  292. if (this.userDeptLevel == 0) {
  293. setTimeout(() => {
  294. if (this.$route.query.userCode == undefined) {
  295. this.companyName = this.companyList[0].deptName;
  296. this.companyCode = this.companyList[0].deptId;
  297. }
  298. this.getDeptInfo('dept', 1);
  299. }, 1000);
  300. }
  301. if (this.userDeptLevel == 1) {
  302. setTimeout(() => {
  303. this.getDeptInfo('dept', 1);
  304. }, 1000);
  305. }
  306. if (this.userDeptLevel == 2) {
  307. setTimeout(() => {
  308. this.getDeptInfo('dept', 2);
  309. }, 1000);
  310. }
  311. if (this.userDeptLevel == 3 || this.userDeptLevel == 4) {
  312. setTimeout(() => {
  313. this.getDeptInfo('user');
  314. }, 2000);
  315. }
  316. },
  317. methods: {
  318. getListTotalFn(){
  319. getListTotal({
  320. startTime: this.startTime + ' 00:00:00',
  321. stopTime: this.endTime + ' 24:00:00',
  322. storeRequest: this.storeName.trim(),
  323. companyId: this.companyCode,
  324. regionId: this.regionCode,
  325. userId: this.userCode,
  326. deptId: this.deptCode,
  327. queryStartTime:this.latestUpdateTime
  328. }).then((res) => {
  329. if (res.code == 200) {
  330. this.refreshTotal = res.data;
  331. }
  332. });
  333. },
  334. onLoad() {
  335. // this.loading = false;
  336. this.getVisitsListFn();
  337. },
  338. info() {
  339. this.query = this.$route.query;
  340. this.startTime = this.getDay(-7);
  341. this.startcurrentDate = new Date(this.getDay(-7));
  342. this.endTime = this.parseTime(new Date(), '{y}-{m}-{d}');
  343. this.endminDate = new Date(this.getDay(-7));
  344. },
  345. detilsFn(val) {
  346. console.log(val.id);
  347. this.$router.push({
  348. path: '/historicalDetails',
  349. query: {
  350. visitId: val.id,
  351. storeId: val.storeId,
  352. storeCode: val.storeCode,
  353. taskId: val.taskId,
  354. userId: val.userId,
  355. storeCategory: val.storeCategory,
  356. },
  357. });
  358. },
  359. timeBefore7(date) {
  360. if (!date) {
  361. date = new Date();
  362. }
  363. var y = date.getFullYear();
  364. var m = date.getMonth() + 1;
  365. var d = date.getDate() - 6;
  366. if (d < 0) {
  367. m = date.getMonth();
  368. var d1 = new Date(y, m, 0);
  369. var d2 = d1.getDate();
  370. return y + '/' + (m < 10 ? '0' + m : m) + '/' + (d2 + d);
  371. } else {
  372. return y + '/' + (m < 10 ? '0' + m : m) + '/' + (d < 10 ? '0' + d : d);
  373. }
  374. },
  375. getDay(day) {
  376. var today = new Date();
  377. var targetday_milliseconds = today.getTime() + 1000 * 60 * 60 * 24 * day;
  378. today.setTime(targetday_milliseconds); //注意,这行是关键代码
  379. var tYear = today.getFullYear();
  380. var tMonth = today.getMonth();
  381. var tDate = today.getDate();
  382. tMonth = this.doHandleMonth(tMonth + 1);
  383. tDate = this.doHandleMonth(tDate);
  384. return tYear + '-' + tMonth + '-' + tDate;
  385. },
  386. doHandleMonth(month) {
  387. var m = month;
  388. if (month.toString().length == 1) {
  389. m = '0' + month;
  390. }
  391. return m;
  392. },
  393. dateeconfirm() {
  394. this.startTimeshow = false;
  395. this.startTime = this.parseTime(this.startcurrentDate, '{yy}-{mm}-{dd}');
  396. this.endminDate = new Date(this.startcurrentDate);
  397. this.onSearch();
  398. },
  399. endTimeconfirm() {
  400. this.endTimeshow = false;
  401. this.endTime = this.parseTime(this.currentDate, '{yy}-{mm}-{dd}');
  402. this.startmaxDate = new Date(this.currentDate);
  403. this.onSearch();
  404. },
  405. onClickLeft() {
  406. this.$router.push({
  407. path: '/My/index',
  408. });
  409. },
  410. onSearch() {
  411. this.refreshTotal = 0;
  412. window.scrollTo(0, 0);
  413. this.pageNum = 1;
  414. this.list = [];
  415. this.getVisitsListFn();
  416. },
  417. getVisitsListFn() {
  418. let loading1 = this.$toast.loading({
  419. duration: 0,
  420. message: '数据获取中...',
  421. forbidClick: true,
  422. });
  423. if (this.refreshing) {
  424. this.list = [];
  425. this.refreshing = false;
  426. }
  427. getVisits({
  428. startTime: this.startTime + ' 00:00:00', //
  429. stopTime: this.endTime + ' 24:00:00', //
  430. storeRequest: this.storeName.trim(),
  431. pageNum: this.pageNum,
  432. pageSize: this.pageSize,
  433. companyId: this.companyCode,
  434. regionId: this.regionCode,
  435. userId: this.userCode,
  436. deptId: this.deptCode,
  437. }).then((res) => {
  438. loading1.clear();
  439. if (res.code == 200) {
  440. this.loading = false;
  441. if(this.pageNum == 1){
  442. this.latestUpdateTime = res.dataTime;
  443. }
  444. this.list = this.list.concat(res.data);
  445. if (this.list.length >= res.total) {
  446. this.finished = true;
  447. } else {
  448. this.finished = false;
  449. }
  450. this.pageNum = this.pageNum + 1;
  451. } else {
  452. this.$toast.fail(res.msg);
  453. }
  454. });
  455. },
  456. regionClick() {
  457. // if(this.powerGrade>4){
  458. this.RegionShow = true;
  459. // }
  460. },
  461. SalesRegionClick(val) {
  462. // if(this.powerGrade>3){
  463. this.SalesRegionShow = true;
  464. // }
  465. },
  466. SalesDepartmentClick() {
  467. // if(this.powerGrade>2){
  468. this.SalesDepartmentShow = true;
  469. // }
  470. },
  471. StaffClick() {
  472. this.StaffShow = true;
  473. },
  474. StartTimeClick() {
  475. this.StartTimeShow = true;
  476. },
  477. onregionConfirm(val) {
  478. this.RegionShow = false;
  479. this.companyName = val.deptName;
  480. this.companyCode = val.deptId;
  481. this.regionName = '全部大区';
  482. this.regionCode = '';
  483. this.deptName = '全部销售部';
  484. this.deptCode = '';
  485. this.userName = '全部业务员';
  486. this.userCode = '';
  487. this.getDeptInfo('dept', 1);
  488. },
  489. onSalesRegionConfirm(val) {
  490. this.SalesRegionShow = false;
  491. this.regionName = val.deptName;
  492. this.regionCode = val.deptId;
  493. if (val.deptId != '') {
  494. this.getDeptInfo('dept', 2);
  495. }
  496. this.deptName = '全部销售部';
  497. this.deptCode = '';
  498. this.userName = '全部业务员';
  499. this.userCode = '';
  500. this.userList = [];
  501. },
  502. onSalesDepartmentConfirm(val) {
  503. this.SalesDepartmentShow = false;
  504. this.deptName = val.deptName;
  505. this.deptCode = val.deptId;
  506. if (val.deptId != '') {
  507. this.getDeptInfo('user');
  508. }
  509. this.userName = '全部业务员';
  510. this.userCode = '';
  511. },
  512. onStaffConfirm(val) {
  513. this.StaffShow = false;
  514. this.userName = val.nickName;
  515. this.userCode = val.userId;
  516. },
  517. getDeptInfo(type, grade) {
  518. this.deptForm.type = type;
  519. if (type == 'dept') {
  520. if (grade == '1') {
  521. this.deptForm.parentId = this.companyCode;
  522. } else if (grade == '2') {
  523. this.deptForm.parentId = this.regionCode;
  524. } else {
  525. this.deptForm.type = '';
  526. this.deptForm.parentId = '';
  527. }
  528. } else if (type == 'user') {
  529. this.deptForm.parentId = this.deptCode;
  530. }
  531. getvisitDeptInfo(this.deptForm).then((res) => {
  532. if (type == 'dept') {
  533. if (grade == '1') {
  534. if (res.data.region != null) {
  535. this.regionList = [{ deptName: '全部大区', deptId: '' }].concat(res.data.region);
  536. }
  537. } else if (grade == '2') {
  538. if (res.data.dept != null) {
  539. this.deptList = [{ deptName: '全部销售部', deptId: '' }].concat(res.data.dept);
  540. }
  541. } else {
  542. if (this.userDeptLevel == 0) {
  543. this.companyList = [{ deptName: '全部公司', deptId: '' }].concat(res.data.company);
  544. } else {
  545. this.companyList = res.data.company;
  546. }
  547. if (this.$route.query.userCode == undefined) {
  548. this.companyName = res.data.company[0].deptName;
  549. this.companyCode = res.data.company[0].deptId;
  550. }
  551. if (res.data.dept != null) {
  552. this.deptName = res.data.dept[0].deptName;
  553. this.deptCode = res.data.dept[0].deptId;
  554. this.deptList = res.data.dept;
  555. }
  556. if (res.data.region != null) {
  557. this.regionName = res.data.region[0].deptName;
  558. this.regionCode = res.data.region[0].deptId;
  559. this.regionList = res.data.region;
  560. }
  561. if (res.data.user != null) {
  562. this.userList = res.data.user;
  563. this.userCode = '';
  564. }
  565. }
  566. } else if (type == 'user') {
  567. if (res.data.user != null) {
  568. this.userList = [{ nickName: '全部业务员', userId: '' }].concat(res.data.user);
  569. }
  570. }
  571. });
  572. },
  573. },
  574. };
  575. </script>
  576. <style lang="scss">
  577. .refreshBtn{
  578. display: flex;
  579. justify-content: center;
  580. align-items: center;
  581. cursor: pointer;
  582. width: 100%;
  583. color: #ff976a;
  584. padding: 5px;
  585. font-size: 14px;
  586. background-color: #fff;
  587. }
  588. .searchDiv {
  589. .van-search {
  590. background: #fff;
  591. }
  592. .van-search__action {
  593. font-size: 14px;
  594. color: #1989fa;
  595. font-weight: bold;
  596. background: #f5f5f5;
  597. border-bottom-right-radius: 60px;
  598. border-top-right-radius: 60px;
  599. border: 1px solid #ccc;
  600. padding: 0 20px;
  601. }
  602. .van-search--show-action {
  603. padding-right: 12px;
  604. }
  605. .van-search__content {
  606. border: 1px solid #ccc;
  607. border-bottom-left-radius: 60px;
  608. border-top-left-radius: 60px;
  609. background: #f5f5f5;
  610. border-right: 0;
  611. }
  612. }
  613. .myList1 {
  614. .van-cell {
  615. padding: 10px 16px;
  616. &:after {
  617. border-bottom: none;
  618. }
  619. }
  620. }
  621. .historAllVisit {
  622. .TCFXListItem {
  623. display: inline-block;
  624. border: 1px solid #ccc;
  625. padding: 3px 5px;
  626. margin: 0 5px;
  627. border-radius: 6px;
  628. }
  629. }
  630. </style>
  631. <style lang="scss" scoped>
  632. .bgcolor {
  633. background-color: #f5f5f5;
  634. }
  635. .container {
  636. padding-bottom: 50px;
  637. }
  638. .monthNow {
  639. height: 34px;
  640. line-height: 34px;
  641. text-align: left;
  642. font-weight: bold;
  643. padding: 0 16px;
  644. box-sizing: border-box;
  645. background-color: #f1f1f1;
  646. border-radius: 20px;
  647. margin: 8px;
  648. border: 1px solid #ccc;
  649. position: relative;
  650. color: #333;
  651. font-size: 14px;
  652. .van-cell__left-icon,
  653. .van-cell__right-icon {
  654. line-height: 34px;
  655. }
  656. .CalendarIcon {
  657. float: right;
  658. font-size: 24px;
  659. color: #1989fa;
  660. margin-top: 6px;
  661. position: absolute;
  662. right: 12px;
  663. img {
  664. height: 0.8em;
  665. }
  666. }
  667. }
  668. .serchInput {
  669. padding: 0 4px;
  670. }
  671. .selectcell {
  672. width: 92%;
  673. }
  674. .card {
  675. box-sizing: border-box;
  676. .title {
  677. font-size: 16px;
  678. font-weight: bold;
  679. color: #333;
  680. line-height: 30px;
  681. width: 78%;
  682. }
  683. .info {
  684. font-size: 14px;
  685. color: #909090;
  686. line-height: 26px;
  687. }
  688. }
  689. /**/
  690. .searcTime {
  691. background-color: white;
  692. }
  693. .btnbox {
  694. padding: 0 16px;
  695. }
  696. .cellcontent .centerBtn {
  697. margin: 0 auto 10px;
  698. display: block;
  699. width: 92%;
  700. border-radius: 5px;
  701. }
  702. .statstext {
  703. background-color: #1c84c6;
  704. position: absolute;
  705. right: 0;
  706. top: 16px;
  707. padding: 2px 6px 2px 12px;
  708. border-bottom-left-radius: 60px;
  709. border-top-left-radius: 60px;
  710. color: #fff;
  711. }
  712. .stateAbnormal {
  713. position: absolute;
  714. right: 0;
  715. top: 0;
  716. color: #fff;
  717. background-color: red;
  718. border-radius: 5px;
  719. display: inline-block;
  720. padding: 0 5px;
  721. }
  722. .state {
  723. position: absolute;
  724. right: 0;
  725. top: 0;
  726. color: #fff;
  727. background-color: #1c84c6;
  728. border-radius: 5px;
  729. display: inline-block;
  730. padding: 0 5px;
  731. }
  732. .navBarTOP {
  733. position: fixed;
  734. width: 100%;
  735. z-index: 2;
  736. top: 0;
  737. }
  738. .cellcontent .textRight {
  739. float: right;
  740. color: #0057ba;
  741. }
  742. </style>