|
@@ -3,7 +3,7 @@
|
3
|
3
|
<el-table v-if="activeType == 1" :data="prescription.advices" border style="width: 99%;"
|
4
|
4
|
:row-style="{ color: '#303133' }"
|
5
|
5
|
:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
6
|
|
- <el-table-column align="center" prop="day" width="70" label="序号">
|
|
6
|
+ <el-table-column align="center" prop="day" width="70" label="序号" fixed>
|
7
|
7
|
<template slot-scope="scope">
|
8
|
8
|
<div style="display:flex;align-items:center;">
|
9
|
9
|
<el-input :disabled="prescription.is_medicine_status" v-model="scope.row.groupno" placeholder=""></el-input>
|
|
@@ -12,7 +12,7 @@
|
12
|
12
|
</el-table-column>
|
13
|
13
|
|
14
|
14
|
|
15
|
|
- <el-table-column align="center" prop="drug_name" label="名称">
|
|
15
|
+ <el-table-column align="center" prop="drug_name" label="名称" fixed>
|
16
|
16
|
<template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
|
17
|
17
|
</template>
|
18
|
18
|
</el-table-column>
|
|
@@ -61,7 +61,6 @@
|
61
|
61
|
</template>
|
62
|
62
|
</el-table-column>
|
63
|
63
|
|
64
|
|
-
|
65
|
64
|
<el-table-column align="center" prop="day" width="70" label="天数">
|
66
|
65
|
<template slot-scope="scope">
|
67
|
66
|
<div style="display:flex;align-items:center;">
|
|
@@ -132,7 +131,7 @@
|
132
|
131
|
<el-input :disabled="prescription.is_medicine_status" v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
|
133
|
132
|
</template>
|
134
|
133
|
</el-table-column>
|
135
|
|
- <el-table-column align="center" width="40" prop="name" label="操作">
|
|
134
|
+ <el-table-column align="center" width="40" prop="name" label="操作" fixed="right">
|
136
|
135
|
<template slot-scope="scope">
|
137
|
136
|
<i class="el-icon-delete" @click="deleteDrug(scope.$index, scope.row)"></i>
|
138
|
137
|
</template>
|
|
@@ -142,8 +141,8 @@
|
142
|
141
|
<el-table v-if="activeType == 2" :data="prescription.project" border style="width: 99%;"
|
143
|
142
|
:row-style="{ color: '#303133' }"
|
144
|
143
|
:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
145
|
|
- <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
146
|
|
- <el-table-column align="center" prop="project_name" label="名称">
|
|
144
|
+ <el-table-column align="center" type="index" width="40" label="序号" fixed></el-table-column>
|
|
145
|
+ <el-table-column align="center" prop="project_name" label="名称" fixed>
|
147
|
146
|
<template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
|
148
|
147
|
</template>
|
149
|
148
|
</el-table-column>
|
|
@@ -218,7 +217,7 @@
|
218
|
217
|
<el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
|
219
|
218
|
</template>
|
220
|
219
|
</el-table-column>
|
221
|
|
- <el-table-column align="center" width="40" prop="name" label="操作">
|
|
220
|
+ <el-table-column align="center" width="40" prop="name" label="操作" fixed="right">
|
222
|
221
|
<template slot-scope="scope">
|
223
|
222
|
<i class="el-icon-delete" @click="deleteProject(scope.row,scope.$index)"></i>
|
224
|
223
|
</template>
|