28169 пре 1 година
родитељ
комит
2f906a495c

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_thirteen.vue Прегледај датотеку

438
                 <div class="row">
438
                 <div class="row">
439
                   上机医生
439
                   上机医生
440
                   <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
440
                   <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
441
-                    <span v-if="setAdminUserES(record.prescription, 'prescription_doctor') == ''">{{getAdminUser(record.prescription, 'prescription_doctor')}}</span>
441
+                    <span v-if="setAdminUserES(record.prescription, 'creater') == ''">{{getAdminUser(record.prescription, 'creater')}}</span>
442
                     <span v-else>
442
                     <span v-else>
443
-                      <img class="es-img" style="height:30px;" :src="setAdminUserES(record.prescription, 'prescription_doctor')" />
443
+                      <img class="es-img" style="height:30px;" :src="setAdminUserES(record.prescription, 'creater')" />
444
                     </span>
444
                     </span>
445
                   </div>
445
                   </div>
446
                   冲管护士
446
                   冲管护士

+ 15 - 1
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Прегледај датотеку

458
     },
458
     },
459
     show(accepts) {
459
     show(accepts) {
460
       console.log("accepts333333", accepts);
460
       console.log("accepts333333", accepts);
461
+    
462
+      console.log("入库时方式",this.way_arr)
463
+     
464
+      console.log("体委",this.posture_arr)
461
       if (accepts.id > 0) {
465
       if (accepts.id > 0) {
462
         accepts.tumble = accepts.tumble.toString();
466
         accepts.tumble = accepts.tumble.toString();
467
+      }else{
468
+        console.log("hh2h3h2h3h32h23h23h32h23h")
469
+        // this.receiveTreatmentAsses.way = "1"
470
+        // this.receiveTreatmentAsses.posture ="1"
471
+        // this.receiveTreatmentAsses.condition = "2"
472
+
473
+        accepts.way =1
474
+        accepts.posture=1
475
+        accepts.condition =2
476
+
463
       }
477
       }
464
       this.accepts = accepts;
478
       this.accepts = accepts;
465
-      // console.log("accepts", accepts);
479
+     console.log("accepts", accepts);
466
       // var arr = [];
480
       // var arr = [];
467
       // if (this.accepts.precaution) {
481
       // if (this.accepts.precaution) {
468
       //   var precaution = this.accepts.precaution.split(",");
482
       //   var precaution = this.accepts.precaution.split(",");

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

568
         });
568
         });
569
       },
569
       },
570
       clickCurrent(val) {
570
       clickCurrent(val) {
571
-        console.log(val);
571
+        console.log("val23323223",val);
572
         this.$router.push({
572
         this.$router.push({
573
           path: "/dialysis/details",
573
           path: "/dialysis/details",
574
-          query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
574
+          query: { patient_id: val.patient_id, date: val.schedule_date,mode_id:val.mode_id }
575
         });
575
         });
576
       },
576
       },
577
       handleSelectionChange(val) {
577
       handleSelectionChange(val) {

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue Прегледај датотеку

351
         <div class="row">
351
         <div class="row">
352
           上机医生
352
           上机医生
353
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
353
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
354
-            <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
355
-            <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
354
+            <span v-if="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.creater?prescription.creater:'')) }} </span>
355
+            <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:''))" alt="" srcset="" v-else />
356
           </div>
356
           </div>
357
           冲管护士
357
           冲管护士
358
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
358
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">

+ 3 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Прегледај датотеку

2416
                   this.$emit('editKeepLoad', false)
2416
                   this.$emit('editKeepLoad', false)
2417
                   return
2417
                   return
2418
                 }
2418
                 }
2419
+                console.log("2o23o23o23o2o23",this.prescriptions[i].advices[b])
2419
                 if(this.prescriptions[i].advices[b].day == NaN){
2420
                 if(this.prescriptions[i].advices[b].day == NaN){
2420
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}天数未填写`)
2421
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}天数未填写`)
2421
                   this.$emit('editKeepLoad', false)
2422
                   this.$emit('editKeepLoad', false)
2426
                   this.$emit('editKeepLoad', false)
2427
                   this.$emit('editKeepLoad', false)
2427
                   return
2428
                   return
2428
                 }
2429
                 }
2430
+          
2431
+
2429
                 if(this.prescriptions[i].advices[b].prescribing_number == ""){
2432
                 if(this.prescriptions[i].advices[b].prescribing_number == ""){
2430
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}总量未填写`)
2433
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}总量未填写`)
2431
                   this.$emit('editKeepLoad', false)
2434
                   this.$emit('editKeepLoad', false)

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

93
               <template slot-scope="scope">
