(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-46e0"],{"7lOj":function(t,e,r){},"C/mA":function(t,e,r){"use strict";var a=r("7lOj");r.n(a).a},Na1v:function(t,e,r){"use strict";r.d(e,"c",function(){return i}),r.d(e,"e",function(){return c}),r.d(e,"h",function(){return o}),r.d(e,"y",function(){return s}),r.d(e,"j",function(){return u}),r.d(e,"x",function(){return l}),r.d(e,"f",function(){return d}),r.d(e,"t",function(){return p}),r.d(e,"k",function(){return h}),r.d(e,"d",function(){return f}),r.d(e,"q",function(){return b}),r.d(e,"l",function(){return y}),r.d(e,"g",function(){return m}),r.d(e,"a",function(){return v}),r.d(e,"o",function(){return g}),r.d(e,"i",function(){return j}),r.d(e,"r",function(){return O}),r.d(e,"n",function(){return _}),r.d(e,"w",function(){return z}),r.d(e,"u",function(){return A}),r.d(e,"v",function(){return x}),r.d(e,"s",function(){return Q}),r.d(e,"p",function(){return k}),r.d(e,"m",function(){return L}),r.d(e,"b",function(){return C}),r.d(e,"z",function(){return w});var a=r("X4fA"),n=r("t3Un");function i(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getApply",method:"get",params:t||{}})}function c(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getConfirm",method:"get",params:t||{}})}function o(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/addApply",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/putApply",method:"post",data:t})}function u(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/delApply",method:"post",data:t})}function l(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/submitApply",method:"post",data:t})}function d(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/confirmProduct",method:"post",data:t})}function p(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/rejectProduct",method:"post",data:t})}function h(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/exportRFID",method:"post",data:t})}function f(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/batchBarCode",method:"post",data:t})}function b(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/printBarCode",method:"post",data:t})}function y(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBox?code="+t,method:"get"})}function m(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/contractUnitList",method:"post",data:t})}function v(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/addContractUnit",method:"post",data:t})}function g(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/contractUnit",method:"post",data:t})}function j(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/delContractUnit",method:"post",params:t})}function O(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/zplPrint",method:"post",data:t})}function _(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxPrint",method:"post",data:t})}function z(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishInnerPrint",method:"post",data:t})}function A(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxBatch",method:"post",data:t})}function x(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxBatchPrint",method:"post",data:t})}function Q(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/produce",method:"post",data:t})}function k(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getControlParams",method:"get",params:t||{}})}function L(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getOwnSelectType?type="+t,method:"get"})}function C(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/addControlParams",method:"post",data:t})}function w(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/updateControlParams",method:"post",data:t})}},YX4H:function(t,e,r){"use strict";r.r(e);var a=r("14Xm"),n=r.n(a),i=r("D3Ub"),c=r.n(i),o=r("7Qib"),s=r("Na1v"),u=r("WZwz"),l={name:"publicSecurityDepartment",data:function(){return{tableKey:0,listLoading:!1,pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,searchContent:"",listQuery:{filter:{unitname:"",province:"",city:"",district:"",street:""},pageIndex:1,pageSize:10},provinceList:[],cityList:[],districtList:[],streetList:[],dialogVisible:!1,unitDetailListData:[]}},created:function(){this.getContractUnitList(),this.getProvince()},methods:{showEnterPrise:function(t){this.dialogVisible=!0,this.safetySuperVisionList=t,this.getContractUnitList()},getProvince:function(){var t=this;return c()(n.a.mark(function e(){var r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.b)();case 2:"200"===(r=e.sent).data.code&&(t.provinceList=r.data.result.provinceList);case 4:case"end":return e.stop()}},e,t)}))()},changeArea:function(t){var e=this;return c()(n.a.mark(function r(){var a,i,c;return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if("province"!==t){r.next=11;break}return e.listQuery.filter.city="",e.listQuery.filter.district="",e.listQuery.filter.street="",e.areaListQuery={type:2,parenttype:1,parentname:e.listQuery.filter.province},r.next=7,Object(u.a)(e.areaListQuery);case 7:"200"===(a=r.sent).data.code&&(e.cityList=a.data.result),r.next=28;break;case 11:if("city"!==t){r.next=21;break}return e.listQuery.filter.district="",e.listQuery.filter.street="",e.areaListQuery={type:3,parenttype:2,parentname:e.listQuery.filter.city},r.next=17,Object(u.a)(e.areaListQuery);case 17:"200"===(i=r.sent).data.code&&(e.districtList=i.data.result),r.next=28;break;case 21:if("district"!==t){r.next=28;break}return e.listQuery.filter.street="",e.areaListQuery={type:4,parenttype:3,parentname:e.listQuery.filter.district},r.next=26,Object(u.a)(e.areaListQuery);case 26:"200"===(c=r.sent).data.code&&(e.streetList=c.data.result);case 28:case"end":return r.stop()}},r,e)}))()},getContractUnitList:function(){var t=this;return c()(n.a.mark(function e(){var r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(s.g)(t.listQuery);case 2:"200"===(r=e.sent).data.code&&(t.recordTotal=r.data.result.total,t.pageSize=r.data.result.size,t.pageTotal=Object(o.a)(r.data.result.total,r.data.result.size),t.currentPage=r.data.result.current,t.unitDetailListData=r.data.result.records);case 4:case"end":return e.stop()}},e,t)}))()},refreshHandle:function(){},queryHandle:function(){this.getContractUnitList()},updatePublicSecurityDepartment:function(t,e){this.$emit("getinfo",e),this.dialogVisible=!1},handleSizeChange:function(t){this.listQuery.pageSize=t,this.getContractUnitList()},handleCurrentChange:function(t){this.listQuery.pageIndex=t,this.getContractUnitList()}}},d=(r("C/mA"),r("KHd+")),p=Object(d.a)(l,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{visible:t.dialogVisible,"append-to-body":"","close-on-click-modal":!1,width:"75%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[r("div",{staticClass:"app-container"},[r("div",{staticClass:"filter-container"},[r("div",{staticClass:"basic_search"},[r("span",[t._v("区域:")]),t._v(" "),r("el-select",{attrs:{clearable:"",filterable:""},on:{change:function(e){t.changeArea("province")}},model:{value:t.listQuery.filter.province,callback:function(e){t.$set(t.listQuery.filter,"province",e)},expression:"listQuery.filter.province"}},t._l(t.provinceList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticClass:"basic_search"},[r("el-select",{attrs:{prop:"city",clearable:"",filterable:""},on:{change:function(e){t.changeArea("city")}},model:{value:t.listQuery.filter.city,callback:function(e){t.$set(t.listQuery.filter,"city",e)},expression:"listQuery.filter.city"}},t._l(t.cityList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticClass:"basic_search"},[r("el-select",{attrs:{clearable:"",filterable:""},on:{change:function(e){t.changeArea("district")}},model:{value:t.listQuery.filter.district,callback:function(e){t.$set(t.listQuery.filter,"district",e)},expression:"listQuery.filter.district"}},t._l(t.districtList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticClass:"basic_search"},[r("el-select",{attrs:{clearable:"",filterable:""},on:{change:function(e){t.changeArea("street")}},model:{value:t.listQuery.filter.street,callback:function(e){t.$set(t.listQuery.filter,"street",e)},expression:"listQuery.filter.street"}},t._l(t.streetList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))],1),t._v(" "),r("div",{staticStyle:{display:"block","padding-top":"10px","padding-bottom":"10px"}},[r("div",{staticClass:"basic_search",staticStyle:{"margin-left":"10px"}},[r("span",[t._v("单位名称:")]),t._v(" "),r("el-input",{staticStyle:{width:"200px"},model:{value:t.listQuery.filter.unitname,callback:function(e){t.$set(t.listQuery.filter,"unitname",e)},expression:"listQuery.filter.unitname"}})],1),t._v(" "),r("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.queryHandle}})],1)]),t._v(" "),r("div",{staticClass:"table_content"},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.unitDetailListData,border:"",fit:"","highlight-current-row":""}},[r("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),t._v(" "),r("el-table-column",{attrs:{label:"单位名称",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.unitname))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"单位地址",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.unitaddress))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"法定代表人",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.representative))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"委托代理人",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.agent))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"邮政编码",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.zipcode))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"操作",align:"center",width:"180","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-button",{attrs:{type:"text"},on:{click:function(r){t.updatePublicSecurityDepartment("修改",e.row)}}},[t._v("选择")])]}}])})],1),t._v(" "),r("br"),t._v(" "),r("el-pagination",{directives:[{name:"show",rawName:"v-show",value:t.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,30,50],"page-size":t.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)])])},[],!1,null,"db545a4a",null);p.options.__file="unitselect.vue";e.default=p.exports}}]);
|