c1971ca8 by lihua

修改接口地址

1 parent 76265492
...@@ -156,8 +156,8 @@ export const getContractDataProduct = (tenantGuid) => request({ ...@@ -156,8 +156,8 @@ export const getContractDataProduct = (tenantGuid) => request({
156 156
157 /** 获取下拉数据产品列表的去重字段 */ 157 /** 获取下拉数据产品列表的去重字段 */
158 export const getDamFieldsByProductGuid = (productGuid, isTds = 'N') => request({ 158 export const getDamFieldsByProductGuid = (productGuid, isTds = 'N') => request({
159 url: `${import.meta.env.VITE_API_NEW_PORTAL}/connector-invoke/field-by-dam-guid?damGuid=${productGuid}&isTds=${isTds}`, 159 url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/connector-invoke/field-by-dam-guid?damGuid=${productGuid}&isTds=${isTds}`,
160 method: 'post' 160 method: 'get'
161 }) 161 })
162 162
163 /** 创建合约 */ 163 /** 创建合约 */
......
...@@ -1064,7 +1064,7 @@ onBeforeMount(() => { ...@@ -1064,7 +1064,7 @@ onBeforeMount(() => {
1064 extendTableInfo.value.data = detailInfo.value.contractExpansions || []; 1064 extendTableInfo.value.data = detailInfo.value.contractExpansions || [];
1065 productTableInfo.value.data = detailInfo.value.contractSubjects || []; 1065 productTableInfo.value.data = detailInfo.value.contractSubjects || [];
1066 let productGuid = productTableInfo.value.data?.[0]?.dataProductGuid; 1066 let productGuid = productTableInfo.value.data?.[0]?.dataProductGuid;
1067 if (productGuid) { 1067 if (productGuid && detailType.value == 'consult') {
1068 getDamFieldsByProductGuid(productGuid, isDataUse.value ? 'Y' : 'N').then((res: any) => { 1068 getDamFieldsByProductGuid(productGuid, isDataUse.value ? 'Y' : 'N').then((res: any) => {
1069 if (res?.code == proxy.$passCode) { 1069 if (res?.code == proxy.$passCode) {
1070 productFieldList.value = res.data || initProductFieldValue.value; 1070 productFieldList.value = res.data || initProductFieldValue.value;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!