文件
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
|
||||
#健康监测工具报警-websocket
|
||||
#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
|
||||
*/
|
||||
export const getPhysicalData = (params: any) => {
|
||||
let { centerId, ...other } = params;
|
||||
return post(Api.getDetail, other);
|
||||
// let { centerId, ...other } = params;
|
||||
return post(Api.getDetail, params);
|
||||
};
|
||||
/**
|
||||
* @description 呼入电话、受理电话
|
||||
|
||||
@@ -93,7 +93,6 @@
|
||||
const userStore = useUserStore();
|
||||
const formState = computed(() => ({
|
||||
...formRecord.value,
|
||||
centerId: '',
|
||||
dataType: props.setting.dataType,
|
||||
phoneType: props.phoneType,
|
||||
showType: '0',
|
||||
|
||||
@@ -62,8 +62,14 @@
|
||||
try {
|
||||
let orgCodeList = userStore.getCenterInfo?.serviceScope || '';
|
||||
let centerId = userStore.getCenterInfo?.id || '';
|
||||
console.log('centerId', centerId);
|
||||
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);
|
||||
if (code != 200) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user