forked from zhurui/management
1 line
7.2 KiB
JSON
1 line
7.2 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\dept-add-or-update.vue?vue&type=template&id=cff5a33a&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\dept-add-or-update.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\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(\n \"el-dialog\",\n {\n attrs: {\n visible: _vm.visible,\n title: !_vm.dataForm.id ? _vm.$t(\"add\") : _vm.$t(\"update\"),\n \"close-on-click-modal\": false,\n \"close-on-press-escape\": false\n },\n on: {\n \"update:visible\": function($event) {\n _vm.visible = $event\n }\n }\n },\n [\n _c(\n \"el-form\",\n {\n ref: \"dataForm\",\n attrs: {\n model: _vm.dataForm,\n rules: _vm.dataRule,\n \"label-width\": \"120px\"\n },\n nativeOn: {\n keyup: function($event) {\n if (\n !$event.type.indexOf(\"key\") &&\n _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")\n ) {\n return null\n }\n return _vm.dataFormSubmitHandle()\n }\n }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { prop: \"name\", label: _vm.$t(\"dept.name\") } },\n [\n _c(\"el-input\", {\n attrs: { placeholder: _vm.$t(\"dept.name\") },\n model: {\n value: _vm.dataForm.name,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"name\", $$v)\n },\n expression: \"dataForm.name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n {\n staticClass: \"dept-list\",\n attrs: { prop: \"parentName\", label: _vm.$t(\"dept.parentName\") }\n },\n [\n _c(\n \"el-popover\",\n {\n ref: \"deptListPopover\",\n attrs: { placement: \"bottom-start\", trigger: \"click\" },\n model: {\n value: _vm.deptListVisible,\n callback: function($$v) {\n _vm.deptListVisible = $$v\n },\n expression: \"deptListVisible\"\n }\n },\n [\n _c(\"el-tree\", {\n ref: \"deptListTree\",\n attrs: {\n data: _vm.deptList,\n props: { label: \"name\", children: \"children\" },\n \"node-key\": \"id\",\n \"highlight-current\": true,\n \"expand-on-click-node\": false,\n accordion: \"\"\n },\n on: {\n \"current-change\": _vm.deptListTreeCurrentChangeHandle\n }\n })\n ],\n 1\n ),\n _c(\n \"el-input\",\n {\n directives: [\n {\n name: \"popover\",\n rawName: \"v-popover:deptListPopover\",\n arg: \"deptListPopover\"\n }\n ],\n attrs: {\n readonly: true,\n placeholder: _vm.$t(\"dept.parentName\")\n },\n model: {\n value: _vm.dataForm.parentName,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"parentName\", $$v)\n },\n expression: \"dataForm.parentName\"\n }\n },\n [\n _vm.$store.state.user.superAdmin === 1 &&\n _vm.dataForm.pid !== \"0\"\n ? _c(\"i\", {\n staticClass: \"el-icon-circle-close el-input__icon\",\n attrs: { slot: \"suffix\" },\n on: {\n click: function($event) {\n $event.stopPropagation()\n return _vm.deptListTreeSetDefaultHandle()\n }\n },\n slot: \"suffix\"\n })\n : _vm._e()\n ]\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { prop: \"sort\", label: _vm.$t(\"dept.sort\") } },\n [\n _c(\"el-input-number\", {\n attrs: {\n \"controls-position\": \"right\",\n min: 0,\n label: _vm.$t(\"dept.sort\")\n },\n model: {\n value: _vm.dataForm.sort,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"sort\", $$v)\n },\n expression: \"dataForm.sort\"\n }\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"template\",\n { slot: \"footer\" },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.visible = false\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"cancel\")))]\n ),\n _c(\n \"el-button\",\n {\n attrs: { type: \"primary\" },\n on: {\n click: function($event) {\n return _vm.dataFormSubmitHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"confirm\")))]\n )\n ],\n 1\n )\n ],\n 2\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]} |