Browse Source

修改样式

See999 4 years ago
parent
commit
731d9a1dd5

+ 244 - 232
src/xt_pages/management/components/MultipleForm.vue View File

1
 <template>
1
 <template>
2
-  <div>
2
+  <div class="allDialog">
3
     <el-dialog
3
     <el-dialog
4
       title="综合查询"
4
       title="综合查询"
5
       :visible.sync="dialogVisible"
5
       :visible.sync="dialogVisible"
6
       width="95%"
6
       width="95%"
7
       center
7
       center
8
     >
8
     >
9
-      <el-form>
9
+      <el-form style="height:100%">
10
         <el-row :gutter="20">
10
         <el-row :gutter="20">
11
-          <el-col :span="6">
11
+          <el-col :span="4">
12
             <el-form-item label="透析分区:">
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
                 <el-option
14
                 <el-option
15
                   v-for="item in this.DeviceType"
15
                   v-for="item in this.DeviceType"
16
                   :key="item.id"
16
                   :key="item.id"
20
               </el-select>
20
               </el-select>
21
             </el-form-item>
21
             </el-form-item>
22
           </el-col>
22
           </el-col>
23
-          <el-col :span="6">
23
+          <el-col :span="4">
24
             <el-form-item label="机号:">
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
                 <el-option
26
                 <el-option
27
                   v-for="item in this.Numbers"
27
                   v-for="item in this.Numbers"
28
                   :key="item.id"
28
                   :key="item.id"
32
               </el-select>
32
               </el-select>
33
             </el-form-item>
33
             </el-form-item>
34
           </el-col>
34
           </el-col>
35
-          <el-col :span="6">
35
+          <el-col :span="4">
36
             <el-form-item label="设备类型:">
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
                 <el-option
38
                 <el-option
39
                   v-for="item in this.EquitmentType"
39
                   v-for="item in this.EquitmentType"
40
                   :key="item.id"
40
                   :key="item.id"
44
               </el-select>
44
               </el-select>
45
             </el-form-item>
45
             </el-form-item>
46
           </el-col>
46
           </el-col>
47
-          <el-col :span="6">
47
+          <el-col :span="4">
48
             <el-form-item label="设备型号:">
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
                 <el-option
50
                 <el-option
51
                   v-for="item in this.EquitmentName"
51
                   v-for="item in this.EquitmentName"
52
                   :key="item.id"
52
                   :key="item.id"
56
               </el-select>
56
               </el-select>
57
             </el-form-item>
57
             </el-form-item>
58
           </el-col>
58
           </el-col>
59
-        </el-row>
60
-        <el-row>
61
-          <el-col :span="7">
59
+          <el-col :span="4">
62
             <el-form-item label="使用年限:">
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
                 <el-option
62
                 <el-option
65
                   v-for="item in this.userYear"
63
                   v-for="item in this.userYear"
66
                   :key="item.id"
64
                   :key="item.id"
70
               </el-select>
68
               </el-select>
71
             </el-form-item>
69
             </el-form-item>
72
           </el-col>
70
           </el-col>
73
-          <el-col :span="7">
71
+        </el-row>
72
+        <el-row>
73
+          <el-col :span="8">
74
             <div class="cell clearfix">
74
             <div class="cell clearfix">
75
               <label class="title">
75
               <label class="title">
76
                 <span class="name">日期查询</span> :
76
                 <span class="name">日期查询</span> :
104
               ></el-date-picker>
104
               ></el-date-picker>
105
             </div>
105
             </div>
106
           </el-col>
106
           </el-col>
107
-          <el-col :span="5">
107
+          <el-col :span="4">
108
             <el-form-item label="合计:">
108
             <el-form-item label="合计:">
109
               故障次数
109
               故障次数
110
               <span>{{ failure_times }}</span
110
               <span>{{ failure_times }}</span
118
             >
118
             >
119
           </el-col>
119
           </el-col>
120
         </el-row>
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
                 {{ scope.row.id }}
141
                 {{ scope.row.id }}
132
               </template>-->
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
       </el-form>
273
       </el-form>
270
-      <span slot="footer" class="dialog-footer">
274
+      <!-- <span slot="footer" class="dialog-footer">
271
         <el-button @click="dialogVisible = false">取 消</el-button>
275
         <el-button @click="dialogVisible = false">取 消</el-button>
272
         <el-button type="primary" @click="dialogVisible = false"
276
         <el-button type="primary" @click="dialogVisible = false"
273
           >确 定</el-button
277
           >确 定</el-button
274
         >
278
         >
275
-      </span>
279
+      </span> -->
276
     </el-dialog>
280
     </el-dialog>
277
   </div>
281
   </div>
278
 </template>
282
 </template>
283
   getAllEquimentName,
287
   getAllEquimentName,
284
   getComprehensive,
288
   getComprehensive,
285
   getTotalCount
289
   getTotalCount
