Kaynağa Gözat

修改样式

See999 4 yıl önce
ebeveyn
işleme
731d9a1dd5

+ 244 - 232
src/xt_pages/management/components/MultipleForm.vue Dosyayı Görüntüle

@@ -1,16 +1,16 @@
1 1
 <template>
2
-  <div>
2
+  <div class="allDialog">
3 3
     <el-dialog
4 4
       title="综合查询"
5 5
       :visible.sync="dialogVisible"
6 6
       width="95%"
7 7
       center
8 8
     >
9
-      <el-form>
9
+      <el-form style="height:100%">
10 10
         <el-row :gutter="20">
11
-          <el-col :span="6">
11
+          <el-col :span="4">
12 12
             <el-form-item label="透析分区:">
13
-              <el-select style="width:120px" v-model="form.zone">
13
+              <el-select style="width:110px" v-model="form.zone">
14 14
                 <el-option
15 15
                   v-for="item in this.DeviceType"
16 16
                   :key="item.id"
@@ -20,9 +20,9 @@
20 20
               </el-select>
21 21
             </el-form-item>
22 22
           </el-col>
23
-          <el-col :span="6">
23
+          <el-col :span="4">
24 24
             <el-form-item label="机号:">
25
-              <el-select style="width:120px" v-model="form.device_number">
25
+              <el-select style="width:110px" v-model="form.device_number">
26 26
                 <el-option
27 27
                   v-for="item in this.Numbers"
28 28
                   :key="item.id"
@@ -32,9 +32,9 @@
32 32
               </el-select>
33 33
             </el-form-item>
34 34
           </el-col>
35
-          <el-col :span="6">
35
+          <el-col :span="4">
36 36
             <el-form-item label="设备类型:">
37
-              <el-select style="width:120px" v-model="form.device_type">
37
+              <el-select style="width:110px" v-model="form.device_type">
38 38
                 <el-option
39 39
                   v-for="item in this.EquitmentType"
40 40
                   :key="item.id"
@@ -44,9 +44,9 @@
44 44
               </el-select>
45 45
             </el-form-item>
46 46
           </el-col>
47
-          <el-col :span="6">
47
+          <el-col :span="4">
48 48
             <el-form-item label="设备型号:">
49
-              <el-select style="width:120px" v-model="form.device_model">
49
+              <el-select style="width:110px" v-model="form.device_model">
50 50
                 <el-option
51 51
                   v-for="item in this.EquitmentName"
52 52
                   :key="item.id"
@@ -56,11 +56,9 @@
56 56
               </el-select>
57 57
             </el-form-item>
58 58
           </el-col>
59
-        </el-row>
60
-        <el-row>
61
-          <el-col :span="7">
59
+          <el-col :span="4">
62 60
             <el-form-item label="使用年限:">
63
-              <el-select style="width:120px" v-model="form.user_year">
61
+              <el-select style="width:110px" v-model="form.user_year">
64 62
                 <el-option
65 63
                   v-for="item in this.userYear"
66 64
                   :key="item.id"
@@ -70,7 +68,9 @@
70 68
               </el-select>
71 69
             </el-form-item>
72 70
           </el-col>
73
-          <el-col :span="7">
71
+        </el-row>
72
+        <el-row>
73
+          <el-col :span="8">
74 74
             <div class="cell clearfix">
75 75
               <label class="title">
76 76
                 <span class="name">日期查询</span> :
@@ -104,7 +104,7 @@
104 104
               ></el-date-picker>
105 105
             </div>
106 106
           </el-col>
107
-          <el-col :span="5">
107
+          <el-col :span="4">
108 108
             <el-form-item label="合计:">
109 109
               故障次数
110 110
               <span>{{ failure_times }}</span
@@ -118,161 +118,165 @@
118 118
             >
119 119
           </el-col>
120 120
         </el-row>
121
-        <el-row>
122
-          <el-table :data="tableData" border style="width:100%">
123
-            <el-table-column
124
-              prop="date"
125
-              label="序号"
126
-              width="60"
127
-              align="center"
128
-              type="index"
129
-            >
130
-              <!-- <template slot-scope="scope">
121
+        <!-- <el-row> -->
122
+        <el-table
123
+          :data="tableData"
124
+          border
125
+          style="width:100%"
126
+          height="80%"
127
+          :row-style="{ color: '#303133' }"
128
+          :header-cell-style="{
129
+            backgroundColor: 'rgb(245, 247, 250)',
130
+            color: '#606266'
131
+          }"
132
+        >
133
+          <el-table-column
134
+            prop="date"
135
+            label="序号"
136
+            width="60"
137
+            align="center"
138
+            type="index"
139
+          >
140
+            <!-- <template slot-scope="scope">
131 141
                 {{ scope.row.id }}
132 142
               </template>-->
133
-            </el-table-column>
134
-            <el-table-column prop="name" label="分区" width="60" align="center">
135
-              <template slot-scope="scope">{{ scope.row.name }}</template>
136
-            </el-table-column>
137
-            <el-table-column
138
-              prop="address"
139
-              label="序列号"
140
-              width="80"
141
-              align="center"
142
-            >
143
-              <template slot-scope="scope">{{
144
-                scope.row.serial_number
145
-              }}</template>
146
-            </el-table-column>
147
-            <el-table-column
148
-              prop="address"
149
-              label="设备类型"
150
-              width="100"
151
-              align="center"
152
-            >
153
-              <template slot-scope="scope">{{
154
-                scope.row.device_type
155
-              }}</template>
156
-            </el-table-column>
157
-            <el-table-column
158
-              prop="address"
159
-              label="机号"
160
-              width="80"
161
-              align="center"
162
-            >
163
-              <template slot-scope="scope">{{ scope.row.bed_number }}</template>
164
-            </el-table-column>
165
-            <el-table-column
166
-              prop="address"
167
-              label="设备名称"
168
-              width="100"
169
-              align="center"
170
-            >
171
-              <template slot-scope="scope">{{
172
-                scope.row.device_name
173
-              }}</template>
174
-            </el-table-column>
175
-            <el-table-column
176
-              prop="address"
177
-              label="设备型号"
178
-              width="100"
179
-              align="center"
180
-            >
181
-              <template slot-scope="scope">{{
182
-                scope.row.unit_type
183
-              }}</template>
184
-            </el-table-column>
185
-            <el-table-column
186
-              prop="address"
187
-              label="启用日期"
188
-              width="100"
189
-              align="center"
190
-            >
191
-              <template slot-scope="scope">{{
192
-                getTime(scope.row.start_date)
193
-              }}</template>
194
-            </el-table-column>
195
-            <el-table-column
196
-              prop="address"
197
-              label="保修期限"
198
-              width="100"
199
-              align="center"
200
-            >
201
-              <template slot-scope="scope">{{
202
-                scope.row.guarantee_date
203
-              }}</template>
204
-            </el-table-column>
205
-            <el-table-column
206
-              prop="address"
207
-              label="机器状态"
208
-              width="100"
209
-              align="center"
210
-            >
211
-              <template slot-scope="scope">{{
212
-                scope.row.machine_status
213
-              }}</template>
214
-            </el-table-column>
215
-            <el-table-column
216
-              prop="address"
217
-              label="报废日期"
218
-              width="100"
219
-              align="center"
220
-            >
221
-              <template slot-scope="scope">{{
222
-                getTime(scope.row.rubbish_date)
223
-              }}</template>
224
-            </el-table-column>
225
-            <el-table-column
226
-              prop="address"
227
-              label="报废原因"
228
-              width="100"
229
-              align="center"
230
-            >
231
-              <template slot-scope="scope">{{
232
-                scope.row.rubbish_reason
233
-              }}</template>
234
-            </el-table-column>
235
-            <el-table-column
236
-              prop="address"
237
-              label="使用年限"
238
-              width="100"
239
-              align="center"
240
-            >
241
-              <template slot-scope="scope">{{ scope.row.user_year }}</template>
242
-            </el-table-column>
243
-            <el-table-column
244
-              prop="address"
245
-              label="工作时长"
246
-              width="100"
247
-              align="center"
248
-            >
249
-              <template slot-scope="scope">{{ scope.row.work_time }}</template>
250
-            </el-table-column>
251
-            <el-table-column
252
-              prop="address"
253
-              label="使用次数"
254
-              width="100"
255
-              align="center"
256
-            >
257
-              <template slot-scope="scope">{{ scope.row.user_total }}</template>
258
-            </el-table-column>
259
-            <el-table-column
260
-              prop="address"
261
-              label="故障次数"
262
-              width="100"
263
-              align="center"
264
-            >
265
-              <template slot-scope="scope">{{ failure }}</template>
266
-            </el-table-column>
267
-          </el-table>
268
-        </el-row>
143
+          </el-table-column>
144
+          <el-table-column prop="name" label="分区" width="60" align="center">
145
+            <template slot-scope="scope">{{ scope.row.name }}</template>
146
+          </el-table-column>
147
+          <el-table-column
148
+            prop="address"
149
+            label="序列号"
150
+            width="80"
151
+            align="center"
152
+          >
153
+            <template slot-scope="scope">{{
154
+              scope.row.serial_number
155
+            }}</template>
156
+          </el-table-column>
157
+          <el-table-column
158
+            prop="address"
159
+            label="设备类型"
160
+            width="100"
161
+            align="center"
162
+          >
163
+            <template slot-scope="scope">{{ scope.row.device_type }}</template>
164
+          </el-table-column>
165
+          <el-table-column
166
+            prop="address"
167
+            label="机号"
168
+            width="80"
169
+            align="center"
170
+          >
171
+            <template slot-scope="scope">{{ scope.row.bed_number }}</template>
172
+          </el-table-column>
173
+          <el-table-column
174
+            prop="address"
175
+            label="设备名称"
176
+            width="100"
177
+            align="center"
178
+          >
179
+            <template slot-scope="scope">{{ scope.row.device_name }}</template>
180
+          </el-table-column>
181
+          <el-table-column
182
+            prop="address"
183
+            label="设备型号"
184
+            width="100"
185
+            align="center"
186
+          >
187
+            <template slot-scope="scope">{{ scope.row.unit_type }}</template>
188
+          </el-table-column>
189
+          <el-table-column
190
+            prop="address"
191
+            label="启用日期"
192
+            width="100"
193
+            align="center"
194
+          >
195
+            <template slot-scope="scope">{{
196
+              getTime(scope.row.start_date)
197
+            }}</template>
198
+          </el-table-column>
199
+          <el-table-column
200
+            prop="address"
201
+            label="保修期限"
202
+            width="100"
203
+            align="center"
204
+          >
205
+            <template slot-scope="scope">{{
206
+              scope.row.guarantee_date
207
+            }}</template>
208
+          </el-table-column>
209
+          <el-table-column
210
+            prop="address"
211
+            label="机器状态"
212
+            width="100"
213
+            align="center"
214
+          >
215
+            <template slot-scope="scope">{{
216
+              scope.row.machine_status
217
+            }}</template>
218
+          </el-table-column>
219
+          <el-table-column
220
+            prop="address"
221
+            label="报废日期"
222
+            width="100"
223
+            align="center"
224
+          >
225
+            <template slot-scope="scope">{{
226
+              getTime(scope.row.rubbish_date)
227
+            }}</template>
228
+          </el-table-column>
229
+          <el-table-column
230
+            prop="address"
231
+            label="报废原因"
232
+            width="100"
233
+            align="center"
234
+          >
235
+            <template slot-scope="scope">{{
236
+              scope.row.rubbish_reason
237
+            }}</template>
238
+          </el-table-column>
239
+          <el-table-column
240
+            prop="address"
241
+            label="使用年限"
242
+            width="100"
243
+            align="center"
244
+          >
245
+            <template slot-scope="scope">{{ scope.row.user_year }}</template>
246
+          </el-table-column>
247
+          <el-table-column
248
+            prop="address"
249
+            label="工作时长"
250
+            width="100"
251
+            align="center"
252
+          >
253
+            <template slot-scope="scope">{{ scope.row.work_time }}</template>
254
+          </el-table-column>
255
+          <el-table-column
256
+            prop="address"
257
+            label="使用次数"
258
+            width="100"
259
+            align="center"
260
+          >
261
+            <template slot-scope="scope">{{ scope.row.user_total }}</template>
262
+          </el-table-column>
263
+          <el-table-column
264
+            prop="address"
265
+            label="故障次数"
266
+            width="100"
267
+            align="center"
268
+          >
269
+            <template slot-scope="scope">{{ failure }}</template>
270
+          </el-table-column>
271
+        </el-table>
272
+        <!-- </el-row> -->
269 273
       </el-form>
270
-      <span slot="footer" class="dialog-footer">
274
+      <!-- <span slot="footer" class="dialog-footer">
271 275
         <el-button @click="dialogVisible = false">取 消</el-button>
272 276
         <el-button type="primary" @click="dialogVisible = false"
273 277
           >确 定</el-button
274 278
         >
275
-      </span>
279
+      </span> -->
276 280
     </el-dialog>
277 281
   </div>
278 282
 </template>
@@ -283,10 +287,10 @@ import {
283 287
   getAllEquimentName,
284 288
   getComprehensive,
285 289
   getTotalCount
286
-} from '@/api/manage'
287
-import { uParseTime } from '@/utils/tools'
290
+} from "@/api/manage";
291
+import { uParseTime } from "@/utils/tools";
288 292
 export default {
289
-  name: 'MultipleForm',
293
+  name: "MultipleForm",
290 294
   props: {
291 295
     equimentid: Number
292 296
   },
@@ -296,77 +300,77 @@ export default {
296 300
       failure: 0,
297 301
       dialogVisible: false,
298 302
       form: {
299
-        zone: '',
300
-        device_number: '',
301
-        device_type: '',
302
-        device_model: '',
303
-        user_year: '',
304
-        start_time: '',
305
-        end_time: ''
303
+        zone: "",
304
+        device_number: "",
305
+        device_type: "",
306
+        device_model: "",
307
+        user_year: "",
308
+        start_time: "",
309
+        end_time: ""
306 310
       },
307 311
       userYear: [
308
-        { id: 0, name: '全部' },
309
-        { id: 1, name: '0~1' },
310
-        { id: 2, name: '1~3' },
311
-        { id: 3, name: '3~10' },
312
-        { id: 4, name: '10年以上' }
312
+        { id: 0, name: "全部" },
313
+        { id: 1, name: "0~1" },
314
+        { id: 2, name: "1~3" },
315
+        { id: 3, name: "3~10" },
316
+        { id: 4, name: "10年以上" }
313 317
       ],
314
-      value1: '',
315
-      value2: '',
318
+      value1: "",
319
+      value2: "",
316 320
       tableData: [],
317 321
       EquitmentType: [
318
-        { id: 0, name: '全部' },
319
-        { id: 1, name: '透析机' },
320
-        { id: 2, name: '水处理机' },
321
-        { id: 3, name: '报废机' },
322
-        { id: 4, name: '其他' }
322
+        { id: 0, name: "全部" },
323
+        { id: 1, name: "透析机" },
324
+        { id: 2, name: "水处理机" },
325
+        { id: 3, name: "报废机" },
326
+        { id: 4, name: "其他" }
323 327
       ],
324
-      DeviceType: [{ id: 0, name: '不限' }],
325
-      Numbers: [{ id: 0, number: '不限' }],
326
-      EquitmentName: [{ id: 0, equitment_name: '全部' }],
328
+      DeviceType: [{ id: 0, name: "不限" }],
329
+      Numbers: [{ id: 0, number: "不限" }],
330
+      EquitmentName: [{ id: 0, equitment_name: "全部" }],
327 331
       runOptions: [
328
-        { value: '1', label: '正常' },
329
-        { value: '2', label: '故障' }
332
+        { value: "1", label: "正常" },
333
+        { value: "2", label: "故障" }
330 334
       ]
331
-    }
335
+    };
332 336
   },
