-
+
用户名
@@ -14,11 +14,12 @@
导入
删除
-
导出
+
-
+
@@ -35,9 +36,12 @@
- 密码
- 修改
- 删除
+ 密码
+ 修改
+ 删除
@@ -47,7 +51,9 @@
-
+
+
+
@@ -62,6 +68,8 @@ import ImportDialog from '@/components/import-dialog.vue'
const tableRef = ref()
const doctorFormRef = ref()
const importDialogRef = ref()
+const isSearch = ref(true)
+const loading = ref(true)
const isFormDialog = ref(false)
const formDialogTitle = ref('')
const queryParams = ref({
@@ -69,19 +77,23 @@ const queryParams = ref({
} as any)
const tableData = ref([] as any)
-queryData({userName: '测试'})
+queryData({ userName: '测试' })
-function queryData (e: any) {
+function queryData(e: any) {
+ loading.value = true
tableData.value = []
- while (tableData.value.length < 10) {
- tableData.value.push({
- userName: 'cscs',
- name: e.userName,
- phone: '12312345678',
- role: '高级管理员',
- enable: true,
- })
- }
+ setTimeout(() => {
+ while (tableData.value.length < 10) {
+ tableData.value.push({
+ userName: 'cscs',
+ name: e.userName || '测试',
+ phone: '12312345678',
+ role: '高级管理员',
+ enable: true,
+ })
+ }
+ loading.value = false
+ }, 200);
}
const addData = () => {
isFormDialog.value = true
@@ -127,7 +139,4 @@ const paginationChange = (page: number, size: number) => {
}
-
+
diff --git a/src/views/permissions-manage/form/empower-dialog.vue b/src/views/permissions-manage/form/empower-dialog.vue
index f939f8a..e8565fa 100644
--- a/src/views/permissions-manage/form/empower-dialog.vue
+++ b/src/views/permissions-manage/form/empower-dialog.vue
@@ -5,8 +5,10 @@
展开 / 折叠
全选 / 全不选
-
+
+
+
取消
更新
diff --git a/src/views/permissions-manage/menu-manage.vue b/src/views/permissions-manage/menu-manage.vue
index dcf641f..8fcecaa 100644
--- a/src/views/permissions-manage/menu-manage.vue
+++ b/src/views/permissions-manage/menu-manage.vue
@@ -1,6 +1,6 @@
-
+
菜单名称
@@ -13,14 +13,14 @@
新增
展开/折叠
-
+
-
+
@@ -39,7 +39,9 @@
-
+
+
+
-
+
diff --git a/src/views/permissions-manage/role-manage.vue b/src/views/permissions-manage/role-manage.vue
index aaf5383..afa5f8b 100644
--- a/src/views/permissions-manage/role-manage.vue
+++ b/src/views/permissions-manage/role-manage.vue
@@ -1,6 +1,6 @@
-
+
角色名称
@@ -14,10 +14,10 @@
导入
删除
-
导出
+
-
@@ -26,7 +26,7 @@
- {{ scope.row.createdTime }}
+ {{ scope.row.createdTime }}
@@ -43,7 +43,9 @@
-
+
+
+
@@ -62,6 +64,8 @@ const tableRef = ref()
const RoleFormRef = ref()
const importDialogRef = ref()
const empowerDialogRef = ref()
+const isSearch = ref(true)
+const loading = ref(true)
const isFormDialog = ref(false)
const formDialogTitle = ref('')
const queryParams = ref({
@@ -69,19 +73,23 @@ const queryParams = ref({
} as any)
const tableData = ref([] as any)
-queryData({roleName: '测试'})
+queryData({ roleName: '测试' })
-function queryData (e: any) {
+function queryData(e: any) {
+ loading.value = true
tableData.value = []
- while (tableData.value.length < 10) {
- tableData.value.push({
- roleName: e.roleName,
- roleMark: 'ROLE_ADMIN',
- roleRemark: '超级管理员',
- dataPermissions: '全部',
- createdTime: dateFormater('yyyy-MM-dd HH:mm:ss'),
- })
- }
+ setTimeout(() => {
+ while (tableData.value.length < 10) {
+ tableData.value.push({
+ roleName: e.roleName || '测试',
+ roleMark: 'ROLE_ADMIN',
+ roleRemark: '超级管理员',
+ dataPermissions: '全部',
+ createdTime: dateFormater('yyyy-MM-dd HH:mm:ss'),
+ })
+ }
+ loading.value = false
+ }, 200);
}
const addData = () => {
isFormDialog.value = true
@@ -124,7 +132,4 @@ const paginationChange = (page: number, size: number) => {
}
-
+
diff --git a/src/views/remote-manage/remote-control.vue b/src/views/remote-manage/remote-control.vue
index 61793ec..6eab9a8 100644
--- a/src/views/remote-manage/remote-control.vue
+++ b/src/views/remote-manage/remote-control.vue
@@ -40,7 +40,7 @@
-
患者信息
+
患者信息
已连接
机器人运行正常
@@ -126,6 +126,7 @@
+
@@ -138,6 +139,7 @@ import { dateFormater } from '@/utils/date-util';
import { post } from "@/axios/index";
import chartLine from './chart/chart-line.vue';
import chartEcg from './chart/chart-ecg.vue';
+import PatientsForm from '@/views/patients-manage/form/patients-form.vue'
import imgLung from '@/assets/imgs/lung.png';
import imgHeart from '@/assets/imgs/heart.png';
import imgLungAlarm from '@/assets/imgs/lung_alarm.png';
@@ -170,8 +172,10 @@ const chartDom1 = ref(),
chartDom4 = ref(),
liveVideo = ref(),
msgLog = ref(),
- unusualMsg = ref();
+ unusualMsg = ref(),
+ patientsFormRef = ref();
+const isPatientDialog = ref(false)
const database = ref('');
const databaseOptions = ref([] as { value: string, label: string }[]);
const messageSum = ref(10);
@@ -415,11 +419,13 @@ function getTableData(e: boolean) {
}
function keepFit(designWidth: number, designHeight: number, renderDomId: string) {
let width = designWidth || 1920,
- height = designHeight || 1030;
+ height = designHeight || 1010;
let clientHeight = document.documentElement.clientHeight - 50;
let clientWidth = document.documentElement.clientWidth;
let scale = 1;
- scale = clientHeight / height;
+ scale = (clientHeight / clientWidth) < (height / width) ? clientHeight / height : clientWidth / width;
+ // scale = clientHeight / height;
+ // scale = clientWidth / width;
const renderDom = document.getElementById(renderDomId);
if (renderDom) {
renderDom.style.height = clientHeight / scale + 'px';
@@ -429,7 +435,7 @@ function keepFit(designWidth: number, designHeight: number, renderDomId: string)
}
function initScale() {
let w = 1920,
- h = 1030;
+ h = 1010;
keepFit(w, h, 'screenBox');
window.addEventListener('resize', () => {
keepFit(w, h, 'screenBox');
@@ -443,6 +449,27 @@ const setDatabase = () => {
initData();
setDatabaseDialog.value = false;
};
+const viewPatientInfo = () => {
+ isPatientDialog.value = true;
+ setTimeout(() => {
+ patientsFormRef.value.resetData()
+ patientsFormRef.value.formData = JSON.parse(JSON.stringify({
+ id: '',
+ name: '测试',
+ code: 'afasf',
+ sex: '男',
+ dept: '测试',
+ bodyHeight: '170',
+ isMedicalHistory: '无',
+ bodyWeight: '80',
+ medicalHistoryName: '无',
+ age: '22',
+ allergyHistoryName: '无',
+ phone: '123456',
+ hospitalTime: new Date()
+ }))
+ }, 0)
+}
const backRemote = () => {
router.back()
}
@@ -525,9 +552,9 @@ const tableItemCancel = (e: any) => {
+
diff --git a/src/views/system-manage/user-list.vue b/src/views/system-manage/user-list.vue
index 1f69e73..a039742 100644
--- a/src/views/system-manage/user-list.vue
+++ b/src/views/system-manage/user-list.vue
@@ -1,6 +1,6 @@
-
+
用户名
@@ -8,9 +8,13 @@
查询
重置
+
-
+
@@ -28,9 +32,12 @@
- 密码
- 修改
- 删除
+ 密码
+ 修改
+ 删除
@@ -40,7 +47,9 @@
-
+
+
+