ソースを参照

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 4 年 前
コミット
e6fd782e54
共有1 個のファイルを変更した3 個の追加6 個の削除を含む
  1. 3 6
      src/xt_pages/outpatientRegistration/index.vue

+ 3 - 6
src/xt_pages/outpatientRegistration/index.vue ファイルの表示

@@ -178,7 +178,7 @@
178 178
                         <el-input v-model.number="total" readonly></el-input>
179 179
                     </el-form-item>
180 180
                 </el-form>
181
-                <el-button style="float:right" @click="saveHisPatient9504('form')" type="primary">挂号</el-button>
181
+                <el-button style="float:right" v-loading="loadingone" @click="saveHisPatient9504('form')" type="primary">挂号</el-button>
182 182
             </div>
183 183
 
184 184
         </div>
@@ -947,18 +947,15 @@
947 947
                   if (response.data.state == 0) {
948 948
                     that.$message.error(response.data.msg)
949 949
                     that.loadingone = false
950
-                    that.$refs.register.hide()
951 950
                     return false
952 951
                   } else {
953 952
                     if (response.data.data.failed_code == -10) {
954 953
                       that.$message.error(response.data.data.msg)
955 954
                     } else {
956
-                      that.$refs.register.hide()
957
-                      that.getPatientList()
958 955
                       that.$message({ message: '挂号成功', type: 'success' })
956
+                      that.getPatientList()
959 957
                       that.loadingone = false
960
-                      var his_info = response.data.data.his_info
961
-                      that.hisPatientInfo = his_info
958
+
962 959
                     }
963 960
                   }
964 961
                 })