瀏覽代碼

修改bug

lex-xin 5 年之前
父節點
當前提交
f4f46fd068

文件差異過大導致無法顯示
+ 0 - 0
dist/app.69c60a3406d57dc6d4ec.js


二進制
dist/app.69c60a3406d57dc6d4ec.js.gz


二進制
dist/app.eb6e43bbaa6da9d70d0d.js.gz


+ 0 - 1
dist/css/SignUp.4e353326.css

@@ -1 +0,0 @@
-.SignUp[data-v-de71d0bc]{max-width:700px;position:relative;overflow-y:auto;overflow-x:hidden;background-color:#fff;margin:0 auto}.container[data-v-de71d0bc]{min-height:100vh;background:url(../img/signUpBg.8e6b6a64.png) no-repeat top #f3f4f8;background-size:contain;overflow:hidden}.container h2[data-v-de71d0bc]{position:absolute;padding-top:.4rem;color:#fff;font-size:.26rem;font-weight:700;width:2.1rem;text-align:left;margin-left:.16rem}.container .section[data-v-de71d0bc]{background:#fff;margin:1.87rem .16rem .15rem;border-radius:.1rem;padding:.22rem}.container .section .title[data-v-de71d0bc]{margin-top:.28rem;font-size:.18rem;color:#1a1a1a;font-weight:500}.container .section .content[data-v-de71d0bc]{padding-top:.05rem;color:grey;font-size:.16rem;word-break:break-all}.container .sectionStatus[data-v-de71d0bc]{text-align:center;padding:1rem 0 .5rem}.container .sectionStatus img[data-v-de71d0bc]{width:1.2rem}.container .sectionStatus h3[data-v-de71d0bc]{padding-top:.3rem;font-size:.18rem;color:#1a1a1a}.container .sectionStatus p[data-v-de71d0bc]{padding-top:.05rem;font-size:.14rem;color:#999}.container .protocol[data-v-de71d0bc]{font-size:.14rem;margin-bottom:.3rem;text-align:center;display:block;color:#0091ff}.container .van-button--primary[data-v-de71d0bc]{margin:.36rem 0 .18rem;background-color:var(--main-color);border:1px solid var(--main-color);color:#fff;font-size:.18rem;height:.5rem;line-height:.52rem;width:90%;margin-left:5%}

+ 1 - 0
dist/css/SignUp.a7eaa079.css

@@ -0,0 +1 @@
+.SignUp[data-v-6c56b174]{max-width:700px;position:relative;overflow-y:auto;overflow-x:hidden;background-color:#fff;margin:0 auto}.container[data-v-6c56b174]{min-height:100vh;background:url(../img/signUpBg.8e6b6a64.png) no-repeat top #f3f4f8;background-size:contain;overflow:hidden}.container h2[data-v-6c56b174]{position:absolute;padding-top:.4rem;color:#fff;font-size:.26rem;font-weight:700;width:2.1rem;text-align:left;margin-left:.16rem}.container .section[data-v-6c56b174]{background:#fff;margin:1.87rem .16rem .15rem;border-radius:.1rem;padding:.22rem}.container .section .title[data-v-6c56b174]{margin-top:.28rem;font-size:.18rem;color:#1a1a1a;font-weight:500}.container .section .content[data-v-6c56b174]{padding-top:.05rem;color:grey;font-size:.16rem;word-break:break-all}.container .sectionStatus[data-v-6c56b174]{text-align:center;padding:1rem 0 .5rem}.container .sectionStatus img[data-v-6c56b174]{width:1.2rem}.container .sectionStatus h3[data-v-6c56b174]{padding-top:.3rem;font-size:.18rem;color:#1a1a1a}.container .sectionStatus p[data-v-6c56b174]{padding-top:.05rem;font-size:.14rem;color:#999}.container .protocol[data-v-6c56b174]{font-size:.14rem;margin-bottom:.3rem;text-align:center;display:block;color:#0091ff}.container .van-button--primary[data-v-6c56b174]{margin:.36rem 0 .18rem;background-color:var(--main-color);border:1px solid var(--main-color);color:#fff;font-size:.18rem;height:.5rem;line-height:.52rem;width:90%;margin-left:5%}

文件差異過大導致無法顯示
+ 0 - 0
dist/css/SignUpLevel.76909b3d.css


文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 0 - 0
dist/js/SignUp.55ed1580.js


二進制
dist/js/SignUp.55ed1580.js.gz


文件差異過大導致無法顯示
+ 0 - 0
dist/js/SignUp.e180d91c.js


二進制
dist/js/SignUp.e180d91c.js.gz


文件差異過大導致無法顯示
+ 0 - 0
dist/js/SignUpLevel.82ef7972.js


二進制
dist/js/SignUpLevel.82ef7972.js.gz


文件差異過大導致無法顯示
+ 0 - 0
dist/js/SignUpLevel.e35c3de4.js


二進制
dist/js/SignUpLevel.e35c3de4.js.gz


+ 1 - 1
src/views/signup/SignUp.vue

@@ -96,7 +96,7 @@ export default {
 						posterTitle: tempData.posterTitle,
 						examMode: tempData.examMode,
 						enrollTime: dayjs(tempData.enrollStartTime).format("YYYY-MM-DD HH:mm") + "~" + dayjs(tempData.enrollEndTime).format("YYYY-MM-DD HH:mm"),
-						enrollTime2: dayjs(tempData.enrollStartTime).format("YYYY-MM-DD HH:mm") + "~" + dayjs(tempData.enrollEndTime).format("HH:mm"),
+						enrollTime2: dayjs(tempData.enrollStartTime).format("YYYY-MM-DD HH:mm"),
 						examLocationIdList: tempData.examLocationIdList,
 						expectExamTime: dayjs(tempData.expectExamStartTime).format("YYYY-MM-DD") + "~" + dayjs(tempData.expectExamEndTime).format("YYYY-MM-DD"),
 						status: tempStatus,

+ 21 - 10
src/views/signup/SignUpLevel.vue

@@ -598,18 +598,18 @@ export default {
                 tempPerformArr = []
             songList.forEach(item => {
                 if(item.type == "PERFORM") {
-                    if(this.performNumSelectIds.includes(item.id)) {
-                        item.disabled = true
-                    } else {
-                        item.disabled = false
-                    }
+                    // if(this.performNumSelectIds.includes(item.id)) {
+                    //     item.disabled = true
+                    // } else {
+                    //     item.disabled = false
+                    // }
                     tempPerformArr.push(item)
                 } else if(item.type == "PRACTICE") {
-                    if(this.practiceSelectIds.includes(item.id)) {
-                        item.disabled = true
-                    } else {
-                        item.disabled = false
-                    }
+                    // if(this.practiceSelectIds.includes(item.id)) {
+                    //     item.disabled = true
+                    // } else {
+                    //     item.disabled = false
+                    // }
                     tempPracticeArr.push(item)
                 }
             })
@@ -864,17 +864,28 @@ export default {
                     this.$toast('请选择练习曲')
                     return false
                 }
+                const tempIds = new Set(this.practiceSelectIds)
+                if(this.practiceSelectIds.length != tempIds.size) {
+                    this.$toast("不能选择重复的练习曲")
+                    return false
+                }
             } else {
                 if(this.practiceUpload.length != this.practiceNum) {
                     this.$toast('请上传练习曲')
                     return false
                 }
+
             }
             if(this.performSongIdList) {
                 if(this.performNumSelectIds.length != this.performNum) {
                     this.$toast('请选择演奏曲')
                     return false
                 }
+                const tempIds = new Set(this.performNumSelectIds)
+                if(this.performNumSelectIds.length != tempIds.size) {
+                    this.$toast("不能选择重复的演奏曲")
+                    return false
+                }
             } else {
                 if(this.performNumUpload.length != this.performNum) {
                     this.$toast('请上传演奏曲')

部分文件因文件數量過多而無法顯示