b875be6dddf6bc091998f07de627b452.json 8.5 KB

1
  1. {"remainingRequest":"D:\\jiayue\\pig-ui\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\jiayue\\pig-ui\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jiayue\\pig-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jiayue\\pig-ui\\src\\views\\admin\\menu\\index.vue?vue&type=template&id=7d2191fc&","dependencies":[{"path":"D:\\jiayue\\pig-ui\\src\\views\\admin\\menu\\index.vue","mtime":1619070292888},{"path":"D:\\jiayue\\pig-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jiayue\\pig-ui\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":499162500000},{"path":"D:\\jiayue\\pig-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jiayue\\pig-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"basic-container\", [\n _c(\n \"div\",\n { staticClass: \"avue-crud\" },\n [\n _c(\n \"el-form\",\n { attrs: { inline: true } },\n [\n _c(\n \"el-form-item\",\n [\n _vm.permissions.sys_menu_add\n ? _c(\n \"el-button\",\n {\n attrs: { icon: \"el-icon-plus\", type: \"primary\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle(false)\n }\n }\n },\n [_vm._v(\"\\n 添加\\n \")]\n )\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-table\",\n {\n directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.loading,\n expression: \"loading\"\n }\n ],\n attrs: {\n border: \"\",\n data: _vm.menuList,\n \"row-key\": \"id\",\n \"tree-props\": {\n children: \"children\",\n hasChildren: \"hasChildrens\"\n }\n }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"name\",\n label: \"菜单名称\",\n \"show-overflow-tooltip\": true,\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"icon\",\n label: \"图标\",\n align: \"center\",\n width: \"100\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [_c(\"i\", { class: scope.row.icon })]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"sort\", label: \"排序\", width: \"60\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"path\",\n label: \"组件路径\",\n \"show-overflow-tooltip\": true\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"type\",\n label: \"类型\",\n width: \"80\",\n align: \"center\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.type === \"0\"\n ? _c(\"el-tag\", { attrs: { type: \"success\" } }, [\n _vm._v(\"菜单\")\n ])\n : _vm._e(),\n scope.row.type === \"1\"\n ? _c(\"el-tag\", { attrs: { type: \"info\" } }, [\n _vm._v(\"按钮\")\n ])\n : _vm._e()\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"keepAlive\",\n label: \"缓冲\",\n width: \"80\",\n align: \"center\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.keepAlive === \"0\"\n ? _c(\"el-tag\", { attrs: { type: \"info\" } }, [\n _vm._v(\"关闭\")\n ])\n : _vm._e(),\n scope.row.keepAlive === \"1\"\n ? _c(\"el-tag\", { attrs: { type: \"success\" } }, [\n _vm._v(\"开启\")\n ])\n : _vm._e()\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"permission\",\n label: \"权限标识\",\n \"show-overflow-tooltip\": true\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n label: \"操作\",\n align: \"center\",\n \"class-name\": \"small-padding fixed-width\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _vm.permissions.sys_menu_add\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", icon: \"el-icon-plus\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle(\n false,\n scope.row.id\n )\n }\n }\n },\n [_vm._v(\"添加\\n \")]\n )\n : _vm._e(),\n _vm.permissions.sys_menu_edit\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", icon: \"el-icon-edit\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle(\n true,\n scope.row.id\n )\n }\n }\n },\n [_vm._v(\"修改\\n \")]\n )\n : _vm._e(),\n _vm.permissions.sys_menu_del\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", icon: \"el-icon-delete\" },\n on: {\n click: function($event) {\n return _vm.handleDelete(scope.row)\n }\n }\n },\n [_vm._v(\"删除\\n \")]\n )\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n ),\n _vm.addOrUpdateVisible\n ? _c(\"table-form\", {\n ref: \"addOrUpdate\",\n on: { refreshDataList: _vm.getList }\n })\n : _vm._e()\n ],\n 1\n )\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]}