
系统自带的不满足,有自己的校验逻辑,
实现原理,修改原有添加用户的相关逻辑。
1 将原有添加弹框源码拿来修改。
- var addUserPop = function() {
- var e, t, i;
- e = 90,
- t = 420,
- (i = BI.inherit(BI.Widget, {
- props: {
- baseCls: "dec-add-user-popup",
- passwordEditable: !0,
- cleanDataSet: !1
- },
- _store: function() {
- return BI.Models.getModel("dec.model.user.add.popup", this.options)
- },
- watch: {},
- render: function() {
- var e = this;
- return {
- type: "bi.vtape",
- items: [{
- el: this.rebuildCenter()
- }, {
- type: