修改前面

This commit is contained in:
熊猫 2024-07-18 20:13:32 +08:00
parent d195630ed1
commit 05626b85f4
2 changed files with 23 additions and 9 deletions

View File

@ -28,7 +28,7 @@
开始
</el-button>
<div class="right-btn-box">
<el-button :class="{ 'active': isAIDose }" size="small" @click="">AI给药</el-button>
<el-button :class="{ 'active': isAIDose }" size="small" >AI给药</el-button>
<el-button :class="{ 'active': !isAIDose }" size="small">人工给药</el-button>
</div>
</div>
@ -43,11 +43,12 @@
<!-- :value="item.value"/>-->
<!-- </el-select>-->
<el-space direction="vertical">
<el-text style="margin-right:30px;font-size: 20px;font-weight:700;color:#006080 ">病人尿量ml:500</el-text>
<el-text style="margin-right:20px;font-size: 18px;font-weight:700;color:#006080 ">病人尿量ml:500</el-text>
</el-space>
<el-button color="#C77000" @click="viewPatientInfo">患者信息</el-button>
<el-button color="#C77000">连接远程控制</el-button>
<el-button color="#C77000">断开远程控制</el-button>
<el-button color="#C77000" @click="viewPatientInfo">患者信息</el-button>
<el-button color="#C77000" @click="">连接远程控制</el-button>
<el-button color="#C77000">已连接</el-button>
<el-button color="#C77000" @click="">断开远程控制</el-button>
</div>
<el-button color="#e0e0e0" @click="backRemote">
@ -136,6 +137,18 @@
:disabled="tableDataStore[scope.$index].speed === scope.row.speed">确定-->
<el-button size="small" color="#006080"
@click="tableItemConfirm(scope, varTableData)">确定
<!-- <el-popover :visible="visible" placement="top" :width="160">-->
<!-- <p>Are you sure to delete this?</p>-->
<!-- <div style="text-align: right; margin: 0">-->
<!-- <el-button size="small" text @click="visible = false">cancel</el-button>-->
<!-- <el-button size="small" type="primary" @click="visible = false">-->
<!-- confirm-->
<!-- </el-button>-->
<!-- </div>-->
<!-- <template #reference>-->
<!-- <el-button @click="visible = true">Delete</el-button>-->
<!-- </template>-->
<!-- </el-popover>-->
</el-button>
<el-button size="small" color="#006080" @click="tableItemCancel(scope)">取消
</el-button>
@ -231,6 +244,7 @@ const medicineCustom: any[] = [
const remoteWsStore = useRemoteWsStore()
const currentRemote = ref(remoteWsStore.getRemoteTask()[remoteWsStore.getCurrentTaskIndex()])
const userInfo = useUserStore()
// const visible = ref(false)
const chartDom1 = ref(),
chartDom2 = ref(),

View File

@ -24,15 +24,15 @@ export default defineConfig({
proxy: {
'/api': {
//target: 'http://localhost:9999', // 目标服务器地址
target: 'http://192.168.1.118:9999', // 目标服务器地址
// target: 'http://110.41.142.124:6379', // 目标服务器地址
//target: 'http://192.168.1.105:6379', // 目标服务器地址
target: 'http://110.41.142.124:6379', // 目标服务器地址
ws: true, // 是否启用 WebSocket
changeOrigin: true, // 是否修改请求头中的 Origin 字段
rewrite: (path) => path.replace(/^\/api/, ''),
},
'/socket.io': {
target: 'http://192.168.1.118:9999',
// target: 'ws://110.41.142.124:6379',
//target: 'http://192.168.1.105:6379',
target: 'ws://110.41.142.124:6379',
ws: true,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/socket.io/, ''),