Selaa lähdekoodia

修改医生审核未通过逻辑

半月无霜 4 vuotta sitten
vanhempi
commit
9cc701781e
3 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 2 2
      UI/src/components/Form/BirdForm.js
  2. 1 1
      UI/src/pages/ymall/Doctor.js
  3. 2 2
      UI/src/utils/config.js

+ 2 - 2
UI/src/components/Form/BirdForm.js

@@ -180,9 +180,9 @@ class BirdForm extends React.Component {
     return true;
   }
 
-  save() {
+  save(verifyNotFalg) {
     let self = this;
-    if (!self.validate()) return;
+    if (!verifyNotFalg && !self.validate()) return;
 
     let dto = self.getResult();
     request({

+ 1 - 1
UI/src/pages/ymall/Doctor.js

@@ -553,7 +553,7 @@ class Doctor extends React.Component {
         this.setState({
             checkMsgVisible: false
         })
-        this.refs.checkForm.save();
+        this.refs.checkForm.save(true);
     }
 
     render() {

+ 2 - 2
UI/src/utils/config.js

@@ -7,14 +7,14 @@ const APIV3Auth = 'http://192.168.50.32:13001/oauth2'
 const WXAPIV5= 'http://192.168.50.32:13001/qiyewechat'
 const WXMpAPI= 'http://192.168.50.32:13001/mpwechat'
 const staticMpAPI = 'http://192.168.50.32:13001/mpwechat'
-// const ymallAPI = 'http://192.168.50.32:13001/ymall'
+const ymallAPI = 'http://192.168.50.32:13001/ymall'
 const ymallOuter = 'http://mem.360lj.com/ym2'
 
 // const APIV3Auth = 'http://localhost:8030'
 // const WXAPIV5= 'http://localhost:7000'
 // const WXMpAPI= 'http://localhost:8081'
 // const staticMpAPI= 'http://localhost:8081'
-const ymallAPI = 'http://localhost:8070'
+// const ymallAPI = 'http://localhost:8070'
 module.exports =  {
   name: '亮健云健康',
   prefix: 'bird',