forked from zhurui/management
1 line
12 KiB
JSON
1 line
12 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\\light.vue?vue&type=template&id=660afb68&scoped=true&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\light.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 \"el-form\",\n {\n ref: \"ruleForm\",\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 { attrs: { label: \"设备名称\", prop: \"mbdDevicename\" } },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"请输入\", clearable: \"\" },\n model: {\n value: _vm.dataForm.mbdDevicename,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"mbdDevicename\", $$v)\n },\n expression: \"dataForm.mbdDevicename\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"设备状态\", prop: \"mdbStatus\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: { placeholder: \"请选择\", clearable: \"\" },\n model: {\n value: _vm.dataForm.mdbStatus,\n callback: function($$v) {\n _vm.$set(_vm.dataForm, \"mdbStatus\", $$v)\n },\n expression: \"dataForm.mdbStatus\"\n }\n },\n _vm._l(_vm.statusList, function(item) {\n return _c(\"el-option\", {\n key: item.dictValue,\n attrs: { label: item.dictLabel, value: item.dictValue }\n })\n }),\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n return _vm.getDataList()\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"query\")))]\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _c(\n \"el-button\",\n {\n attrs: { type: \"warning\" },\n on: {\n click: function($event) {\n return _vm.resetForm(\"ruleForm\")\n }\n }\n },\n [_vm._v(\"重置\")]\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\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 ],\n 1\n ),\n _c(\n \"el-form-item\",\n [\n _c(\n \"el-button\",\n {\n attrs: { type: \"success\" },\n on: {\n click: function($event) {\n return _vm.importHandle()\n }\n }\n },\n [_vm._v(\"导入\")]\n )\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: { data: _vm.dataList }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n type: \"index\",\n label: \"序号\",\n width: \"100\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"mbdDevicename\",\n label: \"设备名称\",\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"mbdDevicesn\",\n label: \"设备序列号\",\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"mdbStatus\",\n label: \"设备状态\",\n \"header-align\": \"center\",\n align: \"center\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.mdbStatus == 0\n ? _c(\"span\", { staticStyle: { color: \"#67C23A\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.$getDictLabel(\n \"equipment_status\",\n scope.row.mdbStatus\n )\n )\n )\n ])\n : _c(\"span\", { staticStyle: { color: \"#f56c6c\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.$getDictLabel(\n \"equipment_status\",\n scope.row.mdbStatus\n )\n )\n )\n ])\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"mbdNetwork\",\n label: \"是否组网\",\n \"header-align\": \"center\",\n align: \"center\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _vm._v(\n \"\\n\\t\\t\\t\\t\" +\n _vm._s(scope.row.mbdNetwork == 0 ? \"否\" : \"是\") +\n \"\\n\\t\\t\\t\"\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"mbdUwbaddr\",\n label: \"安装位置\",\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"mbdSetupdate\",\n label: \"安装时间\",\n \"header-align\": \"center\",\n align: \"center\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"mbdExpirydate\",\n label: \"有效期\",\n \"header-align\": \"center\",\n align: \"center\"\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 },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"el-button\",\n {\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n return _vm.addOrUpdateHandle(scope.row.mbdId)\n }\n }\n },\n [_vm._v(_vm._s(_vm.$t(\"update\")))]\n ),\n scope.row.mbdNetwork == 0\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n return _vm.deleteHandle(scope.row.mbdId)\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 _c(\"el-pagination\", {\n attrs: {\n \"current-page\": _vm.page,\n \"page-sizes\": [10, 20, 50, 100],\n \"page-size\": _vm.limit,\n total: _vm.total,\n layout: \"total, sizes, prev, pager, next, jumper\"\n },\n on: {\n \"size-change\": _vm.pageSizeChangeHandle,\n \"current-change\": _vm.pageCurrentChangeHandle\n }\n }),\n _vm.addOrUpdateVisible\n ? _c(\"add-or-update\", {\n ref: \"addOrUpdate\",\n on: { refreshDataList: _vm.getDataList }\n })\n : _vm._e(),\n _c(\"upload\", {\n ref: \"studentUploadExcel\",\n attrs: {\n \"template-url\": \"./template/equipment/智能照明设备表导入模板.xls\",\n \"upload-url\": \"/system/scmodbusdevicedc/importSLExcel\"\n }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]} |