d9906e69 by lihua

修复部分使用的接口联调

1 parent 2bf009dd
......@@ -610,6 +610,7 @@ onMounted(() => {
v-preReClick>{{ btn.label }}</span>
</span>
</template>
<span v-if="actionInfo.isEmpty && (!actionInfo.btns || (Array.isArray(actionInfo.btns) && !actionInfo.btns?.length) || !actionInfo.btns?.(scope)?.length)">--</span>
</template>
<template v-if="
props.tableInfo.id.indexOf('maintenance') > -1 &&
......@@ -625,9 +626,6 @@ onMounted(() => {
handleClick(scope, { label: '添加子菜单', value: 'menu' })
" v-preReClick>添加子菜单</span>
</template>
<template v-else-if="!actionInfo.btns?.length">
<span>--</span>
</template>
</template>
</el-table-column>
<template #append>
......
......@@ -205,6 +205,8 @@ const tableInfo = ref({
label: "操作",
type: "btn",
width: 140,
isEmpty: true,
isMore: false,
btns: (scope) => {
let btns: any = [];
let row = scope.row;
......
......@@ -150,6 +150,13 @@ const btnHanldesMap = {
currTableData.value = scope.row;
tenantDialogInfo.value.visible = true;
templateFormItems.value[0].options = currTableData.value.deliveryNodes || [];
let distributeNodes = currTableData.value.distributeNodes || [];
if (distributeNodes?.length) {
templateFormItems.value[0].options = currTableData.value.deliveryNodes?.map(d => {
d.disabled = distributeNodes.includes(d.guid) ? true : false;
return d;
})
}
templateFormItems.value[0].default = '';
},
delete: (scope) => {//删除
......@@ -235,7 +242,8 @@ const templateFormItems = ref([{
options: [],
props: {
value: 'guid',
label: 'tenantName'
label: 'tenantName',
disabled: 'disabled'
},
filterable: true,
multiple: true,
......
......@@ -78,6 +78,7 @@ const processTableInfo = ref({
{ label: "执行节点标识", field: "executionEntityId", width: 175 },
{ label: "执行合约名称", field: "contractName", width: 160 },
{ label: "执行环节", field: "executionProcess", width: 120 },
{ label: "执行结果", field: "executionResult", width: 120 }
],
data: [],
showPage: true,
......
......@@ -359,7 +359,7 @@ const productTableInfo = ref({
arrBtns.push({
label: '查看', value: 'view', click: (scope) => {
router.push({
name: (route.query.foundMode == 'read' || route.query.foundMode == 'download') ? 'useApiDetail' : 'apiDetail',
name: (route.query.foundMode == 'read' || route.query.foundMode == 'download') ? 'usageApiDetail' : 'apiDetail',
query: { guid: scope.row.guid, apiName: scope.row.apiName }
});
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!