1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6cd10a46"],{"309e":function(e,t,a){"use strict";a("fb47")},4101:function(e,t,a){"use strict";a.d(t,"g",(function(){return o})),a.d(t,"d",(function(){return n})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return s})),a.d(t,"c",(function(){return l})),a.d(t,"f",(function(){return c})),a.d(t,"e",(function(){return m})),a.d(t,"b",(function(){return u})),a.d(t,"h",(function(){return d}));var r=a("b775");function o(e){return Object(r["a"])({url:"/caseroom/list",method:"get",params:e})}function n(e){return Object(r["a"])({url:"/caseroom/"+e,method:"get"})}function i(e){return Object(r["a"])({url:"/caseroom",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/caseroom",method:"put",data:e})}function l(e){return Object(r["a"])({url:"/caseroom/"+e,method:"delete"})}function c(e){return Object(r["a"])({url:"/videoApi/devices",method:"get",params:e})}function m(e){return Object(r["a"])({url:"/videoApi/channels",method:"get",params:e})}function u(e){return Object(r["a"])({url:"/caseroom/apply/start",method:"post",data:e})}function d(e){return Object(r["a"])({url:"/caseroom/caseroomapplylist",method:"get",params:e,timeout:1e4})}},"664c":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"68px"}},[a("el-form-item",{attrs:{label:"房间名",prop:"roomName"}},[a("el-input",{attrs:{placeholder:"请输入房间名",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.roomName,callback:function(t){e.$set(e.queryParams,"roomName",t)},expression:"queryParams.roomName"}})],1),a("el-form-item",[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:caseroom:query"],expression:"['system:caseroom:query']"}],attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:caseroom:add"],expression:"['system:caseroom:add']"}],attrs:{type:"primary",plain:"",icon:"el-icon-plus",size:"mini"},on:{click:e.handleAdd}},[e._v("新增")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:caseroom:edit"],expression:"['system:caseroom:edit']"}],attrs:{type:"success",plain:"",icon:"el-icon-edit",size:"mini",disabled:e.single},on:{click:e.handleUpdate}},[e._v("修改")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:caseroom:remove"],expression:"['system:caseroom:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),a("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{border:"",data:e.newData},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),a("el-table-column",{attrs:{type:"index",align:"center",width:"50"}}),a("el-table-column",{attrs:{label:"房间名",align:"center",prop:"roomName"}}),a("el-table-column",{attrs:{label:"硬盘录像机IP",align:"center",prop:"devip"}}),a("el-table-column",{attrs:{label:"登录账号",align:"center",prop:"username"}}),a("el-table-column",{attrs:{label:"登录密码",align:"center",prop:"psw"}}),a("el-table
|