XMLWAN 4 年前
父节点
当前提交
8823c7f52e

+ 4 - 0
src/xt_pages/data/components/addProject.vue 查看文件

@@ -367,6 +367,10 @@ export default {
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 376
 </script>

+ 5 - 2
src/xt_pages/data/components/editInspection.vue 查看文件

@@ -64,7 +64,7 @@
64 64
             <el-form>
65 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 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 68
                     </el-table-column>
69 69
                     <el-table-column align="center" prop="name" label="组套明细" width="120">
70 70
                         <template slot-scope="scope">{{scope.row.project_name}}</template>
@@ -190,7 +190,7 @@ export default {
190 190
                        }
191 191
                    }
192 192
                  }
193
-                 console.log("数据222222",list)
193
+                
194 194
                  var strArr = []
195 195
                  for(let i=0;i<arr.length;i++){
196 196
                    for(let j=0;j<list.length;j++){
@@ -199,6 +199,7 @@ export default {
199 199
                       }
200 200
                    }
201 201
                  }
202
+                 console.log("数据222222",strArr)
202 203
                  this.tableData = strArr
203 204
                
204 205
                
@@ -260,8 +261,10 @@ export default {
260 261
           })   
261 262
         },
262 263
         getId(id){
264
+          console.log("id",id)
263 265
           var name = ""
264 266
           var statistics_category =  getDictionaryDataConfig('system','statistics_category') 
267
+          console.log("statics",statistics_category)
265 268
           for(let i=0;i<statistics_category.length;i++){
266 269
              if(id == statistics_category[i].id){
267 270
                  name = statistics_category[i].name

+ 3 - 0
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue 查看文件

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