{"version":3,"sources":["webpack:///./src/apps/open/views/devCenter/adminUser/Index.vue?b5fc","webpack:///./src/apps/open/views/devCenter/adminUser/List.vue?35b9","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/Notice.vue?1103","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/Notice.vue","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/Notice.vue?e3bb","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/Notice.vue?3dae","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/NoPhoneError.vue?84ae","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/NoPhoneError.vue","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/NoPhoneError.vue?d219","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/NoPhoneError.vue?913e","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/TransferConfirm.vue?a820","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/TransferConfirm.vue","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/TransferConfirm.vue?0190","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/TransferConfirm.vue?9d39","webpack:///./src/apps/open/mixins/TransferSuperAdmin.ts","webpack:///./src/apps/open/views/devCenter/adminUser/List.vue","webpack:///./src/apps/open/views/devCenter/adminUser/List.vue?581b","webpack:///./src/apps/open/views/devCenter/adminUser/List.vue?cfde","webpack:///./src/apps/open/views/devCenter/adminUser/Index.vue","webpack:///./src/apps/open/views/devCenter/adminUser/Index.vue?78dd","webpack:///./src/apps/open/views/devCenter/adminUser/Index.vue?f93c","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/TransferConfirm.vue?ac82","webpack:///./src/apps/open/layout/AdminLayout.vue?27f9","webpack:///./src/apps/open/views/devCenter/adminUser/List.vue?72e1","webpack:///./src/apps/open/components/DialogBodys/TransferSuperAdmin/Notice.vue?14d1","webpack:///./src/apps/open/layout/AdminLayout.vue?9cd7","webpack:///./src/apps/open/layout/AdminLayout.vue","webpack:///./src/apps/open/layout/AdminLayout.vue?065a","webpack:///./src/apps/open/layout/AdminLayout.vue?c776"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","breadcrumbs","slot","_l","tab","key","staticClass","class","active","selectedTab","on","$event","_v","_s","name","tabs","_e","loading","remainTotal","showAddDialog","isShowSelAdminDialog","selectedMembers","disabledAccountIDs","switchSelAdminDialog","handledMemberConfig","directives","rawName","value","expression","tableData","isSuperAdmin","onRemoveUser","staticRenderFns","data","scopedSlots","_u","fn","scope","row","avatar","username","isPrivate","phone","join_at","moment","format","curEnterprise","developer_type","onTransfer","showRemoveDialog","isShowSelMemberDialog","switchSelMemberDialog","handleTransferAdmin","_m","staticStyle","USER_CENTER_URL","store","getters","components","Button","component","selectedUser","model","callback","$$v","checkedConfirm","onCancel","disabledSubmit","onOk","Avatar","open_ssid","dialogTitle","showNoticeDialog","$dialog","show","title","body","Notice","buttons","text","type","showVerifyPhoneDialog","close","verifyPhone","action","TRANSFER_SUPER_ADMIN","cb","showAdminSelector","AdminSelector","bodyProps","filterRoles","limit","onSelectUser","users","TransferConfirm","transfer","NoPhoneError","private_user","id","developer_id","$message","success","$store","dispatch","message","VerifyPhone","TransferSuperAdmin","width","onRemoveMember","user","userid","$emit","DepartmentDialog","adminLimit","userIds","members","map","push","nameMap","Object","create","forEach","member","res","resArray","object_array","length","errorMsg","Error","slice","showAddSuccessDialog","load","newValue","oldValue","AddAdmin","dialogBody","filter","item","getAdminLimit","object","engineer_limit","error","remain","immediate","List","AdminLayout","index","routeName","_t"],"mappings":"kJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,YAAcN,EAAIO,cAAc,CAACH,EAAG,WAAW,CAACI,KAAK,WAAWR,EAAIS,GAAIT,EAA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,CAACQ,YAAY,aAAaN,MAAM,CAAC,kBAAkB,wBAAwB,CAACF,EAAG,qBAAqB,CAACE,MAAM,CAAC,GAAK,CAAEc,KAAM,oBAAqB,CAACpB,EAAIkB,GAAG,UAAUlB,EAAIS,GAAIT,EAAe,YAAE,SAAS+I,EAAKS,GAAO,MAAO,CAAET,EAAc,UAAE3I,EAAG,qBAAqB,CAACO,IAAI6I,EAAMlJ,MAAM,CAAC,GAAK,CAAEc,KAAM2H,EAAKU,aAAc,CAACzJ,EAAIkB,GAAGlB,EAAImB,GAAG4H,EAAK3H,SAAShB,EAAG,qBAAqB,CAACO,IAAI6I,GAAO,CAACxJ,EAAIkB,GAAGlB,EAAImB,GAAG4H,EAAK3H,aAAa,IAAI,GAAGhB,EAAG,MAAM,CAACQ,YAAY,kBAAkB,CAACR,EAAG,MAAM,CAACQ,YAAY,WAAW,CAACZ,EAAI0J,GAAG,YAAY,GAAGtJ,EAAG,MAAM,CAACQ,YAAY,SAAS,CAACR,EAAG,MAAM,CAACQ,YAAY,QAAQ,CAACR,EAAG,MAAM,CAACQ,YAAY,eAAe,CAACZ,EAAI0J,GAAG,gBAAgB,GAAGtJ,EAAG,MAAM,CAACQ,YAAY,aAAa,CAACZ,EAAI0J,GAAG,iBAAiB,YAC12BpH,EAAkB,G,wECgCD,EAArB,kJAAyC,QAEvC,QADC,kB,kCADkB,EAAW,QAD/B,QACoB,WCjCqZ,I,wBCQta4B,EAAY,eACd,EACAnE,EACAuC,GACA,EACA,KACA,KACA,MAIa,OAAA4B,E","file":"js/chunk-40de56e8.93747f3c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('AdminLayout',{attrs:{\"breadcrumbs\":_vm.breadcrumbs}},[_c('template',{slot:\"sidebar\"},_vm._l((_vm.tabs),function(tab){return _c('div',{key:tab.key,staticClass:\"nav-tab\"},[_c('a',{class:{ active: _vm.selectedTab.key === tab.key },on:{\"click\":function($event){_vm.selectedTab = tab}}},[_vm._v(_vm._s(tab.name))])])}),0),_c('template',{slot:\"card-header\"},[(_vm.selectedTab.key === _vm.tabs[0].key)?_c('div',[_c('div',{staticClass:\"card_title\"},[_vm._v(\"\\n \"+_vm._s(_vm.selectedTab.name)),_c('span',{staticClass:\"sub_title\"},[_vm._v(\"超级管理员默认为申请服务商的用户,一个服务商有且仅有一个。超级管理员拥有开发平台最高权限。\")])])]):(_vm.selectedTab.key === _vm.tabs[1].key)?_c('div',[_c('div',{staticClass:\"card_title\"},[_vm._v(\"\\n \"+_vm._s(_vm.selectedTab.name)),(_vm.isShowAddAdmin)?_c('span',{staticClass:\"sub_title\"},[_vm._v(\"添加成功的管理员可进行添加应用、应用开发和申请权限等操作,可添加、删除应用内测试、体验的成员。\")]):_vm._e()]),(_vm.isShowAddAdmin)?_c('div',{staticClass:\"card_action\"},[_c('span',{staticClass:\"action_title\"},[_vm._v(\"还可添加\"+_vm._s(_vm.loading ? '' : _vm.remainTotal)+\"个\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\",\"disabled\":!_vm.remainTotal},on:{\"click\":_vm.showAddDialog}},[_vm._v(\"添加成员\")])],1):_vm._e(),_c('department-dialog',{attrs:{\"visible\":_vm.isShowSelAdminDialog,\"data\":_vm.selectedMembers,\"disabled-user-ids\":_vm.disabledAccountIDs,\"limit\":10,\"multiple\":true,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.isShowSelAdminDialog=$event},\"onCancel\":function($event){return _vm.switchSelAdminDialog()},\"onOk\":_vm.handledMemberConfig}})],1):_vm._e()]),_c('template',{slot:\"card-content\"},[_c('List',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"data\":_vm.tableData,\"isSuperAdmin\":_vm.isSuperAdmin,\"disabledAccountIDs\":_vm.disabledAccountIDs},on:{\"onRemoveUser\":_vm.onRemoveUser}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-table',{staticClass:\"table table table-center\",attrs:{\"data\":_vm.data}},[_c('el-table-column',{attrs:{\"prop\":\"username\",\"label\":\"成员\",\"width\":\"300\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"user-member\"},[_c('span',[_c('Avatar',{staticClass:\"avatar\",attrs:{\"src\":scope.row.avatar}})],1),_c('span',{staticClass:\"user-name\",attrs:{\"title\":scope.row.username}},[_vm._v(_vm._s(scope.row.username))])])]}}])}),(!_vm.isPrivate)?_c('el-table-column',{attrs:{\"prop\":\"userid\",\"label\":\"WPS ID\",\"width\":\"160\"}}):_vm._e(),_c('el-table-column',{attrs:{\"prop\":\"phone\",\"label\":\"手机号码\",\"width\":\"160\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.phone || '-')+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"join_at\",\"label\":\"添加时间\",\"width\":\"240\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.join_at ? _vm.moment(scope.row.join_at * 1000).format('YYYY-MM-DD HH:mm:ss') : '-')+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"userid\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(_vm.isPrivate ? (_vm.curEnterprise.developer_type !== 0 && _vm.isSuperAdmin) : _vm.isSuperAdmin)?_c('el-button',{staticClass:\"modify\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.onTransfer}},[_vm._v(\"转让\")]):_vm._e(),(!_vm.isSuperAdmin)?_c('el-button',{staticClass:\"modify\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.showRemoveDialog(scope.row)}}},[_vm._v(\"移除\")]):_vm._e()]}}])})],1),_c('department-dialog',{attrs:{\"visible\":_vm.isShowSelMemberDialog,\"data\":_vm.selectedMembers,\"disabled-user-ids\":_vm.disabledAccountIDs,\"multiple\":false,\"close-on-click-modal\":true},on:{\"update:visible\":function($event){_vm.isShowSelMemberDialog=$event},\"onCancel\":function($event){return _vm.switchSelMemberDialog()},\"onOk\":_vm.handleTransferAdmin}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"desc\"},[_c('div',[_vm._v(\"一旦你转让了超级管理员,服务商开放平台功能及应用将不能再访问。这是一个不可恢复的操作,请谨慎操作!\")]),(!_vm.isPrivate)?[_c('div',{staticClass:\"tip\"},[_vm._v(\"为了确保信息安全,转让管理员需要满足以下条件:\")]),_vm._m(0),_c('div',{staticClass:\"tip\"},[_vm._v(\"若无法接收验证码,请前往\"),_c('Button',{staticStyle:{\"padding\":\"0\"},attrs:{\"type\":\"text\",\"url\":_vm.USER_CENTER_URL}},[_vm._v(\"个人中心\")]),_vm._v(\"进行更改\")],1)]:_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ol',{staticClass:\"list\"},[_c('li',{staticClass:\"list-item\"},[_vm._v(\"转让的超级管理员已经绑定手机号码\")]),_c('li',{staticClass:\"list-item\"},[_vm._v(\"被转让的管理员已经绑定手机号码\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator'\nimport { USER_CENTER_URL } from '@/apps/open/constants'\nimport Button from '@/apps/open/components/Button'\nimport store from '@/apps/open/store'\n\n@Component({\n components: {\n Button\n },\n data: () => ({\n USER_CENTER_URL\n })\n})\nexport default class TransferSuperAdminNoticeDialogBody extends Vue {\n get isPrivate () {\n return store.getters['isPrivate']\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notice.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notice.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Notice.vue?vue&type=template&id=1171798b&scoped=true&\"\nimport script from \"./Notice.vue?vue&type=script&lang=ts&\"\nexport * from \"./Notice.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Notice.vue?vue&type=style&index=0&id=1171798b&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1171798b\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"desc\"},[_vm._v(\"\\n 系统检测到您当前转让的用户暂未绑定手机,无法进行该操作,请通知该用户前往\\n \"),_c('Button',{attrs:{\"type\":\"text\",\"url\":_vm.USER_CENTER_URL}},[_vm._v(\"个人中心\")]),_vm._v(\"\\n 进行绑定之后再重试\\n\")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator'\nimport { USER_CENTER_URL } from '@/apps/open/constants'\nimport Button from '@/apps/open/components/Button'\n\n@Component({\n components: {\n Button\n },\n data: () => ({\n USER_CENTER_URL\n })\n})\nexport default class NoPhoneErrorDialogBody extends Vue {}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoPhoneError.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoPhoneError.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NoPhoneError.vue?vue&type=template&id=75f14118&\"\nimport script from \"./NoPhoneError.vue?vue&type=script&lang=ts&\"\nexport * from \"./NoPhoneError.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"desc\"},[_c('div',[_vm._v(\"确定转让超级管理员给\"),_c('Avatar',{staticClass:\"avatar\",attrs:{\"src\":_vm.selectedUser.avatar}}),_c('span',{staticClass:\"user-name\"},[_vm._v(_vm._s(_vm.selectedUser.name))]),_vm._v(\"吗?\")],1),_c('el-checkbox',{model:{value:(_vm.checkedConfirm),callback:function ($$v) {_vm.checkedConfirm=$$v},expression:\"checkedConfirm\"}},[_vm._v(\"我已了解转让管理员,服务商开放平台功能及应用将无法访问\")])],1),_c('div',{staticClass:\"open-dialog-footer\"},[_c('span',[_c('Button',{on:{\"click\":_vm.onCancel}},[_vm._v(\"取消\")]),_c('Button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.disabledSubmit},on:{\"click\":_vm.onOk}},[_vm._v(\"确定\")])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator'\nimport Button from '@/apps/open/components/Button'\nimport Avatar from '@/apps/open/components/Avatar'\n\n@Component({\n components: {\n Button,\n Avatar\n }\n})\nexport default class TransferConfirmDialogBody extends Vue {\n @Prop()\n selectedUser!: any\n\n @Prop()\n onCancel!: Function\n\n @Prop()\n onOk!: Function\n\n checkedConfirm = false\n\n get disabledSubmit () {\n return !this.checkedConfirm\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransferConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransferConfirm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TransferConfirm.vue?vue&type=template&id=1072bab0&scoped=true&\"\nimport script from \"./TransferConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./TransferConfirm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TransferConfirm.vue?vue&type=style&index=0&id=1072bab0&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1072bab0\",\n null\n \n)\n\nexport default component.exports","import { Component, Vue, Mixins } from 'vue-property-decorator'\nimport { NoticeDialogBody, NoPhoneErrorDialogBody, TransferConfirmDialogBody } from '@/apps/open/components/DialogBodys/TransferSuperAdmin'\nimport VerifyPhoneMixin from './VerifyPhone'\nimport { EVerifyPhoneAction } from '@/apps/open/types'\nimport AdminSelectorDialogBody from '@/apps/open/components/DialogBodys/AdminSelector.vue'\nimport { transferSuperAdmin } from '@/apps/open/services/admin'\nimport { onRequestError } from '@/apps/open/utils'\n\n@Component\nexport default class TransferSuperAdminMixin extends Mixins(VerifyPhoneMixin) {\n open_ssid = ''\n selectedUser: any = null\n dialogTitle = '转让管理员'\n\n isShowSelMemberDialog = false\n\n get isPrivate () {\n return this.$store.getters['isPrivate']\n }\n\n get curEnterprise () {\n return this.$store.getters['User/curEnterprise']\n }\n\n onTransfer () {\n this.showNoticeDialog()\n }\n\n showNoticeDialog () {\n this.$dialog.show({\n title: '转让须知',\n body: NoticeDialogBody,\n buttons: [\n { text: '取消' },\n {\n text: '确定',\n type: 'primary',\n fn: this.isPrivate ? this.switchSelMemberDialog : this.showVerifyPhoneDialog\n }\n ]\n })\n }\n\n switchSelMemberDialog () {\n this.$dialog.close()\n this.isShowSelMemberDialog = !this.isShowSelMemberDialog\n }\n\n showVerifyPhoneDialog () {\n this.verifyPhone({\n title: this.dialogTitle,\n action: EVerifyPhoneAction.TRANSFER_SUPER_ADMIN,\n cb: (open_ssid: string) => {\n this.open_ssid = open_ssid\n this.showAdminSelector()\n }\n })\n }\n\n showAdminSelector () {\n this.$dialog.show({\n title: this.dialogTitle,\n body: AdminSelectorDialogBody,\n bodyProps: {\n filterRoles: [100],\n limit: 1,\n onCancel: this.$dialog.close,\n onOk: this.onSelectUser\n }\n })\n }\n\n onSelectUser (users: any) {\n this.selectedUser = users[0]\n if (!this.selectedUser.phone) {\n this.$dialog.show({\n title: this.dialogTitle,\n body: NoPhoneErrorDialogBody,\n buttons: [\n { text: '关闭', type: 'primary' }\n ]\n })\n return\n }\n this.$dialog.show({\n title: this.dialogTitle,\n body: TransferConfirmDialogBody,\n bodyProps: {\n selectedUser: this.selectedUser,\n onCancel: this.$dialog.close,\n onOk: this.transfer\n }\n })\n }\n\n async transfer (private_user: any) {\n try {\n if (this.isPrivate) {\n await transferSuperAdmin(private_user.id, this.curEnterprise.developer_id)\n } else {\n await transferSuperAdmin(this.selectedUser.id, this.curEnterprise.developer_id, this.open_ssid)\n }\n this.$message.success('转让成功')\n this.$store.dispatch('User/LOGOUT')\n this.$dialog.close()\n } catch (error) {\n onRequestError(error, `转让失败(${error.message})`)\n }\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Mixins } from 'vue-property-decorator'\nimport moment from 'moment'\nimport { removeAdmin } from '@/apps/open/services/admin'\nimport Avatar from '@/apps/open/components/Avatar'\nimport TransferSuperAdminMixin from '@/apps/open/mixins/TransferSuperAdmin'\nimport { onRequestError } from '@/apps/open/utils'\nimport DepartmentDialog from '@/apps/open/components/DialogBodys/DepartmentDialog/index.js'\n\n@Component({\n components: {\n Avatar,\n DepartmentDialog\n },\n data: () => ({\n moment\n })\n})\nexport default class List extends Mixins(TransferSuperAdminMixin) {\n selectedMembers: any[] = []\n\n @Prop()\n data: any\n\n @Prop()\n isSuperAdmin: any\n\n @Prop()\n disabledAccountIDs!: number[]\n\n showRemoveDialog (row: any) {\n this.$dialog.show({\n title: '移除成员',\n width: '400px',\n body: `
确定移除 ${row.username} 吗?
移除的管理员将不能进行应用开发等操作
`,\n buttons: [\n { text: '取消' },\n { text: '确定', type: 'primary', fn: () => { this.onRemoveMember(row) } }\n ]\n })\n }\n\n get isPrivate () {\n return this.$store.getters['isPrivate']\n }\n\n get curEnterprise () {\n return this.$store.getters['User/curEnterprise']\n }\n\n async onRemoveMember (user: any) {\n try {\n await removeAdmin(user.userid, this.curEnterprise.developer_id)\n this.$dialog.close()\n this.$emit('onRemoveUser', user.userid)\n } catch (error) {\n onRequestError(error)\n }\n }\n\n // transfer admin in private environment\n handleTransferAdmin (users: any) {\n this.transfer(users[0])\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=46a633fc&scoped=true&\"\nimport script from \"./List.vue?vue&type=script&lang=ts&\"\nexport * from \"./List.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./List.vue?vue&type=style&index=0&id=46a633fc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"46a633fc\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from 'vue-property-decorator'\nimport Avatar from '@/apps/open/components/Avatar'\nimport AdminLayout from '@/apps/open/layout/AdminLayout.vue'\nimport List from './List.vue'\nimport { getDeveloperSetting } from '@/apps/open/services/developer'\nimport AddAdminDialogBody from '@/apps/open/components/DialogBodys/AddAdmin.vue'\nimport store from '@/apps/open/store'\nimport { onRequestError } from '../../../utils'\nimport DepartmentDialog from '@/apps/open/components/DialogBodys/DepartmentDialog/index.js'\nimport { addAdmin } from '@/apps/open/services/admin'\n\n@Component({\n components: {\n Avatar,\n List,\n AdminLayout,\n DepartmentDialog\n }\n})\nexport default class Index extends Vue {\n tabs = [{\n name: '超级管理员',\n key: 'supper-admin'\n }, {\n name: '普通管理员',\n key: 'admin'\n }]\n selectedTab: any = this.tabs[1]\n breadcrumbs: any = [{\n name: this.tabs[1].name\n }]\n users: any = []\n tableData: any = []\n loading = false\n\n adminLimit = 0\n\n selectedMembers = []\n disabledAccountIDs: number[] = []\n\n isShowSelAdminDialog = false\n\n get isShowAddAdmin () {\n return this.isPrivate ? (this.curEnterprise.developer_type !== 0) : true\n }\n\n get isPrivate () {\n return this.$store.getters['isPrivate']\n }\n\n switchSelAdminDialog () {\n this.isShowSelAdminDialog = !this.isShowSelAdminDialog\n }\n\n async handledMemberConfig (users: any[]) {\n const userIds: number[] = []\n const members = users.map(({ id, name, avatar }) => {\n userIds.push(id)\n return {\n userid: id,\n username: name,\n avatar\n }\n })\n const nameMap = Object.create(null)\n members.forEach(member => {\n nameMap[member.userid] = member.username\n })\n try {\n const res = await addAdmin(userIds, this.curEnterprise.developer_id)\n const resArray = res.data.object_array\n if (resArray && resArray.length > 0) {\n let errorMsg = ''\n resArray.forEach(({ userid }: any) => {\n nameMap[userid] && (errorMsg += `${nameMap[userid]},`)\n })\n throw new Error(`${errorMsg.slice(0, -1)}添加失败`)\n } else {\n this.showAddSuccessDialog(members)\n }\n } catch (err) {\n onRequestError(err)\n } finally {\n this.load()\n }\n }\n\n get isSuperAdmin () {\n return this.selectedTab.key === this.tabs[0].key\n }\n\n get remainTotal () {\n const remain = this.adminLimit - this.users.length\n return remain < 0 ? 0 : remain\n }\n\n get curEnterprise () {\n return this.$store.getters['User/curEnterprise']\n }\n\n @Watch('selectedTab', { immediate: true })\n onTabChange (newValue: string, oldValue: string) {\n this.breadcrumbs[0].name = this.selectedTab.name\n this.tableData = []\n this.load()\n }\n\n async load () {\n this.loading = true\n try {\n await this.$store.dispatch('Admin/GET_ADMIN_LIST')\n if (this.isSuperAdmin) {\n this.tableData = this.$store.getters['Admin/superAdminList']\n } else {\n this.users = this.$store.getters['Admin/generalAdminList']\n this.tableData = this.users\n }\n this.disabledAccountIDs = this.tableData.map((user: any) => user.userid)\n } catch (error) {\n onRequestError(error)\n }\n this.loading = false\n }\n\n showAddDialog () {\n if (this.isPrivate) {\n this.switchSelAdminDialog()\n } else {\n this.$dialog.show({\n title: '添加管理员',\n body: AddAdminDialogBody,\n bodyProps: {\n onCancel: this.$dialog.close,\n onOk: this.showAddSuccessDialog\n }\n })\n }\n }\n\n showAddSuccessDialog (users: any) {\n const dialogBody = `\n
\n
\n ${`${users[0].username} ${users.length > 1 ? `等${users.length}名用户添加成功!` : '添加成功!'}`}\n
\n
\n 若普通管理员需要访问已添加的应用,请超级管理员在「应用详情 > 基本设置」添加开发人员即可\n
\n
\n `\n this.load()\n this.$dialog.show({\n title: '添加管理员',\n body: dialogBody,\n buttons: [{ text: '关闭' }]\n })\n }\n\n onRemoveUser (userid: number) {\n this.users = this.users.filter((item: any) => item.userid !== userid)\n this.tableData = this.users\n this.disabledAccountIDs = this.disabledAccountIDs.filter((item: any) => item !== userid)\n }\n\n mounted () {\n this.getAdminLimit()\n }\n\n async getAdminLimit () {\n try {\n const res = await getDeveloperSetting(this.curEnterprise && this.curEnterprise.developer_id)\n this.adminLimit = res.data.object.engineer_limit\n } catch (err) {\n this.$message.error(err.message)\n }\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=13070fea&\"\nimport script from \"./Index.vue?vue&type=script&lang=ts&\"\nexport * from \"./Index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransferConfirm.vue?vue&type=style&index=0&id=1072bab0&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransferConfirm.vue?vue&type=style&index=0&id=1072bab0&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminLayout.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminLayout.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=style&index=0&id=46a633fc&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=style&index=0&id=46a633fc&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notice.vue?vue&type=style&index=0&id=1171798b&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notice.vue?vue&type=style&index=0&id=1171798b&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"admin-layout\"},[_c('div',{staticClass:\"top\"},[_c('el-breadcrumb',{staticClass:\"breadcrumb\",attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ name: 'developer-info' }}},[_vm._v(\"管理中心\")]),_vm._l((_vm.breadcrumbs),function(item,index){return [(item.routeName)?_c('el-breadcrumb-item',{key:index,attrs:{\"to\":{ name: item.routeName }}},[_vm._v(_vm._s(item.name))]):_c('el-breadcrumb-item',{key:index},[_vm._v(_vm._s(item.name))])]})],2)],1),_c('div',{staticClass:\"card container\"},[_c('div',{staticClass:\"sidebar\"},[_vm._t(\"sidebar\")],2),_c('div',{staticClass:\"right\"},[_c('div',{staticClass:\"root\"},[_c('div',{staticClass:\"card_header\"},[_vm._t(\"card-header\")],2),_c('div',{staticClass:\"card_wrap\"},[_vm._t(\"card-content\")],2)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator'\n\n@Component\nexport default class AdminLayout extends Vue {\n @Prop()\n breadcrumbs!: any\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminLayout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminLayout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AdminLayout.vue?vue&type=template&id=499f9c2f&\"\nimport script from \"./AdminLayout.vue?vue&type=script&lang=ts&\"\nexport * from \"./AdminLayout.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AdminLayout.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}