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

706 lines
34 KiB

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