c96ca7a1 by lxs Committed by lihua

数据定价更新

1 parent ea46d321
......@@ -203,7 +203,8 @@ const getDiseaseData = () => {
const getDataCatalog = () => {
return getDamCatalogList({ dataType: userData.superTubeFlag == 'Y' ? "P" : "D", sceneType: "D" }).then((res: any) => {
if (res.code == proxy.$passCode) {
const data = res.data || [];
let data = res.data || [];
data.map(item => item.damGuid = item.guid);
typeMap.value.dataResourceGuid = JSON.parse(JSON.stringify(data));
let item = baseConfigFormItems.value.find(item => item.field == 'dataResourceGuid');
if (item) {
......@@ -458,7 +459,7 @@ const getModelDetail = (mGuid) => {
}
// 获取资源详情
const getResourceDetail = (sGuid, toPromise = true) => {
const detailData = getRegisterCatalogDetail(sGuid).then((res: any) => {
const detailData = getRegisterCatalogDetail({ guid: sGuid }).then((res: any) => {
if (res.code == proxy.$passCode) {
const data = res.data || {};
baseConfigFormItems.value.map(item => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!