chunk-9ae4b566.f20ee652.js 61 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9ae4b566","chunk-2d2106ba"],{"0ff7":function(e,t,a){"use strict";a.d(t,"d",(function(){return r})),a.d(t,"e",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return o})),a.d(t,"f",(function(){return s})),a.d(t,"b",(function(){return c}));var l=a("b775");function r(e){return Object(l["a"])({url:"/label/labelModel/list",method:"get",params:e})}function n(){return Object(l["a"])({url:"/label/labelModel/select",method:"get"})}function i(e){return Object(l["a"])({url:"/label/labelModel/"+e,method:"get"})}function o(e){return Object(l["a"])({url:"/label/labelModel",method:"post",data:e})}function s(e){return Object(l["a"])({url:"/label/labelModel",method:"put",data:e})}function c(e){return Object(l["a"])({url:"/label/labelModel/"+e,method:"delete"})}},1:function(e,t){},1361:function(e,t,a){"use strict";a("8e35")},"15d6":function(e,t,a){},"6cf2":function(e,t,a){"use strict";a("15d6")},"89fd":function(e,t,a){"use strict";a.d(t,"d",(function(){return r})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return i})),a.d(t,"e",(function(){return o})),a.d(t,"b",(function(){return s}));var l=a("b775");function r(e){return Object(l["a"])({url:"/asset/category/list",method:"get",params:e})}function n(e){return Object(l["a"])({url:"/asset/category/"+e,method:"get"})}function i(e){return Object(l["a"])({url:"/asset/category",method:"post",data:e})}function o(e){return Object(l["a"])({url:"/asset/category",method:"put",data:e})}function s(e){return Object(l["a"])({url:"/asset/category/"+e,method:"delete"})}},"8e35":function(e,t,a){},b88f:function(e,t,a){"use strict";a.d(t,"e",(function(){return r})),a.d(t,"h",(function(){return n})),a.d(t,"f",(function(){return i})),a.d(t,"d",(function(){return o})),a.d(t,"a",(function(){return s})),a.d(t,"k",(function(){return c})),a.d(t,"b",(function(){return u})),a.d(t,"g",(function(){return p})),a.d(t,"j",(function(){return m})),a.d(t,"c",(function(){return d})),a.d(t,"i",(function(){return f}));var l=a("b775");function r(e){return Object(l["a"])({url:"/asset/information/list",method:"get",params:e})}function n(e){return Object(l["a"])({url:"/asset/information/select",method:"get",params:e})}function i(){return Object(l["a"])({url:"/visitor/asset/list",method:"get"})}function o(e){return Object(l["a"])({url:"/asset/information/"+e,method:"get"})}function s(e){return Object(l["a"])({url:"/asset/information",method:"post",data:e})}function c(e){return Object(l["a"])({url:"/asset/information",method:"put",data:e})}function u(e){return Object(l["a"])({url:"/asset/information/"+e,method:"delete"})}function p(e){return Object(l["a"])({url:"/asset/information/print",method:"post",data:e})}function m(e){return Object(l["a"])({url:"/asset/information/print/single",method:"post",data:e})}function d(){return Object(l["a"])({url:"/asset/information/getDiy",method:"get"})}function f(e){return Object(l["a"])({url:"/asset/information/setDiy",method:"post",data:e})}},b890:function(e,t,a){"use strict";a.r(t);var l=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",staticClass:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"资产名称",prop:"name"}},[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.name,callback:function(t){e.$set(e.queryParams,"name",t)},expression:"queryParams.name"}})],1),a("el-form-item",{attrs:{label:"资产条码",prop:"code"}},[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.code,callback:function(t){e.$set(e.queryParams,"code",t)},expression:"queryParams.code"}})],1),a("el-form-item",{attrs:{label:"资产编号",prop:"number"}},[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.number,callback:function(t){e.$set(e.queryParams,"number",t)},expression:"queryParams.number"}})],1),a("el-form-item",{attrs:{label:"资产分类",prop:"categoryNumber"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择资产分类"},model:{value:e.queryParams.categoryNumber,callback:function(t){e.$set(e.queryParams,"categoryNumber",t)},expression:"queryParams.categoryNumber"}},e._l(e.categoryList,(function(e){return a("el-option",{key:e.number,attrs:{label:e.name,value:e.number}})})),1)],1),a("el-form-item",{attrs:{label:"所在位置",prop:"locationNumber"}},[a("treeselect",{attrs:{options:e.locationList,normalizer:e.tenantIdnormalizer,placeholder:"选择位置"},model:{value:e.queryParams.locationNumber,callback:function(t){e.$set(e.queryParams,"locationNumber",t)},expression:"queryParams.locationNumber"}})],1),a("el-form-item",{attrs:{label:"使用部门",prop:"userDepartment"}},[a("div",{staticStyle:{display:"inline-block",width:"183px"}},[a("treeselect",{attrs:{options:e.deptOptions,normalizer:e.normalizer,placeholder:"选择使用部门"},model:{value:e.queryParams.userDepartment,callback:function(t){e.$set(e.queryParams,"userDepartment",t)},expression:"queryParams.userDepartment"}})],1)]),e.isExist("epc")?a("el-form-item",{attrs:{label:"EPC",prop:"epc"}},[a("el-input",{attrs:{placeholder:"请输入EPC",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.epc,callback:function(t){e.$set(e.queryParams,"epc",t)},expression:"queryParams.epc"}})],1):e._e(),e.isExist("开始使用日期")?a("el-form-item",{attrs:{label:"开始使用日期",prop:"startDate"}},[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.startDate,callback:function(t){e.$set(e.queryParams,"startDate",t)},expression:"queryParams.startDate"}})],1):e._e(),e.isExist("责任人")?a("el-form-item",{attrs:{label:"责任人",prop:"responsiblePerson"}},[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.responsiblePerson,callback:function(t){e.$set(e.queryParams,"responsiblePerson",t)},expression:"queryParams.responsiblePerson"}})],1):e._e(),e.isExist("所属公司")?a("el-form-item",{attrs:{label:"所属公司",prop:"corporation"}},[a("div",{staticStyle:{display:"inline-block",width:"183px"}},[a("treeselect",{attrs:{options:e.deptOptions,normalizer:e.normalizer,placeholder:"选择所属公司"},model:{value:e.queryParams.corporation,callback:function(t){e.$set(e.queryParams,"corporation",t)},expression:"queryParams.corporation"}})],1)]):e._e(),e.isExist("管理部门")?a("el-form-item",{attrs:{label:"管理部门",prop:"department"}},[a("div",{staticStyle:{display:"inline-block",width:"183px"}},[a("treeselect",{attrs:{options:e.deptOptions,normalizer:e.normalizer,placeholder:"选择管理部门"},model:{value:e.queryParams.department,callback:function(t){e.$set(e.queryParams,"department",t)},expression:"queryParams.department"}})],1)]):e._e(),e.isExist("规格型号")?a("el-form-item",{attrs:{label:"规格型号",prop:"specificationsModel"}},[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.specificationsModel,callback:function(t){e.$set(e.queryParams,"specificationsModel",t)},expression:"queryParams.specificationsModel"}})],1):e._e(),e.isExist("ABC分类")?a("el-form-item",{attrs:{label:"ABC分类",prop:"abcCategory"}},[a("el-input",{attrs:{placeholder:"请输入ABC分类",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.abcCategory,callback:function(t){e.$set(e.queryParams,"abcCategory",t)},expression:"queryParams.abcCategory"}})],1):e._e(),e.isExist("资产性质")?a("el-form-item",{attrs:{label:"资产性质",prop:"property"}},[a("el-select",{attrs:{placeholder:"请选择资产性质",clearable:""},model:{value:e.queryParams.property,callback:function(t){e.$set(e.queryParams,"property",t)},expression:"queryParams.property"}},e._l(e.dict.type.sys_asset_property,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e.isExist("管理状态")?a("el-form-item",{attrs:{label:"管理状态",prop:"manageStatus"}},[a("el-select",{attrs:{placeholder:"请选择管理状态",clearable:""},model:{value:e.queryParams.manageStatus,callback:function(t){e.$set(e.queryParams,"manageStatus",t)},expression:"queryParams.manageStatus"}},e._l(e.dict.type.sys_manage_status,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e.isExist("入账时间")?a("el-form-item",{attrs:{label:"入账时间",prop:"paymentReceivingTime"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择入账时间"},model:{value:e.queryParams.paymentReceivingTime,callback:function(t){e.$set(e.queryParams,"paymentReceivingTime",t)},expression:"queryParams.paymentReceivingTime"}})],1):e._e(),e.isExist("购置日期")?a("el-form-item",{attrs:{label:"购置日期",prop:"purchaseDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择购置日期"},model:{value:e.queryParams.purchaseDate,callback:function(t){e.$set(e.queryParams,"purchaseDate",t)},expression:"queryParams.purchaseDate"}})],1):e._e(),e.isExist("启用日期")?a("el-form-item",{attrs:{label:"启用日期",prop:"commissioningDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择启用日期"},model:{value:e.queryParams.commissioningDate,callback:function(t){e.$set(e.queryParams,"commissioningDate",t)},expression:"queryParams.commissioningDate"}})],1):e._e(),e.isExist("使用年限")?a("el-form-item",{attrs:{label:"使用年限",prop:"durableYears"}},[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.durableYears,callback:function(t){e.$set(e.queryParams,"durableYears",t)},expression:"queryParams.durableYears"}})],1):e._e(),e.isExist("原值")?a("el-form-item",{attrs:{label:"原值",prop:"originalValue"}},[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.originalValue,callback:function(t){e.$set(e.queryParams,"originalValue",t)},expression:"queryParams.originalValue"}})],1):e._e(),e.isExist("净值")?a("el-form-item",{attrs:{label:"净值",prop:"netValue"}},[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.netValue,callback:function(t){e.$set(e.queryParams,"netValue",t)},expression:"queryParams.netValue"}})],1):e._e(),e.isExist("残值")?a("el-form-item",{attrs:{label:"残值",prop:"residualValue"}},[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.residualValue,callback:function(t){e.$set(e.queryParams,"residualValue",t)},expression:"queryParams.residualValue"}})],1):e._e(),e.isExist("折旧方式")?a("el-form-item",{attrs:{label:"折旧方式",prop:"depreciationMethod"}},[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.depreciationMethod,callback:function(t){e.$set(e.queryParams,"depreciationMethod",t)},expression:"queryParams.depreciationMethod"}})],1):e._e(),e.isExist("累计折旧")?a("el-form-item",{attrs:{label:"累计折旧",prop:"accumulatedDepreciation"}},[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.accumulatedDepreciation,callback:function(t){e.$set(e.queryParams,"accumulatedDepreciation",t)},expression:"queryParams.accumulatedDepreciation"}})],1):e._e(),e.isExist("最近折旧日期")?a("el-form-item",{attrs:{label:"最近折旧日期",prop:"lastDepreciationDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择最近折旧日期"},model:{value:e.queryParams.lastDepreciationDate,callback:function(t){e.$set(e.queryParams,"lastDepreciationDate",t)},expression:"queryParams.lastDepreciationDate"}})],1):e._e(),e.isExist("合同编号")?a("el-form-item",{attrs:{label:"合同编号",prop:"contractNumber"}},[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.contractNumber,callback:function(t){e.$set(e.queryParams,"contractNumber",t)},expression:"queryParams.contractNumber"}})],1):e._e(),e.isExist("出厂编号")?a("el-form-item",{attrs:{label:"出厂编号",prop:"factoryNumber"}},[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.factoryNumber,callback:function(t){e.$set(e.queryParams,"factoryNumber",t)},expression:"queryParams.factoryNumber"}})],1):e._e(),e.isExist("制造商")?a("el-form-item",{attrs:{label:"制造商",prop:"manufacturer"}},[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.manufacturer,callback:function(t){e.$set(e.queryParams,"manufacturer",t)},expression:"queryParams.manufacturer"}})],1):e._e(),e.isExist("供应商")?a("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[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.supplier,callback:function(t){e.$set(e.queryParams,"supplier",t)},expression:"queryParams.supplier"}})],1):e._e(),e.isExist("维保到期日期")?a("el-form-item",{attrs:{label:"维保到期日期",prop:"maintenanceDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择维保到期日期"},model:{value:e.queryParams.maintenanceDate,callback:function(t){e.$set(e.queryParams,"maintenanceDate",t)},expression:"queryParams.maintenanceDate"}})],1):e._e(),e.isExist("维修电话")?a("el-form-item",{attrs:{label:"维修电话",prop:"maintenanceTel"}},[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.maintenanceTel,callback:function(t){e.$set(e.queryParams,"maintenanceTel",t)},expression:"queryParams.maintenanceTel"}})],1):e._e(),e.isExist("维修人员")?a("el-form-item",{attrs:{label:"维修人员",prop:"maintenanceUser"}},[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.maintenanceUser,callback:function(t){e.$set(e.queryParams,"maintenanceUser",t)},expression:"queryParams.maintenanceUser"}})],1):e._e(),e.isExist("记录状态")?a("el-form-item",{attrs:{label:"记录状态",prop:"recordStatus"}},[a("el-select",{attrs:{placeholder:"请选择记录状态",clearable:""},model:{value:e.queryParams.recordStatus,callback:function(t){e.$set(e.queryParams,"recordStatus",t)},expression:"queryParams.recordStatus"}},e._l(e.dict.type.asset_record_status,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e.isExist("是否白名单")?a("el-form-item",{attrs:{label:"是否白名单",prop:"isWhitelist"}},[a("el-select",{attrs:{placeholder:"请选择是否白名单",clearable:""},model:{value:e.queryParams.isWhitelist,callback:function(t){e.$set(e.queryParams,"isWhitelist",t)},expression:"queryParams.isWhitelist"}},e._l(e.dict.type.sys_yes_no,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),a("el-form-item",{staticStyle:{"padding-left":"30px"}},[a("el-button",{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:["asset:information:add"],expression:"['asset:information: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:["asset:information:edit"],expression:"['asset:information: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:["asset:information:remove"],expression:"['asset:information:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["asset:information:import"],expression:"['asset:information:import']"}],attrs:{type:"info",plain:"",icon:"el-icon-upload2",size:"mini"},on:{click:e.handleImport}},[e._v("导入")])],1),a("el-col",{attrs:{span:1.5}},[a("el-dropdown",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["asset:information:export"],expression:"['asset:information:export']"}],attrs:{"split-button":"",type:"warning",trigger:"click",placement:"bottom-start",size:"mini"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link",on:{click:e.handleExport}},[a("i",{staticClass:"el-icon-download"}),e._v(" 导出 ")]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"batch"}},[a("span",{staticStyle:{padding:"8px","font-size":"13px","letter-spacing":"2px"}},[e._v("批量导出")])]),a("el-dropdown-item",{attrs:{command:"all",divided:""}},[a("span",{staticStyle:{padding:"8px","font-size":"13px","letter-spacing":"2px"}},[e._v("全部导出")])])],1)],1)],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["asset:information:query"],expression:"['asset:information:query']"}],attrs:{type:"success",plain:"",icon:"el-icon-printer",size:"mini",disabled:e.multiple},on:{click:e.handPrinter}},[e._v("打印标签")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["asset:information:query"],expression:"['asset:information:query']"}],attrs:{type:"primary",plain:"",icon:"el-icon-menu",size:"mini"},on:{click:e.handleDIY}},[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:{data:e.informationList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),a("el-table-column",{attrs:{label:"资产分类",align:"center",prop:"categoryName"}}),a("el-table-column",{attrs:{label:"资产编号",align:"center",prop:"number"}}),e.isExist("图片")?a("el-table-column",{attrs:{label:"图片",align:"center",prop:"imageUrl",width:"100"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("image-preview",{directives:[{name:"show",rawName:"v-show",value:""!==e.row.imageUrl&&null!=e.row.imageUrl,expression:"scope.row.imageUrl === '' || scope.row.imageUrl == null ? false : true"}],attrs:{src:e.row.imageUrl,width:50,height:50}})]}}],null,!1,3773187847)}):e._e(),a("el-table-column",{attrs:{label:"资产名称",align:"center",prop:"name"}}),a("el-table-column",{attrs:{label:"计量",align:"center",prop:"units"}}),a("el-table-column",{attrs:{label:"数量",align:"center",prop:"quantity"}}),e.isExist("入账时间")?a("el-table-column",{attrs:{label:"入账时间",align:"center",prop:"paymentReceivingTime"}}):e._e(),a("el-table-column",{attrs:{label:"所在位置",align:"center",prop:"locationName",width:"120"}}),a("el-table-column",{attrs:{label:"使用部门",align:"center",prop:"userDepartmentName"}}),e.isExist("资产条码")?a("el-table-column",{attrs:{label:"资产条码",align:"center",prop:"code"}}):e._e(),e.isExist("epc")?a("el-table-column",{attrs:{label:"EPC",align:"center",prop:"epc",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.epc)),a("br"),e._v("⌈补位:"+e._s(t.row.epcReplenishLength)+"⌋")])]}}],null,!1,3039191206)}):e._e(),e.isExist("管理部门")?a("el-table-column",{attrs:{label:"管理部门",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.departmentName))])]}}],null,!1,614096837)}):e._e(),e.isExist("所属公司")?a("el-table-column",{attrs:{label:"所属公司",align:"center",prop:"corporationName"}}):e._e(),e.isExist("备注")?a("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark"}}):e._e(),e.isExist("管理状态")?a("el-table-column",{attrs:{label:"管理状态",align:"center",prop:"manageStatus"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.sys_manage_status,value:t.row.manageStatus}})]}}],null,!1,2972344826)}):e._e(),e.isExist("资产性质")?a("el-table-column",{attrs:{label:"资产性质",align:"center",prop:"property"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.sys_asset_property,value:t.row.property}})]}}],null,!1,943387626)}):e._e(),e.isExist("规格型号")?a("el-table-column",{attrs:{label:"规格型号",align:"center",prop:"specificationsModel"}}):e._e(),e.isExist("ABC分类")?a("el-table-column",{attrs:{label:"ABC分类",align:"center",prop:"abcCategory"}}):e._e(),e.isExist("责任人")?a("el-table-column",{attrs:{label:"责任人",align:"center",prop:"responsiblePerson"}}):e._e(),e.isExist("购置日期")?a("el-table-column",{attrs:{label:"购置日期",align:"center",prop:"purchaseDate",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.purchaseDate,"{y}-{m}-{d}")))])]}}],null,!1,1192000418)}):e._e(),e.isExist("启用日期")?a("el-table-column",{attrs:{label:"启用日期",align:"center",prop:"commissioningDate",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.commissioningDate,"{y}-{m}-{d}")))])]}}],null,!1,1484611364)}):e._e(),e.isExist("原值")?a("el-table-column",{attrs:{label:"原值",align:"center",prop:"originalValue"}}):e._e(),e.isExist("使用年限")?a("el-table-column",{attrs:{label:"使用年限",align:"center",prop:"durableYears"}}):e._e(),e.isExist("净值")?a("el-table-column",{attrs:{label:"净值",align:"center",prop:"netValue"}}):e._e(),e.isExist("残值")?a("el-table-column",{attrs:{label:"残值",align:"center",prop:"residualValue"}}):e._e(),e.isExist("累计折旧")?a("el-table-column",{attrs:{label:"累计折旧",align:"center",prop:"accumulatedDepreciation"}}):e._e(),e.isExist("最近折旧日期")?a("el-table-column",{attrs:{label:"最近折旧日期",align:"center",prop:"lastDepreciationDate",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.lastDepreciationDate,"{y}-{m}-{d}")))])]}}],null,!1,1814304690)}):e._e(),e.isExist("折旧方式")?a("el-table-column",{attrs:{label:"折旧方式",align:"center",prop:"depreciationMethod"}}):e._e(),e.isExist("合同编号")?a("el-table-column",{attrs:{label:"合同编号",align:"center",prop:"contractNumber"}}):e._e(),e.isExist("出厂编号")?a("el-table-column",{attrs:{label:"出厂编号",align:"center",prop:"factoryNumber"}}):e._e(),e.isExist("制造商")?a("el-table-column",{attrs:{label:"制造商",align:"center",prop:"manufacturer"}}):e._e(),e.isExist("供应商")?a("el-table-column",{attrs:{label:"供应商",align:"center",prop:"supplier"}}):e._e(),e.isExist("资产用途")?a("el-table-column",{attrs:{label:"资产用途",align:"center",prop:"purpose"}}):e._e(),e.isExist("维保到期日期")?a("el-table-column",{attrs:{label:"维保到期日期",align:"center",prop:"maintenanceDate",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.maintenanceDate,"{y}-{m}-{d}")))])]}}],null,!1,1733047156)}):e._e(),e.isExist("维修电话")?a("el-table-column",{attrs:{label:"维修电话",align:"center",prop:"maintenanceTel"}}):e._e(),e.isExist("维修人员")?a("el-table-column",{attrs:{label:"维修人员",align:"center",prop:"maintenanceUser"}}):e._e(),e.isExist("记录状态")?a("el-table-column",{attrs:{label:"记录状态",align:"center",prop:"recordStatus"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.asset_record_status,value:t.row.recordStatus}})]}}],null,!1,1162246163)}):e._e(),e.isExist("是否白名单")?a("el-table-column",{attrs:{label:"是否白名单",align:"center",prop:"isWhitelist"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.sys_yes_no,value:t.row.isWhitelist}})]}}],null,!1,1983297291)}):e._e(),e.isExist("开始使用日期")?a("el-table-column",{attrs:{label:"开始使用日期",align:"center",prop:"startDate",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.startDate,"{y}-{m}-{d}")))])]}}],null,!1,3859946761)}):e._e(),e.isExist("预计使用期限")?a("el-table-column",{attrs:{label:"预计使用期限",align:"center",prop:"lifeExpectancy"}}):e._e(),e.isExist("预计使用期限单位")?a("el-table-column",{attrs:{label:"预计使用期限单位",align:"center",prop:"lifeUnits"}}):e._e(),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["asset:information:query"],expression:"['asset:information:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-printer"},on:{click:function(a){return e.handPrinter(t.row)}}},[e._v("打印")]),a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["asset:information:edit"],expression:"['asset:information:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(a){return e.handleUpdate(t.row)}}},[e._v("修改")]),a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["asset:information:remove"],expression:"['asset:information:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(a){return e.handleDelete(t.row)}}},[e._v("删除")])]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:e.title,visible:e.open,width:"1200px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"130px"}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"资产编号",prop:"number"}},[a("el-input",{attrs:{placeholder:"请输入资产编号"},model:{value:e.form.number,callback:function(t){e.$set(e.form,"number",t)},expression:"form.number"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"资产名称",prop:"name"}},[a("el-input",{attrs:{placeholder:"请输入资产名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"资产分类",prop:"categoryNumber"}},[a("el-select",{attrs:{placeholder:"请选择资产分类"},model:{value:e.form.categoryNumber,callback:function(t){e.$set(e.form,"categoryNumber",t)},expression:"form.categoryNumber"}},e._l(e.categoryList,(function(e){return a("el-option",{key:e.number,attrs:{label:e.name,value:e.number}})})),1)],1)],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"所在位置",prop:"locationNumber"}},[a("treeselect",{attrs:{options:e.locationList,normalizer:e.tenantIdnormalizer,placeholder:"选择位置"},model:{value:e.form.locationNumber,callback:function(t){e.$set(e.form,"locationNumber",t)},expression:"form.locationNumber"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"数量",prop:"quantity"}},[a("el-input",{attrs:{placeholder:"请输入数量"},model:{value:e.form.quantity,callback:function(t){e.$set(e.form,"quantity",t)},expression:"form.quantity"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"计量",prop:"units"}},[a("el-input",{attrs:{placeholder:"请输入计量单位"},model:{value:e.form.units,callback:function(t){e.$set(e.form,"units",t)},expression:"form.units"}})],1)],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"使用部门",prop:"userDepartment"}},[a("treeselect",{attrs:{options:e.deptOptions,normalizer:e.normalizer,placeholder:"选择使用部门"},model:{value:e.form.userDepartment,callback:function(t){e.$set(e.form,"userDepartment",t)},expression:"form.userDepartment"}})],1)],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"照片"}},[a("image-upload-temp",{attrs:{limit:1},model:{value:e.form.imageUrl,callback:function(t){e.$set(e.form,"imageUrl",t)},expression:"form.imageUrl"}})],1)],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("原值")?a("el-form-item",{attrs:{label:"原值",prop:"originalValue"}},[a("el-input",{attrs:{placeholder:"请输入原值"},model:{value:e.form.originalValue,callback:function(t){e.$set(e.form,"originalValue",t)},expression:"form.originalValue"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("净值")?a("el-form-item",{attrs:{label:"净值",prop:"netValue"}},[a("el-input",{attrs:{placeholder:"请输入净值"},model:{value:e.form.netValue,callback:function(t){e.$set(e.form,"netValue",t)},expression:"form.netValue"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("残值")?a("el-form-item",{attrs:{label:"残值",prop:"residualValue"}},[a("el-input",{attrs:{placeholder:"请输入残值"},model:{value:e.form.residualValue,callback:function(t){e.$set(e.form,"residualValue",t)},expression:"form.residualValue"}})],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("规格型号")?a("el-form-item",{attrs:{label:"规格型号",prop:"specificationsModel"}},[a("el-input",{attrs:{placeholder:"请输入规格型号"},model:{value:e.form.specificationsModel,callback:function(t){e.$set(e.form,"specificationsModel",t)},expression:"form.specificationsModel"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("资产用途")?a("el-form-item",{attrs:{label:"资产用途",prop:"purpose"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:e.form.purpose,callback:function(t){e.$set(e.form,"purpose",t)},expression:"form.purpose"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("资产性质")?a("el-form-item",{attrs:{label:"资产性质",prop:"property"}},[a("el-select",{attrs:{placeholder:"请选择资产性质",clearable:""},model:{value:e.form.property,callback:function(t){e.$set(e.form,"property",t)},expression:"form.property"}},e._l(e.dict.type.sys_asset_property,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("所属公司")?a("el-form-item",{attrs:{label:"所属公司",prop:"corporation"}},[a("treeselect",{attrs:{options:e.deptOptions,normalizer:e.normalizer,placeholder:"选择所属公司"},model:{value:e.form.corporation,callback:function(t){e.$set(e.form,"corporation",t)},expression:"form.corporation"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("管理部门")?a("el-form-item",{attrs:{label:"管理部门",prop:"department"}},[a("treeselect",{attrs:{options:e.deptOptions,normalizer:e.normalizer,placeholder:"选择管理部门"},model:{value:e.form.department,callback:function(t){e.$set(e.form,"department",t)},expression:"form.department"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("责任人")?a("el-form-item",{attrs:{label:"责任人",prop:"responsiblePerson"}},[a("el-input",{attrs:{placeholder:"请输入责任人"},model:{value:e.form.responsiblePerson,callback:function(t){e.$set(e.form,"responsiblePerson",t)},expression:"form.responsiblePerson"}})],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("开始使用日期")?a("el-form-item",{attrs:{label:"开始使用日期",prop:"startDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择开始使用日期"},model:{value:e.form.startDate,callback:function(t){e.$set(e.form,"startDate",t)},expression:"form.startDate"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("预计使用期限")?a("el-form-item",{attrs:{label:"预计使用期限",prop:"lifeExpectancy"}},[a("el-input",{attrs:{placeholder:"请输入预计使用期限"},model:{value:e.form.lifeExpectancy,callback:function(t){e.$set(e.form,"lifeExpectancy",t)},expression:"form.lifeExpectancy"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("预计使用期限")?a("el-form-item",{attrs:{label:"预计使用期限单位",prop:"lifeUnits"}},[a("el-input",{attrs:{placeholder:"请输入预计使用期限单位"},model:{value:e.form.lifeUnits,callback:function(t){e.$set(e.form,"lifeUnits",t)},expression:"form.lifeUnits"}})],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("ABC分类")?a("el-form-item",{attrs:{label:"ABC分类",prop:"abcCategory"}},[a("el-input",{attrs:{placeholder:"请输入ABC分类"},model:{value:e.form.abcCategory,callback:function(t){e.$set(e.form,"abcCategory",t)},expression:"form.abcCategory"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("启用日期")?a("el-form-item",{attrs:{label:"启用日期",prop:"commissioningDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择启用日期"},model:{value:e.form.commissioningDate,callback:function(t){e.$set(e.form,"commissioningDate",t)},expression:"form.commissioningDate"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("入账时间")?a("el-form-item",{attrs:{label:"入账时间",prop:"paymentReceivingTime"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请输入入账时间"},model:{value:e.form.paymentReceivingTime,callback:function(t){e.$set(e.form,"paymentReceivingTime",t)},expression:"form.paymentReceivingTime"}})],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("折旧方式")?a("el-form-item",{attrs:{label:"折旧方式",prop:"depreciationMethod"}},[a("el-input",{attrs:{placeholder:"请输入折旧方式"},model:{value:e.form.depreciationMethod,callback:function(t){e.$set(e.form,"depreciationMethod",t)},expression:"form.depreciationMethod"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("累计折旧")?a("el-form-item",{attrs:{label:"累计折旧",prop:"accumulatedDepreciation"}},[a("el-input",{attrs:{placeholder:"请输入累计折旧"},model:{value:e.form.accumulatedDepreciation,callback:function(t){e.$set(e.form,"accumulatedDepreciation",t)},expression:"form.accumulatedDepreciation"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("最近折旧日期")?a("el-form-item",{attrs:{label:"最近折旧日期",prop:"lastDepreciationDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择最近折旧日期"},model:{value:e.form.lastDepreciationDate,callback:function(t){e.$set(e.form,"lastDepreciationDate",t)},expression:"form.lastDepreciationDate"}})],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("使用年限")?a("el-form-item",{attrs:{label:"使用年限",prop:"durableYears"}},[a("el-input",{attrs:{placeholder:"请输入使用年限"},model:{value:e.form.durableYears,callback:function(t){e.$set(e.form,"durableYears",t)},expression:"form.durableYears"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("购置日期")?a("el-form-item",{attrs:{label:"购置日期",prop:"purchaseDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择购置日期"},model:{value:e.form.purchaseDate,callback:function(t){e.$set(e.form,"purchaseDate",t)},expression:"form.purchaseDate"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("记录状态")?a("el-form-item",{attrs:{label:"记录状态",prop:"recordStatus"}},[a("el-select",{attrs:{placeholder:"请选择记录状态"},model:{value:e.form.recordStatus,callback:function(t){e.$set(e.form,"recordStatus",t)},expression:"form.recordStatus"}},e._l(e.dict.type.asset_record_status,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:parseInt(e.value)}})})),1)],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("维保到期日期")?a("el-form-item",{attrs:{label:"维保到期日期",prop:"maintenanceDate"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择维保到期日期"},model:{value:e.form.maintenanceDate,callback:function(t){e.$set(e.form,"maintenanceDate",t)},expression:"form.maintenanceDate"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("维修电话")?a("el-form-item",{attrs:{label:"维修电话",prop:"maintenanceTel"}},[a("el-input",{attrs:{placeholder:"请输入维修电话"},model:{value:e.form.maintenanceTel,callback:function(t){e.$set(e.form,"maintenanceTel",t)},expression:"form.maintenanceTel"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("维修人员")?a("el-form-item",{attrs:{label:"维修人员",prop:"maintenanceUser"}},[a("el-input",{attrs:{placeholder:"请输入维修人员"},model:{value:e.form.maintenanceUser,callback:function(t){e.$set(e.form,"maintenanceUser",t)},expression:"form.maintenanceUser"}})],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:8}},[e.isExist("制造商")?a("el-form-item",{attrs:{label:"制造商",prop:"manufacturer"}},[a("el-input",{attrs:{placeholder:"请输入制造商"},model:{value:e.form.manufacturer,callback:function(t){e.$set(e.form,"manufacturer",t)},expression:"form.manufacturer"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("供应商")?a("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[a("el-input",{attrs:{placeholder:"请输入供应商"},model:{value:e.form.supplier,callback:function(t){e.$set(e.form,"supplier",t)},expression:"form.supplier"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("出厂编号")?a("el-form-item",{attrs:{label:"出厂编号",prop:"factoryNumber"}},[a("el-input",{attrs:{placeholder:"请输入出厂编号"},model:{value:e.form.factoryNumber,callback:function(t){e.$set(e.form,"factoryNumber",t)},expression:"form.factoryNumber"}})],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:16}},[e.isExist("合同编号")?a("el-form-item",{attrs:{label:"合同编号",prop:"contractNumber"}},[a("el-input",{attrs:{placeholder:"请输入合同编号"},model:{value:e.form.contractNumber,callback:function(t){e.$set(e.form,"contractNumber",t)},expression:"form.contractNumber"}})],1):e._e()],1),a("el-col",{attrs:{span:8}},[e.isExist("是否白名单")?a("el-form-item",{attrs:{label:"是否白名单",prop:"isWhitelist"}},[a("el-select",{attrs:{placeholder:"请输入是否白名单"},model:{value:e.form.isWhitelist,callback:function(t){e.$set(e.form,"isWhitelist",t)},expression:"form.isWhitelist"}},e._l(e.dict.type.sys_yes_no,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()],1)],1),a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:24}},[e.isExist("备注")?a("el-form-item",{attrs:{label:"备注",prop:"remark"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入备注"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1):e._e()],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确 定")]),a("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1),a("el-dialog",{attrs:{title:e.title,visible:e.diyOpen,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.diyOpen=t}}},[[a("div",[a("el-checkbox-group",{attrs:{mini:""},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},[a("el-checkbox",{attrs:{label:"图片",border:""}}),a("el-checkbox",{attrs:{label:"使用部门",border:""}}),a("el-checkbox",{attrs:{label:"资产条码",border:""}}),a("el-checkbox",{attrs:{label:"资产性质",border:""}}),a("el-checkbox",{attrs:{label:"规格型号",border:""}}),a("el-checkbox",{attrs:{label:"ABC分类",border:""}}),a("el-checkbox",{attrs:{label:"责任人",border:""}}),a("el-checkbox",{attrs:{label:"购置日期",border:""}}),a("el-checkbox",{attrs:{label:"启用日期",border:""}}),a("el-checkbox",{attrs:{label:"使用年限",border:""}}),a("el-checkbox",{attrs:{label:"原值",border:""}}),a("el-checkbox",{attrs:{label:"净值",border:""}}),a("el-checkbox",{attrs:{label:"残值",border:""}}),a("el-checkbox",{attrs:{label:"折旧方式",border:""}}),a("el-checkbox",{attrs:{label:"累计折旧",border:""}}),a("el-checkbox",{attrs:{label:"最近折旧日期",border:""}}),a("el-checkbox",{attrs:{label:"合同编号",border:""}}),a("el-checkbox",{attrs:{label:"出厂编号",border:""}}),a("el-checkbox",{attrs:{label:"制造商",border:""}}),a("el-checkbox",{attrs:{label:"供应商",border:""}}),a("el-checkbox",{attrs:{label:"维保到期日期",border:""}}),a("el-checkbox",{attrs:{label:"维修电话",border:""}}),a("el-checkbox",{attrs:{label:"维修人员",border:""}}),a("el-checkbox",{attrs:{label:"入账时间",border:""}}),a("el-checkbox",{attrs:{label:"开始使用日期",border:""}}),a("el-checkbox",{attrs:{label:"预计使用期限",border:""}}),a("el-checkbox",{attrs:{label:"预计使用期限单位",border:""}}),a("el-checkbox",{attrs:{label:"所属公司",border:""}}),a("el-checkbox",{attrs:{label:"管理部门",border:""}}),a("el-checkbox",{attrs:{label:"管理状态",border:""}}),a("el-checkbox",{attrs:{label:"记录状态",border:""}}),a("el-checkbox",{attrs:{label:"是否白名单",border:""}}),a("el-checkbox",{attrs:{label:"epc",border:""}}),a("el-checkbox",{attrs:{label:"备注",border:""}})],1)],1)],a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:e.submitDIY}},[e._v("确 定")]),a("el-button",{on:{click:e.cancelDIY}},[e._v("取 消")])],1)],2),a("el-dialog",{attrs:{title:e.upload.title,visible:e.upload.open,width:"400px","append-to-body":""},on:{"update:visible":function(t){return e.$set(e.upload,"open",t)}}},[a("el-upload",{ref:"upload",attrs:{limit:1,accept:".xlsx, .xls",headers:e.upload.headers,action:e.upload.url+"?updateSupport="+e.upload.updateSupport,disabled:e.upload.isUploading,"on-progress":e.handleFileUploadProgress,"on-success":e.handleFileSuccess,"auto-upload":!1,drag:""}},[a("i",{staticClass:"el-icon-upload"}),a("div",{staticClass:"el-upload__text"},[e._v("将文件拖到此处,或"),a("em",[e._v("点击上传")])]),a("div",{staticClass:"el-upload__tip text-center",attrs:{slot:"tip"},slot:"tip"},[a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[a("el-checkbox",{model:{value:e.upload.updateSupport,callback:function(t){e.$set(e.upload,"updateSupport",t)},expression:"upload.updateSupport"}}),e._v(" 是否更新已经存在的用户数据")],1),a("span",[e._v("仅允许导入xls、xlsx格式文件。")]),a("el-link",{staticStyle:{"font-size":"12px","vertical-align":"baseline"},attrs:{type:"primary",underline:!1},on:{click:e.importTemplate}},[e._v("下载模板")])],1)]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:e.submitFileForm}},[e._v("确 定")]),a("el-button",{on:{click:function(t){e.upload.open=!1}}},[e._v("取 消")])],1)],1),a("el-dialog",{attrs:{title:"标签打印",visible:e.isPrinter,width:"400px","append-to-body":""},on:{"update:visible":function(t){e.isPrinter=t}}},[e.isSinglePrinter?e._e():a("el-form",{ref:"printForm",attrs:{model:e.printForm,rules:e.printRules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"资产ID",prop:"ids"}},[e._v(" "+e._s(e.printForm.ids)+" ")]),a("el-form-item",{attrs:{label:"标签编码",prop:"labelCode"}},[a("el-select",{attrs:{placeholder:"请选择标签编码"},model:{value:e.printForm.labelCode,callback:function(t){e.$set(e.printForm,"labelCode",t)},expression:"printForm.labelCode"}},e._l(e.labelCodes,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[a("span",{staticStyle:{float:"left"}},[e._v(e._s(t.label))]),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.value))])])})),1)],1)],1),e.isSinglePrinter?a("el-form",{ref:"printForm",attrs:{model:e.singlePrintForm,rules:e.printRules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"资产ID",prop:"id"}},[e._v(" "+e._s(e.singlePrintForm.id)+" ")]),a("el-form-item",{attrs:{label:"标签编码",prop:"labelCode"}},[a("el-select",{attrs:{placeholder:"请选择标签编码"},model:{value:e.singlePrintForm.labelCode,callback:function(t){e.$set(e.singlePrintForm,"labelCode",t)},expression:"singlePrintForm.labelCode"}},e._l(e.labelCodes,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[a("span",{staticStyle:{float:"left"}},[e._v(e._s(t.label))]),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.value))])])})),1)],1),a("el-form-item",{attrs:{label:"可选标签",prop:"indexes"}},[a("el-select",{attrs:{multiple:"",placeholder:"默认全选",clearable:"",filterable:!0},model:{value:e.singlePrintForm.indexes,callback:function(t){e.$set(e.singlePrintForm,"indexes",t)},expression:"singlePrintForm.indexes"}},e._l(e.singlePrintIndexes,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),1!==e.form.orderType?a("p",{staticClass:"msg"},[a("i",{staticClass:"el-icon-info"}),e._v(" 可选标签留空,即默认全选")]):e._e()],1):e._e(),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:e.onSubmitPrint}},[e._v("确 定")]),a("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)],1)},r=[],n=a("5530"),i=a("b85c"),o=(a("d3b7"),a("d81d"),a("4de4"),a("14d9"),a("99af"),a("b88f")),s=a("89fd"),c=a("ffc9"),u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"component-upload-image"},[a("el-upload",{ref:"imageUpload",class:{hide:this.fileList.length>=this.limit},attrs:{multiple:"",action:e.uploadImgUrl,"list-type":"picture-card","on-success":e.handleUploadSuccess,"before-upload":e.handleBeforeUpload,limit:e.limit,"on-error":e.handleUploadError,"on-exceed":e.handleExceed,"on-remove":e.handleDelete,"show-file-list":!0,headers:e.headers,"file-list":e.fileList,"on-preview":e.handlePictureCardPreview}},[a("i",{staticClass:"el-icon-plus"})]),e.showTip?a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(" 请上传 "),e.fileSize?[e._v(" 大小不超过 "),a("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileSize)+"MB")])]:e._e(),e.fileType?[e._v(" 格式为 "),a("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileType.join("/")))])]:e._e(),e._v(" 的文件 ")],2):e._e(),a("el-dialog",{attrs:{visible:e.dialogVisible,title:"预览",width:"800","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("img",{staticStyle:{display:"block","max-width":"100%",margin:"0 auto"},attrs:{src:e.dialogImageUrl}})])],1)},p=[],m=(a("a9e3"),a("b0c0"),a("fb6a"),a("a15b"),a("a434"),a("ac1f"),a("5319"),a("5f87")),d={props:{value:[String,Object,Array],limit:{type:Number,default:5},fileSize:{type:Number,default:5},fileType:{type:Array,default:function(){return["png","jpg","jpeg"]}},isShowTip:{type:Boolean,default:!0}},data:function(){return{number:0,uploadList:[],dialogImageUrl:"",dialogVisible:!1,hideUpload:!1,baseUrl:"/prod-api",uploadImgUrl:"/prod-api/common/upload",headers:{Authorization:"Bearer "+Object(m["a"])()},fileList:[]}},watch:{value:{handler:function(e){var t=this;if(!e)return this.fileList=[],[];var a=Array.isArray(e)?e:this.value.split(",");this.fileList=a.map((function(e){return"string"===typeof e&&(e=-1===e.indexOf(t.baseUrl)?{name:t.baseUrl+e,url:t.baseUrl+e}:{name:e,url:e}),e}))},deep:!0,immediate:!0}},computed:{showTip:function(){return this.isShowTip&&(this.fileType||this.fileSize)}},methods:{handleBeforeUpload:function(e){var t=!1;if(this.fileType.length){var a="";e.name.lastIndexOf(".")>-1&&(a=e.name.slice(e.name.lastIndexOf(".")+1)),t=this.fileType.some((function(t){return e.type.indexOf(t)>-1||!!(a&&a.indexOf(t)>-1)}))}else t=e.type.indexOf("image")>-1;if(!t)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"图片格式文件!")),!1;if(this.fileSize){var l=e.size/1024/1024<this.fileSize;if(!l)return this.$modal.msgError("上传头像图片大小不能超过 ".concat(this.fileSize," MB!")),!1}this.$modal.loading("正在上传图片,请稍候..."),this.number++},handleExceed:function(){this.$modal.msgError("上传文件数量不能超过 ".concat(this.limit," 个!"))},handleUploadSuccess:function(e,t){200===e.code?(this.uploadList.push({name:e.fileName,url:e.fileName}),this.uploadedSuccessfully()):(this.number--,this.$modal.closeLoading(),this.$modal.msgError(e.msg),this.$refs.imageUpload.handleRemove(t),this.uploadedSuccessfully())},handleDelete:function(e){var t=this.fileList.map((function(e){return e.name})).indexOf(e.name);t>-1&&(this.fileList.splice(t,1),this.$emit("input",this.listToString(this.fileList)))},handleUploadError:function(){this.$modal.msgError("上传图片失败,请重试"),this.$modal.closeLoading()},uploadedSuccessfully:function(){this.number>0&&this.uploadList.length===this.number&&(this.fileList=this.fileList.concat(this.uploadList),this.uploadList=[],this.number=0,this.$emit("input",this.listToString(this.fileList)),this.$modal.closeLoading())},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},listToString:function(e,t){var a="";for(var l in t=t||",",e)e[l].url&&(a+=e[l].url.replace(this.baseUrl,"")+t);return""!=a?a.substr(0,a.length-1):""}}},f=d,b=(a("6cf2"),a("2877")),y=Object(b["a"])(f,u,p,!1,null,"2dd7a184",null),h=y.exports,g=a("fcb7"),v=a("0ff7"),x=a("ca17"),k=a.n(x),_=(a("542c"),{name:"Information",dicts:["asset_record_status","sys_yes_no","sys_manage_status","sys_asset_property"],components:{ImageUploadTemp:h,Treeselect:k.a},computed:{isExist:function(){var e=this;return function(t){return!!e.checkList.length&&e.checkList.some((function(e){return e===t}))}}},data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,arr:[],locationList:[],categoryList:[],informationList:[],deptOptions:[],title:"",open:!1,diyOpen:!1,checkList:[],queryParams:{pageNum:1,pageSize:10,code:null,name:null,number:null,imageUrl:null,categoryNumber:null,specificationsModel:null,abcCategory:null,manageStatus:null,userDepartment:null,department:null,responsiblePerson:null,locationNumber:null,property:null,purchaseDate:null,commissioningDate:null,originalValue:null,durableYears:null,netValue:null,residualValue:null,accumulatedDepreciation:null,lastDepreciationDate:null,depreciationMethod:null,contractNumber:null,factoryNumber:null,manufacturer:null,supplier:null,purpose:null,maintenanceDate:null,maintenanceTel:null,maintenanceUser:null,corporation:null,recordStatus:null,isWhitelist:null,quantity:null,units:null,paymentReceivingTime:null,epc:null,epcReplenishLength:null,lifeExpectancy:null,lifeUnits:null,startDate:null,reservedColumnJ:null},form:{},rules:{number:[{required:!0,message:"资产编号不能为空",trigger:"blur"}],specificationsModel:[{required:!0,message:"规格型号不能为空",trigger:"blur"}],manageStatus:[{required:!0,message:"管理状态不能为空",trigger:"change"}],recordStatus:[{required:!0,message:"记录状态不能为空",trigger:"change"}]},upload:{open:!1,title:"",isUploading:!1,updateSupport:1,headers:{Authorization:"Bearer "+Object(m["a"])()},url:"/prod-api/asset/information/importData"},labelCodes:[{label:"",value:""}],printForm:{ids:null,labelCode:null},printRules:{ids:[{required:!0,message:"资产编码不能为空",trigger:"blur"}],labelCode:[{required:!0,message:"标签编码不能为空",trigger:"change"}]},isPrinter:!1,singlePrintForm:{id:null,indexes:null,labelCode:null},singlePrintIndexes:[],isSinglePrinter:!1,assetSelect:[]}},created:function(){var e=this;Object(v["e"])().then((function(t){e.labelCodes=t.data})),this.getList()},methods:{getList:function(){var e=this;this.loading=!0,Object(o["c"])().then((function(t){e.checkList=t.data})),Object(g["d"])().then((function(t){e.deptOptions=e.handleTree(t.data,"deptId"),e.arr=t.data})),Object(s["d"])().then((function(t){e.categoryList=t.rows})),Object(c["f"])().then((function(t){e.locationList=t.data})),Object(o["e"])(this.queryParams).then((function(t){e.informationList=t.rows,e.total=t.total,e.loading=!1}))},normalizer:function(e){return e.children&&!e.children.length&&delete e.children,{id:e.deptId,label:e.deptName,children:e.children}},tenantIdnormalizer:function(e){return{id:e.number,label:e.label,children:e.children}},findLocation:function(e,t){var a,l=null,r=Object(i["a"])(t);try{for(r.s();!(a=r.n()).done;){var n=a.value;if(n.number===e){l=n.label;break}if(n.children){var o=this.findLocation(e,n.children);if(null!=o){l=o;break}}}}catch(s){r.e(s)}finally{r.f()}return l},cancel:function(){this.open=!1,this.isPrinter=!1,this.reset()},reset:function(){this.form={id:null,code:null,name:null,number:null,imageUrl:null,categoryNumber:null,specificationsModel:null,abcCategory:null,manageStatus:null,userDepartment:null,department:null,responsiblePerson:null,locationNumber:null,property:null,purchaseDate:null,commissioningDate:null,originalValue:null,durableYears:null,netValue:null,residualValue:null,accumulatedDepreciation:null,lastDepreciationDate:null,depreciationMethod:null,contractNumber:null,factoryNumber:null,manufacturer:null,supplier:null,purpose:null,maintenanceDate:null,maintenanceTel:null,maintenanceUser:null,corporation:null,recordStatus:null,remark:null,createBy:null,createTime:null,updateBy:null,updateTime:null,isWhitelist:null,quantity:null,units:null,paymentReceivingTime:null,epc:null,epcReplenishLength:null,lifeExpectancy:null,lifeUnits:null,startDate:null,reservedColumnJ:null},this.printForm={ids:null,labelCode:null},this.resetForm("form"),this.resetForm("printForm")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.id})),this.single=1!==e.length,this.multiple=!e.length},handleAdd:function(e){var t=this;this.reset(),void 0!=e&&(this.form.parentId=e.deptId),this.open=!0,this.title="添加资产信息",Object(g["d"])().then((function(e){t.deptOptions=t.handleTree(e.data,"deptId")}))},handleUpdate:function(e){var t=this;this.reset();var a=e.id||this.ids;Object(o["d"])(a).then((function(e){t.form=e.data,t.open=!0,t.title="修改资产信息"}))},handPrinter:function(e){var t=e.id||this.ids;if("[object Array]"===Object.prototype.toString.call(t)){if(1===t.length)return e=this.informationList.filter((function(e){return e.id===t[0]}))[0],this.handSinglePrint(e,t[0]),void(this.isPrinter=!0);this.printForm.ids=t,this.isSinglePrinter=!1}else this.handSinglePrint(e,e.id);this.isPrinter=!0},handSinglePrint:function(e,t){this.isSinglePrinter=!0,this.singlePrintForm.id=t;var a=[];if(e.quantity<=1)a.push({label:"".concat(e.number),value:0});else for(var l=0;l<e.quantity;l++)a.push({label:"".concat(e.number,"-").concat(l+1),value:l});this.singlePrintIndexes=a},onSubmitPrint:function(){var e=this;this.$refs.printForm.validate((function(t){if(!t)return!1;e.isSinglePrinter?Object(o["j"])(e.singlePrintForm).then((function(t){e.$modal.msgSuccess("操作成功,等待打印..."),e.cancel()})):Object(o["g"])(e.printForm).then((function(t){e.$modal.msgSuccess("操作成功,等待打印..."),e.cancel()}))}))},handleDIY:function(){this.diyOpen=!0,this.title="自定义字段"},submitDIY:function(){var e=this;Object(o["i"])(this.checkList).then((function(t){e.diyOpen=!1,e.$modal.msgSuccess("修改成功")}))},cancelDIY:function(){this.diyOpen=!1},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(null!=e.form.id?Object(o["k"])(e.form).then((function(t){e.$modal.msgSuccess("修改成功"),e.open=!1,e.getList()})):Object(o["a"])(e.form).then((function(t){e.$modal.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},handleImport:function(){this.upload.title="资产信息导入",this.upload.open=!0},importTemplate:function(){this.download("/asset/information/importTemplate",{},"stu_base_template_".concat((new Date).getTime(),".xlsx"))},handleFileUploadProgress:function(e,t,a){this.upload.isUploading=!0},handleFileSuccess:function(e,t,a){this.upload.open=!1,this.upload.isUploading=!1,this.$modal.closeLoading(),this.$refs.upload.clearFiles(),this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"+e.msg+"</div>","导入结果",{dangerouslyUseHTMLString:!0}),this.getList()},submitFileForm:function(){this.$refs.upload.submit(),this.$modal.loading("资产导入中,请稍候...")},handleDelete:function(e){var t=this,a=e.id||this.ids;this.$modal.confirm('是否确认删除资产信息编号为"'+a+'"的数据项?').then((function(){return Object(o["b"])(a)})).then((function(){t.getList(),t.$modal.msgSuccess("删除成功")})).catch((function(){}))},handleExport:function(){this.download("asset/information/export",Object(n["a"])({},this.queryParams),"information_".concat((new Date).getTime(),".xlsx"))},handleAllExport:function(){this.download("asset/information/allExport",{},"information_".concat((new Date).getTime(),".xlsx"))},handleCommand:function(e){"batch"===e&&this.handleExport(),"all"===e&&this.handleAllExport()}}}),P=_,E=(a("1361"),Object(b["a"])(P,l,r,!1,null,"153d9092",null));t["default"]=E.exports},fcb7:function(e,t,a){"use strict";a.d(t,"d",(function(){return r})),a.d(t,"e",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return o})),a.d(t,"f",(function(){return s})),a.d(t,"b",(function(){return c}));var l=a("b775");function r(e){return Object(l["a"])({url:"/system/dept/list",method:"get",params:e})}function n(e){return Object(l["a"])({url:"/system/dept/list/exclude/"+e,method:"get"})}function i(e){return Object(l["a"])({url:"/system/dept/"+e,method:"get"})}function o(e){return Object(l["a"])({url:"/system/dept",method:"post",data:e})}function s(e){return Object(l["a"])({url:"/system/dept",method:"put",data:e})}function c(e){return Object(l["a"])({url:"/system/dept/"+e,method:"delete"})}},ffc9:function(e,t,a){"use strict";a.d(t,"c",(function(){return r})),a.d(t,"e",(function(){return n})),a.d(t,"f",(function(){return i})),a.d(t,"a",(function(){return o})),a.d(t,"g",(function(){return s})),a.d(t,"b",(function(){return c})),a.d(t,"d",(function(){return u}));a("99af");var l=a("b775");a("4328");function r(e){return Object(l["a"])({url:"/asset/location/"+e,method:"get"})}function n(e){return Object(l["a"])({url:"/asset/location/tree",method:"post",data:e})}function i(e){return Object(l["a"])({url:"/asset/location/treeSelect",method:"get",data:{params:{id:e}}})}function o(e){return Object(l["a"])({url:"/asset/location",method:"post",data:e})}function s(e){return Object(l["a"])({url:"/asset/location",method:"put",data:e})}function c(e){return Object(l["a"])({url:"/asset/location/"+e,method:"delete"})}function u(e,t){return"/asset/location/code/".concat(e,"?v=").concat(t)}}}]);