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\\equipmentManage\\electric-add-or-update.vue?vue&type=template&id=96687e96&scoped=true&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\electric-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 {\n staticStyle: { display: \"none\" },\n attrs: { prop: \"tfId\", label: \"id\" }\n },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"请输入\", clearable: \"\" },\n model: {\n value: _vm.dataForm.tfId,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"tfId\", $$v)\n },\n expression: \"dataForm.tfId\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { prop: \"tfDevicename\", label: \"设备名称\" } },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"请输入\", clearable: \"\" },\n model: {\n value: _vm.dataForm.tfDevicename,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"tfDevicename\", $$v)\n },\n expression: \"dataForm.tfDevicename\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { prop: \"tfDevicesn\", label: \"设备序列号\" } },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"请输入\", clearable: \"\" },\n model: {\n value: _vm.dataForm.tfDevicesn,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"tfDevicesn\", $$v)\n },\n expression: \"dataForm.tfDevicesn\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { prop: \"tfIpgateway\", label: \"IP地址\" } },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"请输入\", clearable: \"\" },\n model: {\n value: _vm.dataForm.tfIpgateway,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"tfIpgateway\", $$v)\n },\n expression: \"dataForm.tfIpgateway\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { prop: \"tfSetupaddr\", label: \"安装位置\" } },\n [\n _c(\"el-cascader\", {\n staticStyle: { width: \"100%\" },\n attrs: {\n props: { value: \"df_floorid\", label: \"df_floorname\" },\n clearable: \"\",\n placeholder: \"请选择\",\n options: _vm.tfSetupaddrList\n },\n on: { change: _vm.handleRoomChange },\n model: {\n value: _vm.dataForm.tfSetupaddr,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"tfSetupaddr\", $$v)\n },\n expression: \"dataForm.tfSetupaddr\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { prop: \"tfExpirydate\", label: \"有效期\" } },\n [\n _c(\"el-date-picker\", {\n staticStyle: { width: \"100%\" },\n attrs: {\n type: \"date\",\n \"value-format\": \"yyyy-MM-dd\",\n placeholder: \"请选择\"\n },\n model: {\n value: _vm.dataForm.tfExpirydate,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"tfExpirydate\", $$v)\n },\n expression: \"dataForm.tfExpirydate\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n {\n attrs: { prop: \"scTransformerroomDTOList\", label: \"检测端编号\" }\n },\n _vm._l(_vm.dataForm.scTransformerroomDTOList, function(\n item,\n index\n ) {\n return _c(\n \"el-row\",\n { key: index },\n [\n _c(\n \"el-col\",\n { attrs: { span: 2 } },\n [\n _c(\"el-input\", {\n attrs: { disabled: true },\n model: {\n value: item.tfrPortaddr,\n callback: function($$v) {\n _vm.$set(item, \"tfrPortaddr\", $$v)\n },\n expression: \"item.tfrPortaddr\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-col\",\n { attrs: { span: 22 } },\n [\n _c(\n \"el-select\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { placeholder: \"请选择\", clearable: \"\" },\n on: {\n change: function($event) {\n return _vm.selectHandle($event, item)\n }\n },\n model: {\n value: item.drId,\n callback: function($$v) {\n _vm.$set(item, \"drId\", $$v)\n },\n expression: \"item.drId\"\n }\n },\n _vm._l(_vm.roomList, function(item) {\n return _c(\"el-option\", {\n key: item.drId,\n attrs: { label: item.drNum, value: item.drId }\n })\n }),\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n }),\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"备注\", prop: \"remark\" } },\n [\n _c(\"el-input\", {\n attrs: { type: \"textarea\", clearable: \"\" },\n model: {\n value: _vm.dataForm.remark,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"remark\", $$v)\n },\n expression: \"dataForm.remark\"\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 directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.loading,\n expression: \"loading\"\n }\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 }"]} |