Commit c48335af by liang ce

访客bug修改

parent 133cac0e
#app{height:100%}#components-layout-demo-top-side .logo{width:200px;height:31px;float:left;margin-right:25px}#components-layout-demo-top-side .logo img{width:100%}.ant-layout-header{background:#fff!important}.ant-modal{top:0}.ant-modal-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
\ No newline at end of file
.title[data-v-2d7f60b5]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-2d7f60b5]{margin-left:10px}.SystemReconciliationContent[data-v-2d7f60b5]{border:1px solid #f6f6f6;width:100%}.contentItem[data-v-2d7f60b5]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;padding:20px;overflow:hidden;border-bottom:1px solid #f6f6f6}.contentItem>div[data-v-2d7f60b5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.contentItem>div[data-v-2d7f60b5]:nth-of-type(2){-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:72px;-webkit-box-sizing:border-box;box-sizing:border-box}.contentItem>div[data-v-2d7f60b5]:nth-of-type(3){width:300px;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.contentItem>div[data-v-2d7f60b5]:first-of-type{font-weight:700;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:150px}.recordsBox>div[data-v-2d7f60b5]{display:-webkit-box;display:-ms-flexbox;display:flex}.contentItem>.recordsBox[data-v-2d7f60b5]{padding-left:0!important}.recordsBox>div>div[data-v-2d7f60b5]:first-of-type{width:80px;text-align:right;margin-right:20px}.contentItem span[data-v-2d7f60b5]{color:#1890ff}.contentItem label[data-v-2d7f60b5]{width:70px;display:inline-block;text-align:right}
\ No newline at end of file
.searchUserMessage[data-v-933d56a2]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-933d56a2]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-933d56a2]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-933d56a2]{position:absolute;right:10px}.peopleBox[data-v-933d56a2]{width:100%;border:1px solid #d9d9d9;min-height:40px;border-radius:4px;padding:4px 11px;font-size:14px;line-height:1.5;cursor:pointer}
\ No newline at end of file
.item[data-v-57f84cf4]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:10px}.item>label[data-v-57f84cf4]{width:75px;text-align:right;margin-right:8px}.item>input[data-v-57f84cf4]{width:220px}.productionMenu[data-v-57f84cf4]{background:#fafafa;width:200px}.productionMenuTitle[data-v-57f84cf4]{background:#e6f7ff;font-weight:700;height:40px;line-height:40px;text-align:center;color:#1890ff}.productionMenuList>.menuItem[data-v-57f84cf4]{height:40px;line-height:40px;position:relative;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.productionMenuList>.menuItemAction[data-v-57f84cf4]{background:#fff;color:#1890ff}.avatar-uploader>.ant-upload[data-v-57f84cf4]{width:128px;height:128px}.ant-upload-select-picture-card i[data-v-57f84cf4]{font-size:32px;color:#999}.ant-upload-select-picture-card .ant-upload-text[data-v-57f84cf4]{margin-top:8px;color:#666}
\ No newline at end of file
.title[data-v-2921ed34]{height:47px;width:100%;background:#f7f7f7;line-height:47px;font-size:14px}.title span[data-v-2921ed34]:first-of-type{margin:0 20px}.title span[data-v-2921ed34]:nth-of-type(2){color:#979797}.paymentManagementSettingContent[data-v-2921ed34]{padding-left:10px;padding-top:20px;padding-bottom:20px}.paymentManagementSettingContent div[data-v-2921ed34]{margin:10px 0}.paymentManagementSettingContent div label[data-v-2921ed34]{width:70px;font-size:14px;display:inline-block}.paymentManagementSettingContent div input[data-v-2921ed34]{width:210px;margin:0 10px}.paymentManagementSettingContent p[data-v-2921ed34]{padding-left:80px;font-size:12px;margin:0 0 10px 0}.paymentManagementSettingContent p span[data-v-2921ed34]{color:red}.switchList[data-v-2921ed34]{padding-top:30px;padding-left:10px}.switchList div[data-v-2921ed34]{display:inline-block;margin-right:20px}
\ No newline at end of file
.ConfigError[data-v-44d6dd0c]{position:fixed;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ConfigError>div[data-v-44d6dd0c]:nth-of-type(2){font-size:20px}.ConfigError image[data-v-44d6dd0c]{width:408px;height:308px}.ConfigError>div[data-v-44d6dd0c]:first-of-type{margin-right:88px}
\ No newline at end of file
.title[data-v-2853fec8]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-2853fec8]{margin-left:10px}
\ No newline at end of file
.searchBox[data-v-851ed572]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px}.searchBox>input[data-v-851ed572]{margin-right:20px;max-width:180px}.operationTable a[data-v-851ed572]{margin-right:8px}.searchUserMessage[data-v-851ed572]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-851ed572]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-851ed572]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-851ed572]{position:absolute;right:10px}.userListBox[data-v-851ed572]{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex}.userListBox>div>img[data-v-851ed572]{display:block;text-align:center}.choosePeople[data-v-851ed572]{line-height:32px;width:120px;margin-right:20px;padding-left:11px;height:32px;border:1px solid #d9d9d9;border-radius:4px;color:#bfbfbf;cursor:pointer}.choosePeople[data-v-851ed572]:hover{border:1px solid #1890ff}.deptModel[data-v-851ed572]{background:#f2f0f0;margin:5px 0;margin-right:5px;padding:2px 4px;border-radius:3px;line-height:2}.ant-table-tbody>tr:hover .deptModel[data-v-851ed572]{background:#caeeff}.ant-popover-inner-content>p[data-v-851ed572]{margin:0}
\ No newline at end of file
.item[data-v-25169686]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:10px}.item>label[data-v-25169686]{width:75px;text-align:right;margin-right:8px}.item>input[data-v-25169686]{width:220px}
\ No newline at end of file
.title[data-v-899e23be]{font-weight:700;margin-bottom:20px;margin-top:20px}
\ No newline at end of file
.searchBox[data-v-2dcdf518]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px}.searchBox>input[data-v-2dcdf518]{margin-right:20px;max-width:180px}.operationTable a[data-v-2dcdf518]{margin-right:8px}.searchUserMessage[data-v-2dcdf518]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-2dcdf518]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-2dcdf518]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-2dcdf518]{position:absolute;right:10px}.userListBox[data-v-2dcdf518]{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex}.userListBox>div>img[data-v-2dcdf518]{display:block;text-align:center}.choosePeople[data-v-2dcdf518]{line-height:32px;width:120px;margin-right:20px;padding-left:11px;height:32px;border:1px solid #d9d9d9;border-radius:4px;color:#bfbfbf;cursor:pointer}.choosePeople[data-v-2dcdf518]:hover{border:1px solid #1890ff}.deptModel[data-v-2dcdf518]{background:#f2f0f0;margin:5px 0;margin-right:5px;padding:2px 4px;border-radius:3px;line-height:2}.ant-table-tbody>tr:hover .deptModel[data-v-2dcdf518]{background:#caeeff}.ant-popover-inner-content>p[data-v-2dcdf518]{margin:0}
\ No newline at end of file
.title[data-v-3880ae31]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-3880ae31]{margin-left:10px}.searchBox input[data-v-3880ae31]{margin-right:20px}
\ No newline at end of file
.searchBox[data-v-44d3b28a]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px}.searchBox>input[data-v-44d3b28a]{margin-right:20px;max-width:180px}.operationTable a[data-v-44d3b28a]{margin-right:8px}.searchUserMessage[data-v-44d3b28a]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;padding-right:20px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-44d3b28a]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-44d3b28a]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-44d3b28a]{position:absolute;right:10px}.userListBox[data-v-44d3b28a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap}.userListBox>div[data-v-44d3b28a]{margin:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.userListBox>div>img[data-v-44d3b28a]{display:block;text-align:center}.choosePeople[data-v-44d3b28a]{line-height:32px;width:120px;margin-right:20px;padding-left:11px;height:32px;border:1px solid #d9d9d9;border-radius:4px;color:#bfbfbf;cursor:pointer}.choosePeople[data-v-44d3b28a]:hover{border:1px solid #1890ff}.deptModel[data-v-44d3b28a]{background:#f2f0f0;margin:5px 0;margin-right:5px;padding:2px 4px;border-radius:3px;line-height:2}.ant-table-tbody>tr:hover .deptModel[data-v-44d3b28a]{background:#caeeff}.ant-popover-inner-content>p[data-v-44d3b28a]{margin:0}
\ No newline at end of file
.searchBox[data-v-082ed551]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.searchBox>input[data-v-082ed551]{margin-right:20px;max-width:180px}.operationTable a[data-v-082ed551]{margin-right:8px}.searchUserMessage[data-v-082ed551]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-082ed551]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-082ed551]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-082ed551]{position:absolute;right:10px}.peopleBox[data-v-082ed551]{width:100%;border:1px solid #d9d9d9;min-height:40px;border-radius:4px;padding:4px 11px;font-size:14px;line-height:1.5;cursor:pointer}
\ No newline at end of file
.noPermission[data-v-eb47be4e]{position:fixed;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.noPermission>div[data-v-eb47be4e]:nth-of-type(2){font-size:20px}.noPermission image[data-v-eb47be4e]{width:402px;height:284px}.noPermission>div[data-v-eb47be4e]:first-of-type{margin-right:88px}
\ No newline at end of file
.title[data-v-5a811186]{height:47px;width:100%;background:#f7f7f7;line-height:47px;font-size:14px;padding-left:20px}.title span[data-v-5a811186]{margin-left:20px}.purposeList[data-v-5a811186]{padding-left:10px;padding-top:20px;padding-bottom:20px}.purposeListContent[data-v-5a811186]{padding-top:20px}.title span[data-v-5a811186]{font-size:12px;color:#979797}
\ No newline at end of file
.content[data-v-6eeff510]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;height:500px}.content>div[data-v-6eeff510]:nth-of-type(2){font-size:20px}.content image[data-v-6eeff510]{width:395px;height:260px}.content>div[data-v-6eeff510]:first-of-type{margin-right:88px}
\ No newline at end of file
.searchBox[data-v-7f09b024]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px}.searchBox>input[data-v-7f09b024]{margin-right:20px;max-width:180px}.operationTable a[data-v-7f09b024]{margin-right:8px}.searchUserMessage[data-v-7f09b024]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-7f09b024]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-7f09b024]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-7f09b024]{position:absolute;right:10px}.userListBox[data-v-7f09b024]{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex}.userListBox>div>img[data-v-7f09b024]{display:block;text-align:center}.choosePeople[data-v-7f09b024]{line-height:32px;width:120px;margin-right:20px;padding-left:11px;height:32px;border:1px solid #d9d9d9;border-radius:4px;color:#bfbfbf;cursor:pointer}.choosePeople[data-v-7f09b024]:hover{border:1px solid #1890ff}.deptModel[data-v-7f09b024]{background:#f2f0f0;margin:5px 0;margin-right:5px;padding:2px 4px;border-radius:3px;line-height:2}.ant-table-tbody>tr:hover .deptModel[data-v-7f09b024]{background:#caeeff}.ant-popover-inner-content>p[data-v-7f09b024]{margin:0}.mingPayOrderDetailItem[data-v-7f09b024]{display:-webkit-box;display:-ms-flexbox;display:flex;width:190px;margin:15px 0}.mingPayOrderDetailItem>div[data-v-7f09b024]:first-of-type{width:40px;height:40px;overflow:hidden}.mingPayOrderDetailItem>div:first-of-type img[data-v-7f09b024]{width:40px;height:40px;display:block}.mingPayOrderDetailItem>div[data-v-7f09b024]:nth-of-type(2){height:40px;width:80px;font-size:14px;margin-left:10px}.mingPayOrderDetailItem>div:nth-of-type(2) div[data-v-7f09b024]:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px;color:#000}.mingPayOrderDetailItem>div:nth-of-type(2) div[data-v-7f09b024]:nth-of-type(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px;color:#868686;font-size:12px}.mingPayOrderDetailItem>div[data-v-7f09b024]:nth-of-type(3){height:40px;text-align:right;-webkit-box-flex:1;-ms-flex:1;flex:1;color:#000}
\ No newline at end of file
.title[data-v-aa5d9154]{font-weight:700;margin-top:20px}.allowanceDetailsBox[data-v-aa5d9154]{width:100%;line-height:30px}.allowanceDetailsBox>div[data-v-aa5d9154]{display:-webkit-box;display:-ms-flexbox;display:flex;margin:10px 0}.allowanceDetailsBox>div>label[data-v-aa5d9154]{width:80px;text-align:right;font-weight:700;margin-right:20px}.allowanceDetailsBox>div>div[data-v-aa5d9154]{-webkit-box-flex:1;-ms-flex:1;flex:1}.searchUserMessage[data-v-aa5d9154]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:14px;padding:8px 8px;padding-right:20px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.positionDiv[data-v-aa5d9154]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.searchData[data-v-aa5d9154]{color:red}.userList>span[data-v-aa5d9154]{padding:6px}.clickshowsearchUserMessage[data-v-aa5d9154]{margin-bottom:20px}.changeEndTime[data-v-aa5d9154]{margin-left:15px;color:#1890ff;cursor:pointer}
\ No newline at end of file
.searchUserMessage[data-v-34c914ad]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-34c914ad]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-34c914ad]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-34c914ad]{position:absolute;right:10px}.peopleBox[data-v-34c914ad]{width:100%;border:1px solid #d9d9d9;min-height:40px;border-radius:4px;padding:4px 11px;font-size:14px;line-height:1.5;cursor:pointer}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta http-equiv=Pragma content=no-cache><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>mingpay</title><link href=css/chunk-13ec64c5.52ec5803.css rel=prefetch><link href=css/chunk-28723f13.90e02cb9.css rel=prefetch><link href=css/chunk-3599003e.1a62b51d.css rel=prefetch><link href=css/chunk-3f3336d0.33fb771c.css rel=prefetch><link href=css/chunk-42323b98.64f24c7d.css rel=prefetch><link href=css/chunk-4ba7f26b.8079c706.css rel=prefetch><link href=css/chunk-5095efbe.58f409ad.css rel=prefetch><link href=css/chunk-56890f8c.b58ddb49.css rel=prefetch><link href=css/chunk-570f9528.289dca7b.css rel=prefetch><link href=css/chunk-58a22374.bf3cd3b1.css rel=prefetch><link href=css/chunk-6658342b.d8c3d9b5.css rel=prefetch><link href=css/chunk-6cec962d.698e1e67.css rel=prefetch><link href=css/chunk-7026f433.625e47b3.css rel=prefetch><link href=css/chunk-7193f09a.c528fa7e.css rel=prefetch><link href=css/chunk-90b83a0c.23b21a79.css rel=prefetch><link href=css/chunk-a0a95438.3fbca111.css rel=prefetch><link href=css/chunk-d04df21a.6f8b801f.css rel=prefetch><link href=css/chunk-d6bbfb78.c1a1fa8d.css rel=prefetch><link href=css/chunk-dd9fcb10.6109af67.css rel=prefetch><link href=css/chunk-edd53178.611b074a.css rel=prefetch><link href=css/chunk-edd5b888.7ba8d7af.css rel=prefetch><link href=css/chunk-fb6b8140.5661c4ec.css rel=prefetch><link href=js/chunk-13ec64c5.0c18a320.js rel=prefetch><link href=js/chunk-28723f13.5d2f0b5e.js rel=prefetch><link href=js/chunk-3599003e.506f0018.js rel=prefetch><link href=js/chunk-3f3336d0.9537bd84.js rel=prefetch><link href=js/chunk-42323b98.ca0331ff.js rel=prefetch><link href=js/chunk-4ba7f26b.1ce70aaf.js rel=prefetch><link href=js/chunk-5095efbe.ae3a92ac.js rel=prefetch><link href=js/chunk-56890f8c.b8fd870f.js rel=prefetch><link href=js/chunk-570f9528.101eb842.js rel=prefetch><link href=js/chunk-58a22374.a2517d20.js rel=prefetch><link href=js/chunk-6658342b.6f5ed15c.js rel=prefetch><link href=js/chunk-6cec962d.21699046.js rel=prefetch><link href=js/chunk-7026f433.371506ce.js rel=prefetch><link href=js/chunk-7193f09a.3d769898.js rel=prefetch><link href=js/chunk-90b83a0c.f4d0aa63.js rel=prefetch><link href=js/chunk-a0a95438.8ae14213.js rel=prefetch><link href=js/chunk-b788ccac.75d79bea.js rel=prefetch><link href=js/chunk-d04df21a.4097ae13.js rel=prefetch><link href=js/chunk-d6bbfb78.7f5384d8.js rel=prefetch><link href=js/chunk-dd9fcb10.a5087450.js rel=prefetch><link href=js/chunk-edd53178.9b13a3a6.js rel=prefetch><link href=js/chunk-edd5b888.a4773547.js rel=prefetch><link href=js/chunk-fb6b8140.a1f64a6a.js rel=prefetch><link href=css/app.2887c0b5.css rel=preload as=style><link href=css/chunk-vendors.abc56c7c.css rel=preload as=style><link href=js/app.af4a7b87.js rel=preload as=script><link href=js/chunk-vendors.891daad7.js rel=preload as=script><link href=css/chunk-vendors.abc56c7c.css rel=stylesheet><link href=css/app.2887c0b5.css rel=stylesheet></head><body><noscript><strong>We're sorry but mingpay doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.891daad7.js></script><script src=js/app.af4a7b87.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-13ec64c5"],{"0d5e":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var a,o=n("7f43"),i=n.n(o),s=n("4328"),c=n.n(s),r=n("9f82"),l=n("f64c"),u="https://gateway-beta.mingwork.com";i.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(r["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return a.close(),Promise.reject(e)}),i.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,n){if(console.log(e),e&&e.response)switch(e.response.status){case 401:l["a"].error("网络异常请重试"),Object(r["c"])().then(function(n){console.log("refreshToken1",n),t(e)});break;case 426:l["a"].error("网络异常请重试"),Object(r["a"])().then(function(n){t(e)});break;case 504:l["a"].error("系统异常"),t(e);break;case 500:l["a"].error("系统繁忙"),t(e);break;default:l["a"].error("未知问题"),t(e),n(new Error(e))}else l["a"].error("未知问题"),t(e)})});var d={post:function(e,t){return new Promise(function(n,a){var o=void 0===t?"":t;i.a.post("".concat(u).concat(e),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return n(e)})})},get:function(e,t){return new Promise(function(n,a){var o=void 0===t?"":c.a.stringify(t);i.a.get("".concat(u).concat(e,"?").concat(o)).then(function(e){return n(e)})})},delete:function(e,t){return new Promise(function(n,a){var o=void 0===t?"":c.a.stringify(t);i.a.delete("".concat(u).concat(e,"?").concat(o)).then(function(e){return n(e)})})}}},"23ee":function(e,t,n){"use strict";var a=n("8040"),o=n.n(a);o.a},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"6b54":function(e,t,n){"use strict";n("3846");var a=n("cb7c"),o=n("0bfb"),i=n("9e1e"),s="toString",c=/./[s],r=function(e){n("2aba")(RegExp.prototype,s,e,!0)};n("79e5")(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})?r(function(){var e=a(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):c.name!=s&&r(function(){return c.call(this)})},8040:function(e,t,n){},"948a":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"SystemReconciliation"},[n("div",{staticClass:"searchBox"},[n("a-date-picker",{attrs:{disabledDate:e.disabledStartDate,format:"YYYY-MM-DD",placeholder:"开始日期"},on:{change:e.onChangeStartValue,openChange:e.handleStartOpenChange},model:{value:e.startValue,callback:function(t){e.startValue=t},expression:"startValue"}}),e._v("\n ~\n "),n("a-date-picker",{attrs:{disabledDate:e.disabledEndDate,format:"YYYY-MM-DD",placeholder:"结束日期",open:e.endOpen},on:{change:e.onChangeEndValue,openChange:e.handleEndOpenChange},model:{value:e.endValue,callback:function(t){e.endValue=t},expression:"endValue"}}),n("a-button",{attrs:{type:"primary"},on:{click:e.getAccountCheck}},[e._v("查询")])],1),n("div",{staticClass:"title"},[e._v("账单汇总")]),n("div",{staticClass:"SystemReconciliationContent"},[n("div",{staticClass:"contentItem"},[n("div",{staticClass:"title"},[e._v("\n 充值金额\n ")]),n("div",[n("p",[n("label",[e._v("现金:")]),e._v("¥"+e._s(e.systemReconciliationDetails.internalRechargeAmount||"0.00"))]),n("p",[n("label",[e._v("支付宝:")]),e._v("¥"+e._s(e.systemReconciliationDetails.externalRechargeAmount||"0.00"))])]),n("div",[n("p",[e._v("共计:"),n("span",[e._v("¥"+e._s(e.returnRechargeAmount()))])])])]),n("div",{staticClass:"contentItem"},[n("div",{staticClass:"title"},[e._v("\n 发放津贴\n ")]),n("div",e._l(e.systemReconciliationDetails.subsidyCheck,function(t){return n("p",{key:t.sceneType},[n("label",[e._v(e._s("TRAVEL"===t.sceneType?"交通补助":"餐补")+":")]),e._v("¥"+e._s(t.amount||"0.00"))])}),0),n("div",[n("p",[e._v("共计:"),n("span",[e._v("¥"+e._s(e.returnSubsidyCheckTotal()))])])])]),n("div",{staticClass:"contentItem"},[n("div",{staticClass:"title"},[e._v("\n 消费金额\n ")]),n("div",{staticClass:"recordsBox"},e._l(e.systemReconciliationDetails.consumeCheck,function(t){return n("div",{key:t.sceneType},[n("div",[e._v(e._s("TRAVEL"===t.sceneType?"交通消费":"用餐消费")+":")]),n("div",[n("p",[e._v("现金:¥"+e._s(t.realityAmount||"0.00"))]),n("p",[e._v("津贴:¥"+e._s(t.subsidyAmount||"0.00"))])])])}),0),n("div",[n("p",[e._v("共计:"),n("span",[e._v("¥"+e._s(e.returnConsumeCheck("total")))])]),n("p",[e._v("津贴总消费:"),n("span",[e._v("¥"+e._s(e.returnConsumeCheck("subsidyAmount")))])]),n("p",[e._v("现金总消费:"),n("span",[e._v("¥"+e._s(e.returnConsumeCheck("realityAmount")))])])])])])])},o=[],i=(n("6b54"),n("0d5e")),s=n("c1df"),c=n.n(s),r={name:"systemReconciliation",data:function(){return{startTime:"",endTime:"",startValue:null,endValue:null,endOpen:!1,systemReconciliationDetails:{}}},created:function(){var e=new Date,t=e.getFullYear(),n=e.getMonth()+1,a=new Date(t,n,0).getDate().toString().length>1?new Date(t,n,0).getDate():"0"+new Date(t,n,0).getDate();this.startTime="".concat(t,"-").concat(n.toString().length>1?n:"0"+n,"-01"),this.endTime="".concat(t,"-").concat(n.toString().length>1?n:"0"+n,"-").concat(a),this.startValue=this.moment("".concat(t,"-").concat(n.toString().length>1?n:"0"+n,"-01"),"YYYY-MM-DD"),this.endValue=this.moment("".concat(t,"-").concat(n.toString().length>1?n:"0"+n,"-").concat(a),"YYYY-MM-DD"),this.getAccountCheck()},methods:{moment:c.a,disabledStartDate:function(e){var t=this.endValue;return!(!e||!t)&&(e.valueOf()>t.valueOf()||e.valueOf()>=c()().endOf("day").valueOf())},disabledEndDate:function(e){var t=this.startValue;return!(!e||!t)&&(t.valueOf()>e.valueOf()||e.valueOf()>c()().endOf("day").valueOf())},handleStartOpenChange:function(e){e||(this.endOpen=!0)},handleEndOpenChange:function(e){this.endOpen=e},onChangeStartValue:function(e,t){this.startTime=t},onChangeEndValue:function(e,t){this.endTime=t},returnConsumeCheck:function(e){var t=0;return this.systemReconciliationDetails.consumeCheck?"realityAmount"===e?(this.systemReconciliationDetails.consumeCheck.map(function(e){var n=e.realityAmount?e.realityAmount:0;t+=parseFloat(n)}),t.toFixed(2)):"subsidyAmount"===e?(this.systemReconciliationDetails.consumeCheck.map(function(e){var n=e.subsidyAmount?e.subsidyAmount:0;t+=parseFloat(n)}),t.toFixed(2)):"total"===e?(this.systemReconciliationDetails.consumeCheck.map(function(e){var n=e.orderAmount?e.orderAmount:0;t+=parseFloat(n)}),t.toFixed(2)):void 0:"0.00"},returnSubsidyCheckTotal:function(){var e=0;return this.systemReconciliationDetails.subsidyCheck?(this.systemReconciliationDetails.subsidyCheck.map(function(t){var n=t.amount?t.amount:0;e+=parseFloat(n)}),e.toFixed(2)):"0.00"},returnRechargeAmount:function(){var e=this.systemReconciliationDetails.internalRechargeAmount||0,t=this.systemReconciliationDetails.externalRechargeAmount||0,n=parseFloat(e)+parseFloat(t);return n.toFixed(2)},getAccountCheck:function(){var e=this,t={startTime:this.startTime,endTime:this.endTime};i["a"].get("/mingpay/v1/isv/account/accountCheck",t).then(function(t){console.log(t.data.data),0===t.data.resultCode?e.systemReconciliationDetails=t.data.data:e.$message.error(t.data.message)})}}},l=r,u=(n("23ee"),n("2877")),d=Object(u["a"])(l,a,o,!1,null,"2d7f60b5",null);t["default"]=d.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28723f13"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return g});var n,r=a("7f43"),s=a.n(r),c=a("4328"),o=a.n(c),i=a("9f82"),u=a("f64c"),l="https://gateway-beta.mingwork.com";s.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(i["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return n.close(),Promise.reject(e)}),s.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:u["a"].error("网络异常请重试"),Object(i["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:u["a"].error("网络异常请重试"),Object(i["a"])().then(function(a){t(e)});break;case 504:u["a"].error("系统异常"),t(e);break;case 500:u["a"].error("系统繁忙"),t(e);break;default:u["a"].error("未知问题"),t(e),a(new Error(e))}else u["a"].error("未知问题"),t(e)})});var g={post:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":t;s.a.post("".concat(l).concat(e),r,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":o.a.stringify(t);s.a.get("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})},delete:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":o.a.stringify(t);s.a.delete("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})}}},"67f4":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cashierManagement"},[a("a-button",{staticStyle:{"margin-bottom":"20px"},attrs:{type:"primary"},on:{click:e.choosePeople}},[e._v("添加收银人")]),e.searchSource.UserMessage.emplId?a("div",{staticClass:"searchUserMessage"},[a("div",{staticClass:"positionDiv"}),a("div",{staticClass:"clearUserMessage"},[a("a",{attrs:{href:"javascript:;"},on:{click:e.clearUserMessage}},[e._v("清除")])]),e.searchSource.UserMessage.avatar?a("img",{attrs:{src:e.searchSource.UserMessage.avatar,alt:e.searchSource.UserMessage.name}}):a("img",{attrs:{src:this.avatarCanvasFn(e.searchSource.UserMessage.name),alt:e.searchSource.UserMessage.name}}),a("span",[e._v(e._s(e.searchSource.UserMessage.name))])]):e._e(),a("a-table",{attrs:{columns:e.columns,dataSource:e.cashierManagementList,size:"default",rowKey:"id",pagination:e.pagination},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"action",fn:function(t,n,r){return a("span",{},["0"===n.status?a("a",{attrs:{href:"javascript:;"},on:{click:function(a){return e.showModel(n,t,r)}}},[e._v("删除")]):a("a",{staticStyle:{color:"#cccccc"},attrs:{href:"javascript:;"}},[e._v("已删除")])])}}])},[a("span",{attrs:{slot:"name"},slot:"name"},[e._v("成员")]),a("span",{attrs:{slot:"createDate"},slot:"createDate"})])],1)},r=[],s=(a("7f7f"),a("da71")),c=a("0d5e"),o={name:"cashierManagement",data:function(){return{searchSource:{UserMessage:{avatar:"",emplId:"",name:""},status:"",agentId:""},columns:[{title:"成员",dataIndex:"name"},{title:"时间",dataIndex:"createDate"},{title:"操作",dataIndex:"action",scopedSlots:{customRender:"action"}}],cashierManagementList:[],pagination:{current:1,defaultCurrent:1,defaultPageSize:10,hideOnSinglePage:!0,total:0}}},watch:{},computed:{},created:function(){this.getCashierList()},methods:{showModel:function(e,t,a){var n=this;this.$confirm({title:"确认要删除该收银员吗?",content:"删除后,该人员无法在设备上进行收钱操作",okText:"确定",cancelText:"取消",onOk:function(){n.deleteCashier(e)}})},deleteCashier:function(e){var t=this,a={ddUserId:e.userId,cashierStatus:"1",userType:"0",id:e.id};c["a"].get("/mingpay/v1/isv/cashier/delete_cashier",a).then(function(e){0===e.data.resultCode?(t.$message.success("操作成功"),t.getCashierList()):t.$message.error(e.data.message)}).catch(function(){t.$message.error("删除失败")})},getCashierList:function(){var e=this,t={pageNumber:this.pagination.defaultPageSize,currentPage:this.pagination.current,userType:"0"};c["a"].get("/mingpay/v1/isv/cashier/list_cashier",t).then(function(t){e.pagination.total=parseInt(t.data.data.total),e.cashierManagementList=t.data.data.list}).catch(function(){e.$message.error("获取收银员信息失败")})},createTimeToStr:function(e){var t=new Date(parseInt(e)),a=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),s=t.getHours(),c=t.getMinutes();return"".concat(a,"年").concat(n,"月").concat(r,"日 ").concat(s,":").concat(c)},choosePeople:function(){var e=this;s["a"].ddready("ddchooseOne").then(function(t){var a={cashierName:t[0].name,ddUserId:t[0].emplId,cashierStatus:"0",userType:"0"};c["a"].get("/mingpay/v1/isv/cashier/insert_cashier",a).then(function(t){0===t.data.resultCode?(e.$message.success("添加成功"),e.getCashierList()):e.$message.error(t.data.message)}).catch(function(t){e.$message.error("网络异常请重试"),console.log(t)})})},handleTableChange:function(e,t,a){this.pagination.current=e.current,this.getCashierList()}}},i=o,u=(a("b9b9"),a("2877")),l=Object(u["a"])(i,n,r,!1,null,"933d56a2",null);t["default"]=l.exports},8844:function(e,t,a){},b9b9:function(e,t,a){"use strict";var n=a("8844"),r=a.n(n);r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3f3336d0"],{"0d5e":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var a,c=n("7f43"),i=n.n(c),r=n("4328"),o=n.n(r),s=n("9f82"),g=n("f64c"),h="https://gateway-beta.mingwork.com";i.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(s["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return a.close(),Promise.reject(e)}),i.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,n){if(console.log(e),e&&e.response)switch(e.response.status){case 401:g["a"].error("网络异常请重试"),Object(s["c"])().then(function(n){console.log("refreshToken1",n),t(e)});break;case 426:g["a"].error("网络异常请重试"),Object(s["a"])().then(function(n){t(e)});break;case 504:g["a"].error("系统异常"),t(e);break;case 500:g["a"].error("系统繁忙"),t(e);break;default:g["a"].error("未知问题"),t(e),n(new Error(e))}else g["a"].error("未知问题"),t(e)})});var d={post:function(e,t){return new Promise(function(n,a){var c=void 0===t?"":t;i.a.post("".concat(h).concat(e),c,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return n(e)})})},get:function(e,t){return new Promise(function(n,a){var c=void 0===t?"":o.a.stringify(t);i.a.get("".concat(h).concat(e,"?").concat(c)).then(function(e){return n(e)})})},delete:function(e,t){return new Promise(function(n,a){var c=void 0===t?"":o.a.stringify(t);i.a.delete("".concat(h).concat(e,"?").concat(c)).then(function(e){return n(e)})})}}},"3a9c":function(e,t,n){},"7aeb":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paymentManagementSetting"},[e._m(0),n("div",{staticClass:"paymentManagementSettingContent"},[n("div",[n("label",[e._v("现金充值:")]),n("a-input",{staticStyle:{width:"510px"},attrs:{disabled:"",placeholder:"请输入审批模板ID"},model:{value:e.OrgSettingData.chargeProcessInstanceId,callback:function(t){e.$set(e.OrgSettingData,"chargeProcessInstanceId",t)},expression:"OrgSettingData.chargeProcessInstanceId"}}),n("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关",defaultChecked:"",checked:""!==e.OrgSettingData.chargeSwitch&&"CLOSE"!==e.OrgSettingData.chargeSwitch},on:{change:e.chargeSwitchOnChange}})],1),n("div",[n("label",[e._v("津贴发放:")]),n("a-input",{staticStyle:{width:"510px"},attrs:{disabled:"",placeholder:"请输入审批模板ID"},model:{value:e.OrgSettingData.provideSubsidyId,callback:function(t){e.$set(e.OrgSettingData,"provideSubsidyId",t)},expression:"OrgSettingData.provideSubsidyId"}}),n("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关",defaultChecked:"",checked:""!==e.OrgSettingData.provideSubsidySwitch&&"CLOSE"!==e.OrgSettingData.provideSubsidySwitch},on:{change:e.provideSubsidySwitchOnChange}})],1),e._m(1)]),e._m(2),n("div",{staticClass:"switchList"},[n("div",[n("label",[e._v("充值通知:")]),n("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关",defaultChecked:"",checked:""!==e.OrgSettingData.chargeNotice&&"CLOSE"!==e.OrgSettingData.chargeNotice},on:{change:e.chargeNoticeOnChange}})],1),n("div",[n("label",[e._v("退款通知:")]),n("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关",defaultChecked:"",checked:""!==e.OrgSettingData.refundNotice&&"CLOSE"!==e.OrgSettingData.refundNotice},on:{change:e.refundNoticeOnChange}})],1),n("div",[n("label",[e._v("发津贴通知:")]),n("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关",defaultChecked:"",checked:""!==e.OrgSettingData.provideSubsidyNotice&&"CLOSE"!==e.OrgSettingData.provideSubsidyNotice},on:{change:e.provideSubsidyNoticeOnChange}})],1),n("div",[n("label",[e._v("消费通知:")]),n("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关",defaultChecked:"",checked:""!==e.OrgSettingData.consumeNotice&&"CLOSE"!==e.OrgSettingData.consumeNotice},on:{change:e.consumeSwitchOnChange}})],1)]),n("div",{staticStyle:{"margin-top":"60px","margin-left":"200px"}},[n("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.updateOrgSetting()}}},[e._v("保存修改")])],1)])},c=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("span",[e._v("以下功能是否需要审批")]),n("span",[e._v("开启后钉钉管理员将会收到需要审批的审批单")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[n("span",[e._v("*")]),e._v("请先到钉钉的管理后台创建相关的审批模板")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("span",[e._v("以下功能是否开启消息通知")]),n("span",[e._v("开启后用户将收到钉钉消息通知")])])}],i=n("0d5e"),r={name:"paymentManagementSetting",data:function(){return{OrgSettingData:{}}},watch:{},computed:{},created:function(){this.queryOrgSetting()},methods:{queryOrgSetting:function(){var e=this;i["a"].post("/mingpay/v1/isv/org_setting/query_org_setting_by_org_id").then(function(t){console.log(t),e.OrgSettingData=t.data.data}).catch(function(t){e.$message.error("网络异常请重试"),console.log(t)})},updateOrgSetting:function(){var e=this,t=this.OrgSettingData;""===this.OrgSettingData.chargeProcessInstanceId&&"OPEN"===this.OrgSettingData.chargeSwitch?this.$message.error("打开审批开关后必须填写审批模版ID"):""===this.OrgSettingData.provideSubsidyId&&"OPEN"===this.OrgSettingData.provideSubsidySwitch?this.$message.error("打开审批开关后必须填写审批模版ID"):i["a"].post("/mingpay/v1/isv/org_setting/update_org_setting_by_org_id",t).then(function(t){0===t.data.resultCode?e.$message.success("保存成功"):e.$message.error("保存失败")}).catch(function(t){e.$message.error(t)})},chargeSwitchOnChange:function(e){this.OrgSettingData.chargeSwitch=e?"OPEN":"CLOSE"},provideSubsidySwitchOnChange:function(e){this.OrgSettingData.provideSubsidySwitch=e?"OPEN":"CLOSE",console.log("a-switch to ".concat(e))},chargeNoticeOnChange:function(e){console.log("a-switch to ".concat(e)),this.OrgSettingData.chargeNotice=e?"OPEN":"CLOSE"},refundNoticeOnChange:function(e){this.OrgSettingData.refundNotice=e?"OPEN":"CLOSE",console.log("a-switch to ".concat(e))},provideSubsidyNoticeOnChange:function(e){this.OrgSettingData.provideSubsidyNotice=e?"OPEN":"CLOSE",console.log("a-switch to ".concat(e))},consumeSwitchOnChange:function(e){this.OrgSettingData.consumeNotice=e?"OPEN":"CLOSE",console.log("a-switch to ".concat(e))}}},o=r,s=(n("af95"),n("2877")),g=Object(s["a"])(o,a,c,!1,null,"2921ed34",null);t["default"]=g.exports},af95:function(e,t,n){"use strict";var a=n("3a9c"),c=n.n(a);c.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42323b98"],{"38e7":function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"ConfigError"},[t._m(0),e("div",[e("div",{staticStyle:{"margin-bottom":"16px"}},[t._v("抱歉,获取用户身份失败")]),e("div",[e("a-button",{attrs:{type:"primary"},on:{click:function(n){return t.Re_acquisition()}}},[t._v("重试获取")])],1)])])},o=[function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",[i("img",{attrs:{src:e("5314")}})])}],r={name:"noPermission",components:{},data:function(){return{}},watch:{},computed:{},methods:{Re_acquisition:function(){this.$router.push({name:"dashboard"})}},mounted:function(){}},c=r,a=(e("7efb"),e("2877")),s=Object(a["a"])(c,i,o,!1,null,"44d6dd0c",null);n["default"]=s.exports},"448d":function(t,n,e){},5314:function(t,n,e){t.exports=e.p+"img/getTokenError.6f35adb7.png"},"7efb":function(t,n,e){"use strict";var i=e("448d"),o=e.n(i);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4ba7f26b"],{"22af":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"canteenManagementHome"},[n("a-layout",{staticStyle:{padding:"24px 0",background:"#fff","min-height":"calc(100vh - 149px)","min-width":"1100px"}},[n("a-layout-sider",{staticStyle:{background:"#fff"},attrs:{width:"200"}},[n("a-menu",{staticStyle:{height:"100%"},attrs:{mode:"inline",defaultSelectedKeys:[e.defaultSelectedKeys],defaultOpenKeys:["sub1"]},on:{click:e.routerPush}},[n("a-menu-item",{key:"classificationOfDishes",staticClass:"itemFlex"},[n("div",{class:["classificationOfDishes"===e.chooseMenuList?"menuIcon menuIcon1_2":"menuIcon menuIcon1_1"]}),n("div",[e._v("菜品分类")])]),n("a-menu-item",{key:"menuManagement",staticClass:"itemFlex"},[n("div",{class:["menuManagement"===e.chooseMenuList?"menuIcon menuIcon2_2":"menuIcon menuIcon2_1"]}),e._v("菜品管理\n ")]),n("a-menu-item",{key:"consumptionOrder",staticClass:"itemFlex"},[n("div",{class:["consumptionOrder"===e.chooseMenuList?"menuIcon menuIcon3_2":"menuIcon menuIcon3_1"]}),e._v("消费订单\n ")]),n("a-menu-item",{key:"consumptionStatistics",staticClass:"itemFlex"},[n("div",{class:["consumptionStatistics"===e.chooseMenuList?"menuIcon menuIcon4_2":"menuIcon menuIcon4_1"]}),e._v("消费统计\n ")])],1)],1),n("a-layout-content",{style:{padding:"0 24px",minHeight:"280px"}},[n("router-view")],1)],1)],1)},i=[],a=(n("7f7f"),{name:"canteenManagementHome",data:function(){return{defaultSelectedKeys:"defaultSelectedKeys",chooseMenuList:"classificationOfDishes"}},created:function(){this.defaultSelectedKeys=this.$route.name,this.chooseMenuList=this.$route.name},watch:{$route:function(e,t){this.defaultSelectedKeys=e.name,this.chooseMenuList=e.name}},methods:{routerPush:function(e){this.chooseMenuList=e.key,this.$router.push({name:e.key})}}}),c=a,u=(n("a80b"),n("2877")),o=Object(u["a"])(c,s,i,!1,null,"76f9a232",null);t["default"]=o.exports},a80b:function(e,t,n){"use strict";var s=n("b156"),i=n.n(s);i.a},b156:function(e,t,n){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5095efbe"],{"3c25":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"canteenManagementHome"},[n("a-layout",{staticStyle:{padding:"24px 0",background:"#fff","min-height":"calc(100vh - 149px)","min-width":"1100px"}},[n("a-layout-sider",{staticStyle:{background:"#fff"},attrs:{width:"200"}},[n("a-menu",{staticStyle:{height:"100%"},attrs:{mode:"inline",defaultSelectedKeys:[e.defaultSelectedKeys],defaultOpenKeys:["sub1"]},on:{click:e.routerPush}},[n("a-menu-item",{key:"historicalVisitors",staticClass:"itemFlex"},[n("div",{class:["historicalVisitors"===e.chooseMenuList?"menuIcon menuIcon1_2":"menuIcon menuIcon1_1"]}),n("div",[e._v("历史访客")])]),n("a-menu-item",{key:"visitorSetting",staticClass:"itemFlex"},[n("div",{class:["visitorSetting"===e.chooseMenuList?"menuIcon menuIcon2_2":"menuIcon menuIcon2_1"]}),e._v("设置中心\n ")])],1)],1),n("a-layout-content",{style:{padding:"0 24px",minHeight:"280px"}},[n("router-view")],1)],1)],1)},s=[],a=(n("7f7f"),{name:"visitorManagementHome",data:function(){return{defaultSelectedKeys:"defaultSelectedKeys",chooseMenuList:"historicalVisitors"}},created:function(){this.defaultSelectedKeys=this.$route.name,this.chooseMenuList=this.$route.name},watch:{$route:function(e,t){this.defaultSelectedKeys=e.name,this.chooseMenuList=e.name}},methods:{routerPush:function(e){this.chooseMenuList=e.key,this.$router.push({name:e.key})}}}),c=a,o=(n("ac3f"),n("2877")),u=Object(o["a"])(c,i,s,!1,null,"4e2e36c4",null);t["default"]=u.exports},"84ae":function(e,t,n){},ac3f:function(e,t,n){"use strict";var i=n("84ae"),s=n.n(i);s.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56890f8c"],{"0d5e":function(t,e,a){"use strict";a.d(e,"a",function(){return d});var n,o=a("7f43"),c=a.n(o),r=a("4328"),i=a.n(r),s=a("9f82"),u=a("f64c"),l="https://gateway-beta.mingwork.com";c.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),t):new Promise(function(t,e){Object(s["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return n.close(),Promise.reject(t)}),c.a.interceptors.response.use(function(t){return Promise.resolve(t)},function(t){return new Promise(function(e,a){if(console.log(t),t&&t.response)switch(t.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(a){console.log("refreshToken1",a),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(a){e(t)});break;case 504:u["a"].error("系统异常"),e(t);break;case 500:u["a"].error("系统繁忙"),e(t);break;default:u["a"].error("未知问题"),e(t),a(new Error(t))}else u["a"].error("未知问题"),e(t)})});var d={post:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":e;c.a.post("".concat(l).concat(t),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(t){return a(t)})})},get:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":i.a.stringify(e);c.a.get("".concat(l).concat(t,"?").concat(o)).then(function(t){return a(t)})})},delete:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":i.a.stringify(e);c.a.delete("".concat(l).concat(t,"?").concat(o)).then(function(t){return a(t)})})}}},3846:function(t,e,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"5eee":function(t,e,a){"use strict";var n=a("84af"),o=a.n(n);o.a},"6b54":function(t,e,a){"use strict";a("3846");var n=a("cb7c"),o=a("0bfb"),c=a("9e1e"),r="toString",i=/./[r],s=function(t){a("2aba")(RegExp.prototype,r,t,!0)};a("79e5")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?s(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!c&&t instanceof RegExp?o.call(t):void 0)}):i.name!=r&&s(function(){return i.call(this)})},"84af":function(t,e,a){},e112:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"consumptionStatistics"},[a("div",{staticClass:"searchBox"},[a("a-date-picker",{attrs:{disabledDate:t.disabledStartDate,format:"YYYY-MM-DD",placeholder:"开始日期"},on:{change:t.onChangeStartValue,openChange:t.handleStartOpenChange},model:{value:t.startValue,callback:function(e){t.startValue=e},expression:"startValue"}}),t._v("\n ~\n "),a("a-date-picker",{attrs:{disabledDate:t.disabledEndDate,format:"YYYY-MM-DD",placeholder:"结束日期",open:t.endOpen},on:{change:t.onChangeEndValue,openChange:t.handleEndOpenChange},model:{value:t.endValue,callback:function(e){t.endValue=e},expression:"endValue"}}),a("a-button",{attrs:{type:"primary"},on:{click:t.getStatisticalProductPage}},[t._v("查询")])],1),a("div",{staticClass:"title"},[t._v("账单汇总")]),a("a-table",{attrs:{columns:t.columns,dataSource:t.dataSource,rowKey:"productId",pagination:t.pagination},on:{change:t.handleTableChange},scopedSlots:t._u([{key:"productIcon",fn:function(t){return a("span",{},[a("img",{staticStyle:{width:"100px"},attrs:{src:t,alt:""}})])}}])},[a("span",{attrs:{slot:"productName"},slot:"productName"}),a("span",{attrs:{slot:"productStatisticalQuantity"},slot:"productStatisticalQuantity"})])],1)},o=[],c=(a("6b54"),a("0d5e")),r=a("c1df"),i=a.n(r),s={name:"consumptionStatistics",data:function(){return{startTime:"",endTime:"",startValue:null,endValue:null,endOpen:!1,pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"产品图",dataIndex:"productIcon",scopedSlots:{customRender:"productIcon"}},{title:"菜名",dataIndex:"productName"},{title:"售出(份数)",dataIndex:"productStatisticalQuantity"}],dataSource:[]}},created:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=new Date(e,a,0).getDate().toString().length>1?new Date(e,a,0).getDate():"0"+new Date(e,a,0).getDate();this.startTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),this.endTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),this.startValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),"YYYY-MM-DD"),this.endValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),"YYYY-MM-DD"),this.getStatisticalProductPage()},methods:{moment:i.a,disabledStartDate:function(t){var e=this.endValue;return!(!t||!e)&&(t.valueOf()>e.valueOf()||t.valueOf()>=i()().endOf("day").valueOf())},disabledEndDate:function(t){var e=this.startValue;return!(!t||!e)&&(e.valueOf()>t.valueOf()||t.valueOf()>i()().endOf("day").valueOf())},handleStartOpenChange:function(t){t||(this.endOpen=!0)},handleEndOpenChange:function(t){this.endOpen=t},onChangeStartValue:function(t,e){this.startTime=e},onChangeEndValue:function(t,e){this.endTime=e},getStatisticalProductPage:function(){var t=this,e={startTime:"".concat(this.startTime," 00:00:00"),endTime:"".concat(this.endTime," 23:59:59"),pageNumber:10,currentPage:this.pagination.current};c["a"].post("/mingpay/v1/isv/order/statistical_product_page",e).then(function(e){0===e.data.resultCode?(t.dataSource=e.data.data.list,t.pagination.total=e.data.data.total):t.$message.error(e.data.message)})},handleTableChange:function(t,e,a){this.pagination.current=t.current,this.getStatisticalProductPage()}}},u=s,l=(a("5eee"),a("2877")),d=Object(l["a"])(u,n,o,!1,null,"2853fec8",null);e["default"]=d.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-570f9528"],{6445:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"PaymentManagementHome"},[t("a-layout",{staticStyle:{padding:"24px 0",background:"#fff","min-height":"calc(100vh - 149px)","min-width":"1100px"}},[t("a-layout-sider",{staticStyle:{background:"#fff"},attrs:{width:"200"}},[t("a-menu",{staticStyle:{height:"100%"},attrs:{mode:"inline",defaultSelectedKeys:[e.defaultSelectedKeys],defaultOpenKeys:["sub1"]},on:{click:e.routerPush}},[t("a-menu-item",{key:"accountManagement",staticClass:"itemFlex"},[t("div",{class:["accountManagement"===e.chooseMenuList?"menuIcon menuIcon1_2":"menuIcon menuIcon1_1"]}),e._v("账户中心")]),t("a-menu-item",{key:"rechargeRecord",staticClass:"itemFlex"},[t("div",{class:["rechargeRecord"===e.chooseMenuList?"menuIcon menuIcon2_2":"menuIcon menuIcon2_1"]}),e._v("充值记录")]),t("a-menu-item",{key:"allowancePayment",staticClass:"itemFlex"},[t("div",{class:["allowancePayment"===e.chooseMenuList?"menuIcon menuIcon3_2":"menuIcon menuIcon3_1"]}),e._v("津贴发放")]),t("a-menu-item",{key:"recordsOfConsumption",staticClass:"itemFlex"},[t("div",{class:["recordsOfConsumption"===e.chooseMenuList?"menuIcon menuIcon4_2":"menuIcon menuIcon4_1"]}),e._v("消费记录")]),t("a-menu-item",{key:"systemReconciliation",staticClass:"itemFlex"},[t("div",{class:["systemReconciliation"===e.chooseMenuList?"menuIcon menuIcon6_2":"menuIcon menuIcon6_1"]}),e._v("系统对账")]),t("a-menu-item",{key:"cashierManagement",staticClass:"itemFlex"},[t("div",{class:["cashierManagement"===e.chooseMenuList?"menuIcon menuIcon5_2":"menuIcon menuIcon5_1"]}),e._v("设置收银员")]),t("a-menu-item",{key:"SetAdministrators",staticClass:"itemFlex"},[t("div",{class:["SetAdministrators"===e.chooseMenuList?"menuIcon menuIcon5_2":"menuIcon menuIcon5_1"]}),e._v("设置管理员")]),t("a-menu-item",{key:"paymentManagementSetting",staticClass:"itemFlex"},[t("div",{class:["paymentManagementSetting"===e.chooseMenuList?"menuIcon menuIcon7_2":"menuIcon menuIcon7_1"]}),e._v("设置中心")]),t("a-menu-item",{key:"operationLog",staticClass:"itemFlex"},[t("div",{class:["operationLog"===e.chooseMenuList?"menuIcon menuIcon8_2":"menuIcon menuIcon8_1"]}),e._v("操作日志")])],1)],1),t("a-layout-content",{style:{padding:"0 24px",minHeight:"280px"}},[t("router-view")],1)],1)],1)},s=[],c=(t("7f7f"),{name:"paymentManagementHome",data:function(){return{defaultSelectedKeys:"defaultSelectedKeys",chooseMenuList:"accountManagement"}},created:function(){this.defaultSelectedKeys=this.$route.name,this.chooseMenuList=this.$route.name},watch:{$route:function(e,n){this.defaultSelectedKeys=e.name,this.chooseMenuList=e.name}},methods:{routerPush:function(e){this.chooseMenuList=e.key,this.$router.push({name:e.key})}}}),o=c,i=(t("75a1"),t("2877")),u=Object(i["a"])(o,a,s,!1,null,"235f35a4",null);n["default"]=u.exports},"73a5":function(e,n,t){},"75a1":function(e,n,t){"use strict";var a=t("73a5"),s=t.n(a);s.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6658342b"],{"0d5e":function(t,e,o){"use strict";o.d(e,"a",function(){return l});var r,a=o("7f43"),n=o.n(a),s=o("4328"),c=o.n(s),i=o("9f82"),u=o("f64c"),d="https://gateway-beta.mingwork.com";n.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),t):new Promise(function(t,e){Object(i["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return r.close(),Promise.reject(t)}),n.a.interceptors.response.use(function(t){return Promise.resolve(t)},function(t){return new Promise(function(e,o){if(console.log(t),t&&t.response)switch(t.response.status){case 401:u["a"].error("网络异常请重试"),Object(i["c"])().then(function(o){console.log("refreshToken1",o),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(i["a"])().then(function(o){e(t)});break;case 504:u["a"].error("系统异常"),e(t);break;case 500:u["a"].error("系统繁忙"),e(t);break;default:u["a"].error("未知问题"),e(t),o(new Error(t))}else u["a"].error("未知问题"),e(t)})});var l={post:function(t,e){return new Promise(function(o,r){var a=void 0===e?"":e;n.a.post("".concat(d).concat(t),a,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(t){return o(t)})})},get:function(t,e){return new Promise(function(o,r){var a=void 0===e?"":c.a.stringify(e);n.a.get("".concat(d).concat(t,"?").concat(a)).then(function(t){return o(t)})})},delete:function(t,e){return new Promise(function(o,r){var a=void 0===e?"":c.a.stringify(e);n.a.delete("".concat(d).concat(t,"?").concat(a)).then(function(t){return o(t)})})}}},2512:function(t,e,o){},"2f21":function(t,e,o){"use strict";var r=o("79e5");t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},"55dd":function(t,e,o){"use strict";var r=o("5ca1"),a=o("d8e8"),n=o("4bf8"),s=o("79e5"),c=[].sort,i=[1,2,3];r(r.P+r.F*(s(function(){i.sort(void 0)})||!s(function(){i.sort(null)})||!o("2f21")(c)),"Array",{sort:function(t){return void 0===t?c.call(n(this)):c.call(n(this),a(t))}})},e531:function(t,e,o){"use strict";o.r(e);var r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"classificationOfDishes"},[o("a-button",{staticStyle:{"margin-bottom":"20px"},attrs:{type:"primary"},on:{click:function(e){return t.showModal(1)}}},[t._v("添加分类")]),o("a-table",{attrs:{columns:t.columns,dataSource:t.dataSource,rowKey:"productCategoryId",pagination:t.pagination},scopedSlots:t._u([{key:"isDisplay",fn:function(e){return o("span",{},["DISPLAY"===e?o("a-badge",{attrs:{status:"success",text:"已显示"}}):"HIDDEN"===e?o("a-badge",{attrs:{status:"error",text:"已隐藏"}}):t._e()],1)}},{key:"action",fn:function(e,r,a){return o("span",{},[o("a",{staticStyle:{"margin-right":"8px"},attrs:{href:"javascript:;"},on:{click:function(e){return t.showModal(2,r)}}},[t._v("修改")]),o("a",{attrs:{href:"javascript:;"},on:{click:function(e){return t.showConfirm(r,a)}}},[t._v(t._s("DISPLAY"===r.isDisplay?"隐藏":"显示"))])])}}])},[o("span",{attrs:{slot:"productCategoryName"},slot:"productCategoryName"}),o("span",{attrs:{slot:"sort"},slot:"sort"})]),o("a-modal",{attrs:{title:"增加分类",visible:t.visible,confirmLoading:t.confirmLoading},on:{ok:t.saveProductCategory,cancel:t.handleCancel}},[o("div",{staticClass:"item"},[o("label",[t._v("分类名称:")]),o("a-input",{attrs:{placeholder:"请输入分类名称"},model:{value:t.productCategoryName,callback:function(e){t.productCategoryName=e},expression:"productCategoryName"}})],1),o("div",{staticClass:"item"},[o("label",[t._v("排序值:")]),o("a-input",{attrs:{placeholder:"排序值为正整数"},model:{value:t.sort,callback:function(e){t.sort=e},expression:"sort"}})],1)])],1)},a=[],n=(o("55dd"),o("0d5e")),s={name:"classificationOfDishes",data:function(){return{columns:[{title:"菜品类别",dataIndex:"productCategoryName"},{title:"排序值",dataIndex:"sort"},{title:"状态",dataIndex:"isDisplay",scopedSlots:{customRender:"isDisplay"}},{title:"操作",key:"action",scopedSlots:{customRender:"action"}}],productCategoryName:"",sort:"",dataSource:[],visible:!1,modelType:1,modelSource:"",confirmLoading:!1,pagination:{current:1,defaultCurrent:1,defaultPageSize:1e3,hideOnSinglePage:!0,total:0}}},created:function(){this.getProductCategoryList()},methods:{getProductCategoryList:function(){var t=this;n["a"].post("/mingpay/v1/isv/product/list_product_category").then(function(e){0===e.data.resultCode&&(t.dataSource=e.data.data)})},changeItem:function(){var t=this;this.confirmLoading=!0;var e={productCategoryId:this.modelSource.productCategoryId,productCategoryName:this.productCategoryName,sort:this.sort};n["a"].post("/mingpay/v1/isv/product/update_product_category",e).then(function(e){0===e.data.resultCode?(t.visible=!1,t.confirmLoading=!1,t.sort="",t.productCategoryName="",t.getProductCategoryList(),t.$message.success("操作成功")):t.$message.error("操作失败")}).catch(function(){t.$message.error("操作失败"),t.confirmLoading=!1})},showConfirm:function(t,e){var o,r,a=this;"DISPLAY"===t.isDisplay?(o="确认要隐藏该菜品分类吗?",r="隐藏后该分类下的所有菜品设备端都不可见"):(o="确认显示该分类吗?",r="显示后该分类下菜品可正常使用"),this.$confirm({title:o,content:r,onOk:function(){a.changeData(t,e)},onCancel:function(){}})},changeData:function(t,e){var o=this,r={productCategoryId:this.categoryName,sort:this.sort};r="DISPLAY"===t.isDisplay?{productCategoryId:t.productCategoryId,isDisplay:"HIDDEN"}:{productCategoryId:t.productCategoryId,isDisplay:"DISPLAY"},n["a"].post("/mingpay/v1/isv/product/update_product_category_status",r).then(function(t){0===t.data.resultCode?(o.sort="",o.productCategoryName="",o.getProductCategoryList(),o.$message.success("操作成功")):o.$message.error("操作失败")}).catch(function(){o.$message.error("操作失败"),o.confirmLoading=!1})},showModal:function(t,e){this.modelSource=e,this.modelType=t,this.visible=!0,2===t&&(this.productCategoryName=e.productCategoryName,this.sort=e.sort)},saveProductCategory:function(){var t=this;if(!/^[0-9]*$/.test(this.sort))return this.$message.error("排序值为正整数"),!1;if(""===this.productCategoryName)this.$message.error("分类名称不能为空");else if(""===this.sort)this.$message.error("排序值不能为空");else{if(2===this.modelType)return void this.changeItem();this.confirmLoading=!0;var e={productCategoryName:this.productCategoryName,sort:parseInt(this.sort)};n["a"].post("/mingpay/v1/isv/product/save_product_category",e).then(function(e){0===e.data.resultCode?(t.visible=!1,t.confirmLoading=!1,t.sort="",t.productCategoryName="",t.getProductCategoryList(),t.$message.success("操作成功")):t.$message.error("操作失败")}).catch(function(){t.$message.error("操作失败"),t.confirmLoading=!1})}},handleCancel:function(t){this.visible=!1,this.sort="",this.productCategoryName=""}}},c=s,i=(o("ed7d"),o("2877")),u=Object(i["a"])(c,r,a,!1,null,"25169686",null);e["default"]=u.exports},ed7d:function(t,e,o){"use strict";var r=o("2512"),a=o.n(r);a.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6cec962d"],{"0d5e":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var a,o=n("7f43"),r=n.n(o),i=n("4328"),c=n.n(i),s=n("9f82"),u=n("f64c"),d="https://gateway-beta.mingwork.com";r.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),t):new Promise(function(t,e){Object(s["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return a.close(),Promise.reject(t)}),r.a.interceptors.response.use(function(t){return Promise.resolve(t)},function(t){return new Promise(function(e,n){if(console.log(t),t&&t.response)switch(t.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(n){console.log("refreshToken1",n),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(n){e(t)});break;case 504:u["a"].error("系统异常"),e(t);break;case 500:u["a"].error("系统繁忙"),e(t);break;default:u["a"].error("未知问题"),e(t),n(new Error(t))}else u["a"].error("未知问题"),e(t)})});var l={post:function(t,e){return new Promise(function(n,a){var o=void 0===e?"":e;r.a.post("".concat(d).concat(t),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(t){return n(t)})})},get:function(t,e){return new Promise(function(n,a){var o=void 0===e?"":c.a.stringify(e);r.a.get("".concat(d).concat(t,"?").concat(o)).then(function(t){return n(t)})})},delete:function(t,e){return new Promise(function(n,a){var o=void 0===e?"":c.a.stringify(e);r.a.delete("".concat(d).concat(t,"?").concat(o)).then(function(t){return n(t)})})}}},"336c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAARtJREFUOBG1krFqwlAUhr0iZLIoDnV1E1EHEUToUFydJH2H7kUQXJ2dfAFH8RXEVXAQHNSp1NmIVl1aHYxfpEKu8ZoQ6YEvyf3Pf/7cXBII/EeZppmCTyj5zmc4DQsYQ8RXEIMZMP5CYn5DsgQsHwqx3kzAHLzWEeMK+qDbdy4QPhCaMIOWvXnjWaAloAgv0IV3IcSG+3lXVQKtapwFDxe8OqyhI9kR/IS9MWdVRRX2KjXuLAgZQM9hQSyA5mgoBLxNMELXfQ5ueK25rHf0taCLyUs7h+nLi1Hp4ZOS8AN1pcmtwXAcRjABzXFGiGFCnhRB9h+yhucXypzrXvITEoQNuNUBQxuilwDrDVLRzCM8S6K8+GY5ZRdbu3wC8ygamHQCIbQAAAAASUVORK5CYII="},"99ef":function(t,e,n){},b2ca:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"viewAllowances"},[a("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.back()}}},[a("img",{staticStyle:{"margin-top":"-4px","margin-right":"6px",width:"14px"},attrs:{src:n("336c")}}),t._v("返回")]),a("div",{staticClass:"title"},[t._v("查看津贴")]),a("a-table",{attrs:{columns:t.columns,dataSource:t.subsidyList,size:"default",rowKey:"couponId",pagination:t.pagination},on:{change:t.handleTableChange},scopedSlots:t._u([{key:"type",fn:function(e){return a("span",{},[t._v("\n "+t._s("TRAVEL"===e?"交通补贴":"餐补")+"\n ")])}}])},[a("span",{attrs:{slot:"initialAmount"},slot:"initialAmount"},[t._v("发放金额")]),t._v(">\n "),a("span",{attrs:{slot:"residueAmount"},slot:"residueAmount"},[t._v("余额")]),a("span",{attrs:{slot:"endTime"},slot:"endTime"}),a("span",{attrs:{slot:"createTime"},slot:"createTime"})])],1)},o=[],r=n("0d5e"),i={name:"viewAllowances",data:function(){return{ddUserId:"",columns:[{title:"津贴类型",dataIndex:"type",scopedSlots:{customRender:"type"}},{title:"发放金额",dataIndex:"initialAmount"},{title:"余额",dataIndex:"residueAmount"},{title:"截止日期",dataIndex:"endTime"},{title:"创建日期",dataIndex:"createTime"}],pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},subsidyList:[]}},watch:{},computed:{},created:function(){this.ddUserId=this.$route.params.ddUserId,this.querySubsidyList()},methods:{querySubsidyList:function(){var t=this,e={ddUserId:this.ddUserId,currentPage:this.pagination.current,pageNumber:this.pagination.defaultPageSize};r["a"].get("/mingpay/v1/isv/account/query_subsidyList_by_user_id",e).then(function(e){var n=e.data.data;t.subsidyList=n.recordList,t.pagination.total=parseInt(n.totalCount)})},timeToStr:function(t){var e=new Date(parseInt(t)),n=e.getFullYear(),a=e.getMonth()+1,o=e.getDate();e.getHours(),e.getMinutes();return"".concat(n,"年").concat(a,"月").concat(o,"日")},handleTableChange:function(t,e,n){this.pagination.current=t.current,this.querySubsidyList()},back:function(){this.$router.go(-1)}}},c=i,s=(n("f2a3"),n("2877")),u=Object(s["a"])(c,a,o,!1,null,"899e23be",null);e["default"]=u.exports},f2a3:function(t,e,n){"use strict";var a=n("99ef"),o=n.n(a);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7026f433"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n,r=a("7f43"),s=a.n(r),o=a("4328"),c=a.n(o),i=a("9f82"),u=a("f64c"),l="https://gateway-beta.mingwork.com";s.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(i["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return n.close(),Promise.reject(e)}),s.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:u["a"].error("网络异常请重试"),Object(i["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:u["a"].error("网络异常请重试"),Object(i["a"])().then(function(a){t(e)});break;case 504:u["a"].error("系统异常"),t(e);break;case 500:u["a"].error("系统繁忙"),t(e);break;default:u["a"].error("未知问题"),t(e),a(new Error(e))}else u["a"].error("未知问题"),t(e)})});var d={post:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":t;s.a.post("".concat(l).concat(e),r,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":c.a.stringify(t);s.a.get("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})},delete:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":c.a.stringify(t);s.a.delete("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})}}},2957:function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return r}),a.d(t,"c",function(){return s}),a.d(t,"d",function(){return o});var n={ACTIVE:"ACTIVE",UNACTIVE:"UNACTIVE",LOG_OFF:"LOG_OFF",WITHDRAW:"WITHDRAW",SETTLEMENT:"SETTLEMENT"},r={WAITING_PERMIT:"WAITING_PERMIT",SUCCESS:"SUCCESS",FAILED:"FAILED",WAITING_PAYMENT:"WAITING_PAYMENT"},s={SUCCESS:"SUCCESS",WAITING_PERMIT:"WAITING_PERMIT",REFUND_SUCCESS:"REFUND_SUCCESS"},o={SUCCESS:"SUCCESS",WAITING_PERMIT:"WAITING_PERMIT",REFUSE_PERMIT:"REFUSE_PERMIT"}},"3b5e":function(e,t,a){"use strict";var n=a("df09"),r=a.n(n);r.a},"4be4":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"RechargeRecord"},[a("div",{staticClass:"searchBox"},[a("div",{staticClass:"choosePeople",staticStyle:{width:"120px"},on:{click:e.choosePeople}},[e._v("选择成员")]),a("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"经办人",allowClear:!0},on:{change:e.selectAgent}},e._l(e.agentList,function(t,n){return a("a-select-option",{key:n,attrs:{value:t.ddUserId}},[e._v(e._s(t.name))])}),1),a("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"状态",allowClear:!0},on:{change:e.selectHandlestatus}},[a("a-select-option",{attrs:{value:"SUCCESS"}},[e._v("已完成")]),a("a-select-option",{attrs:{value:"WAITING_PERMIT"}},[e._v("审批中")]),a("a-select-option",{attrs:{value:"FAILED"}},[e._v("审批未通过")])],1),a("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.search()}}},[e._v("查询")])],1),e.searchSource.UserMessage.emplId?a("div",{staticClass:"searchUserMessage"},[a("div",{staticClass:"positionDiv"}),a("div",{staticClass:"clearUserMessage"},[a("a",{attrs:{href:"javascript:;"},on:{click:e.clearUserMessage}},[e._v("清除")])]),a("div",{staticClass:"userListBox"},[a("div",[e.searchSource.UserMessage.avatar?a("img",{attrs:{src:e.searchSource.UserMessage.avatar,alt:e.searchSource.UserMessage.name}}):a("img",{attrs:{src:this.avatarCanvasFn(e.searchSource.UserMessage.name),alt:e.searchSource.UserMessage.name}}),a("span",[e._v(e._s(e.searchSource.UserMessage.name))])])])]):e._e(),a("a-table",{attrs:{columns:e.columns,dataSource:e.chargeList,pagination:e.pagination,rowKey:"orderNo"},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"departmentNameList",fn:function(t,n){return a("span",{},[t&&t.length>0?a("div",e._l(t,function(t,r){return a("a-popover",{key:r},[a("template",{slot:"content"},[a("p",[e._v(e._s(n.parentSysDeptNameList[r]))])]),a("span",{staticClass:"deptModel"},[e._v(e._s(t))])],2)}),1):e._e()])}},{key:"agent",fn:function(t,n){return a("span",{},[e._v("\n "+e._s(""===t&&"EXTERNAL_ALI_RECHAGE"===n.payTypeCode?"支付宝自充":t)+"\n ")])}},{key:"orderStatus",fn:function(t){return a("span",{},[t===e.MINGPAY_CHARGE_ORDERSTATUS.WAITING_PERMIT?a("a-badge",{attrs:{status:"processing",text:"审批中"}}):t===e.MINGPAY_CHARGE_ORDERSTATUS.SUCCESS?a("a-badge",{attrs:{status:"success",text:"已完成"}}):t===e.MINGPAY_CHARGE_ORDERSTATUS.FAILED?a("a-badge",{attrs:{status:"error",text:"审批未通过"}}):e._e()],1)}}])},[a("span",{attrs:{slot:"userName"},slot:"userName"},[e._v("姓名")]),a("span",{attrs:{slot:"chargeAmount"},slot:"chargeAmount"}),a("span",{attrs:{slot:"createTime"},slot:"createTime"},[e._v("时间")]),a("span",{attrs:{slot:"remark"},slot:"remark"},[e._v("备注")])])],1)},r=[],s=a("da71"),o=a("0d5e"),c=a("2957"),i={name:"accountManagement",components:{},data:function(){return{MINGPAY_CHARGE_ORDERSTATUS:c["b"],data:[],columns:[{title:"成员",dataIndex:"userName"},{title:"部门",dataIndex:"departmentNameList",scopedSlots:{customRender:"departmentNameList"},width:"15%"},{title:"充值金额",dataIndex:"chargeAmount"},{title:"经办人",dataIndex:"agent",scopedSlots:{customRender:"agent"}},{title:"状态",dataIndex:"orderStatus",scopedSlots:{customRender:"orderStatus"}},{title:"时间",dataIndex:"createTime"},{title:"备注",dataIndex:"remark",width:"12%"}],pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},chargeList:[],searchSource:{UserMessage:{avatar:"",emplId:"",name:""},status:"",agentId:""},agentList:[]}},watch:{},computed:{},created:function(){this.queryRechargeList(),this.getAgentList()},methods:{getAgentList:function(){var e=this,t={userType:"1"};o["a"].get("/mingpay/v1/isv/cashier/list_cashier_all",t).then(function(t){e.agentList=t.data.data})},choosePeople:function(){var e=this,t=this;s["a"].ddready("ddchooseOne").then(function(a){e.searchSource.UserMessage=a[0],t.queryRechargeList()})},clearUserMessage:function(){this.searchSource.UserMessage={avatar:"",emplId:"",name:""}},avatarCanvasFn:function(e){var t=document.createElement("canvas"),a=t.getContext("2d"),n=this.getPixelRatio(a);return t.style.width="40px",t.style.height="40px",t.width=40*n,t.height=40*n,a.scale(n,n),a.fillStyle="#1890ff",a.fillRect(0,0,40,40),a.fillStyle="#ffffff",a.font="12px Arial",a.textAlign="center",a.fillText(e,20,25),t.toDataURL()},getPixelRatio:function(e){var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},selectHandlestatus:function(e){this.searchSource.status=e},selectAgent:function(e){this.searchSource.agentId=e},queryRechargeList:function(){var e=this,t={pageNumber:10,currentPage:this.pagination.current,agentId:this.searchSource.agentId,status:this.searchSource.status,ddUserId:this.searchSource.UserMessage.emplId};o["a"].get("/mingpay/v1/isv/charge/list_charge",t).then(function(t){var a=t.data.data;e.pagination.total=parseInt(a.totalCount),e.chargeList=a.recordList})},handleTableChange:function(e,t,a){this.pagination.current=e.current,this.queryRechargeList()},departmentNameListToStr:function(e){var t="";return 0!==e.length&&e.map(function(e){t="".concat(t).concat(e,",")}),t=t.substring(0,t.length-1),t},search:function(){this.pagination.current=1,this.queryRechargeList()}},mounted:function(){}},u=i,l=(a("3b5e"),a("2877")),d=Object(l["a"])(u,n,r,!1,null,"2dcdf518",null);t["default"]=d.exports},df09:function(e,t,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7193f09a"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n,o=a("7f43"),r=a.n(o),c=a("4328"),i=a.n(c),s=a("9f82"),u=a("f64c"),l="https://gateway-beta.mingwork.com";r.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(s["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return n.close(),Promise.reject(e)}),r.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(a){t(e)});break;case 504:u["a"].error("系统异常"),t(e);break;case 500:u["a"].error("系统繁忙"),t(e);break;default:u["a"].error("未知问题"),t(e),a(new Error(e))}else u["a"].error("未知问题"),t(e)})});var d={post:function(e,t){return new Promise(function(a,n){var o=void 0===t?"":t;r.a.post("".concat(l).concat(e),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,n){var o=void 0===t?"":i.a.stringify(t);r.a.get("".concat(l).concat(e,"?").concat(o)).then(function(e){return a(e)})})},delete:function(e,t){return new Promise(function(a,n){var o=void 0===t?"":i.a.stringify(t);r.a.delete("".concat(l).concat(e,"?").concat(o)).then(function(e){return a(e)})})}}},"2aad":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"historicalVisitors"},[a("div",{staticClass:"searchBox"},[a("a-input",{staticStyle:{width:"120px"},attrs:{placeholder:"访客人员"},model:{value:e.visitorName,callback:function(t){e.visitorName=t},expression:"visitorName"}}),a("a-input",{staticStyle:{width:"120px"},attrs:{placeholder:"被访人"},model:{value:e.byVisitorName,callback:function(t){e.byVisitorName=t},expression:"byVisitorName"}}),a("a-date-picker",{attrs:{disabledDate:e.disabledStartDate,format:"YYYY-MM-DD",placeholder:"开始日期"},on:{change:e.onChangeStartValue,openChange:e.handleStartOpenChange},model:{value:e.startValue,callback:function(t){e.startValue=t},expression:"startValue"}}),e._v("\n ~\n "),a("a-date-picker",{attrs:{disabledDate:e.disabledEndDate,format:"YYYY-MM-DD",placeholder:"结束日期",open:e.endOpen},on:{change:e.onChangeEndValue,openChange:e.handleEndOpenChange},model:{value:e.endValue,callback:function(t){e.endValue=t},expression:"endValue"}}),a("a-button",{attrs:{type:"primary"},on:{click:e.getStatisticalProductPage}},[e._v("查询")])],1)])},o=[],r=(a("6b54"),a("0d5e")),c=a("c1df"),i=a.n(c),s={name:"historicalVisitors",data:function(){return{startTime:"",endTime:"",visitorName:"",byVisitorName:"",startValue:null,endValue:null,endOpen:!1,pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"产品图",dataIndex:"productIcon",scopedSlots:{customRender:"productIcon"}},{title:"菜名",dataIndex:"productName"},{title:"售出(份数)",dataIndex:"productStatisticalQuantity"}],dataSource:[]}},created:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1,n=new Date(t,a,0).getDate().toString().length>1?new Date(t,a,0).getDate():"0"+new Date(t,a,0).getDate();this.startTime="".concat(t,"-").concat(a.toString().length>1?a:"0"+a,"-01"),this.endTime="".concat(t,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),this.startValue=this.moment("".concat(t,"-").concat(a.toString().length>1?a:"0"+a,"-01"),"YYYY-MM-DD"),this.endValue=this.moment("".concat(t,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),"YYYY-MM-DD"),this.queryRecordList()},methods:{moment:i.a,disabledStartDate:function(e){var t=this.endValue;return!(!e||!t)&&(e.valueOf()>t.valueOf()||e.valueOf()>=i()().endOf("day").valueOf())},disabledEndDate:function(e){var t=this.startValue;return!(!e||!t)&&(t.valueOf()>e.valueOf()||e.valueOf()>i()().endOf("day").valueOf())},handleStartOpenChange:function(e){e||(this.endOpen=!0)},handleEndOpenChange:function(e){this.endOpen=e},onChangeStartValue:function(e,t){this.startTime=t},onChangeEndValue:function(e,t){this.endTime=t},queryRecordList:function(){var e=this,t={startTime:"".concat(this.startTime," 00:00:00"),endTime:"".concat(this.endTime," 23:59:59"),pageNumber:10,currentPage:this.pagination.current};r["a"].post("/admin/visitor/queryRecordList",t).then(function(t){0===t.data.resultCode?(e.dataSource=t.data.data.list,e.pagination.total=t.data.data.total):e.$message.error(t.data.message)})},handleTableChange:function(e,t,a){this.pagination.current=e.current,this.queryRecordList()}}},u=s,l=(a("c530"),a("2877")),d=Object(l["a"])(u,n,o,!1,null,"3880ae31",null);t["default"]=d.exports},3846:function(e,t,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"6b54":function(e,t,a){"use strict";a("3846");var n=a("cb7c"),o=a("0bfb"),r=a("9e1e"),c="toString",i=/./[c],s=function(e){a("2aba")(RegExp.prototype,c,e,!0)};a("79e5")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?s(function(){var e=n(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof RegExp?o.call(e):void 0)}):i.name!=c&&s(function(){return i.call(this)})},"9d31":function(e,t,a){},c530:function(e,t,a){"use strict";var n=a("9d31"),o=a.n(n);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b788ccac"],{"0d5e":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var a,o=n("7f43"),r=n.n(o),c=n("4328"),i=n.n(c),s=n("9f82"),u=n("f64c"),l="https://gateway-beta.mingwork.com";r.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(s["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return a.close(),Promise.reject(e)}),r.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,n){if(console.log(e),e&&e.response)switch(e.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(n){console.log("refreshToken1",n),t(e)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(n){t(e)});break;case 504:u["a"].error("系统异常"),t(e);break;case 500:u["a"].error("系统繁忙"),t(e);break;default:u["a"].error("未知问题"),t(e),n(new Error(e))}else u["a"].error("未知问题"),t(e)})});var d={post:function(e,t){return new Promise(function(n,a){var o=void 0===t?"":t;r.a.post("".concat(l).concat(e),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return n(e)})})},get:function(e,t){return new Promise(function(n,a){var o=void 0===t?"":i.a.stringify(t);r.a.get("".concat(l).concat(e,"?").concat(o)).then(function(e){return n(e)})})},delete:function(e,t){return new Promise(function(n,a){var o=void 0===t?"":i.a.stringify(t);r.a.delete("".concat(l).concat(e,"?").concat(o)).then(function(e){return n(e)})})}}},8607:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"OperationLog"},[n("a-table",{attrs:{columns:e.columns,dataSource:e.logData,size:"default",rowKey:"id",pagination:e.pagination},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"createBy",fn:function(t){return n("span",{},[e._v("\n "+e._s(t||"系统操作")+"\n ")])}}])},[n("span",{attrs:{slot:"title"},slot:"title"}),n("span",{attrs:{slot:"remoteAddr"},slot:"remoteAddr"}),n("span",{attrs:{slot:"createTime"},slot:"createTime"})])],1)},o=[],r=(n("da71"),n("0d5e")),c={name:"operationLog",data:function(){return{pagination:{current:1,defaultCurrent:1,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"日志类型",dataIndex:"title"},{title:"操作人",dataIndex:"createBy",scopedSlots:{customRender:"createBy"}},{title:"IP地址",dataIndex:"remoteAddr"},{title:"操作时间",dataIndex:"createTime"}],logData:[]}},created:function(){this.queryLog()},methods:{queryLog:function(){var e=this,t={desc:"create_time",serviceId:"mingpay-web",current:this.pagination.current,size:this.pagination.defaultPageSize};r["a"].get("/mingpay/v1/log/query",t).then(function(t){0===t.data.resultCode?(e.pagination.total=t.data.data.total,e.logData=t.data.data.records):e.$message.error("获取日志信息失败")}).catch(function(){e.$message.error("获取日志信息失败")})},handleTableChange:function(e,t,n){this.pagination.current=e.current,this.queryLog()}}},i=c,s=n("2877"),u=Object(s["a"])(i,a,o,!1,null,"00dd4e3a",null);t["default"]=u.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d04df21a"],{"8ac4":function(n,e,t){n.exports=t.p+"img/noPrremission.c29f9e8f.png"},"92fe":function(n,e,t){},e850:function(n,e,t){"use strict";var c=t("92fe"),i=t.n(c);i.a},f186:function(n,e,t){"use strict";t.r(e);var c=function(){var n=this,e=n.$createElement;n._self._c;return n._m(0)},i=[function(){var n=this,e=n.$createElement,c=n._self._c||e;return c("div",{staticClass:"noPermission"},[c("div",[c("img",{attrs:{src:t("8ac4")}})]),c("div",[n._v("抱歉,您无访问权限")])])}],o={name:"noPermission",components:{},data:function(){return{}},watch:{},created:function(){},computed:{},methods:{},mounted:function(){}},s=o,r=(t("e850"),t("2877")),a=Object(r["a"])(s,c,i,!1,null,"eb47be4e",null);e["default"]=a.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d6bbfb78"],{"0aa2":function(e,t,a){"use strict";var s=a("ff40"),r=a.n(s);r.a},"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var s,r=a("7f43"),i=a.n(r),o=a("4328"),n=a.n(o),d=a("9f82"),c=a("f64c"),l="https://gateway-beta.mingwork.com";i.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(d["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return s.close(),Promise.reject(e)}),i.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:c["a"].error("网络异常请重试"),Object(d["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:c["a"].error("网络异常请重试"),Object(d["a"])().then(function(a){t(e)});break;case 504:c["a"].error("系统异常"),t(e);break;case 500:c["a"].error("系统繁忙"),t(e);break;default:c["a"].error("未知问题"),t(e),a(new Error(e))}else c["a"].error("未知问题"),t(e)})});var u={post:function(e,t){return new Promise(function(a,s){var r=void 0===t?"":t;i.a.post("".concat(l).concat(e),r,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,s){var r=void 0===t?"":n.a.stringify(t);i.a.get("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})},delete:function(e,t){return new Promise(function(a,s){var r=void 0===t?"":n.a.stringify(t);i.a.delete("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})}}},"2b08":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"visitorSetting"},[a("div",{staticClass:"title"},[e._v("新增到访目的")]),a("div",{staticClass:"purposeList"},[a("a-input",{staticStyle:{width:"320px","margin-right":"20px"},attrs:{placeholder:"请输入来访目的"},model:{value:e.addtags,callback:function(t){e.addtags=t},expression:"addtags"}}),a("a-button",{attrs:{type:"primary"},on:{click:e.savePurpose}},[e._v("保存")]),a("div",{staticClass:"purposeListContent"},[e._l(e.tagsData,function(t){return[a("a-tag",{key:t.visitPurposeId,attrs:{closable:"0"!==t.orgId,afterClose:function(){return e.handleClose(t.visitPurposeId)}}},[e._v("\n "+e._s(t.visitPurpose)+"\n ")])]})],2)],1),e._m(0),a("a-form",{staticStyle:{padding:"20px 20px"},attrs:{form:e.form}},[a("a-form-item",{attrs:{"label-col":e.formItemLayout.labelCol,"wrapper-col":e.formItemLayout.wrapperCol,label:"所在地区"}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["address",{rules:[{required:!0,message:"请填写省/市/街道"}]}],expression:"[\n 'address',\n { rules: [{ required: true, message: '请填写省/市/街道' }] },\n ]"}],attrs:{placeholder:"请填写省/市/街道"}})],1),a("a-form-item",{attrs:{"label-col":e.formItemLayout.labelCol,"wrapper-col":e.formItemLayout.wrapperCol,label:"地址信息"}},[a("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["addressDetail",{rules:[{required:!0,message:"请输入详细地址信息,如道路、楼栋号、单位、门牌号等"}]}],expression:"[\n 'addressDetail',\n { rules: [{ required: true, message: '请输入详细地址信息,如道路、楼栋号、单位、门牌号等' }] },\n ]"}],attrs:{placeholder:"请输入详细地址信息,如道路、楼栋号、单位、门牌号等"}})],1),a("a-form-item",{attrs:{"label-col":e.formTailLayout.labelCol,"wrapper-col":e.formTailLayout.wrapperCol}},[a("a-checkbox",{attrs:{checked:e.checkNick},on:{change:e.handleChange}},[e._v("\n 设置为默认到访地址\n ")])],1),a("a-form-item",{attrs:{"label-col":e.formTailLayout.labelCol,"wrapper-col":e.formTailLayout.wrapperCol}},[a("a-button",{attrs:{type:"primary"},on:{click:e.check}},[e._v("\n 保存\n ")])],1)],1),a("a-table",{attrs:{columns:e.columns,dataSource:e.addressList,size:"default",rowKey:"addressId",pagination:e.pagination},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"action",fn:function(t,s){return a("span",{staticClass:"operationTable"},[a("a",{staticStyle:{"margin-right":"10px"},on:{click:function(t){return e.showModal(s)}}},[e._v("修改")]),a("a",{staticStyle:{"margin-right":"10px"},on:{click:function(t){return e.deleteAddress(s.addressId)}}},[e._v("删除")]),"1"==s.isDefault?a("a",{on:{click:function(t){return e.setDefaultAddress(s.addressId)}}},[e._v("设为默认地址")]):a("a",{staticStyle:{color:"#e93f33"}},[e._v("默认地址")])])}}])},[a("span",{attrs:{slot:"address"},slot:"address"}),a("span",{attrs:{slot:"addressDetail"},slot:"addressDetail"})]),a("a-modal",{attrs:{title:"修改地址"},on:{ok:function(t){return e.changeAddress()}},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("a-form",{attrs:{form:e.addressForm}},[a("a-form-item",{attrs:{label:"所在地区","label-col":{span:5},"wrapper-col":{span:12}}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["address",{rules:[{required:!0,message:"所在地区不能为空"}]}],expression:"['address',{rules: [{required: true, message: '所在地区不能为空'}]}]"}]})],1),a("a-form-item",{attrs:{label:"地址信息","label-col":{span:5},"wrapper-col":{span:12}}},[a("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["addressDetail",{rules:[{required:!0,message:"地址信息不能为空"}]}],expression:"['addressDetail', {rules: [{ required: true, message: '地址信息不能为空' }]}]"}]})],1)],1)],1)],1)},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"title"},[e._v("新增到访地址"),a("span",[e._v("最多可保存十条")])])}],i=a("0d5e"),o={labelCol:{span:3},wrapperCol:{span:8}},n={labelCol:{span:3},wrapperCol:{span:8,offset:3}},d={name:"visitorSetting",data:function(){return{checkNick:!1,visible:!1,formItemLayout:o,formTailLayout:n,selectListId:"",form:this.$form.createForm(this,{name:"dynamic_rule"}),addressForm:this.$form.createForm(this),addtags:"",tagsData:[],columns:[{title:"所在地区",dataIndex:"address"},{title:"详细地址",dataIndex:"addressDetail"},{title:"操作",dataIndex:"action",scopedSlots:{customRender:"action"}}],addressList:[],pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:10}}},watch:{},computed:{},created:function(){this.queryVisitPurposeList(),this.queryAddressList()},methods:{savePurpose:function(){var e=this,t=this.tagsData,a=this;if(this.addtags&&-1===t.indexOf(this.addtags)){var s={visitPurpose:this.addtags};i["a"].post("/admin/visit-purpose/save",s).then(function(t){0===t.data.code&&(e.form.resetFields(),a.queryVisitPurposeList(),a.addtags="")})}},handleTableChange:function(e,t,a){this.pagination.current=e.current,this.queryAccountList()},queryAddressList:function(){var e=this;i["a"].get("/admin/address/list").then(function(t){0===t.data.code&&(e.addressList=t.data.data)})},handleClose:function(e){var t=this,a={purposeId:e};i["a"].delete("/admin/visit-purpose/remove",a).then(function(e){0===e.data.code&&t.queryVisitPurposeList()})},changeAddress:function(){var e=this;if(this.addressForm.getFieldsValue().address)if(this.addressForm.getFieldsValue().addressDetail){this.visible=!1;var t={address:this.addressForm.getFieldsValue().address,addressDetail:this.addressForm.getFieldsValue().addressDetail,addressId:this.selectListId};i["a"].post("/admin/address/update",t).then(function(t){0===t.data.code&&(e.addressForm.resetFields(),e.queryAddressList())})}else this.$message.error("地址信息不能为空");else this.$message.error("所在地区不能为空")},setDefaultAddress:function(e){var t=this,a={addressId:e,isDefault:"0"};i["a"].post("/admin/address/update",a).then(function(e){0===e.data.code&&t.queryAddressList()})},deleteAddress:function(e){var t=this,a={addressId:e};i["a"].delete("/admin/address/remove",a).then(function(e){0===e.data.code&&t.queryAddressList()})},queryVisitPurposeList:function(){var e=this;i["a"].post("/admin/visit-purpose/list").then(function(t){0===t.data.code&&(e.tagsData=t.data.data)})},check:function(){var e=this;this.form.validateFields(function(t){if(!t){var a={address:e.form.getFieldsValue().address,addressDetail:e.form.getFieldsValue().addressDetail,isDefault:e.checkNick?"0":"1"};i["a"].post("/admin/address/save",a).then(function(t){0===t.data.code&&(e.checkNick=!1,e.queryAddressList())})}})},handleChange:function(e){var t=this;this.checkNick=e.target.checked,this.$nextTick(function(){t.form.validateFields(["nickname"],{force:!0})})},showModal:function(e){var t=this;this.visible=!0,this.selectListId=e.addressId,setTimeout(function(){t.addressForm.setFieldsValue({address:e.address,addressDetail:e.addressDetail})},100)}}},c=d,l=(a("0aa2"),a("2877")),u=Object(l["a"])(c,s,r,!1,null,"5a811186",null);t["default"]=u.exports},ff40:function(e,t,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dd9fcb10"],{"19de":function(t,n,a){"use strict";var e=a("ad85"),c=a.n(e);c.a},"63f0":function(t,n,a){"use strict";a.r(n);var e=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"Dashboard"},[e("a-layout",{staticClass:"content",staticStyle:{padding:"24px 0",background:"#fff","min-height":"calc(100vh - 149px)"}},[e("div",[e("img",{attrs:{src:a("c96d")}})]),e("div",[t._v("欢迎您进入mingwork管理后台")])])],1)},c=[],o={name:"dashboard",components:{},data:function(){return{}},watch:{},computed:{},methods:{},mounted:function(){}},d=o,i=(a("19de"),a("2877")),s=Object(i["a"])(d,e,c,!1,null,"6eeff510",null);n["default"]=s.exports},ad85:function(t,n,a){},c96d:function(t,n,a){t.exports=a.p+"img/Welcome.8b96ea3e.png"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-edd53178"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var r,s=a("7f43"),n=a.n(s),o=a("4328"),i=a.n(o),c=a("9f82"),l=a("f64c"),u="https://gateway-beta.mingwork.com";n.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(c["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return r.close(),Promise.reject(e)}),n.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:l["a"].error("网络异常请重试"),Object(c["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:l["a"].error("网络异常请重试"),Object(c["a"])().then(function(a){t(e)});break;case 504:l["a"].error("系统异常"),t(e);break;case 500:l["a"].error("系统繁忙"),t(e);break;default:l["a"].error("未知问题"),t(e),a(new Error(e))}else l["a"].error("未知问题"),t(e)})});var d={post:function(e,t){return new Promise(function(a,r){var s=void 0===t?"":t;n.a.post("".concat(u).concat(e),s,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,r){var s=void 0===t?"":i.a.stringify(t);n.a.get("".concat(u).concat(e,"?").concat(s)).then(function(e){return a(e)})})},delete:function(e,t){return new Promise(function(a,r){var s=void 0===t?"":i.a.stringify(t);n.a.delete("".concat(u).concat(e,"?").concat(s)).then(function(e){return a(e)})})}}},"776a":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"consumptionOrder"},[a("div",{staticClass:"searchBox"},[a("div",{staticClass:"choosePeople",staticStyle:{width:"120px"},on:{click:e.choosePeople}},[e._v("选择消费人")]),a("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"经办人",allowClear:!0},on:{change:e.selectAgent}},e._l(e.agentList,function(t,r){return a("a-select-option",{key:r,attrs:{value:t.ddUserId}},[e._v(e._s(t.name))])}),1),a("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"状态",allowClear:!0},on:{change:e.selectHandlestatus}},[a("a-select-option",{attrs:{value:"SUCCESS"}},[e._v("已消费")]),a("a-select-option",{attrs:{value:"REFUND_SUCCESS"}},[e._v("已退款")])],1),a("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.search()}}},[e._v("查询")])],1),e.searchSource.UserMessage.emplId?a("div",{staticClass:"searchUserMessage"},[a("div",{staticClass:"positionDiv"}),a("div",{staticClass:"clearUserMessage"},[a("a",{attrs:{href:"javascript:;"},on:{click:e.clearUserMessage}},[e._v("清除")])]),a("div",{staticClass:"userListBox"},[a("div",[e.searchSource.UserMessage.avatar?a("img",{attrs:{src:e.searchSource.UserMessage.avatar,alt:e.searchSource.UserMessage.name}}):a("img",{attrs:{src:this.avatarCanvasFn(e.searchSource.UserMessage.name),alt:e.searchSource.UserMessage.name}}),a("span",[e._v(e._s(e.searchSource.UserMessage.name))])])])]):e._e(),a("a-table",{attrs:{columns:e.columns,dataSource:e.OrderList,pagination:e.pagination,rowKey:"orderId"},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"buyerSysDeptNameList",fn:function(t,r){return a("span",{},[t&&t.length>0?a("div",e._l(t,function(t,s){return a("a-popover",{key:s},[a("template",{slot:"content"},[a("p",[e._v(e._s(r.buyerParentSysDeptList[s].sysParentName))])]),a("span",{staticClass:"deptModel"},[e._v(e._s(t))])],2)}),1):e._e()])}},{key:"orderAmount",fn:function(t){return a("span",{},[e._v("\n "+e._s(t.toFixed(2))+"\n ")])}},{key:"mingPayOrderDetailList",fn:function(t){return a("span",{},[a("a-popover",[a("template",{slot:"content"},e._l(t,function(t){return a("div",{key:t.orderDetailId,staticClass:"mingPayOrderDetailItem"},[a("div",[a("img",{attrs:{src:t.productIcon}})]),a("div",[a("div",[e._v(e._s(t.productName))]),a("div",[e._v("X"+e._s(t.productQuantity))])]),a("div",[e._v("\n ¥"+e._s(t.productPrice.toFixed(2))+"\n ")])])}),0),a("span",{staticClass:"deptModel"},[e._v(e._s(t[0].productName)+" ···")])],2)],1)}},{key:"orderStatus",fn:function(t){return a("span",{},["SUCCESS"===t?a("a-badge",{attrs:{status:"success",text:"已消费"}}):"REFUND_SUCCESS"===t?a("a-badge",{attrs:{status:"error",text:"已退款"}}):e._e()],1)}}])},[a("span",{attrs:{slot:"buyerName"},slot:"buyerName"},[e._v("姓名")]),a("span",{attrs:{slot:"agentName"},slot:"agentName"},[e._v("经办人")]),a("span",{attrs:{slot:"createTime"},slot:"createTime"},[e._v("时间")])])],1)},s=[],n=a("da71"),o=a("0d5e"),i={name:"consumptionOrder",data:function(){return{searchSource:{UserMessage:{avatar:"",emplId:"",name:""},payStatus:"",agentId:""},agentList:[],pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"消费人",dataIndex:"buyerName"},{title:"部门",dataIndex:"buyerSysDeptNameList",scopedSlots:{customRender:"buyerSysDeptNameList"},width:"15%"},{title:"经办人",dataIndex:"agentName"},{title:"消费总额(元)",dataIndex:"orderAmount",scopedSlots:{customRender:"orderAmount"}},{title:"消费菜品",dataIndex:"mingPayOrderDetailList",scopedSlots:{customRender:"mingPayOrderDetailList"}},{title:"状态",dataIndex:"orderStatus",scopedSlots:{customRender:"orderStatus"}},{title:"时间",dataIndex:"createTime"}],OrderList:[]}},created:function(){this.getAgentList(),this.queryOrderList()},methods:{handleTableChange:function(e,t,a){this.pagination.current=e.current,this.queryOrderList()},getAgentList:function(){var e=this,t={userType:"1"};o["a"].get("/mingpay/v1/isv/cashier/list_cashier_all",t).then(function(t){e.agentList=t.data.data})},choosePeople:function(){var e=this,t=this;n["a"].ddready("ddchooseOne").then(function(a){e.searchSource.UserMessage=a[0],t.queryOrderList()})},clearUserMessage:function(){this.searchSource.UserMessage={avatar:"",emplId:"",name:""}},avatarCanvasFn:function(e){var t=document.createElement("canvas"),a=t.getContext("2d"),r=this.getPixelRatio(a);return t.style.width="40px",t.style.height="40px",t.width=40*r,t.height=40*r,a.scale(r,r),a.fillStyle="#1890ff",a.fillRect(0,0,40,40),a.fillStyle="#ffffff",a.font="12px Arial",a.textAlign="center",a.fillText(e,20,25),t.toDataURL()},getPixelRatio:function(e){var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},selectHandlestatus:function(e){this.searchSource.payStatus=e},selectAgent:function(e){this.searchSource.agentId=e},search:function(){this.pagination.current=1,this.queryOrderList()},queryOrderList:function(){var e=this,t={pageNumber:10,currentPage:this.pagination.current,agentId:this.searchSource.agentId,payStatus:this.searchSource.payStatus,buyerId:this.searchSource.UserMessage.emplId};o["a"].post("/mingpay/v1/isv/order/list_order_page",t).then(function(t){var a=t.data.data;e.pagination.total=parseInt(a.total),e.OrderList=a.list})}}},c=i,l=(a("bf02"),a("2877")),u=Object(l["a"])(c,r,s,!1,null,"7f09b024",null);t["default"]=u.exports},"7dff":function(e,t,a){},bf02:function(e,t,a){"use strict";var r=a("7dff"),s=a.n(r);s.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-edd5b888"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n,i=a("7f43"),o=a.n(i),r=a("4328"),s=a.n(r),c=a("9f82"),l=a("f64c"),u="https://gateway-beta.mingwork.com";o.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(c["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return n.close(),Promise.reject(e)}),o.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:l["a"].error("网络异常请重试"),Object(c["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:l["a"].error("网络异常请重试"),Object(c["a"])().then(function(a){t(e)});break;case 504:l["a"].error("系统异常"),t(e);break;case 500:l["a"].error("系统繁忙"),t(e);break;default:l["a"].error("未知问题"),t(e),a(new Error(e))}else l["a"].error("未知问题"),t(e)})});var d={post:function(e,t){return new Promise(function(a,n){var i=void 0===t?"":t;o.a.post("".concat(u).concat(e),i,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,n){var i=void 0===t?"":s.a.stringify(t);o.a.get("".concat(u).concat(e,"?").concat(i)).then(function(e){return a(e)})})},delete:function(e,t){return new Promise(function(a,n){var i=void 0===t?"":s.a.stringify(t);o.a.delete("".concat(u).concat(e,"?").concat(i)).then(function(e){return a(e)})})}}},"268f":function(e,t,a){e.exports=a("fde4")},"336c":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAARtJREFUOBG1krFqwlAUhr0iZLIoDnV1E1EHEUToUFydJH2H7kUQXJ2dfAFH8RXEVXAQHNSp1NmIVl1aHYxfpEKu8ZoQ6YEvyf3Pf/7cXBII/EeZppmCTyj5zmc4DQsYQ8RXEIMZMP5CYn5DsgQsHwqx3kzAHLzWEeMK+qDbdy4QPhCaMIOWvXnjWaAloAgv0IV3IcSG+3lXVQKtapwFDxe8OqyhI9kR/IS9MWdVRRX2KjXuLAgZQM9hQSyA5mgoBLxNMELXfQ5ueK25rHf0taCLyUs7h+nLi1Hp4ZOS8AN1pcmtwXAcRjABzXFGiGFCnhRB9h+yhucXypzrXvITEoQNuNUBQxuilwDrDVLRzCM8S6K8+GY5ZRdbu3wC8ygamHQCIbQAAAAASUVORK5CYII="},"7e42":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-spin",{attrs:{spinning:e.spinning,delay:e.delayTime}},[n("div",{staticClass:"allowanceDetails"},[n("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.back()}}},[n("img",{staticStyle:{"margin-top":"-4px","margin-right":"6px",width:"14px"},attrs:{src:a("336c")}}),e._v("返回")]),n("div",{staticClass:"title"},[e._v("津贴详情")]),e.allowanceDetails?n("div",{staticClass:"allowanceDetailsBox"},[n("div",[n("label",[e._v("津贴类型")]),n("div",[e._v(e._s("TRAVEL"===e.allowanceDetails.subsidyType?"交通补贴":"餐补"))])]),n("div",[n("label",[e._v("截止日期")]),n("div",[e._v(e._s(e.allowanceDetails.endTime)+" "),e.isshowChange?n("span",{staticClass:"changeEndTime",on:{click:e.changeEndTimeModel}},[e._v("修改")]):e._e()])]),n("div",[n("label",[e._v("单号")]),n("div",[e._v(e._s(e.allowanceDetails.grantNumber))])]),n("div",[n("label",[e._v("经办人")]),n("div",[e._v(e._s(e.allowanceDetails.agentName))])]),n("div",[n("label",[e._v("发放时间")]),n("div",[e._v(e._s(e.allowanceDetails.createTime))])]),n("div",[n("label",[e._v("备注")]),n("div",[e._v(e._s(e.allowanceDetails.remark))])]),n("div",[n("label",[e._v("单笔金额")]),n("div",[e._v(e._s(e.allowanceDetails.subsidyAmount.toFixed(2)))])]),n("div",[n("label",[e._v("发放笔数")]),n("div",[e._v("共"+e._s(e.allowanceDetails.subsidyQuantity)+"笔")])]),n("div",[n("label",[e._v("发放对象")]),n("div",[e._v(e._s(e.allowanceDetails.recipient))])])]):e._e(),n("div",{staticClass:"clickshowsearchUserMessage",on:{click:e.changeIsShow}},[n("a",{attrs:{href:"javascript:;"}},[e._v("查看具体成员")])]),e.isshow?n("div",{staticClass:"searchUserMessage"},[n("div",{staticClass:"positionDiv"}),n("div",{staticStyle:{"margin-bottom":"8px"}},[n("label",[e._v("请输入查询人员:")]),n("a-input",{staticStyle:{width:"220px"},attrs:{placeholder:""},model:{value:e.searchData,callback:function(t){e.searchData=t},expression:"searchData"}})],1),n("div",{staticClass:"userList"},e._l(e.allowanceDetails.grantSubsidyUserName,function(t,a){return n("span",{key:a,class:e.searchData.trim()===t?"searchData":""},[e._v(e._s(t))])}),0)]):e._e(),n("a-modal",{attrs:{title:"修改截止日期"},on:{ok:function(t){return e.changeEndTime()}},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[n("a-form",{attrs:{form:e.form}},[n("a-form-item",e._b({attrs:{label:"截止日期"}},"a-form-item",e.formItemLayout,!1),[n("a-date-picker",{directives:[{name:"decorator",rawName:"v-decorator",value:["date-picker",e.config],expression:"['date-picker', config]"}],attrs:{placeholder:"请选择截止日期",disabledDate:e.disabledDate,showToday:!1}})],1)],1)],1)],1)])},i=[],o=a("cebc"),r=a("0d5e"),s=a("c1df"),c=a.n(s),l={name:"allowanceDetails",data:function(){return{moment:c.a,grantNumber:"",allowanceDetails:"",searchData:"",isshow:!1,visible:!1,spinning:!1,delayTime:100,form:this.$form.createForm(this),isshowChange:!1,config:{rules:[{type:"object",required:!0,message:"请选择时间"}]},formItemLayout:{labelCol:{xs:{span:24},sm:{span:5}},wrapperCol:{xs:{span:24},sm:{span:16}}}}},watch:{},computed:{},created:function(){this.grantNumber=this.$route.params.allowanceDetails,this.getStatisticalProductPage()},methods:{disabledDate:function(e){return console.log(c()().endOf("day")),e<c()(Date.now()).add(-1,"day")},getStatisticalProductPage:function(){var e=this,t={grantNumber:this.grantNumber};r["a"].get("/mingpay/v1/isv/account/coupon_record_detail",t).then(function(t){console.log(t),e.isshowChange=new Date(t.data.data.endTime).getTime()>(new Date).getTime(),e.allowanceDetails=t.data.data})},back:function(){this.$router.go(-1)},changeIsShow:function(){this.isshow=!this.isshow},changeEndTimeModel:function(){this.visible=!this.visible},changeEndTime:function(){var e=this,t=this;this.form.validateFields(function(a,n){if(a)e.$message.error("请完整填写津贴相关信息");else{e.visible=!1,e.spinning=!0;var i=Object(o["a"])({},n,{"date-picker":n["date-picker"].format("YYYY-MM-DD")}),s={endTime:"".concat(i["date-picker"]," 23:59:59"),grantNumber:e.grantNumber};r["a"].post("/mingpay/v1/isv/account/update_coupon_record",s).then(function(e){0===e.data.resultCode?(t.allowanceDetails.endTime="".concat(i["date-picker"]," 23:59:59"),t.spinning=!t.spinning,t.$message.success("修改成功")):t.$message.error("修改失败")})}})}}},u=l,d=(a("e1df"),a("2877")),f=Object(d["a"])(u,n,i,!1,null,"aa5d9154",null);t["default"]=f.exports},"85f2":function(e,t,a){e.exports=a("454f")},a4bb:function(e,t,a){e.exports=a("8aae")},a9f8:function(e,t,a){},bf90:function(e,t,a){var n=a("36c3"),i=a("bf0b").f;a("ce7e")("getOwnPropertyDescriptor",function(){return function(e,t){return i(n(e),t)}})},cebc:function(e,t,a){"use strict";var n=a("268f"),i=a.n(n),o=a("e265"),r=a.n(o),s=a("a4bb"),c=a.n(s),l=a("85f2"),u=a.n(l);function d(e,t,a){return t in e?u()(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},n=c()(a);"function"===typeof r.a&&(n=n.concat(r()(a).filter(function(e){return i()(a,e).enumerable}))),n.forEach(function(t){d(e,t,a[t])})}return e}a.d(t,"a",function(){return f})},e1df:function(e,t,a){"use strict";var n=a("a9f8"),i=a.n(n);i.a},e265:function(e,t,a){e.exports=a("ed33")},ed33:function(e,t,a){a("014b"),e.exports=a("584a").Object.getOwnPropertySymbols},fde4:function(e,t,a){a("bf90");var n=a("584a").Object;e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fb6b8140"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return g});var n,r=a("7f43"),s=a.n(r),c=a("4328"),o=a.n(c),i=a("9f82"),u=a("f64c"),l="https://gateway-beta.mingwork.com";s.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(i["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return n.close(),Promise.reject(e)}),s.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:u["a"].error("网络异常请重试"),Object(i["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:u["a"].error("网络异常请重试"),Object(i["a"])().then(function(a){t(e)});break;case 504:u["a"].error("系统异常"),t(e);break;case 500:u["a"].error("系统繁忙"),t(e);break;default:u["a"].error("未知问题"),t(e),a(new Error(e))}else u["a"].error("未知问题"),t(e)})});var g={post:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":t;s.a.post("".concat(l).concat(e),r,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":o.a.stringify(t);s.a.get("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})},delete:function(e,t){return new Promise(function(a,n){var r=void 0===t?"":o.a.stringify(t);s.a.delete("".concat(l).concat(e,"?").concat(r)).then(function(e){return a(e)})})}}},"1b3d":function(e,t,a){},c775:function(e,t,a){"use strict";var n=a("1b3d"),r=a.n(n);r.a},d79d:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cashierManagement"},[a("a-button",{staticStyle:{"margin-bottom":"20px"},attrs:{type:"primary"},on:{click:e.choosePeople}},[e._v("添加管理员")]),e.searchSource.UserMessage.emplId?a("div",{staticClass:"searchUserMessage"},[a("div",{staticClass:"positionDiv"}),a("div",{staticClass:"clearUserMessage"},[a("a",{attrs:{href:"javascript:;"},on:{click:e.clearUserMessage}},[e._v("清除")])]),e.searchSource.UserMessage.avatar?a("img",{attrs:{src:e.searchSource.UserMessage.avatar,alt:e.searchSource.UserMessage.name}}):a("img",{attrs:{src:this.avatarCanvasFn(e.searchSource.UserMessage.name),alt:e.searchSource.UserMessage.name}}),a("span",[e._v(e._s(e.searchSource.UserMessage.name))])]):e._e(),a("a-table",{attrs:{columns:e.columns,dataSource:e.cashierManagementList,size:"default",rowKey:"id",pagination:e.pagination},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"action",fn:function(t,n,r){return a("span",{},["0"===n.status?a("a",{attrs:{href:"javascript:;"},on:{click:function(a){return e.showModel(n,t,r)}}},[e._v("删除")]):a("a",{staticStyle:{color:"#cccccc"},attrs:{href:"javascript:;"}},[e._v("已删除")])])}}])},[a("span",{attrs:{slot:"name"},slot:"name"},[e._v("成员")]),a("span",{attrs:{slot:"createDate"},slot:"createDate"},[e._v("时间")])])],1)},r=[],s=(a("7f7f"),a("da71")),c=a("0d5e"),o={name:"cashierManagement",data:function(){return{searchSource:{UserMessage:{avatar:"",emplId:"",name:""},status:"",agentId:""},columns:[{title:"成员",dataIndex:"name"},{title:"时间",dataIndex:"createDate"},{title:"操作",dataIndex:"action",scopedSlots:{customRender:"action"}}],cashierManagementList:[],pagination:{current:1,defaultCurrent:1,defaultPageSize:10,hideOnSinglePage:!0,total:0}}},watch:{},computed:{},created:function(){this.getCashierList()},methods:{showModel:function(e,t,a){var n=this;this.$confirm({title:"确认要删除该管理员吗?",content:"删除后,该人员无法在后台管理系统上登录",okText:"确定",cancelText:"取消",onOk:function(){n.deleteCashier(e)}})},deleteCashier:function(e){var t=this,a={ddUserId:e.userId,cashierStatus:"1",userType:"1",id:e.id};c["a"].get("/mingpay/v1/isv/cashier/delete_cashier",a).then(function(e){0===e.data.resultCode?(t.$message.success("操作成功"),t.getCashierList()):t.$message.error(e.data.message)}).catch(function(){t.$message.error("删除失败")})},getCashierList:function(){var e=this,t={pageNumber:this.pagination.defaultPageSize,currentPage:this.pagination.current,userType:"1"};c["a"].get("/mingpay/v1/isv/cashier/list_cashier",t).then(function(t){e.pagination.total=parseInt(t.data.data.total),e.cashierManagementList=t.data.data.list}).catch(function(){e.$message.error("获取收银员信息失败")})},createTimeToStr:function(e){var t=new Date(parseInt(e)),a=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),s=t.getHours(),c=t.getMinutes();return"".concat(a,"年").concat(n,"月").concat(r,"日 ").concat(s,":").concat(c)},choosePeople:function(){var e=this;s["a"].ddready("ddchooseOne").then(function(t){var a={cashierName:t[0].name,ddUserId:t[0].emplId,cashierStatus:"0",userType:"1"};c["a"].get("/mingpay/v1/isv/cashier/insert_cashier",a).then(function(t){0===t.data.resultCode?(e.$message.success("添加成功"),e.getCashierList()):e.$message.error(t.data.message)}).catch(function(t){e.$message.error("网络异常请重试"),console.log(t)})})},handleTableChange:function(e,t,a){this.pagination.current=e.current,this.getCashierList()}}},i=o,u=(a("c775"),a("2877")),l=Object(u["a"])(i,n,r,!1,null,"34c914ad",null);t["default"]=l.exports}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -54,7 +54,7 @@ const config = { ...@@ -54,7 +54,7 @@ const config = {
let isRefreshToken = new Date().getTime() - localStorage.getItem(`start_time_${localStorage.getItem('orgId')}`) < localStorage.getItem(`expires_in_${localStorage.getItem('orgId')}`) - 5 * 60 * 1000 let isRefreshToken = new Date().getTime() - localStorage.getItem(`start_time_${localStorage.getItem('orgId')}`) < localStorage.getItem(`expires_in_${localStorage.getItem('orgId')}`) - 5 * 60 * 1000
if (localStorage.getItem(`access_token_${localStorage.getItem('orgId')}`) && isRefreshToken) { if (localStorage.getItem(`access_token_${localStorage.getItem('orgId')}`) && isRefreshToken) {
resolve('ok') resolve('ok')
} else if (localStorage.getItem('refresh_token')) { } else if (localStorage.getItem(`refresh_token_${localStorage.getItem('orgId')}`)) {
refreshToken().then((res) => { refreshToken().then((res) => {
if (res === 'ok') { if (res === 'ok') {
resolve('ok') resolve('ok')
......
...@@ -18,6 +18,8 @@ instance.interceptors.response.use(res => { ...@@ -18,6 +18,8 @@ instance.interceptors.response.use(res => {
router.push({ router.push({
path: '/noPermission' path: '/noPermission'
}) })
} else {
resolve('ok')
} }
}) })
} }
...@@ -106,11 +108,11 @@ function getToken () { ...@@ -106,11 +108,11 @@ function getToken () {
} }
// 刷新token接口 // 刷新token接口
function refreshToken () { function refreshToken () {
let loginData = qs.stringify({
refresh_token: localStorage.getItem(`refresh_token_${localStorage.getItem('orgId')}`),
grant_type: 'refresh_token'
})
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let loginData = qs.stringify({
refresh_token: localStorage.getItem(`refresh_token_${localStorage.getItem('orgId')}`),
grant_type: 'refresh_token'
})
instance.post(`${BASE_URL}/auth/oauth/token`, loginData, { instance.post(`${BASE_URL}/auth/oauth/token`, loginData, {
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
...@@ -122,9 +124,8 @@ function refreshToken () { ...@@ -122,9 +124,8 @@ function refreshToken () {
localStorage.setItem(`expires_in_${localStorage.getItem('orgId')}`, response.data.expires_in * 1000) localStorage.setItem(`expires_in_${localStorage.getItem('orgId')}`, response.data.expires_in * 1000)
localStorage.setItem(`start_time_${localStorage.getItem('orgId')}`, new Date().getTime()) localStorage.setItem(`start_time_${localStorage.getItem('orgId')}`, new Date().getTime())
resolve('ok') resolve('ok')
}).catch((err) => { }).catch(() => {
console.log('refreshToken', err) resolve('ok')
resolve(err)
}) })
}) })
} }
......
...@@ -124,7 +124,8 @@ export default { ...@@ -124,7 +124,8 @@ export default {
columns: [{ columns: [{
title: '访客姓名', title: '访客姓名',
dataIndex: 'visitorList', dataIndex: 'visitorList',
scopedSlots: { customRender: 'visitorList' } scopedSlots: { customRender: 'visitorList' },
width: '90px'
}, { }, {
title: '访客单位', title: '访客单位',
dataIndex: 'companyName' dataIndex: 'companyName'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="visitorSetting"> <div class="visitorSetting">
<div class="title">新增到访目的</div> <div class="title">新增到访目的</div>
<div class="purposeList"> <div class="purposeList">
<a-input placeholder="请输入来访目的" v-model="addtags" style="width: 320px;margin-right:20px"/> <a-input placeholder="请输入来访目的" maxlength="50" v-model="addtags" style="width: 320px;margin-right:20px"/>
<a-button type="primary" @click="savePurpose">保存</a-button> <a-button type="primary" @click="savePurpose">保存</a-button>
<div class="purposeListContent"> <div class="purposeListContent">
<template v-for="item in tagsData"> <template v-for="item in tagsData">
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<a-input <a-input
v-decorator="[ v-decorator="[
'address', 'address',
{ rules: [{ required: true, message: '请填写省/市/街道' }] }, { rules: [{ required: true, message: '请填写省/市/街道' }, { max: 120, message: '最大长度为120字符' } ]},
]" ]"
placeholder="请填写省/市/街道" placeholder="请填写省/市/街道"
/> />
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<a-textarea <a-textarea
v-decorator="[ v-decorator="[
'addressDetail', 'addressDetail',
{ rules: [{ required: true, message: '请输入详细地址信息,如道路、楼栋号、单位、门牌号等' }] }, { rules: [{ required: true, message: '请输入详细地址信息,如道路、楼栋号、单位、门牌号等' }, { max: 120, message: '最大长度为120字符' } ]},
]" ]"
placeholder="请输入详细地址信息,如道路、楼栋号、单位、门牌号等" placeholder="请输入详细地址信息,如道路、楼栋号、单位、门牌号等"
/> />
...@@ -197,12 +197,20 @@ export default { ...@@ -197,12 +197,20 @@ export default {
}) })
}, },
deleteAddress (id) { deleteAddress (id) {
let removeData = { this.$confirm({
addressId: id title: '删除到访地址',
} content: '确认删除该删除到访地址么?',
$http.delete(`/admin/address/remove`, removeData).then((res) => { okText: '确定',
if (res.data.code === 0) { cancelText: '取消',
this.queryAddressList() onOk () {
let removeData = {
addressId: id
}
$http.delete(`/admin/address/remove`, removeData).then((res) => {
if (res.data.code === 0) {
this.queryAddressList()
}
})
} }
}) })
}, },
...@@ -224,6 +232,7 @@ export default { ...@@ -224,6 +232,7 @@ export default {
$http.post(`/admin/address/save`, saveData).then((res) => { $http.post(`/admin/address/save`, saveData).then((res) => {
if (res.data.code === 0) { if (res.data.code === 0) {
this.checkNick = false this.checkNick = false
this.form.resetFields()
this.queryAddressList() this.queryAddressList()
} }
}) })
......
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 to comment