Commit d9f06327 by cocomilk2012

update

parent 95b00be5
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-35faaf00.7cf39b58.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-84a78220.82976e65.css rel=prefetch><link href=/css/chunk-8789f142.911b12a6.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.73814245.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.3c040b3f.js rel=prefetch><link href=/js/chunk-84a78220.7c958afd.js rel=prefetch><link href=/js/chunk-8789f142.68d42744.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.775714d7.js rel=preload as=script><link href=/js/chunk-vendors.d7070df8.js rel=preload as=script><link rel="shortcut icon" href=/favicon.ico><link href=/css/app.1c666bb8.css rel=stylesheet></head><body><noscript><strong>We're sorry but typescript doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d7070df8.js></script><script src=/js/app.775714d7.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title></title><link href=/css/chunk-19e87806.f544a705.css rel=prefetch><link href=/css/chunk-335a4254.9845d6c1.css rel=prefetch><link href=/css/chunk-35f92c0e.82976e65.css rel=prefetch><link href=/css/chunk-35faaf00.7cf39b58.css rel=prefetch><link href=/css/chunk-70204596.2509e660.css rel=prefetch><link href=/css/chunk-79c85055.82976e65.css rel=prefetch><link href=/css/chunk-80379f08.0035f549.css rel=prefetch><link href=/css/chunk-8789f142.911b12a6.css rel=prefetch><link href=/css/chunk-a26cb696.37783c9d.css rel=prefetch><link href=/css/chunk-d9bcf6b6.08db6415.css rel=prefetch><link href=/css/chunk-f37f02b6.ec1c8960.css rel=prefetch><link href=/css/chunk-f59847e6.dc9f4765.css rel=prefetch><link href=/js/chunk-0cb1789e.5116890e.js rel=prefetch><link href=/js/chunk-19e87806.22a91e6e.js rel=prefetch><link href=/js/chunk-335a4254.827488f9.js rel=prefetch><link href=/js/chunk-35f92c0e.e9f3b3b1.js rel=prefetch><link href=/js/chunk-35faaf00.73814245.js rel=prefetch><link href=/js/chunk-3f4d721c.592a5462.js rel=prefetch><link href=/js/chunk-4635e66c.44ffb30b.js rel=prefetch><link href=/js/chunk-70204596.c8e34564.js rel=prefetch><link href=/js/chunk-7052aa18.701e060a.js rel=prefetch><link href=/js/chunk-79c85055.3fcf6d5b.js rel=prefetch><link href=/js/chunk-80379f08.3c040b3f.js rel=prefetch><link href=/js/chunk-8789f142.3169aaad.js rel=prefetch><link href=/js/chunk-a26cb696.540453bb.js rel=prefetch><link href=/js/chunk-d9bcf6b6.6290ee53.js rel=prefetch><link href=/js/chunk-f37f02b6.9eeb8b8d.js rel=prefetch><link href=/js/chunk-f59847e6.58a1d28a.js rel=prefetch><link href=/css/app.1c666bb8.css rel=preload as=style><link href=/js/app.22165e9e.js rel=preload as=script><link href=/js/chunk-vendors.d7070df8.js rel=preload as=script><link rel="shortcut icon" href=/favicon.ico><link href=/css/app.1c666bb8.css rel=stylesheet></head><body><noscript><strong>We're sorry but typescript doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d7070df8.js></script><script src=/js/app.22165e9e.js></script></body></html>
\ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-84a78220"],{1594:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"main main-company",attrs:{id:"main_company"}},t._l(t.dispatch_list,(function(e,i){return r("div",{key:i,staticClass:"company-item-box"},[r("p",{staticClass:"company-name",on:{click:function(n){return t.toCompany_click(e.id)}}},[t._v(t._s(e.fullName))]),r("img",{attrs:{src:n("ed6c"),alt:"进入派遣公司",title:"进入派遣公司"}})])})),0)},i=[],c=(n("6b54"),n("2397"),n("ade3")),a=(n("7f7f"),n("96cf"),n("1da1")),o=n("d4ec"),u=n("bee2"),s=n("262e"),f=n("99de"),l=n("7e84"),p=n("9ab4"),d=(n("f769"),n("2b0e")),h=n("ad06"),A=n("60a3");function y(t){var e=m();return function(){var n,r=Object(l["a"])(t);if(e){var i=Object(l["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(f["a"])(this,n)}}function m(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var b=function(){var t=function(t){Object(s["a"])(n,t);var e=y(n);function n(){var t;return Object(o["a"])(this,n),t=e.apply(this,arguments),t.dispatch_list=[],t.id_no_encrytion="",t}return Object(u["a"])(n,[{key:"getDispatchList",value:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"toCompany_click",value:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:e}});case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"created",value:function(){this.id_no_encrytion=this.$route.query.id_no,console.log(this.id_no_encrytion),this.getDispatchList()}},{key:"id_no",get:function(){return window.atob(decodeURI(this.id_no_encrytion))}}]),n}(d["a"]);return t=Object(p["a"])([Object(A["a"])({components:Object(c["a"])({},h["a"].name,h["a"])})],t),t}(),v=b,_=v,g=n("2877"),w=Object(g["a"])(_,r,i,!1,null,null,null);e["default"]=w.exports},ade3:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},ed6c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaBAMAAABMRsE0AAAAD1BMVEX///9HcEzi5evh5evh5OsoiwDpAAAABHRSTlMBAJx/FmGoRAAAAFdJREFUCNdVj8ENwDAIA51OUNQF+ugInSDK/jM1YGypeZ0OCAbXHfXwzkF4FhWORYWzFaIVohWi1QaqDVQJpRJKFaT6g0pu1rg/1AovVQwHc1SH9zk68AOqdBUfBmbbEAAAAABJRU5ErkJggg=="},f769:function(t,e,n){}}]);
//# sourceMappingURL=chunk-84a78220.7c958afd.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/ChooseCompany.vue?c6d0","webpack:///./src/views/ChooseCompany.vue?8d73","webpack:///./src/views/ChooseCompany.vue?ecbd","webpack:///./src/views/ChooseCompany.vue","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./src/assets/images/right_arrow.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_l","item","index","key","on","$event","toCompany_click","id","_v","_s","fullName","staticRenderFns","workInfo","dispatch_list","id_no_encrytion","$server","EmployeeService","getDispatchList","idNo","id_no","then","res","console","log","catch","err","$router","push","name","query","sp_id","$route","window","atob","decodeURI","components","component","_defineProperty","obj","value","Object","defineProperty","enumerable","configurable","writable","module","exports"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,oBAAoBC,MAAM,CAAC,GAAK,iBAAiBP,EAAIQ,GAAIR,EAAiB,eAAE,SAASS,EAAKC,GAAO,OAAON,EAAG,MAAM,CAACO,IAAID,EAAMJ,YAAY,oBAAoB,CAACF,EAAG,IAAI,CAACE,YAAY,eAAeM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,gBAAgBL,EAAKM,OAAO,CAACf,EAAIgB,GAAGhB,EAAIiB,GAAGR,EAAKS,aAAad,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,EAAQ,QAAoC,IAAM,SAAS,MAAQ,iBAAgB,IACjgBY,EAAkB,G,0oBCwBtB,qBAAqBC,EAArB,4F,0BACU,EAAAC,cAAuB,GACvB,EAAAC,gBAAuB,GAFjC,0OASUrB,KAAKsB,QAAQC,gBAAgBC,gBAAgB,CAAEC,KAAMzB,KAAK0B,QAC7DC,MAAK,SAAAC,GACJC,QAAQC,IAAI,OAAQF,GACpB,EAAKR,cAAgBQ,KAEtBG,OAAM,SAAAC,GACLH,QAAQC,IAAI,OAAQE,MAf5B,0MAmBgClB,GAnBhC,iFAoBId,KAAKiC,QAAQC,KAAK,CAChBC,KAAM,QACNC,MAAO,CAAEV,MAAO1B,KAAKqB,gBAAiBgB,MAAOvB,KAtBnD,0IA2BId,KAAKqB,gBAAkBrB,KAAKsC,OAAOF,MAAMV,MACzCG,QAAQC,IAAI9B,KAAKqB,iBACjBrB,KAAKwB,oBA7BT,4BAKI,OAAOe,OAAOC,KAAKC,UAAUzC,KAAKqB,sBALtC,GAAsC,QA+BtC,OA/BqBF,EAAQ,gBAL5B,eAAU,CACTuB,WAAY,kBACT,OAAKP,KAAO,WAGIhB,GA+BrB,EA/BA,GAAqB,ICzBmX,I,YCOpYwB,EAAY,eACd,EACA7C,EACAoB,GACA,EACA,KACA,KACA,MAIa,aAAAyB,E,2CClBA,SAASC,EAAgBC,EAAKnC,EAAKoC,GAYhD,OAXIpC,KAAOmC,EACTE,OAAOC,eAAeH,EAAKnC,EAAK,CAC9BoC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZN,EAAInC,GAAOoC,EAGND,EAZT,mC,mBCAAO,EAAOC,QAAU,sR","file":"js/chunk-84a78220.7c958afd.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main main-company\",attrs:{\"id\":\"main_company\"}},_vm._l((_vm.dispatch_list),function(item,index){return _c('div',{key:index,staticClass:\"company-item-box\"},[_c('p',{staticClass:\"company-name\",on:{\"click\":function($event){return _vm.toCompany_click(item.id)}}},[_vm._v(_vm._s(item.fullName))]),_c('img',{attrs:{\"src\":require(\"../assets/images/right_arrow.png\"),\"alt\":\"进入派遣公司\",\"title\":\"进入派遣公司\"}})])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport \"../assets/css/labor.css\";\r\nimport Vue from \"vue\";\r\nimport { Icon } from \"vant\";\r\nimport { Component } from \"vue-property-decorator\";\r\n\r\n@Component({\r\n components: {\r\n [Icon.name]: Icon\r\n }\r\n})\r\nexport default class workInfo extends Vue {\r\n private dispatch_list: any[] = [];\r\n private id_no_encrytion: any = \"\";\r\n\r\n get id_no(): string {\r\n return window.atob(decodeURI(this.id_no_encrytion));\r\n }\r\n\r\n private async getDispatchList() {\r\n await this.$server.EmployeeService.getDispatchList({ idNo: this.id_no })\r\n .then(res => {\r\n console.log(\"res=\", res);\r\n this.dispatch_list = res;\r\n })\r\n .catch(err => {\r\n console.log(\"err=\", err);\r\n });\r\n }\r\n\r\n private async toCompany_click(id: string) {\r\n this.$router.push({\r\n name: \"Index\",\r\n query: { id_no: this.id_no_encrytion, sp_id: id }\r\n });\r\n }\r\n\r\n created() {\r\n this.id_no_encrytion = this.$route.query.id_no;\r\n console.log(this.id_no_encrytion);\r\n this.getDispatchList();\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChooseCompany.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChooseCompany.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChooseCompany.vue?vue&type=template&id=7481f7be&\"\nimport script from \"./ChooseCompany.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChooseCompany.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaBAMAAABMRsE0AAAAD1BMVEX///9HcEzi5evh5evh5OsoiwDpAAAABHRSTlMBAJx/FmGoRAAAAFdJREFUCNdVj8ENwDAIA51OUNQF+ugInSDK/jM1YGypeZ0OCAbXHfXwzkF4FhWORYWzFaIVohWi1QaqDVQJpRJKFaT6g0pu1rg/1AovVQwHc1SH9zk68AOqdBUfBmbbEAAAAABJRU5ErkJggg==\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8789f142"],{"39bb":function(t,e,n){},"5c2b":function(t,e,n){t.exports=n.p+"img/dispatch-employee.2148c295.png"},"5eb9":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"si-box"},[t.no_data?t._e():i("a",{staticClass:"si-child",attrs:{id:"dispatch-employee"},on:{click:t.toIndex_click}},[i("img",{attrs:{src:n("5c2b"),alt:""}}),t._m(0)]),t.no_data?t._e():i("a",{staticClass:"si-child",attrs:{id:"flex-employee"},on:{click:t.toFlex_click}},[i("img",{attrs:{src:n("ad2d"),alt:""}}),t._m(1)]),t.no_data?i("a",{staticClass:"si-child",staticStyle:{height:"150px",background:"#fff","margin-top":"200px","text-align":"center"},attrs:{id:"flex-employee",href:t.idVeri}},[t._m(2)]):t._e()])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是派遣员工")]),n("p",[t._v("可查看编辑自己的劳务派遣员工档案信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是灵活用工人员")]),n("p",[t._v("可查看灵活用工人员任务信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc ",staticStyle:{width:"100%"}},[n("h4",{staticStyle:{"text-align":"center"}},[t._v("您还未实名认证,不可进行查询")]),n("h4",{staticStyle:{"text-align":"center"}},[t._v("请先去进行实名认证后再查询")]),n("p",{staticStyle:{"text-align":"center",border:"1px solid #077aec","border-radius":"5px",color:"#077aec",width:"80px",height:"30px","line-height":"30px",background:"#fff",margin:"20px auto"}},[t._v("\n 去认证\n ")])])}],r=(n("6b54"),n("2397"),n("96cf"),n("1da1")),c=n("d4ec"),o=n("bee2"),s=n("262e"),u=n("99de"),l=n("7e84"),d=n("9ab4"),h=n("60a3"),p=n("d399");function f(t){var e=_();return function(){var n,i=Object(l["a"])(t);if(e){var a=Object(l["a"])(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return Object(u["a"])(this,n)}}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var m=function(){var t=function(t){Object(s["a"])(n,t);var e=f(n);function n(){var t;return Object(c["a"])(this,n),t=e.apply(this,arguments),t.id_no="",t.dispatch_list=[],t.no_data=!1,t.idVeri="https://www.qinqinxiaobao.com?pmode=native&url=identityVerification&pname=%e8%ba%ab%e4%bb%bd%e8%ae%a4%e8%af%81",t}return Object(o["a"])(n,[{key:"toFlex_click",value:function(){this.id_no_encrytion&&this.$router.push({name:"FlexEmployee",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex",value:function(t){this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:t}})}},{key:"ChooseCompany",value:function(){this.$router.push({name:"ChooseCompany",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex_click",value:function(){if((this.company_num>1||0==this.company_num)&&this.ChooseCompany(),1==this.company_num){var t=this.dispatch_list[0].id;this.toIndex(t)}}},{key:"getUserInfo",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getUserInfo({}).then((function(t){t.data&&t.data.uthStatus&&t.data.uthStatus>0?(e.id_no=t.data.personalIdCardNo,localStorage.setItem("id_no",t.data.personalIdCardNo),localStorage.setItem("name",t.data.personalName),localStorage.setItem("sex",t.data.sex),localStorage.setItem("birthday",t.data.birthday)):e.no_data=!0})).catch((function(t){console.log("err=")}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getDispatchList",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("getDispatchList res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"created",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log("this.idVeri=",this.idVeri),this.loading=p["a"].loading({duration:0,message:"加载中...",forbidClick:!0}),t.next=4,this.getUserInfo();case 4:if(!this.id_no){t.next=7;break}return t.next=7,this.getDispatchList();case 7:this.loading.clear();case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"id_no_encrytion",get:function(){return encodeURI(window.btoa(this.id_no))}},{key:"company_num",get:function(){return this.dispatch_list.length}}]),n}(h["c"]);return t=Object(d["a"])([Object(h["a"])({components:{}})],t),t}(),y=m,g=y,v=(n("d1c6"),n("2877")),b=Object(v["a"])(g,i,a,!1,null,null,null);e["default"]=b.exports},ad2d:function(t,e,n){t.exports=n.p+"img/flex-employee.d871e4bd.png"},d1c6:function(t,e,n){"use strict";var i=n("39bb"),a=n.n(i);a.a}}]);
//# sourceMappingURL=chunk-8789f142.3169aaad.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8789f142"],{"39bb":function(t,e,n){},"5c2b":function(t,e,n){t.exports=n.p+"img/dispatch-employee.2148c295.png"},"5eb9":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"si-box"},[!t.no_data&&t.company_num>0?i("a",{staticClass:"si-child",attrs:{id:"dispatch-employee"},on:{click:t.toIndex_click}},[i("img",{attrs:{src:n("5c2b"),alt:""}}),t._m(0)]):t._e(),t.no_data?t._e():i("a",{staticClass:"si-child",attrs:{id:"flex-employee"},on:{click:t.toFlex_click}},[i("img",{attrs:{src:n("ad2d"),alt:""}}),t._m(1)]),t.no_data?i("a",{staticClass:"si-child",staticStyle:{height:"150px",background:"#fff","margin-top":"200px","text-align":"center"},attrs:{id:"flex-employee",href:"qqxb://native/identityVerification"}},[t._m(2)]):t._e()])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是派遣员工")]),n("p",[t._v("可查看编辑自己的劳务派遣员工档案信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc"},[n("h4",[t._v("我是灵活用工人员")]),n("p",[t._v("可查看灵活用工人员任务信息")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"si-child-desc ",staticStyle:{width:"100%"}},[n("h4",{staticStyle:{"text-align":"center"}},[t._v("您还未实名认证,不可进行查询")]),n("h4",{staticStyle:{"text-align":"center"}},[t._v("请先去进行实名认证后再查询")]),n("p",{staticStyle:{"text-align":"center",border:"1px solid #077aec","border-radius":"5px",color:"#077aec",width:"80px",height:"30px","line-height":"30px",background:"#fff",margin:"20px auto"}},[t._v("去认证")])])}],r=(n("6b54"),n("2397"),n("96cf"),n("1da1")),c=n("d4ec"),o=n("bee2"),s=n("262e"),u=n("99de"),l=n("7e84"),d=n("9ab4"),h=n("60a3"),p=n("d399");function f(t){var e=_();return function(){var n,i=Object(l["a"])(t);if(e){var a=Object(l["a"])(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return Object(u["a"])(this,n)}}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var m=function(){var t=function(t){Object(s["a"])(n,t);var e=f(n);function n(){var t;return Object(c["a"])(this,n),t=e.apply(this,arguments),t.id_no="",t.dispatch_list=[],t.no_data=!1,t}return Object(o["a"])(n,[{key:"toFlex_click",value:function(){this.id_no_encrytion&&this.$router.push({name:"FlexEmployee",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex",value:function(t){this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:t}})}},{key:"ChooseCompany",value:function(){this.$router.push({name:"ChooseCompany",query:{id_no:this.id_no_encrytion}})}},{key:"toIndex_click",value:function(){if(this.company_num>1&&this.ChooseCompany(),1==this.company_num){var t=this.dispatch_list[0].id;this.toIndex(t)}}},{key:"getUserInfo",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getUserInfo({}).then((function(t){t.data&&t.data.uthStatus&&t.data.uthStatus>0?(e.id_no=t.data.personalIdCardNo,localStorage.setItem("id_no",t.data.personalIdCardNo),localStorage.setItem("name",t.data.personalName),localStorage.setItem("sex",t.data.sex),localStorage.setItem("birthday",t.data.birthday)):e.no_data=!0})).catch((function(t){console.log("err=")}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getDispatchList",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("getDispatchList res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"created",value:function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=p["a"].loading({duration:0,message:"加载中...",forbidClick:!0}),t.next=3,this.getUserInfo();case 3:this.id_no,this.loading.clear();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"id_no_encrytion",get:function(){return encodeURI(window.btoa(this.id_no))}},{key:"company_num",get:function(){return this.dispatch_list.length}}]),n}(h["c"]);return t=Object(d["a"])([Object(h["a"])({components:{}})],t),t}(),y=m,v=y,g=(n("d1c6"),n("2877")),x=Object(g["a"])(v,i,a,!1,null,null,null);e["default"]=x.exports},ad2d:function(t,e,n){t.exports=n.p+"img/flex-employee.d871e4bd.png"},d1c6:function(t,e,n){"use strict";var i=n("39bb"),a=n.n(i);a.a}}]);
//# sourceMappingURL=chunk-8789f142.68d42744.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a26cb696"],{1594:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"main main-company",attrs:{id:"main_company"}},[t.dispatch_list.length>0?i("div",{staticClass:"list_wrap"},t._l(t.dispatch_list,(function(e,r){return i("div",{key:r,staticClass:"company-item-box"},[i("p",{staticClass:"company-name",on:{click:function(n){return t.toCompany_click(e.id)}}},[t._v(t._s(e.fullName))]),i("img",{attrs:{src:n("ed6c"),alt:"进入派遣公司",title:"进入派遣公司"}})])})),0):i("div",{staticClass:"no_data"},[t._v("\n 您还没有劳务派遣公司,暂无相关信息\n ")])])},r=[],c=(n("6b54"),n("2397"),n("ade3")),a=(n("7f7f"),n("96cf"),n("1da1")),o=n("d4ec"),s=n("bee2"),u=n("262e"),f=n("99de"),l=n("7e84"),p=n("9ab4"),d=(n("f769"),n("2b0e")),h=n("ad06"),A=n("60a3");function b(t){var e=v();return function(){var n,i=Object(l["a"])(t);if(e){var r=Object(l["a"])(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Object(f["a"])(this,n)}}function v(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var y=function(){var t=function(t){Object(u["a"])(n,t);var e=b(n);function n(){var t;return Object(o["a"])(this,n),t=e.apply(this,arguments),t.dispatch_list=[],t.id_no_encrytion="",t}return Object(s["a"])(n,[{key:"getDispatchList",value:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$server.EmployeeService.getDispatchList({idNo:this.id_no}).then((function(t){console.log("res=",t),e.dispatch_list=t})).catch((function(t){console.log("err=",t)}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"toCompany_click",value:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.$router.push({name:"Index",query:{id_no:this.id_no_encrytion,sp_id:e}});case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"created",value:function(){this.id_no_encrytion=this.$route.query.id_no,console.log(this.id_no_encrytion),this.getDispatchList()}},{key:"id_no",get:function(){return window.atob(decodeURI(this.id_no_encrytion))}}]),n}(d["a"]);return t=Object(p["a"])([Object(A["a"])({components:Object(c["a"])({},h["a"].name,h["a"])})],t),t}(),_=y,m=_,g=(n("250a"),n("2877")),w=Object(g["a"])(m,i,r,!1,null,null,null);e["default"]=w.exports},"250a":function(t,e,n){"use strict";var i=n("2b8f"),r=n.n(i);r.a},"2b8f":function(t,e,n){},ade3:function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return i}))},ed6c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaBAMAAABMRsE0AAAAD1BMVEX///9HcEzi5evh5evh5OsoiwDpAAAABHRSTlMBAJx/FmGoRAAAAFdJREFUCNdVj8ENwDAIA51OUNQF+ugInSDK/jM1YGypeZ0OCAbXHfXwzkF4FhWORYWzFaIVohWi1QaqDVQJpRJKFaT6g0pu1rg/1AovVQwHc1SH9zk68AOqdBUfBmbbEAAAAABJRU5ErkJggg=="},f769:function(t,e,n){}}]);
//# sourceMappingURL=chunk-a26cb696.540453bb.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/ChooseCompany.vue?8e5e","webpack:///./src/views/ChooseCompany.vue?8d73","webpack:///./src/views/ChooseCompany.vue?ecbd","webpack:///./src/views/ChooseCompany.vue","webpack:///./src/views/ChooseCompany.vue?a3c2","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./src/assets/images/right_arrow.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","dispatch_list","length","_l","item","index","key","on","$event","toCompany_click","id","_v","_s","fullName","staticRenderFns","workInfo","id_no_encrytion","$server","EmployeeService","getDispatchList","idNo","id_no","then","res","console","log","catch","err","$router","push","name","query","sp_id","$route","window","atob","decodeURI","components","component","_defineProperty","obj","value","Object","defineProperty","enumerable","configurable","writable","module","exports"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,oBAAoBC,MAAM,CAAC,GAAK,iBAAiB,CAAEP,EAAIQ,cAAcC,OAAS,EAAGL,EAAG,MAAM,CAACE,YAAY,aAAaN,EAAIU,GAAIV,EAAiB,eAAE,SAASW,EAAKC,GAAO,OAAOR,EAAG,MAAM,CAACS,IAAID,EAAMN,YAAY,oBAAoB,CAACF,EAAG,IAAI,CAACE,YAAY,eAAeQ,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOf,EAAIgB,gBAAgBL,EAAKM,OAAO,CAACjB,EAAIkB,GAAGlB,EAAImB,GAAGR,EAAKS,aAAahB,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,EAAQ,QAAoC,IAAM,SAAS,MAAQ,iBAAgB,GAAGH,EAAG,MAAM,CAACE,YAAY,WAAW,CAACN,EAAIkB,GAAG,oCAChnBG,EAAkB,G,0oBC0BtB,qBAAqBC,EAArB,4F,0BACU,EAAAd,cAAuB,GACvB,EAAAe,gBAAuB,GAFjC,0OASUtB,KAAKuB,QAAQC,gBAAgBC,gBAAgB,CAAEC,KAAM1B,KAAK2B,QAC7DC,MAAK,SAAAC,GACJC,QAAQC,IAAI,OAAQF,GACpB,EAAKtB,cAAgBsB,KAEtBG,OAAM,SAAAC,GACLH,QAAQC,IAAI,OAAQE,MAf5B,0MAmBgCjB,GAnBhC,iFAoBIhB,KAAKkC,QAAQC,KAAK,CAChBC,KAAM,QACNC,MAAO,CAAEV,MAAO3B,KAAKsB,gBAAiBgB,MAAOtB,KAtBnD,0IA2BIhB,KAAKsB,gBAAkBtB,KAAKuC,OAAOF,MAAMV,MACzCG,QAAQC,IAAI/B,KAAKsB,iBACjBtB,KAAKyB,oBA7BT,4BAKI,OAAOe,OAAOC,KAAKC,UAAU1C,KAAKsB,sBALtC,GAAsC,QA+BtC,OA/BqBD,EAAQ,gBAL5B,eAAU,CACTsB,WAAY,kBACT,OAAKP,KAAO,WAGIf,GA+BrB,EA/BA,GAAqB,IC3BmX,I,wBCQpYuB,EAAY,eACd,EACA9C,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAAwB,E,6CCnBf,yBAAmhB,EAAG,G,2DCAvgB,SAASC,EAAgBC,EAAKlC,EAAKmC,GAYhD,OAXInC,KAAOkC,EACTE,OAAOC,eAAeH,EAAKlC,EAAK,CAC9BmC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZN,EAAIlC,GAAOmC,EAGND,EAZT,mC,mBCAAO,EAAOC,QAAU,sR","file":"js/chunk-a26cb696.540453bb.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main main-company\",attrs:{\"id\":\"main_company\"}},[(_vm.dispatch_list.length > 0)?_c('div',{staticClass:\"list_wrap\"},_vm._l((_vm.dispatch_list),function(item,index){return _c('div',{key:index,staticClass:\"company-item-box\"},[_c('p',{staticClass:\"company-name\",on:{\"click\":function($event){return _vm.toCompany_click(item.id)}}},[_vm._v(_vm._s(item.fullName))]),_c('img',{attrs:{\"src\":require(\"../assets/images/right_arrow.png\"),\"alt\":\"进入派遣公司\",\"title\":\"进入派遣公司\"}})])}),0):_c('div',{staticClass:\"no_data\"},[_vm._v(\"\\n 您还没有劳务派遣公司,暂无相关信息\\n \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport \"../assets/css/labor.css\";\r\nimport Vue from \"vue\";\r\nimport { Icon } from \"vant\";\r\nimport { Component } from \"vue-property-decorator\";\r\n\r\n@Component({\r\n components: {\r\n [Icon.name]: Icon\r\n }\r\n})\r\nexport default class workInfo extends Vue {\r\n private dispatch_list: any[] = [];\r\n private id_no_encrytion: any = \"\";\r\n\r\n get id_no(): string {\r\n return window.atob(decodeURI(this.id_no_encrytion));\r\n }\r\n\r\n private async getDispatchList() {\r\n await this.$server.EmployeeService.getDispatchList({ idNo: this.id_no })\r\n .then(res => {\r\n console.log(\"res=\", res);\r\n this.dispatch_list = res;\r\n })\r\n .catch(err => {\r\n console.log(\"err=\", err);\r\n });\r\n }\r\n\r\n private async toCompany_click(id: string) {\r\n this.$router.push({\r\n name: \"Index\",\r\n query: { id_no: this.id_no_encrytion, sp_id: id }\r\n });\r\n }\r\n\r\n created() {\r\n this.id_no_encrytion = this.$route.query.id_no;\r\n console.log(this.id_no_encrytion);\r\n this.getDispatchList();\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChooseCompany.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChooseCompany.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChooseCompany.vue?vue&type=template&id=821165e4&\"\nimport script from \"./ChooseCompany.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChooseCompany.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChooseCompany.vue?vue&type=style&index=0&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChooseCompany.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChooseCompany.vue?vue&type=style&index=0&lang=less&\"","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaBAMAAABMRsE0AAAAD1BMVEX///9HcEzi5evh5evh5OsoiwDpAAAABHRSTlMBAJx/FmGoRAAAAFdJREFUCNdVj8ENwDAIA51OUNQF+ugInSDK/jM1YGypeZ0OCAbXHfXwzkF4FhWORYWzFaIVohWi1QaqDVQJpRJKFaT6g0pu1rg/1AovVQwHc1SH9zk68AOqdBUfBmbbEAAAAABJRU5ErkJggg==\""],"sourceRoot":""}
\ No newline at end of file
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 sign in to comment