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
         },
225
         },
226
         payWays: [
226
         payWays: [
227
           { value: 1, label: '现金' },
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
           { value: 4, label: '医保卡' },
232
           { value: 4, label: '医保卡' },
232
-          { value: 6, label: '电子凭证' },
233
-
234
-
233
+          { value: 6, label: '电子凭证'},
235
         ],
234
         ],
236
         total: "",
235
         total: "",
237
 
236
 
288
             'admin_user_id': this.$store.getters.xt_user.user.id,
287
             'admin_user_id': this.$store.getters.xt_user.user.id,
289
             'certificates':1,
288
             'certificates':1,
290
           }
289
           }
291
-          
290
+
292
           axios.get('http://127.0.0.1:9532/zh/api/readcard', {
291
           axios.get('http://127.0.0.1:9532/zh/api/readcard', {
293
             params: params
292
             params: params
294
           })
293
           })

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

161
         },
161
         },
162
         payWays: [
162
         payWays: [
163
           {value: 1, label: '现金'},
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
           {value: 4, label: '医保卡'},
168
           {value: 4, label: '医保卡'},
168
 
169
 
169
         ],
170
         ],

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

2242
               this.$message.error('疾病类型不能为空')
2242
               this.$message.error('疾病类型不能为空')
2243
               return
2243
               return
2244
             }
2244
             }
2245
+            if (this.diagnose.length <= 0) {
2246
+              this.$message.error('诊断不能为空')
2247
+              return
2248
+            }
2245
             for (let i = 0; i < this.prescriptions.length; i++) {
2249
             for (let i = 0; i < this.prescriptions.length; i++) {
2246
               for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
2250
               for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
2247
                 if (this.prescriptions[i].advices[b].prescribing_number == 0 || this.prescriptions[i].advices[b].prescribing_number == '') {
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
       <span slot="footer" class="dialog-footer">
1159
       <span slot="footer" class="dialog-footer">
1160
          <el-button
1160
          <el-button
1161
            type="primary"
1161
            type="primary"
1162
+           :loading="changeLoadingOne"
1162
            @click="coverSch()"
1163
            @click="coverSch()"
1163
          >确定</el-button>
1164
          >确定</el-button>
1164
 
1165
 
1178
       <span slot="footer" class="dialog-footer">
1179
       <span slot="footer" class="dialog-footer">
1179
          <el-button
1180
          <el-button
1180
            type="primary"
1181
            type="primary"
1182
+           :loading="changeLoadingTwo"
1181
            @click="changeSchTemplateTwo()"
1183
            @click="changeSchTemplateTwo()"
1182
          >确定</el-button>
1184
          >确定</el-button>
1183
         <el-button @click="tipDialogVisibleThree = false">取 消</el-button>
1185
         <el-button @click="tipDialogVisibleThree = false">取 消</el-button>
1252
   },
1254
   },
1253
   data() {
1255
   data() {
1254
     return {
1256
     return {
1257
+      changeLoadingOne:false,
1258
+      changeLoadingTwo:false,
1255
       tipDialogVisibleTwo:false,
1259
       tipDialogVisibleTwo:false,
1256
       tipDialogVisibleThree:false,
1260
       tipDialogVisibleThree:false,
1257
       tipDialogVisible:false,
1261
       tipDialogVisible:false,
2807
         patient_id_two:this.cur_temp_info.patient_id,
2811
         patient_id_two:this.cur_temp_info.patient_id,
2808
 
2812
 
2809
       }
2813
       }
2814
+      this.changeLoadingOne = true
2810
       CoverSchTemplate(params).then((response) => {
2815
       CoverSchTemplate(params).then((response) => {
2811
         if (response.data.state == 0) {
2816
         if (response.data.state == 0) {
2812
           this.$message.error(response.data.msg);
2817
           this.$message.error(response.data.msg);
2813
           this.tipDialogVisibleTwo = false
2818
           this.tipDialogVisibleTwo = false
2819
+          this.changeLoadingOne = false
2814
 
2820
 
2815
         } else {
2821
         } else {
2816
           this.$message.success("替换成功");
2822
           this.$message.success("替换成功");
2817
           this.tipDialogVisible = false
2823
           this.tipDialogVisible = false
2818
           this.tipDialogVisibleTwo = false
2824
           this.tipDialogVisibleTwo = false
2825
+          this.changeLoadingOne = false
2826
+
2819
           // this.getSchedules();
2827
           // this.getSchedules();
2820
           this.all_template = response.data.data.items
2828
           this.all_template = response.data.data.items
2821
           this.$emit("setTemplate",response.data.data.items)
2829
           this.$emit("setTemplate",response.data.data.items)
2847
 
2855
 
2848
 
2856
 
2849
       }
2857
       }
2858
+      this.changeLoadingTwo = true
2850
       ExchangeSchTemplate(params).then((response) => {
2859
       ExchangeSchTemplate(params).then((response) => {
2851
         if (response.data.state == 0) {
2860
         if (response.data.state == 0) {
2852
           this.$message.error(response.data.msg);
2861
           this.$message.error(response.data.msg);
2853
           this.tipDialogVisibleThree = false
2862
           this.tipDialogVisibleThree = false
2863
+          this.changeLoadingTwo = false
2864
+
2854
         } else {
2865
         } else {
2855
           this.$message.success("交换成功");
2866
           this.$message.success("交换成功");
2856
           this.tipDialogVisible = false
2867
           this.tipDialogVisible = false
2857
           this.tipDialogVisibleThree = false
2868
           this.tipDialogVisibleThree = false
2869
+          this.changeLoadingTwo = false
2870
+
2858
           // this.getSchedules();
2871
           // this.getSchedules();
2859
           this.all_template = response.data.data.items
2872
           this.all_template = response.data.data.items
2860
           this.$emit("setTemplate",response.data.data.items)
2873
           this.$emit("setTemplate",response.data.data.items)