作者 wangzhi

后台修改

... ... @@ -61,9 +61,18 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
Controller.api.bindevent();
},
edit: function () {
$("#c-type_id").data("params", function (obj) {
return {custom: {pid: 0}};
});
$("#c-en_user_id").data("params", function (obj) {
return {custom: {type_id: $("#c-type_id").val()}};
});
$("#c-stree_id").data("params", function (obj) {
return {custom: {type_id: $("#c-type_id").val()}};
});
$("#c-bad").data("params", function (obj) {
return {custom: {type_id: $("#c-stree_id").val()}};
});
Controller.api.bindevent();
},
api: {
... ...