Przeglądaj źródła

Merge branch 'master' of http://git.cc-lotus.info/ball-court/court-badminton

zs 3 lat temu
rodzic
commit
c0346c8796

+ 2 - 2
pages/eliminate/index.js

@@ -42,7 +42,7 @@ Page({
         const params = e.detail.value;
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/eliminateRace/${params._id}`, params);
         const arr = await app.$post(`/newCourt/api/eliminateRace/${params._id}`, params);
         if (arr.errcode == '0') {
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
             that.toClose()
         } else {
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })
@@ -78,7 +78,7 @@ Page({
         const that = this;
         const that = this;
         that.setData({ form: {} })
         that.setData({ form: {} })
         that.setData({ dialog: { title: '赛程信息', show: false, type: '1' } })
         that.setData({ dialog: { title: '赛程信息', show: false, type: '1' } })
-
+        that.watchLogin()
     },
     },
     // 选择赛事
     // 选择赛事
     matchChange: function (e) {
     matchChange: function (e) {

+ 1 - 1
pages/race/index.js

@@ -48,7 +48,7 @@ Page({
         const params = e.detail.value;
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/race/${params._id}`, params);
         const arr = await app.$post(`/newCourt/api/race/${params._id}`, params);
         if (arr.errcode == '0') {
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
             that.toClose()
         } else {
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })

+ 1 - 1
pages/referee/eliminate.js

@@ -73,7 +73,7 @@ Page({
         const params = e.detail.value;
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/eliminateRace/${params._id}`, params);
         const arr = await app.$post(`/newCourt/api/eliminateRace/${params._id}`, params);
         if (arr.errcode == '0') {
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
             that.toClose()
         } else {
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })

+ 1 - 1
pages/referee/group.js

@@ -73,7 +73,7 @@ Page({
         const params = e.detail.value;
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/race/${params._id}`, params);
         const arr = await app.$post(`/newCourt/api/race/${params._id}`, params);
         if (arr.errcode == '0') {
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
             that.toClose()
         } else {
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })