Browse Source

Merge branch '2022-10-17_vue_schedule_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

XMLWAN 2 years ago
parent
commit
1ab0dcafd7

+ 6 - 7
src/xt_pages/hospitalStation/components/chargeDialog.vue View File

@@ -225,13 +225,12 @@
225 225
         },
226 226
         payWays: [
227 227
           { value: 1, label: '现金' },
228
-          // {value: 2, label: '银行卡'},
229
-          // {value: 3, label: '微信'},
230
-          // {value: 4, label: '支付宝'},
228
+          { value: 2, label: '银行卡'},
229
+          { value: 3, label: '微信'},
230
+          { value: 5, label: '支付宝'},
231
+          { value: 7, label: '积分'},
231 232
           { value: 4, label: '医保卡' },
232
-          { value: 6, label: '电子凭证' },
233
-
234
-
233
+          { value: 6, label: '电子凭证'},
235 234
         ],
236 235
         total: "",
237 236
 
@@ -288,7 +287,7 @@
288 287
             'admin_user_id': this.$store.getters.xt_user.user.id,
289 288
             'certificates':1,
290 289
           }
291
-          
290
+
292 291
           axios.get('http://127.0.0.1:9532/zh/api/readcard', {
293 292
             params: params
294 293
           })

+ 4 - 3
src/xt_pages/outpatientCharges/components/chargeDialog.vue View File

@@ -161,9 +161,10 @@
161 161
         },
162 162
         payWays: [
163 163
           {value: 1, label: '现金'},
164
-          // {value: 2, label: '银行卡'},
165
-          // {value: 3, label: '微信'},
166
-          // {value: 4, label: '支付宝'},
164
+          {value: 2, label: '银行卡'},
165
+          {value: 3, label: '微信'},
166
+          {value: 5, label: '支付宝'},
167
+          {value: 7, label: '积分'},
167 168
           {value: 4, label: '医保卡'},
168 169
 
169 170
         ],

+ 4 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -2242,6 +2242,10 @@
2242 2242
               this.$message.error('疾病类型不能为空')
2243 2243
               return
2244 2244
             }
2245
+            if (this.diagnose.length <= 0) {
2246
+              this.$message.error('诊断不能为空')
2247
+              return
2248
+            }
2245 2249
             for (let i = 0; i < this.prescriptions.length; i++) {
2246 2250
               for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
2247 2251
                 if (this.prescriptions[i].advices[b].prescribing_number == 0 || this.prescriptions[i].advices[b].prescribing_number == '') {

+ 13 - 0
src/xt_pages/workforce/components/template_table.vue View File

@@ -1159,6 +1159,7 @@
1159 1159
       <span slot="footer" class="dialog-footer">
1160 1160
          <el-button
1161 1161
            type="primary"
1162
+           :loading="changeLoadingOne"
1162 1163
            @click="coverSch()"
1163 1164
          >确定</el-button>
1164 1165
 
@@ -1178,6 +1179,7 @@
1178 1179
       <span slot="footer" class="dialog-footer">
1179 1180
          <el-button
1180 1181
            type="primary"
1182
+           :loading="changeLoadingTwo"
1181 1183
            @click="changeSchTemplateTwo()"
1182 1184
          >确定</el-button>
1183 1185
         <el-button @click="tipDialogVisibleThree = false">取 消</el-button>
@@ -1252,6 +1254,8 @@ export default {
1252 1254
   },
1253 1255
   data() {
1254 1256
     return {
1257
+      changeLoadingOne:false,
1258
+      changeLoadingTwo:false,
1255 1259
       tipDialogVisibleTwo:false,
1256 1260
       tipDialogVisibleThree:false,
1257 1261
       tipDialogVisible:false,
@@ -2807,15 +2811,19 @@ export default {
2807 2811
         patient_id_two:this.cur_temp_info.patient_id,
2808 2812
 
2809 2813
       }
2814
+      this.changeLoadingOne = true
2810 2815
       CoverSchTemplate(params).then((response) => {
2811 2816
         if (response.data.state == 0) {
2812 2817
           this.$message.error(response.data.msg);
2813 2818
           this.tipDialogVisibleTwo = false
2819
+          this.changeLoadingOne = false
2814 2820
 
2815 2821
         } else {
2816 2822
           this.$message.success("替换成功");
2817 2823
           this.tipDialogVisible = false
2818 2824
           this.tipDialogVisibleTwo = false
2825
+          this.changeLoadingOne = false
2826
+
2819 2827
           // this.getSchedules();
2820 2828
           this.all_template = response.data.data.items
2821 2829
           this.$emit("setTemplate",response.data.data.items)
@@ -2847,14 +2855,19 @@ export default {
2847 2855
 
2848 2856
 
2849 2857
       }
2858
+      this.changeLoadingTwo = true
2850 2859
       ExchangeSchTemplate(params).then((response) => {
2851 2860
         if (response.data.state == 0) {
2852 2861
           this.$message.error(response.data.msg);
2853 2862
           this.tipDialogVisibleThree = false
2863
+          this.changeLoadingTwo = false
2864
+
2854 2865
         } else {
2855 2866
           this.$message.success("交换成功");
2856 2867
           this.tipDialogVisible = false
2857 2868
           this.tipDialogVisibleThree = false
2869
+          this.changeLoadingTwo = false
2870
+
2858 2871
           // this.getSchedules();
2859 2872
           this.all_template = response.data.data.items
2860 2873
           this.$emit("setTemplate",response.data.data.items)