You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

UserAnalysis.vue 25 kB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. <template>
  2. <div class="el-col el-col-21" style="padding-right:10px">
  3. <div style="margin-top: 10px;">
  4. <b class="pro_item">活动分析</b> <span class="update_time">数据更新时间:</span><span style="font-size: 12px;">{{lastUpdatedTime}} &nbsp/&nbsp从{{recordBeginTime}}开始统计</span>
  5. </div>
  6. <div style="margin-top: 20px;">
  7. <span class="sta_iterm">统计周期:</span>
  8. <button type="button" class='btnFirst' id ="yesterday_usr" v-bind:class="{colorChange:1==dynamic}" @click="resetPage(),getUserList('yesterday_usr',1)">昨天</button>
  9. <button type="button" class='btn' id = "last_week_usr" v-bind:class="{colorChange:8==dynamic}" @click="resetPage(),getUserList('last_week_usr',8)">上周</button>
  10. <button type="button" class='btn' id = "current_week_usr" v-bind:class="{colorChange:2==dynamic}" @click="resetPage(),getUserList('current_week_usr',2)">本周</button>
  11. <button type="button" class='btn' id = "current_month_usr" v-bind:class="{colorChange:3==dynamic}" @click="resetPage(),getUserList('current_month_usr',3)">本月</button>
  12. <button type="button" class='btn' id = "last_month_usr" v-bind:class="{colorChange:4==dynamic}" @click="resetPage(),getUserList('last_month_usr',4)">上月</button>
  13. <button type="button" class='btn' id = "monthly_usr" v-bind:class="{colorChange:5==dynamic}" @click="resetPage(),getUserList('monthly_usr',5)">近30天</button>
  14. <button type="button" class='btn' id = "current_year_usr" v-bind:class="{colorChange:6==dynamic}" @click="resetPage(),getUserList('current_year_usr',6)">今年</button>
  15. <button type="button" class='btnLast' id = "all_usr" v-bind:class="{colorChange:7==dynamic}" @click="resetPage(),getUserList('all_usr',7)">所有</button>
  16. <span style="margin-left: 20px;">
  17. <el-date-picker
  18. v-model="value_time"
  19. prefix-icon="el-icon-time"
  20. @change="resetPage(),getUserList('',0)"
  21. type="daterange"
  22. size='small'
  23. unlink-panels
  24. range-separator="至"
  25. start-placeholder="开始日期"
  26. end-placeholder="结束日期">
  27. </el-date-picker>
  28. </span>
  29. <span style="float:right; margin-right: 20px;" >
  30. <a style="display:inline-block;margin-left: 20px; " id = 'download'>
  31. <a class="el-icon-download" v-if="tableData!=''" :href= "this.dataUrl + '?startDate='+this.params.startDate+'&endDate='+this.params.endDate+'&IsReturnFile=true'+'&userName='+this.params.userName" ></a>
  32. <i class="el-icon-download" v-else="tableData=''" href="#" style="color:rgba(187, 187, 187, 100);" @click='popMark()'></i>
  33. <span >
  34. <a v-if="tableData!=''" :href= "this.dataUrl + '?startDate='+this.params.startDate+'&endDate='+this.params.endDate+'&IsReturnFile=true'+'&userName='+this.params.userName" >下载报告</a>
  35. <a v-else="tableData=''" href= "#" style="color:rgba(187, 187, 187, 100);" @click='popMark()'>下载报告</a>
  36. </span>
  37. </a>
  38. <span style="display:inline-block;margin-left: 20px; ">
  39. <el-input size="small" placeholder="输入用户名搜索" v-model="search" class="input-with-select" @keyup.enter.native="searchName() "><i slot="suffix" class="el-input__icon el-icon-search" @click="searchName() "></i>
  40. </el-input>
  41. </span>
  42. </span>
  43. </div>
  44. <div style="margin-top: 30px;">
  45. <el-table
  46. :data="tableData"
  47. style="width: 100%"
  48. :header-cell-style="tableHeaderStyle"
  49. :cell-style='cellStyle'>
  50. <el-table-column
  51. label="ID"
  52. prop="ID"
  53. align="left"
  54. stripe
  55. >
  56. </el-table-column>
  57. <el-table-column
  58. fixed
  59. label="用户名"
  60. align="left"
  61. prop="Name"
  62. width="100px">
  63. <template slot-scope="scope">
  64. <a :href="AppSubUrl +'../../../../'+ scope.row.Name">{{scope.row.Name}} </a>
  65. </template>
  66. </el-table-column>
  67. <el-table-column
  68. prop="UserIndex"
  69. label="归一化用户指数"
  70. width="120px"
  71. align="center">
  72. <template slot-scope="scope">
  73. {{scope.row.UserIndex | rounding}}
  74. </template>
  75. </el-table-column>
  76. <el-table-column
  77. prop="UserIndexPrimitive"
  78. label="用户指数"
  79. width="120px"
  80. align="center">
  81. <template slot-scope="scope">
  82. {{scope.row.UserIndexPrimitive | rounding}}
  83. </template>
  84. </el-table-column>
  85. <el-table-column
  86. prop="CodeMergeCount"
  87. label="PR数"
  88. align="center">
  89. </el-table-column>
  90. <el-table-column
  91. prop="CommitCount"
  92. label="commit数"
  93. align="center">
  94. </el-table-column>
  95. <el-table-column
  96. prop="IssueCount"
  97. label="提出任务数"
  98. align="center">
  99. </el-table-column>
  100. <el-table-column
  101. prop="CommentCount"
  102. label="评论数"
  103. align="center">
  104. </el-table-column>
  105. <el-table-column
  106. prop="FocusRepoCount"
  107. label="关注项目数"
  108. align="center">
  109. </el-table-column>
  110. <el-table-column
  111. prop="StarRepoCount"
  112. label="点赞项目数"
  113. align="center">
  114. </el-table-column>
  115. <el-table-column
  116. prop="LoginCount"
  117. label="登录次数"
  118. align="center">
  119. </el-table-column>
  120. <el-table-column
  121. prop="WatchedCount"
  122. label="关注者数"
  123. align="center">
  124. </el-table-column>
  125. <el-table-column
  126. prop="CommitCodeSize"
  127. label="commit代码行数"
  128. width="115px"
  129. align="center">
  130. </el-table-column>
  131. <el-table-column
  132. prop="SolveIssueCount"
  133. label="已解决任务数"
  134. align="center">
  135. </el-table-column>
  136. <el-table-column
  137. prop="EncyclopediasCount"
  138. label="百科页面贡献次数"
  139. width="130px"
  140. align="center">
  141. </el-table-column>
  142. <el-table-column
  143. prop="CreateRepoCount"
  144. label="创建项目"
  145. align="center">
  146. </el-table-column>
  147. <el-table-column
  148. prop="CloudBrainTaskNum"
  149. label="云脑任务数"
  150. width="120px"
  151. align="center">
  152. </el-table-column>
  153. <el-table-column
  154. prop="CloudBrainRunTime"
  155. label="云脑运行时间(小时)"
  156. width="120px"
  157. align="center">
  158. <template slot-scope="scope">
  159. {{scope.row.CloudBrainRunTime | roundingToHour}}
  160. </template>
  161. </el-table-column>
  162. <el-table-column
  163. prop="CommitDatasetNum"
  164. label="上传(提交)数据集文件数"
  165. width="120px"
  166. align="center">
  167. </el-table-column>
  168. <el-table-column
  169. prop="CommitModelCount"
  170. label="提交模型数"
  171. width="120px"
  172. align="center">
  173. </el-table-column>
  174. <el-table-column
  175. prop="FocusOtherUser"
  176. label="关注他人数"
  177. width="120px"
  178. align="center">
  179. </el-table-column>
  180. <el-table-column
  181. prop="CollectDataset"
  182. label="收藏数据集"
  183. width="120px"
  184. align="center">
  185. </el-table-column>
  186. <el-table-column
  187. prop="CollectedDataset"
  188. label="被收藏数据集"
  189. width="120px"
  190. align="center">
  191. </el-table-column>
  192. <el-table-column
  193. prop="RecommendDataset"
  194. label="被推荐数据集数"
  195. width="120px"
  196. align="center">
  197. </el-table-column>
  198. <el-table-column
  199. prop="CollectImage"
  200. label="收藏镜像数"
  201. width="120px"
  202. align="center">
  203. </el-table-column>
  204. <el-table-column
  205. prop="CollectedImage"
  206. label="被收藏镜像数"
  207. width="120px"
  208. align="center">
  209. </el-table-column>
  210. <el-table-column
  211. prop="RecommendImage"
  212. label="被推荐镜像数"
  213. width="120px"
  214. align="center">
  215. </el-table-column>
  216. <el-table-column
  217. prop="Email"
  218. label="Email"
  219. width="120px"
  220. align="center">
  221. </el-table-column>
  222. <el-table-column
  223. prop="UserLocation"
  224. label="用户所在地址"
  225. width="120px"
  226. align="center">
  227. </el-table-column>
  228. <el-table-column prop="Phone" label="是否手机验证" width="120px" align="center">
  229. <template slot-scope="scope"> {{scope.row.Phone ? '是' : '否'}} </template>
  230. </el-table-column>
  231. <el-table-column
  232. prop="RegistDate"
  233. label="用户注册时间"
  234. width="120px"
  235. align="center">
  236. <template slot-scope="scope">
  237. {{scope.row.RegistDate | transformTimestamp}}
  238. </template>
  239. </el-table-column>
  240. <el-table-column
  241. prop="DataDate"
  242. label="系统统计时间"
  243. width="120px"
  244. align="center">
  245. </el-table-column>
  246. </el-table>
  247. </div>
  248. <div style="margin-top:50px;text-align:center">
  249. <el-pagination
  250. background
  251. @size-change="handleSizeChange"
  252. @current-change="handleCurrentChange"
  253. :current-page="page"
  254. :page-size="pageSize"
  255. :page-sizes="[5,10,20]"
  256. layout="total, sizes, prev, pager, next,jumper"
  257. :total="totalNum">
  258. </el-pagination>
  259. </div>
  260. </div>
  261. </template>
  262. <script>
  263. import { export2Excel } from '../excel/util.js'
  264. export default{
  265. name:'UserAnalysis',
  266. data() {
  267. return {
  268. type_val:'',
  269. recordBeginTime:'',
  270. lastUpdatedTime:'',
  271. page:1,
  272. pageSize:10,
  273. params:{startDate:'',endDate:'',page:1,pageSize:10,userName:''},
  274. tableData: [],
  275. totalNum:0,
  276. dataUrl:'../../api/v1/query_user_static_page',
  277. pickerOptions: {
  278. },
  279. value_time: '',
  280. search:'',
  281. data:'',
  282. columns: [{title: 'ID',key: 'ID'},{title: '用户名',key: 'Name'},{title: 'PR数',key: 'CodeMergeCount'},{title: 'commit数',key:'CommitCount'},{title: '提出任务数',key: 'IssueCount'},{title: '评论数',key: 'CommentCount'},{title: '关注项目数',key: 'FocusRepoCount'},{title: '点赞项目数',key: 'StarRepoCount'},{title: '登录次数',key: 'LoginCount'},{title:'关注者数',key:'WatchedCount'},{title:'commit代码行数',key:'CommitCodeSize'},{title:'已解决任务数',key:'SolveIssueCount'},{title:'百科页面贡献次数',key:'EncyclopediasCount'},{title:'创建项目',key:'CreateRepoCount'},{title:'用户注册时间',key:'RegistDate'},{title:'云脑任务数',key:'CloudBrainTaskNum'},{title:'云脑运行时间(小时)',key:'CloudBrainRunTime'},{title:'上传(提交)数据集文件数',key:'CommitDatasetNum'},{title:'提交模型数',key:'CommitModelCount'},{title:'归一化用户指数',key:'UserIndex'},{title:'用户指数',key:'UserIndexPrimitive'},{title:'关注他人数',key:'FocusOtherUser'},{title:'收藏数据集',key:'CollectDataset'},{title:'被收藏数据集',key:'CollectedDataset'},{title:'被推荐数据集数',key:'RecommendDataset'},{title:'收藏镜像数',key:'CollectImage'},{title:'被收藏镜像数',key:'CollectedImage'},{title:'被推荐镜像数',key:'RecommendImage'},{title:'Email',key:'Email'},{title:'用户所在地址',key:'UserLocation'},{title:'系统统计时间',key:'CountDate'}],
  283. blob:'',
  284. fileName:'',
  285. dynamic:7,
  286. params_pro:{type:'all',page:1,pagesize:10,beginTime:'',endTime:'',q:'',sort:'openi'},
  287. };
  288. },
  289. methods: {
  290. popMark(){
  291. alert("数据为空时,不能下载!")
  292. },
  293. exportData(){
  294. // this.getUserList('all_usr',7)
  295. var saveFileName = this.getFileName()
  296. export2Excel(this.columns,this.tableData,saveFileName)
  297. },
  298. getFileName(){
  299. var saveFileName=''
  300. var Date=(this.params.startDate).split('-')
  301. var startDate=Date[0]+''+Date[1]+''+Date[2]
  302. Date=(this.params.endDate).split('-')
  303. var endDate=Date[0]+Date[1]+Date[2]
  304. saveFileName = '用户分析_'+this.search+''+startDate+'_'+endDate
  305. if (this.type_val=='all_usr'){
  306. saveFileName = '用户分析_'+this.search+'_all'
  307. }
  308. return saveFileName
  309. },
  310. handleCurrentChange(val){
  311. this.params.page = val
  312. this.page = val
  313. this.getUserList(this.type_val,this.dynamic)
  314. },
  315. handleSizeChange(val){
  316. this.params.pageSize = val
  317. this.resetPage()
  318. this.getUserList(this.type_val,this.dynamic)
  319. },
  320. resetPage(){
  321. this.page=1
  322. this.params.page = 1
  323. },
  324. formatDate(myyear,mymonth,myweekday) {
  325. // var myyear = this.date.getFullYear();
  326. // var mymonth = this.date.getMonth() + 1;
  327. // var myweekday = this.date.getDate();
  328. if (mymonth < 10) {
  329. mymonth = "0" + mymonth;
  330. }
  331. if (myweekday < 10) {
  332. myweekday = "0" + myweekday;
  333. }
  334. return (myyear + "-" + mymonth + "-" + myweekday);
  335. },
  336. // 获得某月的天数
  337. getMonthDays(nowYear,month){
  338. let monthStartDate = new Date(nowYear, month, 1);
  339. let monthEndDate = new Date(nowYear, month + 1, 1);
  340. let days = (monthEndDate - monthStartDate)/(1000 * 60 * 60 * 24);
  341. return days;
  342. },
  343. getUpdateTime(){
  344. this.$axios.get('../../api/v1/projectboard/project',{
  345. params:this.params_pro
  346. }).then((res)=>{
  347. this.recordBeginTime=res.data.recordBeginTime
  348. this.lastUpdatedTime=res.data.lastUpdatedTime
  349. })
  350. },
  351. getUserList(type_val,index){
  352. this.type_val = type_val
  353. this.dynamic = index;
  354. var now = new Date(); // 当前日期
  355. var nowDayOfWeek = now.getDay(); // 今天本周的第几天
  356. var nowDay = now.getDate(); // 当前日
  357. var nowMonth = now.getMonth(); // 当前月
  358. var nowYear = now.getFullYear(); // 当前年
  359. var today = this.formatDate(nowYear,nowMonth+1,nowDay);
  360. let lastMonthDate = new Date(); // 上月日期
  361. lastMonthDate.setDate(1);
  362. lastMonthDate.setMonth(lastMonthDate.getMonth()-1);
  363. let lastYear = lastMonthDate.getYear();
  364. let lastMonth = lastMonthDate.getMonth();
  365. this.dataUrl = '../../api/v1/query_user_static_page';
  366. if (typeof type_val=="undefined" || type_val=="null" || type_val==""){
  367. this.params.startDate= this.formatDate(this.value_time[0].getFullYear(),this.value_time[0].getMonth() + 1,this.value_time[0].getDate());
  368. this.params.endDate = this.formatDate(this.value_time[1].getFullYear(),this.value_time[1].getMonth() + 1,this.value_time[1].getDate());
  369. }else{
  370. switch(type_val){
  371. case "yesterday_usr":{
  372. this.value_time=[]
  373. this.dataUrl = '../../api/v1/query_user_yesterday';
  374. break
  375. }
  376. case "current_week_usr":{
  377. this.value_time=[]
  378. this.dataUrl = '../../api/v1/query_user_current_week';
  379. break
  380. }
  381. case "last_week_usr":{
  382. this.value_time=[]
  383. this.dataUrl = '../../api/v1/query_user_last_week';
  384. break
  385. }
  386. case "current_month_usr":{
  387. this.value_time=[]
  388. this.dataUrl = '../../api/v1/query_user_current_month';
  389. break
  390. }
  391. case "last_month_usr":{
  392. this.value_time=[]
  393. this.dataUrl = '../../api/v1/query_user_last_month';
  394. break
  395. }
  396. case "monthly_usr":{
  397. this.value_time=[]
  398. this.dataUrl = '../../api/v1/query_user_last30_day';
  399. break
  400. }
  401. case "current_year_usr":{
  402. this.value_time=[]
  403. this.dataUrl = '../../api/v1/query_user_current_year';
  404. break
  405. }
  406. case "all_usr":{
  407. this.value_time=[]
  408. this.dataUrl = '../../api/v1/query_user_all';
  409. break
  410. }
  411. }
  412. };
  413. this.$axios.get(this.dataUrl,{
  414. params:this.params
  415. }).then((res)=>{
  416. this.tableData = res.data.data
  417. // console.log("res.data:"+res.data.data)
  418. this.totalNum = res.data.count
  419. })
  420. },
  421. searchName(){
  422. this.params.userName = this.search
  423. this.params.page = 1
  424. this.page=1
  425. this.getUserList(this.type_val, this.dynamic)
  426. },
  427. tableHeaderStyle({row,column,rowIndex,columnIndex}){
  428. if(rowIndex===0){
  429. return 'background:#f5f5f6;color:#606266'
  430. }
  431. },
  432. cellStyle({row,column,rowIndex,columnIndex}){
  433. if(rowIndex%2 === 1){
  434. return 'background:#f5f5f6;color:#606266'
  435. }
  436. },
  437. },
  438. filters:{
  439. rounding (value) {
  440. return Number(value).toFixed(2)
  441. },
  442. roundingToHour (value) {
  443. return (Number(value)/3600).toFixed(2)
  444. },
  445. transformTimestamp(timestamp){
  446. let a = new Date(timestamp*1000);
  447. const date = new Date(a);
  448. const Y = date.getFullYear() + '/';
  449. const M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '/';
  450. const D = (date.getDate() < 10 ? '0'+date.getDate() : date.getDate()) + ' ';
  451. const h = (date.getHours() < 10 ? '0'+date.getHours() : date.getHours()) + ':';
  452. const m = (date.getMinutes() <10 ? '0'+date.getMinutes() : date.getMinutes());// + ':' ;
  453. // const s = (date.getSeconds() <10 ? '0'+date.getSeconds() : date.getSeconds()) ; // 秒
  454. const dateString = Y + M + D + h + m ;//+ s;
  455. return dateString;
  456. },
  457. },
  458. mounted() {
  459. // document.getElementById("all_usr").style.outline="none"
  460. // document.getElementById("all_usr").focus()
  461. this.getUpdateTime()
  462. this.getUserList("all_usr",7)
  463. },
  464. created() {
  465. },
  466. watch:{
  467. search(val){
  468. if(!val){
  469. this.params.userName = this.search
  470. this.params.page = 1
  471. this.page=1
  472. this.getUserList(this.type_val, this.dynamic)
  473. }
  474. }
  475. },
  476. }
  477. </script>
  478. <style scoped>
  479. .pro_item{
  480. font-size: 16px;
  481. color: rgba(16, 16, 16, 100);
  482. font-family: SourceHanSansSC-bold;
  483. }
  484. .sta_item{
  485. font-size: 14px;
  486. color: rgb(0 0 0);
  487. font-family: SourceHanSansSC-bold;
  488. }
  489. .update_time{
  490. line-height: 17px;
  491. font-size: 12px;
  492. color:rgba(187, 187, 187, 100);
  493. margin-left: 10px;
  494. }
  495. /* .btn{
  496. line-height: 1.5;
  497. margin: -3px;
  498. border: 1px solid #409effd6;
  499. background: #FFFF;
  500. color: #409eff;
  501. width: 60px;
  502. height: 30px;
  503. border-radius:4px ;
  504. } */
  505. .btnFirst{
  506. line-height: 1.5;
  507. margin: -3.5px;
  508. border: 1px solid rgba(22, 132, 252, 100);
  509. border-right: none;
  510. background: #FFFF;
  511. color: #1684FC;
  512. width: 60px;
  513. height: 30px;
  514. border-radius:4px 0px 0px 4px;
  515. }
  516. .btn{
  517. line-height: 1.5;
  518. margin: -3.5px;
  519. border: 1px solid rgba(22, 132, 252, 100);
  520. border-right: none;
  521. background: #FFFF;
  522. color: #1684FC;
  523. width: 60px;
  524. height: 30px;
  525. }
  526. .btnLast{
  527. line-height: 1.5;
  528. margin: -3.5px;
  529. border: 1px solid rgba(22, 132, 252, 100);
  530. /* border-right: none; */
  531. background: #FFFF;
  532. color: #1684FC;
  533. width: 60px;
  534. height: 30px;
  535. border-radius:0px 4px 4px 0px;
  536. }
  537. .btnFirst,.btn,.btnLast {
  538. cursor: pointer;
  539. }
  540. /* .btn:focus,
  541. .btn:active{
  542. background-color:#409effd6 ;
  543. } */
  544. /* /deep/ .el-date-picker {
  545. width: 220px;
  546. } */
  547. /deep/ .el-table {
  548. font-size: 12px;
  549. }
  550. /deep/ .el-table tbody tr:hover>td {
  551. background-color:#D3D3D3!important;
  552. opacity:1
  553. }
  554. /deep/ .el-range-separator{
  555. width: 20% !important;
  556. }
  557. /deep/ .el-pagination {
  558. padding-bottom: 30px;
  559. }
  560. .colorChange {
  561. background-color: #1684FC;
  562. color: #FFFF;
  563. cursor: default;
  564. }
  565. </style>