|
@@ -397,6 +397,7 @@
|
397
|
397
|
<view class="btn3" @click="toDrugBatches(infoDATA.drugs.batchNo)" v-if="infoDATA.taskType.associationType.value == 'drugsBag' && taskTypeConfig.drugsBatchInfo == 1" hover-class="seimin-btn-hover">药品批次</view>
|
398
|
398
|
<view class="btn3" @click="viewBlood(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'blood'" hover-class="seimin-btn-hover">查看血制品</view>
|
399
|
399
|
<view class="btn3" @click="additionalUser(infoDATA)" v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.worker && infoDATA.worker.id && multiplayerMode === 1" hover-class="seimin-btn-hover">追加陪检人员</view>
|
|
400
|
+ <view class="btn3" @click="additionalUser(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.worker && infoDATA.worker.id && clinicalMultiplayerMode === 1" hover-class="seimin-btn-hover">追加执行人员</view>
|
400
|
401
|
</view>
|
401
|
402
|
<!-- 弹窗 -->
|
402
|
403
|
<showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
|
|
@@ -439,6 +440,7 @@
|
439
|
440
|
currentCode: '', //当前拍照使用的科室二维码
|
440
|
441
|
currentData: {}, //当前小扫描的工单对象
|
441
|
442
|
multiplayerMode: 0,
|
|
443
|
+ clinicalMultiplayerMode: 0,
|
442
|
444
|
hosId: uni.getStorageSync('userData').user.currentHospital.id,
|
443
|
445
|
SMFlag:true,
|
444
|
446
|
actualDelivery: 0,
|
|
@@ -1343,6 +1345,34 @@
|
1343
|
1345
|
this.multiplayerMode = 0;
|
1344
|
1346
|
}
|
1345
|
1347
|
});
|
|
1348
|
+ },
|
|
1349
|
+ // 获取临床服务页面控制开关
|
|
1350
|
+ getTaskOtherConfig(){
|
|
1351
|
+ post("/simple/data/fetchDataList/taskTypeConfig", {
|
|
1352
|
+ "idx": 0,
|
|
1353
|
+ "sum": 10,
|
|
1354
|
+ "taskTypeConfig": {
|
|
1355
|
+ "taskTypeDTO": {
|
|
1356
|
+ "hosId": {
|
|
1357
|
+ "id": this.hosId
|
|
1358
|
+ },
|
|
1359
|
+ "associationType": {
|
|
1360
|
+ "key": "association_types",
|
|
1361
|
+ "value": "other"
|
|
1362
|
+ }
|
|
1363
|
+ }
|
|
1364
|
+ }
|
|
1365
|
+ }).then((result) => {
|
|
1366
|
+ if (result.status == 200) {
|
|
1367
|
+ if(result.list && result.list[0]){
|
|
1368
|
+ this.clinicalMultiplayerMode = result.list[0].clinicalMultiplayerMode;
|
|
1369
|
+ }else{
|
|
1370
|
+ this.clinicalMultiplayerMode = 0;
|
|
1371
|
+ }
|
|
1372
|
+ } else {
|
|
1373
|
+ this.clinicalMultiplayerMode = 0;
|
|
1374
|
+ }
|
|
1375
|
+ });
|
1346
|
1376
|
}
|
1347
|
1377
|
},
|
1348
|
1378
|
onLoad(options) {
|
|
@@ -1364,6 +1394,8 @@
|
1364
|
1394
|
options.associationTypeValue == 'patientTransport'
|
1365
|
1395
|
) {
|
1366
|
1396
|
this.getTaskConfig();
|
|
1397
|
+ }else if(options.associationTypeValue == 'other'){
|
|
1398
|
+ this.getTaskOtherConfig();
|
1367
|
1399
|
}
|
1368
|
1400
|
// 创建动画
|
1369
|
1401
|
this.animation = uni.createAnimation({
|