兰宝车间质量管理系统-前端
LiuHao
2023-04-18 d2bce3fcbe514d33eb930d33acf1f8db3fa22af9
src/views/tool/gen/editTable.vue
@@ -150,7 +150,6 @@
                treeParentCode: info.value.treeParentCode,
                parentMenuId: info.value.parentMenuId
            };
            console.log(genTable)
            const response = await updateGenTable(genTable);
            proxy?.$modal.msgSuccess(response.msg);
            if (response.code === 200) {
@@ -177,7 +176,8 @@
    const tableId = route.params && route.params.tableId as string;
    if (tableId) {
        // 获取表详细信息
        const res = await getGenTable(tableId);
      const res = await getGenTable(tableId);
        res.data.info.parentMenuId = Number(res.data.info.parentMenuId);
        columns.value = res.data.rows;
        info.value = res.data.info;
        tables.value = res.data.tables;