Commit 8e3ae77f by zzrdark

1.修改渠道号模块等问题

parent dfccfab2
......@@ -163,6 +163,21 @@ INSERT INTO `sys_func` VALUES (32, 31, '查看', NULL, 'sys:dept:list,sys:dept:i
INSERT INTO `sys_func` VALUES (33, 31, '新增', NULL, 'sys:dept:save,sys:dept:select', 2, 0);
INSERT INTO `sys_func` VALUES (34, 31, '修改', NULL, 'sys:dept:update,sys:dept:select', 2, 0);
INSERT INTO `sys_func` VALUES (35, 31, '删除', NULL, 'sys:dept:delete', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (36, 1, '产品系列管理', NULL, 'configManagement:productSeries:list', 1, 1);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (37, 36, '添加产品系列', NULL, 'configManagement:productSeries:add', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (38, 36, '修改产品系列', NULL, 'configManagement:productSeries:edit', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (39, 1, '渠道号管理', NULL, 'configManagement:deviceChannel:list', 1, 2);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (40, 39, '添加渠道号', NULL, 'configManagement:deviceChannel:add', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (41, 39, '修改渠道号', NULL, 'configManagement:deviceChannel:edit', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (42, 1, '设备控制,设备渠道号统计', NULL, 'deviceManagement:device:list', 1, 1);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (43, 42, '导入设备', NULL, 'deviceManagement:device:add', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (44, 42, '变更产品系列,适配配置,批量配置', NULL, 'deviceManagement:device:edit', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (46, 1, '日志列表', NULL, 'remotelog:logfile:list', 1, 1);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (47, 36, '删除产品系列', NULL, 'configManagement:productSeries:delete', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (48, 42, '删除设备', NULL, 'deviceManagement:device:delete', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (49, 39, '删除渠道号', NULL, 'configManagement:deviceChannel:delete', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (50, 46, '修改日志', NULL, 'remotelog:logfile:edit', 2, 0);
INSERT INTO `cneeds_server`.`sys_func`(`func_id`, `parent_id`, `name`, `url`, `perms`, `type`, `order_num`) VALUES (51, 46, '删除日志', NULL, 'remotelog:logfile:delete', 2, 0);
-- ----------------------------
-- Table structure for sys_role
......
spring:
profiles:
active: dev
active: prod
application:
name: cneeds-server-authorization
server:
......
spring:
profiles:
active: dev
active: prod
application:
name: cneeds-server-datashow
server:
......
.excel-upload-input[data-v-bad043b2]{display:none;z-index:-9999}.drop[data-v-bad043b2]{border:2px dashed #bbb;width:600px;height:160px;line-height:160px;margin:0 auto;font-size:24px;border-radius:5px;text-align:center;color:#bbb;position:relative}
\ No newline at end of file
.excel-upload-input[data-v-7884a998]{display:none;z-index:-9999}.drop[data-v-7884a998]{border:2px dashed #bbb;width:600px;height:160px;line-height:160px;margin:0 auto;font-size:24px;border-radius:5px;text-align:center;color:#bbb;position:relative}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-06ed166b"],{"0173":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-container",[t("el-main",[t("el-form",{ref:"editChannel",attrs:{model:e.channel,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{prop:"seriesNum",label:"渠道号"}},[t("el-input",{model:{value:e.channel.channelNum,callback:function(n){e.$set(e.channel,"channelNum",n)},expression:"channel.channelNum"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"remark",label:"品牌描述:"}},[t("el-input",{model:{value:e.channel.brand,callback:function(n){e.$set(e.channel,"brand",n)},expression:"channel.brand"}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),t("el-button",{on:{click:e.toDeviceChannelList}},[e._v("取消")])],1)],1)],1)],1)},i=[],c=(t("ac6a"),t("456d"),t("aa98")),r={channelNum:"渠道号",brand:"品牌描述"},u={data:function(){var e=function(e,n,t){0===n.length?t(new Error(r[e.field]+"必须填写")):t()};return{loading:!1,channel:{channelNum:"",brand:""},rules:{channelNum:[{validator:e}],brand:[{validator:e}]}}},mounted:function(){this.channel=this.$route.query.channel},methods:{setDefault:function(){this.$refs.editChannel.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.editChannel.validate((function(n,t){if(n)Object(c["m"])(e.channel).then((function(n){var t=n.msg;e.$notify({title:"操作成功",message:t,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toDeviceChannelList()})).catch((function(){e.loading=!1}));else{var a=t[Object.keys(t)[0]][0].message;e.$message({message:a,type:"error"}),e.loading=!1}})))},handleChange:function(e){var n=e.length;n-=1,this.dept.parentId=e[n]},toDeviceChannelList:function(){this.$router.push({path:"/configManagement/deviceChannel"})}}},d=u,o=t("2877"),l=Object(o["a"])(d,a,i,!1,null,"1c8c5750",null);n["default"]=l.exports},aa98:function(e,n,t){"use strict";t.d(n,"g",(function(){return i})),t.d(n,"h",(function(){return c})),t.d(n,"n",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"p",(function(){return d})),t.d(n,"l",(function(){return o})),t.d(n,"j",(function(){return l})),t.d(n,"f",(function(){return s})),t.d(n,"a",(function(){return h})),t.d(n,"m",(function(){return v})),t.d(n,"i",(function(){return f})),t.d(n,"c",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"o",(function(){return b})),t.d(n,"k",(function(){return g})),t.d(n,"e",(function(){return C}));t("55dd");var a=t("b775");function i(e){return Object(a["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function c(e){return Object(a["a"])({url:"/device/device/importDevice",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function d(e){return Object(a["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(a["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function h(e){return Object(a["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function v(e){return Object(a["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function f(){return Object(a["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(a["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(a["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(a["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(a["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function C(e){return Object(a["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-06ed166b"],{"0173":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-container",[t("el-main",[t("el-form",{ref:"editChannel",attrs:{model:e.channel,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{prop:"seriesNum",label:"渠道号"}},[t("el-input",{model:{value:e.channel.channelNum,callback:function(n){e.$set(e.channel,"channelNum",n)},expression:"channel.channelNum"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"remark",label:"品牌描述:"}},[t("el-input",{model:{value:e.channel.brand,callback:function(n){e.$set(e.channel,"brand",n)},expression:"channel.brand"}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),t("el-button",{on:{click:e.toDeviceChannelList}},[e._v("取消")])],1)],1)],1)],1)},i=[],c=(t("ac6a"),t("456d"),t("aa98")),r={channelNum:"渠道号",brand:"品牌描述"},u={data:function(){var e=function(e,n,t){0===n.length?t(new Error(r[e.field]+"必须填写")):t()};return{loading:!1,channel:{channelNum:"",brand:""},rules:{channelNum:[{validator:e}],brand:[{validator:e}]}}},mounted:function(){this.channel=this.$route.query.channel},methods:{setDefault:function(){this.$refs.editChannel.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.editChannel.validate((function(n,t){if(n)Object(c["m"])(e.channel).then((function(n){var t=n.msg;e.$notify({title:"操作成功",message:t,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toDeviceChannelList()})).catch((function(){e.loading=!1}));else{var a=t[Object.keys(t)[0]][0].message;e.$message({message:a,type:"error"}),e.loading=!1}})))},handleChange:function(e){var n=e.length;n-=1,this.dept.parentId=e[n]},toDeviceChannelList:function(){this.$router.push({path:"/configManagement/deviceChannel"})}}},d=u,o=t("2877"),l=Object(o["a"])(d,a,i,!1,null,"1c8c5750",null);n["default"]=l.exports},aa98:function(e,n,t){"use strict";t.d(n,"g",(function(){return i})),t.d(n,"h",(function(){return c})),t.d(n,"n",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"p",(function(){return d})),t.d(n,"l",(function(){return o})),t.d(n,"j",(function(){return l})),t.d(n,"f",(function(){return s})),t.d(n,"a",(function(){return h})),t.d(n,"m",(function(){return v})),t.d(n,"i",(function(){return f})),t.d(n,"c",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"o",(function(){return b})),t.d(n,"k",(function(){return g})),t.d(n,"e",(function(){return C}));t("55dd");var a=t("b775");function i(e){return Object(a["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesId:e.seriesId,imei:e.imei}})}function c(e){return Object(a["a"])({url:"/device/device/importDevice",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function d(e){return Object(a["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(a["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,channelNum:e.channelNum}})}function h(e){return Object(a["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function v(e){return Object(a["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function f(){return Object(a["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(a["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(a["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(a["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(a["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function C(e){return Object(a["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22e5f704"],{3304:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-container",[t("el-main",[t("el-form",{ref:"addChannel",attrs:{model:e.channel,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{prop:"seriesNum",label:"渠道号"}},[t("el-input",{model:{value:e.channel.channelNum,callback:function(n){e.$set(e.channel,"channelNum",n)},expression:"channel.channelNum"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"remark",label:"品牌车型:"}},[t("el-input",{attrs:{placeholder:"奥迪-车系"},model:{value:e.channel.brand,callback:function(n){e.$set(e.channel,"brand",n)},expression:"channel.brand"}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("添加")]),e._v(" "),t("el-button",{on:{click:e.toSeriesList}},[e._v("取消")])],1)],1)],1)],1)},i=[],r=(t("ac6a"),t("456d"),t("aa98")),c={channelNum:"渠道号",brand:"品牌车型"},d={data:function(){var e=function(e,n,t){0===n.length?t(new Error(c[e.field]+"必须填写")):t()};return{loading:!1,channel:{channelNum:"",brand:""},rules:{channelNum:[{validator:e}],brand:[{validator:e}]}}},mounted:function(){},methods:{setDefault:function(){this.$refs.addSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.addChannel.validate((function(n,t){if(n)Object(r["a"])(e.channel).then((function(n){var t=n.msg;e.$notify({title:"操作成功",message:t,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toSeriesList()})).catch((function(){e.loading=!1}));else{var a=t[Object.keys(t)[0]][0].message;e.$message({message:a,type:"error"}),e.loading=!1}})))},toSeriesList:function(){this.$router.push({path:"/configManagement/deviceChannel"})}}},u=d,o=t("2877"),l=Object(o["a"])(u,a,i,!1,null,"5398e163",null);n["default"]=l.exports},aa98:function(e,n,t){"use strict";t.d(n,"g",(function(){return i})),t.d(n,"h",(function(){return r})),t.d(n,"n",(function(){return c})),t.d(n,"b",(function(){return d})),t.d(n,"p",(function(){return u})),t.d(n,"l",(function(){return o})),t.d(n,"j",(function(){return l})),t.d(n,"f",(function(){return s})),t.d(n,"a",(function(){return h})),t.d(n,"m",(function(){return f})),t.d(n,"i",(function(){return v})),t.d(n,"c",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"o",(function(){return b})),t.d(n,"k",(function(){return g})),t.d(n,"e",(function(){return j}));t("55dd");var a=t("b775");function i(e){return Object(a["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function r(e){return Object(a["a"])({url:"/device/device/importDevice",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function u(e){return Object(a["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(a["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function h(e){return Object(a["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function f(e){return Object(a["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function v(){return Object(a["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(a["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(a["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(a["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(a["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function j(e){return Object(a["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22e5f704"],{3304:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-container",[t("el-main",[t("el-form",{ref:"addChannel",attrs:{model:e.channel,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{prop:"seriesNum",label:"渠道号"}},[t("el-input",{model:{value:e.channel.channelNum,callback:function(n){e.$set(e.channel,"channelNum",n)},expression:"channel.channelNum"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"remark",label:"品牌车型:"}},[t("el-input",{attrs:{placeholder:"奥迪-车系"},model:{value:e.channel.brand,callback:function(n){e.$set(e.channel,"brand",n)},expression:"channel.brand"}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("添加")]),e._v(" "),t("el-button",{on:{click:e.toSeriesList}},[e._v("取消")])],1)],1)],1)],1)},i=[],r=(t("ac6a"),t("456d"),t("aa98")),c={channelNum:"渠道号",brand:"品牌车型"},d={data:function(){var e=function(e,n,t){0===n.length?t(new Error(c[e.field]+"必须填写")):t()};return{loading:!1,channel:{channelNum:"",brand:""},rules:{channelNum:[{validator:e}],brand:[{validator:e}]}}},mounted:function(){},methods:{setDefault:function(){this.$refs.addSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.addChannel.validate((function(n,t){if(n)Object(r["a"])(e.channel).then((function(n){var t=n.msg;e.$notify({title:"操作成功",message:t,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toSeriesList()})).catch((function(){e.loading=!1}));else{var a=t[Object.keys(t)[0]][0].message;e.$message({message:a,type:"error"}),e.loading=!1}})))},toSeriesList:function(){this.$router.push({path:"/configManagement/deviceChannel"})}}},u=d,o=t("2877"),l=Object(o["a"])(u,a,i,!1,null,"5398e163",null);n["default"]=l.exports},aa98:function(e,n,t){"use strict";t.d(n,"g",(function(){return i})),t.d(n,"h",(function(){return r})),t.d(n,"n",(function(){return c})),t.d(n,"b",(function(){return d})),t.d(n,"p",(function(){return u})),t.d(n,"l",(function(){return o})),t.d(n,"j",(function(){return l})),t.d(n,"f",(function(){return s})),t.d(n,"a",(function(){return h})),t.d(n,"m",(function(){return f})),t.d(n,"i",(function(){return v})),t.d(n,"c",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"o",(function(){return b})),t.d(n,"k",(function(){return g})),t.d(n,"e",(function(){return j}));t("55dd");var a=t("b775");function i(e){return Object(a["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesId:e.seriesId,imei:e.imei}})}function r(e){return Object(a["a"])({url:"/device/device/importDevice",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function u(e){return Object(a["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(a["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,channelNum:e.channelNum}})}function h(e){return Object(a["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function f(e){return Object(a["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function v(){return Object(a["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(a["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(a["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(a["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(a["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function j(e){return Object(a["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47af9ee4"],{"544f":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-container",[r("el-main",[r("el-form",{ref:"editSeries",attrs:{model:e.series,rules:e.rules,"label-width":"80px"}},[r("el-form-item",{attrs:{prop:"seriesNum",label:"产品系列号"}},[r("el-input",{model:{value:e.series.seriesNum,callback:function(t){e.$set(e.series,"seriesNum",t)},expression:"series.seriesNum"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"remark",label:"产品系列详情:"}},[r("el-input",{model:{value:e.series.remark,callback:function(t){e.$set(e.series,"remark",t)},expression:"series.remark"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),r("el-button",{on:{click:e.toSeriesList}},[e._v("取消")])],1)],1)],1)],1)},i=[],n=(r("ac6a"),r("456d"),r("7d09")),a=r("ed08"),o={seriesNum:"系列号",remark:"描述"},u={data:function(){var e=function(e,t,r){0===t.length?r(new Error(o[e.field]+"必须填写")):r()};return{loading:!1,series:{seriesNum:"",remark:""},rules:{seriesNum:[{validator:e}],remark:[{validator:e}]}}},mounted:function(){this.series=this.$route.query.series},methods:{setDefault:function(){this.$refs.editSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.editSeries.validate((function(t,r){if(t)e.series.createTime=Object(a["d"])(e.series.createTime,"{y}-{m}-{d} {h}:{i}:{s}"),Object(n["c"])(e.series).then((function(t){var r=t.msg;e.$notify({title:"操作成功",message:r,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toSeriesList()})).catch((function(){e.loading=!1}));else{var s=r[Object.keys(r)[0]][0].message;e.$message({message:s,type:"error"}),e.loading=!1}})))},handleChange:function(e){var t=e.length;t-=1,this.dept.parentId=e[t]},toSeriesList:function(){this.$router.push({path:"/configManagement/productSeries"})}}},c=u,l=r("2877"),d=Object(l["a"])(c,s,i,!1,null,"65e88b04",null);t["default"]=d.exports},"7d09":function(e,t,r){"use strict";r.d(t,"e",(function(){return i})),r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return u}));r("55dd");var s=r("b775");function i(e){return Object(s["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function n(e){return Object(s["a"])({url:"/device/series/add",method:"post",data:e})}function a(e){return Object(s["a"])({url:"/device/series/edit",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function u(){return Object(s["a"])({url:"/device/series/listAll",method:"post"})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47af9ee4"],{"544f":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-container",[r("el-main",[r("el-form",{ref:"editSeries",attrs:{model:e.series,rules:e.rules,"label-width":"80px"}},[r("el-form-item",{attrs:{prop:"seriesNum",label:"产品系列号"}},[r("el-input",{model:{value:e.series.seriesNum,callback:function(t){e.$set(e.series,"seriesNum",t)},expression:"series.seriesNum"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"remark",label:"产品系列详情:"}},[r("el-input",{model:{value:e.series.remark,callback:function(t){e.$set(e.series,"remark",t)},expression:"series.remark"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),r("el-button",{on:{click:e.toSeriesList}},[e._v("取消")])],1)],1)],1)],1)},i=[],n=(r("ac6a"),r("456d"),r("7d09")),a=r("ed08"),o={seriesNum:"系列号",remark:"描述"},u={data:function(){var e=function(e,t,r){0===t.length?r(new Error(o[e.field]+"必须填写")):r()};return{loading:!1,series:{seriesNum:"",remark:""},rules:{seriesNum:[{validator:e}],remark:[{validator:e}]}}},mounted:function(){this.series=this.$route.query.series},methods:{setDefault:function(){this.$refs.editSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.editSeries.validate((function(t,r){if(t)e.series.createTime=Object(a["d"])(e.series.createTime,"{y}-{m}-{d} {h}:{i}:{s}"),Object(n["c"])(e.series).then((function(t){var r=t.msg;e.$notify({title:"操作成功",message:r,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toSeriesList()})).catch((function(){e.loading=!1}));else{var s=r[Object.keys(r)[0]][0].message;e.$message({message:s,type:"error"}),e.loading=!1}})))},handleChange:function(e){var t=e.length;t-=1,this.dept.parentId=e[t]},toSeriesList:function(){this.$router.push({path:"/configManagement/productSeries"})}}},c=u,l=r("2877"),d=Object(l["a"])(c,s,i,!1,null,"65e88b04",null);t["default"]=d.exports},"7d09":function(e,t,r){"use strict";r.d(t,"e",(function(){return i})),r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return u}));r("55dd");var s=r("b775");function i(e){return Object(s["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesNum:e.seriesNum}})}function n(e){return Object(s["a"])({url:"/device/series/add",method:"post",data:e})}function a(e){return Object(s["a"])({url:"/device/series/edit",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function u(){return Object(s["a"])({url:"/device/series/listAll",method:"post"})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c585ee6"],{"3ac7":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",[n("el-main",[n("el-form",{ref:"setChannel",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{prop:"channelNumsMessage",label:"终端提示文字"}},[n("el-input",{model:{value:e.device.channelNumsMessage,callback:function(t){e.$set(e.device,"channelNumsMessage",t)},expression:"device.channelNumsMessage"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"channelRules",label:"规则"}},[n("el-select",{attrs:{placeholder:"选择"},model:{value:e.device.channelRules,callback:function(t){e.$set(e.device,"channelRules",t)},expression:"device.channelRules"}},[n("el-option",{attrs:{label:"白名单",value:"0"}}),e._v(" "),n("el-option",{attrs:{label:"黑名单",value:"1"}})],1)],1),e._v(" "),n("el-transfer",{attrs:{data:e.device.selectChannelNums,titles:e.transferTitle},model:{value:e.device.channelNums,callback:function(t){e.$set(e.device,"channelNums",t)},expression:"device.channelNums"}}),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),n("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],1)],1)],1)},a=[],c=(n("456d"),n("ac6a"),n("96cf"),n("3b8d")),o=n("aa98"),r={channelNumsMessage:"终端提示文字",channelRules:"规则"},u={data:function(){var e=function(e,t,n){void 0===t||null===t||0===t.length?n(new Error(r[e.field]+"必须填写")):n()};return{loading:!1,device:{selectChannelNums:[],channelNums:[],channelNumsMessage:"",channelRules:"",imeis:[]},rules:{channelNumsMessage:[{validator:e}],channelRules:[{validator:e}]},selectSeriesOptions:[],transferTitle:["渠道号列表","已选择"]}},mounted:function(){this.device.imeis=this.$route.query.imeis,this.getFormData(),this.getTransfer()},methods:{getFormData:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),setDefault:function(){this.$refs.device=[]},getTransfer:function(){var e=this;Object(o["i"])().then((function(t){var n=t.data;n.forEach((function(t){e.device.selectChannelNums.push({key:t.channelId,label:t.channelNum+"_"+t.brand})}))}))},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.setChannel.validate((function(t,n){if(t)Object(o["j"])(e.device.imeis).then((function(t){var n=t.data,i=e.$createElement,a="";n.forEach((function(e){a=""===a?e:a+","+e})),e.$msgbox({title:"消息",message:i("p",null,[i("span",null,"该imei会导致覆盖 "),i("i",{style:"color: teal"},a)]),showCancelButton:!0,confirmButtonText:"确定",cancelButtonText:"取消(则不执行覆盖的imei)",beforeClose:function(t,i,a){if("confirm"===t)i.confirmButtonLoading=!0,i.confirmButtonText="执行中...",Object(o["l"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),i.confirmButtonLoading=!1,e.loading=!1,a()})).catch((function(){i.confirmButtonLoading=!1,e.loading=!1,a()}));else if("cancel"===t){i.cancelButtonLoading=!0,i.cancelButtonText="执行中...";var c=[];e.device.imeis.forEach((function(e){n.forEach((function(t){t===e&&c.push(e)}))})),e.device.imeis=c,Object(o["l"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),i.cancelButtonLoading=!1,e.loading=!1,a()})).catch((function(){i.cancelButtonLoading=!1,e.loading=!1,a()})),i.cancelButtonLoading=!1}else a()}}).then((function(t){"confirm"===t?e.$message({type:"info",message:"全部覆盖选项 执行成功"}):"cancel"===t&&e.$message({type:"info",message:"不覆盖选项 执行成功"})}))})).catch((function(){e.loading=!1}));else{var i=n[Object.keys(n)[0]][0].message;e.$message({message:i,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/device"})}}},s=u,l=n("2877"),d=Object(l["a"])(s,i,a,!1,null,"9225a73a",null);t["default"]=d.exports},aa98:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return c})),n.d(t,"n",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"p",(function(){return u})),n.d(t,"l",(function(){return s})),n.d(t,"j",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return v})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return p})),n.d(t,"o",(function(){return g})),n.d(t,"k",(function(){return b})),n.d(t,"e",(function(){return j}));n("55dd");var i=n("b775");function a(e){return Object(i["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesId:e.seriesId,imei:e.imei}})}function c(e){return Object(i["a"])({url:"/device/device/importDevice",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function r(e){return Object(i["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function u(e){return Object(i["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function s(e){return Object(i["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,channelNum:e.channelNum}})}function h(e){return Object(i["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function f(e){return Object(i["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function v(){return Object(i["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function m(e){return Object(i["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function p(e){return Object(i["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function g(e){return Object(i["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function b(e){return Object(i["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function j(e){return Object(i["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c585ee6"],{"3ac7":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",[n("el-main",[n("el-form",{ref:"setChannel",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{prop:"channelNumsMessage",label:"终端提示文字"}},[n("el-input",{model:{value:e.device.channelNumsMessage,callback:function(t){e.$set(e.device,"channelNumsMessage",t)},expression:"device.channelNumsMessage"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"channelRules",label:"规则"}},[n("el-select",{attrs:{placeholder:"选择"},model:{value:e.device.channelRules,callback:function(t){e.$set(e.device,"channelRules",t)},expression:"device.channelRules"}},[n("el-option",{attrs:{label:"白名单",value:"0"}}),e._v(" "),n("el-option",{attrs:{label:"黑名单",value:"1"}})],1)],1),e._v(" "),n("el-transfer",{attrs:{data:e.device.selectChannelNums},model:{value:e.device.channelNums,callback:function(t){e.$set(e.device,"channelNums",t)},expression:"device.channelNums"}}),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),n("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],1)],1)],1)},i=[],c=(n("456d"),n("ac6a"),n("96cf"),n("3b8d")),o=n("aa98"),r={channelNumsMessage:"终端提示文字",channelRules:"规则"},u={data:function(){var e=function(e,t,n){void 0===t||null===t||0===t.length?n(new Error(r[e.field]+"必须填写")):n()};return{loading:!1,device:{selectChannelNums:[],channelNums:[],channelNumsMessage:"",channelRules:"",imeis:[]},rules:{channelNumsMessage:[{validator:e}],channelRules:[{validator:e}]},selectSeriesOptions:[]}},mounted:function(){this.device.imeis=this.$route.query.imeis,this.getFormData(),this.getTransfer()},methods:{getFormData:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),setDefault:function(){this.$refs.device=[]},getTransfer:function(){var e=this;Object(o["i"])().then((function(t){var n=t.data;n.forEach((function(t){e.device.selectChannelNums.push({key:t.channelId,label:t.channelNum})}))}))},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.setChannel.validate((function(t,n){if(t)Object(o["j"])(e.device.imeis).then((function(t){var n=t.data,a=e.$createElement,i="";n.forEach((function(e){i=""===i?e:i+","+e})),e.$msgbox({title:"消息",message:a("p",null,[a("span",null,"该imei会导致覆盖 "),a("i",{style:"color: teal"},i)]),showCancelButton:!0,confirmButtonText:"确定",cancelButtonText:"取消(则不执行覆盖的imei)",beforeClose:function(t,a,i){if("confirm"===t)a.confirmButtonLoading=!0,a.confirmButtonText="执行中...",Object(o["l"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),a.confirmButtonLoading=!1,e.loading=!1,i()})).catch((function(){a.confirmButtonLoading=!1,e.loading=!1,i()}));else if("cancel"===t){a.cancelButtonLoading=!0,a.cancelButtonText="执行中...";var c=[];e.device.imeis.forEach((function(e){n.forEach((function(t){t===e&&c.push(e)}))})),e.device.imeis=c,Object(o["l"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),a.cancelButtonLoading=!1,e.loading=!1,i()})).catch((function(){a.cancelButtonLoading=!1,e.loading=!1,i()})),a.cancelButtonLoading=!1}else i()}}).then((function(t){"confirm"===t?e.$message({type:"info",message:"全部覆盖选项 执行成功"}):"cancel"===t&&e.$message({type:"info",message:"不覆盖选项 执行成功"})}))})).catch((function(){e.loading=!1}));else{var a=n[Object.keys(n)[0]][0].message;e.$message({message:a,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/device"})}}},l=u,s=n("2877"),d=Object(s["a"])(l,a,i,!1,null,"53a18f4b",null);t["default"]=d.exports},aa98:function(e,t,n){"use strict";n.d(t,"g",(function(){return i})),n.d(t,"h",(function(){return c})),n.d(t,"n",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"p",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"j",(function(){return s})),n.d(t,"f",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"m",(function(){return h})),n.d(t,"i",(function(){return v})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return p})),n.d(t,"o",(function(){return g})),n.d(t,"k",(function(){return b})),n.d(t,"e",(function(){return j}));n("55dd");var a=n("b775");function i(e){return Object(a["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function c(e){return Object(a["a"])({url:"/device/device/importDevice",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function u(e){return Object(a["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function l(e){return Object(a["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function f(e){return Object(a["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function v(){return Object(a["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function m(e){return Object(a["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function p(e){return Object(a["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function g(e){return Object(a["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function b(e){return Object(a["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function j(e){return Object(a["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-636f8118"],{"7d09":function(e,t,r){"use strict";r.d(t,"e",(function(){return i})),r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return u}));r("55dd");var s=r("b775");function i(e){return Object(s["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function n(e){return Object(s["a"])({url:"/device/series/add",method:"post",data:e})}function a(e){return Object(s["a"])({url:"/device/series/edit",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function u(){return Object(s["a"])({url:"/device/series/listAll",method:"post"})}},ff07:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-container",[r("el-main",[r("el-form",{ref:"addSeries",attrs:{model:e.series,rules:e.rules,"label-width":"80px"}},[r("el-form-item",{attrs:{prop:"seriesNum",label:"产品系列号"}},[r("el-input",{model:{value:e.series.seriesNum,callback:function(t){e.$set(e.series,"seriesNum",t)},expression:"series.seriesNum"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"remark",label:"产品系列详情:"}},[r("el-input",{model:{value:e.series.remark,callback:function(t){e.$set(e.series,"remark",t)},expression:"series.remark"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("添加")]),e._v(" "),r("el-button",{on:{click:e.toSeriesList}},[e._v("取消")])],1)],1)],1)],1)},i=[],n=(r("ac6a"),r("456d"),r("7d09")),a={seriesNum:"系列号",remark:"描述"},o={data:function(){var e=function(e,t,r){0===t.length?r(new Error(a[e.field]+"必须填写")):r()};return{loading:!1,series:{seriesNum:"",remark:""},rules:{seriesNum:[{validator:e}],remark:[{validator:e}]}}},mounted:function(){},methods:{setDefault:function(){this.$refs.addSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.addSeries.validate((function(t,r){if(t)Object(n["a"])(e.series).then((function(t){var r=t.msg;e.$notify({title:"操作成功",message:r,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toSeriesList()})).catch((function(){e.loading=!1}));else{var s=r[Object.keys(r)[0]][0].message;e.$message({message:s,type:"error"}),e.loading=!1}})))},toSeriesList:function(){this.$router.push({path:"/configManagement/productSeries"})}}},u=o,l=r("2877"),c=Object(l["a"])(u,s,i,!1,null,"2984fed9",null);t["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-636f8118"],{"7d09":function(e,t,r){"use strict";r.d(t,"e",(function(){return i})),r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return u}));r("55dd");var s=r("b775");function i(e){return Object(s["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesNum:e.seriesNum}})}function n(e){return Object(s["a"])({url:"/device/series/add",method:"post",data:e})}function a(e){return Object(s["a"])({url:"/device/series/edit",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function u(){return Object(s["a"])({url:"/device/series/listAll",method:"post"})}},ff07:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-container",[r("el-main",[r("el-form",{ref:"addSeries",attrs:{model:e.series,rules:e.rules,"label-width":"80px"}},[r("el-form-item",{attrs:{prop:"seriesNum",label:"产品系列号"}},[r("el-input",{model:{value:e.series.seriesNum,callback:function(t){e.$set(e.series,"seriesNum",t)},expression:"series.seriesNum"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"remark",label:"产品系列详情:"}},[r("el-input",{model:{value:e.series.remark,callback:function(t){e.$set(e.series,"remark",t)},expression:"series.remark"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("添加")]),e._v(" "),r("el-button",{on:{click:e.toSeriesList}},[e._v("取消")])],1)],1)],1)],1)},i=[],n=(r("ac6a"),r("456d"),r("7d09")),a={seriesNum:"系列号",remark:"描述"},o={data:function(){var e=function(e,t,r){0===t.length?r(new Error(a[e.field]+"必须填写")):r()};return{loading:!1,series:{seriesNum:"",remark:""},rules:{seriesNum:[{validator:e}],remark:[{validator:e}]}}},mounted:function(){},methods:{setDefault:function(){this.$refs.addSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.addSeries.validate((function(t,r){if(t)Object(n["a"])(e.series).then((function(t){var r=t.msg;e.$notify({title:"操作成功",message:r,type:"success",duration:2e3}),e.loading=!1,e.setDefault(),e.toSeriesList()})).catch((function(){e.loading=!1}));else{var s=r[Object.keys(r)[0]][0].message;e.$message({message:s,type:"error"}),e.loading=!1}})))},toSeriesList:function(){this.$router.push({path:"/configManagement/productSeries"})}}},u=o,l=r("2877"),c=Object(l["a"])(u,s,i,!1,null,"2984fed9",null);t["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7395e3e5"],{aa98:function(e,n,t){"use strict";t.d(n,"g",(function(){return c})),t.d(n,"h",(function(){return i})),t.d(n,"n",(function(){return r})),t.d(n,"b",(function(){return s})),t.d(n,"p",(function(){return u})),t.d(n,"l",(function(){return l})),t.d(n,"j",(function(){return d})),t.d(n,"f",(function(){return o})),t.d(n,"a",(function(){return h})),t.d(n,"m",(function(){return v})),t.d(n,"i",(function(){return f})),t.d(n,"c",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"o",(function(){return b})),t.d(n,"k",(function(){return g})),t.d(n,"e",(function(){return j}));t("55dd");var a=t("b775");function c(e){return Object(a["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesId:e.seriesId,imei:e.imei}})}function i(e){return Object(a["a"])({url:"/device/device/importDevice",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function u(e){return Object(a["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function l(e){return Object(a["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,channelNum:e.channelNum}})}function h(e){return Object(a["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function v(e){return Object(a["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function f(){return Object(a["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(a["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(a["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(a["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(a["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function j(e){return Object(a["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}},c10e:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-container",[t("el-main",[t("el-form",{ref:"update",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{prop:"channelNumsMessage",label:"终端提示文字"}},[t("el-input",{model:{value:e.device.channelNumsMessage,callback:function(n){e.$set(e.device,"channelNumsMessage",n)},expression:"device.channelNumsMessage"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"channelRules",label:"规则"}},[t("el-select",{attrs:{placeholder:"选择"},model:{value:e.device.channelRules,callback:function(n){e.$set(e.device,"channelRules",n)},expression:"device.channelRules"}},[t("el-option",{attrs:{label:"白名单",value:"0"}}),e._v(" "),t("el-option",{attrs:{label:"黑名单",value:"1"}})],1)],1),e._v(" "),t("el-transfer",{attrs:{data:e.device.selectChannelNums,titles:e.transferTitle},model:{value:e.device.channelIds,callback:function(n){e.$set(e.device,"channelIds",n)},expression:"device.channelIds"}}),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),t("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],1)],1)],1)},c=[],i=(t("456d"),t("6762"),t("2fdb"),t("ac6a"),t("28a5"),t("96cf"),t("3b8d")),r=t("aa98"),s={channelNumsMessage:"终端提示文字",channelRules:"规则"},u={data:function(){var e=function(e,n,t){void 0===n||null===n||0===n.length?t(new Error(s[e.field]+"必须填写")):t()};return{loading:!1,device:{selectChannelNums:[],channelIds:[],channelNumsMessage:"",channelRules:"",imeis:[]},rules:{channelNumsMessage:[{validator:e}],channelRules:[{validator:e}]},selectSeriesOptions:[],transferTitle:["渠道号列表","已选择"]}},mounted:function(){this.deviceT=this.$route.query.device,this.getTransfer()},methods:{selectChannelNums:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(n){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.device.channelRules=this.deviceT.channelRules,this.device.channelNumsMessage=this.deviceT.channelNumsMessage,t=this.deviceT.channelNums.split(","),t.forEach((function(e){n.channelNum.includes(e+"_")&&a.device.channelIds.push(n.channelId)}));case 4:case"end":return e.stop()}}),e,this)})));function n(n){return e.apply(this,arguments)}return n}(),setDefault:function(){this.$refs.device=[]},getTransfer:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:Object(r["i"])().then((function(e){var t=e.data;t.forEach((function(e){n.device.selectChannelNums.push({key:e.channelId,label:e.channelNum+"_"+e.brand}),n.selectChannelNums(e)}))}));case 1:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}(),onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.update.validate((function(n,t){if(n)Object(r["o"])(e.device).then((function(n){var t=n.msg;e.$notify({title:"操作成功",message:t,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),e.loading=!1})).catch((function(){e.loading=!1}));else{var a=t[Object.keys(t)[0]][0].message;e.$message({message:a,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/deviceChannel"})}}},l=u,d=t("2877"),o=Object(d["a"])(l,a,c,!1,null,"e9e61482",null);n["default"]=o.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7395e3e5"],{aa98:function(e,n,t){"use strict";t.d(n,"g",(function(){return c})),t.d(n,"h",(function(){return i})),t.d(n,"n",(function(){return r})),t.d(n,"b",(function(){return u})),t.d(n,"p",(function(){return s})),t.d(n,"l",(function(){return l})),t.d(n,"j",(function(){return d})),t.d(n,"f",(function(){return o})),t.d(n,"a",(function(){return h})),t.d(n,"m",(function(){return v})),t.d(n,"i",(function(){return f})),t.d(n,"c",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"o",(function(){return b})),t.d(n,"k",(function(){return g})),t.d(n,"e",(function(){return j}));t("55dd");var a=t("b775");function c(e){return Object(a["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function i(e){return Object(a["a"])({url:"/device/device/importDevice",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function s(e){return Object(a["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function l(e){return Object(a["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function h(e){return Object(a["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function v(e){return Object(a["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function f(){return Object(a["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(a["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(a["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(a["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(a["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function j(e){return Object(a["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}},c10e:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-container",[t("el-main",[t("el-form",{ref:"update",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{prop:"channelNumsMessage",label:"终端提示文字"}},[t("el-input",{model:{value:e.device.channelNumsMessage,callback:function(n){e.$set(e.device,"channelNumsMessage",n)},expression:"device.channelNumsMessage"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"channelRules",label:"规则"}},[t("el-select",{attrs:{placeholder:"选择"},model:{value:e.device.channelRules,callback:function(n){e.$set(e.device,"channelRules",n)},expression:"device.channelRules"}},[t("el-option",{attrs:{label:"白名单",value:"0"}}),e._v(" "),t("el-option",{attrs:{label:"黑名单",value:"1"}})],1)],1),e._v(" "),t("el-transfer",{attrs:{data:e.device.selectChannelNums},model:{value:e.device.channelIds,callback:function(n){e.$set(e.device,"channelIds",n)},expression:"device.channelIds"}}),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),t("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],1)],1)],1)},c=[],i=(t("456d"),t("ac6a"),t("28a5"),t("96cf"),t("3b8d")),r=t("aa98"),u={channelNumsMessage:"终端提示文字",channelRules:"规则"},s={data:function(){var e=function(e,n,t){void 0===n||null===n||0===n.length?t(new Error(u[e.field]+"必须填写")):t()};return{loading:!1,device:{selectChannelNums:[],channelIds:[],channelNumsMessage:"",channelRules:"",imeis:[]},rules:{channelNumsMessage:[{validator:e}],channelRules:[{validator:e}]},selectSeriesOptions:[]}},mounted:function(){this.deviceT=this.$route.query.device,this.getTransfer()},methods:{selectChannelNums:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(n){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.device.channelRules=this.deviceT.channelRules,this.device.channelNumsMessage=this.deviceT.channelNumsMessage,t=this.deviceT.channelNums.split(","),t.forEach((function(e){n.channelNum===e&&a.device.channelIds.push(n.channelId)}));case 4:case"end":return e.stop()}}),e,this)})));function n(n){return e.apply(this,arguments)}return n}(),setDefault:function(){this.$refs.device=[]},getTransfer:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:Object(r["i"])().then((function(e){var t=e.data;t.forEach((function(e){n.device.selectChannelNums.push({key:e.channelId,label:e.channelNum}),n.selectChannelNums(e)}))}));case 1:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}(),onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.update.validate((function(n,t){if(n)Object(r["o"])(e.device).then((function(n){var t=n.msg;e.$notify({title:"操作成功",message:t,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),e.loading=!1})).catch((function(){e.loading=!1}));else{var a=t[Object.keys(t)[0]][0].message;e.$message({message:a,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/deviceChannel"})}}},l=s,d=t("2877"),o=Object(d["a"])(l,a,c,!1,null,"8d63709c",null);n["default"]=o.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-77a4bbf0"],{"7d09":function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return s}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function a(e){return Object(i["a"])({url:"/device/series/add",method:"post",data:e})}function c(e){return Object(i["a"])({url:"/device/series/edit",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function s(){return Object(i["a"])({url:"/device/series/listAll",method:"post"})}},aa98:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return a})),n.d(t,"n",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"p",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return p})),n.d(t,"m",(function(){return v})),n.d(t,"i",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return m})),n.d(t,"o",(function(){return b})),n.d(t,"k",(function(){return g})),n.d(t,"e",(function(){return O}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function a(e){return Object(i["a"])({url:"/device/device/importDevice",method:"post",data:e})}function c(e){return Object(i["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function s(e){return Object(i["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function u(e){return Object(i["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function p(e){return Object(i["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function v(e){return Object(i["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function f(){return Object(i["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function h(e){return Object(i["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(i["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(i["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(i["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function O(e){return Object(i["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}},f24d:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",[n("el-main",[n("el-form",{ref:"importDevice",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{prop:"deptId",label:"所属部门"}},[n("el-cascader",{attrs:{"expand-trigger":"hover",options:e.options,"show-all-levels":!1,"change-on-select":""},on:{change:e.handleChange},model:{value:e.selectDeptParents,callback:function(t){e.selectDeptParents=t},expression:"selectDeptParents"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"seriesId",label:"所属系列"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.device.seriesId,callback:function(t){e.$set(e.device,"seriesId",t)},expression:"device.seriesId"}},e._l(e.selectSeriesOptions,(function(e){return n("el-option",{key:e.seriesId,attrs:{label:e.seriesNum,value:e.seriesId}})})),1)],1),e._v(" "),e._l(e.device.imeis,(function(t,i){return n("el-form-item",{key:i,attrs:{label:"第"+(i+1)+"个imei: ",prop:"imeis."+i+".value","label-width":"20"}},[n("el-row",[n("el-col",{attrs:{span:14}},[n("el-input",{model:{value:t.value,callback:function(n){e.$set(t,"value",n)},expression:"imei.value"}})],1),e._v(" "),n("el-col",{attrs:{span:5}},[n("el-button",{on:{click:function(n){return n.preventDefault(),e.removeImeis(t)}}},[e._v("\n 删除\n ")])],1)],1)],1)})),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("添加")]),e._v(" "),n("el-button",{on:{click:e.addImeis}},[e._v("新增imei")]),e._v(" "),n("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],2)],1)],1)},r=[],a=(n("456d"),n("ac6a"),n("96cf"),n("3b8d")),c=n("fe05"),o=n("7d09"),s=n("aa98"),u={deptId:"部门Id",seriesId:"系列号",imeis:"imeis"},d={data:function(){var e=function(e,t,n){void 0===t||null===t||0===t.length?n(new Error(u[e.field]+"必须填写")):n()};return{loading:!1,device:{deptIdList:[],seriesIdList:[],imeis:[{value:""}]},rules:{deptId:[{validator:e}],seriesId:[{validator:e}]},options:[],selectSeriesOptions:[],selectDeptParents:[],defaultProps:{children:"children",label:"label"}}},mounted:function(){this.getFormData()},methods:{getFormData:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.selectDeptParent();case 2:return e.next=4,this.selectSeries();case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),setDefault:function(){this.$refs.device=[]},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.importDevice.validate((function(t,n){if(t){var i=e.device.imeis;e.device.imeis=[],i.forEach((function(t){e.device.imeis.push(t.value)})),Object(s["h"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),e.loading=!1})).catch((function(t){console.log(t),e.loading=!1}))}else{var r=n[Object.keys(n)[0]][0].message;e.$message({message:r,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/device"})},selectSeries:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["d"])().then((function(e){var n=e.data;t.selectSeriesOptions=n}));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),selectDeptParent:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["e"])().then((function(e){var n=e.data;t.options=n}));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),handleChange:function(e){var t=e.length;t-=1,this.device.deptId=e[t]},addImeis:function(){this.device.imeis.push({value:""})},removeImeis:function(e){var t=this.device.imeis.indexOf(e);-1!==t&&this.device.imeis.splice(t,1)}}},l=d,p=n("2877"),v=Object(p["a"])(l,i,r,!1,null,"78d0fb6c",null);t["default"]=v.exports},fe05:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return u}));n("7f7f"),n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/sys/dept/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,name:e.name}})}function a(){return Object(i["a"])({url:"/sys/dept/listAll",method:"post"})}function c(){return Object(i["a"])({url:"/sys/dept/listAllTree",method:"post"})}function o(e){return Object(i["a"])({url:"/sys/dept/add",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/sys/dept/edit",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/sys/dept/delete",method:"post",data:{ids:e}})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-77a4bbf0"],{"7d09":function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return u}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesNum:e.seriesNum}})}function a(e){return Object(i["a"])({url:"/device/series/add",method:"post",data:e})}function c(e){return Object(i["a"])({url:"/device/series/edit",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function u(){return Object(i["a"])({url:"/device/series/listAll",method:"post"})}},aa98:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return a})),n.d(t,"n",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"p",(function(){return u})),n.d(t,"l",(function(){return o})),n.d(t,"j",(function(){return d})),n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return p})),n.d(t,"m",(function(){return v})),n.d(t,"i",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return m})),n.d(t,"o",(function(){return b})),n.d(t,"k",(function(){return g})),n.d(t,"e",(function(){return O}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesId:e.seriesId,imei:e.imei}})}function a(e){return Object(i["a"])({url:"/device/device/importDevice",method:"post",data:e})}function c(e){return Object(i["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function u(e){return Object(i["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(i["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,channelNum:e.channelNum}})}function p(e){return Object(i["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function v(e){return Object(i["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function f(){return Object(i["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function h(e){return Object(i["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(i["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(i["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(i["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function O(e){return Object(i["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}},f24d:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",[n("el-main",[n("el-form",{ref:"importDevice",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{prop:"deptId",label:"所属部门"}},[n("el-cascader",{attrs:{"expand-trigger":"hover",options:e.options,"show-all-levels":!1,"change-on-select":""},on:{change:e.handleChange},model:{value:e.selectDeptParents,callback:function(t){e.selectDeptParents=t},expression:"selectDeptParents"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"seriesId",label:"所属系列"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.device.seriesId,callback:function(t){e.$set(e.device,"seriesId",t)},expression:"device.seriesId"}},e._l(e.selectSeriesOptions,(function(e){return n("el-option",{key:e.seriesId,attrs:{label:e.seriesNum,value:e.seriesId}})})),1)],1),e._v(" "),e._l(e.device.imeis,(function(t,i){return n("el-form-item",{key:i,attrs:{label:"第"+(i+1)+"个imei: ",prop:"imeis."+i+".value","label-width":"20"}},[n("el-row",[n("el-col",{attrs:{span:14}},[n("el-input",{model:{value:t.value,callback:function(n){e.$set(t,"value",n)},expression:"imei.value"}})],1),e._v(" "),n("el-col",{attrs:{span:5}},[n("el-button",{on:{click:function(n){return n.preventDefault(),e.removeImeis(t)}}},[e._v("\n 删除\n ")])],1)],1)],1)})),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("添加")]),e._v(" "),n("el-button",{on:{click:e.addImeis}},[e._v("新增imei")]),e._v(" "),n("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],2)],1)],1)},r=[],a=(n("456d"),n("ac6a"),n("96cf"),n("3b8d")),c=n("fe05"),s=n("7d09"),u=n("aa98"),o={deptId:"部门Id",seriesId:"系列号",imeis:"imeis"},d={data:function(){var e=function(e,t,n){void 0===t||null===t||0===t.length?n(new Error(o[e.field]+"必须填写")):n()};return{loading:!1,device:{deptIdList:[],seriesIdList:[],imeis:[{value:""}]},rules:{deptId:[{validator:e}],seriesId:[{validator:e}]},options:[],selectSeriesOptions:[],selectDeptParents:[],defaultProps:{children:"children",label:"label"}}},mounted:function(){this.getFormData()},methods:{getFormData:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.selectDeptParent();case 2:return e.next=4,this.selectSeries();case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),setDefault:function(){this.$refs.device=[]},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.importDevice.validate((function(t,n){if(t){var i=e.device.imeis;e.device.imeis=[],i.forEach((function(t){e.device.imeis.push(t.value)})),Object(u["h"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),e.loading=!1})).catch((function(t){console.log(t),e.loading=!1}))}else{var r=n[Object.keys(n)[0]][0].message;e.$message({message:r,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/device"})},selectSeries:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["d"])().then((function(e){var n=e.data;t.selectSeriesOptions=n}));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),selectDeptParent:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["e"])().then((function(e){var n=e.data;t.options=n}));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),handleChange:function(e){var t=e.length;t-=1,this.device.deptId=e[t]},addImeis:function(){this.device.imeis.push({value:""})},removeImeis:function(e){var t=this.device.imeis.indexOf(e);-1!==t&&this.device.imeis.splice(t,1)}}},l=d,p=n("2877"),v=Object(p["a"])(l,i,r,!1,null,"78d0fb6c",null);t["default"]=v.exports},fe05:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return o}));n("7f7f"),n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/sys/dept/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,name:e.name}})}function a(){return Object(i["a"])({url:"/sys/dept/listAll",method:"post"})}function c(){return Object(i["a"])({url:"/sys/dept/listAllTree",method:"post"})}function s(e){return Object(i["a"])({url:"/sys/dept/add",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/sys/dept/edit",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/sys/dept/delete",method:"post",data:{ids:e}})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e20529e6"],{4983:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",[n("el-main",[n("el-form",{ref:"editSeries",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{prop:"seriesId",label:"所属系列"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.device.seriesId,callback:function(t){e.$set(e.device,"seriesId",t)},expression:"device.seriesId"}},e._l(e.selectSeriesOptions,(function(e){return n("el-option",{key:e.seriesId,attrs:{label:e.seriesNum,value:e.seriesId}})})),1)],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),n("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],1)],1)],1)},r=[],c=(n("ac6a"),n("456d"),n("96cf"),n("3b8d")),a=n("7d09"),d=n("aa98"),u={seriesId:"选择系列",imeis:"要选择设备"},o={data:function(){var e=function(e,t,n){void 0===t||null===t||0===t.length?n(new Error(u[e.field]+"必须填写")):n()};return{loading:!1,device:{seriesIdList:[],imeis:[]},rules:{seriesId:[{validator:e}],imeis:[{validator:e}]},selectSeriesOptions:[]}},mounted:function(){this.device.imeis=this.$route.query.imeis,this.getFormData()},methods:{getFormData:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.selectSeries();case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),setDefault:function(){this.$refs.editSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.editSeries.validate((function(t,n){if(t)Object(d["n"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),e.loading=!1})).catch((function(){e.loading=!1}));else{var i=n[Object.keys(n)[0]][0].message;e.$message({message:i,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/device"})},selectSeries:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["d"])().then((function(e){var n=e.data;t.selectSeriesOptions=n}));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),handleChange:function(e){var t=e.length;t-=1,this.device.deptId=e[t]}}},s=o,l=n("2877"),v=Object(l["a"])(s,i,r,!1,null,"d29db6dc",null);t["default"]=v.exports},"7d09":function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return u}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function c(e){return Object(i["a"])({url:"/device/series/add",method:"post",data:e})}function a(e){return Object(i["a"])({url:"/device/series/edit",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function u(){return Object(i["a"])({url:"/device/series/listAll",method:"post"})}},aa98:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return c})),n.d(t,"n",(function(){return a})),n.d(t,"b",(function(){return d})),n.d(t,"p",(function(){return u})),n.d(t,"l",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return v})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"o",(function(){return b})),n.d(t,"k",(function(){return g})),n.d(t,"e",(function(){return O}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function c(e){return Object(i["a"])({url:"/device/device/importDevice",method:"post",data:e})}function a(e){return Object(i["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function u(e){return Object(i["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(i["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort}})}function v(e){return Object(i["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function f(e){return Object(i["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function h(){return Object(i["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(i["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(i["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(i["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(i["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function O(e){return Object(i["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e20529e6"],{4983:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",[n("el-main",[n("el-form",{ref:"editSeries",attrs:{model:e.device,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{prop:"seriesId",label:"所属系列"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.device.seriesId,callback:function(t){e.$set(e.device,"seriesId",t)},expression:"device.seriesId"}},e._l(e.selectSeriesOptions,(function(e){return n("el-option",{key:e.seriesId,attrs:{label:e.seriesNum,value:e.seriesId}})})),1)],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("修改")]),e._v(" "),n("el-button",{on:{click:e.toDeviceList}},[e._v("取消")])],1)],1)],1)],1)},r=[],c=(n("ac6a"),n("456d"),n("96cf"),n("3b8d")),a=n("7d09"),u=n("aa98"),d={seriesId:"选择系列",imeis:"要选择设备"},s={data:function(){var e=function(e,t,n){void 0===t||null===t||0===t.length?n(new Error(d[e.field]+"必须填写")):n()};return{loading:!1,device:{seriesIdList:[],imeis:[]},rules:{seriesId:[{validator:e}],imeis:[{validator:e}]},selectSeriesOptions:[]}},mounted:function(){this.device.imeis=this.$route.query.imeis,this.getFormData()},methods:{getFormData:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.selectSeries();case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),setDefault:function(){this.$refs.editSeries.resetFields()},onSubmit:function(){var e=this;this.loading||(this.loading=!0,this.$refs.editSeries.validate((function(t,n){if(t)Object(u["n"])(e.device).then((function(t){var n=t.msg;e.$notify({title:"操作成功",message:n,type:"success",duration:2e3}),e.setDefault(),e.toDeviceList(),e.loading=!1})).catch((function(){e.loading=!1}));else{var i=n[Object.keys(n)[0]][0].message;e.$message({message:i,type:"error"}),e.loading=!1}})))},toDeviceList:function(){this.$router.push({path:"/deviceManagement/device"})},selectSeries:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(a["d"])().then((function(e){var n=e.data;t.selectSeriesOptions=n}));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),handleChange:function(e){var t=e.length;t-=1,this.device.deptId=e[t]}}},o=s,l=n("2877"),v=Object(l["a"])(o,i,r,!1,null,"d29db6dc",null);t["default"]=v.exports},"7d09":function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return d}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/series/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesNum:e.seriesNum}})}function c(e){return Object(i["a"])({url:"/device/series/add",method:"post",data:e})}function a(e){return Object(i["a"])({url:"/device/series/edit",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/device/series/delete",method:"post",data:{ids:e}})}function d(){return Object(i["a"])({url:"/device/series/listAll",method:"post"})}},aa98:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return c})),n.d(t,"n",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"p",(function(){return d})),n.d(t,"l",(function(){return s})),n.d(t,"j",(function(){return o})),n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return v})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"o",(function(){return b})),n.d(t,"k",(function(){return g})),n.d(t,"e",(function(){return O}));n("55dd");var i=n("b775");function r(e){return Object(i["a"])({url:"/device/device/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,seriesId:e.seriesId,imei:e.imei}})}function c(e){return Object(i["a"])({url:"/device/device/importDevice",method:"post",data:e})}function a(e){return Object(i["a"])({url:"/device/device/updateDeviceSeriesBatch",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/device/device/delete",method:"post",data:{ids:e}})}function d(e){return Object(i["a"])({url:"/device/device/uploadDeivceChannelExcel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function s(e){return Object(i["a"])({url:"/device/device/saveChannel",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/device/device/queryDeviceChannelSetting",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/device/deviceChannel/list",method:"post",params:{page:e.page,pageSize:e.pageSize,sort:e.sort,channelNum:e.channelNum}})}function v(e){return Object(i["a"])({url:"/device/deviceChannel/add",method:"post",data:e})}function f(e){return Object(i["a"])({url:"/device/deviceChannel/edit",method:"post",data:e})}function h(){return Object(i["a"])({url:"/device/deviceChannel/queryDeviceChannelAll",method:"post"})}function p(e){return Object(i["a"])({url:"/device/deviceChannel/delete",method:"post",data:{ids:e}})}function m(e){return Object(i["a"])({url:"/device/deviceChannel/deleteSettingDeviceChannel",method:"post",data:{deviceId:e}})}function b(e){return Object(i["a"])({url:"/device/deviceChannel/updateSettingDeviceChannel",method:"post",data:{device:e}})}function g(e){return Object(i["a"])({url:"/device/deviceChannel/queryTotalStatisticsDeviceChannel",method:"post",data:{channelIds:e}})}function O(e){return Object(i["a"])({url:"/device/deviceChannel/deleteStatisticsDeviceChannel",method:"post",data:e})}}}]);
\ No newline at end of file
spring:
profiles:
active: dev
active: prod
application:
name: cneeds-server-device
......
spring:
profiles:
active: dev
active: prod
application:
name: cneeds-server-logupload
......
spring:
profiles:
active: dev
active: prod
application:
name: cneeds-server-user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment