|
@@ -1,6 +1,6 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="prescriptionTable">
|
3
|
|
- <el-table v-if="activeType == '1'" :data="preDrugs" border style="width: 98%;" :row-style="{ color: '#303133' }"
|
|
3
|
+ <el-table v-if="activeType == '1'" :data="prescription.advice" border style="width: 98%;" :row-style="{ color: '#303133' }"
|
4
|
4
|
:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
5
|
5
|
<el-table-column align="center" type="selection" width="40"></el-table-column>
|
6
|
6
|
<el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
|
@@ -78,7 +78,7 @@
|
78
|
78
|
</template>
|
79
|
79
|
</el-table-column>
|
80
|
80
|
</el-table>
|
81
|
|
- <el-table v-if="activeType == '2'" :data="preDrugs" border style="width: 98%;" :row-style="{ color: '#303133' }"
|
|
81
|
+ <el-table v-if="activeType == '2'" :data="prescription.project" border style="width: 98%;" :row-style="{ color: '#303133' }"
|
82
|
82
|
:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
83
|
83
|
<el-table-column align="center" type="selection" width="40"></el-table-column>
|
84
|
84
|
<el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
|
@@ -188,7 +188,8 @@
|
188
|
188
|
export default {
|
189
|
189
|
props: {
|
190
|
190
|
preDrugs: Array,
|
191
|
|
- activeType: String
|
|
191
|
+ activeType: String,
|
|
192
|
+ prescription:Object,
|
192
|
193
|
},
|
193
|
194
|
data() {
|
194
|
195
|
return {
|