Browse Source

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

zhengchengwu 6 years ago
parent
commit
cd9a39dca7

+ 1 - 1
config/dev.env.js View File

@@ -6,7 +6,7 @@
6 6
 module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9
-  BASE_API: '"http://112.74.16.180:9527"', // '"http://localhost:9529"'//http://api.xt.test.sgjyun.com
9
+  BASE_API: '"http://localhost:9529"', // '"http://localhost:9529"'//http://api.xt.test.sgjyun.com http://112.74.16.180:9527
10 10
   // PATIENT_SIT: '"http://test1.sgjyun.com"',
11 11
   // MIRCOMALL_SIT: '"http://mall.test.sgjyun.com"'
12 12
 }

+ 10 - 3
src/styles/index.scss View File

@@ -385,12 +385,12 @@ code {
385 385
           float: left;
386 386
           list-style: none;
387 387
           cursor: pointer;
388
-          padding: 6px 0;
388
+          padding: 6px 20px;
389 389
           color: #606266;
390 390
           border-radius: 4px;
391 391
           margin: 0 8px 0 0;
392 392
           font-size: 14px;
393
-          width: 70px;
393
+          // width: 70px;
394 394
           text-align: center;
395 395
           &:hover {
396 396
             background: #f5f7fa;
@@ -454,6 +454,13 @@ code {
454 454
   margin-top: 0 !important; 
455 455
 }
456 456
 
457
+.el-dialog__wrapper{
458
+  // z-index: 9999!important;
459
+}
457 460
 .el-message{
458 461
   z-index: 2004!important;
459
-}
462
+}
463
+.el-select-dropdown{
464
+  // z-index: 2003!important;
465
+}
466
+

+ 3 - 7
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -8,7 +8,7 @@
8 8
           <el-button round @click="deleteRecordAction">删除监测</el-button>
9 9
 
10 10
         </div>
11
-        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table" :data="monitors" border highlight-current-row max-height="300"
11
+        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table" :data="monitors" border highlight-current-row 
12 12
                   @current-change="tableCurrentRowChange" style="width: 100%" :class="current_row_class">
13 13
           <el-table-column label="时间" align="center" width="144">
14 14
             <template slot-scope="scope">
@@ -241,14 +241,10 @@
241 241
           </el-row>
242 242
         </el-form>
243 243
 
244
-        <el-row>
245
-          <el-col :span="24">
246
-            <div style="text-align: right;">
244
+        <div slot="footer" class="dialog-footer">
247 245
               <el-button @click="cancelEditAction">取 消</el-button>
248 246
               <el-button type="primary" @click="submitAction">保 存</el-button>
249
-            </div>
250
-          </el-col>
251
-        </el-row>
247
+        </div>
252 248
       </div>
253 249
     </el-dialog>
254 250
   </div>

+ 4 - 4
src/xt_pages/dialysis/schedualPatient.vue View File

@@ -5,7 +5,7 @@
5 5
   </div>
6 6
   <div class="app-container">
7 7
     <div class="cell clearfix">
8
-      <label class="title"><span class="name">病人查询</span> : </label>
8
+      <!-- <label class="title"><span class="name">病人查询</span> : </label> -->
9 9
       <el-input size="small" style="width: 280px;" v-model="search_input" class="filter-item"/>
10 10
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
11 11
     </div>
@@ -67,14 +67,14 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
67 67
         selected_date: new Date(), // this.$store.getters.app.dialysis_area.schedule_date,
68 68
         schedule_type_selected: 0, // this.$store.getters.app.dialysis_area.schedule_type_select_index,
69 69
         schedule_type_options: [
70
-          { value: 0, text: '全部' },
70
+          { value: 0, text: '全部' },
71 71
           { value: 1, text: '上午' },
72 72
           { value: 2, text: '下午' },
73 73
           { value: 3, text: '晚上' }
74 74
         ],
75 75
         zone_selected: 0, // this.$store.getters.app.dialysis_area.zone_select_index,
76 76
         zone_options: [
77
-          { id: 0, text: '全部分区' }
77
+          { id: 0, text: '全部' }
78 78
         ],
79 79
         zone_schedules: [],
80 80
 
@@ -229,7 +229,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
229 229
           if (resp.state == 1) {
230 230
             var zones = resp.data.zones
231 231
             var schedules = resp.data.schedules
232
-            var zone_options = [{ id: 0, text: '全部分区' }]
232
+            var zone_options = [{ id: 0, text: '全部' }]
233 233
             for (let z_i = 0; z_i < zones.length; z_i++) {
234 234
               const zone = zones[z_i]
235 235
               zone_options.push({ id: zone.id, text: zone.name })

+ 3 - 3
src/xt_pages/stock/cancelStockOrder.vue View File

@@ -11,7 +11,7 @@
11 11
     <div class="app-container">
12 12
 
13 13
 
14
-      <div class="cell clearfix" style="margin-top:20px">
14
+      <div class="cell clearfix" >
15 15
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
16 16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
17 17
       </div>
@@ -37,7 +37,7 @@
37 37
         <el-table
38 38
           :data="cancelStockDate"
39 39
           :class="signAndWeighBoxPatients"
40
-          style="width: 100%" border
40
+          border
41 41
           highlight-current-row
42 42
           ref="multipleTable"
43 43
           @selection-change="select"
@@ -87,7 +87,7 @@
87 87
                 <el-button
88 88
                   size="mini"
89 89
                   type="primary"
90
-                  icon="el-icon-edit"
90
+                  icon="el-icon-edit-outline"
91 91
                   @click="handleEdit(scope.$index, scope.row)">
92 92
                 </el-button>
93 93
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/cancelStockOrderAdd.vue View File

@@ -111,7 +111,7 @@
111 111
                   <el-button
112 112
                     size="mini"
113 113
                     type="danger"
114
-                    icon="el-icon-remove-outline"
114
+                    icon="el-icon-delete"
115 115
                     @click="handleDelete(scope.$index, scope.row)">
116 116
                   </el-button>
117 117
                 </el-tooltip>

+ 1 - 1
src/xt_pages/stock/cancelStockOrderEdit.vue View File

@@ -85,7 +85,7 @@
85 85
                 <el-button
86 86
                   size="mini"
87 87
                   type="danger"
88
-                  icon="el-icon-remove-outline"
88
+                  icon="el-icon-delete"
89 89
                   @click="handleDelete(scope.$index, scope.row)">
90 90
                 </el-button>
91 91
               </el-tooltip>

+ 2 - 2
src/xt_pages/stock/otherCancelStockOrder.vue View File

@@ -10,7 +10,7 @@
10 10
 
11 11
     <div class="app-container">
12 12
 
13
-      <div class="cell clearfix" style="margin-top:20px">
13
+      <div class="cell clearfix">
14 14
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15 15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16 16
       </div>
@@ -86,7 +86,7 @@
86 86
                 <el-button
87 87
                   size="mini"
88 88
                   type="primary"
89
-                  icon="el-icon-edit"
89
+                  icon="el-icon-edit-outline"
90 90
                   @click="handleEdit(scope.$index, scope.row)">
91 91
                 </el-button>
92 92
               </el-tooltip>

+ 2 - 2
src/xt_pages/stock/otherSalesReturnOrder.vue View File

@@ -10,7 +10,7 @@
10 10
 
11 11
     <div class="app-container">
12 12
 
13
-      <div class="cell">
13
+      <div class="cell clearfix">
14 14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15 15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16 16
       </div>
@@ -87,7 +87,7 @@
87 87
               <el-button
88 88
                 size="mini"
89 89
                 type="primary"
90
-                icon="el-icon-edit"
90
+                icon="el-icon-edit-outline"
91 91
                 @click="handleEdit(scope.$index, scope.row)">
92 92
               </el-button>
93 93
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/otherStockInOrder.vue View File

@@ -86,7 +86,7 @@
86 86
               <el-button
87 87
                 size="small"
88 88
                 type="primary"
89
-                icon="el-icon-edit"
89
+                icon="el-icon-edit-outline"
90 90
                 @click="handleEdit(scope.$index, scope.row)">
91 91
               </el-button>
92 92
             </el-tooltip>

+ 1 - 1
src/xt_pages/stock/otherStockOutOrder.vue View File

@@ -82,7 +82,7 @@
82 82
               <el-button
83 83
                 size="mini"
84 84
                 type="primary"
85
-                icon="el-icon-edit"
85
+                icon="el-icon-edit-outline"
86 86
                 @click="handleEdit(scope.$index, scope.row)">
87 87
               </el-button>
88 88
             </el-tooltip>

+ 1 - 1
src/xt_pages/stock/salesReturnEdit.vue View File

@@ -87,7 +87,7 @@
87 87
                   <el-button
88 88
                     size="mini"
89 89
                     type="danger"
90
-                    icon="el-icon-remove-outline"
90
+                    icon="el-icon-delete"
91 91
                     @click="handleDelete(scope.$index, scope.row)">
92 92
                   </el-button>
93 93
                 </el-tooltip>

+ 2 - 2
src/xt_pages/stock/salesReturnOrder.vue View File

@@ -10,7 +10,7 @@
10 10
 
11 11
     <div class="app-container">
12 12
 
13
-      <div class="cell" >
13
+      <div class="cell clearfix" >
14 14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15 15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16 16
       </div>
@@ -85,7 +85,7 @@
85 85
               <el-button
86 86
                 size="mini"
87 87
                 type="primary"
88
-                icon="el-icon-edit"
88
+                icon="el-icon-edit-outline"
89 89
                 @click="handleEdit(scope.$index, scope.row)">
90 90
               </el-button>
91 91
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/salesReturnOrderAdd.vue View File

@@ -116,7 +116,7 @@
116 116
                 <el-button
117 117
                   size="mini"
118 118
                   type="danger"
119
-                  icon="el-icon-remove-outline"
119
+                  icon="el-icon-delete"
120 120
                   @click="handleDelete(scope.$index, scope.row)">
121 121
                 </el-button>
122 122
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/stockInOrder.vue View File

@@ -8,7 +8,7 @@
8 8
     </div>
9 9
 
10 10
     <div class="app-container">
11
-    <div class="cell">
11
+    <div class="cell clearfix">
12 12
       <el-input   style="width: 400px;" v-model="searchKey" class="filter-item"  placeholder="单据日期/单据编码/制单人/供应商" />
13 13
       <el-button  class="filter-item" type="primary" icon="el-icon-search" @click="search" >搜索</el-button>
14 14
     </div>

+ 23 - 17
src/xt_pages/stock/stockInOrderAdd.vue View File

@@ -47,11 +47,11 @@
47 47
 
48 48
 
49 49
             <el-form :rules="tableRules" :model="recordInfo" ref="tableForm">
50
-              <el-table :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
50
+              <el-table   id="oictable" :data="recordInfo.recordData" :class="signAndWeighBoxPatients" border style="width: 100%"
51 51
                         max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
52 52
               >
53 53
 
54
-                <el-table-column min-width="35" align="center">
54
+                <el-table-column  align="center" width="200">
55 55
 
56 56
                   <template slot="header" slot-scope="scope">
57 57
                     <span>物品类型<span style="color: red">*</span></span>
@@ -65,7 +65,7 @@
65 65
                     </el-form-item>
66 66
                   </template>
67 67
                 </el-table-column>
68
-                <el-table-column min-width="35" align="center">
68
+                <el-table-column align="center" width="200">
69 69
                   <template slot="header" slot-scope="scope">
70 70
                     <span>规格名称<span style="color: red">*</span></span>
71 71
                   </template>
@@ -81,7 +81,7 @@
81 81
                 </el-table-column>
82 82
 
83 83
 
84
-                <el-table-column min-width="23" align="center">
84
+                <el-table-column  align="center" width="150">
85 85
                   <template slot="header" slot-scope="scope">
86 86
                     <span>单价<span style="color: red">*</span></span>
87 87
                   </template>
@@ -89,14 +89,14 @@
89 89
                     <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
90 90
                     <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
91 91
                                   style="padding-top: 17px">
92
-                      <el-input type="number" v-model="scope.row.price"></el-input>
92
+                      <el-input placeholder="请输入单价"  type="number" v-model="scope.row.price"></el-input>
93 93
                     </el-form-item>
94 94
 
95 95
 
96 96
                   </template>
97 97
                 </el-table-column>
98 98
 
99
-                <el-table-column min-width="23" align="center">
99
+                <el-table-column  align="center"  width="180">
100 100
                   <template slot="header" slot-scope="scope">
101 101
                     <span>入库数量<span style="color: red">*</span></span>
102 102
                   </template>
@@ -106,18 +106,18 @@
106 106
 
107 107
                     <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
108 108
                                   :rules='tableRules.warehousing_count' style="padding-top: 17px">
109
-                      <el-input type="number" v-model="scope.row.warehousing_count"></el-input>
109
+                      <el-input placeholder="请输入入库数量"  type="number" v-model="scope.row.warehousing_count"></el-input>
110 110
                     </el-form-item>
111 111
                   </template>
112 112
                 </el-table-column>
113 113
 
114
-                <el-table-column label="总价" min-width="20" align="center">
114
+                <el-table-column label="总价" align="center" width="150">
115 115
                   <template slot-scope="scope">
116 116
                     {{calculate(scope.row.price*scope.row.warehousing_count)}}
117 117
                   </template>
118 118
                 </el-table-column>
119 119
 
120
-                <el-table-column align="center" min-width="25">
120
+                <el-table-column align="center"  width="150">
121 121
                   <template slot="header" slot-scope="scope">
122 122
                     <span>批号<span style="color: red">*</span></span>
123 123
                   </template>
@@ -126,12 +126,12 @@
126 126
 
127 127
                     <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number'
128 128
                                   style="padding-top: 17px">
129
-                      <el-input v-model="scope.row.number"></el-input>
129
+                      <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
130 130
                     </el-form-item>
131 131
 
132 132
                   </template>
133 133
                 </el-table-column>
134
-                <el-table-column label="生产日期" min-width="43" align="center">
134
+                <el-table-column label="生产日期"  align="center" width="250">
135 135
                   <template slot-scope="scope">
136 136
                     <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
137 137
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
@@ -140,7 +140,7 @@
140 140
 
141 141
                   </template>
142 142
                 </el-table-column>
143
-                <el-table-column label="有效日期" min-width="43" align="center">
143
+                <el-table-column label="有效日期"  align="center" width="250">
144 144
                   <template slot-scope="scope">
145 145
                     <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
146 146
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
@@ -149,14 +149,14 @@
149 149
 
150 150
                   </template>
151 151
                 </el-table-column>
152
-                <el-table-column label="备注" min-width="20" align="center">
152
+                <el-table-column label="备注"  align="center" width="150">
153 153
                   <template slot-scope="scope">
154
-                    <el-input v-model="scope.row.remark"></el-input>
154
+                    <el-input placeholder="请输入备注"   v-model="scope.row.remark"></el-input>
155 155
                   </template>
156 156
                 </el-table-column>
157 157
 
158
-                <el-table-column label="操作" align="center" min-width="40">
159
-                  <template slot-scope="scope">
158
+                <el-table-column label="操作" align="center" fixed="right"  width="150">
159
+                  <template slot-scope="scope" >
160 160
                     <el-tooltip class="item" effect="dark" content="新增" placement="top">
161 161
 
162 162
                     <el-button
@@ -171,7 +171,7 @@
171 171
                     <el-button
172 172
                       size="mini"
173 173
                       type="danger"
174
-                      icon="el-icon-remove-outline"
174
+                      icon="el-icon-delete"
175 175
                       @click="handleDelete(scope.$index, scope.row)">
176 176
                     </el-button>
177 177
                     </el-tooltip>
@@ -601,6 +601,12 @@
601 601
   }
602 602
 </script>
603 603
 
604
+<style>
605
+  #oictable ::-webkit-scrollbar {
606
+    height: 15px;
607
+  }
608
+</style>
609
+
604 610
 <style rel="stylesheet/css" lang="scss" scoped>
605 611
   .information {
606 612
     border: 1px #dcdfe6 solid;

+ 37 - 32
src/xt_pages/stock/stockInOrderEdit.vue View File

@@ -24,57 +24,57 @@
24 24
 
25 25
 
26 26
         <el-form  :rules="tableRules" :model="recordInfo" ref="tableForm">
27
-          <el-table :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
27
+          <el-table id="oictable" :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
28 28
                     max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
29 29
           >
30 30
 
31
-            <el-table-column min-width="35" align="center">
31
+            <el-table-column  align="center" width="200" >
32 32
 
33 33
               <template slot="header" slot-scope="scope">
34 34
                 <span>物品类型<span style="color: red">*</span></span>
35 35
               </template>
36 36
 
37
-              <template slot-scope="scope" >
38
-                <!--<span @click="showDialog(scope.$index, scope.row)" v-if="scope.row.good_type_id == 0" style="color:#c5c8cf">请输入类型</span>-->
39
-                <!--<span @click="showDialog(scope.$index, scope.row)" v-if="scope.row.good_type_id != 0">{{typeName(scope.row.good_type_id)}}</span>-->
40
-
41
-                <el-form-item  style="padding-top: 15px">
42
-                  <el-input placeholder="请输入物品类型"  v-model="scope.row.good_type_id" :value="typeName(scope.row.good_type_id)" @focus="showDialog(scope.$index, scope.row)" ></el-input>
37
+              <template slot-scope="scope">
38
+                <el-form-item style="padding-top: 15px">
39
+                  <el-input placeholder="请输入物品类型" v-model="scope.row.good_type_id"
40
+                            :value="typeName(scope.row.good_type_id)"
41
+                            @focus="showDialog(scope.$index, scope.row)"></el-input>
43 42
                 </el-form-item>
44
-
45 43
               </template>
46 44
             </el-table-column>
47
-            <el-table-column min-width="35" align="center">
45
+            <el-table-column align="center" width="200">
48 46
               <template slot="header" slot-scope="scope">
49 47
                 <span>规格名称<span style="color: red">*</span></span>
50 48
               </template>
51 49
               <template slot-scope="scope">
52 50
 
53
-                <el-form-item  style="padding-top: 15px">
54
-                  <el-input placeholder="请输入规格名称"  v-model="scope.row.good_id" :value="specificationName(scope.row.good_id)" @focus="showDialog(scope.$index, scope.row)" ></el-input>
51
+                <el-form-item style="padding-top: 15px">
52
+                  <el-input placeholder="请输入规格名称" v-model="scope.row.good_id"
53
+                            :value="specificationName(scope.row.good_id)"
54
+                            @focus="showDialog(scope.$index, scope.row)"></el-input>
55 55
                 </el-form-item>
56 56
 
57 57
               </template>
58 58
             </el-table-column>
59 59
 
60 60
 
61
-            <el-table-column  min-width="23" align="center">
61
+
62
+            <el-table-column  align="center" width="150">
62 63
               <template slot="header" slot-scope="scope">
63 64
                 <span>单价<span style="color: red">*</span></span>
64 65
               </template>
65 66
               <template slot-scope="scope">
66 67
                 <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
67
-                <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price' style="padding-top: 17px">
68
-                  <el-input type="number"  v-model="scope.row.price" ></el-input>
68
+                <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
69
+                              style="padding-top: 17px">
70
+                  <el-input placeholder="请输入单价"  type="number" v-model="scope.row.price"></el-input>
69 71
                 </el-form-item>
70 72
 
71 73
 
72
-
73
-
74 74
               </template>
75 75
             </el-table-column>
76 76
 
77
-            <el-table-column  min-width="23" align="center">
77
+            <el-table-column  align="center"  width="180">
78 78
               <template slot="header" slot-scope="scope">
79 79
                 <span>入库数量<span style="color: red">*</span></span>
80 80
               </template>
@@ -82,32 +82,32 @@
82 82
                 <!--{{scope.row.warehousing_count}}-->
83 83
                 <!--<el-input type="number" v-model="scope.row.warehousing_count"   @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
84 84
 
85
-                <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'" :rules='tableRules.warehousing_count' style="padding-top: 17px">
86
-                  <el-input type="number"  v-model="scope.row.warehousing_count" ></el-input>
85
+                <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
86
+                              :rules='tableRules.warehousing_count' style="padding-top: 17px">
87
+                  <el-input placeholder="请输入入库数量"  type="number" v-model="scope.row.warehousing_count"></el-input>
87 88
                 </el-form-item>
88 89
               </template>
89 90
             </el-table-column>
90
-
91
-            <el-table-column label="总价" min-width="20" align="center">
91
+            <el-table-column label="总价" align="center" width="150">
92 92
               <template slot-scope="scope">
93 93
                 {{calculate(scope.row.price*scope.row.warehousing_count)}}
94 94
               </template>
95 95
             </el-table-column>
96 96
 
97
-            <el-table-column  align="center" min-width="25">
97
+            <el-table-column align="center"  width="150">
98 98
               <template slot="header" slot-scope="scope">
99 99
                 <span>批号<span style="color: red">*</span></span>
100 100
               </template>
101 101
               <template slot-scope="scope">
102 102
                 <!--<el-input  v-model="scope.row.numbers"></el-input>-->
103
-
104
-                <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number' style="padding-top: 17px">
105
-                  <el-input  v-model="scope.row.number" ></el-input>
103
+                <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number'
104
+                              style="padding-top: 17px">
105
+                  <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
106 106
                 </el-form-item>
107
-
108 107
               </template>
109 108
             </el-table-column>
110
-            <el-table-column label="生产日期" min-width="40" align="center">
109
+
110
+            <el-table-column label="生产日期" width="250" align="center">
111 111
               <template slot-scope="scope" >
112 112
                 <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
113 113
                 <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
@@ -116,7 +116,7 @@
116 116
 
117 117
               </template>
118 118
             </el-table-column>
119
-            <el-table-column label="有效日期" min-width="40" align="center">
119
+            <el-table-column label="有效日期" width="250" align="center">
120 120
               <template slot-scope="scope">
121 121
                 <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
122 122
                 <el-date-picker  prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
@@ -125,13 +125,13 @@
125 125
 
126 126
               </template>
127 127
             </el-table-column>
128
-            <el-table-column label="备注" min-width="20" align="center">
128
+            <el-table-column label="备注" width="150" align="center">
129 129
               <template slot-scope="scope">
130 130
                 <el-input  v-model="scope.row.remark"></el-input>
131 131
               </template>
132 132
             </el-table-column>
133 133
 
134
-            <el-table-column label="操作" align="center" min-width="40">
134
+            <el-table-column label="操作" align="center" width="150">
135 135
               <template slot-scope="scope">
136 136
                 <el-tooltip class="item" effect="dark" content="新增" placement="top">
137 137
 
@@ -147,7 +147,7 @@
147 147
                   <el-button
148 148
                     size="mini"
149 149
                     type="danger"
150
-                    icon="el-icon-remove-outline"
150
+                    icon="el-icon-delete"
151 151
                     @click="handleDelete(scope.$index, scope.row)">
152 152
                   </el-button>
153 153
                 </el-tooltip>
@@ -472,6 +472,11 @@ export default {
472 472
 
473 473
   }
474 474
 </script>
475
+<style>
476
+  #oictable ::-webkit-scrollbar {
477
+    height: 15px;
478
+  }
479
+</style>
475 480
 
476 481
 <style rel="stylesheet/css" lang="scss" scoped>
477 482
   .information {

+ 16 - 3
src/xt_pages/stock/stockOutOrder.vue View File

@@ -78,7 +78,7 @@
78 78
             <el-button
79 79
               size="mini"
80 80
               type="primary"
81
-              icon="el-icon-edit"
81
+              icon="el-icon-edit-outline"
82 82
               @click="handleEdit(scope.$index, scope.row)">
83 83
             </el-button>
84 84
             </el-tooltip>
@@ -395,7 +395,6 @@ export default {
395 395
 };
396 396
 </script>
397 397
 
398
-<<<<<<< .mine
399 398
 <style rel="stylesheet/scss" lang="scss" scoped>
400 399
 .app-container {
401 400
   // margin: 20px;
@@ -451,7 +450,6 @@ export default {
451 450
 }
452 451
 </style>
453 452
 
454
-=======
455 453
 
456 454
 
457 455
 
@@ -494,6 +492,21 @@ export default {
494 492
 
495 493
 
496 494
 
495
+<<<<<<< .mine
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+=======
497 510
 
498 511
 
499 512
 

+ 1 - 1
src/xt_pages/stock/stockOutOrderAdd.vue View File

@@ -136,7 +136,7 @@
136 136
                   <el-button
137 137
                     size="mini"
138 138
                     type="danger"
139
-                    icon="el-icon-remove-outline"
139
+                    icon="el-icon-delete"
140 140
                     @click="handleDelete(scope.$index, scope.row)">
141 141
                   </el-button>
142 142
                 </el-tooltip>

+ 1 - 1
src/xt_pages/stock/stockOutOrderEdit.vue View File

@@ -108,7 +108,7 @@
108 108
                   <el-button
109 109
                     size="mini"
110 110
                     type="danger"
111
-                    icon="el-icon-remove-outline"
111
+                    icon="el-icon-delete"
112 112
                     @click="handleDelete(scope.$index, scope.row)">
113 113
                   </el-button>
114 114
                 </el-tooltip>

+ 1 - 1
src/xt_pages/user/components/EditGroupAdvice.vue View File

@@ -234,7 +234,7 @@
234 234
       </el-row>
235 235
 
236 236
       <div slot="footer" class="dialog-footer">
237
-        <el-button @click="cancleDialog()">取消</el-button>
237
+        <el-button @click="cancleDialog()">取 消</el-button>
238 238
         <el-button
239 239
           :disabled="$store.getters.xt_user.subscibe.state==3?true:false"
240 240
           type="primary"

+ 3 - 3
src/xt_pages/user/components/PatientDetail.vue View File

@@ -103,11 +103,11 @@
103 103
                 </el-form-item>
104 104
             </el-col>
105 105
             <el-col :span="8">
106
-                <el-form-item label="子女情况 : " style="width:90%;float:left;"  prop="children">
106
+                <el-form-item label="子女情况(个) : "  prop="children">
107 107
                   <el-input maxlength="5" v-model="form.children" disabled></el-input>
108 108
                 </el-form-item>
109
-                <el-form-item label=" " style="float:left;" label-width="30px" >
110
-                </el-form-item>
109
+                <!-- <el-form-item label=" " style="float:left;" label-width="30px" >
110
+                </el-form-item> -->
111 111
             </el-col>
112 112
             <el-col :span="8">
113 113
               <el-form-item label="住院(门诊)号 : " prop="admissionNumber" >

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

@@ -59,8 +59,8 @@
59 59
               </el-col>
60 60
               <el-col :span="8" >
61 61
                 <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
62
-                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 1%;" ></el-input>
63
-                    <el-button style="width:70px;padding:10px 0;" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" @click="generatedialysisno">自动生成</el-button>
62
+                    <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input> 
63
+                    <el-button style="width:36%;padding:10px 0;" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" @click="generatedialysisno">自动生成</el-button>
64 64
                 </el-form-item>
65 65
               </el-col>
66 66
             </template>
@@ -132,11 +132,11 @@
132 132
                 </el-form-item>
133 133
             </el-col>
134 134
             <el-col :span="8" style="clearfix" :style="isEdit?'width:360px':''">
135
-                <el-form-item label="子女情况 : " style="width:90%;float:left;"  prop="children">
135
+                <el-form-item label="子女情况(个) : " prop="children">
136 136
                   <el-input maxlength="5" v-model="form.children" ></el-input>
137 137
                 </el-form-item>
138
-                <el-form-item label=" " style="float:left;" label-width="30px">
139
-                </el-form-item>
138
+                <!-- <el-form-item label=" " style="float:left;" label-width="30px">
139
+                </el-form-item> -->
140 140
             </el-col>
141 141
             <el-col :span="8" :style="isEdit?'width:360px':''">
142 142
               <el-form-item label="住院(门诊)号 : " prop="admissionNumber" >

+ 2 - 2
src/xt_pages/user/doctorAdvice.vue View File

@@ -383,7 +383,7 @@
383 383
                 </el-row>
384 384
 
385 385
                 <div slot="footer" class="dialog-footer">
386
-                    <el-button @click="cancleDialog()">取消</el-button>
386
+                    <el-button @click="cancleDialog()">取 消</el-button>
387 387
                     <el-button
388 388
                     :disabled="$store.getters.xt_user.subscibe.state==3?true:false"
389 389
                     type="primary"
@@ -410,7 +410,7 @@
410 410
                     </el-row>
411 411
                 </el-form>
412 412
                 <div slot="footer" class="dialog-footer">
413
-                        <el-button  @click="templateFormVisible = false">取消</el-button>
413
+                        <el-button  @click="templateFormVisible = false">取 消</el-button>
414 414
                         <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="addTempForm('templateForm')">保 存</el-button>
415 415
                 </div>
416 416
             </el-dialog>

+ 1 - 1
src/xt_pages/user/patients.vue View File

@@ -6,7 +6,7 @@
6 6
   </div>
7 7
   <div class="app-container">
8 8
     <div class="cell clearfix">
9
-      <label class="title"><span class="name">病人搜索</span> : </label>
9
+      <!-- <label class="title"><span class="name">病人搜索</span> : </label> -->
10 10
       <el-input   style="width: 400px;" v-model="searchKey" class="filter-item" placeholder="病人姓名/透析号" size="small"/>
11 11
       <el-button  class="filter-item" type="primary" icon="el-icon-search" @click="search" size="small" >搜索</el-button>
12 12
     </div>

+ 5 - 0
src/xt_pages/workforce/components/tableData.vue View File

@@ -10,6 +10,8 @@
10 10
         :row-class-name="rowClass"
11 11
         :cell-class-name="cellClass"
12 12
         sum-text="总数"
13
+        :height="tableContainHeight"
14
+        ref="table"
13 15
         style="width: 100%;cursor: pointer;">
14 16
         <el-table-column  prop="area" label="分区" width="80"  align="center" fixed></el-table-column>
15 17
         <el-table-column  prop="cut" label="机号" width="80"  align="center" fixed></el-table-column>
@@ -1067,6 +1069,9 @@ export default {
1067 1069
         })()
1068 1070
       }
1069 1071
     },
1072
+    mounted:function(){
1073
+       this.tableContainHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 160
1074
+    },
1070 1075
     created(){
1071 1076
       rowNumber = 0;
1072 1077
       this.modeOptions = this.$store.getters.treatment_mode;

+ 14 - 2
src/xt_pages/workforce/components/template_table.vue View File

@@ -11,7 +11,9 @@
11 11
                 </div>
12 12
             </el-col>
13 13
         </el-row>
14
-        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table" id="table_data" :max-height="tableHeight" :data="opera_device_numbers" :span-method="spanMethod" row-class-name="table-row-new-class schedule-table-row" @cell-click="itemClick">
14
+      
15
+      <div id="table_data" >
16
+        <el-table :height="tableContainHeight" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table"   :data="opera_device_numbers" :span-method="spanMethod" row-class-name="table-row-new-class schedule-table-row" @cell-click="itemClick">
15 17
             <el-table-column label="分区" width="80" align="center" fixed style="width: 100px; background-color: red; display: block;">
16 18
                 <template slot-scope="scope">
17 19
                     {{ scope.row.zone.name }}
@@ -156,7 +158,8 @@
156 158
                 </template>
157 159
             </el-table-column>
158 160
         </el-table>
159
-
161
+      </div>
162
+      
160 163
         <schedule-selector-dialog ref="selector_dialog" :patients="patients" @did_selected="will_add_schedule_action" @did_cancel="cancel_schedule_action"></schedule-selector-dialog>
161 164
     </div>
162 165
 </template>
@@ -301,6 +304,9 @@ export default {
301 304
       })()
302 305
     }
