finishDetail.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  1. <template>
  2. <div class="context">
  3. <div class="panel">
  4. <h5>下课详情
  5. <span class="current">{{BeginTime}} {{ClassName}} </span>
  6. </h5>
  7. <div class="panel-body">
  8. <div class="panel_control">
  9. <el-row :gutter="20">
  10. <el-col :span="4">
  11. <em>会员名:</em>
  12. <el-input v-model="panel.name" placeholder="请输入会员名"></el-input>
  13. </el-col>
  14. <el-col :span="4">
  15. <em>手机号:</em>
  16. <el-input v-model="panel.phone" placeholder="请输入手机号" type="number"></el-input>
  17. </el-col>
  18. <el-col :span="4">
  19. <el-button size="" type="primary" @click="query" plain :disabled="serachBtnStatus">查询
  20. </el-button>
  21. </el-col>
  22. </el-row>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="change">
  27. <el-button @click="addFinish">确认下课</el-button>
  28. <el-button @click="addFinishMember">添加下课会员</el-button>
  29. </div>
  30. <div class="table">
  31. <el-table
  32. :data="tableData"
  33. border
  34. is-horizontal-resize
  35. :default-sort="{prop: 'date', order: 'descending'}"
  36. element-loading-background="rgba(0, 0, 0, 0.8)"
  37. class=""
  38. @selection-change="handleSelectionChange"
  39. >
  40. >
  41. <el-table-column
  42. type="index"
  43. label="序号"
  44. align="center"
  45. width="50">
  46. </el-table-column>
  47. <el-table-column
  48. prop="Name"
  49. label="会员名"
  50. >
  51. </el-table-column>
  52. <el-table-column
  53. prop="Phone"
  54. label="手机号"
  55. sortable
  56. >
  57. </el-table-column>
  58. <el-table-column
  59. prop="ClassName"
  60. label="课程"
  61. sortable
  62. >
  63. <template slot-scope="scope">
  64. <span class="lessons"
  65. :style="{ background:scope.row.ClassColor }">{{scope.row.ClassName}}</span>
  66. </template>
  67. </el-table-column>
  68. <el-table-column
  69. prop="OrderTime"
  70. label="预约时间"
  71. :formatter="filterFmtDate"
  72. sortable
  73. >
  74. </el-table-column>
  75. <el-table-column
  76. prop="RemainTotalhour"
  77. label="剩余全部课时"
  78. sortable
  79. >
  80. </el-table-column>
  81. <el-table-column
  82. prop="Status"
  83. label="状态"
  84. sortable
  85. >
  86. <template slot-scope="scope">
  87. <span v-if="scope.row.Status == 1">预约上课 </span>
  88. <span v-if="scope.row.Status == 2">预约未到</span>
  89. <span v-if="scope.row.Status == 3">上课未预约</span>
  90. </template>
  91. </el-table-column>
  92. <el-table-column
  93. prop="Status"
  94. label="操作"
  95. >
  96. <template slot-scope="scope">
  97. <el-button type="primary" round v-if="scope.row.Status == 1" size="mini"
  98. @click="pauseRow(scope.row,2)">
  99. 预约未到
  100. </el-button>
  101. <el-button type="warning" round v-if="scope.row.Status == 2" size="mini"
  102. @click="pauseRow(scope.row,1)">
  103. 撤销
  104. </el-button>
  105. <el-button type="danger" round v-if="scope.row.Status == 3" size="mini"
  106. @click="getClassOverDetailDel(scope.row)">
  107. 删除
  108. </el-button>
  109. </template>
  110. </el-table-column>
  111. </el-table>
  112. <br>
  113. <el-pagination
  114. background
  115. :total="pageination.total"
  116. :page-size="pageination.pageItem"
  117. @current-change="pageChange"
  118. ></el-pagination>
  119. </div>
  120. <el-dialog title="确认下课" :visible.sync="dialogFinishVisible" width="650px">
  121. <div class="dialogContent">
  122. <span class="blueTitle">{{ClassName}} {{BeginTime}}</span>
  123. <div>
  124. <el-transfer filterable v-model="dialogCoachValue" :data="form.dialogCoachdata"
  125. :titles="['教练列表', '已添加教练']"></el-transfer>
  126. </div>
  127. </div>
  128. <div class="dialogFooter">
  129. <el-button type="primary" size="small" @click="confirmClassFinish">确定</el-button>
  130. <el-button size="small" @click="dialogFinishVisible = false">取消</el-button>
  131. </div>
  132. </el-dialog>
  133. <el-dialog title="添加下课会员" :visible.sync="dialogVisible" width="650px">
  134. <div class="dialogContent viplist">
  135. <span class="blueTitle">{{ClassName}} {{BeginTime}}</span>
  136. <div>
  137. <el-transfer filterable v-model="dialogValue" :data="form.dialogdata"
  138. :titles="['会员列表', '已添加会员']"></el-transfer>
  139. </div>
  140. </div>
  141. <div class="dialogFooter">
  142. <el-button type="primary" size="small" @click="confirmMember">确定</el-button>
  143. <el-button size="small" @click="dialogVisible = false">取消</el-button>
  144. </div>
  145. </el-dialog>
  146. </div>
  147. </template>
  148. <script>
  149. import Global from '../Global.js'
  150. import {
  151. ClassOverDetailListQuery,
  152. ClassVipuserQuery,
  153. ClassOverDetailAdd,
  154. ClassVipuserEdit,
  155. ClassOverDetailStatusEdit,
  156. ClassOverConfirm,
  157. testTable,
  158. testSelect,
  159. TeacherListQuery,
  160. ShopManagerListQuery,
  161. VipUserSimpleQuery,
  162. ClassOverDetailDel
  163. } from "../api/getApiRes";
  164. let qs = require('qs');
  165. export default {
  166. data() {
  167. return {
  168. serachBtnStatus: false,
  169. dialogVisible: false,//添加下课会员
  170. dialogFinishVisible: false,//确认下课dialog
  171. dialogLesson: false,//课时调整
  172. dialogGift: false,//赠送课时调整
  173. dialogExpTime: false,//有效期调整
  174. dialogLessonTable: false,//会员课程
  175. dialogTitle: '新增会员',
  176. current: getNowDate(),
  177. dialogValue: [],
  178. dialogCoachValue: [],
  179. BeginTime: '',
  180. ClassName: '',
  181. // panel 配置项目
  182. panel: {
  183. name: '',
  184. phone: '',
  185. usercode: '',
  186. username: '',
  187. compname: '',
  188. keyword: '',
  189. USERCODE: '',
  190. endType: '',
  191. taskstatus: 99,
  192. draw: 1,
  193. start: 0,
  194. recordsTotal: 0,
  195. tableData: [],
  196. allTableData: [],
  197. limit: '10',
  198. multipleSort: false,
  199. loading: false,
  200. fileList: [],
  201. multipleSelection: [],
  202. detectedmac: '',
  203. options: [
  204. {value: 99, label: '全部'},
  205. {value: 1, label: '进行中'},
  206. {value: 2, label: '已完成'},
  207. ],
  208. endTypeOptions: [
  209. {value: 99, label: '全部'},
  210. {value: 30, label: '近一个月'},
  211. {value: 7, label: '近一周'},
  212. {value: 1, label: '当日'},
  213. ],
  214. time1: globalBt(),
  215. },
  216. multipleSelection: [],
  217. pageination: {
  218. pageItem: 10,
  219. pageoptions: pageOptions(),
  220. total: 100,
  221. pageIndex: 1,
  222. },
  223. form: {
  224. name: '',
  225. userCode: '',
  226. coach: '',
  227. coachOptions: [],
  228. shopId: '',
  229. memberType: 1,
  230. lesson: 1,
  231. gift: 1,
  232. btnType: 0,//0新建,1编辑编辑
  233. memo: '',
  234. expTime: '',
  235. dialogdata: [],//穿梭待选
  236. dialogValue: [],//穿梭已选
  237. dialogCoachdata: [],//穿梭已选
  238. },
  239. memberTypes: [
  240. {value: 1, label: '年会员'},
  241. {value: 2, label: '充值会员'},
  242. ],
  243. tableData: []
  244. }
  245. },
  246. mounted() {
  247. this.BeginTime = nonTfmtDatetoLength(this.$route.query.BeginTime, 16);
  248. this.ClassName = this.$route.query.ClassName;
  249. this.getTableQuery();
  250. // 获取教练选项
  251. // this.getCoachOption();
  252. },
  253. methods: {
  254. // 获取教练选项
  255. getCoachOption() {
  256. let that = this;
  257. let param = {
  258. token: localStorage.token,
  259. name: this.panel.name,//
  260. phone: this.panel.phone,//
  261. shopId: localStorage.ShopId,//
  262. adminType: 4,//
  263. start: 1,//
  264. tableMax: 299,//
  265. };
  266. let postdata = qs.stringify(param);
  267. ShopManagerListQuery(postdata).then(res => {
  268. let json = res;
  269. if (json.Code == 0) {
  270. that.form.dialogCoachdata = turnResToOptionByUsers(json.Rs);
  271. } else {
  272. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  273. }
  274. })
  275. },
  276. // 获取本课程下的会员列表
  277. getClassVipuserQuery() {
  278. let that = this;
  279. let param = {
  280. token: localStorage.token,
  281. // classId: this.$route.query.classId,
  282. };
  283. let postdata = qs.stringify(param);
  284. // ClassVipuserQuery(postdata).then(res => {
  285. VipUserSimpleQuery(postdata).then(res => {
  286. let json = res;
  287. if (json.Code == 0) {
  288. // that.form.dialogdata = turnResToOptionByViper(json.Rs);
  289. that.form.dialogdata = turnResToOptionBySimViper(json.Rs);
  290. console.log(that.form.dialogdata);
  291. } else {
  292. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  293. }
  294. })
  295. },
  296. // 下课记录详情删除
  297. getClassOverDetailDel(row) {
  298. let that = this;
  299. let param = {
  300. token: localStorage.token,
  301. stdId: row.StdId,
  302. cfId: row.CfId,
  303. };
  304. this.$confirm('是否删除用户 ' + row.Name + ' 的下课记录?', '提示', {
  305. confirmButtonText: '确定',
  306. cancelButtonText: '取消',
  307. type: 'warning'
  308. }).then(() => {
  309. let postdata = qs.stringify(param);
  310. ClassOverDetailDel(postdata).then(res => {
  311. let json = res;
  312. if (json.Code == 0) {
  313. that.$message({
  314. showClose: true,
  315. message: '当前学生上课记录已删除!',
  316. type: 'success'
  317. });
  318. that.getTableQuery();
  319. } else {
  320. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  321. }
  322. })
  323. }).catch(() => {
  324. this.$message({
  325. type: 'info',
  326. message: '已取消删除'
  327. });
  328. });
  329. },
  330. // 编辑
  331. editMember(row) {
  332. let that = this;
  333. this.clearForm();
  334. this.form.userCode = row.userCode;
  335. this.form.name = row.name;
  336. this.form.memberType = row.vipType;
  337. this.form.lesson = row.Recovered;
  338. this.form.gift = row.Recovered;
  339. this.form.memo = row.memo;
  340. this.form.btnType = 1;
  341. this.form.shopId = row.Id;
  342. this.dialogFinishVisible = true
  343. this.dialogTitle = '编辑会员'
  344. },
  345. // 禁用
  346. pauseRow(row, status) {
  347. let that = this;
  348. let param = {
  349. token: localStorage.token,
  350. stdId: this.$route.query.id,
  351. cfId: row.CfId,
  352. status: status,
  353. };
  354. let postdata = qs.stringify(param);
  355. ClassOverDetailStatusEdit(postdata).then(res => {
  356. let json = res;
  357. if (json.Code == 0) {
  358. that.$message({
  359. showClose: true,
  360. message: '执行成功!',
  361. type: 'success'
  362. });
  363. // table 重载
  364. that.getTableQuery();
  365. } else {
  366. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  367. }
  368. })
  369. },
  370. // 关闭所有
  371. allDialogClose() {
  372. this.dialogVisible = false;
  373. this.dialogGift = false;
  374. this.dialogLesson = false;
  375. this.dialogExpTime = false;
  376. this.dialogLessonTable = false;
  377. },
  378. // 确认提交下课会员
  379. confirmMember() {
  380. let that = this;
  381. // checkNum
  382. let userlist = that.dialogValue.toString();
  383. let param = {
  384. token: localStorage.token,
  385. stdId: this.$route.query.id,
  386. userlist: userlist
  387. };
  388. let postdata = qs.stringify(param);
  389. // 下课记录详情添加
  390. ClassOverDetailAdd(postdata).then(res => {
  391. let json = res;
  392. if (json.Code == 0) {
  393. // 关闭弹窗
  394. that.dialogVisible = false;
  395. // 重载列表
  396. that.getTableQuery();
  397. that.$message({
  398. showClose: true,
  399. message: '下课会员修改成功!',
  400. type: 'success'
  401. });
  402. that.getTableQuery()
  403. } else {
  404. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  405. }
  406. })
  407. },
  408. // 确认下课
  409. confirmClassFinish() {
  410. let that = this;
  411. // checkNum
  412. let userlist = that.dialogCoachValue.toString();
  413. let param = {
  414. token: localStorage.token,
  415. stdId: this.$route.query.id,
  416. teacherList: userlist
  417. };
  418. let postdata = qs.stringify(param);
  419. // 下课记录详情添加
  420. ClassOverConfirm(postdata).then(res => {
  421. let json = res;
  422. if (json.Code == 0) {
  423. // 关闭弹窗
  424. that.dialogFinishVisible = false;
  425. // 重载列表
  426. that.getTableQuery();
  427. that.$message({
  428. showClose: true,
  429. message: '当前课程已确认下课!',
  430. type: 'success'
  431. });
  432. // 返回下课列表
  433. // that.$router.push({path: '/finish'});
  434. this.$router.go(-1);
  435. } else {
  436. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  437. }
  438. })
  439. },
  440. // 确认提交课时
  441. confirmLesson() {
  442. let that = this;
  443. // checkNum
  444. let param = {
  445. token: localStorage.token,
  446. userCode: that.form.userCode,
  447. lesson: that.form.lesson,
  448. };
  449. let postdata = qs.stringify(param);
  450. testSelect(postdata).then(res => {
  451. let json = res;
  452. if (json.Code == 0) {
  453. // 关闭弹窗
  454. that.dialogVisible = false;
  455. // 重载列表
  456. that.getTableQuery();
  457. that.$message({
  458. showClose: true,
  459. message: '课时调整成功!',
  460. type: 'success'
  461. });
  462. } else {
  463. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  464. }
  465. })
  466. },
  467. // 确认下课
  468. addFinish() {
  469. let that = this;
  470. this.clearForm();
  471. // 重新获得教练名单
  472. that.getCoachOption();
  473. that.dialogFinishVisible = true;
  474. that.btnType = 0;
  475. that.dialogTitle = '确认下课'
  476. },
  477. // 添加下课会员
  478. addFinishMember() {
  479. let that = this;
  480. this.clearForm();
  481. this.getClassVipuserQuery();
  482. this.dialogValue = [];
  483. let std = [];
  484. if (this.tableData) {
  485. this.tableData.map(function (item) {
  486. std.push(item.UserId)
  487. })
  488. }
  489. that.dialogValue = std;
  490. this.dialogVisible = true
  491. },
  492. // 删除
  493. delList() {
  494. let that = this;
  495. // checkNum
  496. if (!this.multipleSelection.length) {
  497. that.$message({
  498. showClose: true,
  499. message: '错了哦,需要先选中至少一条记录',
  500. type: 'error'
  501. });
  502. return false
  503. }
  504. if (this.multipleSelection.length != 1) {
  505. that.$message({
  506. showClose: true,
  507. message: '错了哦,只能选中一条记录',
  508. type: 'error'
  509. });
  510. return false
  511. }
  512. let detectorid = that.tableRadio.Id;
  513. let param = {
  514. token: localStorage.token,
  515. detectorid: detectorid,
  516. status: 9,//0禁用1启用9删除
  517. };
  518. let postdata = qs.stringify(param);
  519. this.$confirm('此操作将永久删除该会员, 是否继续?', '提示', {
  520. confirmButtonText: '确定',
  521. cancelButtonText: '取消',
  522. type: 'warning'
  523. }).then(() => {
  524. testSelect(postdata).then(res => {
  525. let json = res;
  526. if (json.Code == 0) {
  527. that.$message({
  528. showClose: true,
  529. message: '选中的会员已删除!',
  530. type: 'success'
  531. });
  532. // 重载列表
  533. that.getTableQuery();
  534. } else {
  535. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  536. }
  537. });
  538. }).catch(() => {
  539. this.$message({
  540. type: 'info',
  541. message: '已取消删除'
  542. });
  543. });
  544. },
  545. handleSelectionChange(val) {
  546. this.multipleSelection = val;
  547. },
  548. // 查询按钮
  549. query() {
  550. let that = this;
  551. that.serachBtnStatus = true;
  552. let totalTime = 2
  553. let clock = window.setInterval(() => {
  554. totalTime--
  555. if (totalTime < 0) {
  556. totalTime = 2;
  557. that.serachBtnStatus = false;
  558. }
  559. }, 1000)
  560. this.getTableQuery();
  561. this.$message.success('查询完毕');
  562. },
  563. clearForm() {
  564. // clear
  565. this.form.name = '';
  566. this.form.userCode = '';
  567. this.form.shopId = '';
  568. this.dialogCoachValue = [];
  569. },
  570. // 页面数据查询
  571. getTableQuery() {
  572. let that = this;
  573. // this.getGetChildRegionSelect(0, 1);
  574. that.loading = true;
  575. // 查询检测设备。上级区域id,区域id必传。regionid传0,查询supregionid对应所有子区域的检测设备。 如果supregionid,regionid都传0,默认查询企业ID下所有检测设备
  576. let param = {
  577. token: localStorage.token,
  578. stdId: this.$route.query.id,//标签名
  579. name: this.panel.name,//姓名
  580. phone: this.panel.phone,//手机号
  581. start: 1,//
  582. tableMax: 9999,//
  583. };
  584. let postdata = qs.stringify(param);
  585. ClassOverDetailListQuery(postdata).then(res => {
  586. let json = res;
  587. if (json.Code == 0) {
  588. that.loading = false;
  589. if (json.Rs) {
  590. that.allTableData = json.Rs;
  591. that.recordsTotal = json.Rs.length;
  592. } else {
  593. that.allTableData = [];
  594. that.recordsTotal = 0;
  595. }
  596. // 设置分页数据
  597. that.setPaginations();
  598. } else {
  599. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  600. }
  601. })
  602. },
  603. // 设置分页数据
  604. setPaginations() {
  605. // 分页属性
  606. let that = this;
  607. that.pageination.total = that.recordsTotal;
  608. // 默认分页
  609. that.tableData = that.allTableData.filter((item, index) => {
  610. return index < that.pageination.pageItem;
  611. });
  612. },
  613. // 每页显示数量
  614. handleSizeChange() {
  615. let that = this;
  616. that.tableData = that.allTableData.filter((item, index) => {
  617. return index < that.pageination.pageItem;
  618. });
  619. that.draw = that.pageination.pageItem;
  620. that.getTableQuery();
  621. },
  622. // 翻页
  623. pageChange(pageIndex) {
  624. let that = this;
  625. // 获取当前页
  626. let index = that.pageination.pageItem * (pageIndex - 1);
  627. // 数据总数
  628. let nums = that.pageination.pageItem * pageIndex;
  629. // 容器
  630. let tables = [];
  631. for (var i = index; i < nums; i++) {
  632. if (that.allTableData[i]) {
  633. tables.push(that.allTableData[i])
  634. }
  635. this.tableData = tables;
  636. }
  637. that.start = index * that.draw;
  638. that.getTableQuery();
  639. },
  640. // 自动排序
  641. sortChange(params) {
  642. console.log(params)
  643. },
  644. // 过滤时间
  645. filterFmtDate(value, row, column) {
  646. let that = this;
  647. if (column == "0001-01-01T08:05:43+08:05" || column == "0001-01-01T00:00:00Z") {
  648. return '未预约';
  649. } else {
  650. return nonTfmtDate(column, 11);
  651. }
  652. },
  653. },
  654. watch: {
  655. $route(to) {
  656. if (to.name == 'finishDetail') {
  657. this.BeginTime = nonTfmtDatetoLength(this.$route.query.BeginTime, 16);
  658. this.ClassName = this.$route.query.ClassName;
  659. this.getTableQuery();
  660. }
  661. },
  662. },
  663. }
  664. </script>
  665. <style scoped>
  666. @import "../assets/css/panel.css";
  667. .context {
  668. /* height: 770px; */
  669. overflow-y: scroll;
  670. display: block;
  671. margin: 0 auto;
  672. background-color: #fff !important;
  673. padding: 30px;
  674. }
  675. .panel-body {
  676. padding: 20px;
  677. background: #F0F2F5;
  678. }
  679. .change {
  680. width: 100%;
  681. overflow: hidden;
  682. display: block;
  683. margin: 0 auto;
  684. padding-top: 10px;
  685. padding-bottom: 10px;
  686. }
  687. .change button {
  688. float: left;
  689. }
  690. .change button.pull-right {
  691. float: right;
  692. }
  693. .dialogTitle {
  694. width: 100%;
  695. overflow: hidden;
  696. display: block;
  697. margin: 0 auto;
  698. color: #000000;
  699. font-size: 18px;
  700. text-align: center;
  701. }
  702. .dialogTitle em {
  703. float: none;
  704. font-style: normal;
  705. color: #3799FF;
  706. margin: 0;
  707. }
  708. /deep/ .el-transfer-panel__item .el-checkbox__input {
  709. left: 40px;
  710. }
  711. .dialogFooter {
  712. width: 90%;
  713. overflow: hidden;
  714. display: block;
  715. margin: 0 auto;
  716. margin-top: 10px;
  717. }
  718. .dialogFooter button {
  719. float: right;
  720. margin-left: 10px;
  721. }
  722. .dialogContent {
  723. width: 100%;
  724. overflow: hidden;
  725. display: block;
  726. margin: 0 auto;
  727. }
  728. .dialogContent .pull-left {
  729. width: 30%;
  730. float: left;
  731. }
  732. .dialogContent .pull-right {
  733. width: 70%;
  734. float: right;
  735. }
  736. .blueTitle {
  737. width: 200px;
  738. overflow: hidden;
  739. display: block;
  740. margin: 0 auto;
  741. margin-top: 10px;
  742. margin-bottom: 40px;
  743. background: #F0F2F5;
  744. border-radius: 19px;
  745. text-align: center;
  746. color: #3799FF;
  747. font-size: 16px;
  748. padding: 5px 24px;
  749. }
  750. .current {
  751. width: 158px;
  752. height: 23px;
  753. border-radius: 250px;
  754. text-align: center;
  755. background: #F0F2F5;
  756. color: #545454;
  757. font-size: 14px;
  758. padding: 3px 10px;
  759. margin-left: 20px;
  760. }
  761. /deep/ .el-checkbox__inner {
  762. left: -20px;
  763. }
  764. .viplist /deep/ .el-transfer__buttons button:nth-child(1) {
  765. display: none;
  766. }
  767. .lessons {
  768. padding: 1px 7px;
  769. border-radius: 250px;
  770. float: left;
  771. color: #000;
  772. }
  773. </style>