93
               <template slot-scope="scope">
94
                   <div v-if="scope.row.med_type == '14'">门诊特殊病</div>
94
                   <div v-if="scope.row.med_type == '14'">门诊特殊病</div>
95
                   <div v-if="scope.row.med_type == '11'">普通门诊</div>
95
                   <div v-if="scope.row.med_type == '11'">普通门诊</div>
96
+                  <div v-if="scope.row.med_type == '1112'">普通门诊</div>
97
+                
96
               </template>
98
               </template>
97
           </el-table-column>
99
           </el-table-column>
98
           <el-table-column align="center" prop="item_name" label="医疗费总额">
100
           <el-table-column align="center" prop="item_name" label="医疗费总额">

+ 48 - 4
src/xt_pages/user/components/PatientDetail.vue Прегледај датотеку

347
                 </el-radio-group>
347
                 </el-radio-group>
348
               </el-form-item>
348
               </el-form-item>
349
             </el-col>
349
             </el-col>
350
+
351
+            <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
352
+                <el-form-item
353
+                  label="患者去向 : "
354
+                >
355
+                  <el-radio-group v-model="form.patient_source">
356
+                    <el-radio
357
+                     disabled
358
+                      v-for="item in patientSourceList"
359
+                      :key="item.value"
360
+                      :label="item.value"
361
+                      :value="item.value"
362
+                      >{{ item.label }}</el-radio
363
+                    >
364
+                  </el-radio-group>
365
+                </el-form-item>
366
+              </el-col>
367
+
368
+                <el-col :span="8" style="margin-bottom: 20px;">
369
+                <el-form-item
370
+                  label="备注 : "
371
+                  prop="sch_remark">
372
+                  <el-input
373
+                   disabled
374
+                    type="textarea"
375
+                    :rows="3"
376
+                    v-model="form.sch_remark"
377
+                    resize="none"
378
+                    placeholder
379
+                  ></el-input>
380
+                </el-form-item>
381
+              </el-col>
382
+
350
             <el-col :span="8" style="height: 59px">
383
             <el-col :span="8" style="height: 59px">
351
               <el-form-item
384
               <el-form-item
352
                 label="治疗状态(转归) : "
385
                 label="治疗状态(转归) : "
1027
                 </tr>
1060
                 </tr>
1028
                 <tr>
1061
                 <tr>
1029
                   <td>
1062
                   <td>
1030
-                    <div class="td_proj_title">传<br />染<br />病</div>
1063
+                    <div class="td_proj_title" v-if="org_id !=10278 && org_id!=10138 && org_id!=0">传<br />染<br />病</div>
1064
+                    <div class="td_proj_title" v-if="org_id==10138 || org_id == 10278 || org_id == 0">过<br />敏<br />史</div>
1031
                   </td>
1065
                   </td>
1032
                   <td colspan="7">
1066
                   <td colspan="7">
1033
                     <div class="td_proj_content td_align_left">
1067
                     <div class="td_proj_content td_align_left">
1093
               <div class="proj">
1127
               <div class="proj">
1094
                 <span class="proj_title">日期:</span>
1128
                 <span class="proj_title">日期:</span>
1095
                 <!-- {{ getTime(patientPrint.created_time) }} -->
1129
                 <!-- {{ getTime(patientPrint.created_time) }} -->
1096
-                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 10138|| org_id == 9675 || org_id == 10394">{{
1130
+                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394">{{
1097
                   getTime(patientPrint.created_time)
1131
                   getTime(patientPrint.created_time)
1098
                 }}</span>
1132
                 }}</span>
1099
                 <span v-else>{{ printDate }}</span>
1133
                 <span v-else>{{ printDate }}</span>
1237
   treatment_plan: "",
1271
   treatment_plan: "",
1238
   doctor:"",
1272
   doctor:"",
1239
   record_number:"",
1273
   record_number:"",
1274
+  patient_source:"",
1240
 };
1275
 };
1241
 
1276
 
1242
 export default {
1277
 export default {
1254
         { id: 6, name: "军队医疗" },
1289
         { id: 6, name: "军队医疗" },
1255
         { id: 7, name: "其他" },
1290
         { id: 7, name: "其他" },
1256
       ],
1291
       ],
1257
-
1292
+      patientSourceList:[
1293
+        {value:1,label:"门诊"},
1294
+        {value:2,label:"住院"},
1295
+        {value:3,label:"请假"},
1296
+        {value:4,label:"备注"}
1297
+      ],
1258
       generic_info_fold: true,
1298
       generic_info_fold: true,
1259
       treat_info_fold: true,
1299
       treat_info_fold: true,