333 337
   methods: {
334 338
     open: function() {
335
-      this.dialogVisible = true
339
+      this.dialogVisible = true;
336 340
     },
337 341
     getAllSubregion() {
338 342
       getAllSubregion().then(response => {
339 343
         if (response.data.state === 1) {
340
-          var zone = response.data.data.zones
341
-          var zones = [{ id: 0, name: '不限' }]
344
+          var zone = response.data.data.zones;
345
+          var zones = [{ id: 0, name: "不限" }];
342 346
           for (let i = 0; i < zone.length; i++) {
343
-            const item = zone[i]
344
-            zones.push({ id: item.id, name: item.name })
347
+            const item = zone[i];
348
+            zones.push({ id: item.id, name: item.name });
345 349
           }
346
-          this.DeviceType = zones
347
-          var number = response.data.data.numbers
348
-          var numbers = [{ id: 0, number: '不限' }]
350
+          this.DeviceType = zones;
351
+          var number = response.data.data.numbers;
352
+          var numbers = [{ id: 0, number: "不限" }];
349 353
           for (let index = 0; index < number.length; index++) {
350
-            const item = number[index]
351
-            numbers.push({ id: item.id, number: item.number })
354
+            const item = number[index];
355
+            numbers.push({ id: item.id, number: item.number });
352 356
           }
353
-          this.Numbers = numbers
357
+          this.Numbers = numbers;
354 358
           // console.log('numbers', number)
355 359
         }
356
-      })
360
+      });
357 361
     },
358 362
     getAllEquimentName() {
359 363
       getAllEquimentName().then(response => {
360 364
         if (response.data.state == 1) {
361
-          var equit = response.data.data.equit
362
-          var equits = [{ id: 0, equitment_name: '全部' }]
365
+          var equit = response.data.data.equit;
366
+          var equits = [{ id: 0, equitment_name: "全部" }];
363 367
           for (let index = 0; index < equit.length; index++) {
364
-            const item = equit[index]
365
-            equits.push({ id: item.id, equitment_name: item.equitment_name })
368
+            const item = equit[index];
369
+            equits.push({ id: item.id, equitment_name: item.equitment_name });
366 370
           }
367
-          this.EquitmentName = equits
371
+          this.EquitmentName = equits;
368 372
         }
369
-      })
373
+      });
370 374
     },
371 375
     getComprehensive() {
372 376
       const params = {
@@ -376,66 +380,66 @@ export default {
376 380
         year: this.form.user_year,
377 381
         starttime: this.form.start_time,
378 382
         endtime: this.form.end_time
379
-      }
383
+      };
380 384
       getComprehensive(params).then(response => {
381 385
         if (response.data.state === 1) {
382
-          var macher = response.data.data.macher
383
-          console.log('设备型号5555', macher)
386
+          var macher = response.data.data.macher;
387
+          console.log("设备型号5555", macher);
384 388
           for (let index = 0; index < macher.length; index++) {
385 389
             if (macher[index].device_type === 1) {
386
-              macher[index].device_type = '透析机'
390
+              macher[index].device_type = "透析机";
387 391
             }
388 392
             if (macher[index].device_type === 2) {
389
-              macher[index].device_type = '水处理机'
393
+              macher[index].device_type = "水处理机";
390 394
             }
391 395
             if (macher[index].device_type === 3) {
392
-              macher[index].device_type = '其他'
396
+              macher[index].device_type = "其他";
393 397
             }
394 398
 
395 399
             if (macher[index].machine_status === 1) {
396
-              macher[index].machine_status = '使用机'
400
+              macher[index].machine_status = "使用机";
397 401
             }
398 402
             if (macher[index].machine_status === 2) {
399
-              macher[index].machine_status = '备用机'
403
+              macher[index].machine_status = "备用机";
400 404
             }
401 405
             if (macher[index].machine_status === 3) {
402
-              macher[index].machine_status = '急诊机'
406
+              macher[index].machine_status = "急诊机";
403 407
             }
404 408
             if (macher[index].machine_status === 4) {
405
-              macher[index].machine_status = '报废机'
409
+              macher[index].machine_status = "报废机";
406 410
             }
407 411
             if (macher[index].rubbish_reason === 0) {
408
-              macher[index].rubbish_reason = ''
412
+              macher[index].rubbish_reason = "";
409 413
             }
410 414
           }
411 415
           // console.log('macher', macher)
412
-          this.tableData = macher
416
+          this.tableData = macher;
413 417
         }
414
-      })
418
+      });
415 419
     },
416 420
     getTime(time) {
417 421
       if (time === 0) {
418
-        return ''
422
+        return "";
419 423
       } else {
420
-        return uParseTime(time, '{y}-{m}-{d}')
424
+        return uParseTime(time, "{y}-{m}-{d}");
421 425
       }
422 426
     },
423 427
     getTotalCount() {
424 428
       getTotalCount().then(response => {
425 429
         if (response.data.state === 1) {
426
-          var total = response.data.data.total
430
+          var total = response.data.data.total;
427 431
           // console.log('total ========', total)
428
-          this.failure_times = total
432
+          this.failure_times = total;
429 433
         }
430
-      })
434
+      });
431 435
     }
432 436
   },
433 437
   created() {
434
-    this.getAllSubregion()
435
-    this.getAllEquimentName()
436
-    this.getTotalCount()
438
+    this.getAllSubregion();
439
+    this.getAllEquimentName();
440
+    this.getTotalCount();
437 441
   }
438
-}
442
+};
439 443
 </script>
440 444
 
441 445
 <style scoped></style>
@@ -446,4 +450,12 @@ export default {
446 450
 .el-table__body {
447 451
   width: 100% !important;
448 452
 }
453
+.allDialog {
454
+  .el-dialog {
455
+    height: 90%;
456
+  }
457
+  .el-dialog__body {
458
+    max-height: calc(100vh - 200px) !important;
459
+  }
460
+}
449 461
 </style>

+ 12 - 3
src/xt_pages/management/components/PlanForm.vue Dosyayı Görüntüle

@@ -40,7 +40,7 @@
40 40
                 allow-create
41 41
                 default-first-option
42 42
                 placeholder="请选择时间"
43
-                style="width: 140px;"
43
+                style="width: 135px;"
44 44
               >
45 45
                 <el-option
46 46
                   v-for="item in this.timeType"
@@ -60,7 +60,7 @@
60 60
                 allow-create
61 61
                 default-first-option
62 62
                 placeholder="请选择时间"
63
-                style="width: 140px;"
63
+                style="width: 135px;"
64 64
               >
65 65
                 <el-option
66 66
                   v-for="item in this.classType"
@@ -281,4 +281,13 @@ export default {
281 281
 };
282 282
 </script>
283 283
 
284
-<style scoped></style>
284
+<style lang="scss">
285
+#plan-form {
286
+  .el-form-item__label {
287
+    width: 100px;
288
+  }
289
+  .el-dialog__footer {
290
+    text-align: right;
291
+  }
292
+}
293
+</style>

+ 388 - 123
src/xt_pages/management/components/QualityForm.vue Dosyayı Görüntüle

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div id="quality-form">
3 3
     <el-row class="row">
4
-      <el-col :span="5">
4
+      <el-col :span="4">
5 5
         <span class="machineClass">机号:</span>
6 6
         <el-select style="width:100px" v-model="forms.bed">
7 7
           <el-option
@@ -12,8 +12,13 @@
12 12
           ></el-option>
13 13
         </el-select>
14 14
       </el-col>
15
-      <el-col :span="4">
16
-        <el-select style="width:130px" v-model="forms.sename" @change="changeTable">
15
+      <el-col :span="6">
16
+        <span class="machineClass">取样标本:</span>
17
+        <el-select
18
+          style="width:130px"
19
+          v-model="forms.sename"
20
+          @change="changeTable"
21
+        >
17 22
           <el-option
18 23
             v-for="item in this.tableTypes"
19 24
             :key="item.id"
@@ -22,7 +27,7 @@
22 27
           ></el-option>
23 28
         </el-select>
24 29
       </el-col>
25
-      <el-col :span="12">
30
+      <el-col :span="11">
26 31
         <span class="machineClass">日期查询:</span>
27 32
         <el-date-picker
28 33
           v-model="forms.start_time"
@@ -32,7 +37,8 @@
32 37
           format="yyyy-MM-dd"
33 38
           value-format="yyyy-MM-dd"
34 39
           style="width:150px"
35
-        ></el-date-picker>-
40
+        ></el-date-picker
41
+        >-
36 42
         <el-date-picker
37 43
           v-model="forms.end_time"
38 44
           prefix-icon="none"
@@ -44,7 +50,7 @@
44 50
         ></el-date-picker>
45 51
       </el-col>
46 52
       <el-col :span="2">
47
-        <el-button @click="queryTable()">查询</el-button>
53
+        <el-button type="primary" @click="queryTable()">查询</el-button>
48 54
       </el-col>
49 55
       <!-- <el-col :span="2">
50 56
         <el-button>打印</el-button>
@@ -52,12 +58,20 @@
52 58
     </el-row>
53 59
     <el-row style="display: flex;align-items: center;">
54 60
       <el-col :span="2">
55
-        <el-checkbox v-model="checkAllStatus" @change="changeCheck">全选</el-checkbox>
61
+        <el-checkbox v-model="checkAllStatus" @change="changeCheck"
62
+          >全选</el-checkbox
63
+        >
56 64
       </el-col>
57 65
       <el-col :span="3">
58
-        <el-button size="small" @click="BatchDelete" v-show="show">批量删除</el-button>
59
-        <el-button size="small" @click="BatchDeleteOne" v-show="showOne">批量删除</el-button>
60
-        <el-button size="small" @click="BatchDeleteTwo" v-show="showTwo">批量删除</el-button>
66
+        <el-button size="small" @click="BatchDelete" v-show="show"
67
+          >批量删除</el-button
68
+        >
69
+        <el-button size="small" @click="BatchDeleteOne" v-show="showOne"
70
+          >批量删除</el-button
71
+        >
72
+        <el-button size="small" @click="BatchDeleteTwo" v-show="showTwo"
73
+          >批量删除</el-button
74
+        >
61 75
       </el-col>
62 76
     </el-row>
63 77
     <el-row>
@@ -77,64 +91,106 @@
77 91
         style="width: 100%;margin-top: 10px;"
78 92
         v-show="show"
79 93
       >
80
-        <el-table-column align="center" type="selection" width="55"></el-table-column>
94
+        <el-table-column
95
+          align="center"
96
+          type="selection"
97
+          width="55"
98
+        ></el-table-column>
81 99
         <el-table-column prop="date" label="机号" width="80" align="center">
82 100
           <template slot-scope="scope">{{ scope.row.bed }}</template>
83 101
         </el-table-column>
84
-        <el-table-column prop="name" label="取样日期" width="100" align="center">
102
+        <el-table-column
103
+          prop="name"
104
+          label="取样日期"
105
+          width="100"
106
+          align="center"
107
+        >
85 108
           <template slot-scope="scope">
86
-            {{
87
-            getTime(scope.row.speling_date)
88
-            }}
109
+            {{ getTime(scope.row.speling_date) }}
89 110
           </template>
90 111
         </el-table-column>
91
-        <el-table-column prop="address" label="取样标本" width="100" align="center">
112
+        <el-table-column
113
+          prop="address"
114
+          label="取样标本"
115
+          width="100"
116
+          align="center"
117
+        >
92 118
           <template slot-scope="scope">{{ scope.row.specimen }}</template>
93 119
         </el-table-column>
94
-        <el-table-column prop="address" label="A浓缩液批号" width="80" align="center">
120
+        <el-table-column
121
+          prop="address"
122
+          label="A浓缩液批号"
123
+          width="80"
124
+          align="center"
125
+        >
95 126
           <template slot-scope="scope">
96
-            {{
97
-            scope.row.concentrate_noa
98
-            }}
127
+            {{ scope.row.concentrate_noa }}
99 128
           </template>
100 129
         </el-table-column>
101
-        <el-table-column prop="address" label="B浓缩液批号" width="80" align="center">
130
+        <el-table-column
131
+          prop="address"
132
+          label="B浓缩液批号"
133
+          width="80"
134
+          align="center"
135
+        >
102 136
           <template slot-scope="scope">
103
-            {{
104
-            scope.row.concentrate_nob
105
-            }}
137
+            {{ scope.row.concentrate_nob }}
106 138
           </template>
107 139
         </el-table-column>
108
-        <el-table-column prop="address" label="采样部位" width="100" align="center">
140
+        <el-table-column
141
+          prop="address"
142
+          label="采样部位"
143
+          width="100"
144
+          align="center"
145
+        >
109 146
           <template slot-scope="scope">
110
-            {{
111
-            scope.row.sampling_locationa
112
-            }}
147
+            {{ scope.row.sampling_locationa }}
113 148
           </template>
114 149
         </el-table-column>
115
-        <el-table-column prop="address" label="检测单位" width="100" align="center">
150
+        <el-table-column
151
+          prop="address"
152
+          label="检测单位"
153
+          width="100"
154
+          align="center"
155
+        >
116 156
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
117 157
         </el-table-column>
