Преглед на файлове

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

柳香萍 преди 6 години
родител
ревизия
ef14949e71

+ 0 - 1
src/icons/svg/sign.svg Целия файл

@@ -1 +0,0 @@
1
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1509611822979" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10379" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M219.428571 658.285714q0-30.285714-21.428571-51.714285T146.285714 585.142857t-51.714285 21.428572T73.142857 658.285714t21.428572 51.714286T146.285714 731.428571t51.714286-21.428571T219.428571 658.285714z m109.714286-256q0-30.285714-21.428571-51.714285T256 329.142857t-51.714286 21.428572T182.857143 402.285714t21.428571 51.714286T256 475.428571t51.714286-21.428571T329.142857 402.285714z m244.571429 274.857143l57.714285-218.285714q3.428571-14.857143-4.285714-27.714286T605.142857 414.285714t-27.428571 3.714286-17.142857 22.571429l-57.714286 218.285714q-34.285714 2.857143-61.142857 24.857143t-36 56.285714q-11.428571 44 11.428571 83.428571t66.857143 50.857143 83.428571-11.428571 50.857143-66.857143q9.142857-34.285714-3.428571-66.857143t-41.142857-52z m377.142857-18.857143q0-30.285714-21.428572-51.714285T877.714286 585.142857t-51.714286 21.428572-21.428571 51.714285 21.428571 51.714286 51.714286 21.428571 51.714285-21.428571 21.428572-51.714286z m-365.714286-365.714285q0-30.285714-21.428571-51.714286T512 219.428571t-51.714286 21.428572T438.857143 292.571429t21.428571 51.714285T512 365.714286t51.714286-21.428572T585.142857 292.571429z m256 109.714285q0-30.285714-21.428571-51.714285T768 329.142857t-51.714286 21.428572T694.857143 402.285714t21.428571 51.714286T768 475.428571t51.714286-21.428571T841.142857 402.285714z m182.857143 256q0 149.142857-80.571429 276-10.857143 16.571429-30.857142 16.571429H111.428571q-20 0-30.857142-16.571429Q0 808 0 658.285714q0-104 40.571429-198.857143t109.142857-163.428571 163.428571-109.142857 198.857143-40.571429 198.857143 40.571429 163.428571 109.142857 109.142857 163.428571 40.571429 198.857143z" p-id="10380"></path></svg>

+ 2 - 2
src/xt_pages/data/components/tableson.vue Целия файл

@@ -1,11 +1,11 @@
1 1
 <template>
2 2
   <div class="">
3 3
     <div class="filter-container">
4
-      <el-button style="float: right" class="filter-item" size="small" :disabled="addState"  @click="handleCreate" type="primary" icon="el-icon-circle-plus-outline">{{$t('table.add')}}</el-button>
4
+      <el-button style="float: right;margin-right: 40px" class="filter-item" size="small" :disabled="addState"  @click="handleCreate" type="primary" icon="el-icon-circle-plus-outline">{{$t('table.add')}}</el-button>
5 5
     </div>
6 6
 
7 7
     <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :key='tableKey' :data="list" v-loading="listLoading" border fit highlight-current-row
8
-      style="width: 100%;min-height:500px;">
8
+      style="width: 100%;">
9 9
       <el-table-column  align="center" label="名称">
10 10
         <template slot-scope="scope">
11 11
           <span @click="handleUpdate(scope.row)">{{scope.row.name}}</span>

+ 1 - 1
src/xt_pages/data/components/templateTable.vue Целия файл

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div class="">
3 3
     <div class="filter-container">
4
-      <el-button size="small" class="filter-item" style="float:right;" @click="handleCreate" type="primary" icon="el-icon-circle-plus-outline">{{$t('table.add')}}</el-button>
4
+      <el-button size="small" class="filter-item" style="float:right;margin-right: 30px" @click="handleCreate" type="primary" icon="el-icon-circle-plus-outline">{{$t('table.add')}}</el-button>
5 5
     </div>
6 6
     <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :key='tableKey' :data="list" v-loading="listLoading" border fit highlight-current-row style="width: 100%;min-height:500px;">
