908ef79a by lihua

去掉资源名称;编辑维度时传guid

1 parent 2d0b4959
...@@ -92,7 +92,7 @@ const productConfigFormItems = ref([{ ...@@ -92,7 +92,7 @@ const productConfigFormItems = ref([{
92 label: '数据产品名称', 92 label: '数据产品名称',
93 type: 'input', 93 type: 'input',
94 placeholder: '请输入', 94 placeholder: '请输入',
95 field: 'damName', 95 field: 'dataResourceGuid',
96 default: '', 96 default: '',
97 required: true, 97 required: true,
98 maxlength: 50, 98 maxlength: 50,
...@@ -113,7 +113,7 @@ const productConfigFormRules = ref({ ...@@ -113,7 +113,7 @@ const productConfigFormRules = ref({
113 companyName: [required('请填写企业名称')], 113 companyName: [required('请填写企业名称')],
114 contactPerson: [required('请填写联系人')], 114 contactPerson: [required('请填写联系人')],
115 contactInformation: [required('请填写联系方式')], 115 contactInformation: [required('请填写联系方式')],
116 damName: [required('请填写产品名称')], 116 dataResourceGuid: [required('请填写数据产品名称')],
117 productDesc: [required('请填写产品简介')], 117 productDesc: [required('请填写产品简介')],
118 }); 118 });
119 119
...@@ -135,16 +135,16 @@ const baseConfigFormItems: any = ref([ ...@@ -135,16 +135,16 @@ const baseConfigFormItems: any = ref([
135 filterable: true, 135 filterable: true,
136 required: true 136 required: true
137 }, 137 },
138 { 138 // {
139 label: '数据资源名称', 139 // label: '数据资源名称',
140 type: 'input', 140 // type: 'input',
141 placeholder: '请输入', 141 // placeholder: '请输入',
142 field: 'dataResourceGuid', 142 // field: 'dataResourceGuid',
143 maxlength: 50, 143 // maxlength: 50,
144 default: '', 144 // default: '',
145 clearable: true, 145 // clearable: true,
146 required: true 146 // required: true
147 }, 147 // },
148 // { 148 // {
149 // label: '数据资源', 149 // label: '数据资源',
150 // type: 'select', 150 // type: 'select',
...@@ -751,7 +751,7 @@ const selectChange = async (val, row, info) => { ...@@ -751,7 +751,7 @@ const selectChange = async (val, row, info) => {
751 val && getModelInfo(val); 751 val && getModelInfo(val);
752 currModelGuid.value = val || ''; 752 currModelGuid.value = val || '';
753 qualityScoreData.value = {}; 753 qualityScoreData.value = {};
754 baseConfigFormItems.value[1].default = ''; 754 // baseConfigFormItems.value[1].default = '';
755 // changeDatasource(); 755 // changeDatasource();
756 } 756 }
757 // else if (row.field == 'dataResourceGuid') { 757 // else if (row.field == 'dataResourceGuid') {
...@@ -856,8 +856,8 @@ const getCalculateParams = (baseConfigFormObj, baseConfigFormInfo) => { ...@@ -856,8 +856,8 @@ const getCalculateParams = (baseConfigFormObj, baseConfigFormInfo) => {
856 dataTransactionPrice: dataTransactionPrice.value, 856 dataTransactionPrice: dataTransactionPrice.value,
857 modelGuid: baseConfigFormInfo.modelGuid, 857 modelGuid: baseConfigFormInfo.modelGuid,
858 modelName, 858 modelName,
859 dataResourceGuid: baseConfigFormInfo.dataResourceGuid, 859 dataResourceGuid: companyInfo.dataResourceGuid,
860 dataResourceName: baseConfigFormInfo.dataResourceGuid, 860 dataResourceName: companyInfo.dataResourceGuid,
861 belongingEntityGuid: companyInfo.companyName, 861 belongingEntityGuid: companyInfo.companyName,
862 belongingTheme: baseConfigFormInfo.belongingTheme, 862 belongingTheme: baseConfigFormInfo.belongingTheme,
863 diseaseGuid, 863 diseaseGuid,
......
...@@ -1105,6 +1105,7 @@ const drawerBtnClick = async (btn, info) => { ...@@ -1105,6 +1105,7 @@ const drawerBtnClick = async (btn, info) => {
1105 pricingTargetRSVOS: [] 1105 pricingTargetRSVOS: []
1106 }) 1106 })
1107 } else if (drawerInfo.value.type == 'edit-signatory') {// 编辑维度 1107 } else if (drawerInfo.value.type == 'edit-signatory') {// 编辑维度
1108 params.guid = currTableData.value.guid;
1108 setSignatoryTableInfo(params, true); 1109 setSignatoryTableInfo(params, true);
1109 } else if (drawerInfo.value.type == 'add-target') {// 新增指标 1110 } else if (drawerInfo.value.type == 'add-target') {// 新增指标
1110 let factorFull = true; 1111 let factorFull = true;
...@@ -1140,6 +1141,7 @@ const drawerBtnClick = async (btn, info) => { ...@@ -1140,6 +1141,7 @@ const drawerBtnClick = async (btn, info) => {
1140 !sData && signatoryParams.pricingTargetRSVOS.push({ ...params, dictionaryJson: dictionaryData, dictionaryName }) 1141 !sData && signatoryParams.pricingTargetRSVOS.push({ ...params, dictionaryJson: dictionaryData, dictionaryName })
1141 } 1142 }
1142 } else if (drawerInfo.value.type == 'edit-target') {// 编辑指标 1143 } else if (drawerInfo.value.type == 'edit-target') {// 编辑指标
1144 params.guid = currTableData.value.guid;
1143 let factorFull = true; 1145 let factorFull = true;
1144 const dictionaryData = tableData.value.map((d: any) => { 1146 const dictionaryData = tableData.value.map((d: any) => {
1145 if (dictionaryType.value && !d.factor) { 1147 if (dictionaryType.value && !d.factor) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!