118
-        <el-table-column prop="address" label="取样者" width="80" align="center">
158
+        <el-table-column
159
+          prop="address"
160
+          label="取样者"
161
+          width="80"
162
+          align="center"
163
+        >
119 164
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
120 165
         </el-table-column>
121
-        <el-table-column prop="address" label="出报告日期" width="110" align="center">
166
+        <el-table-column
167
+          prop="address"
168
+          label="出报告日期"
169
+          width="110"
170
+          align="center"
171
+        >
122 172
           <template slot-scope="scope">
123
-            {{
124
-            getTime(scope.row.reporting_date)
125
-            }}
173
+            {{ getTime(scope.row.reporting_date) }}
126 174
           </template>
127 175
         </el-table-column>
128
-        <el-table-column prop="address" label="检测结果(cfu/ml)" width="140" align="center">
176
+        <el-table-column
177
+          prop="address"
178
+          label="检测结果(cfu/ml)"
179
+          width="140"
180
+          align="center"
181
+        >
129 182
           <template slot-scope="scope">
130
-            {{
131
-            scope.row.detection_result
132
-            }}
183
+            {{ scope.row.detection_result }}
133 184
           </template>
134 185
         </el-table-column>
135 186
         <el-table-column label="操作" align="center" min-width="150px">
136 187
           <template slot-scope="scope">
137
-            <el-tooltip class="item" effect="dark" content="编辑" placement="top">
188
+            <el-tooltip
189
+              class="item"
190
+              effect="dark"
191
+              content="编辑"
192
+              placement="top"
193
+            >
138 194
               <el-button
139 195
                 size="mini"
140 196
                 type="primary"
@@ -145,7 +201,12 @@
145 201
               ></el-button>
146 202
             </el-tooltip>
147 203
 
148
-            <el-tooltip class="item" effect="dark" content="删除" placement="top">
204
+            <el-tooltip
205
+              class="item"
206
+              effect="dark"
207
+              content="删除"
208
+              placement="top"
209
+            >
149 210
               <el-button
150 211
                 size="mini"
151 212
                 type="primary"
@@ -169,64 +230,106 @@
169 230
         style="width: 100%;margin-top: 10px;"
170 231
         v-show="showOne"
171 232
       >
172
-        <el-table-column align="center" type="selection" width="55"></el-table-column>
233
+        <el-table-column
234
+          align="center"
235
+          type="selection"
236
+          width="55"
237
+        ></el-table-column>
173 238
         <el-table-column prop="date" label="机号" width="80" align="center">
174 239
           <template slot-scope="scope">{{ scope.row.bed }}</template>
175 240
         </el-table-column>
176
-        <el-table-column prop="name" label="取样日期" width="100" align="center">
241
+        <el-table-column
242
+          prop="name"
243
+          label="取样日期"
244
+          width="100"
245
+          align="center"
246
+        >
177 247
           <template slot-scope="scope">
178
-            {{
179
-            getTime(scope.row.sampling_date)
180
-            }}
248
+            {{ getTime(scope.row.sampling_date) }}
181 249
           </template>
182 250
         </el-table-column>
183
-        <el-table-column prop="address" label="取样标本" width="100" align="center">
251
+        <el-table-column
252
+          prop="address"
253
+          label="取样标本"
254
+          width="100"
255
+          align="center"
256
+        >
184 257
           <template slot-scope="scope">{{ scope.row.specimenb }}</template>
185 258
         </el-table-column>
186
-        <el-table-column prop="address" label="A浓缩液批号" width="80" align="center">
259
+        <el-table-column
260
+          prop="address"
261
+          label="A浓缩液批号"
262
+          width="80"
263
+          align="center"
264
+        >
187 265
           <template slot-scope="scope">
188
-            {{
189
-            scope.row.concentrate_noc
190
-            }}
266
+            {{ scope.row.concentrate_noc }}
191 267
           </template>
192 268
         </el-table-column>
193
-        <el-table-column prop="address" label="B浓缩液批号" width="80" align="center">
269
+        <el-table-column
270
+          prop="address"
271
+          label="B浓缩液批号"
272
+          width="80"
273
+          align="center"
274
+        >
194 275
           <template slot-scope="scope">
195
-            {{
196
-            scope.row.concentrateb_nod
197
-            }}
276
+            {{ scope.row.concentrateb_nod }}
198 277
           </template>
199 278
         </el-table-column>
200
-        <el-table-column prop="address" label="采样部位" width="100" align="center">
279
+        <el-table-column
280
+          prop="address"
281
+          label="采样部位"
282
+          width="100"
283
+          align="center"
284
+        >
201 285
           <template slot-scope="scope">
202
-            {{
203
-            scope.row.sampling_locationb
204
-            }}
286
+            {{ scope.row.sampling_locationb }}
205 287
           </template>
206 288
         </el-table-column>
207
-        <el-table-column prop="address" label="检测单位" width="100" align="center">
289
+        <el-table-column
290
+          prop="address"
291
+          label="检测单位"
292
+          width="100"
293
+          align="center"
294
+        >
208 295
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
209 296
         </el-table-column>
210
-        <el-table-column prop="address" label="取样者" width="80" align="center">
297
+        <el-table-column
298
+          prop="address"
299
+          label="取样者"
300
+          width="80"
301
+          align="center"
302
+        >
211 303
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
212 304
         </el-table-column>
213
-        <el-table-column prop="address" label="出报告日期" width="110" align="center">
305
+        <el-table-column
306
+          prop="address"
307
+          label="出报告日期"
308
+          width="110"
309
+          align="center"
310
+        >
214 311
           <template slot-scope="scope">
215
-            {{
216
-            getTime(scope.row.reporting_dateb)
217
-            }}
312
+            {{ getTime(scope.row.reporting_dateb) }}
218 313
           </template>
219 314
         </el-table-column>
220
-        <el-table-column prop="address" label="检测结果(cfu/ml)" width="100" align="center">
315
+        <el-table-column
316
+          prop="address"
317
+          label="检测结果(cfu/ml)"
318
+          width="100"
319
+          align="center"
320
+        >
221 321
           <template slot-scope="scope">
222
-            {{
223
-            scope.row.detection_resultb
224
-            }}
322
+            {{ scope.row.detection_resultb }}
225 323
           </template>
226 324
         </el-table-column>
227 325
         <el-table-column label="操作" align="center" min-width="150px">
228 326
           <template slot-scope="scope">
229
-            <el-tooltip class="item" effect="dark" content="编辑" placement="top">
327
+            <el-tooltip
328
+              class="item"
329
+              effect="dark"
330
+              content="编辑"
331
+              placement="top"
332
+            >
230 333
               <el-button
231 334
                 size="mini"
232 335
                 type="primary"
@@ -235,7 +338,12 @@
235 338
               ></el-button>
236 339
             </el-tooltip>
237 340
 
238
-            <el-tooltip class="item" effect="dark" content="删除" placement="top">
341
+            <el-tooltip
342
+              class="item"
343
+              effect="dark"
344
+              content="删除"
345
+              placement="top"
346
+            >
239 347
               <el-button
240 348
                 size="mini"
241 349
                 type="primary"
@@ -259,67 +367,133 @@
259 367
         style="width: 100%;margin-top: 10px;"
260 368
         v-show="showTwo"
261 369
       >
262
-        <el-table-column align="center" type="selection" width="55"></el-table-column>
370
+        <el-table-column
371
+          align="center"
372
+          type="selection"
373
+          width="55"
374
+        ></el-table-column>
263 375
         <el-table-column prop="date" label="机号" width="80" align="center">
264 376
           <template slot-scope="scope">{{ scope.row.bed }}</template>
265 377
         </el-table-column>
266 378
         <el-table-column prop="name" label="取样日期" width="80" align="center">
267 379
           <template slot-scope="scope">
268
-            {{
269
-            getTime(scope.row.sampling_date)
270
-            }}
380
+            {{ getTime(scope.row.sampling_date) }}
271 381
           </template>
272 382
         </el-table-column>
273
-        <el-table-column prop="address" label="取样者" width="80" align="center">
383
+        <el-table-column
384
+          prop="address"
385
+          label="取样者"
386
+          width="80"
387
+          align="center"
388
+        >
274 389
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
275 390
         </el-table-column>
276
-        <el-table-column prop="address" label="检测单位" width="80" align="center">
391
+        <el-table-column
392
+          prop="address"
393
+          label="检测单位"
394
+          width="80"
395
+          align="center"
396
+        >
277 397
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
278 398
         </el-table-column>
279
-        <el-table-column prop="address" label="A浓缩液批号" width="80" align="center">
399
+        <el-table-column
400
+          prop="address"
401
+          label="A浓缩液批号"
402
+          width="80"
403
+          align="center"
404
+        >
280 405
           <template slot-scope="scope">
281
-            {{
282
-            scope.row.concentrate_nof
283
-            }}
406
+            {{ scope.row.concentrate_nof }}
284 407
           </template>
285 408
         </el-table-column>
286
-        <el-table-column prop="address" label="B浓缩液批号" width="80" align="center">
409
+        <el-table-column
410
+          prop="address"
411
+          label="B浓缩液批号"
412
+          width="80"
413
+          align="center"
414
+        >
287 415
           <template slot-scope="scope">
288
-            {{
289
-            scope.row.concentrate_nog
290
-            }}
416
+            {{ scope.row.concentrate_nog }}
291 417
           </template>
292 418
         </el-table-column>
293
-        <el-table-column prop="address" label="出报告日期" width="80" align="center">
419
+        <el-table-column
420
+          prop="address"
421
+          label="出报告日期"
422
+          width="80"
423
+          align="center"
424
+        >
294 425
           <template slot-scope="scope">
295
-            {{
296
-            getTime(scope.row.date_reportc)
297
-            }}
426
+            {{ getTime(scope.row.date_reportc) }}
298 427
           </template>
299 428
         </el-table-column>
300
-        <el-table-column prop="address" label="检测结果" width="80" align="center">
301
-          <el-table-column prop="address" label="实际Na⁺(mmol/L)" width="80" align="center">
429
+        <el-table-column
430
+          prop="address"
431
+          label="检测结果"
432
+          width="80"
433
+          align="center"
434
+        >
435
+          <el-table-column
436
+            prop="address"
437
+            label="实际Na⁺(mmol/L)"
438
+            width="80"
439
+            align="center"
440
+          >
302 441
             <template slot-scope="scope">{{ scope.row.actual_na }}</template>
303 442
           </el-table-column>
304
-          <el-table-column prop="address" label="配方Na⁺(mmol/L)" width="90" align="center">
443
+          <el-table-column
444
+            prop="address"
445
+            label="配方Na⁺(mmol/L)"
446
+            width="90"
447
+            align="center"
448
+          >
305 449
             <template slot-scope="scope">{{ scope.row.actual_pna }}</template>
306 450
           </el-table-column>
307
-          <el-table-column prop="address" label="K⁺(mmol/L)" width="80" align="center">
451
+          <el-table-column
452
+            prop="address"
453
+            label="K⁺(mmol/L)"
454
+            width="80"
455
+            align="center"
456
+          >
308 457
             <template slot-scope="scope">{{ scope.row.actual_k }}</template>
309 458
           </el-table-column>
310
-          <el-table-column prop="address" label="Ca2⁺(mmol/L)" width="80" align="center">
459
+          <el-table-column
460
+            prop="address"
461
+            label="Ca2⁺(mmol/L)"
462
+            width="80"
463
+            align="center"
464
+          >
311 465
             <template slot-scope="scope">{{ scope.row.actual_ca }}</template>
312 466
           </el-table-column>
313
-          <el-table-column prop="address" label="Cl¯(mmol/L)" width="80" align="center">
467
+          <el-table-column
468
+            prop="address"
469
+            label="Cl¯(mmol/L)"
470
+            width="80"
471
+            align="center"
472
+          >
314 473
             <template slot-scope="scope">{{ scope.row.actual_ci }}</template>
315 474
           </el-table-column>
316
-          <el-table-column prop="address" label="HCO3¯(mmol/L)" width="80" align="center">
475
+          <el-table-column
476
+            prop="address"
477
+            label="HCO3¯(mmol/L)"
478
+            width="80"
479
+            align="center"
480
+          >
317 481
             <template slot-scope="scope">{{ scope.row.actual_hco }}</template>
318 482
           </el-table-column>
319
-          <el-table-column prop="address" label="Mg2⁺(mmol/L)" width="80" align="center">
483
+          <el-table-column
484
+            prop="address"
485
+            label="Mg2⁺(mmol/L)"
486
+            width="80"
487
+            align="center"
488
+          >
320 489
             <template slot-scope="scope">{{ scope.row.actual_mg }}</template>
321 490
           </el-table-column>
322
-          <el-table-column prop="address" label="PH(mmol/L)" width="80" align="center">
491
+          <el-table-column
492
+            prop="address"
493
+            label="PH(mmol/L)"
494
+            width="80"
495
+            align="center"
496
+          >
323 497
             <template slot-scope="scope">{{ scope.row.actual_ph }}</template>
324 498
           </el-table-column>
325 499
         </el-table-column>
@@ -328,7 +502,12 @@
328 502
         </el-table-column>
329 503
         <el-table-column label="操作" align="center" min-width="150px">
330 504
           <template slot-scope="scope">
331
-            <el-tooltip class="item" effect="dark" content="编辑" placement="top">
505
+            <el-tooltip
506
+              class="item"
507
+              effect="dark"
508
+              content="编辑"
509
+              placement="top"
510
+            >
332 511
               <el-button
333 512
                 size="mini"
334 513
                 type="primary"
@@ -337,7 +516,12 @@
337 516
               ></el-button>
338 517
             </el-tooltip>
339 518
 
340
-            <el-tooltip class="item" effect="dark" content="删除" placement="top">
519
+            <el-tooltip
520
+              class="item"
521
+              effect="dark"
522
+              content="删除"
523
+              placement="top"
524
+            >
341 525
               <el-button
342 526
                 size="mini"
343 527
                 type="primary"
@@ -351,7 +535,12 @@
351 535
     </el-row>
352 536
 
353 537
     <!-- 编辑细菌培养 -->
354
-    <el-dialog title="细菌培养" :visible.sync="dialogVisible" width="60%" center>
538
+    <el-dialog
539
+      title="细菌培养"
540
+      :visible.sync="dialogVisible"
541
+      width="60%"
542
+      center
543
+    >
355 544
       <el-form :model="form" ref="form" :rules="rules">
356 545
         <el-row>
357 546
           <el-col :span="8">