7 7
       <!-- <el-table-column align="center" :label="$t('table.id')" width="65" @click="handleUpdate(scope.row)">

+ 6 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue Целия файл

@@ -89,7 +89,11 @@
89 89
         <el-table-column prop="number" label="机号" align="center"></el-table-column>
90 90
         <el-table-column label="排班日期" prop="sch_time" align="center" width="120"></el-table-column>
91 91
         <el-table-column prop="dialysis_no" label="透析号" align="center"></el-table-column>
92
-        <el-table-column prop="name" label="姓名" align="center"></el-table-column>
92
+        <el-table-column prop="name" label="姓名" align="center">
93
+          <template slot-scope="scope">
94
+            <span style="color: #579ef8">{{scope.row.name}}</span>
95
+          </template>
96
+        </el-table-column>
93 97
 
94 98
         <el-table-column prop="mode_name" label="透析模式" align="center"></el-table-column>
95 99
 
@@ -455,4 +459,4 @@ export default {
455 459
     }
456 460
   }
457 461
 }
458
-</style>
462
+</style>

+ 4 - 0
src/xt_pages/stock/Dialog/salesReturnDialog.vue Целия файл

@@ -15,6 +15,8 @@
15 15
           border
16 16
           highlight-current-row
17 17
           max-height="250"
18
+          :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
19
+
18 20
           @current-change="goodTypeTableChange"
19 21
           style="width: 100%">
20 22
           <el-table-column
@@ -30,6 +32,8 @@
30 32
           ref="multipleTable"
31 33
           max-height="250"
32 34
           @row-click="clickRow"
35
+          :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
36
+
33 37
           @selection-change="changeGoodInfoTableData"
34 38
           @select-all="changeAllGoodInfoTableData"
35 39
           row-key="row_key"

+ 2 - 0
src/xt_pages/stock/Dialog/stockInDialog.vue Целия файл

@@ -16,6 +16,7 @@
16 16
           highlight-current-row
17 17
           max-height="250"
18 18
           @current-change="goodTypeTableChange"
19
+          :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
19 20
           style="width: 100%">
20 21
           <el-table-column
21 22
             prop="type_name"
@@ -34,6 +35,7 @@
34 35
           @select-all="changeAllGoodInfoTableData"
35 36
           row-key="row_key"
36 37
           style="width: 100%"
38
+          :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
37 39
         >
38 40
           <el-table-column
39 41
             type="selection"

+ 29 - 26
src/xt_pages/stock/stockInOrderAdd.vue Целия файл

@@ -467,34 +467,37 @@
467 467
           this.$message.error('请先选择厂商')
468 468
           return
469 469
         } else {
470
+          this.$refs.dialog.show()
470 471
 
471 472
           // this.isVisibility = true
472
-          const params = {
473
-            id: this.form.manufacturer
474
-          }
475
-          this.propForm.goodType = []
476
-          GetAllGoodInfoByID(params).then(response => {
477
-            if (response.data.state == 0) {
478
-              this.$message.error(response.data.msg)
479
-              return false
480
-            } else {
481
-              if (response.data.data.goodInfo.length == 0) {
482
-                this.$message.error('该厂商没商品,请添加商品')
483
-              } else {
484
-                for (let i = 0; i < response.data.data.goodInfo.length; i++) {
485
-                  this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
486
-                }
487
-
488
-                const obj = {}
489
-                this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
490
-                  obj[next.id] ? '' : obj[next.id] = true && cur.push(next)
491
-                  return cur
492
-                }, []) // 设置cur默认类型为数组,并且初始值为空的数组
493
-                this.$refs.dialog.show()
494
-
495
-              }
496
-            }
497
-          })
473
+          // const params = {
474
+          //   id: this.form.manufacturer
475
+          // }
476
+          this.propForm.goodType = this.goodType
477
+          //
478
+
479
+
480
+          // GetAllGoodInfoByID(params).then(response => {
481
+          //   if (response.data.state == 0) {
482
+          //     this.$message.error(response.data.msg)
483
+          //     return false
484
+          //   } else {
485
+          //     if (response.data.data.goodInfo.length == 0) {
486
+          //       this.$message.error('该厂商没商品,请添加商品')
487
+          //     } else {
488
+          //       for (let i = 0; i < response.data.data.goodInfo.length; i++) {
489
+          //         this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
490
+          //       }
491
+          //
492
+          //       const obj = {}
493
+          //       this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
494
+          //         obj[next.id] ? '' : obj[next.id] = true && cur.push(next)
495
+          //         return cur
496
+          //       }, []) // 设置cur默认类型为数组,并且初始值为空的数组
497
+          //
498
+          //     }
499
+          //   }
500
+          // })
498 501
         }
