浏览代码

课表

临城职教中职
杨晓琪 2 年前
父节点
当前提交
f0b3f727f4
共有 3 个文件被更改,包括 954 次插入338 次删除
  1. +15
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/js/common.js
  2. +2
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
  3. +937
    -337
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/timeTable/list.vue

+ 15
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/js/common.js 查看文件

@@ -38,6 +38,21 @@ export default {
Sunday: this.fmtDate(SundayTime)
}
},
weekday2() { //根据今天得到周一与周日的时间
var now = new Date(); 
var nowTime = now.getTime(); 
var day = now.getDay();
//显示周一
var MondayTime = nowTime - (day - 1) * this.oneDayTime() ; 
//显示周日
var SundayTime =  nowTime + (14 - day) * this.oneDayTime() ; 
return {
MondayTime: MondayTime,
Monday: this.fmtDate(MondayTime),
SundayTime: SundayTime,
Sunday: this.fmtDate(SundayTime)
}
},
compare (key) {
return (obj1, obj2) => {
let value1 = obj1[key]


+ 2
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js 查看文件

@@ -21,7 +21,8 @@ export default {
// "http://192.168.2.98:8088/"
// ],
"apiHost": [
"http://localhost:31173/"
// "http://localhost:31173/"
"http://192.168.10.58:8012/"
],
// 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示
"devAccount": [


+ 937
- 337
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/timeTable/list.vue
文件差异内容过多而无法显示
查看文件


正在加载...
取消
保存