@@ -369,7 +558,11 @@
369 558
           </el-col>
370 559
           <el-col :span="8">
371 560
             <el-form-item label="取样标本:">
372
-              <el-select style="width:130px" v-model="form.specimen" @change="changeSpecimen">
561
+              <el-select
562
+                style="width:130px"
563
+                v-model="form.specimen"
564
+                @change="changeSpecimen"
565
+              >
373 566
                 <el-option
374 567
                   v-for="item in samplingSpecimen"
375 568
                   :key="item.id"
@@ -381,14 +574,22 @@
381 574
           </el-col>
382 575
           <el-col :span="8">
383 576
             <el-form-item label="A浓缩液批号:">
384
-              <el-input style="width:130px" v-model="form.concentrate_noa" :disabled="disable"></el-input>
577
+              <el-input
578
+                style="width:130px"
579
+                v-model="form.concentrate_noa"
580
+                :disabled="disable"
581
+              ></el-input>
385 582
             </el-form-item>
386 583
           </el-col>
387 584
         </el-row>
388 585
         <el-row>
389 586
           <el-col :span="8">
390 587
             <el-form-item label="B浓缩液批号">
391
-              <el-input style="width:130px" v-model="form.concentrate_nob" :disabled="diableTwo"></el-input>
588
+              <el-input
589
+                style="width:130px"
590
+                v-model="form.concentrate_nob"
591
+                :disabled="diableTwo"
592
+              ></el-input>
392 593
             </el-form-item>
393 594
           </el-col>
394 595
           <el-col :span="8">
@@ -405,7 +606,10 @@
405 606
           </el-col>
406 607
           <el-col :span="8">
407 608
             <el-form-item label="检测单位:" required prop="detection_unit">
408
-              <el-input style="width:180px" v-model="form.detection_unit"></el-input>
609
+              <el-input
610
+                style="width:180px"
611
+                v-model="form.detection_unit"
612
+              ></el-input>
409 613
             </el-form-item>
410 614
           </el-col>
411 615
         </el-row>
@@ -452,12 +656,19 @@
452 656
       </el-form>
453 657
       <span slot="footer" class="dialog-footer">
454 658
         <el-button @click="dialogVisible = false">取 消</el-button>
455
-        <el-button type="primary" @click="UpdateCulture('form')">保存</el-button>
659
+        <el-button type="primary" @click="UpdateCulture('form')"
660
+          >保存</el-button
661
+        >
456 662
       </span>
457 663
     </el-dialog>
458 664
 
459 665
     <!-- 编辑内霉素检测 -->
460
-    <el-dialog title="内霉素检测" :visible.sync="dialogVisibleTwo" width="60%" center>
666
+    <el-dialog
667
+      title="内霉素检测"
668
+      :visible.sync="dialogVisibleTwo"
669
+      width="60%"
670
+      center
671
+    >
461 672
       <el-form :model="diaForm" ref="diaForm" rules="diaRules">
462 673
         <el-row>
463 674
           <el-col :span="8">
@@ -475,7 +686,11 @@
475 686
           </el-col>
476 687
           <el-col :span="8">
477 688
             <el-form-item label="取样标本:">
478
-              <el-select style="width:130px" v-model="diaForm.specimenb" @change="changeSpeciment">
689
+              <el-select
690
+                style="width:130px"
691
+                v-model="diaForm.specimenb"
692
+                @change="changeSpeciment"
693
+              >
479 694
                 <el-option
480 695
                   v-for="item in samplingSpecimen"
481 696
                   :key="item.id"
@@ -487,7 +702,11 @@
487 702
           </el-col>
488 703
           <el-col :span="8">
489 704
             <el-form-item label="A浓缩液批号:">
490
-              <el-input style="width:130px" v-model="diaForm.concentrate_noc" :disabled="disable"></el-input>
705
+              <el-input
706
+                style="width:130px"
707
+                v-model="diaForm.concentrate_noc"
708
+                :disabled="disable"
709
+              ></el-input>
491 710
             </el-form-item>
492 711
           </el-col>
493 712
         </el-row>
@@ -503,7 +722,10 @@
503 722
           </el-col>
504 723
           <el-col :span="8">
505 724
             <el-form-item label="采样部位:">
506
-              <el-select style="width:130px" v-model="diaForm.sampling_locationb">
725
+              <el-select
726
+                style="width:130px"
727
+                v-model="diaForm.sampling_locationb"
728
+              >
507 729
                 <el-option
508 730
                   v-for="item in samplingLocation"
509 731
                   :key="item.id"
@@ -515,7 +737,10 @@
515 737
           </el-col>
516 738
           <el-col :span="8">
517 739
             <el-form-item label="检测单位:" required prop="detection_unit">
518
-              <el-input style="width:180px" v-model="diaForm.detection_unit"></el-input>
740
+              <el-input
741
+                style="width:180px"
742
+                v-model="diaForm.detection_unit"
743
+              ></el-input>
519 744
             </el-form-item>
520 745
           </el-col>
521 746
         </el-row>
@@ -562,12 +787,19 @@
562 787
       </el-form>
563 788
       <span slot="footer" class="dialog-footer">
564 789
         <el-button @click="dialogVisibleTwo = false">取 消</el-button>
565
-        <el-button type="primary" @click="UpdateDialyState('diaForm')">保存</el-button>
790
+        <el-button type="primary" @click="UpdateDialyState('diaForm')"
791
+          >保存</el-button
792
+        >
566 793
       </span>
567 794
     </el-dialog>
568 795
 
569 796
     <!--  -->
570
-    <el-dialog title="透析液离子浓度检测" :visible.sync="dialogVisibleThree" width="50%" center>
797
+    <el-dialog
798
+      title="透析液离子浓度检测"
799
+      :visible.sync="dialogVisibleThree"
800
+      width="50%"
801
+      center
802
+    >
571 803
       <el-row>
572 804
         <el-form :model="ionForm" ref="ionForm" :rule="ionrule">
573 805
           <el-row>
@@ -598,19 +830,28 @@
598 830
             </el-col>
599 831
             <el-col :span="8">
600 832
               <el-form-item label="检测单位:" required prop="detection_unit">
601
-                <el-input style="width:180px" v-model="ionForm.detection_unit"></el-input>
833
+                <el-input
834
+                  style="width:180px"
835
+                  v-model="ionForm.detection_unit"
836
+                ></el-input>
602 837
               </el-form-item>
603 838
             </el-col>
604 839
           </el-row>
605 840
           <el-row>
606 841
             <el-col :span="8">
607 842
               <el-form-item label="A浓缩液批号:">
608
-                <el-input style="width:130px" v-model="ionForm.concentrate_nof"></el-input>
843
+                <el-input
844
+                  style="width:130px"
845
+                  v-model="ionForm.concentrate_nof"
846
+                ></el-input>
609 847
               </el-form-item>
610 848
             </el-col>
611 849
             <el-col :span="8">
612 850
               <el-form-item label="B浓缩液批号:">
613
-                <el-input style="width:130px" v-model="ionForm.concentrate_nog"></el-input>
851
+                <el-input
852
+                  style="width:130px"
853
+                  v-model="ionForm.concentrate_nog"
854
+                ></el-input>
614 855
               </el-form-item>
615 856
             </el-col>
616 857
             <el-col :span="8">
@@ -630,46 +871,70 @@
630 871
           <el-row>
631 872
             <el-col :span="8">
632 873
               <el-form-item label="实际Na⁺(mmol/L):">
633
-                <el-input style="width:100px" v-model="ionForm.actual_na"></el-input>
874
+                <el-input
875
+                  style="width:100px"
876
+                  v-model="ionForm.actual_na"
877
+                ></el-input>
634 878
               </el-form-item>
635 879
             </el-col>
636 880
             <el-col :span="8">
637 881
               <el-form-item label="配方Na⁺(mmol/L):">
638
-                <el-input style="width:100px" v-model="ionForm.actual_pna"></el-input>
882
+                <el-input
883
+                  style="width:100px"
884
+                  v-model="ionForm.actual_pna"
885
+                ></el-input>
639 886
               </el-form-item>
640 887
             </el-col>
641 888
             <el-col :span="8">
642 889
               <el-form-item label="K⁺ (mmol/L):">
643
-                <el-input style="width:100px" v-model="ionForm.actual_k"></el-input>
890
+                <el-input
891
+                  style="width:100px"
892
+                  v-model="ionForm.actual_k"
893
+                ></el-input>
644 894
               </el-form-item>
645 895
             </el-col>
646 896
           </el-row>
647 897
           <el-row>
648 898
             <el-col :span="8">
649 899
               <el-form-item label="Ca2⁺(mmol/L):">
650
-                <el-input style="width:100px" v-model="ionForm.actual_ca"></el-input>
900
+                <el-input
901
+                  style="width:100px"
902
+                  v-model="ionForm.actual_ca"
903
+                ></el-input>
651 904
               </el-form-item>
652 905
             </el-col>
653 906
             <el-col :span="8">
654 907
               <el-form-item label="CI¯(mmol/L):">
655
-                <el-input style="width:100px" v-model="ionForm.actual_ci"></el-input>
908
+                <el-input
909
+                  style="width:100px"
910
+                  v-model="ionForm.actual_ci"
911
+                ></el-input>
656 912
               </el-form-item>
657 913
             </el-col>
658 914
             <el-col :span="8">
659 915
               <el-form-item label="HCO3¯(mmol/L):">
660
-                <el-input style="width:100px" v-model="ionForm.actual_hco"></el-input>
916
+                <el-input
917
+                  style="width:100px"
918
+                  v-model="ionForm.actual_hco"
919
+                ></el-input>
661 920
               </el-form-item>
662 921
             </el-col>
663 922
           </el-row>
664 923
           <el-row>
665 924
             <el-col :span="8">
666 925
               <el-form-item label="Mg2⁺(mmol/L):">
667
-                <el-input style="width:100px" v-model="ionForm.actual_mg"></el-input>
926
+                <el-input
927
+                  style="width:100px"
928
+                  v-model="ionForm.actual_mg"
929
+                ></el-input>
668 930
               </el-form-item>
669 931
             </el-col>
670 932
             <el-col :span="8">
671 933
               <el-form-item label="PH:">
672
-                <el-input style="width:100px" v-model="ionForm.actual_ph"></el-input>
934
+                <el-input
935
+                  style="width:100px"
936
+                  v-model="ionForm.actual_ph"
937
+                ></el-input>
673 938
               </el-form-item>
674 939
             </el-col>
675 940
           </el-row>

+ 113 - 43
src/xt_pages/management/components/RepairForm.vue Dosyayı Görüntüle

@@ -12,7 +12,7 @@
12 12
           ></el-option>
13 13
         </el-select>
14 14
       </el-col>
15
-      <el-col :span="12">
15
+      <el-col :span="11">
16 16
         <span class="machineClass">日期查询:</span>
17 17
         <el-date-picker
18 18
           v-model="forms.start_time"
@@ -22,7 +22,8 @@
22 22
           format="yyyy-MM-dd"
23 23
           value-format="yyyy-MM-dd"
24 24
           style="width:150px"
25
-        ></el-date-picker>-
25
+        ></el-date-picker
26
+        >-
26 27
         <el-date-picker
27 28
           v-model="forms.end_time"
28 29
           prefix-icon="none"
@@ -39,7 +40,9 @@
39 40
     </el-row>
40 41
     <el-row style="display: flex;align-items: center;">
41 42
       <el-col :span="2">
42
-        <el-checkbox v-model="checkAllStatus" @change="changeCheck">全选</el-checkbox>
43
+        <el-checkbox v-model="checkAllStatus" @change="changeCheck"
44
+          >全选</el-checkbox
45
+        >
43 46
       </el-col>
44 47
       <el-col :span="2">
45 48
         <el-button size="small" @click="BatchDelete">批量删除</el-button>
@@ -60,69 +63,114 @@
60 63
         highlight-current-row
61 64
         style="width: 100%;margin-top: 10px;"
62 65
       >
63
-        <el-table-column align="center" type="selection" width="55"></el-table-column>
66
+        <el-table-column
67
+          align="center"
68
+          type="selection"
69
+          width="55"
70
+        ></el-table-column>
64 71
         <el-table-column prop="date" label="机号" width="80" align="center">
65 72
           <template slot-scope="scope">{{ scope.row.bed_number }}</template>
66 73
         </el-table-column>
67
-        <el-table-column prop="name" label="保修时间" width="100" align="center">
74
+        <el-table-column
75
+          prop="name"
76
+          label="保修时间"
77
+          width="100"
78
+          align="center"
79
+        >
68 80
           <template slot-scope="scope">
69
-            {{
70
-            getTime(scope.row.guarantee_date)
71
-            }}
81
+            {{ getTime(scope.row.guarantee_date) }}
72 82
           </template>
73 83
         </el-table-column>
74
-        <el-table-column prop="address" label="出发时间" width="100" align="center">
84
+        <el-table-column
85
+          prop="address"
86
+          label="出发时间"
87
+          width="100"
88
+          align="center"
89
+        >
75 90
           <template slot-scope="scope">
76
-            {{
77
-            getTimes(scope.row.start_time)
78
-            }}
91
+            {{ getTimes(scope.row.start_time) }}
79 92
           </template>
80 93
         </el-table-column>
81
-        <el-table-column prop="address" label="到达时间" width="100" align="center">
94
+        <el-table-column
95
+          prop="address"
96
+          label="到达时间"
97
+          width="100"
98
+          align="center"
99
+        >
82 100
           <template slot-scope="scope">
83
-            {{
84
-            getTimes(scope.row.arrive_time)
85
-            }}
101
+            {{ getTimes(scope.row.arrive_time) }}
86 102
           </template>
87 103
         </el-table-column>
88
-        <el-table-column prop="address" label="完成时间" width="100" align="center">
104
+        <el-table-column
105
+          prop="address"
106
+          label="完成时间"
107
+          width="100"
108
+          align="center"
109
+        >
89 110
           <template slot-scope="scope">
90
-            {{
91
-            getTimes(scope.row.finish_time)
92
-            }}
111
+            {{ getTimes(scope.row.finish_time) }}
93 112
           </template>
94 113
         </el-table-column>
95
-        <el-table-column prop="address" label="总路程(公里)" width="110" align="center">
114
+        <el-table-column
115
+          prop="address"
116
+          label="总路程(公里)"
117
+          width="110"
118
+          align="center"
119
+        >
96 120
           <template slot-scope="scope">{{ scope.row.total_distance }}</template>
97 121
         </el-table-column>
