diff --git a/src/api/system/testItemScore.js b/src/api/system/testItemScore.js index 9a899ff..d932d80 100644 --- a/src/api/system/testItemScore.js +++ b/src/api/system/testItemScore.js @@ -56,6 +56,14 @@ export function getTestItemScore(query) { }) } +// 查询个人成绩 +// export function getAllTestItemScoreInfo(id) { +// return request({ +// url: 'system/testItemScore/getAllTestItemScoreInfo' + id, +// method: 'get' +// }) +// } + // 新增个人成绩录入管理 export function addTestItemScore(data) { return request({ @@ -86,6 +94,6 @@ export function getAllTestItemScoreInfo(query) { return request({ url: '/system/testItemScore/getAllTestItemScoreInfo', method: 'get', - params: query + params: query, }) } \ No newline at end of file diff --git a/src/views/system/classinfo/index.vue b/src/views/system/classinfo/index.vue index 60e5ee2..fd38ee3 100644 --- a/src/views/system/classinfo/index.vue +++ b/src/views/system/classinfo/index.vue @@ -389,9 +389,11 @@ export default { console.log(str); // 验证手机号的正则表达式 const regMobile = - /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/; + /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; + // /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; + // /^(?:(?:\+|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(str); + const isTel = reg.test(value); if (str.length == 11) { if (regMobile.test(str)) { diff --git a/src/views/system/studentInfo/index.vue b/src/views/system/studentInfo/index.vue index 3b161ec..06b1872 100644 --- a/src/views/system/studentInfo/index.vue +++ b/src/views/system/studentInfo/index.vue @@ -49,7 +49,9 @@ range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" + :picker-options="expireTimeOPtion" unlink-panels + style="width: 240px" > @@ -219,8 +221,14 @@ /> - - + + - + + + @@ -423,22 +437,28 @@ - 选择完成 - + + 选择完成 @@ -504,7 +524,12 @@ - +