XMLWAN 4 years ago
parent
commit
8823c7f52e

+ 4 - 0
src/xt_pages/data/components/addProject.vue View File

367
             }
367
             }
368
           })
368
           })
369
        }
369
        }
370
+    },
371
+    created(){
372
+       var statistics =   getDictionaryDataConfig('system','statistics_category')
373
+       console.log("#333333333",statistics)
370
     }
374
     }
371
 }
375
 }
372
 </script>
376
 </script>

+ 5 - 2
src/xt_pages/data/components/editInspection.vue View File

64
             <el-form>
64
             <el-form>
65
                 <el-table :data="tableData" border  style="100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row ref="tab">
65
                 <el-table :data="tableData" border  style="100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row ref="tab">
66
                     <el-table-column align="center" prop="name" label="分类" width="120">
66
                     <el-table-column align="center" prop="name" label="分类" width="120">
67
-                        <template slot-scope="scope">{{getId(scope.row.cost_classify)}}</template>
67
+                        <template slot-scope="scope">{{getId(scope.row.statistical_classification)}}</template>
68
                     </el-table-column>
68
                     </el-table-column>
69
                     <el-table-column align="center" prop="name" label="组套明细" width="120">
69
                     <el-table-column align="center" prop="name" label="组套明细" width="120">
70
                         <template slot-scope="scope">{{scope.row.project_name}}</template>
70
                         <template slot-scope="scope">{{scope.row.project_name}}</template>
190
                        }
190
                        }
191
                    }
191
                    }
192
                  }
192
                  }
193
-                 console.log("数据222222",list)
193
+                
194
                  var strArr = []
194
                  var strArr = []
195
                  for(let i=0;i<arr.length;i++){
195
                  for(let i=0;i<arr.length;i++){
196
                    for(let j=0;j<list.length;j++){
196
                    for(let j=0;j<list.length;j++){
199
                       }
199
                       }
200
                    }
200
                    }
201
                  }
201
                  }
202
+                 console.log("数据222222",strArr)
202
                  this.tableData = strArr
203
                  this.tableData = strArr
203
                
204
                
204
                
205
                
260
           })   
261
           })   
261
         },
262
         },
262
         getId(id){
263
         getId(id){
264
+          console.log("id",id)
263
           var name = ""
265
           var name = ""
264
           var statistics_category =  getDictionaryDataConfig('system','statistics_category') 
266
           var statistics_category =  getDictionaryDataConfig('system','statistics_category') 
267
+          console.log("statics",statistics_category)
265
           for(let i=0;i<statistics_category.length;i++){
268
           for(let i=0;i<statistics_category.length;i++){
266
              if(id == statistics_category[i].id){
269
              if(id == statistics_category[i].id){
267
                  name = statistics_category[i].name
270
                  name = statistics_category[i].name

+ 3 - 0
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

379
     },mounted(){
379
     },mounted(){
380
       this.getInitData()
380
       this.getInitData()
381
     },
381
     },
382
+    created(){
383
+      console.log("数据元",this.prescription)
384
+    }
382
   }
385
   }
383
 </script>
386
 </script>
384
 
387