f284ad8f by lihua

修改列表名称,解决疾病名称没带出来问题

1 parent 3ad84ff1
...@@ -622,9 +622,9 @@ const getModelInfo = (mGuid, valueInfo = null) => { ...@@ -622,9 +622,9 @@ const getModelInfo = (mGuid, valueInfo = null) => {
622 ]; 622 ];
623 try { 623 try {
624 loading.value = true; 624 loading.value = true;
625 Promise.all(promises).then(res => { 625 Promise.all(promises).then(async res => {
626 loading.value = false; 626 loading.value = false;
627 setFormItemData(); 627 await setFormItemData();
628 if (guid && mGuid == flowDetail.value.modelGuid) { 628 if (guid && mGuid == flowDetail.value.modelGuid) {
629 dataTransactionPrice.value = flowDetail.value.dataTransactionPrice; 629 dataTransactionPrice.value = flowDetail.value.dataTransactionPrice;
630 setTimeout(() => { 630 setTimeout(() => {
...@@ -633,6 +633,7 @@ const getModelInfo = (mGuid, valueInfo = null) => { ...@@ -633,6 +633,7 @@ const getModelInfo = (mGuid, valueInfo = null) => {
633 setdemandTableData(mGuid); 633 setdemandTableData(mGuid);
634 }, 200); 634 }, 200);
635 } else { 635 } else {
636 setFormItems(valueInfo);
636 setdemandTableData(mGuid); 637 setdemandTableData(mGuid);
637 } 638 }
638 }); 639 });
......
1 <route lang="yaml"> 1 <route lang="yaml">
2 name: priceCalculate 2 name: priceCalculateNew
3 </route> 3 </route>
4 4
5 <script lang="ts" setup name="priceCalculate"> 5 <script lang="ts" setup name="priceCalculateNew">
6 import { ref } from 'vue'; 6 import { ref } from 'vue';
7 import TableTools from '@/components/Tools/table_tools.vue'; 7 import TableTools from '@/components/Tools/table_tools.vue';
8 import { TableColumnWidth, commonPageConfig } from '@/utils/enum'; 8 import { TableColumnWidth, commonPageConfig } from '@/utils/enum';
...@@ -31,7 +31,7 @@ const searchItemList = ref([ ...@@ -31,7 +31,7 @@ const searchItemList = ref([
31 label: "", 31 label: "",
32 field: "dataResourceName", 32 field: "dataResourceName",
33 default: "", 33 default: "",
34 placeholder: "数据资源名称", 34 placeholder: "数据产品名称",
35 clearable: true, 35 clearable: true,
36 }, 36 },
37 { 37 {
...@@ -65,7 +65,7 @@ const page: any = ref({ ...@@ -65,7 +65,7 @@ const page: any = ref({
65 const tableField: any = ref([ 65 const tableField: any = ref([
66 { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" }, 66 { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" },
67 { label: "定价模型名称", field: "modelName", width: 200 }, 67 { label: "定价模型名称", field: "modelName", width: 200 },
68 { label: "数据资源名称", field: "dataResourceName", width: 200 }, 68 { label: "数据产品名称", field: "dataResourceName", width: 200 },
69 { label: "疾病名称", field: "diseaseName", width: 200 }, 69 { label: "疾病名称", field: "diseaseName", width: 200 },
70 { 70 {
71 label: "交易价格(元)", field: "dataTransactionPrice", width: 120, align: 'right', getName: (scope) => { 71 label: "交易价格(元)", field: "dataTransactionPrice", width: 120, align: 'right', getName: (scope) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!