+
{{
analysislist.schoolRank
}}名
+ >名 区域排名:{{
+ analysislist.areaRank
+ }}名 区域成绩占比:{{
+ analysislist.areaProportion
+ }}
+
体测项目分值与全校、全市对比
diff --git a/src/views/system/kindergartenCheckReport/index.vue b/src/views/system/kindergartenCheckReport/index.vue
new file mode 100644
index 0000000..557a7d7
--- /dev/null
+++ b/src/views/system/kindergartenCheckReport/index.vue
@@ -0,0 +1,355 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.checkStatus == 0 ? "未审核" : "" }}
+ {{ scope.row.checkStatus == 1 ? "已审核" : "" }}
+
+
+
+
+ {{ parseTime(scope.row.checkTime, "{y}-{m}-{d}") }}
+
+
+
+
+ 预览
+ 审核
+ 下载
+
+
+
+
+
+
+
+
+
+
+
+ 未审批
+ 已审批
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/personalCheckReport/index.vue b/src/views/system/personalCheckReport/index.vue
new file mode 100644
index 0000000..4893d93
--- /dev/null
+++ b/src/views/system/personalCheckReport/index.vue
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.checkTime, "{y}-{m}-{d}") }}
+
+
+
+
+ {{ scope.row.checkStatus == 0 ? "未审核" : "" }}
+ {{ scope.row.checkStatus == 1 ? "已审核" : "" }}
+
+
+
+ 预览
+ 审核
+ 下载
+
+
+
+
+
+
+
+
+
+
+
+ 未审批
+ 已审批
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/physique/index.vue b/src/views/system/physique/index.vue
index 67e5158..60346c0 100644
--- a/src/views/system/physique/index.vue
+++ b/src/views/system/physique/index.vue
@@ -330,7 +330,6 @@ export default {
});
el.list = list1;
});
-
let seriesData = [];
let yindicator = [];
this.categoryScoreList.forEach((el) => {
@@ -371,9 +370,7 @@ export default {
});
}
});
-
var myChart = echarts.init(document.getElementById("chart"));
-
let option = {
//配置维度的最大值
color: "#D9A508",
diff --git a/src/views/system/studentInfo/index.vue b/src/views/system/studentInfo/index.vue
index 62cb017..5d9e32f 100644
--- a/src/views/system/studentInfo/index.vue
+++ b/src/views/system/studentInfo/index.vue
@@ -6,7 +6,7 @@
size="small"
:inline="true"
v-show="showSearch"
- label-width="68px"
+ label-width="90px"
>
-
删除
+
+ 导入
+
-
+
@@ -532,7 +539,6 @@
@pagination="kininfolist"
/>
-
选择完成
-
-
+
+
+
+
+ {{ upload.data.kindergartenName }}
+ {{ kindergartenName }}
+
+
+ {{ upload.data.className }}
+ {{ classinfoName }}
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+ 仅允许导入xls、xlsx格式文件。
+ 下载模板
+
+
+
+
+
+
+
@@ -896,6 +981,7 @@ import {
tKindergartenInfo,
listKindergartenInfo,
} from "@/api/system/kindergartenInfo";
+import { getToken } from "@/utils/auth";
import { listClassinfo } from "@/api/system/classinfo";
@@ -929,18 +1015,28 @@ export default {
//验证身份证
var isCardId = (rule, value, callback) => {
if (!value) {
- return new Error("请输入身份证号)");
+ callback();
} else {
- const reg =
- /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[0-2])(([0-2][1-9])|10|20|30|31)\d{3}(\d|X|x)$/;
- const card = reg.test(value);
- if (!card) {
- callback(new Error("身份证号格式有误!"));
- } else {
- callback();
+ if (!this.checkSpecialKey(value)) {
+ callback(new Error("不能含有特殊字符!!"));
}
}
};
+
+ // var isCardId = (rule, value, callback) => {
+ // if (!value) {
+ // callback();
+ // } else {
+ // const reg =
+ // /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[0-2])(([0-2][1-9])|10|20|30|31)\d{3}(\d|X|x)$/;
+ // const card = reg.test(value);
+ // if (!card) {
+ // callback(new Error("身份证号格式有误!"));
+ // } else {
+ // callback();
+ // }
+ // }
+ // };
return {
pickerOptions: {
disabledDate(time) {
@@ -952,9 +1048,26 @@ export default {
return time.getTime() > Date.now();
},
},
-
Data: "",
-
+ // 用户导入参数
+ upload: {
+ // 是否显示弹出层(用户导入)
+ open: false,
+ // 弹出层标题(用户导入)
+ title: "",
+ // 是否禁用上传
+ isUploading: false,
+ // 设置上传的请求头部
+ headers: { Authorization: "Bearer " + getToken() },
+ // 上传的地址
+ url: process.env.VUE_APP_BASE_API + "/system/studentInfo/importData",
+ data: {
+ kindergartenId: null,
+ classId: null,
+ kindergartenName: "请选择所属幼儿园",
+ className: "请选择所属班级",
+ },
+ },
//查看家长
parentStudentInfoList: [],
//民族
@@ -1076,6 +1189,12 @@ export default {
form2: {},
// 表单校验
rules: {
+ "upload.data.kindergartenId": [
+ { required: true, message: "所属幼儿园不能为空", trigger: "blur" },
+ ],
+ "upload.data.classId": [
+ { required: true, message: "所属班级不能为空", trigger: "blur" },
+ ],
kindergartenId: [
{ required: true, message: "所属幼儿园不能为空", trigger: "blur" },
],
@@ -1101,7 +1220,7 @@ export default {
{ required: true, message: "请选择日期", trigger: "change" },
],
cardNumber: [
- { required: true, message: "请输入证件号", trigger: "blur" },
+ { message: "请输入证件号", trigger: "blur" },
{ validator: isCardId, trigger: "blur" },
],
parentIdList: [
@@ -1143,6 +1262,8 @@ export default {
this.form.kindergartenId = row.id;
this.kindergartenid = row.id;
this.kindergartenName = row.kindergartenName;
+ this.upload.data.kindergartenName = row.kindergartenName;
+ this.upload.data.kindergartenId = row.id;
this.classinfoList2.kindergartenId = row.id;
this.kininnerVisible = false;
this.classinfoName = "请选择所属班级";
@@ -1549,6 +1670,8 @@ export default {
classinfoclick(item) {
console.log(item);
this.classinfoName = item.className;
+ this.upload.data.className = item.className;
+ this.upload.data.classId = item.id;
this.classinfoId = item.id;
this.form.classId = item.id;
this.form2.classId = item.id;
@@ -1764,6 +1887,78 @@ export default {
`studentInfo_${new Date().getTime()}.xlsx`
);
},
+ checkSpecialKey(str) {
+ let specialKey =
+ "[`~!#$^&*()=|{}':;'\\[\\].<>/?~!#¥……&*()——|{}【】‘;:”“'。,、?]‘'";
+ for (let i = 0; i < str.length; i++) {
+ if (specialKey.indexOf(str.substr(i, 1)) != -1) {
+ return false;
+ }
+ }
+ return true;
+ },
+ /** 导入按钮操作 */
+ handledata() {
+ this.upload.title = "用户导入";
+ this.upload.open = true;
+ },
+ // 提交上传文件
+ submitFileForm() {
+ if (this.upload.data.kindergartenId == null) {
+ this.$message.error("所属幼儿园不能为空");
+ } else if (this.upload.data.classId == null) {
+ this.$message.error("所属班级不能为空");
+ } else {
+ this.$refs.upload.submit();
+ }
+ },
+ // 文件上传成功处理
+ handleFileSuccess(response, file, fileList) {
+ this.upload.open = false;
+ this.upload.isUploading = false;
+ this.upload.data = {
+ kindergartenId: null,
+ classId: null,
+ kindergartenName: "请选择所属幼儿园",
+ className: "请选择所属班级",
+ };
+ this.form.kindergartenId = null;
+ this.classinfoId = null;
+ this.$refs.upload.clearFiles();
+ this.$alert(
+ "