diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index c9065474..b1256853 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -1161,9 +1161,10 @@ var table = { }); }, // 添加信息 - add: function (id) { + add: function (id,width) { table.set(); - $.modal.open("添加" + table.options.modalName, $.operate.addUrl(id)); + width=width??800; + $.modal.open("添加" + table.options.modalName, $.operate.addUrl(id),width); }, // 添加信息,以tab页展现 addTab: function (id) { @@ -1181,7 +1182,8 @@ var table = { return url; }, // 修改信息 - edit: function (id) { + edit: function (id,width) { + width = width ?? 800; table.set(); if ($.common.isEmpty(id) && table.options.type == table_type.bootstrapTreeTable) { var row = $("#" + table.options.id).bootstrapTreeTable('getSelections')[0]; @@ -1190,9 +1192,9 @@ var table = { return; } var url = table.options.updateUrl.replace("{id}", row[table.options.uniqueId]); - $.modal.open("修改" + table.options.modalName, url); + $.modal.open("修改" + table.options.modalName, url,width); } else { - $.modal.open("修改" + table.options.modalName, $.operate.editUrl(id)); + $.modal.open("修改" + table.options.modalName, $.operate.editUrl(id),width); } }, // 修改信息,以tab页展现 diff --git a/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html b/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html index 7ee6a2da..1bbf160a 100644 --- a/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html +++ b/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html @@ -154,11 +154,11 @@ function viewDetail(id) { - $.modal.openFull("订单详情", ctx + "project/order/view/" + id) + $.modal.openFull("订单详情", ctx + "project/order/view/" + id,1400) } function viewProjectDetail(id) { - $.modal.openFull("项目详情", ctx + "sip/project/view/" + id) + $.modal.openFull("项目详情", ctx + "sip/project/view/" + id,1400) } function signOrder(orderId,versionCode) { diff --git a/ruoyi-admin/src/main/resources/templates/layout/product-list.html b/ruoyi-admin/src/main/resources/templates/layout/product-list.html index 0c76e05d..9fd33202 100644 --- a/ruoyi-admin/src/main/resources/templates/layout/product-list.html +++ b/ruoyi-admin/src/main/resources/templates/layout/product-list.html @@ -351,46 +351,46 @@ let tr=$(` ${length + 1} - - - - - - + + + + + + - + - -