98
-        <el-table-column prop="address" label="故障发生阶段" width="110" align="center">
122
+        <el-table-column
123
+          prop="address"
124
+          label="故障发生阶段"
125
+          width="110"
126
+          align="center"
127
+        >
99 128
           <template slot-scope="scope">{{ scope.row.failure_stage }}</template>
100 129
         </el-table-column>
101
-        <el-table-column prop="address" label="故障提示信息及代码" width="120" align="center">
130
+        <el-table-column
131
+          prop="address"
132
+          label="故障提示信息及代码"
133
+          width="120"
134
+          align="center"
135
+        >
102 136
           <template slot-scope="scope">
103
-            {{
104
-            scope.row.code_information
105
-            }}
137
+            {{ scope.row.code_information }}
106 138
           </template>
107 139
         </el-table-column>
108
-        <el-table-column prop="address" label="故障描述" width="100" align="center">
140
+        <el-table-column
141
+          prop="address"
142
+          label="故障描述"
143
+          width="100"
144
+          align="center"
145
+        >
109 146
           <template slot-scope="scope">
110
-            {{
111
-            scope.row.fault_description
112
-            }}
147
+            {{ scope.row.fault_description }}
113 148
           </template>
114 149
         </el-table-column>
115
-        <el-table-column prop="address" label="原因分析" width="100" align="center">
150
+        <el-table-column
151
+          prop="address"
152
+          label="原因分析"
153
+          width="100"
154
+          align="center"
155
+        >
116 156
           <template slot-scope="scope">{{ scope.row.cause_analysis }}</template>
117 157
         </el-table-column>
118
-        <el-table-column prop="address" label="处理过程" width="100" align="center">
158
+        <el-table-column
159
+          prop="address"
160
+          label="处理过程"
161
+          width="100"
162
+          align="center"
163
+        >
119 164
           <template slot-scope="scope">
120
-            {{
121
-            scope.row.treatment_process
122
-            }}
165
+            {{ scope.row.treatment_process }}
123 166
           </template>
124 167
         </el-table-column>
125
-        <el-table-column prop="address" label="故障是否排除" width="110" align="center">
168
+        <el-table-column
169
+          prop="address"
170
+          label="故障是否排除"
171
+          width="110"
172
+          align="center"
173
+        >
126 174
           <template slot-scope="scope">{{ scope.row.exclude }}</template>
127 175
         </el-table-column>
128 176
         <el-table-column prop="address" label="原因" width="80" align="center">
@@ -130,7 +178,12 @@
130 178
         </el-table-column>
131 179
         <el-table-column label="操作" align="center" min-width="150px">
132 180
           <template slot-scope="scope">
133
-            <el-tooltip class="item" effect="dark" content="编辑" placement="top">
181
+            <el-tooltip
182
+              class="item"
183
+              effect="dark"
184
+              content="编辑"
185
+              placement="top"
186
+            >
134 187
               <el-button
135 188
                 size="mini"
136 189
                 type="primary"
@@ -141,7 +194,12 @@
141 194
               ></el-button>
142 195
             </el-tooltip>
143 196
 
144
-            <el-tooltip class="item" effect="dark" content="删除" placement="top">
197
+            <el-tooltip
198
+              class="item"
199
+              effect="dark"
200
+              content="删除"
201
+              placement="top"
202
+            >
145 203
               <el-button
146 204
                 size="mini"
147 205
                 type="danger"
@@ -165,7 +223,12 @@
165 223
     </el-row>
166 224
 
167 225
     <!-- 编辑维修记录 -->
168
-    <el-dialog title="编辑维修记录" :visible.sync="dialogVisible" width="65%" center>
226
+    <el-dialog
227
+      title="编辑维修记录"
228
+      :visible.sync="dialogVisible"
229
+      width="65%"
230
+      center
231
+    >
169 232
       <el-form :model="guaForm" ref="guaForm" :rules="repirRules">
170 233
         <el-row>
171 234
           <el-col :span="8">
@@ -221,7 +284,10 @@
221 284
           </el-col>
222 285
           <el-col :span="8">
223 286
             <el-form-item label="总路程:(公里)">
224
-              <el-input style="width:200px" v-model="guaForm.total_distance"></el-input>
287
+              <el-input
288
+                style="width:200px"
289
+                v-model="guaForm.total_distance"
290
+              ></el-input>
225 291
             </el-form-item>
226 292
           </el-col>
227 293
         </el-row>
@@ -234,7 +300,8 @@
234 300
                   :value="gender.id"
235 301
                   v-for="(gender, index) in faultPhase"
236 302
                   :key="index"
237
-                >{{ gender.name }}</el-radio>
303
+                  >{{ gender.name }}</el-radio
304
+                >
238 305
               </el-radio-group>
239 306
             </el-form-item>
240 307
           </el-col>
@@ -318,7 +385,8 @@
318 385
                   :value="gender.id"
319 386
                   v-for="(gender, index) in breakDown"
320 387
                   :key="index"
321
-                >{{ gender.name }}</el-radio>
388
+                  >{{ gender.name }}</el-radio
389
+                >
322 390
               </el-radio-group>
323 391
             </el-form-item>
324 392
           </el-col>
@@ -339,7 +407,9 @@
339 407
       </el-form>
340 408
       <span slot="footer" class="dialog-footer">
341 409
         <el-button @click="dialogVisible = false">取 消</el-button>
342
-        <el-button type="primary" @click="UpdateRepair('guaForm')">保存</el-button>
410
+        <el-button type="primary" @click="UpdateRepair('guaForm')"
411
+          >保存</el-button
412
+        >
343 413
       </span>
344 414
     </el-dialog>
345 415
   </div>

+ 180 - 50
src/xt_pages/management/components/UserForm.vue Dosyayı Görüntüle

@@ -11,7 +11,8 @@
11 11
           format="yyyy-MM-dd"
12 12
           value-format="yyyy-MM-dd"
13 13
           style="width:145px"
14
-        ></el-date-picker>-
14
+        ></el-date-picker
15
+        >-
15 16
         <el-date-picker
16 17
           v-model="form.end_time"
17 18
           prefix-icon="none"
@@ -25,7 +26,12 @@
25 26
       <el-col :span="5">
26 27
         <span class="machineClass">分区:</span>
27 28
         <el-select style="width:110px" v-model="form.zone" @change="changeBed">
28
-          <el-option v-for="item in this.zones" :key="item.id" :label="item.name" :value="item.id"></el-option>
29
+          <el-option
30
+            v-for="item in this.zones"
31
+            :key="item.id"
32
+            :label="item.name"
33
+            :value="item.id"
34
+          ></el-option>
29 35
         </el-select>
30 36
       </el-col>
31 37
       <el-col :span="6">
@@ -40,7 +46,7 @@
40 46
         </el-select>
41 47
       </el-col>
42 48
       <el-col :span="2">
43
-        <el-button @click="queryInfo()">查询</el-button>
49
+        <el-button type="primary" @click="queryInfo()">查询</el-button>
44 50
       </el-col>
45 51
     </el-row>
46 52
     <el-row :span="24" style="display: flex;align-items: center;">
@@ -49,13 +55,14 @@
49 55
           :indeterminate="isIndeterminate"
50 56
           v-model="checkAllStatus"
51 57
           @change="changeCheck"
52
-        >全选</el-checkbox>
58
+          >全选</el-checkbox
59
+        >
53 60
       </el-col>
54 61
       <el-col :span="3">
55 62
         <el-button size="small" @click="BatchDelete">批量删除</el-button>
56 63
       </el-col>
57 64
       <el-col :span="6">
58
-        <el-button @click="printCard">打印</el-button>
65
+        <el-button type="primary" @click="printCard">打印</el-button>
59 66
       </el-col>
60 67
     </el-row>
61 68
     <el-row>
@@ -73,7 +80,11 @@
73 80
         highlight-current-row
74 81
         style="width: 100%;margin-top: 10px;"
75 82
       >
76
-        <el-table-column align="center" type="selection" width="55"></el-table-column>
83
+        <el-table-column
84
+          align="center"
85
+          type="selection"
86
+          width="55"
87
+        ></el-table-column>
77 88
         <el-table-column label="机号" align="center" width="50">
78 89
           <template slot-scope="scope">{{ scope.row.bed }}</template>
79 90
         </el-table-column>
@@ -97,16 +108,22 @@
97 108
         </el-table-column>
98 109
         <el-table-column label="机表消毒" align="center" min-width="110px">
99 110
           <el-table-column label="消毒方式" align="center" min-width="110px">
100
-            <template slot-scope="scope">{{ scope.row.disinfect_type }}</template>
111
+            <template slot-scope="scope">{{
112
+              scope.row.disinfect_type
113
+            }}</template>
101 114
           </el-table-column>
102 115
           <el-table-column label="消毒液" align="center" min-width="110px">
103
-            <template slot-scope="scope">{{ scope.row.disinfectant_type }}</template>
116
+            <template slot-scope="scope">{{
117
+              scope.row.disinfectant_type
118
+            }}</template>
104 119
           </el-table-column>
105 120
           <el-table-column label="消毒状态" align="center" min-width="110px">
106 121
             <template slot-scope="scope">{{ scope.row.disinfection }}</template>
107 122
           </el-table-column>
108 123
           <el-table-column label="消毒液浓度" align="center" min-width="110px">
109
-            <template slot-scope="scope">{{ scope.row.dialysis_concentration }}</template>
124
+            <template slot-scope="scope">{{
125
+              scope.row.dialysis_concentration
126
+            }}</template>
110 127
           </el-table-column>
111 128
         </el-table-column>
112 129
         <el-table-column label="液路消毒" align="center" min-width="110px">
@@ -116,30 +133,56 @@
116 133
           <el-table-column label="消毒液" align="center" min-width="110px">
117 134
             <template slot-scope="scope">{{ scope.row.disinfectant }}</template>
118 135
           </el-table-column>
119
-          <el-table-column label="开始消毒时间" align="center" min-width="110px">
136
+          <el-table-column
137
+            label="开始消毒时间"
138
+            align="center"
139
+            min-width="110px"
140
+          >
120 141
             <template slot-scope="scope">
121
-              {{
122
-              getTimes(scope.row.disinfec_startime)
123
-              }}
142
+              {{ getTimes(scope.row.disinfec_startime) }}
124 143
             </template>
125 144
           </el-table-column>
126
-          <el-table-column label="结束消毒时间" align="center" min-width="110px">
127
-            <template slot-scope="scope">{{ getTimes(scope.row.disinfec_endtime) }}</template>
145
+          <el-table-column
146
+            label="结束消毒时间"
147
+            align="center"
148
+            min-width="110px"
149
+          >
150
+            <template slot-scope="scope">{{
151
+              getTimes(scope.row.disinfec_endtime)
152
+            }}</template>
128 153
           </el-table-column>
129
-          <el-table-column label="消毒时长/min" align="center" min-width="110px">
154
+          <el-table-column
155
+            label="消毒时长/min"
156
+            align="center"
157
+            min-width="110px"
158
+          >
130 159
             <template slot-scope="scope">{{ scope.row.long_time }}</template>
131 160
           </el-table-column>
132 161
           <el-table-column label="消毒状态" align="center" min-width="110px">
133
-            <template slot-scope="scope">{{ scope.row.disinfection_status }}</template>
162
+            <template slot-scope="scope">{{
163
+              scope.row.disinfection_status
164
+            }}</template>
134 165
           </el-table-column>
135 166
           <el-table-column label="消毒液残留" align="center" min-width="110px">
136
-            <template slot-scope="scope">{{ scope.row.disinfection_residue }}</template>
167
+            <template slot-scope="scope">{{
168
+              scope.row.disinfection_residue
169
+            }}</template>
137 170
           </el-table-column>
138 171
         </el-table-column>
139
-        <el-table-column label="透析机消毒液(更换)" align="center" min-width="110px">
140
-          <template slot-scope="scope">{{ scope.row.dialysis_checked }}</template>
172
+        <el-table-column
173
+          label="透析机消毒液(更换)"
174
+          align="center"
175
+          min-width="110px"
176
+        >
177
+          <template slot-scope="scope">{{
178
+            scope.row.dialysis_checked
179
+          }}</template>
141 180
         </el-table-column>
142
-        <el-table-column label="细菌过滤器(更换)" align="center" min-width="110px">
181
+        <el-table-column
182
+          label="细菌过滤器(更换)"
183
+          align="center"
184
+          min-width="110px"
185
+        >
143 186
           <template slot-scope="scope">{{ scope.row.germ_checked }}</template>
144 187
         </el-table-column>
145 188
         <el-table-column label="空气滤网" align="center" min-width="110px">
@@ -150,7 +193,12 @@
150 193
         </el-table-column>
151 194
         <el-table-column label="操作" align="center" min-width="150px">
152 195
           <template slot-scope="scope">
153
-            <el-tooltip class="item" effect="dark" content="编辑" placement="top">
196
+            <el-tooltip
197
+              class="item"
198
+              effect="dark"
199
+              content="编辑"
200
+              placement="top"
201
+            >
154 202
               <el-button
155 203
                 size="mini"
156 204
                 type="primary"
@@ -161,7 +209,12 @@
161 209
               ></el-button>
162 210
             </el-tooltip>
163 211
 
164
-            <el-tooltip class="item" effect="dark" content="删除" placement="top">
212
+            <el-tooltip
213
+              class="item"
214
+              effect="dark"
215
+              content="删除"
216
+              placement="top"
217
+            >
165 218
               <el-button
166 219
                 size="mini"
167 220
                 type="danger"
@@ -184,7 +237,12 @@
184 237
       ></el-pagination>
185 238
     </el-row>
186 239
 
187
-    <el-dialog title="使用登记" :visible.sync="dialogVisible" width="65%" center>
240
+    <el-dialog
241
+      title="使用登记"
242
+      :visible.sync="dialogVisible"
243
+      width="65%"
244
+      center
245
+    >
188 246
       <el-form :model="userform" ref="userform">
189 247
         <el-row>
190 248
           <el-col :span="8">
@@ -202,7 +260,11 @@
202 260
           </el-col>
203 261
           <el-col :span="8">
204 262
             <el-form-item label="班次:">
205
-              <el-select v-model="userform.classtype" placeholder="请选择" class="a">
263
+              <el-select
264
+                v-model="userform.classtype"
265
+                placeholder="请选择"
266
+                class="a"
267
+              >
206 268
                 <el-option
207 269
                   v-for="item in classType"
208 270
                   :key="item.id"
