Commit 13b85e2a by liang ce

dist测试

parent 3802f8d8
.DS_Store .DS_Store
node_modules node_modules
/dist
# local env files # local env files
.env.local .env.local
......
#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
.title[data-v-99e06596]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-99e06596]{margin-left:10px}
\ 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
.searchBox[data-v-1fa30485]{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-1fa30485]{margin-right:20px;max-width:180px}.operationTable a[data-v-1fa30485]{margin-right:8px}.searchUserMessage[data-v-1fa30485]{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-1fa30485]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-1fa30485]{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-1fa30485]{position:absolute;right:10px}.peopleBox[data-v-1fa30485]{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
.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
.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-5d1bb5f6]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px}.searchBox>input[data-v-5d1bb5f6]{margin-right:20px;max-width:180px}.operationTable a[data-v-5d1bb5f6]{margin-right:8px}.searchUserMessage[data-v-5d1bb5f6]{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-5d1bb5f6]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-5d1bb5f6]{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-5d1bb5f6]{position:absolute;right:10px}.userListBox[data-v-5d1bb5f6]{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex}.userListBox>div>img[data-v-5d1bb5f6]{display:block;text-align:center}.choosePeople[data-v-5d1bb5f6]{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-5d1bb5f6]:hover{border:1px solid #1890ff}.deptModel[data-v-5d1bb5f6]{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-5d1bb5f6]{background:#caeeff}.ant-popover-inner-content>p[data-v-5d1bb5f6]{margin:0}
\ No newline at end of file
.searchBox[data-v-9ea339b4]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px}.searchBox>input[data-v-9ea339b4]{margin-right:20px;max-width:180px}.operationTable a[data-v-9ea339b4]{margin-right:8px}.searchUserMessage[data-v-9ea339b4]{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-9ea339b4]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-9ea339b4]{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-9ea339b4]{position:absolute;right:10px}.userListBox[data-v-9ea339b4]{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex}.userListBox>div>img[data-v-9ea339b4]{display:block;text-align:center}.choosePeople[data-v-9ea339b4]{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-9ea339b4]:hover{border:1px solid #1890ff}.deptModel[data-v-9ea339b4]{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-9ea339b4]{background:#caeeff}.ant-popover-inner-content>p[data-v-9ea339b4]{margin:0}.mingPayOrderDetailItem[data-v-9ea339b4]{display:-webkit-box;display:-ms-flexbox;display:flex;width:190px;margin:15px 0}.mingPayOrderDetailItem>div[data-v-9ea339b4]:first-of-type{width:40px;height:40px;overflow:hidden}.mingPayOrderDetailItem>div:first-of-type img[data-v-9ea339b4]{width:40px;height:40px;display:block}.mingPayOrderDetailItem>div[data-v-9ea339b4]:nth-of-type(2){height:40px;width:80px;font-size:14px;margin-left:10px}.mingPayOrderDetailItem>div:nth-of-type(2) div[data-v-9ea339b4]:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px;color:#000}.mingPayOrderDetailItem>div:nth-of-type(2) div[data-v-9ea339b4]:nth-of-type(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px;color:#868686;font-size:12px}.mingPayOrderDetailItem>div[data-v-9ea339b4]: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
.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
.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
.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
.searchBox[data-v-0eada1ab]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px}.searchBox>input[data-v-0eada1ab]{margin-right:20px;max-width:180px}.operationTable a[data-v-0eada1ab]{margin-right:8px}.searchUserMessage[data-v-0eada1ab]{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-0eada1ab]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-0eada1ab]{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-0eada1ab]{position:absolute;right:10px}.userListBox[data-v-0eada1ab]{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex}.userListBox>div>img[data-v-0eada1ab]{display:block;text-align:center}.choosePeople[data-v-0eada1ab]{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-0eada1ab]:hover{border:1px solid #1890ff}.deptModel[data-v-0eada1ab]{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-0eada1ab]{background:#caeeff}.ant-popover-inner-content>p[data-v-0eada1ab]{margin:0}
\ No newline at end of file
.searchBox[data-v-e5767938]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px}.searchBox>input[data-v-e5767938]{margin-right:20px;max-width:180px}.operationTable a[data-v-e5767938]{margin-right:8px}.searchUserMessage[data-v-e5767938]{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-e5767938]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-e5767938]{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-e5767938]{position:absolute;right:10px}.userListBox[data-v-e5767938]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap}.userListBox>div[data-v-e5767938]{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-e5767938]{display:block;text-align:center}.choosePeople[data-v-e5767938]{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-e5767938]:hover{border:1px solid #1890ff}.deptModel[data-v-e5767938]{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-e5767938]{background:#caeeff}.ant-popover-inner-content>p[data-v-e5767938]{margin:0}
\ 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-331ae0d2.f532e316.css rel=prefetch><link href=css/chunk-3599003e.1a62b51d.css rel=prefetch><link href=css/chunk-368c00f4.2ed08760.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-570f9528.289dca7b.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-788ab544.bcc0cd08.css rel=prefetch><link href=css/chunk-819f885c.1afb12db.css rel=prefetch><link href=css/chunk-d04df21a.6f8b801f.css rel=prefetch><link href=css/chunk-dd9fcb10.6109af67.css rel=prefetch><link href=css/chunk-edd5b888.7ba8d7af.css rel=prefetch><link href=css/chunk-ef9cd530.268f2e27.css rel=prefetch><link href=css/chunk-f6a8003a.e681c11c.css rel=prefetch><link href=css/chunk-fb6b8140.5661c4ec.css rel=prefetch><link href=js/chunk-13ec64c5.545051af.js rel=prefetch><link href=js/chunk-28723f13.9d3648f3.js rel=prefetch><link href=js/chunk-331ae0d2.bc6cda3b.js rel=prefetch><link href=js/chunk-3599003e.6b850e19.js rel=prefetch><link href=js/chunk-368c00f4.5b1394d7.js rel=prefetch><link href=js/chunk-3f3336d0.11686916.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-570f9528.101eb842.js rel=prefetch><link href=js/chunk-6658342b.9ac333d0.js rel=prefetch><link href=js/chunk-6cec962d.9d1d8c12.js rel=prefetch><link href=js/chunk-788ab544.93cb0ed0.js rel=prefetch><link href=js/chunk-819f885c.a79cb7e2.js rel=prefetch><link href=js/chunk-b788ccac.88698cc7.js rel=prefetch><link href=js/chunk-d04df21a.4097ae13.js rel=prefetch><link href=js/chunk-dd9fcb10.a5087450.js rel=prefetch><link href=js/chunk-edd5b888.518109f4.js rel=prefetch><link href=js/chunk-ef9cd530.2a5a7303.js rel=prefetch><link href=js/chunk-f6a8003a.7bcc19e3.js rel=prefetch><link href=js/chunk-fb6b8140.2d2d96c4.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.b8235550.js rel=preload as=script><link href=js/chunk-vendors.5f733cf2.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.5f733cf2.js></script><script src=js/app.b8235550.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.mingwork.com";i.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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?o={orgId:localStorage.getItem("orgId")}:(o=t,o.orgId=localStorage.getItem("orgId")),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?o={orgId:localStorage.getItem("orgId")}:(o=t,o.orgId=localStorage.getItem("orgId")),o=c.a.stringify(o),i.a.get("".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 l});var r,s=a("7f43"),n=a.n(s),c=a("4328"),o=a.n(c),i=a("9f82"),u=a("f64c"),g="https://gateway.mingwork.com";n.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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 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: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 l={post:function(e,t){return new Promise(function(a,r){var s;void 0===t?s={orgId:localStorage.getItem("orgId")}:(s=t,s.orgId=localStorage.getItem("orgId")),n.a.post("".concat(g).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?s={orgId:localStorage.getItem("orgId")}:(s=t,s.orgId=localStorage.getItem("orgId")),s=o.a.stringify(s),n.a.get("".concat(g).concat(e,"?").concat(s)).then(function(e){return a(e)})})}}},"67f4":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:"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,r,s){return a("span",{},["0"===r.status?a("a",{attrs:{href:"javascript:;"},on:{click:function(a){return e.showModel(r,t,s)}}},[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)},s=[],n=(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 r=this;this.$confirm({title:"确认要删除该收银员吗?",content:"删除后,该人员无法在设备上进行收钱操作",okText:"确定",cancelText:"取消",onOk:function(){r.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(),r=t.getMonth()+1,s=t.getDate(),n=t.getHours(),c=t.getMinutes();return"".concat(a,"年").concat(r,"月").concat(s,"日 ").concat(n,":").concat(c)},choosePeople:function(){var e=this;n["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")),g=Object(u["a"])(i,r,s,!1,null,"933d56a2",null);t["default"]=g.exports},8844:function(e,t,a){},b9b9:function(e,t,a){"use strict";var r=a("8844"),s=a.n(r);s.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-331ae0d2"],{"0d5e":function(t,e,a){"use strict";a.d(e,"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.mingwork.com";r.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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)}),r.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?o={orgId:localStorage.getItem("orgId")}:(o=e,o.orgId=localStorage.getItem("orgId")),r.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?o={orgId:localStorage.getItem("orgId")}:(o=e,o.orgId=localStorage.getItem("orgId")),o=i.a.stringify(o),r.a.get("".concat(l).concat(t,"?").concat(o)).then(function(t){return a(t)})})}}},"13f6":function(t,e,a){},3846:function(t,e,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"6b54":function(t,e,a){"use strict";a("3846");var n=a("cb7c"),o=a("0bfb"),r=a("9e1e"),c="toString",i=/./[c],s=function(t){a("2aba")(RegExp.prototype,c,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:!r&&t instanceof RegExp?o.call(t):void 0)}):i.name!=c&&s(function(){return i.call(this)})},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=[],r=(a("6b54"),a("0d5e")),c=a("c1df"),i=a.n(c),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:this.startTime,endTime:this.endTime,pageNumber:10,currentPage:this.pagination.current};r["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("f7f0"),a("2877")),d=Object(l["a"])(u,n,o,!1,null,"99e06596",null);e["default"]=d.exports},f7f0:function(t,e,a){"use strict";var n=a("13f6"),o=a.n(n);o.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 h});var a,c=n("7f43"),i=n.n(c),r=n("4328"),o=n.n(r),s=n("9f82"),g=n("f64c"),d="https://gateway.mingwork.com";i.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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 h={post:function(e,t){return new Promise(function(n,a){var c;void 0===t?c={orgId:localStorage.getItem("orgId")}:(c=t,c.orgId=localStorage.getItem("orgId")),i.a.post("".concat(d).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?c={orgId:localStorage.getItem("orgId")}:(c=t,c.orgId=localStorage.getItem("orgId")),c=o.a.stringify(c),i.a.get("".concat(d).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-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"),s=o.n(a),n=o("4328"),i=o.n(n),c=o("9f82"),u=o("f64c"),d="https://gateway.mingwork.com";s.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),t):new Promise(function(t,e){Object(c["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return r.close(),Promise.reject(t)}),s.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(c["c"])().then(function(o){console.log("refreshToken1",o),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(c["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?a={orgId:localStorage.getItem("orgId")}:(a=e,a.orgId=localStorage.getItem("orgId")),s.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?a={orgId:localStorage.getItem("orgId")}:(a=e,a.orgId=localStorage.getItem("orgId")),a=i.a.stringify(a),s.a.get("".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"),s=o("4bf8"),n=o("79e5"),i=[].sort,c=[1,2,3];r(r.P+r.F*(n(function(){c.sort(void 0)})||!n(function(){c.sort(null)})||!o("2f21")(i)),"Array",{sort:function(t){return void 0===t?i.call(s(this)):i.call(s(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=[],s=(o("55dd"),o("0d5e")),n={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;s["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};s["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"},s["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)};s["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=""}}},i=n,c=(o("ed7d"),o("2877")),u=Object(c["a"])(i,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,r=n("7f43"),o=n.n(r),i=n("4328"),s=n.n(i),c=n("9f82"),u=n("f64c"),d="https://gateway.mingwork.com";o.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),t):new Promise(function(t,e){Object(c["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return a.close(),Promise.reject(t)}),o.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(c["c"])().then(function(n){console.log("refreshToken1",n),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(c["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 r;void 0===e?r={orgId:localStorage.getItem("orgId")}:(r=e,r.orgId=localStorage.getItem("orgId")),o.a.post("".concat(d).concat(t),r,{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 r;void 0===e?r={orgId:localStorage.getItem("orgId")}:(r=e,r.orgId=localStorage.getItem("orgId")),r=s.a.stringify(r),o.a.get("".concat(d).concat(t,"?").concat(r)).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)},r=[],o=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};o["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,r=e.getDate();e.getHours(),e.getMinutes();return"".concat(n,"年").concat(a,"月").concat(r,"日")},handleTableChange:function(t,e,n){this.pagination.current=t.current,this.querySubsidyList()},back:function(){this.$router.go(-1)}}},s=i,c=(n("f2a3"),n("2877")),u=Object(c["a"])(s,a,r,!1,null,"899e23be",null);e["default"]=u.exports},f2a3:function(t,e,n){"use strict";var a=n("99ef"),r=n.n(a);r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-788ab544"],{"09d5":function(e,t,a){"use strict";var r=a("aa90"),n=a.n(r);n.a},"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return g});var r,n=a("7f43"),s=a.n(n),o=a("4328"),c=a.n(o),i=a("9f82"),u=a("f64c"),l="https://gateway.mingwork.com";s.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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 r.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,r){var n;void 0===t?n={orgId:localStorage.getItem("orgId")}:(n=t,n.orgId=localStorage.getItem("orgId")),s.a.post("".concat(l).concat(e),n,{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 n;void 0===t?n={orgId:localStorage.getItem("orgId")}:(n=t,n.orgId=localStorage.getItem("orgId")),n=c.a.stringify(n),s.a.get("".concat(l).concat(e,"?").concat(n)).then(function(e){return a(e)})})}}},2957:function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return n}),a.d(t,"c",function(){return s}),a.d(t,"d",function(){return o});var r={ACTIVE:"ACTIVE",UNACTIVE:"UNACTIVE",LOG_OFF:"LOG_OFF",WITHDRAW:"WITHDRAW"},n={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"}},"4be4":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:"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,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:"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,r){return a("span",{},[t&&t.length>0?a("div",e._l(t,function(t,n){return a("a-popover",{key:n},[a("template",{slot:"content"},[a("p",[e._v(e._s(r.parentSysDeptNameList[n]))])]),a("span",{staticClass:"deptModel"},[e._v(e._s(t))])],2)}),1):e._e()])}},{key:"agent",fn:function(t,r){return a("span",{},[e._v("\n "+e._s(""===t&&"EXTERNAL_ALI_RECHAGE"===r.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)},n=[],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.list})},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"),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.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("09d5"),a("2877")),g=Object(l["a"])(u,r,n,!1,null,"5d1bb5f6",null);t["default"]=g.exports},aa90:function(e,t,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-819f885c"],{"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.mingwork.com";n.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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?s={orgId:localStorage.getItem("orgId")}:(s=t,s.orgId=localStorage.getItem("orgId")),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?s={orgId:localStorage.getItem("orgId")}:(s=t,s.orgId=localStorage.getItem("orgId")),s=i.a.stringify(s),n.a.get("".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.list})},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("a692"),a("2877")),u=Object(l["a"])(c,r,s,!1,null,"9ea339b4",null);t["default"]=u.exports},a692:function(e,t,a){"use strict";var r=a("b95a"),s=a.n(r);s.a},b95a:function(e,t,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,r=n("7f43"),o=n.n(r),c=n("4328"),i=n.n(c),s=n("9f82"),u=n("f64c"),l="https://gateway.mingwork.com";o.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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)}),o.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 r;void 0===t?r={orgId:localStorage.getItem("orgId")}:(r=t,r.orgId=localStorage.getItem("orgId")),o.a.post("".concat(l).concat(e),r,{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 r;void 0===t?r={orgId:localStorage.getItem("orgId")}:(r=t,r.orgId=localStorage.getItem("orgId")),r=i.a.stringify(r),o.a.get("".concat(l).concat(e,"?").concat(r)).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)},r=[],o=(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};o["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,r,!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-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-edd5b888"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n,i=a("7f43"),r=a.n(i),o=a("4328"),s=a.n(o),c=a("9f82"),l=a("f64c"),u="https://gateway.mingwork.com";r.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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)}),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: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?i={orgId:localStorage.getItem("orgId")}:(i=t,i.orgId=localStorage.getItem("orgId")),r.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?i={orgId:localStorage.getItem("orgId")}:(i=t,i.orgId=localStorage.getItem("orgId")),i=s.a.stringify(i),r.a.get("".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=[],r=a("cebc"),o=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};o["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(r["a"])({},n,{"date-picker":n["date-picker"].format("YYYY-MM-DD")}),s={endTime:"".concat(i["date-picker"]," 23:59:59"),grantNumber:e.grantNumber};o["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),r=a("e265"),o=a.n(r),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 o.a&&(n=n.concat(o()(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 l});var r,s=a("7f43"),n=a.n(s),c=a("4328"),o=a.n(c),i=a("9f82"),u=a("f64c"),g="https://gateway.mingwork.com";n.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time")<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token")),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 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: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 l={post:function(e,t){return new Promise(function(a,r){var s;void 0===t?s={orgId:localStorage.getItem("orgId")}:(s=t,s.orgId=localStorage.getItem("orgId")),n.a.post("".concat(g).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?s={orgId:localStorage.getItem("orgId")}:(s=t,s.orgId=localStorage.getItem("orgId")),s=o.a.stringify(s),n.a.get("".concat(g).concat(e,"?").concat(s)).then(function(e){return a(e)})})}}},"1b3d":function(e,t,a){},c775:function(e,t,a){"use strict";var r=a("1b3d"),s=a.n(r);s.a},d79d: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:"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,r,s){return a("span",{},["0"===r.status?a("a",{attrs:{href:"javascript:;"},on:{click:function(a){return e.showModel(r,t,s)}}},[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)},s=[],n=(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 r=this;this.$confirm({title:"确认要删除该管理员吗?",content:"删除后,该人员无法在后台管理系统上登录",okText:"确定",cancelText:"取消",onOk:function(){r.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(),r=t.getMonth()+1,s=t.getDate(),n=t.getHours(),c=t.getMinutes();return"".concat(a,"年").concat(r,"月").concat(s,"日 ").concat(n,":").concat(c)},choosePeople:function(){var e=this;n["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")),g=Object(u["a"])(i,r,s,!1,null,"34c914ad",null);t["default"]=g.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.
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