forked from zhurui/management
1 line
8.7 KiB
JSON
1 line
8.7 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\\region.vue?vue&type=template&id=4073e6d0&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\region.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-card\",\n { staticClass: \"aui-card--fill\", attrs: { shadow: \"never\" } },\n [\n _c(\n \"div\",\n { staticClass: \"mod-sys__region\" },\n [\n _c(\n \"el-form\",\n {\n attrs: { inline: true, model: _vm.dataForm },\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.getDataList()\n }\n }\n },\n [\n _c(\n \"el-form-item\",\n [\n _vm.$hasPermission(\"sys:region:save\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"primary\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"add\")))]\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.dataListLoading,\n expression: \"dataListLoading\"\n }\n ],\n staticStyle: { width: \"100%\" },\n attrs: {\n data: _vm.dataList,\n \"row-key\": \"id\",\n border: \"\",\n lazy: \"\",\n load: _vm.load,\n \"tree-props\": {\n children: \"children\",\n hasChildren: \"hasChildren\"\n }\n }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"name\",\n label: _vm.$t(\"region.name\"),\n \"header-align\": \"center\",\n \"min-width\": \"180\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _vm._v(\n \"\\n \" + _vm._s(scope.row.name) + \"\\n \"\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"id\",\n label: _vm.$t(\"region.id\"),\n \"header-align\": \"center\",\n \"min-width\": \"180\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _vm._v(\n \"\\n \" + _vm._s(scope.row.id) + \"\\n \"\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"treeLevel\",\n label: _vm.$t(\"region.type\"),\n \"header-align\": \"center\",\n \"min-width\": \"150\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.treeLevel === 1\n ? _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"region.province\")))\n ])\n : scope.row.treeLevel === 2\n ? _c(\"span\", [_vm._v(_vm._s(_vm.$t(\"region.city\")))])\n : _c(\"span\", [\n _vm._v(_vm._s(_vm.$t(\"region.county\")))\n ])\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"sort\",\n label: _vm.$t(\"region.sort\"),\n \"header-align\": \"center\",\n align: \"center\",\n \"min-width\": \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"updateDate\",\n label: _vm.$t(\"region.updateDate\"),\n \"header-align\": \"center\",\n align: \"center\",\n \"min-width\": \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n label: _vm.$t(\"handle\"),\n fixed: \"right\",\n \"header-align\": \"center\",\n align: \"center\",\n width: \"150\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _vm.$hasPermission(\"sys:region:update\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", size: \"small\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle(scope.row.id)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"update\")))]\n )\n : _vm._e(),\n _vm.$hasPermission(\"sys:region:delete\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\", size: \"small\" },\n on: {\n click: function($event) {\n return _vm.deleteHandle(scope.row.id, true)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"delete\")))]\n )\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n ),\n _vm.addOrUpdateVisible\n ? _c(\"add-or-update\", {\n ref: \"addOrUpdate\",\n on: { refreshDataList: _vm.getDataList }\n })\n : _vm._e()\n ],\n 1\n )\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]} |