From b6468ff3a30e87d2469a991d2cd6c32b4b56315a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 14 Apr 2023 14:46:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assembly/kindergarten.vue | 3 - src/views/assembly/student.vue | 10 - .../system/KindergartenPhysicalTest/index.vue | 3 - src/views/system/action/index.vue | 2 - src/views/system/area/index.vue | 3 - src/views/system/classconstitution/index.vue | 18 - src/views/system/classinfo/index.vue | 6 - src/views/system/comprehensive/index.vue | 162 +--- src/views/system/constitution/index.vue | 4 - src/views/system/dept/index.vue | 5 - src/views/system/development/index.vue | 2 - src/views/system/heightAndWeight/index.vue | 163 ++-- src/views/system/info/index.vue | 6 - src/views/system/itemCategory/index.vue | 12 - .../system/kindergartenEcharts/index.vue | 916 +++++++----------- src/views/system/kindergartenInfo/index.vue | 4 - src/views/system/motionInfo/index.vue | 2 - src/views/system/parentInfo/index.vue | 1 - src/views/system/personalecharts/index.vue | 12 - src/views/system/physique/index.vue | 6 - src/views/system/quality/index.vue | 3 - src/views/system/role/index.vue | 1 - src/views/system/shape/index.vue | 8 - src/views/system/studentInfo/index.vue | 622 +++--------- src/views/system/survey/index.vue | 252 ++--- src/views/system/teacherInfo/index.vue | 375 ++----- src/views/system/testItemCityScore/index.vue | 286 ++---- .../system/testItemCountryScore/index.vue | 381 ++------ src/views/system/testItemScore/index.vue | 791 ++++----------- src/views/system/testItems/index.vue | 25 - src/views/system/testScoreBatch/index.vue | 394 ++------ src/views/system/user/index.vue | 6 - src/views/system/user/profile/userAvatar.vue | 34 +- 33 files changed, 1311 insertions(+), 3207 deletions(-) diff --git a/src/views/assembly/kindergarten.vue b/src/views/assembly/kindergarten.vue index c1b2f45..079a9ba 100644 --- a/src/views/assembly/kindergarten.vue +++ b/src/views/assembly/kindergarten.vue @@ -369,7 +369,6 @@ export default { listKindergartenInfo(this.kqueryParams).then((response) => { this.kindergartenList = response.rows; this.total1 = response.total; - // console.log(this.kindergartenList); }); }, kinresetQuery() { @@ -389,7 +388,6 @@ export default { //用户权限 getRoleInfo().then((res) => { var user = res.data.roleKeys; - console.log(user); if (user.includes("enchou")) { return; } else if (user.includes("teacher")) { @@ -414,7 +412,6 @@ export default { listKindergartenInfo(this.kqueryParams).then((response) => { this.kindergartenList = response.rows; this.total1 = response.total; - // console.log(this.kindergartenList); }); }, // 表单重置 diff --git a/src/views/assembly/student.vue b/src/views/assembly/student.vue index ca8003b..3efbfeb 100644 --- a/src/views/assembly/student.vue +++ b/src/views/assembly/student.vue @@ -630,7 +630,6 @@ export default { listKindergartenInfo(this.kqueryParams).then((response) => { this.kindergartenList = response.rows; this.total1 = response.total; - // console.log(this.kindergartenList); }); }, //重置学生搜素 @@ -683,7 +682,6 @@ export default { ) { this.$emit("itemlist", this.studentId, this.batchCode); } - console.log(this.batchCode, this.studentId); }, //点击批次 batchCodeshowclick() { @@ -692,7 +690,6 @@ export default { }, //点击批次左边 batchCodeclick(row) { - console.log(row); this.batchCode = row.batchCode; this.batchName = row.batchName; this.batchCodeshow = false; @@ -744,12 +741,10 @@ export default { listStudentInfo(this.studentqueryParams).then((res) => { this.studentInfoList = res.rows; this.total3 = res.total; - // console.log(this.studentInfoList); }); }, //点击所属班级 classshowclick() { - console.log(this.classqueryParams); if ( this.classqueryParams.kindergartenId == "" || this.classqueryParams.kindergartenId == null @@ -759,7 +754,6 @@ export default { this.classshow = true; this.classinfo(); } - // console.log(this.classqueryParams); }, //学生关闭 studentcancel() { @@ -779,7 +773,6 @@ export default { }, //班级左侧点击 classclick(row) { - // console.log(row); this.className = row.className; this.classId = row.id; this.studentqueryParams.classId = row.id; @@ -812,7 +805,6 @@ export default { listClassinfo(this.classqueryParams).then((response) => { this.classinfoList = response.rows; this.total2 = response.total; - // console.log(this.classinfoList); }); }, @@ -828,7 +820,6 @@ export default { this.kindergartenId = res.data.kindergartenId; this.classqueryParams.kindergartenId = res.data.kindergartenId; this.kindergartenName = String(res.data.kindergartenName); - console.log(1, this.kindergartenName); return; } else if (user.includes("parent")) { return; @@ -838,7 +829,6 @@ export default { listKindergartenInfo(this.kqueryParams).then((response) => { this.kindergartenList = response.rows; this.total1 = response.total; - // console.log(this.kindergartenList); }); }, //批次关闭 diff --git a/src/views/system/KindergartenPhysicalTest/index.vue b/src/views/system/KindergartenPhysicalTest/index.vue index cec6c25..762e7eb 100644 --- a/src/views/system/KindergartenPhysicalTest/index.vue +++ b/src/views/system/KindergartenPhysicalTest/index.vue @@ -167,7 +167,6 @@ export default { this.analysisinfo(); }, kinbatlist(kindergartenId, batchCode) { - console.log(kindergartenId, batchCode); this.analysisqueryParams.kindergartenId = kindergartenId; this.analysisqueryParams.batchCode = batchCode; if (batchCode == "请选择批次") { @@ -182,7 +181,6 @@ export default { this.itemshow = false; } else { this.analysislist = res.data; - console.log(this.analysislist); this.options(); var app = {}; @@ -415,7 +413,6 @@ export default { }); //用户权限 getRoleInfo().then((res) => { - console.log(res); var user = res.data.roleKeys; if (user.includes("enchou")) { return; diff --git a/src/views/system/action/index.vue b/src/views/system/action/index.vue index d317f7d..3c11c74 100644 --- a/src/views/system/action/index.vue +++ b/src/views/system/action/index.vue @@ -283,7 +283,6 @@ export default { this.actionforeach(); this.itemshow = true; this.itemshow2 = false; - // console.log(this.actionlist); } }); }, @@ -303,7 +302,6 @@ export default { getList() { //用户权限 getRoleInfo().then((res) => { - console.log(res); this.classqueryParams.kindergartenId = res.data.kindergartenId; var user = res.data.roleKeys; if (user.includes("enchou")) { diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index d3fd36c..3e40e0b 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -283,7 +283,6 @@ export default { // e.code = Number(e.code); // }); this.areaList = this.handleTree(response.data); - console.log(this.areaList); this.loading = false; }); }, @@ -343,7 +342,6 @@ export default { this.form = response.data; this.open = true; this.title = "修改区域管理"; - console.log(this.form); }); }, /** 提交按钮 */ @@ -352,7 +350,6 @@ export default { this.form2.code = this.form.code; this.form2.sort = this.form.sort; this.form2.parentId = this.form.parentId; - console.log(this.form); if (this.areaList.length == 0) { this.form.parentId = 0; } diff --git a/src/views/system/classconstitution/index.vue b/src/views/system/classconstitution/index.vue index a11a0b7..5d07b16 100644 --- a/src/views/system/classconstitution/index.vue +++ b/src/views/system/classconstitution/index.vue @@ -325,7 +325,6 @@ export default { this.ClassListinfo(); }, kinbatlist(kindergartenId, batchCode, text) { - console.log(kindergartenId, batchCode, text); if (text == 1) { if (this.ClassListlist.kindergartenId != "") { this.classqueryParams.kindergartenId = ""; @@ -345,7 +344,6 @@ export default { }, ClassListinfo() { ClassList(this.ClassListlist).then((res) => { - console.log(res); var yseries = []; var name = ""; var names = []; @@ -371,11 +369,8 @@ export default { list.push(el.categoryId); }); }); - console.log(list); - this.categoryScoreList = res.data.categoryScoreList; let yname = []; - console.log(this.categoryScoreList); this.categoryScoreList.forEach((el) => { yname.push(el.className); var listname = list.map((e) => { @@ -389,7 +384,6 @@ export default { return num; }); this.listname = listname; - console.log(list); var list1 = list.map((e) => { var num = 0; var number = el.categoryScoreList.findIndex( @@ -402,13 +396,10 @@ export default { num = 0; return num; } - console.log(num); return num; }); el.list = list1; }); - console.log(this.categoryScoreList); - console.log(this.listname); for (var i = 0; i < this.listname.length; i++) { name = this.categoryScoreList[0].categoryScoreList[i].categoryName; @@ -426,19 +417,12 @@ export default { }, data: ydata, }; - console.log(ydata); yseries.push(obj); names.push(name); } - this.listname = []; - - console.log(yseries); - var myChart = echarts.init(document.getElementById("chart")); - var option; - const posList = [ "left", "right", @@ -573,7 +557,6 @@ export default { }, //班级左侧点击 classclick(row) { - // console.log(row); this.className = row.className; this.classId = row.id; this.ClassListlist.classId = row.id; @@ -599,7 +582,6 @@ export default { getList() { //用户权限 getRoleInfo().then((res) => { - console.log(res); var user = res.data.roleKeys; if (user.includes("enchou")) { return; diff --git a/src/views/system/classinfo/index.vue b/src/views/system/classinfo/index.vue index eb10b78..10aaaa4 100644 --- a/src/views/system/classinfo/index.vue +++ b/src/views/system/classinfo/index.vue @@ -385,9 +385,7 @@ export default { data() { // 验证手机号的规则 var checkMobile = (rule, value, cb) => { - console.log(value); var str = String(value); - console.log(str); // 验证手机号的正则表达式 const regMobile = /^1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}$/ @@ -395,7 +393,6 @@ export default { // /^(?:(?:\+|0086))?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[0-9]))\d{8}$/; const reg = /^(0[0-9]{2,3}\-)([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$/; const isTel = reg.test(value); - if (str.length == 11) { if (regMobile.test(str)) { return cb(); @@ -407,7 +404,6 @@ export default { } cb(new Error("请输入正确的联系电话")); }; - return { // 遮罩层 loading: true, @@ -512,7 +508,6 @@ export default { this.total2 = response.total; }); listClassinfo(this.queryParams).then((response) => { - console.log(response); this.classinfoList = response.rows; this.total = response.total; this.loading = false; @@ -600,7 +595,6 @@ export default { getClassinfo(id).then((response) => { response.data.phone = Number(response.data.phone); this.form = response.data; - console.log(this.form); this.kindergartenName = this.form.kindergartenName; this.open = true; this.title = "修改班级信息"; diff --git a/src/views/system/comprehensive/index.vue b/src/views/system/comprehensive/index.vue index 191b653..772feb1 100644 --- a/src/views/system/comprehensive/index.vue +++ b/src/views/system/comprehensive/index.vue @@ -1,33 +1,15 @@