286
-} from '@/api/manage'
287
-import { uParseTime } from '@/utils/tools'
290
+} from "@/api/manage";
291
+import { uParseTime } from "@/utils/tools";
288
 export default {
292
 export default {
289
-  name: 'MultipleForm',
293
+  name: "MultipleForm",
290
   props: {
294
   props: {
291
     equimentid: Number
295
     equimentid: Number
292
   },
296
   },
296
       failure: 0,
300
       failure: 0,
297
       dialogVisible: false,
301
       dialogVisible: false,
298
       form: {
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
       userYear: [
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
       tableData: [],
320
       tableData: [],
317
       EquitmentType: [
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
       runOptions: [
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
   methods: {
337
   methods: {
334
     open: function() {
338
     open: function() {
335
-      this.dialogVisible = true
339
+      this.dialogVisible = true;
336
     },
340
     },
337
     getAllSubregion() {
341
     getAllSubregion() {
338
       getAllSubregion().then(response => {
342
       getAllSubregion().then(response => {
339
         if (response.data.state === 1) {
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
           for (let i = 0; i < zone.length; i++) {
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
           for (let index = 0; index < number.length; index++) {
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
           // console.log('numbers', number)
358
           // console.log('numbers', number)
355
         }
359
         }
356
-      })
360
+      });
357
     },
361
     },
358
     getAllEquimentName() {
362
     getAllEquimentName() {
359
       getAllEquimentName().then(response => {
363
       getAllEquimentName().then(response => {
360
         if (response.data.state == 1) {
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
           for (let index = 0; index < equit.length; index++) {
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
     getComprehensive() {
375
     getComprehensive() {
372
       const params = {
376
       const params = {
376
         year: this.form.user_year,
380
         year: this.form.user_year,
377
         starttime: this.form.start_time,
381
         starttime: this.form.start_time,
378
         endtime: this.form.end_time
382
         endtime: this.form.end_time
379
-      }
383
+      };
380
       getComprehensive(params).then(response => {
384
       getComprehensive(params).then(response => {
381
         if (response.data.state === 1) {
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
           for (let index = 0; index < macher.length; index++) {
388
           for (let index = 0; index < macher.length; index++) {
385
             if (macher[index].device_type === 1) {
389
             if (macher[index].device_type === 1) {
386
-              macher[index].device_type = '透析机'
390
+              macher[index].device_type = "透析机";
387
             }
391
             }
388
             if (macher[index].device_type === 2) {
392
             if (macher[index].device_type === 2) {
389
-              macher[index].device_type = '水处理机'
393
+              macher[index].device_type = "水处理机";
390
             }
394
             }
391
             if (macher[index].device_type === 3) {
395
             if (macher[index].device_type === 3) {
392
-              macher[index].device_type = '其他'
396
+              macher[index].device_type = "其他";
393
             }
397
             }
394
 
398
 
395
             if (macher[index].machine_status === 1) {
399
             if (macher[index].machine_status === 1) {
396
-              macher[index].machine_status = '使用机'
400
+              macher[index].machine_status = "使用机";
397
             }
401
             }
398
             if (macher[index].machine_status === 2) {
402
             if (macher[index].machine_status === 2) {
399
-              macher[index].machine_status = '备用机'
403
+              macher[index].machine_status = "备用机";
400
             }
404
             }
401
             if (macher[index].machine_status === 3) {
405
             if (macher[index].machine_status === 3) {
402
-              macher[index].machine_status = '急诊机'
406
+              macher[index].machine_status = "急诊机";
403
             }
407
             }
404
             if (macher[index].machine_status === 4) {
408
             if (macher[index].machine_status === 4) {
405
-              macher[index].machine_status = '报废机'
409
+              macher[index].machine_status = "报废机";
406
             }
410
             }
407
             if (macher[index].rubbish_reason === 0) {
411
             if (macher[index].rubbish_reason === 0) {
408
-              macher[index].rubbish_reason = ''
412
+              macher[index].rubbish_reason = "";
409
             }
413
             }
410
           }
414
           }
411
           // console.log('macher', macher)
415
           // console.log('macher', macher)
412
-          this.tableData = macher
416
+          this.tableData = macher;
413
         }
417
         }
414
-      })
418
+      });
415
     },
419
     },
416
     getTime(time) {
420
     getTime(time) {
417
       if (time === 0) {
421
       if (time === 0) {
418
-        return ''
422
+        return "";
419
       } else {
423
       } else {
420
-        return uParseTime(time, '{y}-{m}-{d}')
424
+        return uParseTime(time, "{y}-{m}-{d}");
421
       }
425
       }
422
     },
426
     },
423
     getTotalCount() {
427
     getTotalCount() {
424
       getTotalCount().then(response => {
428
       getTotalCount().then(response => {
425
         if (response.data.state === 1) {
429
         if (response.data.state === 1) {
426
-          var total = response.data.data.total
430
+          var total = response.data.data.total;
427
           // console.log('total ========', total)
431
           // console.log('total ========', total)
428
-          this.failure_times = total
432
+          this.failure_times = total;
429
         }
433
         }
430
-      })
434
+      });
431
     }
435
     }
432
   },
436
   },
433
   created() {
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
 </script>
443
 </script>
440
 
444
 
441
 <style scoped></style>
445
 <style scoped></style>
446
 .el-table__body {
450
 .el-table__body {
447
   width: 100% !important;
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
 </style>
461
 </style>

+ 12 - 3
src/xt_pages/management/components/PlanForm.vue View File

40
                 allow-create
40
                 allow-create
41
                 default-first-option
41
                 default-first-option
42
                 placeholder="请选择时间"
42
                 placeholder="请选择时间"
43
-                style="width: 140px;"
43
+                style="width: 135px;"
44
               >
44
               >
45
                 <el-option
45
                 <el-option
46
                   v-for="item in this.timeType"
46
                   v-for="item in this.timeType"
60
                 allow-create
60
                 allow-create
61
                 default-first-option
61
                 default-first-option
62
                 placeholder="请选择时间"
62
                 placeholder="请选择时间"
63
-                style="width: 140px;"
63
+                style="width: 135px;"
64
               >
64
               >
65
                 <el-option
65
                 <el-option
66
                   v-for="item in this.classType"
66
                   v-for="item in this.classType"
281
 };
281
 };
282
 </script>
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 View File

1
 <template>
1
 <template>
2
   <div id="quality-form">
2
   <div id="quality-form">
3
     <el-row class="row">
3
     <el-row class="row">
4
-      <el-col :span="5">
4
+      <el-col :span="4">
5
         <span class="machineClass">机号:</span>
5
         <span class="machineClass">机号:</span>
6
         <el-select style="width:100px" v-model="forms.bed">
6
         <el-select style="width:100px" v-model="forms.bed">
7
           <el-option
7
           <el-option
12
           ></el-option>
12
           ></el-option>
13
         </el-select>
13
         </el-select>
14
       </el-col>
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
           <el-option
22
           <el-option
18
             v-for="item in this.tableTypes"
23
             v-for="item in this.tableTypes"
19
             :key="item.id"
24
             :key="item.id"
22
           ></el-option>
27
           ></el-option>
23
         </el-select>
28
         </el-select>
24
       </el-col>
29
       </el-col>
25
-      <el-col :span="12">
30
+      <el-col :span="11">
26
         <span class="machineClass">日期查询:</span>
31
         <span class="machineClass">日期查询:</span>
27
         <el-date-picker
32
         <el-date-picker
28
           v-model="forms.start_time"
33
           v-model="forms.start_time"
32
           format="yyyy-MM-dd"
37
           format="yyyy-MM-dd"
33
           value-format="yyyy-MM-dd"
38
           value-format="yyyy-MM-dd"
34
           style="width:150px"
39
           style="width:150px"
35
-        ></el-date-picker>-
40
+        ></el-date-picker
41
+        >-
36
         <el-date-picker
42
         <el-date-picker
37
           v-model="forms.end_time"
43
           v-model="forms.end_time"
38
           prefix-icon="none"
44
           prefix-icon="none"
44
         ></el-date-picker>
50
         ></el-date-picker>
45
       </el-col>
51
       </el-col>
46
       <el-col :span="2">
52
       <el-col :span="2">
47
-        <el-button @click="queryTable()">查询</el-button>
53
+        <el-button type="primary" @click="queryTable()">查询</el-button>
48
       </el-col>
54
       </el-col>
49
       <!-- <el-col :span="2">
55
       <!-- <el-col :span="2">
50
         <el-button>打印</el-button>
56
         <el-button>打印</el-button>
52
     </el-row>
58
     </el-row>
53
     <el-row style="display: flex;align-items: center;">
59
     <el-row style="display: flex;align-items: center;">
54
       <el-col :span="2">
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
       </el-col>
64
       </el-col>
57
       <el-col :span="3">
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
       </el-col>
75
       </el-col>
62
     </el-row>
76
     </el-row>
63
     <el-row>
77
     <el-row>
77
         style="width: 100%;margin-top: 10px;"
91
         style="width: 100%;margin-top: 10px;"
78
         v-show="show"
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
         <el-table-column prop="date" label="机号" width="80" align="center">
99
         <el-table-column prop="date" label="机号" width="80" align="center">
82
           <template slot-scope="scope">{{ scope.row.bed }}</template>
100
           <template slot-scope="scope">{{ scope.row.bed }}</template>
83
         </el-table-column>
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
           <template slot-scope="scope">
108
           <template slot-scope="scope">
86
-            {{
87
-            getTime(scope.row.speling_date)
88
-            }}
109
+            {{ getTime(scope.row.speling_date) }}
89
           </template>
110
           </template>
90
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.specimen }}</template>
118
           <template slot-scope="scope">{{ scope.row.specimen }}</template>
93
         </el-table-column>
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
           <template slot-scope="scope">
126
           <template slot-scope="scope">
96
-            {{
97
-            scope.row.concentrate_noa
98
-            }}
127
+            {{ scope.row.concentrate_noa }}
99
           </template>
128
           </template>
100
         </el-table-column>
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
           <template slot-scope="scope">
136
           <template slot-scope="scope">
103
-            {{
104
-            scope.row.concentrate_nob
105
-            }}
137
+            {{ scope.row.concentrate_nob }}
106
           </template>
138
           </template>
107
         </el-table-column>
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
           <template slot-scope="scope">
146
           <template slot-scope="scope">
110
-            {{
111
-            scope.row.sampling_locationa
112
-            }}
147
+            {{ scope.row.sampling_locationa }}
113
           </template>
148
           </template>
114
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
156
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
117
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
164
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
120
         </el-table-column>
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
           <template slot-scope="scope">
172
           <template slot-scope="scope">
123
-            {{
124
-            getTime(scope.row.reporting_date)
125
-            }}
173
+            {{ getTime(scope.row.reporting_date) }}
126
           </template>
174
           </template>
127
         </el-table-column>
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
           <template slot-scope="scope">
182
           <template slot-scope="scope">
130
-            {{
131
-            scope.row.detection_result
132
-            }}
183
+            {{ scope.row.detection_result }}
133
           </template>
184
           </template>
134
         </el-table-column>
185
         </el-table-column>
135
         <el-table-column label="操作" align="center" min-width="150px">
186
         <el-table-column label="操作" align="center" min-width="150px">
136
           <template slot-scope="scope">
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
               <el-button
194
               <el-button
139
                 size="mini"
195
                 size="mini"
140
                 type="primary"
196
                 type="primary"
145
               ></el-button>
201
               ></el-button>
146
             </el-tooltip>
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
               <el-button
210
               <el-button
150
                 size="mini"
211
                 size="mini"
151
                 type="primary"
212
                 type="primary"
169
         style="width: 100%;margin-top: 10px;"
230
         style="width: 100%;margin-top: 10px;"
170
         v-show="showOne"
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
         <el-table-column prop="date" label="机号" width="80" align="center">
238
         <el-table-column prop="date" label="机号" width="80" align="center">
174
           <template slot-scope="scope">{{ scope.row.bed }}</template>
239
           <template slot-scope="scope">{{ scope.row.bed }}</template>
175
         </el-table-column>
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
           <template slot-scope="scope">
247
           <template slot-scope="scope">
178
-            {{
179
-            getTime(scope.row.sampling_date)
180
-            }}
248
+            {{ getTime(scope.row.sampling_date) }}
181
           </template>
249
           </template>
182
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.specimenb }}</template>
257
           <template slot-scope="scope">{{ scope.row.specimenb }}</template>
185
         </el-table-column>
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
           <template slot-scope="scope">
265
           <template slot-scope="scope">
188
-            {{
189
-            scope.row.concentrate_noc
190
-            }}
266
+            {{ scope.row.concentrate_noc }}
191
           </template>
267
           </template>
192
         </el-table-column>
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
           <template slot-scope="scope">
275
           <template slot-scope="scope">
195
-            {{
196
-            scope.row.concentrateb_nod
197
-            }}
276
+            {{ scope.row.concentrateb_nod }}
198
           </template>
277
           </template>
199
         </el-table-column>
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
           <template slot-scope="scope">
285
           <template slot-scope="scope">
202
-            {{
203
-            scope.row.sampling_locationb
204
-            }}
286
+            {{ scope.row.sampling_locationb }}
205
           </template>
287
           </template>
206
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
295
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
209
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
303
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
212
         </el-table-column>
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
           <template slot-scope="scope">
311
           <template slot-scope="scope">
215
-            {{
216
-            getTime(scope.row.reporting_dateb)
217
-            }}
312
+            {{ getTime(scope.row.reporting_dateb) }}
218
           </template>
313
           </template>
219
         </el-table-column>
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
           <template slot-scope="scope">
321
           <template slot-scope="scope">
222
-            {{
223
-            scope.row.detection_resultb
224
-            }}
322
+            {{ scope.row.detection_resultb }}
225
           </template>
323
           </template>
226
         </el-table-column>
324
         </el-table-column>
227
         <el-table-column label="操作" align="center" min-width="150px">
325
         <el-table-column label="操作" align="center" min-width="150px">
228
           <template slot-scope="scope">
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
               <el-button
333
               <el-button
231
                 size="mini"
334
                 size="mini"
232
                 type="primary"
335
                 type="primary"
235
               ></el-button>
338
               ></el-button>
236
             </el-tooltip>
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
               <el-button
347
               <el-button
240
                 size="mini"
348
                 size="mini"
241
                 type="primary"
349
                 type="primary"
259
         style="width: 100%;margin-top: 10px;"
367
         style="width: 100%;margin-top: 10px;"
260
         v-show="showTwo"
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
         <el-table-column prop="date" label="机号" width="80" align="center">
375
         <el-table-column prop="date" label="机号" width="80" align="center">
264
           <template slot-scope="scope">{{ scope.row.bed }}</template>
376
           <template slot-scope="scope">{{ scope.row.bed }}</template>
265
         </el-table-column>
377
         </el-table-column>
266
         <el-table-column prop="name" label="取样日期" width="80" align="center">
378
         <el-table-column prop="name" label="取样日期" width="80" align="center">
267
           <template slot-scope="scope">
379
           <template slot-scope="scope">
268
-            {{
269
-            getTime(scope.row.sampling_date)
270
-            }}
380
+            {{ getTime(scope.row.sampling_date) }}
271
           </template>
381
           </template>
272
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
389
           <template slot-scope="scope">{{ scope.row.user_name }}</template>
275
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
397
           <template slot-scope="scope">{{ scope.row.detection_unit }}</template>
278
         </el-table-column>
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
           <template slot-scope="scope">
405
           <template slot-scope="scope">
281
-            {{
282
-            scope.row.concentrate_nof
283
-            }}
406
+            {{ scope.row.concentrate_nof }}
284
           </template>
407
           </template>
285
         </el-table-column>
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
           <template slot-scope="scope">
415
           <template slot-scope="scope">
288
-            {{
289
-            scope.row.concentrate_nog
290
-            }}
416
+            {{ scope.row.concentrate_nog }}
291
           </template>
417
           </template>
292
         </el-table-column>
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
           <template slot-scope="scope">
425
           <template slot-scope="scope">
295
-            {{
296
-            getTime(scope.row.date_reportc)
297
-            }}
426
+            {{ getTime(scope.row.date_reportc) }}
298
           </template>
427
           </template>
299
         </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_na }}</template>
441
             <template slot-scope="scope">{{ scope.row.actual_na }}</template>
303
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_pna }}</template>
449
             <template slot-scope="scope">{{ scope.row.actual_pna }}</template>
306
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_k }}</template>
457
             <template slot-scope="scope">{{ scope.row.actual_k }}</template>
309
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_ca }}</template>
465
             <template slot-scope="scope">{{ scope.row.actual_ca }}</template>
312
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_ci }}</template>
473
             <template slot-scope="scope">{{ scope.row.actual_ci }}</template>
315
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_hco }}</template>
481
             <template slot-scope="scope">{{ scope.row.actual_hco }}</template>
