Merge branch 'master-mj-ztq' into 'master-mj'
feat:监控配置->资源管理(修改密码功能不能用页面报错 See merge request !1159
Showing
1 changed file
with
2 additions
and
1 deletions
@@ -521,6 +521,7 @@ layui.define(['table', 'form', 'laydate', 'common', 'sessions', 'laydate', 'admi | @@ -521,6 +521,7 @@ layui.define(['table', 'form', 'laydate', 'common', 'sessions', 'laydate', 'admi | ||
521 | $.each(data, function (k, v) { | 521 | $.each(data, function (k, v) { |
522 | var $dom = $($("#resManageAddProtocol").html()); | 522 | var $dom = $($("#resManageAddProtocol").html()); |
523 | $dom.find(".protocol-title span").text(k); | 523 | $dom.find(".protocol-title span").text(k); |
524 | + $dom.find(".protocol-title a.protocol-del").attr('data-protocol',k); | ||
524 | showPwdBtn(k, $dom, v); | 525 | showPwdBtn(k, $dom, v); |
525 | $.each(v, function (index, param) { | 526 | $.each(v, function (index, param) { |
526 | //是否必填 0必填,1非必填 | 527 | //是否必填 0必填,1非必填 |
@@ -575,7 +576,7 @@ layui.define(['table', 'form', 'laydate', 'common', 'sessions', 'laydate', 'admi | @@ -575,7 +576,7 @@ layui.define(['table', 'form', 'laydate', 'common', 'sessions', 'laydate', 'admi | ||
575 | }, function (layerIndex) { | 576 | }, function (layerIndex) { |
576 | loading = layer.load(2); | 577 | loading = layer.load(2); |
577 | admin.req({ | 578 | admin.req({ |
578 | - url: `${common.domainName}/api-web/res/pwd/log/change?resId=${resId}&collProtocol=${protocol}`, | 579 | + url: `${common.domainName}/api-web/res/pwd/log/change?resId=${id}&collProtocol=${protocol}`, |
579 | data: {}, | 580 | data: {}, |
580 | type: 'GET', | 581 | type: 'GET', |
581 | contentType: 'application/json;charset=UTF-8', | 582 | contentType: 'application/json;charset=UTF-8', |
-
Please register or login to post a comment