view_history_progress.php 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704
  1. <link href="/css/base.css" rel="stylesheet">
  2. <link rel="stylesheet" type="text/css" href="/css/jquery.datetimepicker.css" />
  3. <link rel="stylesheet" href="/css/bootstrap-3.3.7-dist/css/bootstrap.min.css">
  4. <script src="/js/jquery.validate.min.js"></script>
  5. <script src="/js/layer/layer.js"></script>
  6. <script src="/js/jquery.datetimepicker.js"></script>
  7. <style>
  8. body{
  9. position: initial;
  10. }
  11. .some_class{
  12. width: 120px;
  13. height: 30px;
  14. line-height: 30px;
  15. }
  16. .screen{
  17. margin: 0 30px;
  18. font-size: 16px;
  19. color: #666666;
  20. }
  21. .screen-rows{
  22. /*margin: 20px 0;*/
  23. line-height: 30px;
  24. /*overflow: hidden;*/
  25. }
  26. .screen-rows>div{
  27. margin:20px 50px 0 0;
  28. }
  29. .screen-rows-title{
  30. line-height: 25px;
  31. font-size: 18px;
  32. color: #333;
  33. }
  34. .subject{
  35. margin-right: 50px;
  36. }
  37. .subject>select, .grade>select{
  38. width: 120px;
  39. height: 30px;
  40. }
  41. .go-back{
  42. font-size: 16px;
  43. border: none;
  44. color: #2977ff;
  45. outline: none;
  46. background: #fff;
  47. cursor: pointer;
  48. }
  49. .teaching-class{
  50. display: flex;
  51. }
  52. .active-class-box{
  53. display: flex;
  54. padding: 5px;
  55. background: #F8F8F8;
  56. }
  57. .active-class{
  58. margin: 5px;
  59. padding: 0 20px;
  60. border: 1px solid #619aff;
  61. border-radius: 2px;
  62. }
  63. .add-active-class{
  64. margin: 5px;
  65. font-size: 16px;
  66. color: #2977ff;
  67. cursor: pointer;
  68. }
  69. .add-active-class>img{
  70. display: inline-block;
  71. width: 18px;
  72. height: 18px;
  73. vertical-align: middle;
  74. margin-right: 2px;
  75. }
  76. .btn-delete, .btn-delete-chapter {
  77. display: inline-block;
  78. margin-left: 10px;
  79. font-size: 14px;
  80. color: red;
  81. cursor: pointer;
  82. }
  83. .screen .date input {
  84. height: 30px;
  85. border-radius: 4px;
  86. border: 1px solid #ccc;
  87. box-shadow: none;
  88. text-indent: 10px;
  89. }
  90. .look-history{
  91. width: 120px;
  92. line-height: 30px;
  93. border: 1px solid #2977ff;
  94. color: #2977ff;
  95. outline: none;
  96. background: #fff;
  97. cursor: pointer;
  98. }
  99. .screen-msg{
  100. font-size: 14px;
  101. color: #2977ff;
  102. }
  103. .img-add-versions{
  104. margin-left: 10px;
  105. vertical-align:middle;
  106. cursor: pointer;
  107. }
  108. .chapter-box{
  109. border: 1px solid #333;
  110. padding: 10px;
  111. height: 420px;
  112. overflow: -webkit-paged-x;
  113. }
  114. .chapter{
  115. float: left;
  116. margin: 5px;
  117. padding-top: 10px;
  118. padding-bottom: 10px;
  119. width: 40px;
  120. height: 380px;
  121. line-height: 30px;
  122. color: #fff;
  123. font-size: 22px;
  124. text-align: center;
  125. }
  126. .chapter-box .type-versions{
  127. background-color: #52596A;;
  128. }
  129. .chapter-box .type-chapter{
  130. background-color: #747E9A;
  131. }
  132. .chapter-box .type-knowledge{
  133. background-color: #99B7D6;
  134. }
  135. .chapter:hover{
  136. background-color: #f2988f;
  137. cursor: pointer;
  138. }
  139. .chapter-box .active{
  140. background-color: #f2988f;
  141. }
  142. .active-chapter-box{
  143. display: flex;
  144. padding: 10px;
  145. }
  146. .active-chapter{
  147. margin-right: 10px;
  148. padding: 0 20px;
  149. border: 1px solid #2977ff;
  150. }
  151. .btn-box{
  152. padding: 10px 0;
  153. /*border-top: 1px solid #dcdcdc;
  154. border-bottom:1px solid #dcdcdc;*/
  155. text-align: center;
  156. }
  157. .generating-teaching-schedule{
  158. padding: 6px 12px;
  159. line-height: 30px;
  160. border: 1px solid #2977ff;
  161. border-radius: 5px;
  162. font-size: 14px;
  163. color: #fff;
  164. background: #2977ff;
  165. outline: none;
  166. cursor: pointer;
  167. }
  168. .bottom-msg{
  169. text-indent: 2em;
  170. font-size: 14px;
  171. color: #999;
  172. }
  173. .layer-add-class{
  174. position: relative;
  175. display: none;
  176. width: 640px;
  177. height: 336px;
  178. font-size: 16px;
  179. line-height: 30px;
  180. }
  181. .class-type{
  182. margin: 20px 10px;
  183. overflow: hidden;
  184. }
  185. .layer-add-class .left{
  186. width: 70px;
  187. margin-right: 20px;
  188. }
  189. .layer-add-class .right{
  190. width: 480px;
  191. }
  192. .layer-add-class label{
  193. cursor: pointer;
  194. }
  195. .layer-add-class input[type='checkbox']{
  196. width: 16px;
  197. height: 16px;
  198. /*-webkit-appearance:none;
  199. border:2px solid #50d2c2;
  200. background-color: #fff;*/
  201. }
  202. .layer-err-msg{
  203. display: none;
  204. color: red;
  205. text-align: center;
  206. }
  207. .button-btn-box{
  208. position: absolute;
  209. bottom: 0;
  210. width: 100%;
  211. height: 45px;
  212. line-height: 45px;
  213. text-align: center;
  214. border-top: 1px solid #dcdcdc;
  215. border-bottom: 1px solid #dcdcdc;
  216. }
  217. .button-btn-box button{
  218. width: 88px;
  219. line-height: 30px;
  220. border-radius: 3px;
  221. outline: none;
  222. cursor: pointer;
  223. }
  224. .layer-btn-add-class{
  225. color: #fff;
  226. background-color: #2977ff;
  227. border: 1px solid #2977ff;
  228. }
  229. .layer-btn-cancel-class{
  230. color: #333;
  231. background-color: #fff;
  232. border: 1px solid #333;
  233. }
  234. .btn-box-show-2{
  235. display: none;
  236. }
  237. .layer-choice-teaching-material-type{
  238. position: relative;
  239. display: none;
  240. width: 478px;
  241. height: 180px;
  242. color: #717171;
  243. text-align: center;
  244. }
  245. .layer-teaching-material-type-title{
  246. margin-bottom: 20px;
  247. color: #a0a0a0;
  248. font-size: 18px;
  249. }
  250. .layer-choice-teaching-material-type p{
  251. line-height: 20px;
  252. }
  253. .layer-teaching-material-type-btn-box{
  254. margin-top: 40px;
  255. margin-bottom: 20px;
  256. /*position: absolute;
  257. bottom: 18px;*/
  258. }
  259. .step-tips .line{
  260. display: inline-block;
  261. width: 30px;
  262. margin: 10px;
  263. border-bottom: 1px solid #2977ff;
  264. }
  265. .layer-teaching-material-type-btn-box button{
  266. width: 88px;
  267. line-height: 30px;
  268. color: #2977ff;
  269. background-color: #fff;
  270. border: 1px solid #2977ff;
  271. border-radius: 3px;
  272. outline: none;
  273. cursor: pointer;
  274. }
  275. #btnLayerStepThreeCancel{
  276. color: #dcdcdc;
  277. border: 1px solid #dcdcdc;
  278. }
  279. .teaching-material-type-box button{
  280. margin: 5px;
  281. width: 60px;
  282. line-height: 26px;
  283. color: #999;
  284. background-color: #fff;
  285. border: 1px solid #999;
  286. border-radius: 3px;
  287. outline: none;
  288. cursor: pointer;
  289. }
  290. .btn-teaching-material-type.active{
  291. color: #fff;
  292. background-color: #32c5b3;
  293. border: 1px solid #32c5b3;
  294. }
  295. .layer-choice-teaching-material-type .step-2{
  296. display: none;
  297. }
  298. .layer-choice-teaching-material-type .step-3{
  299. display: none;
  300. }
  301. .confirm-layer-box{
  302. margin: 20px;
  303. line-height: 20px;
  304. text-align: center;
  305. }
  306. .layui-layer-btn .layui-layer-btn0{
  307. border-color: #2977ff !important ;
  308. background-color: #2977ff!important;
  309. }
  310. .table-progress{
  311. margin-top: 20px;
  312. width: 100%;
  313. line-height: 40px;
  314. border: 1px solid #ddd;
  315. }
  316. .table-progress tr:first-child{
  317. background-color: #ececec!important;
  318. }
  319. .table-progress th {
  320. /*border-bottom: 2px solid #ddd;*/
  321. }
  322. .table-progress td {
  323. min-width: 120px;
  324. font-size: 16px;
  325. color: #333333;
  326. letter-spacing: 0;
  327. text-align: center;
  328. /*border-bottom: 2px solid #ddd;*/
  329. }
  330. .table-progress tr {
  331. /*line-height: 30px;*/
  332. }
  333. .table-progress tr:nth-of-type(odd){ background:#fff;}
  334. .table-progress tr:nth-of-type(even){ background:#F8F8F8;}
  335. .table-progress .gray{
  336. color: #999999;
  337. }
  338. .icon-wrap{
  339. position: relative;
  340. /*width: 100px;*/
  341. height: 30px;
  342. }
  343. .icon-box{
  344. display: inline-block;
  345. position: relative;
  346. right: -12px;
  347. top: 10px;
  348. }
  349. .icon-box> i{
  350. display: block;
  351. cursor: pointer;
  352. }
  353. .icon-box .active{
  354. color: #2977ff;
  355. }
  356. .green-more{
  357. color:#2977ff;
  358. }
  359. .col-xs-7,.col-xs-5{
  360. width: 100%!important;
  361. }
  362. .dataTables_paginate{
  363. text-align: center;
  364. }
  365. .err-msg{
  366. width: 100%;
  367. line-height: 80px;
  368. text-align: center;
  369. font-size: 20px;
  370. }
  371. .history-edit{
  372. width:16px;
  373. height:16px;
  374. display: inline-block;
  375. background: url("/images/history-edit.png");
  376. cursor: pointer;
  377. }
  378. .history-edit-no{
  379. width:16px;
  380. height:16px;
  381. display: inline-block;
  382. background: url("/images/history-edit-no.png")
  383. }
  384. .history-del-no{
  385. width:16px;
  386. height:16px;
  387. display: inline-block;
  388. background: url("/images/history-del-no.png");
  389. background-size: contain;
  390. }
  391. .history-del{
  392. width:16px;
  393. height:16px;
  394. display: inline-block;
  395. background: url("/images/history-del.png");
  396. background-size: contain;
  397. cursor: pointer;
  398. }
  399. .grey{
  400. color: #bab8b8!important;
  401. }
  402. </style>
  403. <div class="teaching-progress">
  404. <div class="screen">
  405. <form action="">
  406. <div class="screen-rows clearfix">
  407. <div class="subject fl">
  408. <span class="screen-rows-title">科目:</span>
  409. <select name="select-subject">
  410. <option value="3" <?php echo $subjectId == 3?"selected=selected":"";?>>数学</option>
  411. <option value="8" <?php echo $subjectId == 8?"selected=selected":"";?>>英语</option>
  412. </select>
  413. </div>
  414. <div class="grade fl">
  415. <span class="screen-rows-title">年级:</span>
  416. <select name="select-grade">
  417. <option value="1" <?php echo $grade == 1?"selected=selected":"";?>>高一</option>
  418. <option value="2" <?php echo $grade == 2?"selected=selected":"";?>>高二</option>
  419. <option value="3" <?php echo $grade == 3?"selected=selected":"";?>>高三</option>
  420. </select>
  421. </div>
  422. <div class="class-select fl">
  423. <span class="screen-rows-title">班级:</span>
  424. <select name="select-class">
  425. <option value = "0" <?php echo empty($classId)?"selected=selected":"";?>>全部班级</option>
  426. <?php if(isset($classmeg) && $classmeg):?>
  427. <?php foreach($classmeg as $k=>$v):?>
  428. <option value="<?php echo $v['class_id'];?>" <?php echo (string)$classId === (string)$v['class_id']?"selected=selected":"";?>><?php echo $v['class_name'];?></option>
  429. <?php endforeach;?>
  430. <?php endif;?>
  431. </select>
  432. </div>
  433. <div class="time-select fl">
  434. <span class="screen-rows-title">时间范围:</span>
  435. <input type="text" class="some_class" value="<?php echo $start_time;?>" id="some_class_1" /> --
  436. <input type="text" class="some_class" value="<?php echo $end_time;?>" id="some_class_2" />
  437. </div>
  438. <button type="button" class="go-back fr" id="goBack" onclick='location.href="<?php echo $this->createUrl("classes/settingProgress");?>"'>返回</button>
  439. </div>
  440. </form>
  441. </div>
  442. <table class="table-progress">
  443. <tr>
  444. <td>序号</td>
  445. <td>科目</td>
  446. <td>班级</td>
  447. <td class="icon-wrap">
  448. 时间段
  449. <span class="icon-box">
  450. <i class="glyphicon glyphicon-triangle-top sort-up begin-time<?php echo $status == 2?" active":'';?>" id="sort-up"></i>
  451. <i class="glyphicon glyphicon-triangle-bottom sort-down begin-time<?php echo $status == 1 || $status == 0?" active":'';?>" id="sort-down"></i>
  452. </span>
  453. </td>
  454. <td class="icon-wrap">
  455. 创建时间
  456. <span class="icon-box">
  457. <i class="glyphicon glyphicon-triangle-top sort-up create-time<?php echo $status == 4?" active":'';?>" id="sort-up"></i>
  458. <i class="glyphicon glyphicon-triangle-bottom sort-down create-time<?php echo $status == 3?" active":'';?>" id="sort-down"></i>
  459. </span>
  460. </td>
  461. <td>教材</td>
  462. <td>教学进度内容</td>
  463. <td>操作</td>
  464. </tr>
  465. <?php if(isset($rs) && $rs):?>
  466. <?php if(isset($rs['rs']) && $rs['rs']):?>
  467. <?php $no = ($page-1)*$pagesize +1;?>
  468. <?php foreach($rs['rs'] as $k=>$v):?>
  469. <tr>
  470. <td><?php echo $no;?></td>
  471. <td><?php echo $v['subject_id'] == 3 || $v['subject_id'] == 6 ? '数学':'英语'?></td>
  472. <td><?php echo $v['class_name']?></td>
  473. <td><?php echo date('Y-m-d',$v['start_time']);?>至<?php echo date('Y-m-d',$v['end_time']);?></td>
  474. <td><?php echo date('Y-m-d H:i',$v['create_time']);?></td>
  475. <td class="<?php echo $v['is_new'] == 0?'grey':'';?>"><?php echo $v['textbook_name']?></td>
  476. <td class="<?php echo $v['is_new'] == 0?'grey':'';?>">
  477. <?php
  478. if(mb_strlen($v['progress_name'],'UTF8') >40){
  479. $originName = $v['progress_name'];
  480. echo mb_substr($v['progress_name'],0,40,"UTF-8").'...<span class="green-more" id="m'.$no.'"name-choose="'.$originName.'">更多</span>';
  481. }else{
  482. echo $v['progress_name'];
  483. }
  484. ?>
  485. </td>
  486. <td>
  487. <?php if($v['is_new'] == 1):?>
  488. <span class="edit-progress history-edit" progressId="<?php echo $v['id'];?>"></span>
  489. <span class="del-progress history-del-no" progressId="<?php echo $v['id'];?>"></span>
  490. <?php else:?>
  491. <span class="edit-progress-no history-edit-no" progressId="<?php echo $v['id'];?>"></span>
  492. <span class="del-progress history-del-no" progressId="<?php echo $v['id'];?>"></span>
  493. <?php endif;?>
  494. </td>
  495. </tr>
  496. <?php $no++;?>
  497. <?php endforeach;?>
  498. <?php endif;?>
  499. <?php endif;?>
  500. </table>
  501. <?php if(!empty($rs["pager"]->rowsCount)):?>
  502. <div class="row">
  503. <div class="col-xs-7">
  504. &nbsp;
  505. </div>
  506. <div class="col-xs-5">
  507. <div class="dataTables_paginate paging_simple_numbers">
  508. <?php
  509. $this->widget('CLinkPager', array(
  510. 'header' => '',
  511. 'firstPageLabel'=> '首页',
  512. 'lastPageLabel' => '末页',
  513. 'prevPageLabel' => '上一页',
  514. 'nextPageLabel' => '下一页',
  515. 'pages' => $rs['pager'],
  516. 'maxButtonCount'=> 5,
  517. ));
  518. echo '共:'.$rs["pager"]->rowsCount.'条';
  519. ?>
  520. </div>
  521. </div>
  522. </div>
  523. <?php endif;?>
  524. </div>
  525. <script src="/js/jquery.datetimepicker.js"></script>
  526. <script src="/js/layer/layer.js"></script>
  527. <script>
  528. $('.some_class').datetimepicker({
  529. format: "Y-m-d", //格式化日期
  530. timepicker: false //关闭时间选项
  531. });
  532. //切换日期
  533. $(".some_class").on("input", function() {
  534. var sTime = $('#some_class_1').val();
  535. var eTime = $('#some_class_2').val();
  536. var grade = $("select[name='select-grade']").val();
  537. var subjectId = $("select[name='select-subject']").val();
  538. var classId = $("select[name='select-class']").val();
  539. var params = "grade="+grade+"&subjectId="+subjectId+"&classId="+classId+"&start_time="+sTime+"&end_time="+eTime;
  540. location.href = "<?php echo $this->createUrl("classes/viewHistoryProgress?");?>"+params;
  541. })
  542. //切换年级
  543. $("select[name='select-grade']").on("change", function() {
  544. var grade = $(this).val();
  545. var subjectId = $("select[name='select-subject']").val();
  546. var params = "grade="+grade+"&subjectId="+subjectId;
  547. location.href = "<?php echo $this->createUrl("classes/viewHistoryProgress?");?>"+params;
  548. });
  549. //切换班级
  550. $("select[name='select-class']").on("change", function() {
  551. var classId = $(this).val();
  552. var subjectId = $("select[name='select-subject']").val();
  553. var grade = $("select[name='select-grade']").val();
  554. var params = "grade="+grade+"&subjectId="+subjectId+"&classId="+classId;
  555. location.href = "<?php echo $this->createUrl("classes/viewHistoryProgress?");?>"+params;
  556. });
  557. //切换学科
  558. $("select[name='select-subject']").on("change", function() {
  559. var subjectId = $(this).val();
  560. var grade = $("select[name='select-grade']").val();
  561. var params = "grade="+grade+"&subjectId="+subjectId;
  562. location.href = "<?php echo $this->createUrl("classes/viewHistoryProgress?");?>"+params;
  563. });
  564. //删除
  565. $("body").on('click',".del-progress",function() {
  566. var progressId = $(this).attr("progressId");
  567. if(progressId){
  568. layer.open({
  569. type: 1,
  570. title: '提示',
  571. btn: ['删除', '取消'],
  572. area: ['420px', '190px'], //宽高
  573. btnAlign: 'c',
  574. content: '<p class="err-msg">确定要删除该条教学进度吗?</p>',
  575. yes: function(index, layero) {
  576. $.post("<?php echo Yii::app()->createUrl('classes/ajaxDelTeachProgress')?>",{progressId:progressId},function(flags){
  577. var m = JSON.parse(flags);
  578. console.log(m);
  579. if(m.status == 0)
  580. {
  581. layer.msg(m.error);
  582. }else{
  583. location.reload();
  584. }
  585. });
  586. //提交
  587. layer.closeAll();
  588. },
  589. btn2: function(index, layero) {
  590. //取消按钮
  591. console.log(111)
  592. //return false 开启该代码可禁止点击该按钮关闭
  593. }
  594. });
  595. }
  596. })
  597. //编辑
  598. $("body").on('click',".edit-progress",function() {
  599. var proId = $(this).attr("progressId");
  600. if(proId){
  601. location.href = "<?php echo $this->createUrl("classes/settingProgress?");?>"+"proId="+proId+"&edit=1";
  602. }
  603. })
  604. $('.some_class').datetimepicker({
  605. onSelectDate: function(dateText, inst) {
  606. var classId = $("select[name='select-class']").val();
  607. var subjectId = $("select[name='select-subject']").val();
  608. var grade = $("select[name='select-grade']").val();
  609. var start_time = $('#some_class_1').val();
  610. var end_time = $('#some_class_2').val();
  611. var params = "grade="+grade+"&subjectId="+subjectId+"&classId="+classId+"&start_time="+start_time+"&end_time="+end_time;
  612. location.href = "<?php echo $this->createUrl("classes/viewHistoryProgress?");?>"+params;
  613. }
  614. });
  615. $(".sort-up").on("click", function() {
  616. $('.glyphicon').removeClass('active');
  617. $(this).parents('.icon-box').find("i").removeClass('active');
  618. $(this).addClass('active');
  619. if($(this).hasClass('begin-time')){
  620. var status = 2;
  621. }else if($(this).hasClass('create-time')){
  622. var status = 4;
  623. }
  624. if(status){
  625. var classId = $("select[name='select-class']").val();
  626. var subjectId = $("select[name='select-subject']").val();
  627. var grade = $("select[name='select-grade']").val();
  628. var start_time = $('#some_class_1').val();
  629. var end_time = $('#some_class_2').val();
  630. var params = "grade="+grade+"&subjectId="+subjectId+"&classId="+classId+"&start_time="+start_time+"&end_time="+end_time+"&status="+status;
  631. location.href = "<?php echo $this->createUrl("classes/viewHistoryProgress?");?>"+params;
  632. }
  633. });
  634. $(".sort-down").on("click", function() {
  635. $('.glyphicon').removeClass('active');
  636. $(this).parents('.icon-box').find("i").removeClass('active');
  637. $(this).addClass('active');
  638. if($(this).hasClass('begin-time')){
  639. var status = 1;
  640. }else if($(this).hasClass('create-time')){
  641. var status = 3;
  642. }
  643. if(status){
  644. var classId = $("select[name='select-class']").val();
  645. var subjectId = $("select[name='select-subject']").val();
  646. var grade = $("select[name='select-grade']").val();
  647. var start_time = $('#some_class_1').val();
  648. var end_time = $('#some_class_2').val();
  649. var params = "grade="+grade+"&subjectId="+subjectId+"&classId="+classId+"&start_time="+start_time+"&end_time="+end_time+"&status="+status;
  650. location.href = "<?php echo $this->createUrl("classes/viewHistoryProgress?");?>"+params;
  651. }
  652. });
  653. $("body").on("mouseover",".green-more",function () {
  654. var nameShow = $(this).attr("name-choose");
  655. var no = '#'+$(this).attr("id");
  656. console.log(no);
  657. if(nameShow){
  658. layer.tips(nameShow, no, {
  659. tips: [1, '#2977ff'],
  660. time: 2000
  661. });
  662. }
  663. })
  664. $("body").on("mouseover",".history-del-no",function () {
  665. $(this).removeClass('history-del-no').addClass('history-del');
  666. });
  667. $("body").on("mouseout",".history-del",function () {
  668. $(this).removeClass('history-del').addClass('history-del-no');
  669. });
  670. </script>