318
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_mg }}</template>
489
             <template slot-scope="scope">{{ scope.row.actual_mg }}</template>
321
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.actual_ph }}</template>
497
             <template slot-scope="scope">{{ scope.row.actual_ph }}</template>
324
           </el-table-column>
498
           </el-table-column>
325
         </el-table-column>
499
         </el-table-column>
328
         </el-table-column>
502
         </el-table-column>
329
         <el-table-column label="操作" align="center" min-width="150px">
503
         <el-table-column label="操作" align="center" min-width="150px">
330
           <template slot-scope="scope">
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
               <el-button
511
               <el-button
333
                 size="mini"
512
                 size="mini"
334
                 type="primary"
513
                 type="primary"
337
               ></el-button>
516
               ></el-button>
338
             </el-tooltip>
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
               <el-button
525
               <el-button
342
                 size="mini"
526
                 size="mini"
343
                 type="primary"
527
                 type="primary"
351
     </el-row>
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
       <el-form :model="form" ref="form" :rules="rules">
544
       <el-form :model="form" ref="form" :rules="rules">
356
         <el-row>
545
         <el-row>
357
           <el-col :span="8">
546
           <el-col :span="8">
369
           </el-col>
558
           </el-col>
370
           <el-col :span="8">
559
           <el-col :span="8">
