errorPushSettingForClass.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>Document</title>
  8. <script src="http://zsyas2.zhixinhuixue.com/js/jquery-2.2.2.min.js"></script>
  9. <script src="http://zsyas2.zhixinhuixue.com/js/layer/layer.js"></script>
  10. <link href="/css/productset/report.css?1f3c9eb7ca528042749e" rel="stylesheet" />
  11. </head>
  12. <body>
  13. <style>
  14. .fl{
  15. float: left;
  16. }
  17. .fr{
  18. float: right;
  19. }
  20. .clearfix:after{
  21. content: '';
  22. display: block;
  23. clear: both;
  24. }
  25. .changeSubjectNav{
  26. position: fixed;
  27. width: 100%;
  28. box-sizing: border-box;
  29. top: 0;
  30. left: 0;
  31. z-index: 1000;
  32. display: flex;
  33. justify-content: space-between;
  34. align-items: center;
  35. padding: 10px 10px;
  36. background: #ddd;
  37. }
  38. .changeSubjectNav .productSettingBtn a{
  39. display: block;
  40. width: 120px;
  41. height: 30px;
  42. background: #01B677;
  43. text-align: center;
  44. line-height: 30px;
  45. color: #fff;
  46. font-size: 16px;
  47. text-decoration: none;
  48. cursor: text;
  49. }
  50. /*切换选择*/
  51. .tab-con{
  52. position: relative;
  53. height: 30px;
  54. width: 200px;
  55. background: #F2F2F2;
  56. border: 1px solid #01B677;
  57. border-radius: 15px;
  58. box-sizing: border-box;
  59. }
  60. .has-sel{
  61. background: #01B677;
  62. color: #fff;
  63. width: 50%;
  64. height: 30px;
  65. border-top-left-radius: 15px;
  66. border-bottom-left-radius: 15px;
  67. text-align: center;
  68. line-height: 30px;
  69. }
  70. .sel-opt{
  71. width: 50%;
  72. position: relative;
  73. color: #01B677;
  74. line-height: 30px;
  75. text-indent: 6px;
  76. cursor: pointer;
  77. }
  78. .sel-opt:after{
  79. content: '';
  80. border-left: 6px solid transparent;
  81. border-right: 6px solid transparent;
  82. border-top: 8px solid #01B677;
  83. position: absolute;
  84. right: 12px;
  85. top: 12px;
  86. }
  87. // .sel-opt select{
  88. // width: 100%;
  89. // height: 30px;
  90. // background: #F2F2F2;
  91. // color: #01B677;
  92. // text-indent: 6px;
  93. // font-size: inherit;
  94. // border-top-right-radius: 15px;
  95. // border-bottom-right-radius: 15px;
  96. // cursor: pointer;
  97. // }
  98. // .sel-opt select option{
  99. // position: relative;
  100. // }
  101. .points{
  102. position: absolute;
  103. top: -2px;
  104. right: 0;
  105. width: 10px;
  106. height: 10px;
  107. background: #F01516;
  108. border-radius: 50%;
  109. }
  110. .sel-cons{
  111. border: 1px solid #01B677;
  112. width: 50%;
  113. position: absolute;
  114. right: 0;
  115. top: 30px;
  116. text-indent: 10px;
  117. display: none;
  118. }
  119. .sc-lis2{
  120. line-height: 30px;
  121. cursor: pointer;
  122. }
  123. .sc-lis2 span{
  124. position: relative;
  125. }
  126. .sc-lis2 .points{
  127. top: 2px;
  128. right: -16px;
  129. }
  130. .subject-change{
  131. margin:8px 11px 0 0;display: block
  132. }
  133. .subject-change-no{
  134. margin:8px 11px 0 0;display: none
  135. }
  136. </style>
  137. <?php include(Yii::app()->basePath.'/views/layouts/view_productset_navigation.php');?>
  138. <script type="text/javascript">
  139. $(document).ready(function() {
  140. $(".sel-opt,.sel-cons").mouseover(function () {
  141. $(".sel-cons").show();
  142. }).mouseout(function () {
  143. $(".sel-cons").hide();
  144. });
  145. $(".sc-lis2").click(function () {
  146. var sub_id = $(this).attr('val');
  147. var data = {
  148. subjectId: sub_id
  149. };
  150. $.post("<?php echo Yii::app()->createUrl('print/setSubjectId')?>", data, function (flags) {
  151. if (flags) {
  152. location.href = "<?php echo $this->createUrl('productset/index');?>";
  153. } else {
  154. alert('网络异常');
  155. }
  156. });
  157. $('.has-sel').text($(this).text());
  158. $(".sel-cons").hide();
  159. });
  160. });
  161. </script>
  162. <div class="hgc_settingBox">
  163. <div class="step">
  164. <div class="moduleTitle">
  165. <i class="number">1</i>
  166. <strong>学生层次划分规则</strong>
  167. </div>
  168. <div class="classify" id="classify">
  169. <div class="dropDown">
  170. <span class="name">学生层次:</span>
  171. <select data-name="studentLevel" id="studentLevel">
  172. <option value="3">分为ABC三层</option>
  173. <option value="4">分为ABCD四层</option>
  174. <option value="5">分为ABCDE五层</option>
  175. <option value="6">分为ABCDEF六层</option>
  176. </select>
  177. </div>
  178. <div class="dropDown">
  179. <span class="name">划分依据:</span>
  180. <select data-name="rankBase" id="rankBase">
  181. <option value="grade">按班级排名</option>
  182. <option value="score">按得分率</option>
  183. </select>
  184. </div>
  185. <div class="dropDown">
  186. <span class="name">统计方式:</span>
  187. <select data-name="statisticsMethods" id="statisticsMethods">
  188. <option value="currentAchieve">本次考试成绩</option>
  189. <option value="latelyThreeAchieve">最近3场考试平均成绩</option>
  190. <option value="latelyFiveAchieve">最近5场考试平均成绩</option>
  191. </select>
  192. </div>
  193. </div>
  194. <ul class="hTable" id="studentLevelList">
  195. </ul>
  196. </div>
  197. <div class="step">
  198. <div class="moduleTitle">
  199. <i class="number">2</i>
  200. <strong>错题推送规则</strong>
  201. </div>
  202. <ul class="hTable" id="errorPushList">
  203. <li class="row title">
  204. <div class="cell w100">
  205. <div class="cellItem">学生层次</div>
  206. </div>
  207. <div class="cell">
  208. <div class="cellItem">错题推送(可设置过滤条件,减少学生的错题推送)</div>
  209. </div>
  210. <div class="cell">
  211. <div class="cellItem">拓展训练题推送(得满分或错题少的学生,可推送3道练习题)</div>
  212. </div>
  213. </li>
  214. <li class="row">
  215. <div class="cell w100">
  216. <div class="cellItem">A</div>
  217. </div>
  218. <div class="cell">
  219. <div class="cellItem">
  220. <div class="pushTip">
  221. <i>推送学生全部错题(默认)</i>
  222. <em>设置</em>
  223. </div>
  224. </div>
  225. </div>
  226. <div class="cell">
  227. <div class="cellItem">
  228. <div class="h_switch" data-n class="current" data-index="0"></div>
  229. </div>
  230. </div>
  231. </li>
  232. </ul>
  233. </div>
  234. <div class="step">
  235. <div class="moduleTitle">
  236. <i class="number">3</i>
  237. <strong>错题本排版</strong>
  238. </div>
  239. <ul class="hTable" id="errorTypeSetting">
  240. <li class="row title">
  241. <div class="cell">
  242. <div class="cellItem">一级栏目</div>
  243. </div>
  244. <div class="cell">
  245. <div class="cellItem">二级栏目</div>
  246. </div>
  247. <div class="cell">
  248. <div class="cellItem">设置</div>
  249. </div>
  250. </li>
  251. <li class="row">
  252. <div class="cell colSpan4">
  253. <div class="cellItem">成长轨迹</div>
  254. </div>
  255. <div class="cell">
  256. <div class="cellItem">
  257. 显示【激励话语】
  258. </div>
  259. <div class="cellItem">
  260. 显示【排名变化图】
  261. </div>
  262. <div class="cellItem">
  263. 显示【成绩变化图】
  264. </div>
  265. <div class="cellItem">
  266. 显示【考试难度小贴士】
  267. </div>
  268. </div>
  269. <div class="cell">
  270. <div class="cellItem">
  271. <div class="h_switch" data-name="hasEncourage"></div>
  272. </div>
  273. <div class="cellItem">
  274. <div class="h_switch" data-name="hasRankingChange"></div>
  275. </div>
  276. <div class="cellItem">
  277. <div class="h_switch" data-name="hasAchievementChange"></div>
  278. </div>
  279. <div class="cellItem">
  280. <div class="h_switch" data-name="examinationDifficulty"></div>
  281. </div>
  282. </div>
  283. </li>
  284. <li class="row">
  285. <div class="cell colSpan2">
  286. <div class="cellItem">知识点掌握分析</div>
  287. </div>
  288. <div class="cell">
  289. <div class="cellItem">显示【得分前五知识点】</div>
  290. <div class="cellItem">显示【失分前五知识点】</div>
  291. </div>
  292. <div class="cell">
  293. <div class="cellItem">
  294. <div class="h_switch" data-name="hasGoodKnowledge"></div>
  295. </div>
  296. <div class="cellItem">
  297. <div class="h_switch" data-name="hasLoseKnowledge"></div>
  298. </div>
  299. </div>
  300. </li>
  301. <li class="row">
  302. <div class="cell">
  303. <div class="cellItem">得分明细表</div>
  304. </div>
  305. <div class="cell">
  306. <div class="cellItem">显示【得分明细表】</div>
  307. </div>
  308. <div class="cell">
  309. <div class="cellItem">
  310. <div class="h_switch" data-name="hasScoreDetail"></div>
  311. </div>
  312. </div>
  313. </li>
  314. <li class="row">
  315. <div class="cell colSpan5">
  316. <div class="cellItem">错题整理</div>
  317. </div>
  318. <div class="cell">
  319. <div class="cellItem">显示【错题原笔记】</div>
  320. <div class="cellItem">显示【考点视频二维码】</div>
  321. <div class="cellItem">显示【考点高考分值表】</div>
  322. <div class="cellItem">显示【同学优解】</div>
  323. </div>
  324. <div class="cell">
  325. <div class="cellItem">
  326. <div class="h_switch" data-name="hasErrorOriginNote"></div>
  327. </div>
  328. <div class="cellItem">
  329. <div class="h_switch" data-name="testVideo"></div>
  330. </div>
  331. <div class="cellItem">
  332. <div class="h_switch" data-name="scoreOfCollege"></div>
  333. </div>
  334. <div class="cellItem">
  335. <div class="h_switch" data-name="classmateOptimization"></div>
  336. </div>
  337. </div>
  338. </li>
  339. <li class="row">
  340. <div class="cell">
  341. <div class="cellItem">共性问题</div>
  342. </div>
  343. <div class="cell">
  344. <div class="cellItem">显示【共性问题】</div>
  345. </div>
  346. <div class="cell">
  347. <div class="cellItem">
  348. <div class="h_switch" data-name="commonProblems"></div>
  349. </div>
  350. </div>
  351. </li>
  352. <li class="row">
  353. <div class="cell">
  354. <div class="cellItem">答案解析</div>
  355. </div>
  356. <div class="cell">
  357. <div class="cellItem">【答案解析】排版方式</div>
  358. </div>
  359. <div class="cell">
  360. <div class="cellItem">
  361. 答案和解析显示在最后一页
  362. <!-- <select data-name="hasDividePage" id="hasDividePage">
  363. <option value="true"></option>
  364. </select> -->
  365. </div>
  366. </div>
  367. </li>
  368. </ul>
  369. </div>
  370. <div class="btns">
  371. <div class="h-btn" id="saveSetting">保存设置</div>
  372. </div>
  373. </div>
  374. <script>
  375. var currentVersionName = 'error|class'
  376. </script>
  377. <script src="/js/productset/report.js?1f3c9eb7ca528042749e"></script>
  378. </body>
  379. </html>