303 306
   },
307
+  mounted:function(){
308
+       this.tableContainHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 310
309
+    },
304 310
   methods: {
305 311
     // handleScroll: function() {
306 312
     //     var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
@@ -590,4 +596,10 @@ export default {
590 596
   font-size: 12px;
591 597
   white-space:nowrap !important;
592 598
 }
599
+#table_data{
600
+    min-height: calc(100vh - 350px);
601
+}
602
+#table_data ::-webkit-scrollbar {
603
+  height: 15px;
604
+}
593 605
 </style>

+ 16 - 8
src/xt_pages/workforce/template.vue View File

@@ -1,8 +1,15 @@
1 1
 <template>
2
+<div class="main-contain">
3
+    <div class="position">
4
+        <bread-crumb></bread-crumb>
5
+        <!-- <el-col :span="3" style="text-align: right;"> -->
6
+        <el-button size="small" icon="el-icon-setting" type="primary" @click="setScheduleTemplateAction">设置模板</el-button>
7
+        <!-- </el-col> -->
8
+    </div>
2 9
     <div class="app-container">
3
-        <el-row>
4
-            <el-col :span="21">
5
-                <el-tabs v-model="activeName" tab-position="top" :stretch="true">
10
+        <!-- <el-row>
11
+            <el-col :span="21"> -->
12
+                <el-tabs v-model="activeName" tab-position="top" >
6 13
                     <el-tab-pane name="schedules">
