Browse Source

3月30日杨青

杨青 2 years ago
parent
commit
5f228cf481

+ 1 - 1
src/router/modules/device.js View File

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

+ 6 - 4
src/xt_pages/device/airDisinfect.vue View File

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

+ 8 - 8
src/xt_pages/user/components/PatientForm.vue View File

1196
     }
1196
     }
1197
   },
1197
   },
1198
   data() {
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
     var checkage = (rule, value, callback) =>{
1206
     var checkage = (rule, value, callback) =>{
1207
       const regage=/^(?:[1-9][0-9]?|1[01][0-9]|120)$/
1207
       const regage=/^(?:[1-9][0-9]?|1[01][0-9]|120)$/
1208
         if(regage.test(value)){
1208
         if(regage.test(value)){
1346
           { required: true, message: "请选择治疗状态", trigger: "blur" }
1346
           { required: true, message: "请选择治疗状态", trigger: "blur" }
1347
         ],
1347
         ],
1348
         name: [{ required: true, message: "请填写姓名", trigger: "blur" },
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
         gender: [{ required: true, message: "请选择性别", trigger: "blur" }],
1351
         gender: [{ required: true, message: "请选择性别", trigger: "blur" }],
1352
         idCardNo: [
1352
         idCardNo: [

+ 6 - 3
src/xt_pages/workforce/components/template_table.vue View File

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