fix: 修复
Showing
1 changed file
with
17 additions
and
5 deletions
| ... | @@ -42,7 +42,7 @@ const processTableInfo = ref({ | ... | @@ -42,7 +42,7 @@ const processTableInfo = ref({ |
| 42 | id: "process-table", | 42 | id: "process-table", |
| 43 | rowKey: 'guid', | 43 | rowKey: 'guid', |
| 44 | fields: [ | 44 | fields: [ |
| 45 | { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" }, | 45 | // { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" }, |
| 46 | { label: "编码", field: "code", width: 355 }, | 46 | { label: "编码", field: "code", width: 355 }, |
| 47 | { label: "名称", field: "name", width: 160 }, | 47 | { label: "名称", field: "name", width: 160 }, |
| 48 | { label: "类型", field: "type", width: 120 }, | 48 | { label: "类型", field: "type", width: 120 }, |
| ... | @@ -113,7 +113,7 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => { | ... | @@ -113,7 +113,7 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => { |
| 113 | }).then((res: any) => { | 113 | }).then((res: any) => { |
| 114 | detailLoading.value = false; | 114 | detailLoading.value = false; |
| 115 | if (res?.code == proxy.$passCode) { | 115 | if (res?.code == proxy.$passCode) { |
| 116 | const data = res.data || []; | 116 | const data = res.data?.records || [] |
| 117 | activities.value = []; | 117 | activities.value = []; |
| 118 | for (const d of data) { | 118 | for (const d of data) { |
| 119 | activities.value.push({ | 119 | activities.value.push({ |
| ... | @@ -153,17 +153,20 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => { | ... | @@ -153,17 +153,20 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => { |
| 153 | <div class="list_item"> | 153 | <div class="list_item"> |
| 154 | <span class="item_label">合约发起方:</span> | 154 | <span class="item_label">合约发起方:</span> |
| 155 | <span class="item_value"><ellipsis-tooltip :content="activity.info?.contractSubmitName || '--'" | 155 | <span class="item_value"><ellipsis-tooltip :content="activity.info?.contractSubmitName || '--'" |
| 156 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'contractSubmitName'"></ellipsis-tooltip></span> | 156 | class-name="w100f mr8-i" |
| 157 | :refName="'tooltipOver' + 'contractSubmitName'"></ellipsis-tooltip></span> | ||
| 157 | </div> | 158 | </div> |
| 158 | <div class="list_item"> | 159 | <div class="list_item"> |
| 159 | <span class="item_label">数据提供方:</span> | 160 | <span class="item_label">数据提供方:</span> |
| 160 | <span class="item_value"><ellipsis-tooltip :content="activity.info?.contractProviderName || '--'" | 161 | <span class="item_value"><ellipsis-tooltip :content="activity.info?.contractProviderName || '--'" |
| 161 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'contractProviderName'"></ellipsis-tooltip></span> | 162 | class-name="w100f mr8-i" |
| 163 | :refName="'tooltipOver' + 'contractProviderName'"></ellipsis-tooltip></span> | ||
| 162 | </div> | 164 | </div> |
| 163 | <div class="list_item"> | 165 | <div class="list_item"> |
| 164 | <span class="item_label">数据使用方:</span> | 166 | <span class="item_label">数据使用方:</span> |
| 165 | <span class="item_value"><ellipsis-tooltip :content="activity.info?.contractUseName || '--'" | 167 | <span class="item_value"><ellipsis-tooltip :content="activity.info?.contractUseName || '--'" |
| 166 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'contractUseName'"></ellipsis-tooltip></span> | 168 | class-name="w100f mr8-i" |
| 169 | :refName="'tooltipOver' + 'contractUseName'"></ellipsis-tooltip></span> | ||
| 167 | </div> | 170 | </div> |
| 168 | </template> | 171 | </template> |
| 169 | <template v-else-if="activity.info?.bizType == '连接器'"> | 172 | <template v-else-if="activity.info?.bizType == '连接器'"> |
| ... | @@ -218,6 +221,15 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => { | ... | @@ -218,6 +221,15 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => { |
| 218 | </el-timeline> | 221 | </el-timeline> |
| 219 | </template> | 222 | </template> |
| 220 | </el-table-column> | 223 | </el-table-column> |
| 224 | <el-table-column label="序号" type="index" width="56px" align="center" show-overflow-tooltip> | ||
| 225 | <template #default="scope"> | ||
| 226 | <span>{{ | ||
| 227 | blockPage.curr !== undefined | ||
| 228 | ? (blockPage.curr - 1) * blockPage.limit + scope.$index + 1 | ||
| 229 | : scope.$index + 1 | ||
| 230 | }}</span> | ||
| 231 | </template> | ||
| 232 | </el-table-column> | ||
| 221 | <el-table-column v-for="field in processTableInfo.fields" :prop="field.field" :label="field.label" | 233 | <el-table-column v-for="field in processTableInfo.fields" :prop="field.field" :label="field.label" |
| 222 | :width="field.width" :minWidth="field.minWidth" :align="field.align" show-overflow-tooltip> | 234 | :width="field.width" :minWidth="field.minWidth" :align="field.align" show-overflow-tooltip> |
| 223 | <template #default="scope"> | 235 | <template #default="scope"> | ... | ... |
-
Please register or sign in to post a comment