| | |
| | | const xyjInfo = computed(() => { |
| | | return sockte.xyjSockte |
| | | }) |
| | | const dkqInfo = computed(() => { |
| | | return sockte.dkqSockte |
| | | }) |
| | | const patientInfo = computed(() => { |
| | | return patientInfoStore().patientInfo |
| | | }) |
| | |
| | | } |
| | | } |
| | | ) |
| | | watch( |
| | | () => dkqInfo.value.resultTime, |
| | | () => { |
| | | console.log(dkqInfo.value,'读卡器') |
| | | if (dkqInfo.value.result !== ''&&dkqInfo.value.result !== undefined) { |
| | | const code=dkqInfo.value.result.split(",")[0] |
| | | console.log('获取读卡器的code',code) |
| | | sendPationCode(code) |
| | | } |
| | | } |
| | | ) |
| | | watch(() => viewNumber, |
| | | () => { |
| | | state.clockNum = viewNumber.value |
| | |
| | | referrerpolicy="no-referrer" |
| | | :src="logo" |
| | | /> |
| | | <el-input |
| | | v-model="inputCode" |
| | | ref="inputRef" |
| | | id="inputCode" |
| | | class="inputCode" |
| | | @change="inputChabge" |
| | | placeholder="请输入患者卡号或扫描条码" |
| | | /> |
| | | <span class="text_1">自助签到</span> <span class="text_2">{{clockNum}}</span> |
| | | </div> |
| | | <div class="body flex-col"> |
| | |
| | | referrerpolicy="no-referrer" |
| | | :src="patientInfo.patientAvatarIcon" |
| | | /> |
| | | |
| | | <!-- <div class="inputDeep"> |
| | | <input id="inputCode" type="text" @change="inputChabge" ref="inputRef" :value="inputCode"> |
| | | |
| | | </div> --> |
| | | <div class="group_9 flex-col"> |
| | | <div class="text-wrapper_31 flex-row justify-between"> |
| | | <span class="text_3">姓名:</span> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="inputDeep" style="display:none;">1 |
| | | <input id="inputCode" style="border-style: none;" type="text" @change="inputChabge" ref="inputRef" :value="inputCode"> |
| | | <!-- <input @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" /> --> |
| | | </div> |
| | | </div> |
| | | |
| | | </template> |
| | |
| | | @import './css/common.css'; |
| | | @import './css/index.css'; |
| | | |
| | | |
| | | </style> |