historAllVisit.vue 21 KB

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