| | |
| | | VUE_APP_COOKIE_NAME='doumee-auth-token' |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | |
| | | #VUE_APP_API = 'http://localhost:10031/' |
| | | VUE_APP_API = 'http://192.168.0.135:10031/' |
| | | |
| | | VUE_APP_API = 'http://localhost:10031/' |
| | | #VUE_APP_API = 'http://192.168.0.135:10031/' |
| | | #VUE_APP_API = 'https://www.yyb.red/yyb_web_api/' |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import axios from 'axios'; |
| | | import axios from 'axios' |
| | | export default { |
| | | props: { |
| | | width: { |
| | |
| | | .file { |
| | | /*width: 100%;*/ |
| | | /*height: 90px;*/ |
| | | margin: 10px 0; |
| | | padding: 10px; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | position: relative; |
| | | margin-bottom: 10px; |
| | | /* margin-right: 20px; */ |
| | | /* margin: 10px 0;*/ |
| | | input { |
| | | opacity: 0; |
| | | } |
| | |
| | | } |
| | | } |
| | | </style> |
| | | |
| | |
| | | exportTemplate () { |
| | | // 投保申请 |
| | | if (this.type === 1) { |
| | | window.open(process.env.VUE_APP_MEMBER1_URL) |
| | | window.open('/template/personnel_add.xlsx') |
| | | // window.open(process.env.VUE_APP_MEMBER1_URL) |
| | | } else { |
| | | window.open(process.env.VUE_APP_MEMBER_URL) |
| | | window.open('/template/personnel_add.xlsx') |
| | | // window.open(process.env.VUE_APP_MEMBER_URL) |
| | | } |
| | | }, |
| | | clickRef () { |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "file", value = "file", required = true, paramType = "query", dataType = "file", dataTypeClass = File.class), |
| | | }) |
| | | @RequiresPermissions("business:worktype:create") |
| | | @RequiresPermissions("business:member:importExcel") |
| | | public ApiResponse<List<MemberImport>> importExcel (@ApiParam(value = "file") MultipartFile file,Integer solutionId) { |
| | | return ApiResponse.success(memberService.importBatch(file,solutionId)); |
| | | } |