371
             <el-form-item label="取样标本:">
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
                 <el-option
566
                 <el-option
374
                   v-for="item in samplingSpecimen"
567
                   v-for="item in samplingSpecimen"
375
                   :key="item.id"
568
                   :key="item.id"
381
           </el-col>
574
           </el-col>
382
           <el-col :span="8">
575
           <el-col :span="8">
383
             <el-form-item label="A浓缩液批号:">
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
             </el-form-item>
582
             </el-form-item>
386
           </el-col>
583
           </el-col>
387
         </el-row>
584
         </el-row>
388
         <el-row>
585
         <el-row>
389
           <el-col :span="8">
586
           <el-col :span="8">
390
             <el-form-item label="B浓缩液批号">
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
             </el-form-item>
593
             </el-form-item>
393
           </el-col>
594
           </el-col>
394
           <el-col :span="8">
595
           <el-col :span="8">
405
           </el-col>
606
           </el-col>
406
           <el-col :span="8">
607
           <el-col :span="8">
407
             <el-form-item label="检测单位:" required prop="detection_unit">
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
             </el-form-item>
613
             </el-form-item>
410
           </el-col>
614
           </el-col>
411
         </el-row>
615
         </el-row>
452
       </el-form>
656
       </el-form>
453
       <span slot="footer" class="dialog-footer">
657
       <span slot="footer" class="dialog-footer">
454
         <el-button @click="dialogVisible = false">取 消</el-button>
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
       </span>
662
       </span>
457
     </el-dialog>
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
       <el-form :model="diaForm" ref="diaForm" rules="diaRules">
672
       <el-form :model="diaForm" ref="diaForm" rules="diaRules">
462
         <el-row>
673
         <el-row>
463
           <el-col :span="8">
674
           <el-col :span="8">
475
           </el-col>
686
           </el-col>
476
           <el-col :span="8">
687
           <el-col :span="8">
477
             <el-form-item label="取样标本:">
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
                 <el-option
694
                 <el-option
480
                   v-for="item in samplingSpecimen"
695
                   v-for="item in samplingSpecimen"
481
                   :key="item.id"
696
                   :key="item.id"
487
           </el-col>
702
           </el-col>
488
           <el-col :span="8">
703
           <el-col :span="8">
489
             <el-form-item label="A浓缩液批号:">
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
             </el-form-item>
710
             </el-form-item>
492
           </el-col>
711
           </el-col>
493
         </el-row>
712
         </el-row>
503
           </el-col>
722
           </el-col>
504
           <el-col :span="8">
723
           <el-col :span="8">
505
             <el-form-item label="采样部位:">
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
                 <el-option
729
                 <el-option
508
                   v-for="item in samplingLocation"
730
                   v-for="item in samplingLocation"
509
                   :key="item.id"
731
                   :key="item.id"
515
           </el-col>
737
           </el-col>
516
           <el-col :span="8">
738
           <el-col :span="8">
517
             <el-form-item label="检测单位:" required prop="detection_unit">
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
             </el-form-item>
744
             </el-form-item>
520
           </el-col>
745
           </el-col>
521
         </el-row>
746
         </el-row>
562
       </el-form>
787
       </el-form>
563
       <span slot="footer" class="dialog-footer">
788
       <span slot="footer" class="dialog-footer">
564
         <el-button @click="dialogVisibleTwo = false">取 消</el-button>
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
       </span>
793
       </span>
567
     </el-dialog>
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
       <el-row>
803
       <el-row>
572
         <el-form :model="ionForm" ref="ionForm" :rule="ionrule">
804
         <el-form :model="ionForm" ref="ionForm" :rule="ionrule">
573
           <el-row>
