Browse Source

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

csx 4 years ago
parent
commit
d72c2283c3
1 changed files with 3 additions and 6 deletions
  1. 3 6
      src/xt_pages/outpatientRegistration/index.vue

+ 3 - 6
src/xt_pages/outpatientRegistration/index.vue View File

178
                         <el-input v-model.number="total" readonly></el-input>
178
                         <el-input v-model.number="total" readonly></el-input>
179
                     </el-form-item>
179
                     </el-form-item>
180
                 </el-form>
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
             </div>
182
             </div>
183
 
183
 
184
         </div>
184
         </div>
947
                   if (response.data.state == 0) {
947
                   if (response.data.state == 0) {
948
                     that.$message.error(response.data.msg)
948
                     that.$message.error(response.data.msg)
949
                     that.loadingone = false
949
                     that.loadingone = false
950
-                    that.$refs.register.hide()
951
                     return false
950
                     return false
952
                   } else {
951
                   } else {
953
                     if (response.data.data.failed_code == -10) {
952
                     if (response.data.data.failed_code == -10) {
954
                       that.$message.error(response.data.data.msg)
953
                       that.$message.error(response.data.data.msg)
955
                     } else {
954
                     } else {
956
-                      that.$refs.register.hide()
957
-                      that.getPatientList()
958
                       that.$message({ message: '挂号成功', type: 'success' })
955
                       that.$message({ message: '挂号成功', type: 'success' })
956
+                      that.getPatientList()
959
                       that.loadingone = false
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
                 })