myComment.vue 20 KB

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