805
           <el-row>
598
             </el-col>
830
             </el-col>
599
             <el-col :span="8">
831
             <el-col :span="8">
600
               <el-form-item label="检测单位:" required prop="detection_unit">
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
               </el-form-item>
837
               </el-form-item>
603
             </el-col>
838
             </el-col>
604
           </el-row>
839
           </el-row>
605
           <el-row>
840
           <el-row>
606
             <el-col :span="8">
841
             <el-col :span="8">
607
               <el-form-item label="A浓缩液批号:">
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
               </el-form-item>
847
               </el-form-item>
610
             </el-col>
848
             </el-col>
611
             <el-col :span="8">
849
             <el-col :span="8">
612
               <el-form-item label="B浓缩液批号:">
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
               </el-form-item>
855
               </el-form-item>
615
             </el-col>
856
             </el-col>
616
             <el-col :span="8">
857
             <el-col :span="8">
630
           <el-row>
871
           <el-row>
631
             <el-col :span="8">
872
             <el-col :span="8">
632
               <el-form-item label="实际Na⁺(mmol/L):">
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
               </el-form-item>
878
               </el-form-item>
635
             </el-col>
879
             </el-col>
636
             <el-col :span="8">
880
             <el-col :span="8">
637
               <el-form-item label="配方Na⁺(mmol/L):">
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
               </el-form-item>
886
               </el-form-item>
640
             </el-col>
887
             </el-col>
641
             <el-col :span="8">
888
             <el-col :span="8">
642
               <el-form-item label="K⁺ (mmol/L):">
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
               </el-form-item>
894
               </el-form-item>
645
             </el-col>
895
             </el-col>
646
           </el-row>
896
           </el-row>
647
           <el-row>
897
           <el-row>
648
             <el-col :span="8">
898
             <el-col :span="8">
649
               <el-form-item label="Ca2⁺(mmol/L):">
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
               </el-form-item>
904
               </el-form-item>
652
             </el-col>
905
             </el-col>
653
             <el-col :span="8">
906
             <el-col :span="8">
654
               <el-form-item label="CI¯(mmol/L):">
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
               </el-form-item>
912
               </el-form-item>
657
             </el-col>
913
             </el-col>
658
             <el-col :span="8">
914
             <el-col :span="8">
659
               <el-form-item label="HCO3¯(mmol/L):">
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
               </el-form-item>
920
               </el-form-item>
662
             </el-col>
921
             </el-col>
663
           </el-row>
922
           </el-row>
664
           <el-row>
923
           <el-row>
665
             <el-col :span="8">
924
             <el-col :span="8">
666
               <el-form-item label="Mg2⁺(mmol/L):">
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
               </el-form-item>
930
               </el-form-item>
669
             </el-col>
931
             </el-col>
670
             <el-col :span="8">
932
             <el-col :span="8">
671
               <el-form-item label="PH:">
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
               </el-form-item>
938
               </el-form-item>
674
             </el-col>
939
             </el-col>
675
           </el-row>
940
           </el-row>

+ 113 - 43
src/xt_pages/management/components/RepairForm.vue View File

12
           ></el-option>
12
           ></el-option>
13
         </el-select>
13
         </el-select>
14
       </el-col>
14
       </el-col>
15
-      <el-col :span="12">
15
+      <el-col :span="11">
16
         <span class="machineClass">日期查询:</span>
16
         <span class="machineClass">日期查询:</span>
17
         <el-date-picker
17
         <el-date-picker
18
           v-model="forms.start_time"
18
           v-model="forms.start_time"
22
           format="yyyy-MM-dd"
22
           format="yyyy-MM-dd"
23
           value-format="yyyy-MM-dd"
23
           value-format="yyyy-MM-dd"
24
           style="width:150px"
24
           style="width:150px"
25
-        ></el-date-picker>-
25
+        ></el-date-picker
26
+        >-
26
         <el-date-picker
27
         <el-date-picker
27
           v-model="forms.end_time"
28
           v-model="forms.end_time"
28
           prefix-icon="none"
29
           prefix-icon="none"
39
     </el-row>
40
     </el-row>
40
     <el-row style="display: flex;align-items: center;">
41
     <el-row style="display: flex;align-items: center;">
41
       <el-col :span="2">
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
       </el-col>
46
       </el-col>
44
       <el-col :span="2">
47
       <el-col :span="2">
45
         <el-button size="small" @click="BatchDelete">批量删除</el-button>
48
         <el-button size="small" @click="BatchDelete">批量删除</el-button>
60
         highlight-current-row
63
         highlight-current-row
61
         style="width: 100%;margin-top: 10px;"
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
         <el-table-column prop="date" label="机号" width="80" align="center">
71
         <el-table-column prop="date" label="机号" width="80" align="center">
65
           <template slot-scope="scope">{{ scope.row.bed_number }}</template>
72
           <template slot-scope="scope">{{ scope.row.bed_number }}</template>
66
         </el-table-column>
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
           <template slot-scope="scope">
80
           <template slot-scope="scope">
69
-            {{
70
-            getTime(scope.row.guarantee_date)
71
-            }}
81
+            {{ getTime(scope.row.guarantee_date) }}
72
           </template>
82
           </template>
73
         </el-table-column>
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
           <template slot-scope="scope">
90
           <template slot-scope="scope">
76
-            {{
77
-            getTimes(scope.row.start_time)
78
-            }}
91
+            {{ getTimes(scope.row.start_time) }}
79
           </template>
92
           </template>
80
         </el-table-column>
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
           <template slot-scope="scope">
100
           <template slot-scope="scope">
83
-            {{
84
-            getTimes(scope.row.arrive_time)
85
-            }}
101
+            {{ getTimes(scope.row.arrive_time) }}
86
           </template>
102
           </template>
87
         </el-table-column>
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
           <template slot-scope="scope">
110
           <template slot-scope="scope">
90
-            {{
91
-            getTimes(scope.row.finish_time)
92
-            }}
111
+            {{ getTimes(scope.row.finish_time) }}
93
           </template>
112
           </template>
94
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.total_distance }}</template>
120
           <template slot-scope="scope">{{ scope.row.total_distance }}</template>
97
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.failure_stage }}</template>
128
           <template slot-scope="scope">{{ scope.row.failure_stage }}</template>
100
         </el-table-column>
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
           <template slot-scope="scope">
136
           <template slot-scope="scope">
103
-            {{
104
-            scope.row.code_information
105
-            }}
137
+            {{ scope.row.code_information }}
106
           </template>
138
           </template>
107
         </el-table-column>
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
           <template slot-scope="scope">
146
           <template slot-scope="scope">
110
-            {{
111
-            scope.row.fault_description
112
-            }}
147
+            {{ scope.row.fault_description }}
113
           </template>
