Prechádzať zdrojové kódy

Merge remote-tracking branch 'origin/Payment-Configuration' into Payment-Configuration

yfh 1 týždeň pred
rodič
commit
0a3bb7166b

+ 1 - 1
src/views/course/userCourse/public.vue

@@ -632,7 +632,7 @@ export default {
 
     },
     talentMethod(query) {
-      if (query !== '') {
+      if (/^\d{11}$/.test(query)) {
         this.talentParam.phone = query;
         listBySearch(this.talentParam).then(response => {
           this.talentList = response.data;

+ 1 - 1
src/views/course/userTalent/index.vue

@@ -423,7 +423,7 @@ export default {
       }
     },
     userMethod(query){
-      if (query !== '') {
+      if (/^\d{11}$/.test(query)) {
         this.userParam.phone = query;
         listBySearch(this.userParam).then(response => {
           this.userList = response.data;

+ 1 - 1
src/views/course/userVideo/index.vue

@@ -665,7 +665,7 @@ export default {
       this.getList()
     },
     talentMethod(query){
-      if (query !== '') {
+      if (/^\d{11}$/.test(query)) {
         this.talentParam.phone = query;
         listBySearch(this.talentParam).then(response => {
           this.talentList = response.data;

+ 2 - 2
src/views/live/liveOrder/index.vue

@@ -599,8 +599,8 @@ export default {
       // 同时清空范围选择器的值
       this.orderTimeRange = [];
       // 清空时间范围参数
-      this.queryParams.orderStartTime = null;
-      this.queryParams.orderEndTime = null;
+      this.queryParams.createTimeStart = null;
+      this.queryParams.createTimeEnd = null;
       this.handleQuery();
     },