Bladeren bron

拉取代码

maotao 4 maanden geleden
bovenliggende
commit
bff7e83b4f
2 gewijzigde bestanden met toevoegingen van 14 en 3 verwijderingen
  1. 8 1
      pages/newSendBack/sendBackPatient/sendBackPatient.vue
  2. 6 2
      pages/specimenPort/specimenPort.vue

+ 8 - 1
pages/newSendBack/sendBackPatient/sendBackPatient.vue

@@ -9,7 +9,7 @@
9 9
 				<checkbox-group @change="checkboxChange">
10 10
         <view class="column" v-for="(item, index) in patientList" :key="item.id">
11 11
 						<view class="top">
12
-							<checkbox :value="item.id" :checked="item.checked" activeBackgroundColor="#49b856" activeBorderColor="#49b856" iconColor="#fff"/>
12
+							<checkbox :value="item.id" :checked="item.checked"/>
13 13
 							<text class="orders green">{{index + 1}}</text>
14 14
 						  <view class="name">姓名:</view>
15 15
 						  <view class="value">{{item.patientName}}</view>
@@ -298,6 +298,7 @@
298 298
         post("/patient/patientByCode ", { code: ress1 }).then((ress) => {
299 299
           uni.hideLoading();
300 300
           if (ress.status == 200) {
301
+						ress.data.checked = true
301 302
             let flag = this.patientList.find(v => v.id == ress.data.id);
302 303
             if(flag){
303 304
               uni.showToast({
@@ -381,6 +382,12 @@
381 382
         }
382 383
         .top{
383 384
           position: relative;
385
+					 /deep/ .uni-checkbox-input.uni-checkbox-input-checked{
386
+						 color: #fff !important;
387
+						 background: #49b856 !important;
388
+						 border-color: #49b856 !important;
389
+					 }
390
+
384 391
           .orders{
385 392
             width: 54rpx;
386 393
             text-align: center;

+ 6 - 2
pages/specimenPort/specimenPort.vue

@@ -36,7 +36,7 @@
36 36
 					<radio-group @change="radioChange">
37 37
 						<label class="df uni-list-cell uni-list-cell-pd" v-for="(item, index) in specimenData" :key="item.id">
38 38
 							<view>
39
-								<radio :value="item.id+''" activeBackgroundColor="#49B856" :checked="index == current" />
39
+								<radio :value="item.id+''" :checked="index == current" />
40 40
 							</view>
41 41
 							<view>{{item.dept}}</view>
42 42
 						</label>
@@ -514,7 +514,11 @@
514 514
 		    background-color: #fff;
515 515
 		    height: 100vh;
516 516
 		    border-radius: 100rpx 100rpx 0 0;
517
-		    
517
+				
518
+		    /deep/ .uni-radio-input-checked {
519
+		      background-color: #49b856 !important;
520
+		      border-color: #49b856 !important;
521
+		    }
518 522
 		    .execFilterHeader{
519 523
 		      height: 70rpx;
520 524
 		      display: flex;