148
           </template>
114
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.cause_analysis }}</template>
156
           <template slot-scope="scope">{{ scope.row.cause_analysis }}</template>
117
         </el-table-column>
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
           <template slot-scope="scope">
164
           <template slot-scope="scope">
120
-            {{
121
-            scope.row.treatment_process
122
-            }}
165
+            {{ scope.row.treatment_process }}
123
           </template>
166
           </template>
124
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.exclude }}</template>
174
           <template slot-scope="scope">{{ scope.row.exclude }}</template>
127
         </el-table-column>
175
         </el-table-column>
128
         <el-table-column prop="address" label="原因" width="80" align="center">
176
         <el-table-column prop="address" label="原因" width="80" align="center">
130
         </el-table-column>
178
         </el-table-column>
131
         <el-table-column label="操作" align="center" min-width="150px">
179
         <el-table-column label="操作" align="center" min-width="150px">
132
           <template slot-scope="scope">
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
               <el-button
187
               <el-button
135
                 size="mini"
188
                 size="mini"
136
                 type="primary"
189
                 type="primary"
141
               ></el-button>
194
               ></el-button>
142
             </el-tooltip>
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
               <el-button
203
               <el-button
146
                 size="mini"
204
                 size="mini"
147
                 type="danger"
205
                 type="danger"
165
     </el-row>
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
       <el-form :model="guaForm" ref="guaForm" :rules="repirRules">
232
       <el-form :model="guaForm" ref="guaForm" :rules="repirRules">
170
         <el-row>
233
         <el-row>
171
           <el-col :span="8">
234
           <el-col :span="8">
221
           </el-col>
284
           </el-col>
222
           <el-col :span="8">
285
           <el-col :span="8">
223
             <el-form-item label="总路程:(公里)">
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
             </el-form-item>
291
             </el-form-item>
226
           </el-col>
292
           </el-col>
227
         </el-row>
293
         </el-row>
234
                   :value="gender.id"
300
                   :value="gender.id"
235
                   v-for="(gender, index) in faultPhase"
301
                   v-for="(gender, index) in faultPhase"
236
                   :key="index"
302
                   :key="index"
237
-                >{{ gender.name }}</el-radio>
303
+                  >{{ gender.name }}</el-radio
304
+                >
238
               </el-radio-group>
305
               </el-radio-group>
239
             </el-form-item>
306
             </el-form-item>
240
           </el-col>
307
           </el-col>
318
                   :value="gender.id"
385
                   :value="gender.id"
319
                   v-for="(gender, index) in breakDown"
386
                   v-for="(gender, index) in breakDown"
320
                   :key="index"
387
                   :key="index"
321
-                >{{ gender.name }}</el-radio>
388
+                  >{{ gender.name }}</el-radio
389
+                >
322
               </el-radio-group>
390
               </el-radio-group>
323
             </el-form-item>
391
             </el-form-item>
324
           </el-col>
392
           </el-col>
339
       </el-form>
407
       </el-form>
340
       <span slot="footer" class="dialog-footer">
408
       <span slot="footer" class="dialog-footer">
341
         <el-button @click="dialogVisible = false">取 消</el-button>
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
       </span>
413
       </span>
344
     </el-dialog>
414
     </el-dialog>
345
   </div>
415
   </div>

+ 180 - 50
src/xt_pages/management/components/UserForm.vue View File

11
           format="yyyy-MM-dd"
11
           format="yyyy-MM-dd"
12
           value-format="yyyy-MM-dd"
12
           value-format="yyyy-MM-dd"
13
           style="width:145px"
13
           style="width:145px"
14
-        ></el-date-picker>-
14
+        ></el-date-picker
15
+        >-
15
         <el-date-picker
16
         <el-date-picker
16
           v-model="form.end_time"
17
           v-model="form.end_time"
17
           prefix-icon="none"
18
           prefix-icon="none"
25
       <el-col :span="5">
26
       <el-col :span="5">
26
         <span class="machineClass">分区:</span>
27
         <span class="machineClass">分区:</span>
27
         <el-select style="width:110px" v-model="form.zone" @change="changeBed">
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
         </el-select>
35
         </el-select>
30
       </el-col>
36
       </el-col>
31
       <el-col :span="6">
37
       <el-col :span="6">
40
         </el-select>
46
         </el-select>
41
       </el-col>
47
       </el-col>
42
       <el-col :span="2">
48
       <el-col :span="2">
43
-        <el-button @click="queryInfo()">查询</el-button>
49
+        <el-button type="primary" @click="queryInfo()">查询</el-button>
44
       </el-col>
50
       </el-col>
45
     </el-row>
51
     </el-row>
46
     <el-row :span="24" style="display: flex;align-items: center;">
52
     <el-row :span="24" style="display: flex;align-items: center;">
49
           :indeterminate="isIndeterminate"
55
           :indeterminate="isIndeterminate"
50
           v-model="checkAllStatus"
56
           v-model="checkAllStatus"
51
           @change="changeCheck"
57
           @change="changeCheck"
52
-        >全选</el-checkbox>
58
+          >全选</el-checkbox
59
+        >
53
       </el-col>
60
       </el-col>
54
       <el-col :span="3">
61
       <el-col :span="3">
55
         <el-button size="small" @click="BatchDelete">批量删除</el-button>
62
         <el-button size="small" @click="BatchDelete">批量删除</el-button>
56
       </el-col>
63
       </el-col>
57
       <el-col :span="6">
64
       <el-col :span="6">
58
-        <el-button @click="printCard">打印</el-button>
65
+        <el-button type="primary" @click="printCard">打印</el-button>
59
       </el-col>
66
       </el-col>
60
     </el-row>
67
     </el-row>
61
     <el-row>
68
     <el-row>
73
         highlight-current-row
80
         highlight-current-row
74
         style="width: 100%;margin-top: 10px;"
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
         <el-table-column label="机号" align="center" width="50">
88
         <el-table-column label="机号" align="center" width="50">
78
           <template slot-scope="scope">{{ scope.row.bed }}</template>
89
           <template slot-scope="scope">{{ scope.row.bed }}</template>
79
         </el-table-column>
90
         </el-table-column>
97
         </el-table-column>
108
         </el-table-column>
98
         <el-table-column label="机表消毒" align="center" min-width="110px">
109
         <el-table-column label="机表消毒" align="center" min-width="110px">
99
           <el-table-column label="消毒方式" align="center" min-width="110px">
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
           </el-table-column>
114
           </el-table-column>
102
           <el-table-column label="消毒液" align="center" min-width="110px">
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
           </el-table-column>
119
           </el-table-column>
105
           <el-table-column label="消毒状态" align="center" min-width="110px">
120
           <el-table-column label="消毒状态" align="center" min-width="110px">
