{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\main\\systemManagement\\MenuManger.vue?vue&type=template&id=2db77009&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\main\\systemManagement\\MenuManger.vue","mtime":1667327530028},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',{staticClass:\"fullheight\",staticStyle:{\"border\":\"1px solid #eee\",\"background-color\":\"#fff\"}},[_c('ht-menu-manager',{ref:\"htMenuManager\",attrs:{\"showEdit\":false,\"node-key\":\"id\",\"hide-menu\":\"\"},on:{\"node-click\":_vm.handleNodeClick,\"menu-action\":_vm.menuAction}}),(_vm.editMenuFormVisible)?_c('el-container',[_c('el-header',{staticClass:\"hearder-buttons\"},[(\n !_vm.menu.id ||\n (!_vm.menu.tenantId &&\n (_vm.$store.state.login.currentUser.userAttrs\n .tenantId == -1 ||\n !_vm.$store.state.login.currentUser.userAttrs\n .tenantId)) ||\n _vm.$store.state.login.currentUser.userAttrs.tenantId ==\n _vm.menu.tenantId\n )?_c('ht-submit-button',{attrs:{\"url\":\"/sys/sysMenu/v1/save\",\"context\":\"portal\",\"model\":_vm.menu,\"scope-name\":\"editMenuForm\"},on:{\"before-save-data\":_vm.beforeSaveData,\"after-save-data\":_vm.afterSaveData}},[_vm._v(_vm._s(_vm.menu.id ? '更新' : '保存'))]):_vm._e(),_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"title\":\"添加接口\"},on:{\"click\":_vm.addSysMethods}},[_vm._v(\"添加接口\")])],1),_c('el-main',[_c('el-form',{attrs:{\"data-vv-scope\":\"editMenuForm\",\"model\":_vm.menu,\"size\":\"mini\",\"inline\":true}},[(_vm.hasParent)?_c('ht-form-item',{attrs:{\"label\":\"上级菜单\",\"label-width\":\"150px\"}},[_c('ht-input',{attrs:{\"name\":\"parent-menu-name\",\"autocomplete\":\"off\",\"disabled\":\"\"},model:{value:(_vm.currentNodeData.name),callback:function ($$v) {_vm.$set(_vm.currentNodeData, \"name\", $$v)},expression:\"currentNodeData.name\"}})],1):_vm._e(),(_vm.hasParent)?_c('ht-form-item',{attrs:{\"label\":\"上级菜单别名\",\"label-width\":\"150px\"}},[_c('ht-input',{staticStyle:{\"width\":\"400px\"},attrs:{\"name\":\"parent-menu-alias\",\"autocomplete\":\"off\",\"disabled\":\"\"},model:{value:(_vm.currentNodeData.alias),callback:function ($$v) {_vm.$set(_vm.currentNodeData, \"alias\", $$v)},expression:\"currentNodeData.alias\"}})],1):_vm._e(),_c('br'),_c('ht-form-item',{attrs:{\"label\":\"菜单名称\",\"label-width\":\"150px\"}},[_c('ht-input',{attrs:{\"name\":\"menu-name\",\"autocomplete\":\"off\",\"validate\":'required',\"maxlength\":12,\"showWordLimit\":true},model:{value:(_vm.menu.name),callback:function ($$v) {_vm.$set(_vm.menu, \"name\", $$v)},expression:\"menu.name\"}})],1),(!_vm.isHref)?_c('ht-form-item',{attrs:{\"label\":\"菜单别名\",\"label-width\":\"150px\"}},[_c('ht-input',{staticStyle:{\"width\":\"400px\"},attrs:{\"name\":\"menu-alias\",\"disabled\":_vm.menu.id ? true : false,\"autocomplete\":\"off\",\"validate\":'required|alpha_dash|isExist:${portal}/sys/sysMenu/v1/isMenuExistByAlias?alias=,' +\n _vm.menu.alias,\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.menu.alias),callback:function ($$v) {_vm.$set(_vm.menu, \"alias\", $$v)},expression:\"menu.alias\"}})],1):_vm._e(),(_vm.isHref)?_c('ht-form-item',{attrs:{\"label\":\"Url地址\",\"label-width\":\"150px\"}},[_c('ht-input',{staticStyle:{\"width\":\"400px\"},attrs:{\"name\":\"menu-href\",\"autocomplete\":\"off\"},model:{value:(_vm.menu.href),callback:function ($$v) {_vm.$set(_vm.menu, \"href\", $$v)},expression:\"menu.href\"}})],1):_vm._e(),_c('br'),(false)?_c('ht-form-item',{attrs:{\"label\":\"菜单图标\",\"label-width\":\"150px\"}},[_c('span',{staticClass:\"icon iconfont\",class:_vm.menu.menuIcon}),_c('IconDialog',{staticStyle:{\"display\":\"inherit\"},on:{\"selected\":_vm.icons}})],1):_vm._e(),_c('ht-form-item',{attrs:{\"label\":\"菜单排序\",\"label-width\":\"150px\"}},[_c('ht-input',{attrs:{\"name\":\"menu-sn\",\"autocomplete\":\"off\",\"validate\":\"required|numeric\",\"maxlength\":9,\"showWordLimit\":true},model:{value:(_vm.menu.sn),callback:function ($$v) {_vm.$set(_vm.menu, \"sn\", $$v)},expression:\"menu.sn\"}})],1),(!_vm.isHref && !_vm.isFrontMenu)?_c('ht-form-item',{attrs:{\"label\":\"activeTab\",\"label-width\":\"150px\",\"title\":\"三级菜单默认显示的tab\"}},[_c('ht-input',{staticStyle:{\"width\":\"400px\"},attrs:{\"name\":\"menu-icon\",\"autocomplete\":\"off\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.menu.activeTab),callback:function ($$v) {_vm.$set(_vm.menu, \"activeTab\", $$v)},expression:\"menu.activeTab\"}})],1):_vm._e(),_c('br'),_c('ht-form-item',{attrs:{\"label\":\"标签页风格\",\"label-width\":\"150px\",\"title\":\"默认使用菜单配置 菜单没有配置, 则使用全局配置, 全局配置也没有则使用默认样式\"}},[_c('el-radio-group',{model:{value:(_vm.tabsStyle.tabType),callback:function ($$v) {_vm.$set(_vm.tabsStyle, \"tabType\", $$v)},expression:\"tabsStyle.tabType\"}},[_c('el-radio-button',{attrs:{\"label\":\"\"}},[_vm._v(\"默认样式\")]),_c('el-radio-button',{attrs:{\"label\":\"card\"}},[_vm._v(\"选项卡样式\")]),_c('el-radio-button',{attrs:{\"label\":\"border-card\"}},[_vm._v(\"卡片化\")])],1)],1),_c('ht-form-item',{attrs:{\"label\":\"打开方式\",\"label-width\":\"150px\"}},[_c('el-radio-group',{model:{value:(_vm.menu.openType),callback:function ($$v) {_vm.$set(_vm.menu, \"openType\", $$v)},expression:\"menu.openType\"}},[_c('el-radio-button',{attrs:{\"label\":\"1\"}},[_vm._v(\"内部\")]),_c('el-radio-button',{attrs:{\"label\":\"2\"}},[_vm._v(\"新窗口\")])],1)],1),_c('ht-form-item',{attrs:{\"label\":\"菜单图标\",\"label-width\":\"150px\"}},[_c('el-button',{staticClass:\"choseIcons\",staticStyle:{\"margin-right\":\"10px\",\"vertical-align\":\"middle\"},attrs:{\"size\":\"small\",\"title\":\"选择图标\"},on:{\"click\":function($event){_vm.$refs.iconPanl.dialogVisible = true}}},[_c('span',[_vm._v(\" 选择图标\")])]),_c('el-button',{staticClass:\"choseIcons\",staticStyle:{\"margin-right\":\"10px\",\"vertical-align\":\"middle\"},attrs:{\"size\":\"small\",\"title\":\"选择图标\"},on:{\"click\":_vm.clearIcon}},[_c('span',[_vm._v(\"取消图标\")])]),_c('svgIcon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.menu.menuIcon),expression:\"menu.menuIcon\"}],staticStyle:{\"font-size\":\"24px\",\"vertical-align\":\"middle\"},attrs:{\"icon-style\":\"icon\",\"icon-class\":_vm.menu.menuIcon}})],1),_c('ht-form-item',{attrs:{\"label\":\"是否启用\",\"label-width\":\"150px\"}},[_c('el-switch',{attrs:{\"active-value\":1,\"inactive-value\":0,\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\"},model:{value:(_vm.menu.status),callback:function ($$v) {_vm.$set(_vm.menu, \"status\", $$v)},expression:\"menu.status\"}})],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.menu.sysMethods}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-input',{attrs:{\"autocomplete\":\"off\",\"validate\":\"required\",\"placeholder\":\"方法描述\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(scope.row.name),callback:function ($$v) {_vm.$set(scope.row, \"name\", $$v)},expression:\"scope.row.name\"}})]}}],null,false,333187588)},[_c('template',{slot:\"header\"},[_c('span',{staticClass:\"is-required\"},[_vm._v(\"请求方法描述\")])])],2),_c('el-table-column',{attrs:{\"prop\":\"alias\",\"label\":\"\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-input',{directives:[{name:\"pinyin\",rawName:\"v-pinyin\",value:(\n _vm.menu.sysMethods[scope.$index].name\n ),expression:\"\\n menu.sysMethods[scope.$index].name\\n \"}],attrs:{\"model-expression\":'menu.sysMethods[' +\n scope.$index +\n '].alias',\"autocomplete\":\"off\",\"validate\":{\n required: true,\n regex: {\n exp: '^[a-zA-z][a-zA-z0-9]+$',\n message: '别名有误',\n },\n },\"disabled\":scope.row.id ? true : false,\"placeholder\":\"唯一别名\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(\n _vm.menu.sysMethods[scope.$index].alias\n ),callback:function ($$v) {_vm.$set(_vm.menu.sysMethods[scope.$index], \"alias\", $$v)},expression:\"\\n menu.sysMethods[scope.$index].alias\\n \"}})]}}],null,false,394715851)},[_c('template',{slot:\"header\"},[_c('span',{staticClass:\"is-required\"},[_vm._v(\"别名\")]),_c('el-tooltip',{attrs:{\"content\":\"别名为字母数字组合,且以字母开头,不能包括特殊字符\",\"placement\":\"right\"}},[_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})])],1)],2),_c('el-table-column',{attrs:{\"prop\":\"methodType\",\"label\":\"\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-select',{attrs:{\"placeholder\":\"请选择授权类别\"},model:{value:(scope.row.methodType),callback:function ($$v) {_vm.$set(scope.row, \"methodType\", $$v)},expression:\"scope.row.methodType\"}},[_c('el-option',{attrs:{\"label\":\"方法授权\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"按钮授权\",\"value\":\"2\"}})],1)]}}],null,false,1041096934)},[_c('template',{slot:\"header\"},[_c('span',{staticClass:\"is-required\"},[_vm._v(\"授权类别\")])])],2),_c('el-table-column',{attrs:{\"prop\":\"requestUrl\",\"label\":\"\",\"width\":\"auto\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-input',{staticStyle:{\"width\":\"90%\"},attrs:{\"autocomplete\":\"off\",\"validate\":{\n required: true,\n regex: {\n exp: '^/[a-zA-Z0-9\\\\\\\\\\\\/\\\\+]+$',\n message: '请求地址输入有误',\n },\n },\"placeholder\":\"请输入后台请求地址\"},model:{value:(scope.row.requestUrl),callback:function ($$v) {_vm.$set(scope.row, \"requestUrl\", $$v)},expression:\"scope.row.requestUrl\"}}),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"type\":\"danger\",\"icon\":\"el-icon-delete\",\"circle\":\"\"},on:{\"click\":function($event){return _vm.removeSysMethod(scope.row)}}})]}}],null,false,126922891)},[_c('template',{slot:\"header\"},[_c('span',{staticClass:\"is-required\"},[_vm._v(\"后台请求地址\")]),_c('el-tooltip',{attrs:{\"content\":\"请求地址必须以/开头,并且只能包括英文、数字和/\",\"placement\":\"right\"}},[_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})])],1)],2)],1)],1)],1)],1):_vm._e(),_c('ht-sidebar-dialog',{attrs:{\"width\":\"600px\",\"title\":\"子菜单批量排序\",\"visible\":_vm.batchSortDialog,\"before-close\":_vm.handleBatchSortClose,\"append-to-body\":true}},[_c('table',{staticClass:\"form-table\",attrs:{\"cellspacing\":\"0\",\"cellpadding\":\"0\",\"border\":\"0\"}},[_c('tbody',_vm._l((_vm.subMenuList),function(data){return _c('tr',{key:data.id},[_c('th',{attrs:{\"width\":\"90px\"}},[_vm._v(\"菜单名称:\")]),_c('td',[_vm._v(_vm._s(data.name))]),_c('th',{staticClass:\"is-required\",attrs:{\"width\":\"70px\"}},[_vm._v(\"排序:\")]),_c('td',{attrs:{\"width\":\"90px\"}},[_c('ht-input',{attrs:{\"type\":\"number\",\"autocomplete\":\"off\",\"validate\":\"required\"},model:{value:(data.sn),callback:function ($$v) {_vm.$set(data, \"sn\", $$v)},expression:\"data.sn\"}})],1)])}),0)]),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(_vm._s(_vm.$t('eip.common.save')))]),_c('el-button',{on:{\"click\":function($event){return _vm.handleBatchSortClose()}}},[_vm._v(_vm._s(_vm.$t('eip.common.cancel')))])],1)]),_c('el-dialog',{attrs:{\"width\":\"400px\",\"top\":\"8vh\",\"title\":\"菜单移动\",\"visible\":_vm.handleDialog,\"before-close\":_vm.handleClose,\"close-on-click-modal\":false,\"append-to-body\":\"\"}},[_c('el-scrollbar',[_c('ht-tree',{ref:\"htTypeTree\",staticStyle:{\"height\":\"500px\"},attrs:{\"data\":_vm.treeMenuData,\"props\":_vm.defaultMenuProps,\"expand-on-click-node\":false},on:{\"node-click\":_vm.handleMenuNodeClick}})],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleSave}},[_vm._v(\"确 定\")]),_c('el-button',{on:{\"click\":_vm.handleClose}},[_vm._v(\"取 消\")])],1)],1),_c('el-container',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.editMenuFormVisible),expression:\"!editMenuFormVisible\"}]},[_c('div',{staticClass:\"form-empty\"},[_vm._v(\"请选择一个菜单进行操作\")])]),_c('el-dialog',{attrs:{\"title\":\"上传文件\",\"visible\":_vm.uploadDialogVisible,\"before-close\":_vm.beforeClose}},[_c('el-upload',{attrs:{\"http-request\":_vm.handleImport,\"accept\":\".zip\",\"file-list\":_vm.fileList,\"limit\":1}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"}},[_vm._v(\"点击上传\")]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\"只能上传zip文件\")])],1)],1),_c('IconPanl',{ref:\"iconPanl\",on:{\"select\":_vm.choseIcon}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}