@@ -216,7 +278,12 @@
216 278
           <el-col :span="8">
217 279
             <el-form-item label="分区:">
218 280
               <el-select v-model="userform.zone" placeholder="请选择" class="a">
219
-                <el-option v-for="item in zones" :key="item.id" :label="item.name" :value="item.id"></el-option>
281
+                <el-option
282
+                  v-for="item in zones"
283
+                  :key="item.id"
284
+                  :label="item.name"
285
+                  :value="item.id"
286
+                ></el-option>
220 287
               </el-select>
221 288
             </el-form-item>
222 289
           </el-col>
@@ -270,14 +337,22 @@
270 337
           </el-col>
271 338
           <el-col :span="8">
272 339
             <el-form-item label="传染病:">
273
-              <el-input style="width:180px" v-model="userform.contagion" :disabled="true"></el-input>
340
+              <el-input
341
+                style="width:180px"
342
+                v-model="userform.contagion"
343
+                :disabled="true"
344
+              ></el-input>
274 345
             </el-form-item>
275 346
           </el-col>
276 347
         </el-row>
277 348
         <el-row>
278 349
           <el-col :span="8">
279 350
             <el-form-item label="透析方式:">
280
-              <el-select v-model="userform.dialysis_mode" placeholder="请选择" class="a">
351
+              <el-select
352
+                v-model="userform.dialysis_mode"
353
+                placeholder="请选择"
354
+                class="a"
355
+              >
281 356
                 <el-option
282 357
                   v-for="item in treatmode"
283 358
                   :key="item.id"
@@ -315,29 +390,44 @@
315 390
         <el-row>
316 391
           <el-col :span="8">
317 392
             <el-form-item label="透析时长:">
318
-              <el-input style="width:180px" v-model="userform.dialysis_time"></el-input>
393
+              <el-input
394
+                style="width:180px"
395
+                v-model="userform.dialysis_time"
396
+              ></el-input>
319 397
             </el-form-item>
320 398
           </el-col>
321 399
           <el-col :span="8">
322 400
             <el-form-item label="实际超滤量:">
323
-              <el-input style="width:180px" v-model="userform.hyperfiltratio"></el-input>
401
+              <el-input
402
+                style="width:180px"
403
+                v-model="userform.hyperfiltratio"
404
+              ></el-input>
324 405
             </el-form-item>
325 406
           </el-col>
326 407
           <el-col :span="8">
327 408
             <el-form-item label="体重减少:">
328
-              <el-input style="width:180px" v-model="userform.weight_loss"></el-input>
409
+              <el-input
410
+                style="width:180px"
411
+                v-model="userform.weight_loss"
412
+              ></el-input>
329 413
             </el-form-item>
330 414
           </el-col>
331 415
         </el-row>
332 416
         <el-row>
333 417
           <el-col :span="8">
334 418
             <el-form-item label="预警值:">
335
-              <el-input style="width:180px" v-model="userform.warning_value"></el-input>
419
+              <el-input
420
+                style="width:180px"
421
+                v-model="userform.warning_value"
422
+              ></el-input>
336 423
             </el-form-item>
337 424
           </el-col>
338 425
           <el-col :span="8">
339 426
             <el-form-item label="使用次数:">
340
-              <el-input style="width:180px" v-model="userform.user_total"></el-input>
427
+              <el-input
428
+                style="width:180px"
429
+                v-model="userform.user_total"
430
+              ></el-input>
341 431
             </el-form-item>
342 432
           </el-col>
343 433
           <el-col :span="8">
@@ -348,7 +438,8 @@
348 438
                   :value="gender.id"
349 439
                   v-for="(gender, index) in runOption"
350 440
                   :key="index"
351
-                >{{ gender.name }}</el-radio>
441
+                  >{{ gender.name }}</el-radio
442
+                >
352 443
               </el-radio-group>
353 444
             </el-form-item>
354 445
           </el-col>
@@ -362,7 +453,8 @@
362 453
                   :value="gender.id"
363 454
                   v-for="(gender, index) in faultPhase"
364 455
                   :key="index"
365
-                >{{ gender.name }}</el-radio>
456
+                  >{{ gender.name }}</el-radio
457
+                >
366 458
               </el-radio-group>
367 459
             </el-form-item>
368 460
           </el-col>
@@ -370,14 +462,20 @@
370 462
         <el-row>
371 463
           <el-col :span="24">
372 464
             <el-form-item label="故障描述:">
373
-              <el-input style="width:600px" v-model="userform.fault_description"></el-input>
465
+              <el-input
466
+                style="width:600px"
467
+                v-model="userform.fault_description"
468
+              ></el-input>
374 469
             </el-form-item>
375 470
           </el-col>
376 471
         </el-row>
377 472
         <el-row>
378 473
           <el-col :span="24">
379 474
             <el-form-item class="stoppage" label="故障提示信息及代码:">
380
-              <el-input style="width:600px" v-model="userform.code_information"></el-input>
475
+              <el-input
476
+                style="width:600px"
477
+                v-model="userform.code_information"
478
+              ></el-input>
381 479
             </el-form-item>
382 480
           </el-col>
383 481
         </el-row>
@@ -403,7 +501,10 @@
403 501
           </el-col>
404 502
           <el-col :span="8">
405 503
             <el-form-item label="消毒液:">
406
-              <el-select v-model="userform.disinfectant_type" placeholder="请选择">
504
+              <el-select
505
+                v-model="userform.disinfectant_type"
506
+                placeholder="请选择"
507
+              >
407 508
                 <el-option
408 509
                   v-for="item in disinfectantType"
409 510
                   :key="item.id"
@@ -437,7 +538,8 @@
437 538
                   :value="gender.id"
438 539
                   v-for="(gender, index) in runOptions"
439 540
                   :key="index"
440
-                >{{ gender.name }}</el-radio>
541
+                  >{{ gender.name }}</el-radio
542
+                >
441 543
               </el-radio-group>
442 544
             </el-form-item>
443 545
           </el-col>
@@ -476,7 +578,10 @@
476 578
         <el-row>
477 579
           <el-col :span="8">
478 580
             <el-form-item label="消毒状态:">
479
-              <el-select v-model="userform.disinfection_status" placeholder="请选择">
581
+              <el-select
582
+                v-model="userform.disinfection_status"
583
+                placeholder="请选择"
584
+              >
480 585
                 <el-option
481 586
                   v-for="item in disinfection"
482 587
                   :key="item.id"
@@ -495,7 +600,8 @@
495 600
                   :value="gender.id"
496 601
                   v-for="(gender, index) in Disinfectant"
497 602
                   :key="index"
498
-                >{{ gender.name }}</el-radio>
603
+                  >{{ gender.name }}</el-radio
604
+                >
499 605
               </el-radio-group>
500 606
             </el-form-item>
501 607
           </el-col>
@@ -503,7 +609,11 @@
503 609
         <el-row>
504 610
           <el-col :span="8">
505 611
             <el-form-item label="消毒时长:">
506
-              <el-input style="width:135px" v-model="userform.longtime"></el-input>分钟
612
+              <el-input
613
+                style="width:135px"
614
+                v-model="userform.longtime"
615
+              ></el-input
616
+              >分钟
507 617
             </el-form-item>
508 618
           </el-col>
509 619
           <el-col :span="8">
@@ -553,9 +663,12 @@
553 663
           </el-col>
554 664
           <el-col :span="6">
555 665
             <el-form-item label="规格:">
556
-              <el-input style="width:100px" v-model="userform.norms"></el-input>桶
666
+              <el-input style="width:100px" v-model="userform.norms"></el-input
667
+              >桶
557 668
             </el-form-item>
558
-            <span style="color:red" v-show="showone">您已一个月未更换,请注意检测</span>
669
+            <span style="color:red" v-show="showone"
670
+              >您已一个月未更换,请注意检测</span
671
+            >
559 672
           </el-col>
560 673
         </el-row>
561 674
         <el-row>
@@ -567,7 +680,8 @@
567 680
                   :value="gender.id"
568 681
                   v-for="(gender, index) in potency"
569 682
                   :key="index"
570
-                >{{ gender.name }}</el-radio>
683
+                  >{{ gender.name }}</el-radio
684
+                >
571 685
               </el-radio-group>
572 686
             </el-form-item>
573 687
           </el-col>
@@ -578,7 +692,9 @@
578 692
           </el-col>
579 693
           <el-col :span="7">
580 694
             <el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
581
-            <span style="color:red" v-show="showone">您已一个月未更换,请注意检测</span>
695
+            <span style="color:red" v-show="showone"
696
+              >您已一个月未更换,请注意检测</span
697
+            >
582 698
           </el-col>
583 699
           <el-col :span="8">
584 700
             <el-form-item label="名称:">
@@ -595,7 +711,11 @@
595 711
           </el-col>
596 712
           <el-col :span="6">
597 713
             <el-form-item label="数量:">
598
-              <el-input style="width:100px" v-model="userform.germ_number"></el-input>支
714
+              <el-input
715
+                style="width:100px"
716
+                v-model="userform.germ_number"
717
+              ></el-input
718
+              >支
599 719
             </el-form-item>
600 720
           </el-col>
601 721
         </el-row>
@@ -605,7 +725,9 @@
605 725
           </el-col>
606 726
           <el-col :span="10">
607 727
             <el-checkbox v-model="userform.clean">清洁:</el-checkbox>
608
-            <span style="color:red" v-show="showone">您已一个月未清洁,请检查</span>
728
+            <span style="color:red" v-show="showone"
729
+              >您已一个月未清洁,请检查</span
730
+            >
609 731
           </el-col>
610 732
           <el-col :span="10">
611 733
             <el-form-item label="签名:">
@@ -624,7 +746,9 @@
624 746
       </el-form>
625 747
       <span slot="footer" class="dialog-footer">
626 748
         <el-button @click="dialogVisible = false">取 消</el-button>
627
-        <el-button type="primary" @click="UpdateForm('userform')">保存</el-button>
749
+        <el-button type="primary" @click="UpdateForm('userform')"
750
+          >保存</el-button
751
+        >
628 752
       </span>
629 753
     </el-dialog>
630 754
 
@@ -636,7 +760,12 @@
636 760
           </div>
637 761
           <div>
638 762
             <div class="printClass">打印日期:{{ nowTime }}</div>
639
-            <table border="1" style="width:100%" cellspacing="0" cellpadding="0">
763
+            <table
764
+              border="1"
765
+              style="width:100%"
766
+              cellspacing="0"
767
+              cellpadding="0"
768
+            >
640 769
               <tr>
641 770
                 <th :rowspan="2">机号</th>
642 771
                 <th :rowspan="2">日期</th>