106
             <template slot-scope="scope">{{ scope.row.disinfection }}</template>
121
             <template slot-scope="scope">{{ scope.row.disinfection }}</template>
107
           </el-table-column>
122
           </el-table-column>
108
           <el-table-column label="消毒液浓度" align="center" min-width="110px">
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
           </el-table-column>
127
           </el-table-column>
111
         </el-table-column>
128
         </el-table-column>
112
         <el-table-column label="液路消毒" align="center" min-width="110px">
129
         <el-table-column label="液路消毒" align="center" min-width="110px">
116
           <el-table-column label="消毒液" align="center" min-width="110px">
133
           <el-table-column label="消毒液" align="center" min-width="110px">
117
             <template slot-scope="scope">{{ scope.row.disinfectant }}</template>
134
             <template slot-scope="scope">{{ scope.row.disinfectant }}</template>
118
           </el-table-column>
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
             <template slot-scope="scope">
141
             <template slot-scope="scope">
121
-              {{
122
-              getTimes(scope.row.disinfec_startime)
123
-              }}
142
+              {{ getTimes(scope.row.disinfec_startime) }}
124
             </template>
143
             </template>
125
           </el-table-column>
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
           </el-table-column>
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
             <template slot-scope="scope">{{ scope.row.long_time }}</template>
159
             <template slot-scope="scope">{{ scope.row.long_time }}</template>
131
           </el-table-column>
160
           </el-table-column>
132
           <el-table-column label="消毒状态" align="center" min-width="110px">
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
           </el-table-column>
165
           </el-table-column>
135
           <el-table-column label="消毒液残留" align="center" min-width="110px">
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
           </el-table-column>
170
           </el-table-column>
138
         </el-table-column>
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
         </el-table-column>
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
           <template slot-scope="scope">{{ scope.row.germ_checked }}</template>
186
           <template slot-scope="scope">{{ scope.row.germ_checked }}</template>
144
         </el-table-column>
187
         </el-table-column>
145
         <el-table-column label="空气滤网" align="center" min-width="110px">
188
         <el-table-column label="空气滤网" align="center" min-width="110px">
150
         </el-table-column>
193
         </el-table-column>
151
         <el-table-column label="操作" align="center" min-width="150px">
194
         <el-table-column label="操作" align="center" min-width="150px">
152
           <template slot-scope="scope">
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
               <el-button
202
               <el-button
155
                 size="mini"
203
                 size="mini"
156
                 type="primary"
204
                 type="primary"
161
               ></el-button>
209
               ></el-button>
162
             </el-tooltip>
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
               <el-button
218
               <el-button
166
                 size="mini"
219
                 size="mini"
167
                 type="danger"
220
                 type="danger"
184
       ></el-pagination>
237
       ></el-pagination>
185
     </el-row>
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
       <el-form :model="userform" ref="userform">
246
       <el-form :model="userform" ref="userform">
189
         <el-row>
247
         <el-row>
190
           <el-col :span="8">
248
           <el-col :span="8">
202
           </el-col>
260
           </el-col>
203
           <el-col :span="8">
261
           <el-col :span="8">
204
             <el-form-item label="班次:">
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
                 <el-option
268
                 <el-option
207
                   v-for="item in classType"
269
                   v-for="item in classType"
208
                   :key="item.id"
270
                   :key="item.id"
216
           <el-col :span="8">
278
           <el-col :span="8">
217
             <el-form-item label="分区:">
279
             <el-form-item label="分区:">
218
               <el-select v-model="userform.zone" placeholder="请选择" class="a">
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
               </el-select>
287
               </el-select>
221
             </el-form-item>
288
             </el-form-item>
222
           </el-col>
289
           </el-col>
270
           </el-col>
337
           </el-col>
271
           <el-col :span="8">
338
           <el-col :span="8">
272
             <el-form-item label="传染病:">
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
             </el-form-item>
345
             </el-form-item>
275
           </el-col>
346
           </el-col>
276
         </el-row>
347
         </el-row>
277
         <el-row>
348
         <el-row>
278
           <el-col :span="8">
349
           <el-col :span="8">
279
             <el-form-item label="透析方式:">
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
                 <el-option
356
                 <el-option
282
                   v-for="item in treatmode"
357
                   v-for="item in treatmode"
283
                   :key="item.id"
358
                   :key="item.id"
315
         <el-row>
390
         <el-row>
316
           <el-col :span="8">
391
           <el-col :span="8">
317
             <el-form-item label="透析时长:">
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
             </el-form-item>
397
             </el-form-item>
320
           </el-col>
398
           </el-col>
321
           <el-col :span="8">
399
           <el-col :span="8">
322
             <el-form-item label="实际超滤量:">
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
             </el-form-item>
405
             </el-form-item>
325
           </el-col>
406
           </el-col>
326
           <el-col :span="8">
407
           <el-col :span="8">
327
             <el-form-item label="体重减少:">
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
             </el-form-item>
413
             </el-form-item>
330
           </el-col>
414
           </el-col>
331
         </el-row>
415
         </el-row>
332
         <el-row>
416
         <el-row>
333
           <el-col :span="8">
417
           <el-col :span="8">
334
             <el-form-item label="预警值:">
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
             </el-form-item>
423
             </el-form-item>
337
           </el-col>
424
           </el-col>
338
           <el-col :span="8">
425
           <el-col :span="8">
339
             <el-form-item label="使用次数:">
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
             </el-form-item>
431
             </el-form-item>
342
           </el-col>
432
           </el-col>
343
           <el-col :span="8">
433
           <el-col :span="8">
348
                   :value="gender.id"
438
                   :value="gender.id"
349
                   v-for="(gender, index) in runOption"
439
                   v-for="(gender, index) in runOption"
350
                   :key="index"
440
                   :key="index"
351
-                >{{ gender.name }}</el-radio>
441
+                  >{{ gender.name }}</el-radio
442
+                >
352
               </el-radio-group>
443
               </el-radio-group>
353
             </el-form-item>
444
             </el-form-item>
354
           </el-col>
445
           </el-col>
362
                   :value="gender.id"
453
                   :value="gender.id"
363
                   v-for="(gender, index) in faultPhase"
454
                   v-for="(gender, index) in faultPhase"
364
                   :key="index"
455
                   :key="index"
365
-                >{{ gender.name }}</el-radio>
456
+                  >{{ gender.name }}</el-radio
457
+                >
366
               </el-radio-group>
458
               </el-radio-group>
367
             </el-form-item>
459
             </el-form-item>
368
           </el-col>
460
           </el-col>
370
         <el-row>
462
         <el-row>
371
           <el-col :span="24">
463
           <el-col :span="24">
372
             <el-form-item label="故障描述:">
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
             </el-form-item>
