chenyc
2022-07-15 6f509dd2ad48541331a115aa8f59e55dd351ed13
gengxin
2个文件已修改
1个文件已删除
7 ■■■■ 已修改文件
src/samples/sockteStomp.ts 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/dd.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/samples/sockteStomp.ts
@@ -176,19 +176,15 @@
        stompClient.send(`/app/workstation/config/set/${clientCode}/${pcName}`,{},JSON.stringify({"clientCode":clientCode,"machineName":pcName}))
        
    }
<<<<<<< HEAD
    // 更新sockte链接状态
    sockteStore().setsockteIsLink(true)
    console.log(sockteStore().isLink)
    if(devices!==undefined&&devices.length>0){
=======
    // 更新sockte链接状态
    sockteStore().setsockteIsLink(true)
    console.log(sockteStore().isLink)
    console.log(devices)
    if(devices!==undefined&&devices!=null &&devices.length>0){
>>>>>>> 5fc7472d0ec6bff69b874f33eeccc30541f7f6df
        devices.forEach(de=>{
            if(stompClient!==null){
                stompClient.subscribe(`/queue/${clientCode}/${de.deviceName}/result`,callback)
@@ -199,6 +195,7 @@
        })
    }
}
}
const disconnectCallBack=function(){
    console.log("disconnect");
src/views/home/dd.vue
src/views/home/index.vue
@@ -232,7 +232,7 @@
                     
                </el-col>
                <el-col :span="2">
                    <el-input id="inputCode" style="width:5px;" @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" />
                    <el-input id="inputCode"  @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" />
                </el-col>
                <el-col :span="8" class="titleText">
                    患者签到