修改教师管理和试卷管理逻辑,优化手机端样式

This commit is contained in:
2023-02-28 17:56:56 +08:00
parent 0e709b5698
commit f9d865b615
10 changed files with 1697 additions and 439 deletions

View File

@@ -1,3 +1,4 @@
import cityList from '@/utils/city.json';
const custom = {
getStdSubject: (data) => { // 获取标准类型格式
let arr= []
@@ -61,6 +62,11 @@ const custom = {
break;
}
return name
},
getProvinceName(province) {
if(province < 0 || !province) return ''
return cityList[province].name
}
}
export default custom