1260
       dialogFormVisible: false,
1300
       dialogFormVisible: false,
1573
               patietInfo.first_treatment_date,
1613
               patietInfo.first_treatment_date,
1574
               "{y}-{m}-{d}"
1614
               "{y}-{m}-{d}"
1575
             );
1615
             );
1616
+            
1617
+            this.form.patient_source = patietInfo.patient_source
1576
 
1618
 
1577
             // this.form.initial = patietInfo.initial_dialysis + "";
1619
             // this.form.initial = patietInfo.initial_dialysis + "";
1578
             // this.form.dialysisTotal = patietInfo.total_dialysis + "";
1620
             // this.form.dialysisTotal = patietInfo.total_dialysis + "";
1861
               }
1903
               }
1862
               this.patientPrint.contagions = printContagions.join("、");
1904
               this.patientPrint.contagions = printContagions.join("、");
1863
             } else {
1905
             } else {
1864
-              this.patientPrint.contagions = "";
1906
+              this.patientPrint.contagions = "阴性";
1865
             }
1907
             }
1866
 
1908
 
1867
             if (diseasesArr.length > 0) {
1909
             if (diseasesArr.length > 0) {
1907
               this.patientPrint.hospital_first_dialysis_date = "";
1949
               this.patientPrint.hospital_first_dialysis_date = "";
1908
             }
1950
             }
1909
 
1951
 
1952
+          
1953
+
1910
             this.checkIdCardNo();
1954
             this.checkIdCardNo();
