\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 \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 \n \n \n + \n - \n \n \n \n \n \n
\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/systemmanager/Dict.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dict-box\"},[_c('el-form',{staticClass:\"dict-form-inline\",attrs:{\"inline\":true}},[_c('el-form-item',{attrs:{\"label\":\"字典名称\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"clearable\":\"\",\"placeholder\":\"请输入字典名称\"},model:{value:(_vm.queryInfo.dictValue),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"dictValue\", $$v)},expression:\"queryInfo.dictValue\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.selectDataDictList}},[_vm._v(\"查询\")])],1),_vm._v(\" \"),_c('el-row',[_c('el-col',{attrs:{\"span\":2}},[_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.addDialogVisible = true}}},[_vm._v(\"添加\")])],1)],1)],1)],1),_vm._v(\" \"),_c('el-table',{attrs:{\"data\":_vm.dataDictList.slice((_vm.currpage - 1)*_vm.queryInfo.pageSize, _vm.currpage*_vm.queryInfo.pageSize),\"border\":\"\",\"fit\":true}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"type\":\"index\",\"align\":\"center\",\"width\":\"100\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"字典名称\",\"prop\":\"dictValue\"}}),_vm._v(\" \"),(false)?_c('el-table-column',{attrs:{\"label\":\"字典值\",\"prop\":\"dictCode\"}}):_vm._e(),_vm._v(\" \"),(false)?_c('el-table-column',{attrs:{\"label\":\"父字典值\",\"prop\":\"fatherId\"}}):_vm._e(),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"字典数量\",\"prop\":\"dictNum\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"prop\":\"createTime\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"更新时间\",\"prop\":\"updateTime\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"备注\",\"prop\":\"comments\",\"show-overflow-tooltip\":\"\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"fixed\":\"right\",\"width\":\"200\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showManagerDialog(scope.row)}}},[_vm._v(\"管理\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showEditDialog(scope.row)}}},[_vm._v(\"编辑\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.delDataDict(scope.row)}}},[_vm._v(\"删除\")])]}}])})],1),_vm._v(\" \"),_c('el-pagination',{attrs:{\"current-page\":_vm.currpage,\"page-sizes\":[5, 10, 20, 30],\"page-size\":_vm.queryInfo.pageSize,\"layout\":\"prev, pager, next, sizes, total, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"添加\",\"visible\":_vm.addDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.addDialogVisible=$event},\"close\":_vm.addDialogClose}},[_c('el-form',{ref:\"addFormRef\",attrs:{\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"字典值\",\"prop\":\"dictCode\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入字典值\"},model:{value:(_vm.addForm.dictCode),callback:function ($$v) {_vm.$set(_vm.addForm, \"dictCode\", $$v)},expression:\"addForm.dictCode\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"字典名称\",\"prop\":\"dictValue\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入字典名称\"},model:{value:(_vm.addForm.dictValue),callback:function ($$v) {_vm.$set(_vm.addForm, \"dictValue\", $$v)},expression:\"addForm.dictValue\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入备注信息\"},model:{value:(_vm.addForm.comments),callback:function ($$v) {_vm.$set(_vm.addForm, \"comments\", $$v)},expression:\"addForm.comments\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.addDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addDataDict}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"修改\",\"visible\":_vm.editDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.editDialogVisible=$event},\"close\":_vm.editDialogClose}},[_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"字典值\",\"prop\":\"dictCode\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入字典值\",\"disabled\":\"\"},model:{value:(_vm.editForm.dictCode),callback:function ($$v) {_vm.$set(_vm.editForm, \"dictCode\", $$v)},expression:\"editForm.dictCode\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"字典名称\",\"prop\":\"dictValue\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入字典名称\"},model:{value:(_vm.editForm.dictValue),callback:function ($$v) {_vm.$set(_vm.editForm, \"dictValue\", $$v)},expression:\"editForm.dictValue\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\",\"placeholder\":\"请输入备注信息\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.editForm.comments),callback:function ($$v) {_vm.$set(_vm.editForm, \"comments\", $$v)},expression:\"editForm.comments\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editDataDict}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"管理\",\"visible\":_vm.managerDialogVisible,\"close-on-click-modal\":false,\"width\":\"50%\"},on:{\"update:visible\":function($event){_vm.managerDialogVisible=$event},\"close\":_vm.managerDialogClose}},[_c('el-row',[_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"primary\"},on:{\"click\":_vm.addSubDataDict}},[_vm._v(\"添加字典\")])],1)],1),_vm._v(\" \"),_c('el-table',{ref:\"managerFormRef\",attrs:{\"data\":_vm.managerDataDictList,\"fit\":true,\"rules\":_vm.addFormRules}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"type\":\"index\",\"align\":\"center\",\"width\":\"100\"}}),_vm._v(\" \"),(false)?_c('el-table-column',{attrs:{\"label\":\"ID\",\"prop\":\"id\"}}):_vm._e(),_vm._v(\" \"),(true)?_c('el-table-column',{attrs:{\"label\":\"字典值\",\"prop\":\"subDictCode\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{staticClass:\"manager-dictCode-input\",attrs:{\"placeholder\":\"请输入字典值\"},model:{value:(scope.row.dictCode),callback:function ($$v) {_vm.$set(scope.row, \"dictCode\", $$v)},expression:\"scope.row.dictCode\"}})]}}],null,false,3844381911)}):_vm._e(),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"字典名称\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{staticClass:\"manager-dictName-input\",attrs:{\"placeholder\":\"请输入字典名称\"},model:{value:(scope.row.dictValue),callback:function ($$v) {_vm.$set(scope.row, \"dictValue\", $$v)},expression:\"scope.row.dictValue\"}})]}}])}),_vm._v(\" \"),(false)?_c('el-table-column',{attrs:{\"label\":\"父级ID\",\"prop\":\"fatherId\"}}):_vm._e(),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"备注\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"请输入备注信息\"},model:{value:(scope.row.comments),callback:function ($$v) {_vm.$set(scope.row, \"comments\", $$v)},expression:\"scope.row.comments\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"fixed\":\"right\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{staticClass:\"dict-add-button\",attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":_vm.addSubDataDict}},[_vm._v(\" + \")]),_vm._v(\" \"),_c('el-button',{staticClass:\"dict-add-button\",attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.delSubDataDict(scope)}}},[_vm._v(\" - \")])]}}])})],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.managerDialogClose}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.updateSubDataDict}},[_vm._v(\"确 定\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-028117ca\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/systemmanager/Dict.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-028117ca\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Dict.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Dict.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Dict.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-028117ca\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Dict.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-028117ca\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/systemmanager/Dict.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}