文件
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
# 王昊地址
|
# 王昊地址
|
||||||
#VITE_GLOB_API_URL=http://192.168.1.27
|
VITE_GLOB_API_URL=http://192.168.1.27
|
||||||
#开发环境
|
#开发环境
|
||||||
VITE_GLOB_API_URL=http://cqyt.dev.yg.dt.io
|
#VITE_GLOB_API_URL=http://cqyt.dev.yg.dt.io
|
||||||
#VITE_GLOB_API_URL=https://api.cqygjk.com
|
#VITE_GLOB_API_URL=https://api.cqygjk.com
|
||||||
#健康监测工具报警-websocket
|
#健康监测工具报警-websocket
|
||||||
#VITE_GLOB_API_YIN_JI=ws://cqyt.dev.yg.dt.io/health-watch/websocket/watchMonitor
|
#VITE_GLOB_API_YIN_JI=ws://cqyt.dev.yg.dt.io/health-watch/websocket/watchMonitor
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ export const userHealthCenterNew = (params: any) => {
|
|||||||
* @param params
|
* @param params
|
||||||
*/
|
*/
|
||||||
export const getPhysicalData = (params: any) => {
|
export const getPhysicalData = (params: any) => {
|
||||||
let { centerId, ...other } = params;
|
// let { centerId, ...other } = params;
|
||||||
return post(Api.getDetail, other);
|
return post(Api.getDetail, params);
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* @description 呼入电话、受理电话
|
* @description 呼入电话、受理电话
|
||||||
|
|||||||
@@ -93,7 +93,6 @@
|
|||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const formState = computed(() => ({
|
const formState = computed(() => ({
|
||||||
...formRecord.value,
|
...formRecord.value,
|
||||||
centerId: '',
|
|
||||||
dataType: props.setting.dataType,
|
dataType: props.setting.dataType,
|
||||||
phoneType: props.phoneType,
|
phoneType: props.phoneType,
|
||||||
showType: '0',
|
showType: '0',
|
||||||
|
|||||||
@@ -62,8 +62,14 @@
|
|||||||
try {
|
try {
|
||||||
let orgCodeList = userStore.getCenterInfo?.serviceScope || '';
|
let orgCodeList = userStore.getCenterInfo?.serviceScope || '';
|
||||||
let centerId = userStore.getCenterInfo?.id || '';
|
let centerId = userStore.getCenterInfo?.id || '';
|
||||||
|
console.log('centerId', centerId);
|
||||||
const { code, result } =
|
const { code, result } =
|
||||||
(await getPhysicalData({ dataType: props.setting.dataType, condition: selectVal.value, orgCodeList, centerId })) || {};
|
(await getPhysicalData({
|
||||||
|
dataType: props.setting.dataType,
|
||||||
|
condition: selectVal.value,
|
||||||
|
orgCodeList,
|
||||||
|
centerId,
|
||||||
|
})) || {};
|
||||||
setSpin(!spinning.value);
|
setSpin(!spinning.value);
|
||||||
if (code != 200) {
|
if (code != 200) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user