{"version":3,"sources":["webpack:///./src/apps/open/views/devCenter/adminUser/Index.vue?d8a0","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/Notice.vue?bc95","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/NoPhoneError.vue?79f6","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/components/DialogBodys/TransferSuperAdmin/TransferConfirm.vue?986c","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/List.vue?b8a4","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?0a8e","webpack:///./src/apps/open/layout/AdminLayout.vue","webpack:///./src/apps/open/layout/AdminLayout.vue?065a","webpack:///./src/apps/open/layout/AdminLayout.vue?c776"],"names":["e","store","getters","components","Button","data","USER_CENTER_URL","_vm","this","_h","$createElement","_c","_self","staticClass","_v","isPrivate","_e","_m","staticStyle","attrs","checkedConfirm","Avatar","selectedUser","avatar","_s","name","model","value","callback","$$v","expression","on","onCancel","disabledSubmit","onOk","open_ssid","dialogTitle","isShowSelMemberDialog","showNoticeDialog","$dialog","show","title","body","Notice","buttons","text","type","fn","isVerifyPhone","showVerifyPhoneDialog","switchSelMemberDialog","close","verifyPhone","action","TRANSFER_SUPER_ADMIN","cb","showAdminSelector","AdminSelector","bodyProps","filterRoles","limit","onSelectUser","users","phone","TransferConfirm","transfer","NoPhoneError","private_user","id","curEnterprise","developer_id","$message","success","$store","dispatch","message","VerifyPhone","TransferSuperAdmin","selectedMembers","row","width","username","t","onRemoveMember","user","userid","$emit","d","DepartmentDialog","moment","scopedSlots","_u","key","scope","join_at","format","developer_type","isSuperAdmin","onTransfer","$event","showRemoveDialog","disabledAccountIDs","handleTransferAdmin","tabs","selectedTab","breadcrumbs","tableData","loading","adminLimit","isShowSelAdminDialog","userIds","members","map","push","nameMap","Object","create","forEach","member","res","resArray","object_array","length","errorMsg","Error","slice","showAddSuccessDialog","load","newValue","oldValue","switchSelAdminDialog","AddAdmin","dialogBody","filter","item","getAdminLimit","object","engineer_limit","error","remain","immediate","List","AdminLayout","slot","_l","tab","class","active","remainTotal","showAddDialog","handledMemberConfig","directives","rawName","onRemoveUser","staticRenderFns","i","component","index","routeName","_t"],"mappings":"4IAAA,I,+NC4BqB,EAArB,SAAAA,GAAA,oHAAAA,GAAA,+CAEI,OAAOC,EAAA,EAAMC,QAAQ,cAFzB,GAAgE,KC5ByY,ED4Bpb,EAAkC,KARtD,YAAU,CACTC,WAAY,CACVC,SAAA,GAEFC,KAAM,iBAAO,CACXC,gBAAA,S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,CAACR,EAAG,qBAAqB,CAACQ,MAAM,CAAC,GAAK,CAAEM,KAAM,oBAAqB,CAAClB,EAAIO,GAAG,UAAUP,EAAIyI,GAAIzI,EAAe,aAAE,SAAS+H,EAAKuB,GAAO,MAAO,CAAEvB,EAAc,UAAE3H,EAAG,qBAAqB,CAACiF,IAAIiE,EAAM1I,MAAM,CAAC,GAAK,CAAEM,KAAM6G,EAAKwB,aAAc,CAACvJ,EAAIO,GAAGP,EAAIiB,GAAG8G,EAAK7G,SAASd,EAAG,qBAAqB,CAACiF,IAAIiE,GAAO,CAACtJ,EAAIO,GAAGP,EAAIiB,GAAG8G,EAAK7G,cAAa,IAAI,GAAGd,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACE,YAAY,WAAW,CAACN,EAAIwJ,GAAG,YAAY,GAAGpJ,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACN,EAAIwJ,GAAG,gBAAgB,GAAGpJ,EAAG,MAAM,CAACE,YAAY,aAAa,CAACN,EAAIwJ,GAAG,iBAAiB,aACx1B,IGUpBL,EAEA,KACA,KACA,MAIa,IAAAE,E","file":"js/chunk-40de56e8.7662253b.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 }","\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\"},[_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\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',{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\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","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 }","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 isVerifyPhone () {\n return !this.$store.getters['isPrivate'] && !this.$store.getters['isOversea']\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.isVerifyPhone ? this.showVerifyPhoneDialog : this.switchSelMemberDialog\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.isVerifyPhone) {\n await transferSuperAdmin(this.selectedUser.id, this.curEnterprise.developer_id, this.open_ssid)\n } else {\n await transferSuperAdmin(private_user.id, this.curEnterprise.developer_id)\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","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 }","\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":""}