@@ -2115,6 +2244,7 @@ export default {
2115 2244
 <style lang="scss">
2116 2245
 .machineClass {
2117 2246
   font-size: 14px;
2247
+  color: #606266;
2118 2248
 }
2119 2249
 .c {
2120 2250
   margin-bottom: 10px;

+ 57 - 46
src/xt_pages/management/home.vue Dosyayı Görüntüle

@@ -775,12 +775,12 @@
775 775
                                         }"
776 776
                                         >
777 777
                                         <el-table-column align="center" type="selection" width="55"></el-table-column>
778
-                                        <el-table-column label="时间" align="center" >
778
+                                        <el-table-column label="时间" align="center" min-width="50px">
779 779
                                                 <template slot-scope="scope">
780 780
                                                     {{scope.row.time}}
781 781
                                                  </template>
782 782
                                         </el-table-column>
783
-                                         <el-table-column label="班次" align="center" >
783
+                                         <el-table-column label="班次" align="center" min-width="50px">
784 784
                                                 <template slot-scope="scope">
785 785
                                                     {{scope.row.classtime}}
786 786
                                                  </template>
@@ -790,7 +790,7 @@
790 790
                                                     {{scope.row.way}}
791 791
                                                  </template>
792 792
                                         </el-table-column>
793
-                                         <el-table-column label="机表消毒液" align="center" min-width="110px"  >
793
+                                         <el-table-column label="机表消毒液" align="center" min-width="100px"  >
794 794
                                                 <template slot-scope="scope">
795 795
                                                      {{scope.row.machine_disinfectant}}
796 796
                                                  </template>
@@ -800,7 +800,7 @@
800 800
                                                    {{scope.row.disinfectan_way}}
801 801
                                                  </template>
802 802
                                         </el-table-column>
803
-                                         <el-table-column label="液路消毒液" align="center" min-width="110px" >
803
+                                         <el-table-column label="液路消毒液" align="center" min-width="100px" >
804 804
                                                 <template slot-scope="scope">
805 805
                                                     {{scope.row.disinfectant}}
806 806
                                                  </template>
@@ -860,17 +860,17 @@
860 860
                                          style="width: 100%;margin-top: 10px;"
861 861
                                         >
862 862
                                         <el-table-column align="center" type="selection" width="55"></el-table-column>
863
-                                        <el-table-column label="型号" align="center" min-width="70px">
863
+                                        <el-table-column label="型号" align="center" min-width="60px">
864 864
                                                 <template slot-scope="scope">
865 865
                                                     {{scope.row.device_mode}}
866 866
                                                  </template>
867 867
                                         </el-table-column>
868
-                                         <el-table-column label="时间" align="center" min-width="70px" >
868
+                                         <el-table-column label="时间" align="center" min-width="60px" >
869 869
                                                 <template slot-scope="scope">
870 870
                                                       {{scope.row.time}}
871 871
                                                  </template>
872 872
                                         </el-table-column>
873
-                                         <el-table-column label="班次" align="center" min-width="70px" >
873
+                                         <el-table-column label="班次" align="center" min-width="60px" >
874 874
                                                 <template slot-scope="scope">
875 875
                                                     {{scope.row.classtime}}
876 876
                                                  </template>
@@ -880,7 +880,7 @@
880 880
                                                     {{scope.row.way}}
881 881
                                                  </template>
882 882
                                         </el-table-column>
883
-                                         <el-table-column label="基表消毒液" align="center" min-width="110px"  >
883
+                                         <el-table-column label="基表消毒液" align="center" min-width="100px"  >
884 884
                                                 <template slot-scope="scope">
885 885
                                                    {{scope.row.machine_disinfectant}}
886 886
                                                  </template>
@@ -890,12 +890,12 @@
890 890
                                                    {{scope.row.disinfectant}}
891 891
                                                  </template>
892 892
                                         </el-table-column>
893
-                                         <el-table-column label="液路消毒液" align="center" min-width="110px" >
893
+                                         <el-table-column label="液路消毒液" align="center" min-width="100px" >
894 894
                                                 <template slot-scope="scope">
895 895
                                                    {{scope.row.disinfectan_way}}
896 896
                                                  </template>
897 897
                                         </el-table-column>
898
-                                         <el-table-column label="消毒时长/min" align="center" min-width="120px" >
898
+                                         <el-table-column label="消毒时长/min" align="center" min-width="60px" >
899 899
                                                 <template slot-scope="scope">
900 900
                                                     {{scope.row.disinfec_time}}
901 901
                                                  </template>
@@ -1094,7 +1094,7 @@
1094 1094
                                 </el-row>
1095 1095
                                 <el-row>
1096 1096
                                   <el-col>
1097
-                                      <el-form-item label="故障发生阶段:">
1097
+                                      <el-form-item class="stoppage" label="故障发生阶段:">
1098 1098
                                         <el-radio-group v-model="userform.failure_stage" :disabled ="runDisable">
1099 1099
                                              <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in faultPhase" :key="index">{{gender.name}}</el-radio>
1100 1100
                                         </el-radio-group>
@@ -1103,15 +1103,15 @@
1103 1103
                                 </el-row>
1104 1104
                                 <el-row>
1105 1105
                                   <el-col :span="24">
1106
-                                      <el-form-item label="故障描述:">
1107
-                                      <el-input style="width:800px" v-model="userform.fault_description"></el-input>
1106
+                                      <el-form-item class="stoppage" label="故障描述:">
1107
+                                      <el-input style="width:78%" v-model="userform.fault_description"></el-input>
1108 1108
                                      </el-form-item>
1109 1109
                                   </el-col>
1110 1110
                                 </el-row>
1111 1111
                                 <el-row>
1112 1112
                                   <el-col :span="24">
1113 1113
                                    <el-form-item class="stoppage" label="故障提示信息及代码:">
1114
-                                      <el-input style="width:700px" v-model="userform.code_information"></el-input>
1114
+                                      <el-input style="width:78%" v-model="userform.code_information"></el-input>
1115 1115
                                    </el-form-item>
1116 1116
                                   </el-col>
1117 1117
                                 </el-row>
@@ -1151,6 +1151,7 @@
1151 1151
                                 </el-row>
1152 1152
                                 <el-row>
1153 1153
                                   <el-col :span="3">
1154
+                                    <el-form-item style="visibility: hidden;" label="①机表"></el-form-item>
1154 1155
                                   </el-col>
1155 1156
                                   <el-col :span="10">
1156 1157
                                      <el-form-item label="消毒状态:" required prop="disinfection">
@@ -1205,6 +1206,9 @@
1205 1206
                                    </el-col>
1206 1207
                                 </el-row>
1207 1208
                                 <el-row>
1209
+                                  <el-col :span="3">
1210
+                                    <el-form-item style="visibility: hidden;" label="①机表"></el-form-item>
1211
+                                  </el-col>
1208 1212
                                    <el-col :span="10">
1209 1213
                                      <el-form-item label="消毒状态:" required prop="disinfection_status">
1210 1214
                                         <el-select v-model="userform.disinfection_status" placeholder="请选择" >
@@ -1229,7 +1233,7 @@
1229 1233
                                 <el-row>
1230 1234
                                     <el-col :span="8">
1231 1235
                                         <el-form-item label="消毒时长:">
1232
-                                            <el-input style="width:135px" v-model="userform.longtime"></el-input>分钟
1236
+                                            <el-input style="width:135px" v-model="userform.longtime"></el-input><span style="color:#606266;">分钟</span>
1233 1237
                                         </el-form-item>
1234 1238
                                     </el-col>
1235 1239
                                     <el-col :span="8">
@@ -1261,8 +1265,10 @@
1261 1265
                                    <el-col :span="3" style="height: 36px;line-height: 36px;">
1262 1266
                                      <el-form-item label="透析机消毒液:"></el-form-item>
1263 1267
                                    </el-col>
1264
-                                   <el-col :span="2">
1265
-                                      <el-checkbox v-model="userform.dialysis_checked">更换</el-checkbox>
1268
+                                   <el-col :span="5" style="display:flex;align-items: center">
1269
+                                     <el-form-item>
1270
+                                       <el-checkbox v-model="userform.dialysis_checked">更换</el-checkbox>
1271
+                                      </el-form-item>
1266 1272
                                    </el-col>
1267 1273
                                    <el-col :span="8">
1268 1274
                                      <el-form-item label="名称:">
@@ -1277,9 +1283,9 @@
1277 1283
                                         </el-select>
1278 1284
                                      </el-form-item>
1279 1285
                                    </el-col>
1280
-                                   <el-col :span="7">
1286
+                                   <el-col :span="8">
1281 1287
                                       <el-form-item label="规格:">
1282
-                                          <el-input style="width:100px" v-model="userform.norms"></el-input>桶
1288
+                                          <el-input style="width:100px" v-model="userform.norms"></el-input><span style="color:#606266;"></span>
1283 1289
                                       </el-form-item>
1284 1290
                                        <span class="warn" v-show="warnShow">您已一个月未更换,请注意检测</span>
1285 1291
                                    </el-col>
@@ -1295,14 +1301,14 @@
1295 1301
                                    </el-col>
1296 1302
                                 </el-row>
1297 1303
                                 <el-row>
1298
-                                   <el-col :span="3">
1299
-                                      <el-form-item label="细菌过滤器:"></el-form-item>
1300
-                                   </el-col>
1301
-                                    <el-col :span="8" style="height: 36px;line-height: 36px;">
1302
-                                      <el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
1304
+                                   <el-col :span="8">
1305
+                                     <el-form-item label="细菌过滤器:">
1306
+                                       <el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
1303 1307
                                        <span class="warn" v-show="warnShowTwo">您已一个月未更换,请注意检测</span>
1304
-                                   </el-col>
1305
-                                   <el-col :span="7">
1308
+                                     </el-form-item>
1309
+                                      
1310
+                                     </el-col> 
1311
+                                   <el-col :span="8">
1306 1312
                                      <el-form-item class="newname" label="名称:">
1307 1313
                                        <el-select v-model="userform.germ_name" placeholder="请选择" style="width:150px">
1308 1314
                                            <el-option
@@ -1315,21 +1321,20 @@
1315 1321
                                         </el-select>
1316 1322
                                      </el-form-item>
1317 1323
                                    </el-col>
1318
-                                   <el-col :span="6">
1324
+                                   <el-col :span="8">
1319 1325
                                        <el-form-item class="newname" label="数量:">
1320
-                                           <el-input style="width:100px" v-model="userform.germ_number"></el-input>支
1326
+                                           <el-input style="width:100px" v-model="userform.germ_number"></el-input><span style="color:#606266;"></span>
1321 1327
                                        </el-form-item>
1322 1328
                                    </el-col>
1323 1329
                                 </el-row>
1324 1330
                                 <el-row>
1325
-                                  <el-col :span="3">
1326
-                                     <el-form-item label="空气滤网清洁:"></el-form-item>
1327
-                                  </el-col>
1328
-                                   <el-col :span="8" style="height: 36px;line-height: 36px;">
1329
-                                      <el-checkbox v-model="userform.clean">清洁:</el-checkbox>
1331
+                                   <el-col :span="8">
1332
+                                      <el-form-item label="空气滤网清洁:">
1333
+                                        <el-checkbox v-model="userform.clean">清洁</el-checkbox>
1330 1334
                                       <span class="warn" v-show="warnShowThree">您已一个月未清洁,请检查</span>
1331
-                                   </el-col>
1332
-                                   <el-col :span="10">
1335
+                                      </el-form-item>
1336
+                                     </el-col>
1337
+                                   <el-col :span="8">
1333 1338
                                        <el-form-item class="newname" label="签名:" required prop="sign_name">
1334 1339
                                           <el-select v-model="userform.sign_name" placeholder="请选择" >
1335 1340
                                            <el-option
@@ -1349,7 +1354,7 @@
1349 1354
                                      <el-button>取消</el-button>
1350 1355
                                     </el-col>
1351 1356
                                     <el-col :span="2">
1352
-                                     <el-button @click="SaveInformation('userform')">保存</el-button>
1357
+                                     <el-button type="primary" @click="SaveInformation('userform')">保存</el-button>
1353 1358
                                     </el-col>
1354 1359
                                   </div>
1355 1360
                                 </el-row>
@@ -1447,7 +1452,7 @@
1447 1452
                                         type="textarea"
1448 1453
                                         :rows="2"
1449 1454
                                          placeholder="请输入内容"
1450
-                                         style="width:800px"
1455
+                                         style="width:84%"
1451 1456
                                          v-model="qualityForm.detection_result"
1452 1457
                                          >
1453 1458
                                       </el-input>
@@ -1465,7 +1470,7 @@
1465 1470
                                     <el-button @click="cleanSaveBacteria">取消</el-button>
1466 1471
                                   </el-col>
1467 1472
                                    <el-col :span="4">
1468
-                                    <el-button @click="SaveBacteria('qualityForm')">保存</el-button>
1473
+                                    <el-button type="primary" @click="SaveBacteria('qualityForm')">保存</el-button>
1469 1474
                                   </el-col>
1470 1475
                                 </div>
1471 1476
                               </el-row>
@@ -1809,7 +1814,7 @@
1809 1814
                                         :rows="2"
1810 1815
                                          placeholder="请输入内容"
1811 1816
                                          v-model="guaForm.code_information"
1812
-                                        style="width:500px">
1817
+                                        style="width:85%">
1813 1818
                                      </el-input>
1814 1819
                                   </el-form-item>
1815 1820
                                 </el-col>
@@ -1822,7 +1827,7 @@
1822 1827
                                            :rows="2"
1823 1828
                                             placeholder="请输入内容"
1824 1829
                                             v-model="guaForm.fault_description"
1825
-                                            style="width:96%">
1830
+                                            style="width:86%;margin-left: 10%;">
1826 1831
                                          </el-input>
1827 1832
                                     </el-form-item>
1828 1833
                                 </el-col>
@@ -1833,7 +1838,7 @@
1833 1838
                                            :rows="2"
1834 1839
                                             placeholder="请输入内容"
1835 1840
                                             v-model="guaForm.cause_analysis"
1836
-                                            style="width:96%">
1841
+                                            style="width:86%;margin-left: 10%;">
1837 1842
                                          </el-input>
1838 1843
                                     </el-form-item>
1839 1844
                                 </el-col>
@@ -1844,7 +1849,7 @@
1844 1849
                                            :rows="2"
1845 1850
                                             placeholder="请输入内容"
1846 1851
                                             v-model="guaForm.treatment_process"
1847
-                                            style="width:96%">
1852
+                                            style="width:86%;margin-left: 10%;">
1848 1853
                                          </el-input>
1849 1854
                                     </el-form-item>
1850 1855
                                 </el-col>
@@ -1896,7 +1901,7 @@
1896 1901
                                     <el-button>取消</el-button>
1897 1902
                                   </el-col>
1898 1903
                                    <el-col :span="4">
1899
-                                    <el-button @click="SaveRepair('guaForm')">保存</el-button>
1904
+                                    <el-button type="primary" @click="SaveRepair('guaForm')">保存</el-button>
1900 1905
                                   </el-col>
1901 1906
                                 </div>
1902 1907
                              </el-row>
@@ -4361,6 +4366,9 @@ export default {
4361 4366
   .warn{
4362 4367
     color: red;
4363 4368
     font-size: 14px;
4369
+    width: 100%;
4370
+    display: inline-block;
4371
+    margin-left: 96px;
4364 4372
   }
4365 4373
 
4366 4374
   .userbutton{
@@ -4370,7 +4378,6 @@ export default {
4370 4378
 
4371 4379
 </style>
4372 4380
 <style lang="scss">
4373
-
4374 4381
    .a{
4375 4382
      margin-bottom: 10px;
4376 4383
       margin-top: 6px;
@@ -4442,7 +4449,7 @@ export default {
4442 4449
 }
4443 4450
 .stoppage{
4444 4451
   .el-form-item__label{
4445
-    width: 150px;
4452
+    width: 18%;
4446 4453
   }
4447 4454
 }
4448 4455
 .newItem{
@@ -4452,7 +4459,8 @@ export default {
4452 4459
 }
4453 4460
 .formItem{
4454 4461
   .el-form-item__label{
4455
-    width: 160px;
4462
+    width: 104px;
4463
+    line-height: 30px;
4456 4464
   }
4457 4465
 }
4458 4466
 .newname{
@@ -4460,4 +4468,7 @@ export default {
4460 4468
     width: 60px;
4461 4469
   }
4462 4470
 }
4471
+::-webkit-scrollbar{
4472
+  height: 20px;
4473
+}
4463 4474
 </style>

+ 90 - 82
src/xt_pages/upload/config/City.vue Dosyayı Görüntüle

@@ -1,95 +1,86 @@
1 1
 <template>
2 2
   <div class="main-contain">
3
-    <div class="cell clearfix">
4
-      <el-row :gutter="20">
5
-        <el-col :span="24" :offset="6">
6
-          <!--<div>质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。</div>-->
7
-          <div class="titleOne">
8
-            质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。<br />&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;微信:kuyicloud
9
-            电话:18682074632
10
-          </div>
11
-        </el-col>
12
-      </el-row>
13
-    </div>
14
-    <div class="cell clearfix">
15
-      <el-row :gutter="20">
16
-        <el-col :span="24" :offset="20">
17
-          <el-form
18
-            :model="form"
19
-            :rules="rules"
20
-            ref="ruleForm"
21
-            label-width="120px"
22
-            class="demo-ruleForm"
23
-            style="text-align: center"
24
-          >
25
-            <el-form-item label="省" prop="province">
26
-              <el-select
27
-                v-model="form.province"
28
-                clearable
29
-                filterable
30
-                placeholder="请选择"
31
-                @change="changeProvince"
3
+    <div>
4
+      <div class="titleOne">
5
+        质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。
6
+      </div>
7
+      <div class="titleOne">微信:kuyicloud 电话:18682074632</div>
8
+      <div class="formBox">
9
+        <el-form
10
+          :model="form"
11
+          :rules="rules"
12
+          ref="ruleForm"
13
+          label-width="120px"
14
+          class="demo-ruleForm"
15
+          style="text-align: center"
16
+        >
17
+          <el-form-item label="省" prop="province">
18
+            <el-select
19
+              v-model="form.province"
20
+              clearable
21
+              filterable
22
+              placeholder="请选择"
23
+              @change="changeProvince"
24
+            >
25
+              <el-option
26
+                v-for="item in provinces"
27
+                :key="item.id"
28
+                :label="item.name"
29
+                :value="item.id"
32 30
               >
33
-                <el-option
34
-                  v-for="item in provinces"
35
-                  :key="item.id"
36
-                  :label="item.name"
37
-                  :value="item.id"
38
-                >
39
-                </el-option>
40
-              </el-select>
41
-            </el-form-item>
31
+              </el-option>
32
+            </el-select>
33
+          </el-form-item>
42 34
 
43
-            <el-form-item label="市" prop="city">
44
-              <el-select
45
-                v-model="form.city"
46
-                clearable
47
-                filterable
48
-                placeholder="请选择"
49
-                @change="changeCity"
35
+          <el-form-item label="市" prop="city">
36
+            <el-select
37
+              v-model="form.city"
38
+              clearable
39
+              filterable
40
+              placeholder="请选择"
41
+              @change="changeCity"
42
+            >
43
+              <el-option
44
+                v-for="item in citys"
45
+                :key="item.id"
46
+                :label="item.name"
47
+                :value="item.id"
50 48
               >
51
-                <el-option
52
-                  v-for="item in citys"
53
-                  :key="item.id"
54
-                  :label="item.name"
55
-                  :value="item.id"
56
-                >
57
-                </el-option>
58
-              </el-select>
59
-            </el-form-item>
49
+              </el-option>
50
+            </el-select>
51
+          </el-form-item>
60 52
 
61
-            <el-form-item label="网关地址" prop="gateway_address">
62
-              <el-input v-model="form.gateway_address"></el-input>
63
-            </el-form-item>
53
+          <el-form-item label="网关地址" prop="gateway_address">
54
+            <el-input v-model="form.gateway_address"></el-input>
55
+          </el-form-item>
64 56
 
65
-            <el-form-item label="AppID" prop="app_id">
66
-              <el-input v-model="form.app_id"></el-input>
67
-            </el-form-item>
57
+          <el-form-item label="AppID" prop="app_id">
58
+            <el-input v-model="form.app_id"></el-input>
59
+          </el-form-item>
68 60
 
69
-            <el-form-item label="密钥" prop="key">
70
-              <el-input v-model="form.key"></el-input>
71
-            </el-form-item>
61
+          <el-form-item label="密钥" prop="key">
62
+            <el-input v-model="form.key"></el-input>
63
+          </el-form-item>
72 64
 
73
-            <el-form-item label="自动上传周期" prop="time_type">
74
-              <el-radio-group v-model="form.time_type">
75
-                <el-radio label="1">一周</el-radio>
76
-                <el-radio label="2">二周</el-radio>
77
-                <el-radio label="3">一个月</el-radio>
78
-                <el-radio label="4">三个月</el-radio>
79
-              </el-radio-group>
80
-            </el-form-item>
65
+          <el-form-item label="自动上传周期" prop="time_type">
66
+            <el-radio-group v-model="form.time_type">
67
+              <el-radio label="1">一周</el-radio>
68
+              <el-radio label="2">二周</el-radio>
69
+              <el-radio label="3">一个月</el-radio>
70
+              <el-radio label="4">三个月</el-radio>
71
+            </el-radio-group>
72
+          </el-form-item>
81 73
 
82
-            <el-form-item>
83
-              <el-button
84
-                type="primary"
85
-                @click="submitForm('ruleForm')"
86
-                class="changeLeft"
87
-                >保存</el-button
88
-              >
89
-            </el-form-item>
90
-          </el-form>
91
-        </el-col>
92
-      </el-row>
74
+          <el-form-item>
75
+            <el-button
76
+              type="primary"
77
+              @click="submitForm('ruleForm')"
78
+              class="changeLeft"
79
+              >保存</el-button
80
+            >
81
+          </el-form-item>
82
+        </el-form>
83
+      </div>
93 84
     </div>
94 85
   </div>
95 86
 </template>
@@ -260,5 +251,22 @@ export default {
260 251
 }
261 252
 .titleOne {
262 253
   line-height: 30px;
254
+  margin: 0 auto;
255
+  width: 100%;
256
+  text-align: center;
257
+}
258
+.formBox {
259
+  width: 46%;
260
+  margin: 0 auto;
261
+}
262
+</style>
263
+<style lang="scss">
264
+.formBox {
265
+  .el-select {
266
+    width: 100%;
267
+  }
268
+  .el-input__inner {
269
+    width: 90%;
270
+  }
263 271
 }
264 272
 </style>

+ 45 - 48
src/xt_pages/upload/config/Country.vue Dosyayı Görüntüle

@@ -1,58 +1,48 @@
1 1
 <template>
2 2
   <div class="main-contain">
3
-    <div class="cell clearfix">
4
-      <el-row :gutter="20">
5
-        <el-col :span="24" :offset="6">
6
-          <div class="titleOne">
7
-            质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。<br />&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;微信:kuyicloud
8
-            电话:18682074632
9
-          </div>
10
-        </el-col>
11
-      </el-row>
3
+    <div class="titleOne">
4
+      质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。
12 5
     </div>
13
-    <div class="cell clearfix">
14
-      <el-row :gutter="20">
15
-        <el-col :span="24" :offset="22">
16
-          <el-form
17
-            :model="form"
18
-            ref="ruleForm"
19
-            :rules="rules"
20
-            label-width="120px"
21
-            class="demo-ruleForm"
22
-            style="text-align: center"
23
-          >
24
-            <el-form-item label="网关地址" prop="gateway_address">
25
-              <el-input v-model="form.gateway_address"></el-input>
26
-            </el-form-item>
6
+    <div class="titleOne">微信:kuyicloud 电话:18682074632</div>
7
+    <div class="formBox">
8
+      <el-form
9
+        :model="form"
10
+        ref="ruleForm"
11
+        :rules="rules"
12
+        label-width="120px"
13
+        class="demo-ruleForm"
14
+        style="text-align: center"
15
+      >
16
+        <el-form-item label="网关地址" prop="gateway_address">
17
+          <el-input v-model="form.gateway_address"></el-input>
18
+        </el-form-item>
27 19
 
28
-            <el-form-item label="AppID" prop="app_id">
29
-              <el-input v-model="form.app_id"></el-input>
30
-            </el-form-item>
20
+        <el-form-item label="AppID" prop="app_id">
21
+          <el-input v-model="form.app_id"></el-input>
22
+        </el-form-item>
31 23
 
32
-            <el-form-item label="密钥" prop="key">
33
-              <el-input v-model="form.key"></el-input>
34
-            </el-form-item>
24
+        <el-form-item label="密钥" prop="key">
25
+          <el-input v-model="form.key"></el-input>
26
+        </el-form-item>
35 27
 
36
-            <el-form-item label="自动上传周期" prop="time_type">
37
-              <el-radio-group v-model="form.time_type">
38
-                <el-radio label="1">一周</el-radio>
39
-                <el-radio label="2">二周</el-radio>
40
-                <el-radio label="3">一个月</el-radio>
41
-                <el-radio label="4">三个月</el-radio>
42
-              </el-radio-group>
43
-            </el-form-item>
28
+        <el-form-item label="自动上传周期" prop="time_type">
29
+          <el-radio-group v-model="form.time_type">
30
+            <el-radio label="1">一周</el-radio>
31
+            <el-radio label="2">二周</el-radio>
32
+            <el-radio label="3">一个月</el-radio>
33
+            <el-radio label="4">三个月</el-radio>
34
+          </el-radio-group>
35
+        </el-form-item>
44 36
 
45
-            <el-form-item>
46
-              <el-button
47
-                type="primary"
48
-                @click="submitForm('ruleForm')"
49
-                class="changeLeft"
50
-                >保存</el-button
51
-              >
52
-            </el-form-item>
53
-          </el-form>
54
-        </el-col>
55
-      </el-row>
37
+        <el-form-item>
38
+          <el-button
39
+            type="primary"
40
+            @click="submitForm('ruleForm')"
41
+            class="changeLeft"
42
+            >保存</el-button
43
+          >
44
+        </el-form-item>
45
+      </el-form>
56 46
     </div>
57 47
   </div>
58 48
 </template>
@@ -149,5 +139,12 @@ export default {
149 139
 }
150 140
 .titleOne {
151 141
   line-height: 30px;
142
+  margin: 0 auto;
143
+  width: 100%;
144
+  text-align: center;
145
+}
146
+.formBox {
147
+  width: 46%;
148
+  margin: 0 auto;
152 149
 }
153 150
 </style>

+ 84 - 81
src/xt_pages/upload/config/Province.vue Dosyayı Görüntüle

@@ -1,93 +1,82 @@
1 1
 <template>
2 2
   <div class="main-contain">
3
-    <div class="cell clearfix">
4
-      <el-row :gutter="20">
5
-        <el-col :span="24" :offset="6">
6
-          <!--<div>质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。</div>-->
7
-          <div class="titleOne">
8
-            质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。<br />&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;微信:kuyicloud
9
-            电话:18682078150
10
-          </div>
11
-        </el-col>
12
-      </el-row>
3
+    <div class="titleOne">
4
+      质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。
13 5
     </div>
14
-    <div class="cell clearfix">
15
-      <el-row :gutter="20">
16
-        <el-col :span="24" :offset="18">
17
-          <el-form
18
-            :model="form"
19
-            :rules="rules"
20
-            ref="ruleForm"
21
-            label-width="120px"
22
-            class="demo-ruleForm"
23
-            style="text-align: center"
6
+    <div class="titleOne">微信:kuyicloud 电话:18682074632</div>
7
+    <div class="formBox1">
8
+      <el-form
9
+        :model="form"
10
+        :rules="rules"
11
+        ref="ruleForm"
12
+        label-width="120px"
13
+        class="demo-ruleForm"
14
+        style="text-align: center"
15
+      >
16
+        <el-form-item label="省份" prop="province">
17
+          <el-select
18
+            v-model="form.province"
19
+            clearable
20
+            filterable
21
+            placeholder="请选择"
22
+            @change="changeProvince"
24 23
           >
25
-            <el-form-item label="省份" prop="province">
26
-              <el-select
27
-                v-model="form.province"
28
-                clearable
29
-                filterable
30
-                placeholder="请选择"
31
-                @change="changeProvince"
32
-              >
33
-                <el-option
34
-                  v-for="item in provinces"
35
-                  :key="item.id"
36
-                  :label="item.name"
37
-                  :value="item.id"
38
-                >
39
-                </el-option>
40
-              </el-select>
41
-              <el-select
42
-                v-model="form.city"
43
-                clearable
44
-                filterable
45
-                disabled
46
-                placeholder="请选择"
47
-                @change="changeCity"
48
-              >
49
-                <el-option
50
-                  v-for="item in citys"
51
-                  :key="item.id"
52
-                  :label="item.name"
53
-                  :value="item.id"
54
-                >
55
-                </el-option>
56
-              </el-select>
57
-            </el-form-item>
24
+            <el-option
25
+              v-for="item in provinces"
26
+              :key="item.id"
27
+              :label="item.name"
28
+              :value="item.id"
29
+            >
30
+            </el-option>
31
+          </el-select>
32
+          <el-select
33
+            v-model="form.city"
34
+            clearable
35
+            filterable
36
+            disabled
37
+            placeholder="请选择"
38
+            @change="changeCity"
39
+          >
40
+            <el-option
41
+              v-for="item in citys"
42
+              :key="item.id"
43
+              :label="item.name"
44
+              :value="item.id"
45
+            >
46
+            </el-option>
47
+          </el-select>
48
+        </el-form-item>
58 49
 
59
-            <el-form-item label="网关地址" prop="gateway_address">
60
-              <el-input v-model="form.gateway_address"></el-input>
61
-            </el-form-item>
50
+        <el-form-item label="网关地址" prop="gateway_address">
51
+          <el-input v-model="form.gateway_address"></el-input>
52
+        </el-form-item>
62 53
 
63
-            <el-form-item label="AppID" prop="app_id">
64
-              <el-input v-model="form.app_id"></el-input>
65
-            </el-form-item>
54
+        <el-form-item label="AppID" prop="app_id">
55
+          <el-input v-model="form.app_id"></el-input>
56
+        </el-form-item>
66 57
 
67
-            <el-form-item label="密钥" prop="key">
68
-              <el-input v-model="form.key"></el-input>
69
-            </el-form-item>
58
+        <el-form-item label="密钥" prop="key">
59
+          <el-input v-model="form.key"></el-input>
60
+        </el-form-item>
70 61
 
71
-            <el-form-item label="自动上传周期" prop="time_type">
72
-              <el-radio-group v-model="form.time_type">
73
-                <el-radio label="1">一周</el-radio>
74
-                <el-radio label="2">二周</el-radio>
75
-                <el-radio label="3">一个月</el-radio>
76
-                <el-radio label="4">三个月</el-radio>
77
-              </el-radio-group>
78
-            </el-form-item>
62
+        <el-form-item label="自动上传周期" prop="time_type">
63
+          <el-radio-group v-model="form.time_type">
64
+            <el-radio label="1">一周</el-radio>
65
+            <el-radio label="2">二周</el-radio>
66
+            <el-radio label="3">一个月</el-radio>
67
+            <el-radio label="4">三个月</el-radio>
68
+          </el-radio-group>
69
+        </el-form-item>
79 70
 
80
-            <el-form-item>
81
-              <el-button
82
-                type="primary"
83
-                @click="submitForm('ruleForm')"
84
-                class="changeLeft"
85
-                >保存</el-button
86
-              >
87
-            </el-form-item>
88
-          </el-form>
89
-        </el-col>
90
-      </el-row>
71
+        <el-form-item>
72
+          <el-button
73
+            type="primary"
74
+            @click="submitForm('ruleForm')"
75
+            class="changeLeft"
76
+            >保存</el-button
77
+          >
78
+        </el-form-item>
79
+      </el-form>
91 80
     </div>
92 81
   </div>
93 82
 </template>
@@ -238,5 +227,19 @@ export default {
238 227
 }
239 228
 .titleOne {
240 229
   line-height: 30px;
230
+  margin: 0 auto;
231
+  width: 100%;
232
+  text-align: center;
233
+}
234
+.formBox1 {
235
+  width: 46%;
236
+  margin: 0 auto;
237
+}
238
+</style>
239
+<style lang="scss">
240
+.formBox1 {
241
+  .el-select {
242
+    width: 49%;
243
+  }
241 244
 }
242 245
 </style>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1003 - 688
src/xt_pages/upload/fast/Two.vue