7 14
                         <span slot="label"> 排班信息 </span>
8 15
                         <template-table :editable="false" :device_numbers="device_numbers" :template="this_week_schedules" :patients="patients"></template-table>
@@ -16,26 +23,27 @@
16 23
                         <template-table :editable="true" :device_numbers="device_numbers" :template="second_template" :patients="patients"></template-table>
17 24
                     </el-tab-pane>
18 25
                 </el-tabs>
19
-            </el-col>
20
-            <el-col :span="3" style="text-align: right;">
21
-                <el-button type="primary" @click="setScheduleTemplateAction">设置模板</el-button>
22
-            </el-col>
23
-        </el-row>
26
+            <!-- </el-col> -->
27
+            
28
+        <!-- </el-row> -->
24 29
 
25 30
         <set-up-template-dialog ref="setup_dialog" :template_mode="template_mode" :origin_mode="origin_mode" @chenge_mode="didChangeTemplateMode"></set-up-template-dialog>
26 31
     </div>
32
+ </div>
27 33
 </template>
28 34
 
29 35
 <script>
30 36
 import SetUpTemplateDialog from "./components/setup_template_dialog"
31 37
 import TemplateTable from "./components/template_table"
32 38
 import { getTemplateInitData } from "@/api/schedule_template/patient"
39
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
33 40
 
34 41
 export default {
35 42
     name: "WorkforceTemplate",
36 43
     components: {
37 44
         SetUpTemplateDialog,
38 45
         TemplateTable,
46
+        BreadCrumb
39 47
     },
40 48
     data: function() {
41 49
         return {

+ 13 - 13
src/xt_permission.js View File

@@ -10,19 +10,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
10 10
 
11 11
 router.beforeEach((to, from, next) => {
12 12
   // 线上注释
13
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
-  //   store.dispatch('VerifyConfigList', []).then(() => {
15
-  //     next()
16
-  //   })
17
-  // }
18
-  // if (store.getters.permission_routers === undefined) {
19
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
20
-  //     next()
21
-  //   })
22
-  // } else {
23
-  //   next()
24
-  // }
25
-  // return
13
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
+    store.dispatch('VerifyConfigList', []).then(() => {
15
+      next()
16
+    })
17
+  }
18
+  if (store.getters.permission_routers === undefined) {
19
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
20
+      next()
21
+    })
22
+  } else {
23
+    next()
24
+  }
25
+  return
26 26
   // 线上注释
27 27
 
28 28
   NProgress.start()