mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-23 20:44:58 +08:00
修改连接远程控制
This commit is contained in:
parent
b29c21e35a
commit
77e3ea42b2
|
@ -42,11 +42,16 @@
|
|||
<!-- <el-option v-for="item in databaseOptions" :key="item.value" :label="item.label"-->
|
||||
<!-- :value="item.value"/>-->
|
||||
<!-- </el-select>-->
|
||||
|
||||
<!-- <el-descriptions >-->
|
||||
<!-- <el-descriptions-item label="病人尿量(ml)" size="size">500</el-descriptions-item>-->
|
||||
<!-- </el-descriptions>-->
|
||||
<el-space direction="vertical">
|
||||
<el-text style="margin-right:30px;font-size: 20px;font-weight:700;color:#006080 ">病人尿量(ml):500</el-text>
|
||||
</el-space>
|
||||
<el-button color="#C77000" @click="viewPatientInfo">患者信息</el-button>
|
||||
<el-descriptions-item label="病人尿量(ml)">500</el-descriptions-item>
|
||||
<el-button color="#C77000">连接远程控制</el-button>
|
||||
<!-- <el-button color="#C77000">连接远程控制</el-button>-->
|
||||
<el-button color="#C77000">断开远程控制</el-button>
|
||||
|
||||
</div>
|
||||
<el-button color="#e0e0e0" @click="backRemote">
|
||||
<el-icon>
|
||||
|
|
|
@ -23,14 +23,15 @@ export default defineConfig({
|
|||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:9999', // 目标服务器地址
|
||||
//target: 'http://localhost:9999', // 目标服务器地址
|
||||
target: 'http://192.168.1.118:9999', // 目标服务器地址
|
||||
// target: 'http://110.41.142.124:6379', // 目标服务器地址
|
||||
ws: true, // 是否启用 WebSocket
|
||||
changeOrigin: true, // 是否修改请求头中的 Origin 字段
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
},
|
||||
'/socket.io': {
|
||||
target: 'ws://localhost:9999',
|
||||
target: 'http://192.168.1.118:9999',
|
||||
// target: 'ws://110.41.142.124:6379',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user