dailyHistorical.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. <template>
  2. <div class="bgcolor">
  3. <!-- 顶部条-->
  4. <van-nav-bar
  5. class="navBar"
  6. title="下属业务员历史日报"
  7. left-arrow
  8. @click-left="onClickLeft"
  9. />
  10. <div class="container contentpd16 containers">
  11. <van-row gutter="20">
  12. <van-col span="12">
  13. <van-cell :title="companyName" is-link arrow-direction="down" @click="regionClick"/>
  14. </van-col>
  15. <van-col span="12">
  16. <van-cell :title="regionName" is-link @click="SalesRegionClick" arrow-direction="down"/>
  17. </van-col>
  18. <van-col span="12">
  19. <van-cell :title="deptName" is-link @click="SalesDepartmentClick" arrow-direction="down"/>
  20. </van-col>
  21. <van-col span="12">
  22. <van-cell :title="userName" is-link @click="StaffClick" arrow-direction="down"/>
  23. </van-col>
  24. <van-col span="12">
  25. <van-cell :title="formData.startTime" is-link @click="StartTimeClick">
  26. <template #right-icon>
  27. <van-icon :name="timeico" class="search-icon"/>
  28. </template>
  29. </van-cell>
  30. </van-col>
  31. <van-col span="12">
  32. <van-cell :title="formData.endTime" is-link @click="EndTimeClick">
  33. <template #right-icon>
  34. <van-icon :name="timeico" class="search-icon"/>
  35. </template>
  36. </van-cell>
  37. </van-col>
  38. </van-row>
  39. <br>
  40. <van-button type="info" size="small" plain class="Btn100" @click="searchBtn">查找</van-button>
  41. </div>
  42. <!-- <div class="container">-->
  43. <!-- <div class="cellcontent brud" style="padding: 16px 16px;background-color: #fff;">-->
  44. <!-- <el-table class="elTreeTableLsiy" style="text-align: center;" :data="tableList" row-key="id" border lazy :tree-props="{ children: 'children', hasChildren: 'hasChildren' }">-->
  45. <!-- <el-table-column prop="month" label="月份" width="60" />-->
  46. <!-- <el-table-column prop="commitRate" label="提交率%" />-->
  47. <!-- <el-table-column prop="approvalRate" label="审批率%" />-->
  48. <!-- </el-table>-->
  49. <!-- </div>-->
  50. <!-- </div>-->
  51. <div class="container">
  52. <van-list v-model="loading" :finished="finished" @load="onLoad" finished-text="--已经到底了--">
  53. <div class="cellcontent brud" v-for="(item,index) in list" :key="index">
  54. <van-cell>
  55. <div class="cardContent" @click="dailyFn(item)">
  56. <div class="title" >
  57. <p class="textLeft">{{item.pnickName}}的日报({{item.date}})</p>
  58. <p class="textRight" v-if="item.status==3">已审批</p>
  59. <p class="textRight" v-if="item.status==-1">过期未汇报</p>
  60. <p class="textRight" v-if="item.status==0">待汇报</p>
  61. <p class="textRight" v-if="item.status==2">退回待处理</p>
  62. <p class="textRight" v-if="item.status==1">待审批</p>
  63. </div>
  64. <div class="info" v-if="item.status>0&&item.status<3">提交时间:{{item.commitTime}}</div>
  65. <div class="info" v-if="item.status<1">创建时间:{{dateFn(item.date)}}</div>
  66. <div class="info" v-if="item.status==3">提交时间:{{item.commitTime}}</div>
  67. <div class="info" v-if="item.status==3">审批时间:{{item.approvalTime}}</div>
  68. </div>
  69. </van-cell>
  70. </div>
  71. <van-empty v-if="list.length==0"/>
  72. </van-list>
  73. </div>
  74. <br>
  75. <br>
  76. <van-popup v-model="RegionShow" capture position="bottom">
  77. <van-picker
  78. show-toolbar
  79. :columns="companyList"
  80. value-key="deptName"
  81. @confirm="onregionConfirm"
  82. @cancel="RegionShow = false"
  83. />
  84. </van-popup>
  85. <van-popup v-model="SalesRegionShow" capture position="bottom">
  86. <van-picker
  87. show-toolbar
  88. :columns="regionList"
  89. value-key="deptName"
  90. @confirm="onSalesRegionConfirm"
  91. @cancel="SalesRegionShow = false"
  92. />
  93. </van-popup>
  94. <van-popup v-model="SalesDepartmentShow" capture position="bottom">
  95. <van-picker
  96. show-toolbar
  97. :columns="deptList"
  98. value-key="deptName"
  99. @confirm="onSalesDepartmentConfirm"
  100. @cancel="SalesDepartmentShow = false"
  101. />
  102. </van-popup>
  103. <van-popup v-model="StaffShow" capture position="bottom">
  104. <van-picker
  105. show-toolbar
  106. :columns="userList"
  107. @confirm="onStaffConfirm"
  108. value-key="nickName"
  109. @cancel="StaffShow = false"
  110. />
  111. </van-popup>
  112. <van-popup v-model="StartTimeShow" capture position="bottom">
  113. <van-datetime-picker
  114. v-model="strtcurrentDate"
  115. type="date"
  116. title="选择查找开始时间"
  117. :min-date="strtminDate"
  118. :max-date="strtmaxDate"
  119. @confirm="onStartTimeConfirm"
  120. @cancel="StartTimeShow = false"
  121. />
  122. </van-popup>
  123. <van-popup v-model="EndTimeShow" capture position="bottom">
  124. <van-datetime-picker
  125. v-model="endcurrentDate"
  126. type="date"
  127. title="选择查找结束时间"
  128. :min-date="endminDate"
  129. :max-date="endmaxDate"
  130. @confirm="onEndTimeConfirm"
  131. @cancel="EndTimeShow = false"
  132. />
  133. </van-popup>
  134. </div>
  135. </template>
  136. <script>
  137. import timeico from "@/assets/Icon/datatims.png";
  138. import {getDeptInfo,querySubReport} from "@/api/index";
  139. export default {
  140. name: "MyHistoricalWeekly",
  141. data() {
  142. return {
  143. timeico: timeico,
  144. RegionShow: false,
  145. SalesRegionShow: false,
  146. SalesDepartmentShow: false,
  147. StaffShow: false,
  148. StartTimeShow: false,
  149. EndTimeShow: false,
  150. PhotoTypeList: [{text: "009", value: "09"}],
  151. strtminDate: new Date(2022, 0, 1),
  152. endminDate: new Date(2022, 0, 1),
  153. strtmaxDate: new Date(),
  154. endmaxDate: new Date(),
  155. strtcurrentDate: new Date(),
  156. endcurrentDate: new Date(),
  157. companyName:"全部公司",
  158. deptName:"全部销售部",
  159. regionName:"全部大区",
  160. userName:"全部业务员",
  161. companyCode:"",
  162. deptCode:"",
  163. regionCode:"",
  164. userCode:"",
  165. companyList:[],
  166. deptList:[],
  167. regionList:[],
  168. userList:[],
  169. deptForm:{type:"",parentId:""},
  170. list:[],
  171. loading: false,
  172. finished: true,
  173. formData:{
  174. type:"1", // 汇报类型或入口 1-下属业务员日报 2-下属销售部主管周报 3-下属大区主管半月报
  175. companyId:"", // 公司id,必传 Long类型
  176. regionId:"", // 大区id,必传 Long类型
  177. deptId:"", // 部门id,如果为周报或日报为必传 Long类型
  178. userId:"", // 业务员id,如果为日报为必传 Long类型
  179. startTime:"", // 开始时间,必传 格式:yyyy-MM-dd String类型
  180. endTime:"", // 结束时间,必传 格式:yyyy-MM-dd String类型
  181. pageNum:1 , // 当前页码 int类型
  182. pageSize:10, // 当前每页条数 int类型
  183. },
  184. tableList:[]
  185. }
  186. },
  187. beforeDestroy(){
  188. console.log("999900")
  189. },
  190. created() {
  191. this.userList=[]
  192. this.formData.startTime =this.getThreeDaysAgo()
  193. // this.formData.startTime = this.GetPreMonthDay(this.parseTime(new Date(), '{y}-{m}-{d}'),2)
  194. // this.strtcurrentDate=new Date(this.GetPreMonthDay(this.parseTime(new Date(), '{y}-{m}-{d}'),2))
  195. this.strtcurrentDate=new Date(this.getThreeDaysAgo())
  196. this.formData.endTime = this.parseTime(new Date(), '{y}-{m}-{d}') + ""
  197. this.endminDate=new Date(this.GetPreMonthDay(this.parseTime(new Date(), '{y}-{m}-{d}'),2))
  198. this.powerGrade = localStorage.getItem("powerGrade")
  199. this.getDeptInfo("dept")
  200. if(this.powerGrade==5){
  201. setTimeout(()=>{
  202. if(this.$route.query.userCode==undefined){
  203. this.companyName=this.companyList[0].deptName;
  204. this.companyCode=this.companyList[0].deptId;
  205. }
  206. this.getDeptInfo("dept",1)
  207. },1000)
  208. }
  209. if(this.powerGrade==4){
  210. setTimeout(()=>{
  211. this.getDeptInfo("dept",1)
  212. },1000)
  213. }
  214. if(this.powerGrade==3){
  215. setTimeout(()=>{
  216. this.getDeptInfo("dept",2)
  217. },1000)
  218. }
  219. if(this.powerGrade==2||this.powerGrade==1){
  220. setTimeout(()=>{
  221. this.getDeptInfo("user")
  222. },2000)
  223. }
  224. if(this.$route.query.userCode!=undefined){
  225. this.companyName=this.$route.query.companyName
  226. this.companyCode=this.$route.query.companyCode
  227. this.regionName=this.$route.query.regionName
  228. this.regionCode=this.$route.query.regionCode
  229. this.userCode=this.$route.query.userCode
  230. this.userName=this.$route.query.userName
  231. this.deptName=this.$route.query.deptName
  232. this.deptCode=this.$route.query.deptCode
  233. this.formData.startTime=this.$route.query.startTime
  234. this.formData.endTime=this.$route.query.endTime
  235. this.searchBtn()
  236. this.getDeptInfo("dept",2)
  237. this.getDeptInfo("user")
  238. }else{
  239. setTimeout(()=>{
  240. this.searchBtn()
  241. },1000)
  242. }
  243. },
  244. watch: {
  245. $route(to, from) {
  246. if(to.path=="/subordinateHistoricalDaily"&&from.path!="/dailyHistoricalDetails"){
  247. if(this.$route.query.userCode!=undefined){
  248. this.companyName=this.$route.query.companyName
  249. this.companyCode=this.$route.query.companyCode
  250. this.regionName=this.$route.query.regionName
  251. this.regionCode=this.$route.query.regionCode
  252. this.userCode=this.$route.query.userCode
  253. this.userName=this.$route.query.userName
  254. this.deptName=this.$route.query.deptName
  255. this.deptCode=this.$route.query.deptCode
  256. this.formData.startTime=this.$route.query.startTime
  257. this.formData.endTime=this.$route.query.endTime
  258. this.searchBtn()
  259. setTimeout(()=>{
  260. this.getDeptInfo("dept",2)
  261. this.getDeptInfo("user")
  262. })
  263. }else{
  264. this.userList=[]
  265. this.formData.pageNum=1
  266. this.list = [];
  267. this.tableList=[];
  268. this.regionName="全部大区"
  269. this.regionCode=""
  270. this.deptName="全部销售部"
  271. this.deptCode=""
  272. this.userCode=""
  273. this.userName="全部业务员"
  274. this.powerGrade = localStorage.getItem("powerGrade")
  275. this.getDeptInfo("dept")
  276. if(this.powerGrade==5){
  277. setTimeout(()=>{
  278. if(this.$route.query.userCode==undefined){
  279. this.companyName=this.companyList[0].deptName;
  280. this.companyCode=this.companyList[0].deptId;}
  281. this.getDeptInfo("dept",1)
  282. },1000)
  283. }
  284. if(this.powerGrade==4){
  285. setTimeout(()=>{
  286. this.getDeptInfo("dept",1)
  287. },1000)
  288. }
  289. if(this.powerGrade==3){
  290. setTimeout(()=>{
  291. this.getDeptInfo("dept",2)
  292. },1000)
  293. }
  294. if(this.powerGrade==2||this.powerGrade==1){
  295. setTimeout(()=>{
  296. this.getDeptInfo("user")
  297. },2000)
  298. }
  299. setTimeout(()=>{
  300. this.searchBtn()
  301. },1000)
  302. }
  303. }
  304. }
  305. },
  306. methods: {
  307. dateFn(val){
  308. return val.slice(0,4)+"-"+val.slice(4,6)+"-"+val.slice(6,8)
  309. },
  310. onLoad(){
  311. this.querySubReport()
  312. },
  313. searchBtn(){
  314. // if(this.userCode==""){
  315. // this.$toast("业务员未选择")
  316. // }else{
  317. this.formData.pageNum=1
  318. this.list = [];
  319. this.querySubReport()
  320. // }
  321. },
  322. querySubReport(){
  323. let loading1=this.$toast.loading({
  324. duration: 0,
  325. message: '加载中...',
  326. forbidClick: true,
  327. });
  328. if (this.refreshing) {
  329. this.list = [];
  330. this.refreshing = false;
  331. }
  332. this.formData.companyId=this.companyCode; // 公司id,必传 Long类型
  333. this.formData.regionId=this.regionCode; // 大区id,必传 Long类型
  334. this.formData.deptId=this.deptCode; // 部门id,如果为周报或日报为必传 Long类型
  335. this.formData.userId=this.userCode; // 业务员id,如果为日报为必传 Long类型
  336. querySubReport(this.formData).then(res=>{
  337. loading1.clear()
  338. if(res.code==200){
  339. this.loading=false
  340. this.list = this.list.concat(res.data)
  341. if (this.list.length >=res.total) {
  342. this.finished = true;
  343. }else{
  344. this.finished = false;
  345. }
  346. this.formData.pageNum=this.formData.pageNum+1
  347. // this.tableList=res.data.rates
  348. }
  349. })
  350. },
  351. getThreeDaysAgo() {
  352. let myDate = new Date();
  353. let lw = new Date(myDate - 1000 * 60 * 60 * 24 * 7); //最后一个数字30可改,30天的意思
  354. let lastY = lw.getFullYear();
  355. let lastM = lw.getMonth() + 1;
  356. let lastD = lw.getDate();
  357. let startData =
  358. lastY +
  359. "-" +
  360. (lastM < 10 ? "0" + lastM : lastM) +
  361. "-" +
  362. (lastD < 10 ? "0" + lastD : lastD); //三十天之前日期
  363. return startData;
  364. },
  365. GetPreMonthDay(date, monthNum,type) {
  366. var dateArr = date.split('-');
  367. var year = dateArr[0]; //获取当前日期的年份
  368. var month = dateArr[1]; //获取当前日期的月份
  369. var day = dateArr[2]; //获取当前日期的日
  370. var days = new Date(year, month, 0);
  371. days = days.getDate(); //获取当前日期中月的天数
  372. var year2 = year;
  373. var month2 = parseInt(month) - monthNum;
  374. if (month2 <= 0) {
  375. var absM = Math.abs(month2);
  376. year2 = parseInt(year2) - Math.ceil(absM / 12 == 0 ? 1 : parseInt(absM) / 12);
  377. month2 = 12 - (absM % 12);
  378. }
  379. var day2 = day;
  380. var days2 = new Date(year2, month2, 0);
  381. days2 = days2.getDate();
  382. if (day2 > days2) {
  383. day2 = days2;
  384. }
  385. if (month2 < 10) {
  386. month2 = '0' + month2;
  387. }
  388. var t2 =""
  389. if(monthNum>0){
  390. t2= year2 + '-' + month2 + '-01';
  391. }else{
  392. if(type=="end"){
  393. var Months=new Date().getMonth()+1
  394. var days111=new Date().getDate()
  395. if (Months < 10) {
  396. Months = '0' + Months;
  397. }
  398. if (days111 < 10) {
  399. days111 = '0' + days111;
  400. }
  401. if(new Date().getFullYear()==year){
  402. if(parseInt(month2)>=new Date().getMonth()+1){
  403. t2= year2 + '-' + Months + '-' + days111;
  404. }else{
  405. var daysd=this.getMonthDays(year2,month2)
  406. t2= year2 + '-' + month2 + '-' + daysd;
  407. }
  408. }else{
  409. var daysd=this.getMonthDays(year2,month2)
  410. t2= year2 + '-' + month2 + '-' + daysd;
  411. }
  412. }else{
  413. t2= year2 + '-' + month2 + '-' + day2;
  414. }
  415. }
  416. return t2;
  417. },
  418. getMonthDays(year,month){
  419. var stratDate = new Date(year,month-1,1),
  420. endData = new Date(year,month,1);
  421. var days = (endData -stratDate)/(1000*60*60*24);
  422. return days;
  423. },
  424. getDeptInfo(type,grade){
  425. this.deptForm.type=type
  426. if(type=="dept"){
  427. if(grade=="1"){
  428. this.deptForm.parentId=this.companyCode
  429. }else if(grade=="2"){
  430. this.deptForm.parentId=this.regionCode
  431. }else{
  432. this.deptForm.type=""
  433. this.deptForm.parentId=""
  434. }
  435. }else if(type=="user"){
  436. this.deptForm.parentId=this.deptCode
  437. }
  438. getDeptInfo(this.deptForm).then(res=>{
  439. if(type=="dept"){
  440. if(grade=="1"){
  441. if(res.data.region!=null){
  442. this.regionList=[{deptName:"全部大区",deptId:""}].concat(res.data.region)
  443. }
  444. }else if(grade=="2"){
  445. if(res.data.dept!=null){
  446. this.deptList=[{deptName:"全部销售部",deptId:""}].concat(res.data.dept)
  447. }
  448. }else{
  449. this.companyList=res.data.company
  450. if(this.$route.query.userCode==undefined){
  451. this.companyName=res.data.company[0].deptName
  452. this.companyCode=res.data.company[0].deptId
  453. }
  454. if(res.data.dept!=null){
  455. this.deptName=res.data.dept[0].deptName
  456. this.deptCode=res.data.dept[0].deptId
  457. this.deptList=res.data.dept
  458. }
  459. if(res.data.region!=null){
  460. this.regionName=res.data.region[0].deptName
  461. this.regionCode=res.data.region[0].deptId
  462. this.regionList=res.data.region
  463. }
  464. if(res.data.user!=null){
  465. this.userList=res.data.user
  466. this.userCode=""
  467. }
  468. }
  469. }else if(type=="user"){
  470. if(res.data.user!=null){
  471. this.userList=[{nickName:"全部业务员",userId:""}].concat(res.data.user)
  472. }
  473. }
  474. })
  475. },
  476. dailyFn(row) {
  477. if(row.status!='0'){
  478. if(row.status==-1){
  479. var dayTime=row.date;
  480. var times=new Date(dayTime.slice(0, 4)+"-"+dayTime.slice(4, 6)+"-"+dayTime.slice(6, 8)).getTime()
  481. var time=new Date("2022-08-25").getTime()
  482. if(times<time){
  483. this.$dialog.alert({
  484. title: '系统提示',
  485. message: '非常抱歉,8月25日前历史报告数据不存在',
  486. })
  487. }else{
  488. this.$router.push({
  489. path: "/dailyHistoricalDetails",
  490. query: {reportId: row.id,}
  491. })
  492. }
  493. }else{
  494. this.$router.push({
  495. path: "/dailyHistoricalDetails",
  496. query: {reportId: row.id,}
  497. })
  498. }
  499. }
  500. // if(row.status>0){
  501. //
  502. // }
  503. },
  504. onClickLeft() {
  505. this.$router.go(-1)
  506. },
  507. regionClick() {
  508. // if(this.powerGrade>4){
  509. this.RegionShow = true;
  510. // }
  511. },
  512. SalesRegionClick(val) {
  513. // if(this.powerGrade>3){
  514. this.SalesRegionShow = true;
  515. // }
  516. },
  517. SalesDepartmentClick() {
  518. // if(this.powerGrade>2){
  519. this.SalesDepartmentShow = true;
  520. // }
  521. },
  522. StaffClick() {
  523. this.StaffShow = true;
  524. },
  525. StartTimeClick() {
  526. this.StartTimeShow = true;
  527. },
  528. EndTimeClick() {
  529. this.EndTimeShow = true;
  530. },
  531. onregionConfirm(val) {
  532. this.RegionShow = false;
  533. this.companyName=val.deptName;
  534. this.companyCode=val.deptId;
  535. this.regionName="全部大区";
  536. this.regionCode="";
  537. this.deptName="全部销售部";
  538. this.deptCode="";
  539. this.userName="全部业务员";
  540. this.userCode="";
  541. this.getDeptInfo("dept",1)
  542. },
  543. onSalesRegionConfirm(val) {
  544. this.SalesRegionShow = false;
  545. this.regionName=val.deptName;
  546. this.regionCode=val.deptId;
  547. if(val.deptId!=""){
  548. this.getDeptInfo("dept",2)
  549. }
  550. this.deptName="全部销售部";
  551. this.deptCode="";
  552. this.userName="全部业务员";
  553. this.userCode="";
  554. this.userList=[]
  555. },
  556. onSalesDepartmentConfirm(val) {
  557. this.SalesDepartmentShow = false;
  558. this.deptName=val.deptName;
  559. this.deptCode=val.deptId;
  560. if(val.deptId!=""){
  561. this.getDeptInfo("user")
  562. }
  563. this.userName="全部业务员";
  564. this.userCode="";
  565. },
  566. onStaffConfirm(val) {
  567. this.StaffShow = false;
  568. this.userName=val.nickName;
  569. this.userCode=val.userId;
  570. },
  571. onStartTimeConfirm(val) {
  572. this.formData.startTime = this.parseTime(new Date(val), '{y}-{m}-{d}') + ""
  573. this.StartTimeShow = false;
  574. this.endminDate = new Date(val)
  575. this.endmaxDate=new Date(this.GetPreMonthDay(this.formData.startTime,-2,"end"))
  576. if((new Date(this.formData.startTime).getTime()>new Date(this.formData.endTime).getTime())||(new Date(this.endmaxDate).getTime()<new Date(this.formData.endTime).getTime())) {
  577. this.formData.endTime = this.parseTime(new Date(val), '{y}-{m}-{d}') + ""
  578. this.endcurrentDate= new Date(this.GetPreMonthDay(this.formData.startTime,-2))
  579. }
  580. },
  581. onEndTimeConfirm(val) {
  582. this.formData.endTime = this.parseTime(new Date(val), '{y}-{m}-{d}')
  583. // this.strtmaxDate = new Date(val)
  584. if(new Date(this.formData.startTime).getTime()>new Date(this.formData.endTime).getTime()){
  585. this.formData.startTime=this.formData.endTime
  586. }
  587. this.EndTimeShow = false;
  588. },
  589. }
  590. }
  591. </script>
  592. <style>
  593. .cardContent {
  594. padding: 0;
  595. box-sizing: border-box;
  596. }
  597. .cardContent .title {
  598. font-size: 15px;
  599. font-weight: bold;
  600. color: #333;
  601. line-height: 22px;
  602. }
  603. .cardContent .title p {
  604. padding: 0;
  605. margin: 0
  606. }
  607. .cardContent .title .textLeft {
  608. display: inline-block;
  609. padding-bottom: 10px;
  610. }
  611. .cardContent .title .textRight {
  612. float: right;
  613. color: #0057ba;
  614. }
  615. .cardContent .info {
  616. font-size: 14px;
  617. color: #666;
  618. line-height: 26px;
  619. }
  620. .search-icon {
  621. font-size: 16px;
  622. line-height: inherit;
  623. margin-top: 4px;
  624. }
  625. .brud {
  626. margin: 16px;
  627. border-radius: 8px;
  628. overflow: hidden;
  629. }
  630. .contentpd16 {
  631. padding: 16px;
  632. background-color: white;
  633. }
  634. .Btn100 {
  635. margin: 0 auto 10px;
  636. display: block;
  637. width: 100%;
  638. border-radius: 5px;
  639. color: #fff !important;
  640. background-color: #0057ba;
  641. border: 1px solid #0057ba;
  642. height: 36px
  643. }
  644. .contentpd16 .van-cell {
  645. background-color: #EBF4FF;
  646. margin: 8px 0;
  647. border-radius: 5px;
  648. padding: 4px 16px;
  649. }
  650. .elTreeTableLsiy th.el-table__cell>.cell{text-align: center;}
  651. .elTreeTableLsiy td.el-table__cell div{
  652. text-align: right;
  653. }
  654. .elTreeTableLsiy .el-table__cell{
  655. padding: 2px 0;
  656. }
  657. .elTreeTableLsiy .el-table__cell:first-child .cell{
  658. text-align: center;
  659. }
  660. </style>