This commit is contained in:
cwchen 2024-11-16 14:23:14 +08:00
parent 33e84b5e0c
commit e7397a94b7
2 changed files with 6 additions and 8 deletions

View File

@ -18,13 +18,11 @@ function setParams(params) {
// 获取配件报废记录详情 // 获取配件报废记录详情
function getDetailsById() { function getDetailsById() {
let params = { let encryptedData = {
encryptedData: JSON.stringify({
'id': objParam.id 'id': objParam.id
})
}; };
let url = dataUrl + 'backstage/partScrap/getDetailsById'; let url = dataUrl + 'backstage/partScrap/getDetailsById?encryptedData=' + encodeURIComponent(JSON.stringify(encryptedData));
ajaxRequest(url, "POST", params, true, function () { ajaxRequest(url, "GET", null, true, function () {
}, function (result) { }, function (result) {
console.error(result); console.error(result);
if (result.code === 200) { if (result.code === 200) {
@ -222,7 +220,6 @@ function initTable() {
page: true, page: true,
done: function (res, curr, count) { done: function (res, curr, count) {
pageNum = tableIns.config.page.curr; pageNum = tableIns.config.page.curr;
element.render();
table.resize("currentTableId"); table.resize("currentTableId");
}, },
}); });

View File

@ -176,5 +176,6 @@ function exportExcel() {
// 需求计划编号 // 需求计划编号
function plan_detail(obj) { function plan_detail(obj) {
openIframeByParamObj2("plan_detail", "机具需求计划", "/page/demandPlan/child/apply_plan_detail.html", "92%", "95%", obj); // openIframeByParamObj("plan_detail", "机具需求计划", "/page/demandPlan/child/apply_plan_detail.html", "92%", "95%", obj);
openIframeByParamObj("plan_detail", "机具需求计划", "./apply_plan_detail.html", "92%", "95%", obj);
} }