csx преди 6 години
родител
ревизия
8adf6cf518
променени са 2 файла, в които са добавени 9 реда и са изтрити 7 реда
  1. 5 3
      src/xt_pages/data/druguseTemplate.vue
  2. 4 4
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue

+ 5 - 3
src/xt_pages/data/druguseTemplate.vue Целия файл

@@ -468,7 +468,7 @@
468 468
                     </el-select>
469 469
                   </el-form-item>
470 470
                 </el-col>
471
-             
471
+
472 472
                 <el-col :span="12" v-if="templateFormEdit.parent_id == 0">
473 473
                   <el-form-item label="执行频率 :" prop="execution_frequency">
474 474
                     <el-select
@@ -566,7 +566,7 @@
566 566
               <el-row>
567 567
                 <el-col :span="12">
568 568
                   <el-form-item label="医嘱内容 :" required prop="advice_name">
569
-                    <el-input v-model="templateForm.advice_name" ></el-input> 
569
+                    <el-input v-model="templateForm.advice_name" ></el-input>
570 570
                   </el-form-item>
571 571
                 </el-col>
572 572
                 <el-col :span="12">
@@ -1071,7 +1071,9 @@
1071 1071
           name: [{required: true, message: "请填写执行频率"}]
1072 1072
         },
1073 1073
         templateRules: {
1074
-          advice_name: [{required: true, message: "请填写医嘱内容"}]
1074
+          advice_name: [{required: true, message: "请填写医嘱内容"}],
1075
+          advice_desc: [{required: true, message: "请填写规格"}]
1076
+
1075 1077
         },
1076 1078
         templateEditRules: {
1077 1079
           advice_name: [{required: true, message: "请填写医嘱内容"}]

+ 4 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Целия файл

@@ -8,7 +8,7 @@
8 8
           <el-button round @click="deleteRecordAction">删除监测</el-button>
9 9
 
10 10
         </div>
11
-        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table" :data="monitors" border highlight-current-row 
11
+        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table" :data="monitors" border highlight-current-row
12 12
                   @current-change="tableCurrentRowChange" style="width: 100%" :class="current_row_class">
13 13
           <el-table-column label="时间" align="center" width="144">
14 14
             <template slot-scope="scope">
@@ -79,8 +79,8 @@
79 79
         </el-table>
80 80
       </div>
81 81
 
82
-      <div v-show="edit">
83
-        <el-form ref="form" :model="form" label-width="130px">
82
+      <!--<div v-show="edit">-->
83
+        <el-form   v-show="edit" ref="form" :model="form" label-width="130px" >
84 84
           <el-row :gutter="20">
85 85
             <el-col :span="8">
86 86
               <el-form-item label="监测时间:">
@@ -245,7 +245,7 @@
245 245
               <el-button @click="cancelEditAction">取 消</el-button>
246 246
               <el-button type="primary" @click="submitAction">保 存</el-button>
247 247
         </div>
248
-      </div>
248
+      <!--</div>-->
249 249
     </el-dialog>
250 250
   </div>
251 251
 </template>