|
@@ -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;
|