1911
           } else {
1955
           } else {
1912
             console.log("patient get err state");
1956
             console.log("patient get err state");

+ 49 - 1
src/xt_pages/user/components/PatientForm.vue Прегледај датотеку

394
                 </el-form-item>
394
                 </el-form-item>
395
               </el-col>
395
               </el-col>
396
 
396
 
397
-              <el-col :span="8" style="margin-bottom: 20px;">
397
+              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
398
+                <el-form-item
399
+                  label="患者去向 : "
400
+                >
401
+                  <el-radio-group v-model="form.patient_source">
402
+                    <el-radio
403
+                      v-for="item in patientSourceList"
404
+                      :key="item.value"
405
+                      :label="item.value"
406
+                      :value="item.value"
407
+                      >{{ item.label }}</el-radio
408
+                    >
409
+                  </el-radio-group>
410
+                </el-form-item>
411
+              </el-col>
412
+
413
+              <el-col :span="8" style="margin-bottom: 20px;" :style="isEdit ? 'width:360px' : ''">
398
                 <el-form-item
414
                 <el-form-item
399
                   label="备注 : "
415
                   label="备注 : "
400
                   prop="sch_remark">
416
                   prop="sch_remark">
1061
   troble_shoot:2,
1077
   troble_shoot:2,
1062
   zb_patient_id:"",
1078
   zb_patient_id:"",
1063
   doctor:"",
1079
   doctor:"",
1080
+  patient_source:0,
1064
   formItem: [
1081
   formItem: [
1065
     {
1082
     {
1066
       id: 0,
1083
       id: 0,
1307
       // typeOptions: null,
1324
       // typeOptions: null,
1308
       // styleOptions: null,
1325
       // styleOptions: null,
1309
       sourceOptions: [{ value: 1, label: "门诊" }, { value: 2, label: "住院" }],
1326
       sourceOptions: [{ value: 1, label: "门诊" }, { value: 2, label: "住院" }],
1327
+      patientSourceList:[
1328
+        {value:1,label:"门诊"},
1329
+        {value:2,label:"住院"},
1330
+        {value:3,label:"请假"},
1331
+        {value:4,label:"备注"}
1332
+      ],
1310
       lapsetoOptions: [
1333
       lapsetoOptions: [
1311
         { value: 1, label: "留治" },
1334
         { value: 1, label: "留治" },
1312
         { value: 2, label: "转出" }
1335
         { value: 2, label: "转出" }
1541
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
1564
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
1542
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1565
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1543
             this.form.doctor = parseInt(this.form.doctor)
1566
             this.form.doctor = parseInt(this.form.doctor)
1567
+            if(this.form.patient_source >0){
1568
+              this.form.patient_source = parseInt(this.form.patient_source)
1569
+            }else{
1570
+              this.form.patient_source = 4
1571
+            }
1572
+
1573
+            if(this.form.patient_source == "NaN"){
1574
+              this.form.patient_source = 4
1575
+            }
1576
+            
1577
+          
1578
+            
1544
             if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1579
             if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1545
                this.form.avatar = this.form.avatar
1580
                this.form.avatar = this.form.avatar
1546
             }else{
1581
             }else{
1580
             this.form.age = parseInt(this.form.age);
1615
             this.form.age = parseInt(this.form.age);
1581
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1616
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1582
             this.form.doctor = parseInt(this.form.doctor)
1617
             this.form.doctor = parseInt(this.form.doctor)
1618
+            if(this.form.patient_source >0){
1619
+              this.form.patient_source = parseInt(this.form.patient_source)
1620
+            }else{
1621
+              this.form.patient_source = 4
1622
+            }
1623
+
1624
+            if(this.form.patient_source == "NaN"){
1625
+              this.form.patient_source = 4
1626
+            }
1583
             console.log("form233322332w",this.form)
1627
             console.log("form233322332w",this.form)
1584
 
1628
 
1585
             createPatient(this.form)
1629
             createPatient(this.form)
1911
             if(this.form.doctor == 0){
1955
             if(this.form.doctor == 0){
1912
               this.form.doctor = ""
1956
               this.form.doctor = ""
1913
             }
1957
             }
1958
+
1959
+         
1960
+            this.form.patient_source = patietInfo.patient_source
1961
+            
1914
             this.checkIdCardNo();
1962
             this.checkIdCardNo();
1915
           } else {
1963
           } else {
1916
             this.$notify.error({
1964
             this.$notify.error({

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

852
         '-' +
852
         '-' +
853
         (nowDay < 10 ? '0' + nowDay : nowDay)
853
         (nowDay < 10 ? '0' + nowDay : nowDay)
854
       nowDate.setMonth(nowDate.getMonth() - 1)
854
       nowDate.setMonth(nowDate.getMonth() - 1)
855
-      nowYear = nowDate.getFullYear()
855
+      nowYear = nowDate.getFullYear() -1
856
       nowMonth = nowDate.getMonth() + 1
856
       nowMonth = nowDate.getMonth() + 1
857
       nowDay = nowDate.getDate()
857
       nowDay = nowDate.getDate()
858
       this.start_time =
858
       this.start_time =

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

674
        tableList:[],
674
        tableList:[],
675
        projectList:[],
675
        projectList:[],
676
        inspectionList:[],
676
        inspectionList:[],
677
+       org_id:0
677
       }
678
       }
678
     },
679
     },
679
     created() {
680
     created() {
680
 
681
 
681
       this.patient_id = this.$route.params && this.$route.params.id
682
       this.patient_id = this.$route.params && this.$route.params.id
682
-
683
+      
683
 
684
 
684
       var now = new Date()
685
       var now = new Date()
685
       this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
686
       this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
696
         '-' +
697
         '-' +
697
         (nowDay < 10 ? '0' + nowDay : nowDay)
698
         (nowDay < 10 ? '0' + nowDay : nowDay)
698
       nowDate.setMonth(nowDate.getMonth() - 1)
699
       nowDate.setMonth(nowDate.getMonth() - 1)
699
-      nowYear = nowDate.getFullYear()
700
+      nowYear = nowDate.getFullYear()-1
700
       nowMonth = nowDate.getMonth() + 1
701
       nowMonth = nowDate.getMonth() + 1
701
       nowDay = nowDate.getDate()
702
       nowDay = nowDate.getDate()
702
       this.start_time =
703
       this.start_time =

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

633
         '-' +
633
         '-' +
634
         (nowDay < 10 ? '0' + nowDay : nowDay)
634
         (nowDay < 10 ? '0' + nowDay : nowDay)
635
       nowDate.setMonth(nowDate.getMonth() - 1)
635
       nowDate.setMonth(nowDate.getMonth() - 1)
636
-      nowYear = nowDate.getFullYear()
636
+      nowYear = nowDate.getFullYear()-1
637
       nowMonth = nowDate.getMonth() + 1
637
       nowMonth = nowDate.getMonth() + 1
638
       nowDay = nowDate.getDate()
638
       nowDay = nowDate.getDate()
639
       this.start_time =
639
       this.start_time =

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

253
           </ul>
253
           </ul>
254
         </div>
254
         </div>
255
       </div>
255
       </div>
256
+      <div class="cell clearfix">
257
+        <label class="title"><span class="name">患者去向</span> : </label>
258
+        <div class="time ">
259
+          <ul class="">
260
+            <li
261
+              :class="item.source == patientSoureType ? 'active' : ''"
262
+              @click="selectPatientSource(item.source)"
263
+              v-for="item in patientSourceList"
264
+              :key="item.value"
265
+            >
266
+              {{ item.label }}
267
+            </li>
268
+          </ul>
269
+        </div>
270
+      </div>
256
       <div class="cell clearfix">
271
       <div class="cell clearfix">
257
         <label class="title"><span class="name">其它查询</span> : </label>
272
         <label class="title"><span class="name">其它查询</span> : </label>
258
         <el-select
273
         <el-select
686
           { value: 2, label: '未绑定' }
701
           { value: 2, label: '未绑定' }
687
         ],
702
         ],
688
         sourceType: 0,
703
         sourceType: 0,
704
+        patientSoureType:0,
689
         sourceID: 0,
705
         sourceID: 0,
690
         lapsetoType: 1,
706
         lapsetoType: 1,
691
         sourceArr: [
707
         sourceArr: [
695
           { value: 3, label: '门诊', source: 1, lapseto: 1 },
711
           { value: 3, label: '门诊', source: 1, lapseto: 1 },
696
           { value: 4, label: '住院', source: 2, lapseto: 1 }
712
           { value: 4, label: '住院', source: 2, lapseto: 1 }
697
         ],
713
         ],
714
+        patientSourceList:[
715
+          {value:0,label:"全部",source:0,lapeseto:0},
716
+          {value:1,label:"门诊",source:1,lapeseto:1},
717
+          {value:2,label:"住院",source:2,lapeseto:2},
718
+          {value:3,label:"请假",source:3,lapeseto:3},
719
+          {value:4,label:"备注",source:4,lapeseto:4}
720
+       ],
698
         lapsetoArr: [
721
         lapsetoArr: [
699
           { value: 0, label: '全部', source: 0, lapseto: 0 },
722
           { value: 0, label: '全部', source: 0, lapseto: 0 },
700
           { value: 1, label: '转出', source: 0, lapseto: 2 },
723
           { value: 1, label: '转出', source: 0, lapseto: 2 },
744
           contagion: '',
767
           contagion: '',
745
           reimbursement_way: '',
768
           reimbursement_way: '',
746
           isscheduling: '',
769
           isscheduling: '',
747
-          isprescription: ''
770
+          isprescription: '',
771
+          patientSoureType:'',
748
         },
772
         },
749
         multipleSelection: [],
773
         multipleSelection: [],
750
         bindWechatDialog: false,
774
         bindWechatDialog: false,
1316
         this.listQuery.source = source
1340
         this.listQuery.source = source
1317
         this.getList()
1341
         this.getList()
1318
       },
1342
       },
1343
+      selectPatientSource(source){
1344
+        this.patientSoureType = source
1345
+        this.listQuery.patientSoureType = source
1346
+        this.getList()
1347
+      },
1319
       changeTimeOne(val) {
1348
       changeTimeOne(val) {
1320
         var time = this.getTimestamp(val) - this.end_time
1349
         var time = this.getTimestamp(val) - this.end_time
1321
         if (time > 0) {
1350
         if (time > 0) {
1349
         this.getList()
1378
         this.getList()
1350
       },
1379
       },
1351
       getList() {
1380
       getList() {
1352
-
1381
+         console.log("query23323223wo",this.listQuery)
1353
         fetchList(this.listQuery).then(response => {
1382
         fetchList(this.listQuery).then(response => {
1354
           if (response.data.state === 0) {
1383
           if (response.data.state === 0) {
1355
             this.$message.error(response.data.msg)
1384
             this.$message.error(response.data.msg)

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

209
       "-" +
209
       "-" +
210
       (nowDay < 10 ? "0" + nowDay : nowDay);
210
       (nowDay < 10 ? "0" + nowDay : nowDay);
211
     nowDate.setMonth(nowDate.getMonth() - 1);
211
     nowDate.setMonth(nowDate.getMonth() - 1);
212
-    nowYear = nowDate.getFullYear();
212
+    nowYear = nowDate.getFullYear()-1;
213
     nowMonth = nowDate.getMonth() + 1;
213
     nowMonth = nowDate.getMonth() + 1;
214
     nowDay = nowDate.getDate();
214
     nowDay = nowDate.getDate();
215
     this.start_time =
215
     this.start_time =

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

987
         '-' +
987
         '-' +
988
         (nowDay < 10 ? '0' + nowDay : nowDay)
988
         (nowDay < 10 ? '0' + nowDay : nowDay)
989
       nowDate.setMonth(nowDate.getMonth() - 1)
989
       nowDate.setMonth(nowDate.getMonth() - 1)
990
-      nowYear = nowDate.getFullYear()
990
+      nowYear = nowDate.getFullYear()-1
991
       nowMonth = nowDate.getMonth() + 1
991
       nowMonth = nowDate.getMonth() + 1
992
       nowDay = nowDate.getDate()
992
       nowDay = nowDate.getDate()
993
       this.start_time =
993
       this.start_time =