FastBee/docker/data/nginx/vue/static/js/chunk-2eb20b18.ad2f6b12.js

1 line
12 KiB
JavaScript
Raw Permalink Normal View History

2025-07-07 09:21:15 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2eb20b18","chunk-2d0a3715"],{"01ca":function(e,t,i){"use strict";i.d(t,"f",(function(){return r})),i.d(t,"d",(function(){return a})),i.d(t,"g",(function(){return s})),i.d(t,"a",(function(){return o})),i.d(t,"e",(function(){return l})),i.d(t,"i",(function(){return c})),i.d(t,"c",(function(){return d})),i.d(t,"b",(function(){return u})),i.d(t,"h",(function(){return m}));var n=i("b775");function r(e){return Object(n["a"])({url:"/iot/model/list",method:"get",params:e})}function a(e){return Object(n["a"])({url:"/iot/model/"+e,method:"get"})}function s(e){return Object(n["a"])({url:"/iot/model/permList/"+e,method:"get"})}function o(e){return Object(n["a"])({url:"/iot/model",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/iot/model/import",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/iot/model",method:"put",data:e})}function d(e){return Object(n["a"])({url:"/iot/model/"+e,method:"delete"})}function u(e){return Object(n["a"])({url:"/iot/model/cache/"+e,method:"get"})}function m(e){return Object(n["a"])({url:"/iot/model/synchron",method:"post",data:e})}},2544:function(e,t,i){"use strict";i.d(t,"e",(function(){return r})),i.d(t,"d",(function(){return a})),i.d(t,"f",(function(){return s})),i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return l})),i.d(t,"g",(function(){return c})),i.d(t,"c",(function(){return d}));var n=i("b775");function r(e){return Object(n["a"])({url:"/iot/deviceUser/list",method:"get",params:e})}function a(e,t){return Object(n["a"])({url:"/iot/deviceUser/"+e+"/"+t,method:"get"})}function s(e){return Object(n["a"])({url:"/iot/deviceUser/shareUser",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/iot/deviceUser",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/iot/deviceUser/addDeviceUsers",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/iot/deviceUser",method:"put",data:e})}function d(e){return Object(n["a"])({url:"/iot/deviceUser",method:"delete",data:e})}},b52e:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticStyle:{"padding-left":"20px"}},[i("el-row",{staticClass:"mb8",attrs:{gutter:10}},[i("el-col",{attrs:{span:1.5}},[i("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["iot:device:share"],expression:"['iot:device:share']"}],attrs:{type:"primary",plain:"",icon:"el-icon-share",size:"mini"},on:{click:e.shareDevice}},[e._v("分享设备")])],1),i("el-col",{attrs:{span:1.5}},[i("el-button",{attrs:{type:"warning",plain:"",icon:"el-icon-refresh",size:"mini"},on:{click:e.getList}},[e._v("刷新")])],1)],1),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.deviceUserList,size:"mini"},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{label:"用户编号",align:"center",prop:"userId",width:"100"}}),i("el-table-column",{attrs:{label:"用户名称",align:"center",prop:"userName"}}),i("el-table-column",{attrs:{label:"手机号码",align:"center",prop:"phonenumber",width:"150"}}),i("el-table-column",{attrs:{label:"用户类型",align:"center",prop:"isOwner",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isOwner?i("el-tag",{attrs:{type:"primary"}},[e._v("主人")]):i("el-tag",{attrs:{type:"success"}},[e._v("分享")])]}}])}),i("el-table-column",{attrs:{label:"分享时间",align:"center",prop:"createTime",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(e.parseTime(t.row.createTime,"{y}-{m}-{d}")))])]}}])}),i("el-table-column",{attrs:{label:"备注",align:"left",prop:"remark","header-align":"center","min-width":"150"}}),i("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.isOwner?i("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["iot:device:share"],expression:"['iot:devi