12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424 |
- (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[20],{
- /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=script&lang=js&":
- /*!*************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/waikan-set/StudentSet.vue?vue&type=script&lang=js& ***!
- \*************************************************************************************************************************************************************************************************************************************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.concat */ "./node_modules/core-js/modules/es.array.concat.js");
- /* harmony import */ var core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.every */ "./node_modules/core-js/modules/es.array.every.js");
- /* harmony import */ var core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_1__);
- /* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.filter */ "./node_modules/core-js/modules/es.array.filter.js");
- /* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_2__);
- /* harmony import */ var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.for-each */ "./node_modules/core-js/modules/es.array.for-each.js");
- /* harmony import */ var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_3__);
- /* harmony import */ var core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.includes */ "./node_modules/core-js/modules/es.array.includes.js");
- /* harmony import */ var core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_4__);
- /* harmony import */ var core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.map */ "./node_modules/core-js/modules/es.array.map.js");
- /* harmony import */ var core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_5__);
- /* harmony import */ var core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.some */ "./node_modules/core-js/modules/es.array.some.js");
- /* harmony import */ var core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_6__);
- /* harmony import */ var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.splice */ "./node_modules/core-js/modules/es.array.splice.js");
- /* harmony import */ var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_7__);
- /* harmony import */ var core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.string.includes */ "./node_modules/core-js/modules/es.string.includes.js");
- /* harmony import */ var core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_8__);
- /* harmony import */ var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each */ "./node_modules/core-js/modules/web.dom-collections.for-each.js");
- /* harmony import */ var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_9__);
- /* harmony import */ var F_zcg_project_git_code_zsy_as2_web_nx_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
- /* harmony import */ var _api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../api/waikan/waikan-set.js */ "./src/api/waikan/waikan-set.js");
- /* harmony import */ var _lib_util_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../lib/util.js */ "./src/lib/util.js");
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- /* harmony default export */ __webpack_exports__["default"] = ({
- name: "StudentSet",
- components: {},
- filters: {},
- props: {},
- data: function data() {
- return {
- grade: 1,
- grades: [{
- value: 1,
- label: "高一"
- }, {
- value: 2,
- label: "高二"
- }, {
- value: 3,
- label: "高三"
- }],
- classes: [],
- classId: 0,
- studentName: "",
- students: [],
- classData: [],
- checkAll: false,
- checkAllDisabled: false,
- allStudents: [],
- studentData: [],
- productStudent: [],
- levelStudents: [],
- basicStudent: [],
- waikanStudent: [],
- hotspotStudent: [],
- selectedStudent: [],
- delStudent: [],
- uploadAddress: "",
- studentloading: true
- };
- },
- computed: {},
- watch: {},
- created: function created() {
- this.selectGrade(this.grade);
- },
- mounted: function mounted() {},
- methods: {
- // 选择年级
- selectGrade: function selectGrade(grade) {
- this.studentData = [];
- this.classId = 0;
- this.students = [];
- this.getClass(grade);
- this.initStudentSet(grade);
- },
- // 初始化数据
- initStudentSet: function initStudentSet(grade) {
- var _this = this;
- var params = {
- grade: grade
- };
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_11__["englishReadingSetInit"])(params).then(function (res) {
- _this.classData = res.data.class_students;
- _this.classData.forEach(function (i) {
- var _this$studentData;
- (_this$studentData = _this.studentData).push.apply(_this$studentData, Object(F_zcg_project_git_code_zsy_as2_web_nx_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__["default"])(i.students));
- _this.studentloading = false;
- i.students.forEach(function (k) {
- if (k.is_set) {
- _this.students.push(k.student_id);
- }
- });
- });
- _this.allStudents = _this.studentData;
- _this.productStudent = res.data.reading_level_students;
- _this.showProductStudent(_this.productStudent);
- _this.checkAll = _this.levelStudents.length === _this.studentData.length;
- _this.checkAllDisabled = _this.levelStudents.length === _this.studentData.length;
- });
- },
- //获取班级
- getClass: function getClass(grade) {
- var _this2 = this;
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_11__["getClasses"])({
- grade: grade
- }).then(function (res) {
- _this2.classes = res.data.class;
- });
- },
- // 展示产品学生
- showProductStudent: function showProductStudent(data, classId) {
- var _this3 = this;
- if (!data.legth) {
- this.basicStudent = [];
- this.waikanStudent = [];
- this.hotspotStudent = [];
- }
- this.levelStudents = [];
- if (this.classId) {
- data = JSON.parse(JSON.stringify(data));
- data.forEach(function (i) {
- return i.students = i.students.filter(function (k) {
- return k.class_id == classId;
- });
- });
- }
- data.forEach(function (i) {
- var _this3$levelStudents;
- switch (i.reading_level) {
- case 1:
- _this3.basicStudent = i.students;
- break;
- case 2:
- _this3.waikanStudent = i.students;
- break;
- case 3:
- _this3.hotspotStudent = i.students;
- break;
- }
- (_this3$levelStudents = _this3.levelStudents).push.apply(_this3$levelStudents, Object(F_zcg_project_git_code_zsy_as2_web_nx_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__["default"])(i.students));
- });
- },
- // 选择班级
- selectClass: function selectClass(classId) {
- var _this4 = this;
- if (classId) {
- this.classId = classId;
- this.classData.forEach(function (i) {
- if (classId == i.class_id) {
- _this4.studentData = i.students;
- }
- });
- this.showProductStudent(this.productStudent, classId);
- } else {
- this.classId = 0;
- this.studentData = this.allStudents;
- this.showProductStudent(this.productStudent);
- }
- this.students = this.students.filter(function (i) {
- return !_this4.selectedStudent.some(function (k) {
- return k.student_id == i;
- });
- });
- this.checkAll = this.levelStudents.length === this.studentData.length;
- this.checkAllDisabled = this.levelStudents.length === this.studentData.length;
- this.selectedStudent = [];
- },
- // 搜索
- search: function search() {
- var _this5 = this;
- if (!this.studentName) {
- this.studentData = this.allStudents;
- }
- this.studentData = this.studentData.filter(function (i) {
- return i.realname.includes(_this5.studentName);
- });
- },
- // 选择学生
- selectStudent: function selectStudent(checked, val) {
- var _this6 = this;
- if (checked) {
- this.selectedStudent.push({
- class_id: val.class_id,
- realname: val.realname,
- student_id: val.student_id
- });
- } else {
- this.selectedStudent = this.selectedStudent.filter(function (item) {
- return item.student_id != val.student_id;
- });
- }
- this.checkAll = this.studentData.every(function (item) {
- var flag = _this6.students.includes(item.student_id);
- return flag ? true : false;
- });
- },
- // 全选学生
- allSelectStudent: function allSelectStudent(val) {
- var _this7 = this;
- var arr = [];
- if (this.classId) {
- this.classData.forEach(function (i) {
- if (_this7.classId == i.class_id) {
- arr = i.students;
- }
- });
- } else {
- arr = this.allStudents;
- }
- arr.forEach(function (i) {
- if (val) {
- if (_this7.students.includes(i.student_id)) return;
- _this7.students.push(i.student_id);
- _this7.selectedStudent.push(i);
- } else {
- _this7.students = _this7.students.filter(function (i) {
- return !_this7.selectedStudent.some(function (k) {
- return k.student_id == i;
- });
- });
- _this7.selectedStudent = [];
- }
- });
- },
- // 选择产品
- selectProduct: function selectProduct(type) {
- var _this8 = this;
- this.productStudent.forEach(function (i) {
- if (i.reading_level == type) {
- var _i$students;
- (_i$students = i.students).push.apply(_i$students, Object(F_zcg_project_git_code_zsy_as2_web_nx_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__["default"])(_this8.selectedStudent));
- }
- });
- this.showProductStudent(this.productStudent, this.classId);
- this.classData.forEach(function (i) {
- _this8.selectedStudent.forEach(function (j) {
- if (j.class_id == i.class_id) {
- i.students.forEach(function (k) {
- if (j.student_id == k.student_id) {
- k.is_set = true;
- }
- });
- }
- });
- });
- this.delStudent = this.delStudent.filter(function (item) {
- return !_this8.selectedStudent.some(function (k) {
- return k.student_id == item;
- });
- });
- this.selectedStudent = [];
- this.checkAll = this.levelStudents.length === this.studentData.length;
- this.checkAllDisabled = this.levelStudents.length === this.studentData.length;
- },
- // 移除学生
- removeStudent: function removeStudent(val) {
- var _this9 = this;
- this.checkAllDisabled = this.selectedStudent.length === this.studentData.length;
- this.checkAll = this.selectedStudent.length === this.studentData.length;
- this.productStudent.forEach(function (i) {
- i.students.forEach(function (k, index, arr) {
- if (k.student_id == val.student_id) {
- arr.splice(index, 1);
- }
- });
- });
- this.showProductStudent(this.productStudent, this.classId);
- this.students.forEach(function (i, index) {
- if (val.student_id == i) {
- _this9.students.splice(index, 1);
- }
- });
- this.classData.forEach(function (i) {
- if (val.class_id == i.class_id) {
- i.students.forEach(function (k) {
- if (val.student_id == k.student_id) {
- k.is_set = false;
- }
- });
- }
- });
- this.delStudent.push(val.student_id);
- },
- // 上传成绩
- upload: function upload(file) {
- var _this10 = this;
- var data = {
- grade: this.grade,
- file: file.file
- };
- var params = Object(_lib_util_js__WEBPACK_IMPORTED_MODULE_12__["getFormData"])(data);
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_11__["studentImport"])(params).then(function (res) {
- if (res.status == 0) {
- _this10.$confirm(res.msg, "错误提示", {
- showCancelButton: false,
- type: "error",
- callback: function callback() {}
- });
- }
- if (res.status == 1) {
- _this10.$confirm("\u5171\u8BA1\u4E0A\u4F20".concat(res.data.excel_total, "\u4E2A\u5B66\u751F\u6570\u636E\uFF0C\u83B7\u53D6\u5230\u6709\u6548\u5B66\u751F\u6570\u636E").concat(res.data.student_total, "\u4E2A<br/>\u9875\u9762\u6570\u636E\u5DF2\u66F4\u65B0\uFF0C\u8BF7\u7EE7\u7EED\u64CD\u4F5C\uFF01"), "操作提示", {
- dangerouslyUseHTMLString: true,
- showCancelButton: false,
- type: "success",
- callback: function callback() {}
- });
- var uploadStudentData = [];
- res.data.class_students.forEach(function (i) {
- uploadStudentData.push.apply(uploadStudentData, Object(F_zcg_project_git_code_zsy_as2_web_nx_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_10__["default"])(i.students));
- });
- _this10.allStudents.forEach(function (i) {
- uploadStudentData.forEach(function (k) {
- if (k.student_id == i.student_id) {
- i.is_set = true;
- }
- });
- });
- uploadStudentData.forEach(function (i) {
- if (!_this10.students.includes(i.student_id)) _this10.students.push(i.student_id);
- });
- var uploadProductStudent = res.data.reading_level_students;
- var studentId = uploadProductStudent.map(function (item) {
- var arr;
- item.students.forEach(function (i) {
- arr = i.student_id;
- });
- return arr;
- });
- _this10.productStudent.forEach(function (item) {
- var arr = [];
- item.students.forEach(function (i) {
- if (!studentId.includes(i.student_id)) {
- arr.push(i);
- }
- });
- item.students = arr;
- });
- _this10.productStudent.forEach(function (i) {
- uploadProductStudent.forEach(function (k) {
- if (i.reading_level == k.reading_level) {
- if (!i.students.length) {
- i.students = k.students;
- } else {
- k.students.forEach(function (m) {
- var nId = i.students.filter(function (n) {
- return n.student_id == m.student_id;
- });
- if (!nId.length) {
- i.students.push(m);
- }
- });
- }
- }
- });
- });
- _this10.selectClass();
- }
- if (res.status == 2) {
- _this10.$confirm("未获取到有效学生数据,请检查表格数据是否有误!", "错误提示", {
- showCancelButton: false,
- type: "error",
- callback: function callback() {}
- });
- }
- if (res.status == 3) {
- _this10.$confirm("上传数据与当前年级不符!", "错误提示", {
- showCancelButton: false,
- type: "error",
- callback: function callback() {}
- });
- }
- });
- },
- setData: function setData() {},
- // 下载模板
- download: function download() {
- if (false) {} else {
- location.href = "/assets/data/导入成绩模版.xlsx";
- }
- },
- // 保存
- preserve: function preserve() {
- var _this11 = this;
- var studentsProductType = this.productStudent.map(function (item) {
- return {
- reading_level: item.reading_level,
- students: item.students.map(function (k) {
- return k.student_id;
- })
- };
- });
- var ban = studentsProductType.every(function (item) {
- return item.students.length ? false : true;
- });
- if (ban) {
- this.$message.error("请设置学生数据!");
- return;
- }
- var loading = this.$loading({
- lock: true,
- text: "数据保存中......",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.5)",
- customClass: "waikan-loading"
- });
- var delObj = {
- reading_level: 0,
- students: this.delStudent
- };
- studentsProductType.unshift(delObj);
- var params = {
- grade: this.grade,
- students_product_type: studentsProductType
- };
- console.log(params);
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_11__["EnglishReadingStudentSettingSave"])(params).then(function (res) {
- loading.close();
- if (res.status == 1) {
- _this11.$alert("保存成功!", {
- confirmButtonText: "确定",
- callback: function callback() {
- _this11.$router.push("WaiKanGenerate");
- }
- });
- }
- });
- }
- }
- });
- /***/ }),
- /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"305c61fc-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=template&id=2f39701e&":
- /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"305c61fc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/waikan-set/StudentSet.vue?vue&type=template&id=2f39701e& ***!
- \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! exports provided: render, staticRenderFns */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
- var render = function() {
- var _vm = this
- var _h = _vm.$createElement
- var _c = _vm._self._c || _h
- return _c("div", { staticClass: "student-set set-page" }, [
- _c("h1", [_vm._v("外刊宝-学生设置")]),
- _c(
- "div",
- { staticClass: "top-operation" },
- [
- _c(
- "el-select",
- {
- attrs: { size: "medium" },
- on: { change: _vm.selectGrade },
- model: {
- value: _vm.grade,
- callback: function($$v) {
- _vm.grade = $$v
- },
- expression: "grade"
- }
- },
- _vm._l(_vm.grades, function(item) {
- return _c("el-option", {
- key: item.value,
- attrs: { label: item.label, value: item.value }
- })
- }),
- 1
- ),
- _c(
- "el-upload",
- {
- attrs: {
- "show-file-list": false,
- action: "",
- "http-request": _vm.upload
- }
- },
- [_c("div", { staticClass: "upload btn" }, [_vm._v(" 上传成绩 ")])]
- ),
- _c("div", { staticClass: "download", on: { click: _vm.download } }, [
- _vm._m(0),
- _vm._v(" 下载模版 ")
- ]),
- _c("span", { staticClass: "tips" }, [
- _vm._v(
- " 提示:上传文件(选择最近一次考试成绩,系统将根据最近一次考试成绩,推荐不同的产品) "
- )
- ]),
- _c(
- "div",
- { staticClass: "preserve btn", on: { click: _vm.preserve } },
- [_vm._v("保存")]
- )
- ],
- 1
- ),
- _c("div", { staticClass: "panel-wrap" }, [
- _c("div", { staticClass: "left-panel panel" }, [
- _c("p", { staticClass: "panel-title" }, [_vm._v("班级")]),
- _c("div", { staticClass: "panel-content" }, [
- _c(
- "ul",
- { staticClass: "class-list" },
- [
- _c(
- "li",
- {
- staticClass: "select-all",
- class: [_vm.classId == 0 ? "active" : ""],
- on: {
- click: function($event) {
- return _vm.selectClass()
- }
- }
- },
- [_vm._v(" 全选 ")]
- ),
- _vm._l(_vm.classes, function(item) {
- return _c(
- "li",
- {
- key: item.class_id,
- class: [_vm.classId == item.class_id ? "active" : ""],
- on: {
- click: function($event) {
- return _vm.selectClass(item.class_id)
- }
- }
- },
- [_vm._v(" " + _vm._s(item.class_name) + " ")]
- )
- })
- ],
- 2
- )
- ])
- ]),
- _c("div", { staticClass: "middle-panel panel" }, [
- _c(
- "div",
- { staticClass: "operation-bar" },
- [
- _c(
- "el-checkbox",
- {
- attrs: { disabled: _vm.checkAllDisabled },
- on: { change: _vm.allSelectStudent },
- model: {
- value: _vm.checkAll,
- callback: function($$v) {
- _vm.checkAll = $$v
- },
- expression: "checkAll"
- }
- },
- [_vm._v("全选")]
- ),
- _c("el-input", {
- attrs: { size: "small" },
- model: {
- value: _vm.studentName,
- callback: function($$v) {
- _vm.studentName = typeof $$v === "string" ? $$v.trim() : $$v
- },
- expression: "studentName"
- }
- }),
- _c(
- "div",
- { staticClass: "search btn", on: { click: _vm.search } },
- [_vm._v("搜索")]
- ),
- _c(
- "el-dropdown",
- {
- attrs: { trigger: "click" },
- on: { command: _vm.selectProduct }
- },
- [
- _c(
- "el-button",
- {
- attrs: {
- disabled: !_vm.selectedStudent.length ? true : false
- }
- },
- [
- _vm._v(" 选择档次"),
- _c("i", {
- staticClass: "el-icon-arrow-right el-icon--right"
- })
- ]
- ),
- _c(
- "el-dropdown-menu",
- { attrs: { slot: "dropdown" }, slot: "dropdown" },
- [
- _c("el-dropdown-item", { attrs: { command: 1 } }, [
- _vm._v("基础")
- ]),
- _c("el-dropdown-item", { attrs: { command: 2 } }, [
- _vm._v("提升")
- ]),
- _c("el-dropdown-item", { attrs: { command: 3 } }, [
- _vm._v("培优")
- ])
- ],
- 1
- )
- ],
- 1
- )
- ],
- 1
- ),
- _c(
- "div",
- {
- directives: [
- {
- name: "loading",
- rawName: "v-loading",
- value: _vm.studentloading,
- expression: "studentloading"
- }
- ],
- staticClass: "panel-content"
- },
- [
- _c(
- "el-checkbox-group",
- {
- model: {
- value: _vm.students,
- callback: function($$v) {
- _vm.students = $$v
- },
- expression: "students"
- }
- },
- _vm._l(_vm.studentData, function(item) {
- return _c(
- "el-checkbox",
- {
- key: item.student_id,
- attrs: {
- label: item.student_id,
- disabled: item.is_set ? true : false
- },
- on: {
- change: function($event) {
- return _vm.selectStudent($event, item)
- }
- }
- },
- [_vm._v(_vm._s(item.realname))]
- )
- }),
- 1
- )
- ],
- 1
- )
- ]),
- _c("div", { staticClass: "right-panel panel" }, [
- _vm._m(1),
- _c("div", { staticClass: "panel-content" }, [
- _c(
- "ul",
- { staticClass: "student-list" },
- _vm._l(_vm.basicStudent, function(item) {
- return _c("li", { key: item.student_id }, [
- _vm._v(" " + _vm._s(item.realname)),
- _c("i", {
- on: {
- click: function($event) {
- return _vm.removeStudent(item)
- }
- }
- })
- ])
- }),
- 0
- ),
- _c(
- "ul",
- { staticClass: "student-list" },
- _vm._l(_vm.waikanStudent, function(item) {
- return _c("li", { key: item.student_id }, [
- _vm._v(" " + _vm._s(item.realname)),
- _c("i", {
- on: {
- click: function($event) {
- return _vm.removeStudent(item)
- }
- }
- })
- ])
- }),
- 0
- ),
- _c(
- "ul",
- { staticClass: "student-list" },
- _vm._l(_vm.hotspotStudent, function(item) {
- return _c("li", { key: item.student_id }, [
- _vm._v(" " + _vm._s(item.realname)),
- _c("i", {
- on: {
- click: function($event) {
- return _vm.removeStudent(item)
- }
- }
- })
- ])
- }),
- 0
- )
- ])
- ])
- ])
- ])
- }
- var staticRenderFns = [
- function() {
- var _vm = this
- var _h = _vm.$createElement
- var _c = _vm._self._c || _h
- return _c("div", { staticClass: "icon" }, [
- _c("img", {
- staticClass: "icon-1",
- attrs: { src: __webpack_require__(/*! ../../assets/img/waikan/u1805.svg */ "./src/assets/img/waikan/u1805.svg") }
- }),
- _c("img", {
- staticClass: "icon-2",
- attrs: { src: __webpack_require__(/*! ../../assets/img/waikan/u1806.svg */ "./src/assets/img/waikan/u1806.svg") }
- })
- ])
- },
- function() {
- var _vm = this
- var _h = _vm.$createElement
- var _c = _vm._self._c || _h
- return _c("div", { staticClass: "panel-title" }, [
- _c("p", { staticClass: "product-title" }, [_vm._v("基础(档次一)")]),
- _c("p", { staticClass: "product-title" }, [_vm._v("提升(档次二)")]),
- _c("p", { staticClass: "product-title" }, [_vm._v("培优(档次三)")])
- ])
- }
- ]
- render._withStripped = true
- /***/ }),
- /***/ "./node_modules/core-js/internals/correct-is-regexp-logic.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/internals/correct-is-regexp-logic.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js");
- var MATCH = wellKnownSymbol('match');
- module.exports = function (METHOD_NAME) {
- var regexp = /./;
- try {
- '/./'[METHOD_NAME](regexp);
- } catch (e) {
- try {
- regexp[MATCH] = false;
- return '/./'[METHOD_NAME](regexp);
- } catch (f) { /* empty */ }
- } return false;
- };
- /***/ }),
- /***/ "./node_modules/core-js/internals/not-a-regexp.js":
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/not-a-regexp.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/core-js/internals/is-regexp.js");
- module.exports = function (it) {
- if (isRegExp(it)) {
- throw TypeError("The method doesn't accept regular expressions");
- } return it;
- };
- /***/ }),
- /***/ "./node_modules/core-js/modules/es.array.every.js":
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.every.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js");
- var $every = __webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").every;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js");
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "./node_modules/core-js/internals/array-method-uses-to-length.js");
- var STRICT_METHOD = arrayMethodIsStrict('every');
- var USES_TO_LENGTH = arrayMethodUsesToLength('every');
- // `Array.prototype.every` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
- $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
- every: function every(callbackfn /* , thisArg */) {
- return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /***/ "./node_modules/core-js/modules/es.array.map.js":
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.map.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js");
- var $map = __webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").map;
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js");
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "./node_modules/core-js/internals/array-method-uses-to-length.js");
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
- // FF49- issue
- var USES_TO_LENGTH = arrayMethodUsesToLength('map');
- // `Array.prototype.map` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
- map: function map(callbackfn /* , thisArg */) {
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /***/ "./node_modules/core-js/modules/es.array.some.js":
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.some.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js");
- var $some = __webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").some;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js");
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "./node_modules/core-js/internals/array-method-uses-to-length.js");
- var STRICT_METHOD = arrayMethodIsStrict('some');
- var USES_TO_LENGTH = arrayMethodUsesToLength('some');
- // `Array.prototype.some` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
- $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
- some: function some(callbackfn /* , thisArg */) {
- return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /***/ "./node_modules/core-js/modules/es.array.splice.js":
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.splice.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js");
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js");
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ "./node_modules/core-js/internals/to-integer.js");
- var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js");
- var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js");
- var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js");
- var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js");
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js");
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "./node_modules/core-js/internals/array-method-uses-to-length.js");
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
- var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });
- var max = Math.max;
- var min = Math.min;
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
- var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
- // `Array.prototype.splice` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.splice
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
- splice: function splice(start, deleteCount /* , ...items */) {
- var O = toObject(this);
- var len = toLength(O.length);
- var actualStart = toAbsoluteIndex(start, len);
- var argumentsLength = arguments.length;
- var insertCount, actualDeleteCount, A, k, from, to;
- if (argumentsLength === 0) {
- insertCount = actualDeleteCount = 0;
- } else if (argumentsLength === 1) {
- insertCount = 0;
- actualDeleteCount = len - actualStart;
- } else {
- insertCount = argumentsLength - 2;
- actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
- }
- if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
- throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
- }
- A = arraySpeciesCreate(O, actualDeleteCount);
- for (k = 0; k < actualDeleteCount; k++) {
- from = actualStart + k;
- if (from in O) createProperty(A, k, O[from]);
- }
- A.length = actualDeleteCount;
- if (insertCount < actualDeleteCount) {
- for (k = actualStart; k < len - actualDeleteCount; k++) {
- from = k + actualDeleteCount;
- to = k + insertCount;
- if (from in O) O[to] = O[from];
- else delete O[to];
- }
- for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
- } else if (insertCount > actualDeleteCount) {
- for (k = len - actualDeleteCount; k > actualStart; k--) {
- from = k + actualDeleteCount - 1;
- to = k + insertCount - 1;
- if (from in O) O[to] = O[from];
- else delete O[to];
- }
- }
- for (k = 0; k < insertCount; k++) {
- O[k + actualStart] = arguments[k + 2];
- }
- O.length = len - actualDeleteCount + insertCount;
- return A;
- }
- });
- /***/ }),
- /***/ "./node_modules/core-js/modules/es.string.includes.js":
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.includes.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js");
- var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "./node_modules/core-js/internals/not-a-regexp.js");
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js");
- var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "./node_modules/core-js/internals/correct-is-regexp-logic.js");
- // `String.prototype.includes` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.includes
- $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
- includes: function includes(searchString /* , position = 0 */) {
- return !!~String(requireObjectCoercible(this))
- .indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less&":
- /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--10-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less& ***!
- \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // Imports
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
- var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js");
- var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! ../../assets/img/waikan/u1769.svg */ "./src/assets/img/waikan/u1769.svg");
- exports = ___CSS_LOADER_API_IMPORT___(false);
- var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
- // Module
- exports.push([module.i, ".student-set .top-operation {\n margin: 30px 0 20px;\n display: flex;\n align-items: center;\n position: relative;\n}\n.student-set .top-operation .el-select {\n width: 110px;\n margin-right: 20px;\n}\n.student-set .top-operation .upload {\n width: 80px;\n height: 34px;\n line-height: 34px;\n margin-right: 10px;\n}\n.student-set .top-operation .download {\n display: flex;\n margin-right: 15px;\n color: #0079fe;\n cursor: pointer;\n}\n.student-set .top-operation .download .icon {\n position: relative;\n margin-top: -3px;\n margin-right: 3px;\n}\n.student-set .top-operation .download .icon .icon-1 {\n width: 15px;\n height: 10px;\n}\n.student-set .top-operation .download .icon .icon-2 {\n height: 10px;\n position: absolute;\n top: 7px;\n left: 5px;\n}\n.student-set .top-operation .tips {\n margin: 0;\n}\n.student-set .top-operation .preserve {\n width: 60px;\n height: 30px;\n line-height: 30px;\n position: absolute;\n right: 0;\n}\n.student-set .panel-wrap {\n display: flex;\n justify-content: space-between;\n}\n.student-set .panel-wrap .panel {\n height: 600px;\n padding: 10px 0;\n border: 1px solid #888;\n}\n.student-set .panel-wrap .panel .panel-title {\n font-weight: bold;\n margin-bottom: 15px;\n}\n.student-set .panel-wrap .left-panel {\n width: 180px;\n}\n.student-set .panel-wrap .left-panel .panel-title {\n padding-left: 10px;\n}\n.student-set .panel-wrap .left-panel .panel-content {\n height: 548px;\n padding: 0 10px;\n overflow: auto;\n}\n.student-set .panel-wrap .left-panel .panel-content .class-list {\n text-align: center;\n}\n.student-set .panel-wrap .left-panel .panel-content .class-list li {\n line-height: 30px;\n cursor: pointer;\n}\n.student-set .panel-wrap .left-panel .panel-content .class-list li.active {\n color: #fff;\n background-color: #44be86;\n}\n.student-set .panel-wrap .left-panel .panel-content .class-list .select-all.active {\n background-color: #fff;\n color: #44be86;\n font-weight: bold;\n}\n.student-set .panel-wrap .middle-panel {\n width: 455px;\n}\n.student-set .panel-wrap .middle-panel .operation-bar {\n display: flex;\n align-items: center;\n position: relative;\n padding: 0 10px;\n margin-bottom: 15px;\n}\n.student-set .panel-wrap .middle-panel .el-input {\n width: 145px;\n margin-left: 10px;\n margin-right: 5px;\n}\n.student-set .panel-wrap .middle-panel .el-input .el-input__inner {\n height: 30px;\n line-height: 30px;\n}\n.student-set .panel-wrap .middle-panel .search {\n width: 60px;\n height: 30px;\n line-height: 30px;\n}\n.student-set .panel-wrap .middle-panel .el-dropdown {\n position: absolute;\n right: 10px;\n}\n.student-set .panel-wrap .middle-panel .el-dropdown .el-button {\n width: 80px;\n height: 30px;\n padding: 0;\n padding-left: 5px;\n}\n.student-set .panel-wrap .middle-panel .el-dropdown .el-button i {\n margin: 0;\n}\n.student-set .panel-wrap .middle-panel .panel-content {\n height: 532px;\n padding: 0 10px;\n overflow: auto;\n}\n.student-set .panel-wrap .middle-panel .el-checkbox-group .el-checkbox {\n margin-bottom: 15px;\n margin-right: 20px;\n}\n.student-set .panel-wrap .right-panel {\n width: 545px;\n}\n.student-set .panel-wrap .right-panel .panel-title {\n display: flex;\n justify-content: space-around;\n}\n.student-set .panel-wrap .right-panel .panel-content {\n height: 546px;\n padding: 0 10px;\n display: flex;\n justify-content: space-between;\n overflow: auto;\n}\n.student-set .panel-wrap .right-panel .student-list {\n width: 160px;\n}\n.student-set .panel-wrap .right-panel .student-list li {\n width: 160px;\n height: 24px;\n line-height: 24px;\n background-color: #ccc;\n border-radius: 3px;\n padding-left: 10px;\n margin-bottom: 5px;\n position: relative;\n}\n.student-set .panel-wrap .right-panel .student-list li i {\n display: inline-block;\n width: 10px;\n height: 10px;\n position: absolute;\n top: 7px;\n right: 10px;\n background: #ccc url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;\n cursor: pointer;\n}\n.student-set .panel-wrap .right-panel .student-list li i:hover {\n opacity: 0.5;\n}\n", ""]);
- // Exports
- module.exports = exports;
- /***/ }),
- /***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less&":
- /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/vue-style-loader??ref--10-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--10-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less& ***!
- \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // style-loader: Adds some css to the DOM by adding a <style> tag
- // load the styles
- var content = __webpack_require__(/*! !../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./StudentSet.vue?vue&type=style&index=0&lang=less& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less&");
- if(typeof content === 'string') content = [[module.i, content, '']];
- if(content.locals) module.exports = content.locals;
- // add the styles to the DOM
- var add = __webpack_require__(/*! ../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js").default
- var update = add("16ca50a0", content, false, {"sourceMap":false,"shadowMode":false});
- // Hot Module Replacement
- if(false) {}
- /***/ }),
- /***/ "./src/api/waikan/waikan-set.js":
- /*!**************************************!*\
- !*** ./src/api/waikan/waikan-set.js ***!
- \**************************************/
- /*! exports provided: getTextbookModuleUnit, getModuleAndUnit, getUnitByModuleId, getClasses, getBasicTopics, getHotTopics, getSubjectContext, saveEnglishReading, getSmartTypeStudents, englishReadingSetInit, EnglishReadingStudentSettingSave, studentImport */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getTextbookModuleUnit", function() { return getTextbookModuleUnit; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getModuleAndUnit", function() { return getModuleAndUnit; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getUnitByModuleId", function() { return getUnitByModuleId; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getClasses", function() { return getClasses; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getBasicTopics", function() { return getBasicTopics; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getHotTopics", function() { return getHotTopics; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSubjectContext", function() { return getSubjectContext; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveEnglishReading", function() { return saveEnglishReading; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSmartTypeStudents", function() { return getSmartTypeStudents; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "englishReadingSetInit", function() { return englishReadingSetInit; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EnglishReadingStudentSettingSave", function() { return EnglishReadingStudentSettingSave; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "studentImport", function() { return studentImport; });
- /* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../http */ "./src/api/http.js");
- // 获取 版本 模块 单元
- function getTextbookModuleUnit() {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingTextbookModuleUnit");
- } // 根据版本获取模块和单元
- function getModuleAndUnit(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxNewGetModuleAndUnit", data);
- } // 根据模块获取单元
- function getUnitByModuleId(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxNewGetUnitByModuleId", data);
- } // 获取班级数据
- function getClasses(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingClasses", data);
- } // 获取基础选题数据
- function getBasicTopics(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingBasicTopics", data);
- } // 获取热点选题数据
- function getHotTopics(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingHotTopics", data);
- } // 获取主题语境数据
- function getSubjectContext() {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingSubjectContext");
- } // 生成外刊宝保存接口
- function saveEnglishReading(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxNewSaveEnglishReading", data);
- } // 获取学生数据
- function getSmartTypeStudents(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxSmartTypeStudents", data);
- } // 学生设置数据初始化
- function englishReadingSetInit(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxEnglishReadingSetInit", data);
- } // 学生设置保存
- function EnglishReadingStudentSettingSave(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxEnglishReadingStudentSettingSave", data);
- } // 学生设置上传成绩
- function studentImport(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/englishReadingStudentImport", data);
- }
- /***/ }),
- /***/ "./src/assets/img/waikan/u1769.svg":
- /*!*****************************************!*\
- !*** ./src/assets/img/waikan/u1769.svg ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__.p + "img/u1769.b32653ee.svg";
- /***/ }),
- /***/ "./src/assets/img/waikan/u1805.svg":
- /*!*****************************************!*\
- !*** ./src/assets/img/waikan/u1805.svg ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__.p + "img/u1805.20a1f072.svg";
- /***/ }),
- /***/ "./src/assets/img/waikan/u1806.svg":
- /*!*****************************************!*\
- !*** ./src/assets/img/waikan/u1806.svg ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__.p + "img/u1806.3682ab06.svg";
- /***/ }),
- /***/ "./src/views/waikan-set/StudentSet.vue":
- /*!*********************************************!*\
- !*** ./src/views/waikan-set/StudentSet.vue ***!
- \*********************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _StudentSet_vue_vue_type_template_id_2f39701e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./StudentSet.vue?vue&type=template&id=2f39701e& */ "./src/views/waikan-set/StudentSet.vue?vue&type=template&id=2f39701e&");
- /* harmony import */ var _StudentSet_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./StudentSet.vue?vue&type=script&lang=js& */ "./src/views/waikan-set/StudentSet.vue?vue&type=script&lang=js&");
- /* empty/unused harmony star reexport *//* harmony import */ var _StudentSet_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./StudentSet.vue?vue&type=style&index=0&lang=less& */ "./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less&");
- /* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
- /* normalize component */
- var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
- _StudentSet_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
- _StudentSet_vue_vue_type_template_id_2f39701e___WEBPACK_IMPORTED_MODULE_0__["render"],
- _StudentSet_vue_vue_type_template_id_2f39701e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
- false,
- null,
- null,
- null
-
- )
- /* hot reload */
- if (false) { var api; }
- component.options.__file = "src/views/waikan-set/StudentSet.vue"
- /* harmony default export */ __webpack_exports__["default"] = (component.exports);
- /***/ }),
- /***/ "./src/views/waikan-set/StudentSet.vue?vue&type=script&lang=js&":
- /*!**********************************************************************!*\
- !*** ./src/views/waikan-set/StudentSet.vue?vue&type=script&lang=js& ***!
- \**********************************************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/babel-loader/lib!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./StudentSet.vue?vue&type=script&lang=js& */ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=script&lang=js&");
- /* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
- /***/ }),
- /***/ "./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less&":
- /*!*******************************************************************************!*\
- !*** ./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less& ***!
- \*******************************************************************************/
- /*! no static exports found */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-style-loader??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./StudentSet.vue?vue&type=style&index=0&lang=less& */ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=style&index=0&lang=less&");
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /* harmony default export */ __webpack_exports__["default"] = (_node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "./src/views/waikan-set/StudentSet.vue?vue&type=template&id=2f39701e&":
- /*!****************************************************************************!*\
- !*** ./src/views/waikan-set/StudentSet.vue?vue&type=template&id=2f39701e& ***!
- \****************************************************************************/
- /*! exports provided: render, staticRenderFns */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_305c61fc_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_template_id_2f39701e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"305c61fc-vue-loader-template"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./StudentSet.vue?vue&type=template&id=2f39701e& */ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"305c61fc-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/StudentSet.vue?vue&type=template&id=2f39701e&");
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_305c61fc_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_template_id_2f39701e___WEBPACK_IMPORTED_MODULE_0__["render"]; });
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_305c61fc_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_StudentSet_vue_vue_type_template_id_2f39701e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
- /***/ })
- }]);
- //# sourceMappingURL=20.js.map
|