Przeglądaj źródła

3月30日杨青

杨青 2 lat temu
rodzic
commit
5f228cf481

+ 1 - 1
src/router/modules/device.js Wyświetl plik

@@ -50,7 +50,7 @@ export default {
50 50
     },
51 51
     {
52 52
       path: '/device/airDisinfect',
53
-      component: () => import('@/xt_pages/device/airDisinfect'),
53
+      component: () => import('@/xt_pages/device/airDisinfectTwo'),
54 54
       name: 'airDisinfect',
55 55
       meta: {
56 56
         title: 'airDisinfect',

+ 6 - 4
src/xt_pages/device/airDisinfect.vue Wyświetl plik

@@ -5,8 +5,9 @@
5 5
     </div>
6 6
     <div class="app-container">
7 7
         <div style="float:right;margin-bottom:10px;">
8
-            <el-button type="primary" @click="dialogFormVisible = true">新增</el-button>
9
-            <!-- <el-button type="danger">删除</el-button> -->
8
+          <!-- <el-button type="primary" @click="dialogFormVisible = true">打印</el-button> -->
9
+          <el-button type="primary" @click="dialogFormVisible = true">新增</el-button>
10
+            
10 11
         </div>
11 12
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" >
12 13
             <el-table-column type="selection" width="55" align="center"></el-table-column>
@@ -191,8 +192,7 @@
191 192
                 <el-button type="primary" @click="saveAirDisinfect('form')">保 存</el-button>
192 193
             </div>
193 194
         </el-dialog>
194
-
195
-       
195
+ 
196 196
       <el-dialog
197 197
         class="centerDialog"
198 198
         width="1000px"
@@ -312,8 +312,10 @@
312 312
           { path: false, name: '院感管理' },
313 313
           { path: false, name: '透析室空气消毒记录表' }
314 314
         ],
315
+
315 316
         dialogFormVisible:false,
316 317
         editDialogFormVisible:false,
318
+        datevalue:'',
317 319
         tableData: [],
318 320
         form: {
319 321
           id:0,

+ 8 - 8
src/xt_pages/user/components/PatientForm.vue Wyświetl plik

@@ -1196,13 +1196,13 @@ export default {
1196 1196
     }
1197 1197
   },
1198 1198
   data() {
1199
-    var checkName = (rule, value, callback) => {
1200
-      const regName=/^([\u4E00-\u9FA5]{1,20}|[a-zA-Z\.\s])$/;
1201
-      if (regName.test(value)){
1202
-        return callback();
1203
-      }
1204
-      callback(new Error("请输入正确的名字"));
1205
-    };
1199
+    // var checkName = (rule, value, callback) => {
1200
+    //   const regName=/^([\u4E00-\u9FA5]{1,20}|[a-zA-Z\.\s])$/;
1201
+    //   if (regName.test(value)){
1202
+    //     return callback();
1203
+    //   }
1204
+    //   callback(new Error("请输入正确的名字"));
1205
+    // };
1206 1206
     var checkage = (rule, value, callback) =>{
1207 1207
       const regage=/^(?:[1-9][0-9]?|1[01][0-9]|120)$/
1208 1208
         if(regage.test(value)){
@@ -1346,7 +1346,7 @@ export default {
1346 1346
           { required: true, message: "请选择治疗状态", trigger: "blur" }
1347 1347
         ],
1348 1348
         name: [{ required: true, message: "请填写姓名", trigger: "blur" },
1349
-        { validator: checkName,min:2,max:5, message: '请输入正确的名字', trigger: 'blur'}
1349
+        // { validator: checkName,min:2,max:5, message: '请输入正确的名字', trigger: 'blur'}
1350 1350
         ],
1351 1351
         gender: [{ required: true, message: "请选择性别", trigger: "blur" }],
1352 1352
         idCardNo: [

+ 6 - 3
src/xt_pages/workforce/components/template_table.vue Wyświetl plik

@@ -2,7 +2,7 @@
2 2
   <div  >
3 3
     <div id="tem_table_data" v-show="schedulingTableVisible">
4 4
       <slot></slot>
5
-      <div class="table_contain">
5
+      <div class="table_contain temtable_contain">
6 6
         <div class="left_contain">
7 7
           <div
8 8
             class="cell clearfix"
@@ -108,7 +108,7 @@
108 108
             :data="opera_device_numbers"
109 109
             :span-method="spanMethod"
110 110
             show-summary
111
-            height="675"
111
+            height="750"
112 112
             style="width: 100%; cursor: pointer"
113 113
             :cell-class-name="cellClass"
114 114
             :row-class-name="rowClass"
@@ -4553,7 +4553,7 @@ export default {
4553 4553
 <style lang="scss">
4554 4554
 .table_contain {
4555 4555
   display: flex;
4556
-  margin-top: 30px;
4556
+  
4557 4557
 .left_contain {
4558 4558
   width: 14%;
4559 4559
   margin-right: 50px;
@@ -4605,6 +4605,9 @@ export default {
4605 4605
 //     padding: 5px 0 !important;
4606 4606
 // }
4607 4607
 }
4608
+.temtable_contain{
4609
+  margin-top: 30px !important;
4610
+}
4608 4611
 .infectious{
4609 4612
   color: red !important;
4610 4613
 }