|
@@ -1,19 +1,18 @@
|
1
|
1
|
<template>
|
2
|
2
|
<el-dialog
|
3
|
|
- title="长期处方模版"
|
4
|
|
- width="600px"
|
5
|
|
- :visible.sync="visible"
|
6
|
|
- :before-close="_close"
|
|
3
|
+ title="长期处方模版"
|
|
4
|
+ width="1200px"
|
|
5
|
+ :visible.sync="visible"
|
|
6
|
+ :before-close="_close"
|
7
|
7
|
>
|
8
|
8
|
<div>
|
9
|
|
- <el-form :model="form" class="adviceForm" :rules="rules" ref="form" label-width="100px"
|
10
|
|
- >
|
|
9
|
+ <el-form :model="form" class="adviceForm" :rules="rules" ref="form" label-width="90px">
|
11
|
10
|
|
12
|
11
|
<el-form-item label="模板名称:" prop="name" style="width: 100%;margin-bottom:0;">
|
13
|
12
|
<el-input v-model="form.name" placeholder=""></el-input>
|
14
|
13
|
</el-form-item>
|
15
|
14
|
|
16
|
|
- <el-form-item label="透析模式 : " style="width: 100%;margin-top: 20px" prop="mode">
|
|
15
|
+ <el-form-item label="透析模式:" style="width: 100%;margin-top: 20px" prop="mode">
|
17
|
16
|
<el-select v-model="form.mode" style="width:100%;" placeholder="请选择">
|
18
|
17
|
<el-option
|
19
|
18
|
v-for="item in modeOptions"
|
|
@@ -28,7 +27,7 @@
|
28
|
27
|
|
29
|
28
|
<div v-for="(item,index) in allPrescription" :key="index">
|
30
|
29
|
<div v-for="(subItem,index2) in item.prescriptions" :key="index2">
|
31
|
|
- <el-table v-if="subItem.advices.length > 0" :data="subItem.advices" border style="width: 99%;"
|
|
30
|
+ <el-table v-if="subItem.advices.length > 0" :data="subItem.advices" border
|
32
|
31
|
:row-style="{ color: '#303133' }"
|
33
|
32
|
:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
|
34
|
33
|
highlight-current-row>
|