615a7d79 by lxs Committed by lihua

数据定价更新

1 parent f37e236f
...@@ -203,7 +203,8 @@ const getDiseaseData = () => { ...@@ -203,7 +203,8 @@ const getDiseaseData = () => {
203 const getDataCatalog = () => { 203 const getDataCatalog = () => {
204 return getDamCatalogList({ dataType: userData.superTubeFlag == 'Y' ? "P" : "D", sceneType: "D" }).then((res: any) => { 204 return getDamCatalogList({ dataType: userData.superTubeFlag == 'Y' ? "P" : "D", sceneType: "D" }).then((res: any) => {
205 if (res.code == proxy.$passCode) { 205 if (res.code == proxy.$passCode) {
206 const data = res.data || []; 206 let data = res.data || [];
207 data.map(item => item.damGuid = item.guid);
207 typeMap.value.dataResourceGuid = JSON.parse(JSON.stringify(data)); 208 typeMap.value.dataResourceGuid = JSON.parse(JSON.stringify(data));
208 let item = baseConfigFormItems.value.find(item => item.field == 'dataResourceGuid'); 209 let item = baseConfigFormItems.value.find(item => item.field == 'dataResourceGuid');
209 if (item) { 210 if (item) {
...@@ -458,7 +459,7 @@ const getModelDetail = (mGuid) => { ...@@ -458,7 +459,7 @@ const getModelDetail = (mGuid) => {
458 } 459 }
459 // 获取资源详情 460 // 获取资源详情
460 const getResourceDetail = (sGuid, toPromise = true) => { 461 const getResourceDetail = (sGuid, toPromise = true) => {
461 const detailData = getRegisterCatalogDetail(sGuid).then((res: any) => { 462 const detailData = getRegisterCatalogDetail({ guid: sGuid }).then((res: any) => {
462 if (res.code == proxy.$passCode) { 463 if (res.code == proxy.$passCode) {
463 const data = res.data || {}; 464 const data = res.data || {};
464 baseConfigFormItems.value.map(item => { 465 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!