You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
23 KiB
2 lines
23 KiB
6 years ago
|
webpackJsonp([25],{1010:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(986),i=n.n(s);for(var a in s)"default"!==a&&function(t){n.d(e,t,function(){return s[t]})}(a);var r=n(1011),o=n(27)(i.a,r.a,!1,null,null,null);e.default=o.exports},1011:function(t,e,n){"use strict";var s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("m-popup",{ref:"popup",attrs:{"ok-text":t.item?t.$t("确认编辑"):t.$t("确认提交"),nameText:t.item?t.$t("编辑用户"):t.$t("创建用户")},on:{ok:t._ok}},[n("template",{slot:"content"},[n("div",{staticClass:"create-user-model"},[n("m-list-box-f",[n("template",{slot:"name"},[n("b",[t._v("*")]),t._v(t._s(t.$t("用户名称")))]),t._v(" "),n("template",{slot:"content"},[n("x-input",{attrs:{type:"input",placeholder:t.$t("请输入用户名称")},model:{value:t.userName,callback:function(e){t.userName=e},expression:"userName"}})],1)],2),t._v(" "),"account"!==t.router.history.current.name?n("m-list-box-f",[n("template",{slot:"name"},[n("b",[t._v("*")]),t._v(t._s(t.$t("密码")))]),t._v(" "),n("template",{slot:"content"},[n("x-input",{attrs:{type:"input",placeholder:t.$t("请输入密码")},model:{value:t.userPassword,callback:function(e){t.userPassword=e},expression:"userPassword"}})],1)],2):t._e(),t._v(" "),t.isADMIN?n("m-list-box-f",[n("template",{slot:"name"},[n("b",[t._v("*")]),t._v(t._s(t.$t("租户")))]),t._v(" "),n("template",{slot:"content"},[n("x-select",{model:{value:t.tenantId,callback:function(e){t.tenantId=e},expression:"tenantId"}},t._l(t.tenantList,function(t){return n("x-option",{key:t.id,attrs:{value:t,label:t.code}})}),1)],1)],2):t._e(),t._v(" "),n("m-list-box-f",[n("template",{slot:"name"},[n("b",[t._v("*")]),t._v(t._s(t.$t("邮件")))]),t._v(" "),n("template",{slot:"content"},[n("x-input",{attrs:{type:"input",placeholder:t.$t("请输入邮件")},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}})],1)],2),t._v(" "),n("m-list-box-f",[n("template",{slot:"name"},[t._v(t._s(t.$t("手机")))]),t._v(" "),n("template",{slot:"content"},[n("x-input",{attrs:{type:"input",placeholder:t.$t("请输入手机")},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1)],2)],1)])],2)},staticRenderFns:[]};e.a=s},1081:function(t,e,n){"use strict";e.__esModule=!0;var s=r(n(1219)),i=r(n(654)),a=r(n(650));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"account-index",components:{mSecondaryMenu:i.default,mListConstruction:a.default,mInfo:s.default}}},1082:function(t,e,n){"use strict";e.__esModule=!0;var s=n(123);n(668);var i=r(n(224)),a=r(n(1010));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"user-info",data:function(){return{}},props:{},methods:Object.assign({},(0,s.mapMutations)("user",["setUserInfo"]),{_edit:function(){var t=this.userInfo,e=this,n=this.$modal.dialog({closable:!1,showMask:!0,escClose:!0,className:"v-modal-custom",transitionName:"opacityp",render:function(s){return s(a.default,{on:{onUpdate:function(t){e.setUserInfo({userName:t.userName,userPassword:t.userPassword,email:t.email,phone:t.phone}),n.remove()},close:function(){}},props:{item:t}})}})}}),watch:{},created:function(){},mounted:function(){},computed:Object.assign({},(0,s.mapState)("user",["userInfo"])),components:{mListBoxF:i.default}}},1219:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(1082),i=n.n(s);for(var a in s)"default"!==a&&function(t){n.d(e,t,function(){return s[t]})}(a);var r=n(1222);var o=function(t){n(1220)},u=n(27)(i.a,r.a,!1,o,null,null);e.default=u.exports},1220:function(t,e,n){var s=n(1221);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);n(35)("1978723a",s,!0,{})},1221:function(t,e,n){(t.exports=n(34)(!1)).push([t.i,".user-info-model{padding-top:30px}.user-info-model .list-box-f .text{width:200px;font-size:14px;color:#888}.user-info-model .list-box-f .cont{width:calc(100% - 210px);margin-left:10px}.user-info-model .list-box-f .cont .sp1{font-size:14px;color:#333;display:inline-block;padding-top:6px}",""])},1
|
||
|
//# sourceMappingURL=25.daba8b1.js.map
|