course.vue 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553
  1. <template>
  2. <div class="pb_content" style="height: auto">
  3. <div class="pb_head top">
  4. <div>
  5. <span class="sub_head">课程管理</span>
  6. <span
  7. class="subClick"
  8. @click="
  9. goTo('/works?userid=' + userid + '&oid=' + oid + '&org=' + org+ '&role=' + role)
  10. "
  11. >评价管理</span
  12. >
  13. </div>
  14. <div class="student_button">
  15. <!-- <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button> -->
  16. <el-button type="primary" class="bgColor" @click="goToCourse()"
  17. >添加课程</el-button
  18. >
  19. </div>
  20. </div>
  21. <div class="reBox">
  22. <div class="reTop">
  23. <div>分类筛选</div>
  24. <div>
  25. <!-- @click="getCourse" -->
  26. <div class="search" >
  27. <img src="../../assets/icon/search.png" alt="" />
  28. </div>
  29. <input class="sInput" type="text" placeholder="请输入关键字" v-model="courseName" @input="getCourse()" />
  30. </div>
  31. </div>
  32. <div class="choose">
  33. <div class="all_choose" v-for="(item, index) in CourseType[0]" :key="index"
  34. :style="{ margin: !CourseTypeJson[item.id].length && 0 }">
  35. <span v-if="CourseTypeJson[item.id].length">{{ item.name }}:</span>
  36. <div class="typeCss" v-if="CourseTypeJson[item.id].length">
  37. <div class="cName" @click="getCourse2(item.name, '', item.id, 1)"
  38. :class="typeE.indexOf(item.id) != -1 ? 'isCType' : ''">
  39. 全部
  40. </div>
  41. <div v-for="(item1, index1) in CourseTypeJson[item.id]" :key="index + '-' + index1" :label="item1.id"
  42. @click="getCourse2(item.name, item.id, item1.id, 2)">
  43. <div class="cName" :class="
  44. typea == item1.id || typeb == item1.id || typed == item1.id
  45. ? 'isCType'
  46. : ''
  47. ">
  48. {{ item1.name }}
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="line"></div>
  56. <div class="pb_content_body" style="height: 100%">
  57. <div class="student_head" v-if="false">
  58. <div class="choose">
  59. <div class="student_search">
  60. <span>课程筛选</span>
  61. <el-select v-model="groupA" @change="search">
  62. <el-option value="0" label="我的课程"></el-option>
  63. <el-option value="1" label="他人课程"></el-option>
  64. </el-select>
  65. </div>
  66. <div
  67. class="all_choose"
  68. v-for="(item, index) in CourseType[0]"
  69. :key="index"
  70. >
  71. <span v-if="CourseTypeJson[item.id].length">{{ item.name }}</span>
  72. <el-select
  73. v-if="CourseTypeJson[item.id].length"
  74. v-model="courseTypeId[item.id]"
  75. placeholder="请选择"
  76. @change="getTypeName"
  77. >
  78. <el-option label="全部" value="1">全部</el-option>
  79. <el-option
  80. v-for="item1 in CourseTypeJson[item.id]"
  81. :key="item1.id"
  82. :label="item1.name"
  83. :value="item1.id"
  84. >
  85. </el-option>
  86. </el-select>
  87. </div>
  88. <div @click="clear" class="clear">重置</div>
  89. </div>
  90. <div class="student_right">
  91. <div class="head_left">
  92. <el-input
  93. v-model="courseName"
  94. class="student_input"
  95. placeholder="请输入课程名称"
  96. ></el-input>
  97. <el-button class="course_button" @click="searchCourse"
  98. >查询</el-button
  99. >
  100. </div>
  101. </div>
  102. </div>
  103. <div class="student_table">
  104. <div class="course_box">
  105. <div class="out_box" v-for="(item, index) in course" :key="index">
  106. <!-- <div class="myCourse" v-if="item.isCourseType == 1 && groupA == 0">
  107. 我的课程
  108. </div>
  109. <div class="myCourse" v-else-if="groupA == 1">
  110. 他人课程
  111. </div>
  112. <div class="xtCourse" v-else>协同课程</div> -->
  113. <div class="myCourse" v-if="item.userid == userid">
  114. 我的课程
  115. </div>
  116. <div class="myCourse" style="background:#4187f0" v-else-if="item.course_teacher.indexOf(userid) == -1">
  117. 他人课程
  118. </div>
  119. <div class="xtCourse" v-else>协同课程</div>
  120. <div class="tup">
  121. <img
  122. :src="
  123. item.cover != null && item.cover != ''
  124. ? JSON.parse(item.cover).length > 0
  125. ? JSON.parse(item.cover)[0].url
  126. : mr
  127. : mr
  128. "
  129. alt
  130. />
  131. </div>
  132. <!-- <div class="bottom_box">
  133. <div>{{ item.title }}</div>
  134. <div class="kc_t" v-if="groupA == '1'">
  135. 创建老师:{{ item.uname }}
  136. </div>
  137. <div class="kc_time">{{ item.time }}</div>
  138. </div> -->
  139. <div class="bottom_box">
  140. <div>{{ item.title }}</div>
  141. <div class="kc_t" v-if="item.isCourseType == 2 || groupA == 1">
  142. 负责老师:{{ item.uname }}
  143. </div>
  144. <div class="kc_time">
  145. <span style="color: #4b4b4b">创建日期:</span>{{ item.time }}
  146. </div>
  147. <div class="kc_time">
  148. <span style="color: #4b4b4b">修改日期:</span>{{ item.utime }}
  149. </div>
  150. </div>
  151. <div class="three_bottom">
  152. <div @click="jump(item.courseId)">评课</div>
  153. <div v-if="(item.userid == userid || item.course_teacher.indexOf(userid) != -1)" @click="goToCourse(item.courseId)">
  154. 修改
  155. </div>
  156. <div
  157. v-if="groupA == '0'"
  158. @click="
  159. goTo(
  160. '/works?cid=' +
  161. item.courseId +
  162. '&userid=' +
  163. userid +
  164. '&oid=' +
  165. oid +
  166. '&org=' +
  167. org +
  168. '&role=' +
  169. role
  170. )
  171. "
  172. >
  173. 报告
  174. </div>
  175. <div
  176. v-if="item.isCourseType == 1 || role == '1'"
  177. @click="deleteCourse(item.courseId)"
  178. >
  179. 删除
  180. </div>
  181. <div class="more">
  182. <span style="font-size:18px;font-weight:700">...</span>
  183. <div>
  184. <span @click="copyCourse(item.courseId)">复制</span>
  185. <span @click="get(item.courseId)">预览</span>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. <div class="course_empty" v-if="course.length == 0">暂无数据</div>
  191. </div>
  192. </div>
  193. </div>
  194. <div class="student_page">
  195. <el-pagination
  196. background
  197. layout="prev, pager, next"
  198. :page-size="pageSize"
  199. :total="total"
  200. v-if="page && course.length"
  201. style="padding-bottom: 20px"
  202. @current-change="handleCurrentChange"
  203. ></el-pagination>
  204. </div>
  205. <el-dialog :visible.sync="dialogVisible1" size="tiny">
  206. <img width="100%" :src="dialogImageUrl" alt />
  207. </el-dialog>
  208. <el-dialog
  209. title="查看提问"
  210. :visible.sync="dialogVisible"
  211. :append-to-body="true"
  212. width="750px"
  213. :before-close="handleClose"
  214. class="dialog_diy"
  215. >
  216. <div>
  217. <div class="a_addBox">
  218. <CourseProblem :problemCourse="problemCourse"></CourseProblem>
  219. </div>
  220. </div>
  221. <span slot="footer" class="dialog-footer">
  222. <el-button @click="dialogVisible = false">关 闭</el-button>
  223. </span>
  224. </el-dialog>
  225. <el-dialog
  226. title="查看协同课程"
  227. :visible.sync="dialogVisibleCourse"
  228. :append-to-body="true"
  229. width="850px"
  230. :before-close="handleClose"
  231. class="dialog_diy"
  232. >
  233. <div class="ct_box">
  234. <div
  235. class="out_box"
  236. v-for="(item, index) in courseTeam"
  237. :key="index"
  238. style="margin-left: 15px"
  239. >
  240. <div class="tup">
  241. <img
  242. :src="
  243. item.cover != null && item.cover != ''
  244. ? JSON.parse(item.cover).length > 0
  245. ? JSON.parse(item.cover)[0].url
  246. : mr
  247. : mr
  248. "
  249. alt
  250. />
  251. </div>
  252. <div class="bottom_box">
  253. <div>{{ item.title }}</div>
  254. <div class="kc_t">创建老师:{{ item.uname }}</div>
  255. <div class="kc_time">{{ item.time }}</div>
  256. </div>
  257. <div class="three_bottom">
  258. <div @click="jump(item.courseId)">查看内容</div>
  259. <div
  260. @click="
  261. goTo(
  262. '/course/addCourse?cid=' +
  263. item.courseId +
  264. '&userid=' +
  265. userid +
  266. '&oid=' +
  267. oid +
  268. '&org=' +
  269. org
  270. )
  271. "
  272. >
  273. 编辑
  274. </div>
  275. </div>
  276. </div>
  277. <div class="course_empty" v-if="courseTeam.length == 0">暂无数据</div>
  278. </div>
  279. <span slot="footer" class="dialog-footer">
  280. <el-button @click="dialogVisibleCourse = false">关 闭</el-button>
  281. </span>
  282. </el-dialog>
  283. </div>
  284. </template>
  285. <script>
  286. import "../../common/aws-sdk-2.235.1.min";
  287. import EditorBar from "../../components/tools/wangEnduit";
  288. import CourseProblem from "./components/courseProblem";
  289. export default {
  290. components: { EditorBar, CourseProblem },
  291. data() {
  292. return {
  293. itemCount: 1,
  294. courseTitle: "",
  295. courseText: "",
  296. courseTime: "",
  297. isLoading: false,
  298. fileList: [],
  299. fileList1: [],
  300. homeworkList: [{ name: "" }],
  301. formLabelWidth: "100px",
  302. dialogVisible: false,
  303. dialogVisible1: false,
  304. dialogVisibleCourse: false,
  305. dialogImageUrl: "",
  306. group: "",
  307. userid: this.$route.query.userid,
  308. oid: this.$route.query.oid,
  309. org: this.$route.query.org,
  310. role: this.$route.query.role,
  311. Juri: "",
  312. groupList: [],
  313. JuriList: [],
  314. page: 1,
  315. total: 0,
  316. pageSize: 20,
  317. tableData: [],
  318. now: "",
  319. courseDetail: {},
  320. addCourse: {},
  321. groupA: "0",
  322. classX: "",
  323. course: [],
  324. courseName: "",
  325. mr: require("../../assets/icon/kc1.png"),
  326. CourseType: [],
  327. CourseTypeJson: {},
  328. courseTypeId: {},
  329. courseTypeSon: [],
  330. isChoose: 0,
  331. problemCourse: null, //查看提问的课程
  332. courseTeam: [],
  333. typeE:[],
  334. typea:"",
  335. typeb:"",
  336. typed:"",
  337. };
  338. },
  339. methods: {
  340. change(val) {
  341. console.log(val);
  342. },
  343. time() {
  344. if (!this.now) {
  345. this.now = new Date().getTime();
  346. return true;
  347. } else {
  348. let time = new Date().getTime();
  349. if (time - this.now > 3000) {
  350. this.now = time;
  351. return true;
  352. } else {
  353. return false;
  354. }
  355. }
  356. },
  357. addHomeworkBox() {
  358. this.homeworkList.push({ name: "" });
  359. this.itemCount++;
  360. },
  361. reduceHomeworkBox() {
  362. var a = this.homeworkList;
  363. a.splice(a.length - 1);
  364. this.itemCount--;
  365. },
  366. goTo(path) {
  367. this.$router.push(path);
  368. },
  369. goToCourse(courseId) {
  370. if (courseId) {
  371. this.$router.push(
  372. "/course/addCourse?cid=" +
  373. courseId +
  374. "&userid=" +
  375. this.userid +
  376. "&oid=" +
  377. this.oid +
  378. "&org=" +
  379. this.org +
  380. "&role=" +
  381. this.role
  382. );
  383. } else {
  384. this.$router.push(
  385. "/course/addCourse?userid=" +
  386. this.userid +
  387. "&oid=" +
  388. this.oid +
  389. "&org=" +
  390. this.org +
  391. "&role=" +
  392. this.role
  393. );
  394. }
  395. // this.$router.push(path);
  396. },
  397. tableRowClassName({ row, rowIndex }) {
  398. if ((rowIndex + 1) % 2 === 0) {
  399. return "even_row";
  400. } else {
  401. return "";
  402. }
  403. },
  404. jump(cid) {
  405. // window.open(
  406. // "//pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?courseId=" +
  407. // cid +
  408. // "&userid=" +
  409. // this.userid
  410. // );
  411. window.parent.postMessage({ cid: cid, screenType: "2" }, "*");
  412. },
  413. get(cid) {
  414. window.parent.postMessage({ cid: cid, screenType: "3" }, "*");
  415. },
  416. handle_remove(file, fileList) {
  417. var _tmp = this.fileList;
  418. for (var i = 0, len = _tmp.length; i < len; i++) {
  419. if (_tmp[i].uid == file.uid) {
  420. _tmp.splice(i, 1);
  421. break;
  422. }
  423. this.fileList = _tmp;
  424. }
  425. },
  426. handle_remove1(file, fileList) {
  427. var _tmp = this.fileList1;
  428. for (var i = 0, len = _tmp.length; i < len; i++) {
  429. if (_tmp[i].uid == file.uid) {
  430. _tmp.splice(i, 1);
  431. break;
  432. }
  433. this.fileList1 = _tmp;
  434. }
  435. },
  436. handleCurrentChange(val) {
  437. // console.log(`当前页: ${val}`);
  438. this.page = val;
  439. this.getCourse();
  440. },
  441. init() {},
  442. handleClose(done) {
  443. done();
  444. },
  445. handleRemove(file, fileList) {
  446. console.log(file, fileList);
  447. },
  448. handlePictureCardPreview(file) {
  449. this.dialogImageUrl = file.url;
  450. this.dialogVisible1 = true;
  451. },
  452. onExceed() {
  453. this.$message.error("课程海报仅支持上传一张,请删除后再进行上传");
  454. },
  455. //uuid生成
  456. guid() {
  457. return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(
  458. c
  459. ) {
  460. var r = (Math.random() * 16) | 0,
  461. v = c == "x" ? r : (r & 0x3) | 0x8;
  462. return v.toString(16);
  463. });
  464. },
  465. time() {
  466. if (!this.now) {
  467. this.now = new Date().getTime();
  468. return true;
  469. } else {
  470. let time = new Date().getTime();
  471. if (time - this.now > 3000) {
  472. this.now = time;
  473. return true;
  474. } else {
  475. return false;
  476. }
  477. }
  478. },
  479. searchCourse() {
  480. this.page = 1;
  481. this.getCourse();
  482. },
  483. clear() {
  484. for (var i = 0; i < this.CourseType[0].length; i++) {
  485. this.courseTypeId[this.CourseType[0][i].id] = "";
  486. }
  487. this.getCourse();
  488. },
  489. getCourse2(typeName, ftypeId, typeid, type) {
  490. this.page = 1;
  491. if (typeName == "年级") {
  492. if (type == 1) {
  493. if (this.typeE.indexOf(typeid) != -1) {
  494. this.typeE.splice(this.typeE.indexOf(typeid), 1);
  495. } else {
  496. this.typeE.push(typeid);
  497. if (this.typea != "") {
  498. this.typea = "";
  499. }
  500. }
  501. } else {
  502. if (this.typea == typeid) {
  503. this.typea = "";
  504. } else {
  505. this.typea = typeid;
  506. if (this.typeE.indexOf(ftypeId) != -1) {
  507. this.typeE.splice(this.typeE.indexOf(ftypeId), 1);
  508. }
  509. }
  510. }
  511. } else if (typeName == "专栏") {
  512. if (type == 1) {
  513. if (this.typeE.indexOf(typeid) != -1) {
  514. this.typeE.splice(this.typeE.indexOf(typeid), 1);
  515. } else {
  516. this.typeE.push(typeid);
  517. if (this.typeb != "") {
  518. this.typeb = "";
  519. }
  520. }
  521. } else {
  522. if (this.typeb == typeid) {
  523. this.typeb = "";
  524. } else {
  525. this.typeb = typeid;
  526. if (this.typeE.indexOf(ftypeId) != -1) {
  527. this.typeE.splice(this.typeE.indexOf(ftypeId), 1);
  528. }
  529. }
  530. }
  531. } else if (typeName == "栏目") {
  532. if (type == 1) {
  533. if (this.typeE.indexOf(typeid) != -1) {
  534. this.typeE.splice(this.typeE.indexOf(typeid), 1);
  535. } else {
  536. this.typeE.push(typeid);
  537. if (this.typeb != "") {
  538. this.typeb = "";
  539. }
  540. }
  541. } else {
  542. if (this.typeb == typeid) {
  543. this.typeb = "";
  544. } else {
  545. this.typeb = typeid;
  546. if (this.typeE.indexOf(ftypeId) != -1) {
  547. this.typeE.splice(this.typeE.indexOf(ftypeId), 1);
  548. }
  549. }
  550. }
  551. } else if (typeName == "主题") {
  552. if (type == 1) {
  553. if (this.typeE.indexOf(typeid) != -1) {
  554. this.typeE.splice(this.typeE.indexOf(typeid), 1);
  555. } else {
  556. this.typeE.push(typeid);
  557. if (this.typeb != "") {
  558. this.typeb = "";
  559. }
  560. }
  561. } else {
  562. if (this.typeb == typeid) {
  563. this.typeb = "";
  564. } else {
  565. this.typeb = typeid;
  566. if (this.typeE.indexOf(ftypeId) != -1) {
  567. this.typeE.splice(this.typeE.indexOf(ftypeId), 1);
  568. }
  569. }
  570. }
  571. } else if (typeName == "学院") {
  572. if (type == 1) {
  573. if (this.typeE.indexOf(typeid) != -1) {
  574. this.typeE.splice(this.typeE.indexOf(typeid), 1);
  575. } else {
  576. this.typeE.push(typeid);
  577. if (this.typeb != "") {
  578. this.typeb = "";
  579. }
  580. }
  581. } else {
  582. if (this.typeb == typeid) {
  583. this.typeb = "";
  584. } else {
  585. this.typeb = typeid;
  586. if (this.typeE.indexOf(ftypeId) != -1) {
  587. this.typeE.splice(this.typeE.indexOf(ftypeId), 1);
  588. }
  589. }
  590. }
  591. } else if (typeName == "学科") {
  592. if (type == 1) {
  593. if (this.typeE.indexOf(typeid) != -1) {
  594. this.typeE.splice(this.typeE.indexOf(typeid), 1);
  595. } else {
  596. this.typeE.push(typeid);
  597. if (this.typed != "") {
  598. this.typed = "";
  599. }
  600. }
  601. } else {
  602. if (this.typed == typeid) {
  603. this.typed = "";
  604. } else {
  605. this.typed = typeid;
  606. if (this.typeE.indexOf(ftypeId) != -1) {
  607. this.typeE.splice(this.typeE.indexOf(ftypeId), 1);
  608. }
  609. }
  610. }
  611. }
  612. // this.loading = true;
  613. this.getCourse();
  614. },
  615. getCourse() {
  616. if (!this.loading) {
  617. this.loading = this.openLoading(
  618. document.querySelector(".student_table")
  619. );
  620. }
  621. // var typeE = [];
  622. // var typea, typeb, typec, typed;
  623. // if (this.isChoose == 1) {
  624. // for (var i = 0; i < this.CourseType[0].length; i++) {
  625. // if (this.courseTypeId[this.CourseType[0][i].id] == "1") {
  626. // typeE.push(this.CourseType[0][i].id);
  627. // } else if (this.courseTypeId[this.CourseType[0][i].id] != "") {
  628. // if (this.CourseType[0][i].name == "年级") {
  629. // typea = this.courseTypeId[this.CourseType[0][i].id];
  630. // } else if (this.CourseType[0][i].name == "专栏") {
  631. // typeb = this.courseTypeId[this.CourseType[0][i].id];
  632. // } else if (this.CourseType[0][i].name == "栏目") {
  633. // typeb = this.courseTypeId[this.CourseType[0][i].id];
  634. // } else if (this.CourseType[0][i].name == "学院") {
  635. // typeb = this.courseTypeId[this.CourseType[0][i].id];
  636. // } else if (this.CourseType[0][i].name == "主题") {
  637. // typeb = this.courseTypeId[this.CourseType[0][i].id];
  638. // } else if (this.CourseType[0][i].name == "新技能") {
  639. // typec = this.courseTypeId[this.CourseType[0][i].id];
  640. // } else if (this.CourseType[0][i].name == "学科") {
  641. // typed = this.courseTypeId[this.CourseType[0][i].id];
  642. // }
  643. // this.courseTypeSon.push(
  644. // this.courseTypeId[this.CourseType[0][i].id]
  645. // );
  646. // }
  647. // }
  648. // }
  649. console.log("typea",this.typea);
  650. this.isLoading = true;
  651. let params = {
  652. type: this.groupA,
  653. uid: this.userid,
  654. oid: this.oid,
  655. org: this.org,
  656. typea: this.typea != undefined ? this.typea : "",
  657. typeb: this.typeb != undefined ? this.typeb : "",
  658. typec: "",
  659. typed: this.typed != undefined ? this.typed : "",
  660. typeE: this.typeE.join(","),
  661. cu: "",
  662. cn: this.courseName,
  663. page: this.page,
  664. pageSize: this.pageSize
  665. };
  666. this.ajax
  667. .get(this.$store.state.api + "selectCourseNew2", params)
  668. .then(res => {
  669. this.loading.close();
  670. this.loading = "";
  671. this.isLoading = false;
  672. this.total = res.data[0].length > 0 ? res.data[0][0].num : 0;
  673. this.course = res.data[0];
  674. })
  675. .catch(err => {
  676. console.error(err);
  677. });
  678. },
  679. getTypeName() {
  680. this.$forceUpdate();
  681. this.page = 1;
  682. this.isChoose = 1;
  683. this.getCourse();
  684. },
  685. // searchCourse() {
  686. // this.isLoading = true;
  687. // let params = {
  688. // cu: "",
  689. // cn: this.courseName,
  690. // page: this.page,
  691. // };
  692. // this.ajax
  693. // .get(this.$store.state.api + "searchCourse", params)
  694. // .then((res) => {
  695. // this.isLoading = false;
  696. // this.total = res.data[0].length > 0 ? res.data[0][0].num : 0;
  697. // this.course = res.data[0];
  698. // })
  699. // .catch((err) => {
  700. // this.isLoading = false;
  701. // console.error(err);
  702. // });
  703. // },
  704. deleteCourse(cid) {
  705. // if (this.time()) {
  706. this.$confirm("确定删除此课程吗?", "提示", {
  707. confirmButtonText: "确定",
  708. cancelButtonText: "取消",
  709. type: "warning"
  710. })
  711. .then(() => {
  712. const loading = this.openLoading(
  713. document.querySelector(".student_table")
  714. );
  715. this.isLoading = true;
  716. let params = {
  717. cid: cid
  718. };
  719. this.ajax
  720. .get(this.$store.state.api + "deleteCourse", params)
  721. .then(res => {
  722. loading.close();
  723. this.isLoading = false;
  724. this.$message.success("删除成功");
  725. this.getCourse();
  726. })
  727. .catch(err => {
  728. console.error(err);
  729. });
  730. })
  731. .catch(() => {
  732. loading.close();
  733. this.isLoading = false;
  734. return;
  735. });
  736. // }
  737. },
  738. selectAllType() {
  739. let params = {
  740. org: this.org && this.org != "" ? this.org : "",
  741. oid: this.oid && this.oid != "" ? this.oid : "",
  742. };
  743. this.ajax
  744. .get(this.$store.state.api + "selectAllType", params)
  745. .then((res) => {
  746. this.CourseType = res.data;
  747. for (var i = 0; i < res.data[0].length; i++) {
  748. if (!this.cid) {
  749. this.courseTypeId[res.data[0][i].id] = [];
  750. }
  751. if (!this.CourseTypeJson[res.data[0][i].id]) {
  752. this.CourseTypeJson[res.data[0][i].id] = [];
  753. }
  754. if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
  755. if (res.data[0][i].name == "栏目") {
  756. this.CourseType[0][i].name = "主题";
  757. }
  758. }
  759. if (res.data[2].length == 0 && res.data[3].length == 0) {
  760. for (var j = 0; j < res.data[1].length; j++) {
  761. if (res.data[0][i].id == res.data[1][j].pid) {
  762. this.CourseTypeJson[res.data[0][i].id].push(res.data[1][j]); // 去除公共分类
  763. }
  764. }
  765. } else {
  766. if (res.data[2].length > 0) {
  767. for (var j = 0; j < res.data[2].length; j++) {
  768. if (res.data[0][i].id == res.data[2][j].pid) {
  769. this.CourseTypeJson[res.data[0][i].id].push(res.data[2][j]); // 去除公共分类
  770. }
  771. }
  772. }
  773. if (res.data[3].length > 0) {
  774. for (var j = 0; j < res.data[3].length; j++) {
  775. if (res.data[0][i].id == res.data[3][j].pid) {
  776. this.CourseTypeJson[res.data[0][i].id].push(res.data[3][j]); // 去除公共分类
  777. }
  778. }
  779. }
  780. }
  781. }
  782. })
  783. .catch((err) => {
  784. console.error(err);
  785. });
  786. },
  787. selectType() {
  788. this.ajax
  789. .get(this.$store.state.api + "selectType")
  790. .then(res => {
  791. this.CourseType = res.data;
  792. for (var i = 0; i < res.data[0].length; i++) {
  793. if (!this.cid) {
  794. this.courseTypeId[res.data[0][i].id] = "";
  795. }
  796. // if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
  797. // if (res.data[0][i].name == "栏目") {
  798. // this.CourseType[0][i].name = "主题";
  799. // }
  800. // }
  801. for (var j = 0; j < res.data[1].length; j++) {
  802. if (res.data[0][i].id == res.data[1][j].pid) {
  803. if (!this.CourseTypeJson[res.data[0][i].id]) {
  804. this.CourseTypeJson[res.data[0][i].id] = [];
  805. }
  806. this.CourseTypeJson[res.data[0][i].id].push(res.data[1][j]); //去除公共分类
  807. }
  808. }
  809. }
  810. this.selectTypeByOid();
  811. this.selectTypeByOrg();
  812. })
  813. .catch(err => {
  814. console.error(err);
  815. });
  816. },
  817. selectTypeByOid() {
  818. let params = {
  819. oid: this.oid
  820. };
  821. this.ajax
  822. .get(this.$store.state.api + "selectTypeByOid", params)
  823. .then(res => {
  824. for (var i = 0; i < res.data[0].length; i++) {
  825. for (var j = 0; j < res.data[1].length; j++) {
  826. if (res.data[0][i].id == res.data[1][j].pid) {
  827. if (!this.CourseTypeJson[res.data[0][i].id]) {
  828. this.CourseTypeJson[res.data[0][i].id] = [];
  829. }
  830. this.CourseTypeJson[res.data[0][i].id].push(res.data[1][j]);
  831. }
  832. }
  833. }
  834. this.$forceUpdate();
  835. })
  836. .catch(err => {
  837. console.error(err);
  838. });
  839. },
  840. selectTypeByOrg() {
  841. let params = {
  842. oid: this.org
  843. };
  844. this.ajax
  845. .get(this.$store.state.api + "selectTypeByOrg", params)
  846. .then(res => {
  847. for (var i = 0; i < res.data[0].length; i++) {
  848. for (var j = 0; j < res.data[1].length; j++) {
  849. if (res.data[0][i].id == res.data[1][j].pid) {
  850. if (!this.CourseTypeJson[res.data[0][i].id]) {
  851. this.CourseTypeJson[res.data[0][i].id] = [];
  852. }
  853. this.CourseTypeJson[res.data[0][i].id].push(res.data[1][j]);
  854. }
  855. }
  856. }
  857. this.$forceUpdate();
  858. })
  859. .catch(err => {
  860. console.error(err);
  861. });
  862. },
  863. openCourse() {
  864. this.dialogVisibleCourse = true;
  865. this.getTeamCourse();
  866. },
  867. getTeamCourse() {
  868. let params = {
  869. uid: this.userid,
  870. oid: this.oid
  871. };
  872. this.ajax
  873. .get(this.$store.state.api + "selectCourseTeam", params)
  874. .then(res => {
  875. this.courseTeam = res.data[0];
  876. })
  877. .catch(err => {
  878. console.error(err);
  879. });
  880. },
  881. search() {
  882. this.page = 1;
  883. this.getCourse();
  884. },
  885. checkProblem(res) {
  886. this.problemCourse = res;
  887. this.dialogVisible = true;
  888. },
  889. copyCourse(cid) {
  890. let params = [
  891. {
  892. cid: cid,
  893. uid: this.userid
  894. }
  895. ];
  896. this.ajax
  897. .post(this.$store.state.api + "copyCourse", params)
  898. .then(res => {
  899. this.page = 1;
  900. if(this.role == '1'){
  901. this.groupA = '4'
  902. }else{
  903. this.groupA = "0";
  904. }
  905. this.clear();
  906. })
  907. .catch(err => {
  908. console.error(err);
  909. });
  910. }
  911. },
  912. created() {
  913. if(this.role == '1'){
  914. this.groupA = '4'
  915. }
  916. this.page = 1;
  917. // this.selectType();
  918. this.selectAllType();
  919. this.getCourse();
  920. }
  921. };
  922. </script>
  923. <style scoped>
  924. .dialog_diy >>> .el-dialog__header {
  925. background: #3d67bc !important;
  926. padding: 15px 20px;
  927. }
  928. .dialog_diy >>> .el-dialog__title {
  929. color: #fff;
  930. }
  931. .dialog_diy >>> .el-dialog__headerbtn {
  932. top: 19px;
  933. }
  934. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close {
  935. color: #fff;
  936. }
  937. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover {
  938. color: #fff;
  939. }
  940. .student_head >>> .el-button--primary {
  941. background-color: #2268bc;
  942. }
  943. .xls_button {
  944. font-size: 14px;
  945. cursor: pointer;
  946. text-decoration: underline;
  947. color: rgb(34, 104, 188);
  948. }
  949. .student_head {
  950. display: flex;
  951. justify-content: space-between;
  952. align-items: baseline;
  953. flex-direction: row;
  954. flex-wrap: wrap;
  955. }
  956. .top {
  957. display: flex;
  958. justify-content: space-between;
  959. }
  960. .bgColor {
  961. background: #466b99;
  962. }
  963. .student_search {
  964. display: flex;
  965. align-items: center;
  966. width: calc(100% / 3);
  967. }
  968. .student_search span {
  969. margin: 0 10px 0 0;
  970. min-width: 65px;
  971. }
  972. .student_button {
  973. display: flex;
  974. overflow: hidden;
  975. height: 40px;
  976. }
  977. .upload-demo {
  978. display: flex;
  979. flex-direction: column;
  980. align-items: end;
  981. /* position: relative; */
  982. width: 100px;
  983. overflow: hidden;
  984. }
  985. .student_table {
  986. padding: 20px 0;
  987. height: 100%;
  988. /* overflow: auto; */
  989. min-height: 360px;
  990. }
  991. .student_empty {
  992. display: flex;
  993. justify-content: center;
  994. align-items: center;
  995. }
  996. .el-table >>> .even_row {
  997. background-color: #f1f1f1;
  998. }
  999. .time {
  1000. font-size: 13px;
  1001. color: #999;
  1002. }
  1003. .course_button {
  1004. padding: 10px 20px;
  1005. }
  1006. .course_button_box {
  1007. display: flex;
  1008. margin-top: 5px;
  1009. justify-content: space-between;
  1010. }
  1011. .course_rate {
  1012. margin-top: 5px;
  1013. }
  1014. .course_view {
  1015. display: flex;
  1016. align-items: center;
  1017. margin: 5px 0 0 0;
  1018. }
  1019. .course_view i {
  1020. background-image: url("../../assets/liulan.png");
  1021. width: 25px;
  1022. height: 25px;
  1023. background-size: 100% 100%;
  1024. /* margin-top: 1px; */
  1025. line-height: 25px;
  1026. vertical-align: text-top;
  1027. background-repeat: no-repeat;
  1028. }
  1029. .image {
  1030. width: 100%;
  1031. height: 150px;
  1032. display: block;
  1033. }
  1034. .course_box {
  1035. display: flex;
  1036. flex-wrap: wrap;
  1037. }
  1038. .student_page {
  1039. width: 95%;
  1040. margin: 0 auto;
  1041. }
  1042. .course_create_box {
  1043. font-size: 18px;
  1044. }
  1045. .course_name {
  1046. margin-top: 10px;
  1047. }
  1048. .course_name span {
  1049. margin-bottom: 10px;
  1050. display: block;
  1051. }
  1052. .homework_box {
  1053. display: flex;
  1054. align-items: center;
  1055. flex-wrap: wrap;
  1056. }
  1057. .course_homework {
  1058. width: 130px;
  1059. display: flex;
  1060. justify-content: center;
  1061. flex-direction: column;
  1062. align-items: center;
  1063. margin: 0 10px 10px 0;
  1064. }
  1065. .course_type {
  1066. margin-top: 10px;
  1067. display: flex;
  1068. }
  1069. .course_type1 span {
  1070. margin-bottom: 10px;
  1071. display: block;
  1072. }
  1073. .course_type2 {
  1074. margin-left: 20px;
  1075. }
  1076. .course_type2 span {
  1077. margin-bottom: 10px;
  1078. display: block;
  1079. }
  1080. .course_empty {
  1081. color: rgb(110, 110, 110);
  1082. width: 100%;
  1083. height: 100%;
  1084. display: flex;
  1085. align-items: center;
  1086. justify-content: center;
  1087. }
  1088. .el_cards >>> .el-card__body {
  1089. height: 100%;
  1090. }
  1091. .courseBtnBox {
  1092. display: flex;
  1093. flex-direction: column;
  1094. justify-content: space-between;
  1095. height: calc(100% - 170px);
  1096. padding: 10px;
  1097. }
  1098. .wordUpload {
  1099. display: flex;
  1100. }
  1101. .wordUpload > .buttonUp {
  1102. margin-right: 5px;
  1103. }
  1104. .out_box {
  1105. display: flex;
  1106. flex-direction: column;
  1107. flex-wrap: nowrap;
  1108. width: 250px;
  1109. background: #fff;
  1110. margin-right: 25px;
  1111. border: 1px solid #ccc;
  1112. height: fit-content;
  1113. box-sizing: border-box;
  1114. border-radius: 0px 0px 5px 5px;
  1115. /* overflow: hidden; */
  1116. margin-bottom: 15px;
  1117. position: relative;
  1118. }
  1119. .bottom_box {
  1120. display: flex;
  1121. padding: 10px 0 10px 10px;
  1122. flex-direction: column;
  1123. box-sizing: border-box;
  1124. height: 121px;
  1125. flex-wrap: nowrap;
  1126. justify-content: space-evenly;
  1127. }
  1128. .bottom_box > div:nth-child(1) {
  1129. width: 230px;
  1130. overflow: hidden;
  1131. text-overflow: ellipsis;
  1132. white-space: nowrap;
  1133. }
  1134. .tup {
  1135. width: 100%;
  1136. height: 141.06px;
  1137. margin: 0 auto;
  1138. overflow: hidden;
  1139. display: flex;
  1140. align-items: center;
  1141. }
  1142. .tup > img {
  1143. width: 100%;
  1144. height: 100%;
  1145. object-fit: contain;
  1146. }
  1147. .kc_time {
  1148. margin-top: 8px;
  1149. font-size: 14px;
  1150. color: #999;
  1151. }
  1152. .kc_t {
  1153. margin-top: 5px;
  1154. width: 100%;
  1155. white-space: nowrap;
  1156. overflow: hidden;
  1157. text-overflow: ellipsis;
  1158. }
  1159. .three_bottom {
  1160. display: flex;
  1161. flex-direction: row;
  1162. justify-content: space-around;
  1163. height: 40px;
  1164. align-items: center;
  1165. background: #f5f4f4;
  1166. font-size: 14px;
  1167. }
  1168. .three_bottom > div {
  1169. cursor: pointer;
  1170. }
  1171. .three_bottom > div:hover {
  1172. color: #79a2ff;
  1173. }
  1174. .head_left {
  1175. display: flex;
  1176. }
  1177. .student_input >>> .el-input__inner {
  1178. height: 40px;
  1179. width: 190px;
  1180. font-size: 13px;
  1181. padding: 0 10px;
  1182. }
  1183. .course_button {
  1184. color: #fff;
  1185. background: #2268bc;
  1186. width: 75px;
  1187. height: 40px;
  1188. padding: 0 !important;
  1189. font-size: 12px;
  1190. line-height: 40px;
  1191. }
  1192. /* .all_choose {
  1193. margin: 15px 0 10px;
  1194. height: 20%;
  1195. display: flex;
  1196. flex-direction: row;
  1197. align-items: center;
  1198. max-width: calc(100% / 3);
  1199. }
  1200. .all_choose > span {
  1201. width: 50px;
  1202. display: block;
  1203. }
  1204. .choose {
  1205. display: flex;
  1206. flex-direction: row;
  1207. flex-wrap: wrap;
  1208. align-content: space-between;
  1209. height: 100%;
  1210. justify-content: flex-start;
  1211. width: 60%;
  1212. min-width: 868px;
  1213. align-items: center;
  1214. } */
  1215. /* .choose > div:nth-child(2) {
  1216. margin-left: 1%;
  1217. width: 32.33333%;
  1218. }
  1219. .choose > div:nth-child(4) {
  1220. margin-right: 1%;
  1221. width: 32.33333%;
  1222. }
  1223. .choose > div:nth-child(5) {
  1224. margin: 5px 0 0 1%;
  1225. }
  1226. .choose > div:nth-child(4) > span {
  1227. width: 74px !important;
  1228. min-width: 74px;
  1229. }
  1230. .choose > div:nth-child(4) >>> .el-select {
  1231. width: 217.5px;
  1232. min-width: 215.06px;
  1233. } */
  1234. .clear {
  1235. width: 70px;
  1236. height: 35px;
  1237. background: #2268bc;
  1238. color: #fff;
  1239. text-align: center;
  1240. border-radius: 5px;
  1241. line-height: 35px;
  1242. cursor: pointer;
  1243. margin-left: 20px;
  1244. }
  1245. .ct_box {
  1246. height: 500px;
  1247. overflow: auto;
  1248. display: flex;
  1249. flex-wrap: wrap;
  1250. }
  1251. .myCourse {
  1252. position: absolute;
  1253. background: #3c3c3c;
  1254. width: 70px;
  1255. height: 30px;
  1256. border-radius: 30px;
  1257. color: #fff;
  1258. font-size: 14px;
  1259. text-align: center;
  1260. line-height: 30px;
  1261. top: 5px;
  1262. left: 5px;
  1263. }
  1264. .xtCourse {
  1265. position: absolute;
  1266. background: #41a5f0;
  1267. width: 70px;
  1268. height: 30px;
  1269. border-radius: 30px;
  1270. color: #fff;
  1271. font-size: 14px;
  1272. text-align: center;
  1273. line-height: 30px;
  1274. top: 5px;
  1275. left: 5px;
  1276. }
  1277. .sub_head {
  1278. position: relative;
  1279. }
  1280. .sub_head::after {
  1281. content: "";
  1282. width: 100%;
  1283. background: #5a9cea;
  1284. height: 2px;
  1285. position: absolute;
  1286. left: 0;
  1287. bottom: -18px;
  1288. }
  1289. .subClick {
  1290. /* font-size: 16px; */
  1291. font-size: 26px;
  1292. cursor: pointer;
  1293. margin-left: 10px;
  1294. /* color: #ab582f; */
  1295. /* color: #409eff; */
  1296. color: #999;
  1297. }
  1298. .subClick:hover{
  1299. color: #000;
  1300. }
  1301. .more {
  1302. position: relative;
  1303. }
  1304. .more:hover div {
  1305. display: block;
  1306. color: #000;
  1307. }
  1308. .more div {
  1309. position: absolute;
  1310. bottom: 0px;
  1311. transform: translate(-50%, 100%);
  1312. background: #f5f4f4;
  1313. padding: 10px 20px;
  1314. z-index: 99;
  1315. width: 40px;
  1316. border-radius: 5px;
  1317. box-shadow: 0 0 3px 3px #80808020;
  1318. display: none;
  1319. }
  1320. .more div > span + span {
  1321. margin-top: 10px;
  1322. }
  1323. .more div > span {
  1324. display: block;
  1325. width: 100%;
  1326. text-align: center;
  1327. }
  1328. .more div > span:hover {
  1329. color: #79a2ff;
  1330. }
  1331. .line{
  1332. width: 100%;
  1333. height: 15px;
  1334. background: #e6eaf0;
  1335. }
  1336. .reBox {
  1337. background: #fff;
  1338. width: 95%;
  1339. border-radius: 5px;
  1340. /* padding-left: 20px; */
  1341. margin: 0 auto;
  1342. box-sizing: border-box;
  1343. }
  1344. .reTop {
  1345. padding: 0 0 5px;
  1346. /* padding: 20px 0 0 0; */
  1347. /* border-bottom: 1px solid #eee; */
  1348. display: flex;
  1349. flex-direction: row;
  1350. flex-wrap: nowrap;
  1351. align-items: center;
  1352. justify-content: space-between;
  1353. }
  1354. .reTop>div:nth-child(1) {
  1355. font-weight: bold;
  1356. /* width: 40px; */
  1357. /* border-bottom: 1px solid #205cc6; */
  1358. /* padding-bottom: 20px; */
  1359. color: #205cc6;
  1360. /* font-size: 20px; */
  1361. }
  1362. .reTop>div:nth-child(2) {
  1363. display: flex;
  1364. flex-direction: row;
  1365. align-items: center;
  1366. border: 1px solid #ccced3;
  1367. width: 300px;
  1368. border-radius: 8px;
  1369. padding: 5px 0;
  1370. /* margin-bottom: 10px; */
  1371. background: #fafafa;
  1372. }
  1373. .search {
  1374. width: 20px;
  1375. padding: 0 5px;
  1376. }
  1377. .search>img {
  1378. width: 100%;
  1379. height: 100%;
  1380. }
  1381. .sInput {
  1382. border: none;
  1383. width: 85%;
  1384. background: #fafafa;
  1385. }
  1386. .sInput:focus-visible {
  1387. outline: none;
  1388. }
  1389. .typeCss {
  1390. display: flex;
  1391. flex-direction: row;
  1392. flex-wrap: wrap;
  1393. justify-content: flex-start;
  1394. align-items: center;
  1395. }
  1396. .choose {
  1397. display: flex;
  1398. flex-direction: column;
  1399. flex-wrap: nowrap;
  1400. height: 100%;
  1401. justify-content: space-evenly;
  1402. align-items: flex-start;
  1403. padding: 10px 0;
  1404. }
  1405. .all_choose {
  1406. display: flex;
  1407. flex-direction: row;
  1408. align-items: baseline;
  1409. margin: 2px 0;
  1410. width: 100%;
  1411. }
  1412. .all_choose>span {
  1413. min-width: 80px;
  1414. display: block;
  1415. letter-spacing: 14px;
  1416. }
  1417. .all_choose>span:nth-child(1) {
  1418. font-weight: bold;
  1419. }
  1420. .all_choose>>>.el-checkbox-group {
  1421. display: flex;
  1422. flex-direction: row;
  1423. width: 820px;
  1424. flex-wrap: wrap;
  1425. align-content: center;
  1426. justify-content: flex-start;
  1427. align-items: center;
  1428. margin-top: 3px;
  1429. }
  1430. .all_choose>.el-checkbox-group>>>.el-checkbox {
  1431. margin-bottom: 10px;
  1432. display: flex;
  1433. flex-direction: row;
  1434. align-items: center;
  1435. }
  1436. .all_choose>.el-checkbox-group>.el-checkbox>>>.el-checkbox__label {
  1437. min-width: 80px;
  1438. overflow: hidden;
  1439. width: 80px;
  1440. text-overflow: ellipsis;
  1441. white-space: nowrap;
  1442. }
  1443. .all_choose>.el-checkbox-group>.el-checkbox>>>.el-checkbox__label:hover {
  1444. width: auto;
  1445. }
  1446. .cName {
  1447. cursor: pointer;
  1448. margin: 0 10px 5px 0;
  1449. color: #b9b6b9;
  1450. min-width: 80px;
  1451. width: 80px;
  1452. white-space: nowrap;
  1453. overflow: hidden;
  1454. text-overflow: ellipsis;
  1455. }
  1456. .isCType {
  1457. color: #6282c2;
  1458. }
  1459. </style>