|
@@ -24,110 +24,110 @@
|
24
|
24
|
<div v-for="(item,index) in allPrescription" :key="index">
|
25
|
25
|
<div>{{item.title}}</div>
|
26
|
26
|
<el-checkbox-group v-model="item.check_group">
|
27
|
|
- <el-checkbox label="复选框 A" v-for="(subItem,index2) in item.prescriptions" :key="index2" :label="subItem.id">
|
|
27
|
+ <div v-for="(subItem,index2) in item.prescriptions" :key="index2" >
|
|
28
|
+ <el-checkbox :label="subItem.id" :name='index2'>123{{ index2 }}</el-checkbox>
|
28
|
29
|
<el-table v-if="subItem.type == 1" :data="subItem.advices" border style="width: 99%;" :row-style="{ color: '#303133' }"
|
29
|
|
- :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
30
|
|
- <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
31
|
|
- <el-table-column align="center" prop="drug_name" label="名称">
|
32
|
|
- <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span></template>
|
33
|
|
- </el-table-column>
|
|
30
|
+ :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
|
31
|
+ <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
|
32
|
+ <el-table-column align="center" prop="drug_name" label="名称">
|
|
33
|
+ <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span></template>
|
|
34
|
+ </el-table-column>
|
34
|
35
|
|
35
|
|
- <el-table-column align="center" prop="single_dose" width="90" label="单次用量">
|
36
|
|
- <template slot-scope="scope">
|
37
|
|
- <div style="display:flex;align-items:center;">
|
38
|
|
- <el-input v-model="scope.row.single_dose" style="width:65%;"></el-input>
|
39
|
|
- <div>{{scope.row.single_dose_unit}}</div>
|
40
|
|
- </div>
|
41
|
|
- </template>
|
42
|
|
- </el-table-column>
|
43
|
|
- <el-table-column align="center" prop="delivery_way" width="100" label="用法">
|
44
|
|
- <template slot-scope="scope">
|
45
|
|
- {{scope.row.delivery_way}}
|
46
|
|
- </template>
|
47
|
|
- </el-table-column>
|
48
|
|
- <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
|
49
|
|
- <template slot-scope="scope">
|
50
|
|
- {{scope.row.execution_frequency}}
|
51
|
|
- </template>
|
52
|
|
- </el-table-column>
|
|
36
|
+ <el-table-column align="center" prop="single_dose" width="90" label="单次用量">
|
|
37
|
+ <template slot-scope="scope">
|
|
38
|
+ <div style="display:flex;align-items:center;">
|
|
39
|
+ <el-input v-model="scope.row.single_dose" style="width:65%;"></el-input>
|
|
40
|
+ <div>{{scope.row.single_dose_unit}}</div>
|
|
41
|
+ </div>
|
|
42
|
+ </template>
|
|
43
|
+ </el-table-column>
|
|
44
|
+ <el-table-column align="center" prop="delivery_way" width="100" label="用法">
|
|
45
|
+ <template slot-scope="scope">
|
|
46
|
+ {{scope.row.delivery_way}}
|
|
47
|
+ </template>
|
|
48
|
+ </el-table-column>
|
|
49
|
+ <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
|
|
50
|
+ <template slot-scope="scope">
|
|
51
|
+ {{scope.row.execution_frequency}}
|
|
52
|
+ </template>
|
|
53
|
+ </el-table-column>
|
53
|
54
|
|
54
|
55
|
|
55
|
|
- <el-table-column align="center" prop="day" width="50" label="天数">
|
56
|
|
- <template slot-scope="scope">
|
57
|
|
- <el-input v-model="scope.row.day" placeholder=""></el-input>
|
58
|
|
- </template>
|
59
|
|
- </el-table-column>
|
|
56
|
+ <el-table-column align="center" prop="day" width="50" label="天数">
|
|
57
|
+ <template slot-scope="scope">
|
|
58
|
+ <el-input v-model="scope.row.day" placeholder=""></el-input>
|
|
59
|
+ </template>
|
|
60
|
+ </el-table-column>
|
60
|
61
|
|
61
|
|
- <el-table-column align="center" prop="prescribing_number" width="80" label="总量">
|
62
|
|
- <template slot-scope="scope">
|
63
|
|
- <div style="display:flex;align-items:center;">
|
64
|
|
- <el-input v-model="scope.row.prescribing_number" style="width:60%" placeholder=""></el-input>
|
65
|
|
- <div> {{scope.row.prescribing_number_unit}}</div>
|
66
|
|
- </div>
|
67
|
|
- </template>
|
68
|
|
- </el-table-column>
|
69
|
|
- <el-table-column align="center" prop="retail_price" width="60" label="单价">
|
70
|
|
- <template slot-scope="scope">
|
71
|
|
- <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
|
72
|
|
- </template>
|
73
|
|
- </el-table-column>
|
74
|
|
- <el-table-column align="center" prop="remark" width="50" label="备注">
|
75
|
|
- <template slot-scope="scope">
|
76
|
|
- <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
|
77
|
|
- </template>
|
78
|
|
- </el-table-column>
|
79
|
|
- </el-table>
|
|
62
|
+ <el-table-column align="center" prop="prescribing_number" width="80" label="总量">
|
|
63
|
+ <template slot-scope="scope">
|
|
64
|
+ <div style="display:flex;align-items:center;">
|
|
65
|
+ <el-input v-model="scope.row.prescribing_number" style="width:60%" placeholder=""></el-input>
|
|
66
|
+ <div> {{scope.row.prescribing_number_unit}}</div>
|
|
67
|
+ </div>
|
|
68
|
+ </template>
|
|
69
|
+ </el-table-column>
|
|
70
|
+ <el-table-column align="center" prop="retail_price" width="60" label="单价">
|
|
71
|
+ <template slot-scope="scope">
|
|
72
|
+ <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
|
|
73
|
+ </template>
|
|
74
|
+ </el-table-column>
|
|
75
|
+ <el-table-column align="center" prop="remark" width="50" label="备注">
|
|
76
|
+ <template slot-scope="scope">
|
|
77
|
+ <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
|
|
78
|
+ </template>
|
|
79
|
+ </el-table-column>
|
|
80
|
+ </el-table>
|
80
|
81
|
|
81
|
|
- <el-table v-if="subItem.type == 2" :data="subItem.project" border style="width: 99%;" :row-style="{ color: '#303133' }"
|
82
|
|
- :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
83
|
|
- <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
84
|
|
- <el-table-column align="center" prop="project_name" label="名称">
|
85
|
|
- <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span></template>
|
86
|
|
- </el-table-column>
|
87
|
|
- <el-table-column align="center" prop="statistical_classification" width="100" label="组">
|
88
|
|
- <template slot-scope="scope">{{getGroup(scope.row.statistical_classification)}}</template>
|
89
|
|
- </el-table-column>
|
90
|
|
- <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
|
91
|
|
- <template slot-scope="scope">
|
92
|
|
- <el-input v-model="scope.row.single_dose" placeholder=""></el-input>
|
93
|
|
- </template>
|
94
|
|
- </el-table-column>
|
95
|
|
- <el-table-column align="center" prop="delivery_way" width="80" label="用法">
|
96
|
|
- <template slot-scope="scope">
|
97
|
|
- <el-input v-model="scope.row.delivery_way" placeholder=""></el-input>
|
98
|
|
- </template>
|
99
|
|
- </el-table-column>
|
100
|
|
- <el-table-column align="center" prop="execution_frequency" width="80" label="频率">
|
101
|
|
- <template slot-scope="scope">
|
102
|
|
- <el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>
|
103
|
|
- </template>
|
104
|
|
- </el-table-column>
|
105
|
|
- <el-table-column align="center" prop="number_days" width="50" label="天数">
|
106
|
|
- <template slot-scope="scope">
|
107
|
|
- <el-input v-model="scope.row.number_days" placeholder=""></el-input>
|
108
|
|
- </template>
|
109
|
|
- </el-table-column>
|
110
|
|
- <el-table-column align="center" prop="total" width="70" label="总量">
|
111
|
|
- <template slot-scope="scope">
|
112
|
|
- <div style="display:flex;align-items:center;">
|
113
|
|
- <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
|
114
|
|
- <div>{{scope.row.unit}}</div>
|
115
|
|
- </div>
|
116
|
|
- </template>
|
117
|
|
- </el-table-column>
|
118
|
|
- <el-table-column align="center" prop="name" width="50" label="单价">
|
119
|
|
- <template slot-scope="scope">
|
120
|
|
- <el-input v-model="scope.row.price" placeholder="" readonly></el-input>
|
121
|
|
- </template>
|
122
|
|
- </el-table-column>
|
123
|
|
- <el-table-column align="center" prop="name" width="50" label="备注">
|
124
|
|
- <template slot-scope="scope">
|
125
|
|
- <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
|
126
|
|
- </template>
|
127
|
|
- </el-table-column>
|
128
|
|
- </el-table>
|
129
|
|
-
|
130
|
|
- </el-checkbox>
|
|
82
|
+ <el-table v-if="subItem.type == 2" :data="subItem.project" border style="width: 99%;" :row-style="{ color: '#303133' }"
|
|
83
|
+ :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
|
84
|
+ <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
|
85
|
+ <el-table-column align="center" prop="project_name" label="名称">
|
|
86
|
+ <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span></template>
|
|
87
|
+ </el-table-column>
|
|
88
|
+ <el-table-column align="center" prop="statistical_classification" width="100" label="组">
|
|
89
|
+ <template slot-scope="scope">{{getGroup(scope.row.statistical_classification)}}</template>
|
|
90
|
+ </el-table-column>
|
|
91
|
+ <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
|
|
92
|
+ <template slot-scope="scope">
|
|
93
|
+ <el-input v-model="scope.row.single_dose" placeholder=""></el-input>
|
|
94
|
+ </template>
|
|
95
|
+ </el-table-column>
|
|
96
|
+ <el-table-column align="center" prop="delivery_way" width="80" label="用法">
|
|
97
|
+ <template slot-scope="scope">
|
|
98
|
+ <el-input v-model="scope.row.delivery_way" placeholder=""></el-input>
|
|
99
|
+ </template>
|
|
100
|
+ </el-table-column>
|
|
101
|
+ <el-table-column align="center" prop="execution_frequency" width="80" label="频率">
|
|
102
|
+ <template slot-scope="scope">
|
|
103
|
+ <el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>
|
|
104
|
+ </template>
|
|
105
|
+ </el-table-column>
|
|
106
|
+ <el-table-column align="center" prop="number_days" width="50" label="天数">
|
|
107
|
+ <template slot-scope="scope">
|
|
108
|
+ <el-input v-model="scope.row.number_days" placeholder=""></el-input>
|
|
109
|
+ </template>
|
|
110
|
+ </el-table-column>
|
|
111
|
+ <el-table-column align="center" prop="total" width="70" label="总量">
|
|
112
|
+ <template slot-scope="scope">
|
|
113
|
+ <div style="display:flex;align-items:center;">
|
|
114
|
+ <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
|
|
115
|
+ <div>{{scope.row.unit}}</div>
|
|
116
|
+ </div>
|
|
117
|
+ </template>
|
|
118
|
+ </el-table-column>
|
|
119
|
+ <el-table-column align="center" prop="name" width="50" label="单价">
|
|
120
|
+ <template slot-scope="scope">
|
|
121
|
+ <el-input v-model="scope.row.price" placeholder="" readonly></el-input>
|
|
122
|
+ </template>
|
|
123
|
+ </el-table-column>
|
|
124
|
+ <el-table-column align="center" prop="name" width="50" label="备注">
|
|
125
|
+ <template slot-scope="scope">
|
|
126
|
+ <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
|
|
127
|
+ </template>
|
|
128
|
+ </el-table-column>
|
|
129
|
+ </el-table>
|
|
130
|
+ </div>
|
131
|
131
|
</el-checkbox-group>
|
132
|
132
|
|
133
|
133
|
</div>
|