{"version":3,"sources":["webpack:///./src/views/Home.vue?e44d","webpack:///./src/views/Home.vue?dd64","webpack:///./src/views/Home.vue","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?4b50","webpack:///./src/views/Home.vue?f957"],"names":["render","_vm","this","_c","_self","staticClass","class","visitStyle","on","$event","gotoFun","attrs","_m","_v","_s","workbench","_l","paginationList","item","index","key","path","disable","icon","_e","title","staticRenderFns","name","data","left","right","type","jurisdiction","sessionStorage","getItem","visit","components","companySelect","watch","$route","to","from","meta","style","mounted","methods","console","log","$router","push","indexOf","$store","commit","component"],"mappings":"4IAAA,W,oCCAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,kBAAkBC,MAAM,CAAEC,WAAYN,EAAIM,aAAc,CAACJ,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,MAAM,CAACE,YAAY,sBAAsBG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,QAAQ,kBAAkB,CAACP,EAAG,WAAW,CAACE,YAAY,gBAAgBM,MAAM,CAAC,aAAa,cAAc,GAAGV,EAAIW,GAAG,GAAGT,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIc,cAAcZ,EAAG,WAAW,CAACE,YAAY,iBAAiBM,MAAM,CAAC,aAAa,oBAAoBR,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,OAAO,CAACE,YAAY,gCAAgCF,EAAG,MAAM,CAACE,YAAY,wBAAwBJ,EAAIe,GAAIf,EAAIgB,gBAAgB,SAASC,EAAKC,GAAO,OAAOhB,EAAG,MAAM,CAACiB,IAAID,EAAMd,YA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AAA,eACAF,KAAA,IAEA,CACAF,MAAA,GACAU,MAAA,EACAC,OAAA,EACAL,MAAA,MACAF,KAAA,eACAF,KAAA,KAGAW,aAAAC,eAAAC,QAAA,gBACAC,MAAAF,eAAAC,QAAA,SACA3B,YAAA,IAGA6B,WAAA,CACAC,sBAEAC,MAAA,CACAC,OAAAC,EAAAC,GACA,KAAA1B,UAAA,KAAAwB,OAAAG,KAAA3B,UACA,eAAAwB,OAAAG,KAAAC,OAAA,eAAAR,MACA,KAAA5B,YAAA,EAEA,KAAAA,YAAA,IAIAqC,UACA,KAAA7B,UAAA,KAAAwB,OAAAG,KAAA3B,UACA,eAAAwB,OAAAG,KAAAC,OAAA,eAAAR,MACA,KAAA5B,YAAA,EAEA,KAAAA,YAAA,GAGAsC,QAAA,CACAnC,QAAAW,EAAAF,EAAAD,GAEA,gBAAAG,GAIAyB,QAAAC,IAAA,KAAAf,aAAA,qBACA,WAAAA,aACAX,GACA,KAAA2B,QAAAC,KAAA5B,GAGA,MAAAH,EAAAa,MAEA,QAAAC,aAAAkB,QAAAhC,EAAAa,QACA,QAAAC,aAAAkB,QAAA,MAEA,KAAAF,QAAAC,KAAA/B,EAAAG,OAGA,QAAAW,aAAAkB,QAAAhC,EAAAa,MACA,KAAAiB,QAAAC,KAAA/B,EAAAG,MAEA,KAAA8B,OAAAC,OAAA,qBApBA,KAAAJ,QAAAC,KAAA5B,MC7I6U,I,kCCSzUgC,EAAY,eACd,EACArD,EACA0B,GACA,EACA,KACA,WACA,MAIa,aAAA2B,E","file":"js/accountOverview.v0.1.0.1786109088798.js?hash=v0.1.0.1786109088798","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=1&id=60351ed2&prod&lang=less&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=60351ed2&prod&lang=less\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"accountOverview\",class:{ visitStyle: _vm.visitStyle }},[_c('div',{staticClass:\"account-header-border\"},[_c('div',{staticClass:\"account-header\"},[_c('div',{staticClass:\"account-header-left\"},[_c('div',{staticClass:\"account-header-logo\",on:{\"click\":function($event){return _vm.gotoFun('/Navigation')}}},[_c('svg-icon',{staticClass:\"pc-logo-style\",attrs:{\"icon-class\":\"pc-logo\"}})],1),_vm._m(0),_c('div',{staticClass:\"workbench\"},[_c('span',{staticClass:\"workbench-name\"},[_vm._v(_vm._s(_vm.workbench))]),_c('svg-icon',{staticClass:\"jiantou-bottom\",attrs:{\"icon-class\":\"jiantou-bottom\"}}),_c('div',{staticClass:\"workbench-popup\"},[_c('span',{staticClass:\"arrow-up workbench-arrow-up\"}),_c('div',{staticClass:\"workbench-popup-mian\"},_vm._l((_vm.paginationList),function(item,index){return _c('div',{key:index,staticClass:\"workbench-popup-box\",on:{\"click\":function($event){return _vm.gotoFun(item.path, index, item)}}},[(index < 5)?_c('div',{staticClass:\"workbench-svg-box\",class:{ disable: item.index === 99 }},[_c('svg-icon',{attrs:{\"icon-class\":item.icon}})],1):_vm._e(),(index < 5)?_c('p',[_vm._v(_vm._s(item.title))]):_vm._e()])}),0)])],1)]),_c('div',{staticClass:\"account-header-right\"},[_c('companySelect')],1)])]),_c('div',{staticClass:\"clear\"}),_c('div',{staticClass:\"account-content\"},[_c('router-view')],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"account-header-title\"},[_c('span')])\n}]\n\nexport { render, staticRenderFns }","<template>\r\n  <div class=\"accountOverview\" :class=\"{ visitStyle: visitStyle }\">\r\n    <div class=\"account-header-border\">\r\n      <div class=\"account-header\">\r\n        <div class=\"account-header-left\">\r\n          <div class=\"account-header-logo\" @click=\"gotoFun('/Navigation')\">\r\n            <svg-icon icon-class=\"pc-logo\" class=\"pc-logo-style\"></svg-icon>\r\n          </div>\r\n          <div class=\"account-header-title\">\r\n            <span></span>\r\n          </div>\r\n          <div class=\"workbench\">\r\n            <span class=\"workbench-name\">{{ workbench }}</span>\r\n            <svg-icon icon-class=\"jiantou-bottom\" class=\"jiantou-bottom\"></svg-icon>\r\n            <div class=\"workbench-popup\">\r\n              <span class=\"arrow-up workbench-arrow-up\"></span>\r\n              <div class=\"workbench-popup-mian\">\r\n                <div class=\"workbench-popup-box\" v-for=\"(item, index) in paginationList\" :key=\"index\" @click=\"gotoFun(item.path, index, item)\">\r\n                  <div v-if=\"index < 5\" class=\"workbench-svg-box\" :class=\"{ disable: item.index === 99 }\">\r\n                    <svg-icon :icon-class=\"item.icon\"></svg-icon>\r\n                  </div>\r\n                  <p v-if=\"index < 5\">{{ item.title }}</p>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </div>\r\n        </div>\r\n        <div class=\"account-header-right\">\r\n          <companySelect></companySelect>\r\n        </div>\r\n      </div>\r\n    </div>\r\n    <div class=\"clear\"></div>\r\n    <div class=\"account-content\">\r\n      <!-- <TheFooter></TheFooter> -->\r\n      <router-view />\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport companySelect from \"@/components/companySelect.vue\";\r\nexport default {\r\n  name: \"Home\",\r\n  data () {\r\n    return {\r\n      workbench: \"\",\r\n      paginationList: [\r\n        {\r\n          index: 2,\r\n          left: false,\r\n          right: false,\r\n          title: \"财务\",\r\n          icon: \"da-caishui\",\r\n          path: \"/balance\",\r\n          type: \"4\",\r\n        },\r\n        {\r\n          index: 0,\r\n          left: true,\r\n          right: true,\r\n          title: \"花名册\",\r\n          icon: \"da-huamingce\",\r\n          path: \"/roster\",\r\n          type: \"2\",\r\n        },\r\n        {\r\n          index: 1,\r\n          left: false,\r\n          right: false,\r\n          title: \"工资\",\r\n          icon: \"da-gongzi\",\r\n          path: \"/payrollModule\",\r\n          type: \"3\",\r\n        },\r\n        {\r\n          index: 3,\r\n          left: false,\r\n          right: false,\r\n          title: \"银行对账单\",\r\n          icon: \"xiao-yinhangduizhangdan\",\r\n          path: \"/bankFlow\",\r\n          type: \"5\",\r\n        },\r\n\r\n        {\r\n          index: 4,\r\n          left: false,\r\n          right: false,\r\n          title: \"发票\",\r\n          icon: \"xiao-kaipiao\",\r\n          path: \"/invoice\",\r\n        },\r\n\r\n        {\r\n          index: 99,\r\n          left: false,\r\n          right: false,\r\n          title: \"企业信息\",\r\n          icon: \"xiao-kaipiao\",\r\n          path: \"\",\r\n        },\r\n        {\r\n          index: 99,\r\n          left: false,\r\n          right: false,\r\n          title: \"报税表\",\r\n          icon: \"xiao-kaipiao\",\r\n          path: \"\",\r\n        },\r\n      ],\r\n      jurisdiction: sessionStorage.getItem(\"jurisdiction\"),\r\n      visit: sessionStorage.getItem(\"visit\"),\r\n      visitStyle: false,\r\n    };\r\n  },\r\n  components: {\r\n    companySelect,\r\n  },\r\n  watch: {\r\n    $route (to, from) {\r\n      this.workbench = this.$route.meta.workbench;\r\n      if (this.$route.meta.style === \"visit\" && this.visit === \"visit\") {\r\n        this.visitStyle = true;\r\n      } else {\r\n        this.visitStyle = false;\r\n      }\r\n    },\r\n  },\r\n  mounted () {\r\n    this.workbench = this.$route.meta.workbench;\r\n    if (this.$route.meta.style === \"visit\" && this.visit === \"visit\") {\r\n      this.visitStyle = true;\r\n    } else {\r\n      this.visitStyle = false;\r\n    }\r\n  },\r\n  methods: {\r\n    gotoFun (path, index, item) {\r\n      //* 1、判断权限，进行提示\r\n      if (path === \"/Navigation\") {\r\n        this.$router.push(path);\r\n        return;\r\n      }\r\n      console.log(this.jurisdiction,'this.jurisdiction')\r\n      if (this.jurisdiction === \"1\") {\r\n        if (path) {\r\n          this.$router.push(path);\r\n        }\r\n      } else {\r\n        if (item.type === \"5\") {\r\n          if (\r\n            this.jurisdiction.indexOf(item.type) != -1 ||\r\n            this.jurisdiction.indexOf(\"4\") != -1\r\n          ) {\r\n            this.$router.push(item.path);\r\n          }\r\n        } else {\r\n          if (this.jurisdiction.indexOf(item.type) != -1) {\r\n            this.$router.push(item.path);\r\n          } else {\r\n            this.$store.commit(\"MyMessage\", \"暂无权限\");\r\n          }\r\n        }\r\n      }\r\n    },\r\n  },\r\n};\r\n</script>\r\n<style lang=\"less\">\r\n.visitStyle {\r\n  .account-header {\r\n    width: calc(100% - 104px) !important;\r\n  }\r\n\r\n  .views-mian-header,\r\n  .views-mian-content {\r\n    width: calc(100% - 104px) !important;\r\n  }\r\n}\r\n</style>\r\n<style lang=\"less\" scoped>\r\n.account-header-border {\r\n  border-bottom: 1px solid #dbdbdb;\r\n  background: #fafafa;\r\n  width: 100%;\r\n}\r\n\r\n.accountOverview {\r\n  width: 100%;\r\n  height: 100%;\r\n  // min-width: 1482px;\r\n  min-width: 1328px;\r\n  overflow-x: hidden;\r\n}\r\n\r\n.account-header {\r\n  width: calc(100% - 104px);\r\n  width: 1328px;\r\n  margin: 0 auto;\r\n  padding: 0 52px;\r\n  height: 60px;\r\n\r\n  // box-shadow: 0px 2px 1px rgba(219, 219, 219, 1);\r\n  // z-index: -1;\r\n  .account-header-left {\r\n    padding: 10px 0;\r\n    float: left;\r\n    width: 45%;\r\n  }\r\n\r\n  .account-header-right {\r\n    padding: 10px 0 10px;\r\n    float: right;\r\n    width: 55%;\r\n  }\r\n\r\n  .account-header-logo {\r\n    height: 40px;\r\n    width: 40px;\r\n    float: left;\r\n    cursor: pointer;\r\n\r\n    .pc-logo-style {\r\n      height: 40px !important;\r\n      width: 40px !important;\r\n      position: relative;\r\n      // top: 6px;\r\n      border-radius: 10px;\r\n    }\r\n  }\r\n\r\n  .account-header-title {\r\n    height: 40px;\r\n    line-height: 40px;\r\n    float: left;\r\n    font-size: 20px;\r\n    font-weight: bold;\r\n    color: #262626;\r\n\r\n    span {\r\n      width: 1px;\r\n      height: 21px;\r\n      display: inline-block;\r\n      background: #262626;\r\n      margin: 0 25px;\r\n      position: relative;\r\n      top: 4px;\r\n    }\r\n  }\r\n}\r\n\r\n.account-content {\r\n  width: 100%;\r\n  height: calc(100% - 82px);\r\n  // z-index: 10;\r\n  position: relative;\r\n}\r\n\r\n.workbench {\r\n  display: inline-block;\r\n  // margin-left: 20px;\r\n  font-size: 18px;\r\n  font-weight: 400;\r\n  line-height: 40px;\r\n  color: #262626;\r\n  cursor: pointer;\r\n  position: relative;\r\n  height: 40px;\r\n\r\n  .workbench-name {\r\n    font-size: 24px;\r\n    font-weight: bold;\r\n  }\r\n\r\n  &:hover {\r\n    .workbench-popup {\r\n      display: block;\r\n    }\r\n  }\r\n\r\n  .workbench-popup {\r\n    display: none;\r\n    position: absolute;\r\n    left: -50px;\r\n    top: 20px;\r\n    width: 430px;\r\n    padding-top: 40px;\r\n    // height: 340px;\r\n    z-index: 9999999;\r\n\r\n    .workbench-arrow-up {\r\n      top: -13px;\r\n      left: 64px;\r\n    }\r\n\r\n    .workbench-popup-mian {\r\n      padding: 30px 40px 0;\r\n      width: calc(100% - 80px);\r\n      text-align: center;\r\n      overflow: hidden;\r\n\r\n      background: #ffffff;\r\n      box-shadow: 0px 3px 15px #9da5b2;\r\n\r\n      .workbench-popup-box {\r\n        width: calc(100% / 3);\r\n        float: left;\r\n        margin-bottom: 40px;\r\n\r\n        p {\r\n          font-size: 14px;\r\n          font-weight: 400;\r\n          color: #262626;\r\n          height: 36px;\r\n          line-height: 36px;\r\n          border: 1px solid #fff;\r\n          width: 90px;\r\n          border-radius: 11px;\r\n          margin: 0 auto;\r\n        }\r\n\r\n        &:hover {\r\n          p {\r\n            background: #e5f2fe;\r\n            border: 1px solid #84b9ff;\r\n          }\r\n        }\r\n\r\n        .workbench-svg-box {\r\n          width: 73px;\r\n          height: 70px;\r\n          margin: 0 auto 15px;\r\n\r\n          &.disable {\r\n            opacity: 0.2;\r\n          }\r\n\r\n          background: linear-gradient(\r\n            180deg,\r\n            #47b8eb 0%,\r\n            #4983f3 67%,\r\n            #4072dc 100%\r\n          );\r\n          opacity: 1;\r\n          border-radius: 18px;\r\n          font-size: 64px;\r\n          padding-top: 3px;\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n\r\n.jiantou-bottom {\r\n  padding-left: 10px;\r\n}\r\n</style>\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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=60351ed2&scoped=true\"\nimport script from \"./Home.vue?vue&type=script&lang=js\"\nexport * from \"./Home.vue?vue&type=script&lang=js\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=60351ed2&prod&lang=less\"\nimport style1 from \"./Home.vue?vue&type=style&index=1&id=60351ed2&prod&lang=less&scoped=true\"\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  \"60351ed2\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}