1 line
10 KiB
JSON
1 line
10 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\\building\\add-or-update.vue?vue&type=template&id=8f974864&scoped=true&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\building\\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 staticClass: \"add-update-building\",\n attrs: {\n title: _vm.type === \"post\" ? \"新增\" : \"修改\",\n visible: _vm.dialogVisible,\n width: \"500px\",\n \"close-on-click-modal\": false\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible = $event\n }\n }\n },\n [\n _c(\n \"div\",\n [\n _c(\n \"el-form\",\n {\n ref: \"dataForm\",\n attrs: {\n rules: _vm.rules,\n model: _vm.dataForm,\n \"label-width\": \"80px\"\n }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"上级\" } },\n [\n _c(\"building-tree\", {\n attrs: {\n placeholder: \"选择上级\",\n \"build-type\": _vm.dataForm.dfType,\n purpose: _vm.dataForm.dfPurpose,\n \"parent-name\": _vm.dataForm.dfParentName\n },\n on: {\n \"update:buildType\": function($event) {\n return _vm.$set(_vm.dataForm, \"dfType\", $event)\n },\n \"update:build-type\": function($event) {\n return _vm.$set(_vm.dataForm, \"dfType\", $event)\n },\n \"update:purpose\": function($event) {\n return _vm.$set(_vm.dataForm, \"dfPurpose\", $event)\n },\n \"update:parentName\": function($event) {\n return _vm.$set(_vm.dataForm, \"dfParentName\", $event)\n },\n \"update:parent-name\": function($event) {\n return _vm.$set(_vm.dataForm, \"dfParentName\", $event)\n }\n },\n model: {\n value: _vm.dataForm.dfParentid,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"dfParentid\", $$v)\n },\n expression: \"dataForm.dfParentid\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"类型\", prop: \"dfType\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: {\n disabled: _vm.dataForm.dfParentid != \"0\",\n placeholder: \"请选择\"\n },\n on: { change: _vm.typeHandle },\n model: {\n value: _vm.dataForm.dfType,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"dfType\", $$v)\n },\n expression: \"dataForm.dfType\"\n }\n },\n _vm._l(_vm.dfTypeList, function(item) {\n return _c(\"el-option\", {\n key: item.dictLabel,\n attrs: { label: item.dictLabel, value: item.dictValue }\n })\n }),\n 1\n )\n ],\n 1\n ),\n _vm.dataForm.dfType == \"1\"\n ? _c(\n \"el-form-item\",\n { attrs: { label: \"位置\", prop: \"uwbFloors\" } },\n [\n _c(\"el-cascader\", {\n staticStyle: { width: \"100%\" },\n attrs: {\n clearable: \"\",\n placeholder: \"请选择\",\n options: _vm.uwbFloorList\n },\n model: {\n value: _vm.dataForm.uwbFloors,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"uwbFloors\", $$v)\n },\n expression: \"dataForm.uwbFloors\"\n }\n })\n ],\n 1\n )\n : _vm._e(),\n _vm.dataForm.dfType == \"2\"\n ? _c(\n \"el-form-item\",\n { attrs: { label: \"房间人数\", prop: \"drCapacity\" } },\n [\n _c(\"el-input-number\", {\n attrs: {\n min: 0,\n controls: false,\n placeholder: \"请输入\"\n },\n model: {\n value: _vm.dataForm.drCapacity,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"drCapacity\", $$v)\n },\n expression: \"dataForm.drCapacity\"\n }\n })\n ],\n 1\n )\n : _vm._e(),\n _c(\n \"el-form-item\",\n { attrs: { label: \"用途\", prop: \"dfPurpose\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: {\n disabled:\n _vm.type === \"put\" || _vm.dataForm.dfParentid != \"0\",\n placeholder: \"请选择\"\n },\n model: {\n value: _vm.dataForm.dfPurpose,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"dfPurpose\", $$v)\n },\n expression: \"dataForm.dfPurpose\"\n }\n },\n _vm._l(_vm.dfPurposeList, function(item) {\n return _c(\"el-option\", {\n key: item.dictLabel,\n attrs: { label: item.dictLabel, value: item.dictValue }\n })\n }),\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"名称\", prop: \"dfFloorname\" } },\n [\n _c(\"el-input\", {\n model: {\n value: _vm.dataForm.dfFloorname,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"dfFloorname\", $$v)\n },\n expression: \"dataForm.dfFloorname\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"排序\", prop: \"dfOrder\" } },\n [\n _c(\"el-input-number\", {\n attrs: { min: 0, controls: false, placeholder: \"请输入\" },\n model: {\n value: _vm.dataForm.dfOrder,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"dfOrder\", $$v)\n },\n expression: \"dataForm.dfOrder\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"div\",\n { attrs: { slot: \"footer\" }, slot: \"footer\" },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n {\n directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.loading,\n expression: \"loading\"\n }\n ],\n attrs: { type: \"primary\" },\n on: { click: _vm.submitForm }\n },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]} |