FastBee/docker/data/nginx/vue/static/js/chunk-264209f0.190704d6.js

1 line
11 KiB
JavaScript
Raw Permalink Normal View History

2025-07-07 09:21:15 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-264209f0"],{"1e36":function(t,e,o){"use strict";o.d(e,"d",(function(){return c})),o.d(e,"e",(function(){return i})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return l})),o.d(e,"f",(function(){return u})),o.d(e,"b",(function(){return n}));var r=o("b775");function c(t){return Object(r["a"])({url:"/iot/category/list",method:"get",params:t})}function i(t){return Object(r["a"])({url:"/iot/category/shortlist",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/iot/category/"+t,method:"get"})}function l(t){return Object(r["a"])({url:"/iot/category",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/iot/category",method:"put",data:t})}function n(t){return Object(r["a"])({url:"/iot/category/"+t,method:"delete"})}},"9b9c":function(t,e,o){"use strict";o.d(e,"g",(function(){return c})),o.d(e,"h",(function(){return i})),o.d(e,"f",(function(){return a})),o.d(e,"a",(function(){return l})),o.d(e,"i",(function(){return u})),o.d(e,"e",(function(){return n})),o.d(e,"b",(function(){return d})),o.d(e,"d",(function(){return s})),o.d(e,"c",(function(){return p}));var r=o("b775");function c(t){return Object(r["a"])({url:"/iot/product/list",method:"get",params:t})}function i(t){return Object(r["a"])({url:"/iot/product/shortList",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/iot/product/"+t,method:"get"})}function l(t){return Object(r["a"])({url:"/iot/product",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/iot/product",method:"put",data:t})}function n(t){return Object(r["a"])({url:"/iot/product/deviceCount/"+t,method:"get"})}function d(t){return Object(r["a"])({url:"/iot/product/status",method:"put",data:t})}function s(t){return Object(r["a"])({url:"/iot/product/"+t,method:"delete"})}function p(t){return Object(r["a"])({url:"/iot/product/copy?productId="+t,method:"post"})}},b1cc:function(t,e,o){"use strict";o.r(e);var r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{attrs:{title:t.$t("product.product-edit.473153-88"),visible:t.open,width:"900px"},on:{"update:visible":function(e){t.open=e}}},[o("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"100px"}},[o("el-row",[o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:t.$t("product.product-edit.473153-1"),prop:"productName"}},[o("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:t.$t("product.product-edit.473153-2")},model:{value:t.form.productName,callback:function(e){t.$set(t.form,"productName",e)},expression:"form.productName"}})],1),o("el-form-item",{attrs:{label:t.$t("product.product-edit.473153-3"),prop:"categoryId"}},[o("el-select",{staticStyle:{width:"300px"},attrs:{placeholder:t.$t("product.product-edit.473153-4"),filterable:!0,clearable:""},on:{change:t.selectCategory},model:{value:t.form.categoryId,callback:function(e){t.$set(t.form,"categoryId",e)},expression:"form.categoryId"}},t._l(t.categoryShortList,(function(t){return o("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),o("el-form-item",{attrs:{label:t.$t("product.product-edit.473153-78"),prop:"deviceType"}},[o("el-select",{staticStyle:{width:"300px"},attrs:{placeholder:t.$t("product.product-edit.473153-13"),filterable:!0,clearable:""},on:{change:t.handleDeviceTypeChange},model:{value:t.form.deviceType,callback:function(e){t.$set(t.form,"deviceType",e)},expression:"form.deviceType"}},t._l(t.dict.type.iot_device_type,(function(t){return o("el-option",{key:t.value,attrs:{label:t.label,value:parseInt(t.value)}})})),1)],1),o("el-form-item",{attrs:{label:t.$t("product.product-edit.473153-91"),prop:"firmwareType"}},[o("el-select",{staticStyle:{width:"300px"},attrs:{placeholder:t.$t("product.product-edit.473153-13"),filterable:!0,clearable:""},model:{value:t.form.firmwareType,callback:function(e){t.$set(t.form,"firmwareType",e)},expression:"form.firmwareType"}},t._l(t.dict.type.iot_firmware_type,(function(t){return o("el-option",{key:t.value,attrs:{label:t.label,value:parseInt(t.value)}})})),1)],1),o("el-for