From b81d7ed2cc89e51ab803f301d29a0ec7adede3bb Mon Sep 17 00:00:00 2001 From: yxq Date: Wed, 23 Aug 2023 11:46:50 +0800 Subject: [PATCH] =?UTF-8?q?app=20=E5=AD=A6=E7=94=9F=20=E6=88=91=E7=9A=84?= =?UTF-8?q?=E8=AF=BE=E8=A1=A8=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages/ADRRecord/list.vue | 57 ++++++----- .../pages/AttendanceCardStudent/list.vue | 10 +- .../LearunApp-2.2.0/pages/timeTable/list.vue | 98 ++++++++++++++----- 3 files changed, 108 insertions(+), 57 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/ADRRecord/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/ADRRecord/list.vue index 570cf7b36..ea7de6271 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/ADRRecord/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/ADRRecord/list.vue @@ -35,7 +35,7 @@ 备注: {{ item.ARemark }} - + @@ -336,33 +336,23 @@ export default { }, async uploadCo(val){ - if (!val) { - return [] + if (!val) { return [] } + const uidList_ = val.split(',') + const fileList_ = [] + + for (const uid of uidList_ || []) { + const fileInfo = await this.FETCH_FILEINFO(uid) + if (!fileInfo) { continue } + + const fileType = fileInfo.F_FileType + const fileSize = fileInfo.F_FileSize + const fileName = fileInfo.F_FileName + + const path = this.API + 'learun/adms/annexes/wxdown?' + this.URL_QUERY(uid, true) + + fileList_.push({ path, type: fileType, uid, size: fileSize, name:fileName }) } - const uidList = val; - const fileList = [] - const wxlist = await this.FETCH_FILEList(uidList); - for (const wxfile of wxlist) { - const fileInfo = await this.FETCH_FILEINFO(wxfile.F_Id) - if (!fileInfo) { - continue - } - - const fileType = fileInfo.F_FileType - const fileSize = fileInfo.F_FileSize - const fileName = fileInfo.F_FileName - - const path = this.API + '/learun/adms/annexes/wxdown?' + this.URL_QUERY(wxfile.F_Id, true) - fileList.push({ - path, - type: fileType, - uid:wxfile.F_Id, - folderId:wxfile.F_FolderId, - size: fileSize, - name: fileName - }) - } - return fileList + return fileList_ }, async chooseEntireCard(e){ @@ -371,7 +361,10 @@ export default { for (let s in this.record[e.date]) { let e1 = this.record[e.date] for (let s1 in e1) { - if(e1[s1].AIsOut) e1[s1].ADPhoto = await this.uploadCo(e1[s1].ADPhoto) + if(e1[s1].AIsOut && !e1[s1].photoLoad) { + e1[s1].ADPhoto = await this.uploadCo(e1[s1].ADPhoto) + e1[s1].photoLoad = true + } } } this.status = {} @@ -393,4 +386,10 @@ export default { border-radius: 50%; margin-right: 4px; } - \ No newline at end of file + + /deep/.cu-form-group{ + padding-left: 0; + min-height: unset; + } + + \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCardStudent/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCardStudent/list.vue index aaf9d8eb5..2a4c8d309 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCardStudent/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCardStudent/list.vue @@ -263,15 +263,15 @@ // 获取当前位置 local() { return new Promise(async (resolve) => { - // let res = await this.getLocation() + let res = await this.getLocation() // let res = { // lng: 112.57205562051, // lat: 37.742374280962 // } - let res = { - lng: 112.55981419, - lat: 37.80890166 - } + // let res = { + // lng: 112.55981419, + // lat: 37.80890166 + // } if (!res) { this.$set(this.postData, 'ALon', '') this.$set(this.postData, 'ALat', '') diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/timeTable/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/timeTable/list.vue index c32784ae8..456d7de47 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/timeTable/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/timeTable/list.vue @@ -35,28 +35,41 @@ 该时间段没有课表 - - 第 {{ k.sectionTime }} 节 - - - {{ k.LessonName }} - {{ k.ClassName }} - - - {{ k.EmpName }} + +
+ 第 {{ k.sectionTime }} 节 + + + {{ k.LessonName }} + {{ k.ClassName }} + + + {{ k.EmpName }} + - - - - - {{ k.ClassroomName }} - - - {{ k.Sort }} - {{ k.Sort }} - {{ k.Sort }} + + + + {{ k.ClassroomName }} + + + {{ k.Sort }} + {{ k.Sort }} + {{ k.Sort }} + +
+ + + 地址: + {{ k.ClockPlace }} + + + 备注: + {{ k.ARemark }} + +
@@ -69,7 +82,11 @@