瀏覽代碼

Merge branch 'master' into develop

seimin 4 天之前
父節點
當前提交
9eb1a55c1c
共有 2 個文件被更改,包括 14 次插入10 次删除
  1. 4 2
      pages/patientInspectLog/patientInspectLogDetail.vue
  2. 10 8
      pages/patientInspectLog/patientInspectLogList.vue

+ 4 - 2
pages/patientInspectLog/patientInspectLogDetail.vue

@@ -120,7 +120,7 @@
120
       </template>
120
       </template>
121
     </scroll-view>
121
     </scroll-view>
122
     <view class="foot_common_btns">
122
     <view class="foot_common_btns">
123
-      <button @click="toList()" type="default" class="primaryButton btn">返回</button>
123
+      <button @click="toList()" type="default" class="primaryButton btn gray">返回</button>
124
       <button v-if="dataInfo.patientInspectLogData.state && dataInfo.patientInspectLogData.state.value === '4'" @click="tagClick(dataInfo.patientInspectLogData)" type="default" class="primaryButton btn">标记回科</button>
124
       <button v-if="dataInfo.patientInspectLogData.state && dataInfo.patientInspectLogData.state.value === '4'" @click="tagClick(dataInfo.patientInspectLogData)" type="default" class="primaryButton btn">标记回科</button>
125
     </view>
125
     </view>
126
     <!-- 弹窗 -->
126
     <!-- 弹窗 -->
@@ -304,12 +304,14 @@
304
 .popup-content{
304
 .popup-content{
305
 	padding: 40rpx;
305
 	padding: 40rpx;
306
 }
306
 }
307
+.gray{
308
+  background-color: #8F939C!important;
309
+}
307
 .incidentDetail{
310
 .incidentDetail{
308
   height: 100vh;
311
   height: 100vh;
309
   display: flex;
312
   display: flex;
310
   flex-direction: column;
313
   flex-direction: column;
311
   justify-content: space-between;
314
   justify-content: space-between;
312
-  background-color: #EBEBEB;
313
   .head{
315
   .head{
314
     height: 88rpx;
316
     height: 88rpx;
315
     display: flex;
317
     display: flex;

+ 10 - 8
pages/patientInspectLog/patientInspectLogList.vue

@@ -102,7 +102,7 @@
102
         };
102
         };
103
         post("/common/common/getDictionary", postData).then(res => {
103
         post("/common/common/getDictionary", postData).then(res => {
104
           let stateList = res || [];
104
           let stateList = res || [];
105
-          
105
+
106
           if(isStorage){
106
           if(isStorage){
107
             this.dataInfo.evtFilter = uni.getStorageSync('patientInspectLogEvtFilter');
107
             this.dataInfo.evtFilter = uni.getStorageSync('patientInspectLogEvtFilter');
108
             this.dataInfo.tabActiveId = +uni.getStorageSync('patientInspectLogTabActiveId');
108
             this.dataInfo.tabActiveId = +uni.getStorageSync('patientInspectLogTabActiveId');
@@ -110,7 +110,7 @@
110
             // 默认出科陪检中
110
             // 默认出科陪检中
111
             this.dataInfo.evtFilter.stateList = stateList.map(v => ({...v, checked: v.value == 4}));
111
             this.dataInfo.evtFilter.stateList = stateList.map(v => ({...v, checked: v.value == 4}));
112
           }
112
           }
113
-          
113
+
114
           this.getList(0);
114
           this.getList(0);
115
         })
115
         })
116
       },
116
       },
@@ -138,6 +138,7 @@
138
           patientInspectLog: {
138
           patientInspectLog: {
139
             hosId: this.hosId,
139
             hosId: this.hosId,
140
             scanCode: ress1,
140
             scanCode: ress1,
141
+            simpleQuery: 1,
141
           }
142
           }
142
         }
143
         }
143
         post("/simple/data/fetchDataList/patientInspectLog", postData).then((ress) => {
144
         post("/simple/data/fetchDataList/patientInspectLog", postData).then((ress) => {
@@ -183,18 +184,19 @@
183
         if(this.dataInfo.idx === 0){
184
         if(this.dataInfo.idx === 0){
184
           this.dataInfo.list = [];
185
           this.dataInfo.list = [];
185
         }
186
         }
186
-        
187
+
187
         let postData = {
188
         let postData = {
188
             "idx": this.dataInfo.idx,
189
             "idx": this.dataInfo.idx,
189
             "sum": 20,
190
             "sum": 20,
190
             "patientInspectLog": {
191
             "patientInspectLog": {
191
               "hosId": this.hosId,
192
               "hosId": this.hosId,
193
+              simpleQuery: 1,
192
             }
194
             }
193
         }
195
         }
194
-        
196
+
195
         let tabActiveObj = this.dataInfo.tabs.find(v => v.id == this.dataInfo.tabActiveId);
197
         let tabActiveObj = this.dataInfo.tabs.find(v => v.id == this.dataInfo.tabActiveId);
196
         console.log(tabActiveObj)
198
         console.log(tabActiveObj)
197
-        
199
+
198
         if(tabActiveObj && tabActiveObj.id){
200
         if(tabActiveObj && tabActiveObj.id){
199
           if(tabActiveObj.id === 1){
201
           if(tabActiveObj.id === 1){
200
             if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.signUser && this.dataInfo.evtFilter.signUser.id){
202
             if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.signUser && this.dataInfo.evtFilter.signUser.id){
@@ -215,18 +217,18 @@
215
             }
217
             }
216
           }
218
           }
217
         }
219
         }
218
-      
220
+
219
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.department && this.dataInfo.evtFilter.department.id){
221
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.department && this.dataInfo.evtFilter.department.id){
220
           postData.patientInspectLog.deptId = this.dataInfo.evtFilter.department.id;
222
           postData.patientInspectLog.deptId = this.dataInfo.evtFilter.department.id;
221
         }
223
         }
222
-        
224
+
223
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.stateList && this.dataInfo.evtFilter.stateList.length){
225
         if(this.dataInfo.evtFilter && this.dataInfo.evtFilter.stateList && this.dataInfo.evtFilter.stateList.length){
224
           let values = this.dataInfo.evtFilter.stateList.filter(v => v.checked).map(v => v.value).toString();
226
           let values = this.dataInfo.evtFilter.stateList.filter(v => v.checked).map(v => v.value).toString();
225
           postData.patientInspectLog.state = values ? {
227
           postData.patientInspectLog.state = values ? {
226
             value: values
228
             value: values
227
           } : undefined;
229
           } : undefined;
228
         }
230
         }
229
-      
231
+
230
         post("/simple/data/fetchDataList/patientInspectLog", postData).then(res => {
232
         post("/simple/data/fetchDataList/patientInspectLog", postData).then(res => {
231
           uni.hideLoading();
233
           uni.hideLoading();
232
           uni.stopPullDownRefresh();
234
           uni.stopPullDownRefresh();