No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

Guide.cshtml 34 KiB

hace 4 años
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  1. 
  2. @{
  3. ViewBag.Title = "Guide";
  4. Layout = "~/Views/Shared/_Index.cshtml";
  5. }
  6. @using Learun.Application.TwoDevelopment.Permission
  7. @using Learun.Util
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  11. <meta name="renderer" content="webkit">
  12. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  13. <meta name="format-detection" content="telephone=no" />
  14. <link rel="shortcut icon" href="" />
  15. <title>数字化校园-使用引导</title>
  16. <meta name="keywords" content="数字化校园-使用引导" />
  17. <meta name="description" content="数字化校园-使用引导" />
  18. <link href="~/Content/css/bootstrap.css" rel="stylesheet" />
  19. <link href="~/Content/css/swiper.min.css" rel="stylesheet" />
  20. <link href="~/Content/css/common.css" rel="stylesheet" />
  21. <!--自适应-->
  22. <script src="~/Content/news/js/easing.js"></script>
  23. <script src="~/Content/jquery/plugin/jquery-ui/jquery-ui.min.js"></script>
  24. @Html.AppendCssFile("/Views/Home/Guide/guide.css",
  25. "/Views/Home/Guide/index.css")
  26. <!--自适应-->
  27. @Html.AppendJsFile("/Views/Home/Guide/index.js")
  28. </head>
  29. <body style="overflow: auto">
  30. <!-- / warpper -->
  31. <div class="guide_warpper" id="app" style="background: #fff">
  32. <div class="index_sec index_sec1">
  33. <div class="guideTitle">
  34. 使用引导
  35. <div class="guideSelect">
  36. <span>{{AcademicYearNo[0]}}</span>学年
  37. @*<ul>
  38. <li v-for="year in AcademicYearNo">{{year}}</li>
  39. </ul>*@
  40. </div>
  41. <div class="guideSelect">
  42. 第<span>{{Semester[0]}}</span>学期
  43. @*<ul>
  44. <li v-for="sem in Semester">{{sem}}</li>
  45. </ul>*@
  46. </div>
  47. </div>
  48. <!-- / guide1 -->
  49. <div v-for="(guideDatas,index) in guideData" :key="index" class="guideSec1 guideSec">
  50. <div class="guideSecT">
  51. {{guideDatas.title}}
  52. <div class="complete">
  53. <div class="completeLine">
  54. <div :style="{width:guideDatas.complete}"></div>
  55. </div>
  56. 完成度 <span>{{guideDatas.complete}}</span>
  57. </div>
  58. <div class="guideSecTBtn"><i class="fa fa-angle-down"></i></div>
  59. </div>
  60. <div class="guideSec1Box">
  61. <div class="guideSec1Box1" v-for="(items,index2) in guideDatas.list" :key="index2">
  62. <img v-if="index2 != 0" class="right" src="~/Content/images/guide/right.png" alt="" />
  63. <div class="guideSec1Con">
  64. <div class="guideSec1L">
  65. <div class="line"></div>
  66. <span>{{index2 + 1}}</span>
  67. <div class="guideSec1Txt">{{items.txt}}</div>
  68. </div>
  69. <div v-if="items.state == 1" class="guideSec1R yellow">
  70. <i class="fa fa-check"></i>
  71. <span>已完成</span>
  72. </div>
  73. <div v-else class="guideSec1R blue" @@click="openIframe(items.moduleID)">
  74. <i class="">· · ·</i>
  75. <span>去完成</span>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <!-- / guide1 -->
  82. <!-- / guide2 -->
  83. <div class="guideSec1 guideSec">
  84. <div class="guideSecT">
  85. {{guideData2[0].title}}
  86. <div class="complete">
  87. <div class="completeLine">
  88. <div :style="{width:guideData2[0].complete}"></div>
  89. </div>
  90. 完成度 <span>{{guideData2[0].complete}}</span>
  91. </div>
  92. <div class="guideSecTBtn"><i class="fa fa-angle-down"></i></div>
  93. </div>
  94. <div class="guideSec1Box">
  95. <div class="guideSec1Box3" v-for="(items1,index3) in guideData2[0].list" :key="index3">
  96. <div class="guideSecT2">{{items1.title}}</div>
  97. <div class="guideSec1Box1" v-for="(items,index2) in items1.list" :key="index2">
  98. <img v-if="index2 != 0" class="right" src="~/Content/images/guide/right.png" alt="" />
  99. <div class="guideSec1Con">
  100. <div class="guideSec1L">
  101. <div class="line"></div>
  102. <span>{{index2 + 1}}</span>
  103. <div class="guideSec1Txt">{{items.txt}}</div>
  104. </div>
  105. <div v-if="items.state == 1" class="guideSec1R yellow">
  106. <i class="fa fa-check"></i>
  107. <span>已完成</span>
  108. </div>
  109. <div v-else class="guideSec1R blue" @@click="openIframe(items.moduleID)">
  110. <i class="">· · ·</i>
  111. <span>去完成</span>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. <div class="guideSec1Box3">
  117. <div class="guideSecT2">排课信息</div>
  118. <div class="guideSec1Box1">
  119. <div class="guideSec1Cons" @@click="openLessonUrl()">
  120. <div class="line"></div>
  121. <img src="~/Content/images/guide/guideSec1-2.png" alt="" />
  122. <div class="guideSec1Txts">去排课</div>
  123. </div>
  124. <img class="right" src="~/Content/images/guide/right.png" alt="" />
  125. </div>
  126. <div class="guideSec1Box1">
  127. <div class="guideSec1Con">
  128. <div class="guideSec1L">
  129. <div class="line"></div>
  130. <div class="guideSec1Txt guideSec1Texts">排课状态</div>
  131. </div>
  132. <div v-if="arrangeLessonItem.state" class="guideSec1R yellow">
  133. <i class="fa fa-check"></i>
  134. <span>已完成</span>
  135. </div>
  136. <div v-else class="guideSec1R blue" @@click="openIframe('dace8fe3-87a7-4bd4-a450-d7eee576d73b')">
  137. <i class="">· · ·</i>
  138. <span>去完成</span>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="guideSec1Box3">
  144. <div class="guideSecT2">排考信息</div>
  145. <div class="guideSec1Box1">
  146. <div class="guideSec1Cons" @@click="openExamUrl()">
  147. <div class="line"></div>
  148. <img src="~/Content/images/guide/guideSec1-2.png" alt="" />
  149. <div class="guideSec1Txts">去排考</div>
  150. </div>
  151. <img class="right" src="~/Content/images/guide/right.png" alt="" />
  152. </div>
  153. <div class="guideSec1Box1">
  154. <div class="guideSec1Con">
  155. <div class="guideSec1L">
  156. <div class="line"></div>
  157. <div class="guideSec1Txt guideSec1Texts">排考状态</div>
  158. </div>
  159. <div v-if="arrangeExamItem.state" class="guideSec1R yellow">
  160. <i class="fa fa-check"></i>
  161. <span>已完成</span>
  162. </div>
  163. <div v-else class="guideSec1R blue" @@click="openIframe('609d9515-36ce-4e04-a53e-c1ea7143437e')">
  164. <i class="">· · ·</i>
  165. <span>去完成</span>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. <div class="guideSec1Box3">
  171. <div class="guideSecT2">考试信息</div>
  172. <div class="guideSec1Box1">
  173. <div class="guideSec1Cons" @@click="openScoreUrl()">
  174. <div class="line"></div>
  175. <img src="~/Content/images/guide/guideSec1-3.png" alt="" />
  176. <div class="guideSec1Txts">发布考试</div>
  177. </div>
  178. <img class="right" src="~/Content/images/guide/right.png" alt="" />
  179. </div>
  180. <div class="guideSec1Box1">
  181. <div class="guideSec1Con">
  182. <div class="guideSec1L">
  183. <div class="line"></div>
  184. <div class="guideSec1Txt guideSec1Texts">考试状态</div>
  185. </div>
  186. <div v-if="stuScore.state" class="guideSec1R yellow">
  187. <i class="fa fa-check"></i>
  188. <span>已完成</span>
  189. </div>
  190. <div v-else class="guideSec1R blue" @@click="openIframe('d928594d-1eae-48cf-a536-0a276ec85ad2')">
  191. <i class="">· · ·</i>
  192. <span>去完成</span>
  193. </div>
  194. </div>
  195. <img class="right" src="~/Content/images/guide/right.png" alt="" />
  196. </div>
  197. <div class="guideSec1Box1">
  198. <div class="guideSec1Cons" @@click="openIframe(622)">
  199. <div class="line"></div>
  200. <img src="~/Content/images/guide/guideSec1-4.png" alt="" />
  201. <div class="guideSec1Txts">录入成绩</div>
  202. </div>
  203. <img class="right" src="~/Content/images/guide/right.png" alt="" />
  204. </div>
  205. <div class="guideSec1Box1">
  206. <div class="guideSec1Cons" @@click="openIframe(947)">
  207. <div class="line"></div>
  208. <img src="~/Content/images/guide/guideSec1-5.png" alt="" />
  209. <div class="guideSec1Txts">补考</div>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. </div>
  215. <!-- / guide2 -->
  216. </div>
  217. </div>
  218. <!-- / warpper -->
  219. <script>
  220. var app = new Vue({
  221. el: '#app',
  222. data: {
  223. AcademicYearNo: [],
  224. Semester: [],
  225. guideData: [
  226. {
  227. title: '基础信息',
  228. complete: '0%',
  229. list: [
  230. //{
  231. // txt: '系统LOGO',
  232. // state: '1'
  233. //},
  234. //{
  235. // txt: '学校信息',
  236. // state: '1'
  237. //},
  238. //{
  239. // txt: '部门机构信息',
  240. // state: '1'
  241. //},
  242. //{
  243. // txt: '岗位信息',
  244. // state: '0'
  245. //},
  246. ]
  247. },
  248. {
  249. title: '人员信息',
  250. complete: '0%',
  251. list: [
  252. //{
  253. // txt: '教师信息',
  254. // state: '1'
  255. //},
  256. //{
  257. // txt: '账号信息',
  258. // state: '0'
  259. //},
  260. ]
  261. }
  262. ],
  263. guideData2: [
  264. {
  265. title: '教务信息',
  266. complete: '0%',
  267. list: [
  268. {
  269. title: '基本信息',
  270. list: [
  271. //{
  272. // txt: '系部信息',
  273. // state: '1'
  274. //},
  275. //{
  276. // txt: '专业信息',
  277. // state: '1'
  278. //},
  279. //{
  280. // txt: '课程信息',
  281. // state: '0'
  282. //},
  283. //{
  284. // txt: '教学楼信息',
  285. // state: '1'
  286. //},
  287. //{
  288. // txt: '教室信息',
  289. // state: '1'
  290. //},
  291. //{
  292. // txt: '班级信息',
  293. // state: '0'
  294. //}
  295. ]
  296. },
  297. {
  298. title: '学籍信息',
  299. list: [
  300. //{
  301. // txt: '学生信息',
  302. // state: '1'
  303. //},
  304. //{
  305. // txt: '账号信息',
  306. // state: '1'
  307. //}
  308. ]
  309. }
  310. ]
  311. }
  312. ],
  313. arrangeLessonItem: {
  314. state: false
  315. },
  316. arrangeExamItem: {
  317. state: false
  318. },
  319. stuScore: {
  320. state:false
  321. }
  322. },
  323. methods: {
  324. getData: function () {
  325. ////设置同步
  326. $.ajaxSetup({
  327. async: false
  328. });
  329. //获取年度 学期
  330. $.get('/Home/GetYearAndSemesteResult', function (ref) {
  331. if (ref.code == "200") {
  332. //var year1, year2, lastYear;
  333. //year1 = ref.data.Item2.substring(0, 4);
  334. //year2 = ref.data.Item2.substring(5);
  335. //lastYear = "" + (year1 - 1) + "-" + (year2 - 1);
  336. //this.AcademicYearNo.push(lastYear);
  337. this.AcademicYearNo.push(ref.data.Item2);
  338. this.Semester.push(ref.data.Item3);
  339. }
  340. }.bind(this), "json");
  341. //获取logo设置完成度
  342. $.get('/Home/GetDgree?moduleID=' + '2fdc1fdb-50f4-4e9c-97c7-0d53b161f9da', function (ref) {
  343. if (ref.data) {
  344. this.guideData[0].list.push({
  345. txt: '系统LOGO',
  346. state: '1',
  347. moduleID: '2fdc1fdb-50f4-4e9c-97c7-0d53b161f9da'
  348. });
  349. this.guideData[0].complete = (parseInt(this.guideData[0].complete.substring(0, 2))) + 25 + "%";
  350. } else {
  351. this.guideData[0].list.push({
  352. txt: '系统LOGO',
  353. state: '0',
  354. moduleID: '2fdc1fdb-50f4-4e9c-97c7-0d53b161f9da'
  355. });
  356. }
  357. }.bind(this), "json");
  358. //获取学校信息
  359. $.get('/Home/GetCompanyDgree', function (ref) {
  360. if (ref.code == "200") {
  361. if (ref.data) {
  362. this.guideData[0].list.push({
  363. txt: '学校信息',
  364. state: '1',
  365. moduleID: '881c109c-41dd-4046-ac9b-1f7e47a9f373'
  366. });
  367. this.guideData[0].complete = (parseInt(this.guideData[0].complete.substring(0, 2))) + 25 + "%";
  368. } else {
  369. this.guideData[0].list.push({
  370. txt: '学校信息',
  371. state: '0',
  372. moduleID: '881c109c-41dd-4046-ac9b-1f7e47a9f373'
  373. });
  374. }
  375. }
  376. }.bind(this), "json");
  377. //获取部门机构信息
  378. $.get('/Home/GetDepartment', function (ref) {
  379. if (ref.code == "200") {
  380. if (ref.data) {
  381. this.guideData[0].list.push({
  382. txt: '部门机构信息',
  383. state: '1',
  384. moduleID: '20195f2e-bc0e-4a4a-a72f-b4e0dc4e12f4'
  385. });
  386. this.guideData[0].complete = (parseInt(this.guideData[0].complete.substring(0, 2))) + 25 + "%";
  387. } else {
  388. this.guideData[0].list.push({
  389. txt: '部门机构信息',
  390. state: '0',
  391. moduleID: '20195f2e-bc0e-4a4a-a72f-b4e0dc4e12f4'
  392. });
  393. }
  394. }
  395. }.bind(this), "json");
  396. //获取岗位信息
  397. $.get('/Home/GetPost', function (ref) {
  398. if (ref.code == "200") {
  399. if (ref.data) {
  400. this.guideData[0].list.push({
  401. txt: '岗位信息',
  402. state: '1',
  403. moduleID: '0c941dbb-1e11-4f2a-b706-052d7324ee52'
  404. });
  405. this.guideData[0].complete = (parseInt(this.guideData[0].complete.substring(0, 2))) + 25 + "%";
  406. } else {
  407. this.guideData[0].list.push({
  408. txt: '岗位信息',
  409. state: '0',
  410. moduleID: '0c941dbb-1e11-4f2a-b706-052d7324ee52'
  411. });
  412. }
  413. }
  414. }.bind(this), "json");
  415. //获取教师信息
  416. $.get('/Home/GetEmpInfo', function (ref) {
  417. if (ref.code == "200") {
  418. if (ref.data) {
  419. this.guideData[1].list.push({
  420. txt: '教师信息',
  421. state: '1',
  422. moduleID: '92a85055-67f2-4a06-902a-f10ec5576d92'
  423. });
  424. this.guideData[1].complete = (parseInt(this.guideData[1].complete.substring(0, 2))) + 50 + "%";
  425. } else {
  426. this.guideData[1].list.push({
  427. txt: '教师信息',
  428. state: '0',
  429. moduleID: '92a85055-67f2-4a06-902a-f10ec5576d92'
  430. });
  431. }
  432. }
  433. }.bind(this), "json");
  434. //获取帐号信息
  435. $.get('/Home/GetEmpAccount', function (ref) {
  436. if (ref.code == "200") {
  437. if (ref.data) {
  438. this.guideData[1].list.push({
  439. txt: '教师帐号',
  440. state: '1',
  441. moduleID: '14164f16-331e-4cc5-a56f-b051b88e5454'
  442. });
  443. this.guideData[1].complete = (parseInt(this.guideData[1].complete.substring(0, 2))) + 50 + "%";
  444. } else {
  445. this.guideData[1].list.push({
  446. txt: '教师帐号',
  447. state: '0',
  448. moduleID: '14164f16-331e-4cc5-a56f-b051b88e5454'
  449. });
  450. }
  451. }
  452. }.bind(this), "json");
  453. //获取系部信息
  454. $.get('/Home/GetCdDept', function (ref) {
  455. if (ref.code == "200") {
  456. if (ref.data) {
  457. this.guideData2[0].list[0].list.push({
  458. txt: '系部信息',
  459. state: '1',
  460. moduleID: '8ddc500e-2804-4333-9f27-a9912151c83a'
  461. });
  462. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9+ "%";
  463. } else {
  464. this.guideData2[0].list[0].list.push({
  465. txt: '系部信息',
  466. state: '0',
  467. moduleID: '8ddc500e-2804-4333-9f27-a9912151c83a'
  468. });
  469. }
  470. }
  471. }.bind(this), "json");
  472. //获取专业信息
  473. $.get('/Home/GetMajor', function (ref) {
  474. if (ref.code == "200") {
  475. if (ref.data) {
  476. this.guideData2[0].list[0].list.push({
  477. txt: '专业信息',
  478. state: '1',
  479. moduleID: '12d22a46-471c-424b-a34f-d16ef4bd1862'
  480. });
  481. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  482. } else {
  483. this.guideData2[0].list[0].list.push({
  484. txt: '专业信息',
  485. state: '0',
  486. moduleID: '12d22a46-471c-424b-a34f-d16ef4bd1862'
  487. });
  488. }
  489. }
  490. }.bind(this), "json");
  491. //获取课程信息
  492. $.get('/Home/GetLesson', function (ref) {
  493. if (ref.code == "200") {
  494. if (ref.data) {
  495. this.guideData2[0].list[0].list.push({
  496. txt: '课程信息',
  497. state: '1',
  498. moduleID: 'fc3b7abe-8a05-4bff-9ac5-6b7f82e73fde'
  499. });
  500. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  501. } else {
  502. this.guideData2[0].list[0].list.push({
  503. txt: '课程信息',
  504. state: '0',
  505. moduleID: 'fc3b7abe-8a05-4bff-9ac5-6b7f82e73fde'
  506. });
  507. }
  508. }
  509. }.bind(this), "json");
  510. //获取教学楼信息
  511. $.get('/Home/GetClassroomBuilding', function (ref) {
  512. if (ref.code == "200") {
  513. if (ref.data) {
  514. this.guideData2[0].list[0].list.push({
  515. txt: '教学楼信息',
  516. state: '1',
  517. moduleID: '84b6abb6-342a-4859-848a-3ab9b77e9216'
  518. });
  519. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  520. } else {
  521. this.guideData2[0].list[0].list.push({
  522. txt: '教学楼信息',
  523. state: '0',
  524. moduleID: '84b6abb6-342a-4859-848a-3ab9b77e9216'
  525. });
  526. }
  527. }
  528. }.bind(this), "json");
  529. //获取教室信息
  530. $.get('/Home/GetClassroomInfo', function (ref) {
  531. if (ref.code == "200") {
  532. if (ref.data) {
  533. this.guideData2[0].list[0].list.push({
  534. txt: '教室信息',
  535. state: '1',
  536. moduleID: '7eb60eb6-c554-403b-bd2d-43f1893540d0'
  537. });
  538. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9+ "%";
  539. } else {
  540. this.guideData2[0].list[0].list.push({
  541. txt: '教室信息',
  542. state: '0',
  543. moduleID: '7eb60eb6-c554-403b-bd2d-43f1893540d0'
  544. });
  545. }
  546. }
  547. }.bind(this), "json");
  548. //获取班级信息
  549. $.get('/Home/GetClassInfo', function (ref) {
  550. if (ref.code == "200") {
  551. if (ref.data) {
  552. this.guideData2[0].list[0].list.push({
  553. txt: '班级信息',
  554. state: '1',
  555. moduleID: '07c01052-0e7c-43a2-a1fc-ddec1c15acb2'
  556. });
  557. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  558. } else {
  559. this.guideData2[0].list[0].list.push({
  560. txt: '班级信息',
  561. state: '0',
  562. moduleID: '07c01052-0e7c-43a2-a1fc-ddec1c15acb2'
  563. });
  564. }
  565. }
  566. }.bind(this), "json");
  567. //获取学生信息
  568. $.get('/Home/GetStudentInfo', function (ref) {
  569. if (ref.code == "200") {
  570. if (ref.data) {
  571. this.guideData2[0].list[1].list.push({
  572. txt: '学生信息',
  573. state: '1',
  574. moduleID: '614'
  575. });
  576. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  577. } else {
  578. this.guideData2[0].list[1].list.push({
  579. txt: '学生信息',
  580. state: '0',
  581. moduleID: '614'
  582. });
  583. }
  584. }
  585. }.bind(this), "json");
  586. //获取学生帐号管理
  587. $.get('/Home/GetStudentInfo', function (ref) {
  588. if (ref.code == "200") {
  589. if (ref.data) {
  590. this.guideData2[0].list[1].list.push({
  591. txt: '学生帐号',
  592. state: '1',
  593. moduleID: '982329b4-f6af-472f-83dd-d3d26270df24'
  594. });
  595. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  596. } else {
  597. this.guideData2[0].list[1].list.push({
  598. txt: '学生帐号',
  599. state: '0',
  600. moduleID: '982329b4-f6af-472f-83dd-d3d26270df24'
  601. });
  602. }
  603. }
  604. }.bind(this), "json");
  605. //获取排课信息
  606. $.get('/Home/GetArrangeLesson', function (ref) {
  607. if (ref.code == "200") {
  608. this.arrangeLessonItem.state = ref.data;
  609. if (ref.data) {
  610. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  611. }
  612. }
  613. }.bind(this), "json");
  614. //获取排考信息
  615. $.get('/Home/GetArrangeExam', function (ref) {
  616. if (ref.code == "200") {
  617. this.arrangeExamItem.state = ref.data;
  618. if (ref.data) {
  619. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 9 + "%";
  620. }
  621. }
  622. }.bind(this), "json");
  623. //获取考试成绩
  624. $.get('/Home/GetStuScore', function (ref) {
  625. if (ref.code == "200") {
  626. this.stuScore.state = ref.data;
  627. if (ref.data) {
  628. this.guideData2[0].complete = (parseFloat(this.guideData2[0].complete.replace("%", ""))) + 10 + "%";
  629. }
  630. }
  631. }.bind(this), "json");
  632. },
  633. openIframe: function (moduleid) {
  634. var guide = top.learun.clientdata.get(['modulesMap', moduleid]);
  635. if (guide) {
  636. //learun.frameTab.open(guide);
  637. top.learun.frameTab.open({ F_ModuleId: guide.F_ModuleId, F_Icon: guide.F_Icon, F_FullName: guide.F_FullName, F_UrlAddress: guide.F_UrlAddress }, false);
  638. }
  639. },
  640. openLessonUrl: function () {
  641. window.open("/SSOSystem/GoTo?sysid=@DESEncrypt.Encrypt("d804faf8-87de-406c-9bd4-ec0610f3ed59",ViewBag.PublicKey)&openid=@DESEncrypt.Encrypt(ViewBag.userId,ViewBag.PublicKey)");
  642. },
  643. openExamUrl: function () {
  644. window.open("/SSOSystem/GoTo?sysid=@DESEncrypt.Encrypt("d804faf8-87de-406c-9bd4-ec0610f3ed59",ViewBag.PublicKey)&openid=@DESEncrypt.Encrypt(ViewBag.userId,ViewBag.PublicKey)");
  645. },
  646. openScoreUrl: function () {
  647. window.open("/SSOSystem/GoTo?sysid=@DESEncrypt.Encrypt("8056b63c-4584-4227-85b7-7df52a30542b",ViewBag.PublicKey)&openid=@DESEncrypt.Encrypt(ViewBag.userId,ViewBag.PublicKey)");
  648. }
  649. },
  650. created() {
  651. this.getData();
  652. },
  653. });
  654. $(document).on('click', '.guideSecTBtn', function () {
  655. var flag = $(this).hasClass('active');
  656. if (flag) {
  657. $(this).removeClass('active').parents('.guideSec1').find('.guideSec1Box').slideDown(500);
  658. } else {
  659. $(this).addClass('active').parents('.guideSec1').find('.guideSec1Box').slideUp(500);
  660. }
  661. }).on('click', '.guideSelect li', function () {
  662. $(this).parents('.guideSelect').find('span').text($(this).text())
  663. })
  664. </script>
  665. </body>