499 502
       }, getSummaries(param) {
500 503
         const { columns, data } = param

+ 2 - 15
src/xt_pages/stock/stockInOrderEdit.vue Целия файл

@@ -385,21 +385,8 @@ export default {
385 385
               this.$message.error(response.data.msg)
386 386
               return false
387 387
             } else {
388
-              if (response.data.data.goodInfo.length == 0) {
389
-                this.$message.error('该厂商没商品,请添加商品')
390
-              } else {
391
-                for (let i = 0; i < response.data.data.goodInfo.length; i++) {
392
-                  this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
393
-                }
394
-
395
-                const obj = {}
396
-                this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
397
-                  obj[next.id] ? '' : obj[next.id] = true && cur.push(next)
398
-                  return cur
399
-                }, []) // 设置cur默认类型为数组,并且初始值为空的数组
400
-                this.$refs.dialog.show()
401
-
402
-              }
388
+              this.propForm.goodType = this.goodType
389
+              this.$refs.dialog.show()
403 390
             }
404 391
           })
405 392
         }

Файловите разлики са ограничени, защото са твърде много
+ 925 - 934
src/xt_pages/user/components/PatientForm.vue


+ 5 - 5
src/xt_pages/user/dialysisRecord.vue Целия файл

@@ -4,7 +4,7 @@
4 4
    <patient-sidebar :id="patientID" defaultActive="2-2" v-on:tran-patient="onTranPatient"></patient-sidebar>
5 5
     <div class="patient-app-container app-container">
6 6
         <div style="clearfix">
7
-          <el-button style="float:right;" size="small" @click="printThisInfo()" type="primary" icon="el-icon-printer" >打印</el-button>          
7
+          <el-button style="float:right;" size="small" @click="printThisInfo()" type="primary" icon="el-icon-printer" >打印</el-button>
8 8
           <el-form ref="form"  :model="queryParams" label-width="80px" >
9 9
             <!-- <el-form-item label="患者时间 : " >
10 10
               <el-select v-model="form.date"   >
@@ -21,20 +21,20 @@
21 21
                       <el-date-picker size="small"   type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择结束时间" style="width:150px" v-model="queryParams.end_time" @change="changeSearch" ></el-date-picker>
22 22
                     <!-- </el-col> -->
23 23
               </el-form-item>
24
-            </el-col>   
25
-            <el-col :span="20">     
24
+            </el-col>
25
+            <el-col :span="20">
26 26
               <el-form-item label="透析模式 : "  >
27 27
                 <el-select v-model="queryParams.mode_id" @change="changeSearch" clearable style="width:314px" size="small" >
28 28
                 <el-option v-for="item in modeOptions " :label="item.name" :value="item.id" :key="item.id" ></el-option>
29 29
                 </el-select>
30 30
               </el-form-item>
31
-            </el-col>       
31
+            </el-col>
32 32
           </el-form>
33 33
         </div>
34 34
         <div>
35 35
           <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :data="recordData" border style="width: 100%" @current-change="clickCurrent">
36 36
               <el-table-column prop="dialysis_date" label="透析日期" align="center" width="110" fixed>
37
-                <template slot-scope="scope"><span>{{scope.row.dialysis_date | parseTime('{y}-{m}-{d}')}}</span></template>
37
+                <template slot-scope="scope"><span style="color: #579ef8">{{scope.row.dialysis_date | parseTime('{y}-{m}-{d}')}}</span></template>
38 38
               </el-table-column>
39 39
               <el-table-column prop="schedule_type" label="班次" align="center" width="80">
40 40
                 <template slot-scope="scope"><span>{{scheduleType(scope.row.schedule_type)}}</span></template>