Преглед изворни кода

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 пре 10 месеци
родитељ
комит
48c1368234

+ 41 - 30
src/xt_pages/outpatientCharges/components/registerDialog.vue Прегледај датотеку

@@ -757,40 +757,51 @@
757 757
                 that.$message.error(response.data.msg)
758 758
                 return false
759 759
               } else {
760
-                var patient = response.data.data.patient
761
-
762
-                if (that.form.id_card_type == 1) {
763
-                  that.form.id = patient.id
764
-                  that.form.name = patient.name
765
-                  that.form.gender = patient.gender
766
-                  that.form.age = patient.age
767
-                  that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
768
-                  that.form.phone = patient.phone
769
-                  that.form.id_card = patient.id_card_no
770
-                  that.form.medical_insurance_card = response.data.data.number
771
-                  that.form.social_type = parseInt(response.data.data.insutype)
760
+                if (response.data.data.failed_code == -10) {
761
+                  // that.$message.error(response.data.data.msg)
762
+                  that.$confirm(response.data.data.msg, '医保错误信息', {
763
+                    confirmButtonText: '确 定',
764
+                    type: 'warning'
765
+                  }).then(() => {
772 766
 
767
+                  }).catch(() => {
768
+                  })
773 769
 
774
-                } else if (that.form.id_card_type == 2) {
775
-                  that.form.id = patient.id
776
-                  that.form.name = patient.name
777
-                  that.form.gender = patient.gender
778
-                  that.form.age = patient.age
779
-                  that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
780
-                  that.form.phone = patient.phone
781
-                  that.form.id_card = patient.id_card_no
782
-                } else {
783
-                  that.form.id = patient.id
784
-                  that.form.name = patient.name
785
-                  that.form.gender = patient.gender
786
-                  that.form.age = patient.age
787
-                  that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
788
-                  that.form.phone = patient.phone
789
-                  that.form.id_card = patient.id_card_no
790
-                  that.form.social_type = parseInt(response.data.data.insutype)
770
+                }else {
771
+                  var patient = response.data.data.patient
772
+
773
+                  if (that.form.id_card_type == 1) {
774
+                    that.form.id = patient.id
775
+                    that.form.name = patient.name
776
+                    that.form.gender = patient.gender
777
+                    that.form.age = patient.age
778
+                    that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
779
+                    that.form.phone = patient.phone
780
+                    that.form.id_card = patient.id_card_no
781
+                    that.form.medical_insurance_card = response.data.data.number
782
+                    that.form.social_type = parseInt(response.data.data.insutype)
783
+
784
+                  } else if (that.form.id_card_type == 2) {
785
+                    that.form.id = patient.id
786
+                    that.form.name = patient.name
787
+                    that.form.gender = patient.gender
788
+                    that.form.age = patient.age
789
+                    that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
790
+                    that.form.phone = patient.phone
791
+                    that.form.id_card = patient.id_card_no
792
+                  } else {
793
+                    that.form.id = patient.id
794
+                    that.form.name = patient.name
795
+                    that.form.gender = patient.gender
796
+                    that.form.age = patient.age
797
+                    that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
798
+                    that.form.phone = patient.phone
799
+                    that.form.id_card = patient.id_card_no
800
+                    that.form.social_type = parseInt(response.data.data.insutype)
791 801
 
802
+                  }
803
+                  that.$message({ message: '读卡成功', type: 'success' })
792 804
                 }
793
-                that.$message({ message: '读卡成功', type: 'success' })
794 805
               }
795 806
             })
796 807
             .catch(function(error) {

+ 1 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Прегледај датотеку

@@ -3618,6 +3618,7 @@ export default {
3618 3618
       } else if(index == 40){
3619 3619
         var that = this
3620 3620
         let params = {
3621
+          'admin_user_id': this.$store.getters.xt_user.user.id
3621 3622
         }
3622 3623
         axios.get('http://127.0.0.1:9532/9001', {
3623 3624
           params: params

+ 2 - 0
src/xt_pages/user/doctorAdvice.vue Прегледај датотеку

@@ -201,7 +201,9 @@
201 201
               <span class="el-dropdown-link" v-if="scope.row.parent_id == 0">
202 202
                 <span v-if="scope.row.frequency_type ==1" style="color:#1AAD19"> {{ scope.row.advice_name}}</span>
203 203
                 <span v-if="scope.row.frequency_type ==2 && scope.row.day_count>0" style="color:#1AAD19"> {{ scope.row.advice_name}}</span>
204
+                <span v-if="scope.row.frequency_type ==2 && scope.row.day_count==0" style="color:#1AAD19"> {{ scope.row.advice_name}}</span>
204 205
                 <span v-if="scope.row.frequency_type ==3 && scope.row.week_day!=''" style="color:#1AAD19"> {{ scope.row.advice_name}}</span>
206
+                <span v-if="scope.row.frequency_type ==3 && scope.row.week_day==''" > {{ scope.row.advice_name}}</span>
205 207
                 <span v-if="scope.row.frequency_type ==0"> {{ scope.row.advice_name}}</span>
206 208
                 <i class="el-icon-arrow-down el-icon--right"></i>
207 209
               </span>

+ 3 - 3
src/xt_pages/workforce/appointment.vue Прегледај датотеку

@@ -124,9 +124,9 @@
124 124
         <table-data ref="tableData"  :week-time="activeName" :partitions-prop="partitions"
125 125
                     :schedule-zone-row-prop="scheduleZoneRow"
126 126
                     :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
127
-                    @event2="changeSchedule"  @event3="changeWeekDay" @event6="changeScheduleType" @guanliu_show="guanliu" v-show="showtableOne">
127
+                    @event2="changeSchedule"  @event3="changeWeekDay"  @guanliu_show="guanliu" v-show="showtableOne"  @event6="changeScheduleType">
128 128
         </table-data>
129
-        <!--  -->
129
+        <!-- @event6="changeScheduleType" -->
130 130
       </div>
131 131
       <!-- 编辑 -->
132 132
        <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
@@ -1332,8 +1332,8 @@ export default {
1332 1332
       } else if (this.activeName == 'nextTwoWeek') {
1333 1333
         date = date + 14 * 24 * 60 * 60 * 1000
1334 1334
       }
1335
-      console.log('3333333',this.partition_id,this.activeName,this.week_date);
1336 1335
        this.$router.push({path: '/scheduleTablePrintSix?partition_id=' + this.partition_id + "&weekTime=" + this.activeName+"&week_date="+this.week_date+"&schedule_type="+this.schedule_type})
1336
+
1337 1337
     },
1338 1338
     isShow() {
1339 1339
       let isShow = false