| | |
| | | confirmColor="#EF0000" cancelColor="#9496A2" showCancelButton="true" @cancel="show = false"> |
| | | <div class="txt">是否确认解绑当前就诊卡?</div> |
| | | </u-modal> |
| | | <view class="item" :data-address-id="item.id" v-for="(item, index) in list" :key="index" |
| | | > |
| | | <view class="item" :data-address-id="item.id" v-for="(item, index) in list" :key="index"> |
| | | <!-- @tap.native.stop.prevent="xiugai($event, |
| | | { cusName: item.cusName, |
| | | cusPhone: item.cusPhone, |
| | |
| | | <picker @change="NationalTypeChange" mode="selector" :range="NationalOptions" |
| | | :value="NationalOptions.dictValue" range-key="dictLabel"> |
| | | <!-- <input class="input" :value="inspect.tjPacType" placeholder="请选择体检类型" disabled /> --> |
| | | <view class="input">{{NationalOptions[index].dictLabel}}</view> |
| | | <view class="input"> {{ NationalOptions[index] ? NationalOptions[index].dictLabel : '' }}</view> |
| | | </picker> |
| | | </view> |
| | | <view class="form-item"> |
| | |
| | | <picker @change="marryTypeChange" mode="selector" :range="marryOptions" |
| | | :value="marryOptions.dictValue" range-key="dictLabel"> |
| | | <!-- <input class="input" :value="inspect.tjPacType" placeholder="请选择体检类型" disabled /> --> |
| | | <view class="input">{{marryOptions[index1].dictLabel}}</view> |
| | | <view class="input"> {{ marryOptions[index1] ? marryOptions[index1].dictLabel : '' }}</view> |
| | | </picker> |
| | | </view> |
| | | </view> |
| | |
| | | }) |
| | | }, |
| | | xuanze(event, _dataset) { |
| | | |
| | | let cusName = _dataset.cusName; |
| | | let cusIdCard = _dataset.cusIdcard; |
| | | // getInfoById(cusIdCard).then(res => { |
| | | // if (res.msg == "0") { |
| | | // this.$modal.showToast('暂无体检号!'); |
| | | // } else { |
| | | let cusIdCard = _dataset.cusIdcard; // 保持与 _dataset 属性一致 |
| | | console.log('xuanze 参数:', { |
| | | cusName, |
| | | cusIdCard, |
| | | id: this.id |
| | | }); |
| | | |
| | | if (this.id == "1") { |
| | | console.log('跳转到 history,传递:', { |
| | | cusName, |
| | | cusIdCard |
| | | }); |
| | | uni.navigateTo({ |
| | | url: `/pages/history/history?cusName=${cusName}&cusIdCard=${cusIdCard}` |
| | | }) |
| | | url: `/pages/history/history?cusName=${encodeURIComponent(cusName)}&cusIdCard=${encodeURIComponent(cusIdCard)}` |
| | | }); |
| | | } else if (this.id == "2") { |
| | | uni.navigateTo({ |
| | | url: `/pages/tjrecord/tjrecord?cusIdCard=${cusIdCard}` |
| | | }) |
| | | url: `/pages/tjrecord/tjrecord?cusIdCard=${encodeURIComponent(cusIdCard)}` |
| | | }); |
| | | } else if (this.id == "3") { |
| | | uni.navigateTo({ |
| | | url: `/pagesA/ReportOverview/ReportOverview?cusIdCard=${encodeURIComponent(cusIdCard)}` |
| | | }); |
| | | } else { |
| | | uni.$emit('updateNote', _dataset); |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | }); |
| | | } |
| | | // } |
| | | // }) |
| | | }, |
| | | NationalTypeChange(e) { |
| | | this.index = e.detail.value; |