469
             </el-form-item>
375
           </el-col>
470
           </el-col>
376
         </el-row>
471
         </el-row>
377
         <el-row>
472
         <el-row>
378
           <el-col :span="24">
473
           <el-col :span="24">
379
             <el-form-item class="stoppage" label="故障提示信息及代码:">
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
             </el-form-item>
479
             </el-form-item>
382
           </el-col>
480
           </el-col>
383
         </el-row>
481
         </el-row>
403
           </el-col>
501
           </el-col>
404
           <el-col :span="8">
502
           <el-col :span="8">
405
             <el-form-item label="消毒液:">
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
                 <el-option
508
                 <el-option
408
                   v-for="item in disinfectantType"
509
                   v-for="item in disinfectantType"
409
                   :key="item.id"
510
                   :key="item.id"
437
                   :value="gender.id"
538
                   :value="gender.id"
438
                   v-for="(gender, index) in runOptions"
539
                   v-for="(gender, index) in runOptions"
439
                   :key="index"
540
                   :key="index"
440
-                >{{ gender.name }}</el-radio>
541
+                  >{{ gender.name }}</el-radio
542
+                >
441
               </el-radio-group>
543
               </el-radio-group>
442
             </el-form-item>
544
             </el-form-item>
443
           </el-col>
545
           </el-col>
476
         <el-row>
578
         <el-row>
477
           <el-col :span="8">
579
           <el-col :span="8">
478
             <el-form-item label="消毒状态:">
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
                 <el-option
585
                 <el-option
481
                   v-for="item in disinfection"
586
                   v-for="item in disinfection"
482
                   :key="item.id"
587
                   :key="item.id"
495
                   :value="gender.id"
600
                   :value="gender.id"
496
                   v-for="(gender, index) in Disinfectant"
601
                   v-for="(gender, index) in Disinfectant"
497
                   :key="index"
602
                   :key="index"
498
-                >{{ gender.name }}</el-radio>
603
+                  >{{ gender.name }}</el-radio
604
+                >
499
               </el-radio-group>
605
               </el-radio-group>
500
             </el-form-item>
606
             </el-form-item>
501
           </el-col>
607
           </el-col>
503
         <el-row>
609
         <el-row>
504
           <el-col :span="8">
610
           <el-col :span="8">
505
             <el-form-item label="消毒时长:">
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
             </el-form-item>
617
             </el-form-item>
508
           </el-col>
618
           </el-col>
509
           <el-col :span="8">
619
           <el-col :span="8">
553
           </el-col>
663
           </el-col>
554
           <el-col :span="6">
664
           <el-col :span="6">
555
             <el-form-item label="规格:">
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
             </el-form-item>
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
           </el-col>
672
           </el-col>
560
         </el-row>
673
         </el-row>
561
         <el-row>
674
         <el-row>
567
                   :value="gender.id"
680
                   :value="gender.id"
568
                   v-for="(gender, index) in potency"
681
                   v-for="(gender, index) in potency"
569
                   :key="index"
682
                   :key="index"
570
-                >{{ gender.name }}</el-radio>
683
+                  >{{ gender.name }}</el-radio
684
+                >
571
               </el-radio-group>
685
               </el-radio-group>
572
             </el-form-item>
686
             </el-form-item>
573
           </el-col>
687
           </el-col>
578
           </el-col>
692
           </el-col>
579
           <el-col :span="7">
693
           <el-col :span="7">
580
             <el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
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
           </el-col>
698
           </el-col>
583
           <el-col :span="8">
699
           <el-col :span="8">
584
             <el-form-item label="名称:">
700
             <el-form-item label="名称:">
595
           </el-col>
711
           </el-col>
596
           <el-col :span="6">
712
           <el-col :span="6">
597
             <el-form-item label="数量:">
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
             </el-form-item>
719
             </el-form-item>
600
           </el-col>
720
           </el-col>
601
         </el-row>
721
         </el-row>
605
           </el-col>
725
           </el-col>
606
           <el-col :span="10">
726
           <el-col :span="10">
607
             <el-checkbox v-model="userform.clean">清洁:</el-checkbox>
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
           </el-col>
731
           </el-col>
610
           <el-col :span="10">
732
           <el-col :span="10">
611
             <el-form-item label="签名:">
733
             <el-form-item label="签名:">
624
       </el-form>
746
       </el-form>
625
       <span slot="footer" class="dialog-footer">
747
       <span slot="footer" class="dialog-footer">
626
         <el-button @click="dialogVisible = false">取 消</el-button>
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
       </span>
752
       </span>
629
     </el-dialog>
753
     </el-dialog>
630
 
754
 
636
           </div>
760
           </div>
637
           <div>
761
           <div>
638
             <div class="printClass">打印日期:{{ nowTime }}</div>
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
               <tr>
769
               <tr>
641
                 <th :rowspan="2">机号</th>
770
                 <th :rowspan="2">机号</th>
642
                 <th :rowspan="2">日期</th>
771
                 <th :rowspan="2">日期</th>
2115
 <style lang="scss">
2244
 <style lang="scss">
2116
 .machineClass {
2245
 .machineClass {
2117
   font-size: 14px;
2246
   font-size: 14px;
2247
+  color: #606266;
2118
 }
2248
 }
2119
 .c {
2249
 .c {
2120
   margin-bottom: 10px;
2250
   margin-bottom: 10px;

+ 57 - 46
src/xt_pages/management/home.vue View File

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

+ 90 - 82
src/xt_pages/upload/config/City.vue View File

1
 <template>
1
 <template>
2
   <div class="main-contain">
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
     </div>
84
     </div>
94
   </div>
85
   </div>
95
 </template>
86
 </template>
260
 }
251
 }
261
 .titleOne {
252
 .titleOne {
262
   line-height: 30px;
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
 </style>
272
 </style>

+ 45 - 48
src/xt_pages/upload/config/Country.vue View File

1
 <template>
1
 <template>
2
   <div class="main-contain">
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
     </div>
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
     </div>
46
     </div>
57
   </div>
47
   </div>
58
 </template>
48
 </template>
149
 }
139
 }
150
 .titleOne {
140
 .titleOne {
151
   line-height: 30px;
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
 </style>
150
 </style>

+ 84 - 81
src/xt_pages/upload/config/Province.vue View File

1
 <template>
1
 <template>
2
   <div class="main-contain">
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
     </div>
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
     </div>
80
     </div>
92
   </div>
81
   </div>
93
 </template>
82
 </template>
238
 }
227
 }
239
 .titleOne {
228
 .titleOne {
240
   line-height: 30px;
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
 </style>
245
 </style>

File diff suppressed because it is too large
+ 1003 - 688
src/xt_pages/upload/fast/Two.vue