XMLWAN пре 2 година
родитељ
комит
f1c880ae2a

+ 1 - 1
src/lang/zh.js Прегледај датотеку

143
     goodReturnQuery: '退货单',
143
     goodReturnQuery: '退货单',
144
     addPurchaseOrder: '新增采购订单',
144
     addPurchaseOrder: '新增采购订单',
145
     workforce_template: '排班模板设置',
145
     workforce_template: '排班模板设置',
146
-    statistics: '统计分析',
146
+    statistics: '明细汇总统计',
147
     statisticalConfig: '统计配置',
147
     statisticalConfig: '统计配置',
148
     basicInformationAnalysis: '基本信息统计',
148
     basicInformationAnalysis: '基本信息统计',
149
     patientControlAnalysis: '患者质控达标统计',
149
     patientControlAnalysis: '患者质控达标统计',

+ 6 - 5
src/xt_pages/data/basicConfig.vue Прегледај датотеку

151
             if(response.data.data.is_prescription_advice == 1){
151
             if(response.data.data.is_prescription_advice == 1){
152
                this.is_open_prescription_xt_his = true
152
                this.is_open_prescription_xt_his = true
153
             }else{
153
             }else{
154
-              this.is_open_advice_xt_his = false
154
+              this.is_open_prescription_xt_his = false
155
             }
155
             }
156
 
156
 
157
           } else {
157
           } else {
359
       })
359
       })
360
     },
360
     },
361
     changeFuncSeven(){
361
     changeFuncSeven(){
362
-      var is_open_prescription_xt_his = 2
363
-      if(this.is_open_advice_xt_his == false){
362
+      var is_open_prescription_xt_his = 0
363
+      if(this.is_open_prescription_xt_his == false){
364
         is_open_prescription_xt_his = 2
364
         is_open_prescription_xt_his = 2
365
       }
365
       }
366
-      if(this.is_open_advice_xt_his == true){
367
-        is_open_prescription_xt_his = 2
366
+      if(this.is_open_prescription_xt_his == true){
367
+        is_open_prescription_xt_his = 1
368
       }
368
       }
369
       var params = {
369
       var params = {
370
         is_open_prescription_xt_his:is_open_prescription_xt_his,
370
         is_open_prescription_xt_his:is_open_prescription_xt_his,
371
       }
371
       }
372
+      console.log("param22332323232",params)
372
       changePrescriptionConfig(params).then(response=>{
373
       changePrescriptionConfig(params).then(response=>{
373
           if(response.data.state == 1){
374
           if(response.data.state == 1){
374
             var msg =  response.data.data.msg
375
             var msg =  response.data.data.msg

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

324
      })
324
      })
325
     },
325
     },
326
     getAllPice(){
326
     getAllPice(){
327
-    //  console.log("表哥233323232323223",this.tableData)
328
       var total_price = 0
327
       var total_price = 0
329
       for(let i=0;i<this.tableData.length;i++){
328
       for(let i=0;i<this.tableData.length;i++){
330
-        if(this.tableData[i].index =="合计"){
331
-          total_price = this.tableData[i].total_price
332
-        }
329
+        total_price += this.tableData[i].pric * this.tableData[i].cnt
333
       }
330
       }
334
-      return total_price
331
+      return total_price.toFixed(2)
335
     },
332
     },
336
     getActPay(){
333
     getActPay(){
337
-      // console.log("list2332323232323232",this.list)
338
       var act_pay = 0
334
       var act_pay = 0
339
       for(let i=0;i<this.list.length;i++){
335
       for(let i=0;i<this.list.length;i++){
340
         for(let j=0;j<this.list[i].orders.length;j++){
336
         for(let j=0;j<this.list[i].orders.length;j++){

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

126
     return {
126
     return {
127
       crumbs: [
127
       crumbs: [
128
         { path: false, name: "质控管理" },
128
         { path: false, name: "质控管理" },
129
-        { path: false, name: "统计分析" }
129
+        { path: false, name: "明细汇总统计" }
130
       ],
130
       ],
131
       pageLoad: true,
131
       pageLoad: true,
132
       patientCount: 0,
132
       patientCount: 0,