From b50164e34178aa892b8231ff7d653f988481edd3 Mon Sep 17 00:00:00 2001 From: taoya7 Date: Wed, 25 May 2022 07:48:07 +0800 Subject: [PATCH] [update] ci --- config.xml | 2 +- package-lock.json | 169 +- res/icon/android/logo.png | Bin 0 -> 6478 bytes www/cordova.js | 1904 ++++++ www/cordova_plugins.js | 419 ++ www/css/10.e1ab7393.css | 1 + www/css/11.d1ecccdb.css | 1 + www/css/12.c97887eb.css | 1 + www/css/13.3ec0d28c.css | 1 + www/css/14.3114b34c.css | 1 + www/css/15.fa0f985c.css | 1 + www/css/16.bd8950b3.css | 1 + www/css/17.bcf6aad0.css | 1 + www/css/18.673bf0b3.css | 1 + www/css/19.264ed9b0.css | 1 + www/css/2.a6314350.css | 1 + www/css/20.f4b5c2ff.css | 1 + www/css/21.7b4f6794.css | 1 + www/css/22.e013a8b8.css | 1 + www/css/23.129b4424.css | 1 + www/css/3.0ff27fed.css | 1 + www/css/3.46f905e4.css | 1 + www/css/7.58c014d7.css | 1 + www/css/8.384fcb4d.css | 1 + www/css/9.b2e01979.css | 1 + www/css/app.1735068f.css | 1 + www/css/chunk-common.0c8f96e8.css | 1 + www/css/index.css | 110 - www/css/vendor.0d9534bc.css | 11 + www/fonts/KFOkCnqEu92Fr1MmgVxIIzQ.woff | Bin 0 -> 20424 bytes www/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.woff | Bin 0 -> 20532 bytes www/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.woff | Bin 0 -> 20404 bytes www/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.woff | Bin 0 -> 20396 bytes www/fonts/KFOlCnqEu92Fr1MmYUtfBBc-.woff | Bin 0 -> 20412 bytes www/fonts/KFOmCnqEu92Fr1Mu4mxM.woff | Bin 0 -> 20332 bytes www/fonts/fa-brands-400.ttf | Bin 0 -> 181852 bytes www/fonts/fa-brands-400.woff2 | Bin 0 -> 105536 bytes www/fonts/fa-regular-400.ttf | Bin 0 -> 60520 bytes www/fonts/fa-regular-400.woff2 | Bin 0 -> 23940 bytes www/fonts/fa-solid-900.ttf | Bin 0 -> 388460 bytes www/fonts/fa-solid-900.woff2 | Bin 0 -> 154228 bytes www/fonts/fa-v4compatibility.ttf | Bin 0 -> 10556 bytes www/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff | Bin 0 -> 163544 bytes .../flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2 | Bin 0 -> 127500 bytes www/fonts/iconfont.ttf | Bin 0 -> 18912 bytes www/fonts/iconfont.woff | Bin 0 -> 10744 bytes www/img/bg.png | Bin 0 -> 1162761 bytes www/img/bg_left.png | Bin 0 -> 680134 bytes www/img/iconfont.svg | 153 + www/img/logo.png | Bin 21814 -> 0 bytes www/index.html | 79 +- www/js/10.js | 1 + www/js/11.js | 1 + www/js/12.js | 1 + www/js/13.js | 1 + www/js/14.js | 1 + www/js/15.js | 1 + www/js/16.js | 1 + www/js/17.js | 1 + www/js/18.js | 1 + www/js/19.js | 1 + www/js/2.js | 1 + www/js/20.js | 1 + www/js/21.js | 1 + www/js/22.js | 1 + www/js/23.js | 1 + www/js/24.js | 1 + www/js/25.js | 1 + www/js/26.js | 1 + www/js/27.js | 1 + www/js/28.js | 1 + www/js/29.js | 1 + www/js/3.js | 1 + www/js/30.js | 1 + www/js/31.js | 1 + www/js/32.js | 1 + www/js/33.js | 1 + www/js/34.js | 1 + www/js/35.js | 1 + www/js/4.js | 1 + www/js/5.js | 1 + www/js/6.js | 1 + www/js/7.js | 1 + www/js/8.js | 1 + www/js/9.js | 1 + www/js/app.js | 1 + www/js/chunk-common.js | 1 + www/js/vendor.js | 28 + .../www/battery.js | 112 + .../cordova-plugin-camera/www/Camera.js | 188 + .../www/CameraConstants.js | 95 + .../www/CameraPopoverHandle.js} | 26 +- .../www/CameraPopoverOptions.js | 59 + www/plugins/cordova-plugin-cszbar/www/zbar.js | 26 + .../cordova-plugin-device/www/device.js | 99 + .../www/android/notification.js | 77 + .../www/notification.js | 133 + .../cordova-plugin-file/www/DirectoryEntry.js | 120 + .../www/DirectoryReader.js | 75 + www/plugins/cordova-plugin-file/www/Entry.js | 263 + www/plugins/cordova-plugin-file/www/File.js | 81 + .../cordova-plugin-file/www/FileEntry.js | 95 + .../cordova-plugin-file/www/FileError.js | 49 + .../cordova-plugin-file/www/FileReader.js | 301 + .../cordova-plugin-file/www/FileSystem.js | 58 + .../www/FileUploadOptions.js | 44 + .../www/FileUploadResult.js | 33 + .../cordova-plugin-file/www/FileWriter.js | 328 + www/plugins/cordova-plugin-file/www/Flags.js | 39 + .../www/LocalFileSystem.js | 26 + .../cordova-plugin-file/www/Metadata.js | 43 + .../cordova-plugin-file/www/ProgressEvent.js | 70 + .../www/android/FileSystem.js | 51 + .../www/browser/isChrome.js | 29 + .../www/fileSystemPaths.js | 65 + .../www/fileSystems-roots.js | 49 + .../cordova-plugin-file/www/fileSystems.js | 28 + .../www/requestFileSystem.js | 84 + .../www/resolveLocalFileSystemURI.js | 94 + .../www/PositionError.js | 41 + .../www/android/geolocation.js | 74 + .../www/inappbrowser.js | 122 + .../www/CaptureAudioOptions.js | 35 + .../www/CaptureError.js | 45 + .../www/CaptureImageOptions.js | 33 + .../www/CaptureVideoOptions.js | 37 + .../www/MediaFile.js | 58 + .../www/MediaFileData.js | 42 + .../www/android/init.js | 47 + .../www/capture.js | 85 + .../www/helpers.js | 47 + www/plugins/cordova-plugin-media/www/Media.js | 292 + .../cordova-plugin-media/www/MediaError.js | 57 + .../www/Connection.js | 37 + .../www/network.js | 94 + .../www/screenorientation.js | 157 + .../www/splashscreen.js | 36 + .../cordova-plugin-statusbar/www/statusbar.js | 120 + www/plugins/es6-promise-plugin/www/promise.js | 13 + yarn.lock | 5990 ++++++++--------- 140 files changed, 10051 insertions(+), 3184 deletions(-) create mode 100644 res/icon/android/logo.png create mode 100644 www/cordova.js create mode 100644 www/cordova_plugins.js create mode 100644 www/css/10.e1ab7393.css create mode 100644 www/css/11.d1ecccdb.css create mode 100644 www/css/12.c97887eb.css create mode 100644 www/css/13.3ec0d28c.css create mode 100644 www/css/14.3114b34c.css create mode 100644 www/css/15.fa0f985c.css create mode 100644 www/css/16.bd8950b3.css create mode 100644 www/css/17.bcf6aad0.css create mode 100644 www/css/18.673bf0b3.css create mode 100644 www/css/19.264ed9b0.css create mode 100644 www/css/2.a6314350.css create mode 100644 www/css/20.f4b5c2ff.css create mode 100644 www/css/21.7b4f6794.css create mode 100644 www/css/22.e013a8b8.css create mode 100644 www/css/23.129b4424.css create mode 100644 www/css/3.0ff27fed.css create mode 100644 www/css/3.46f905e4.css create mode 100644 www/css/7.58c014d7.css create mode 100644 www/css/8.384fcb4d.css create mode 100644 www/css/9.b2e01979.css create mode 100644 www/css/app.1735068f.css create mode 100644 www/css/chunk-common.0c8f96e8.css delete mode 100644 www/css/index.css create mode 100644 www/css/vendor.0d9534bc.css create mode 100644 www/fonts/KFOkCnqEu92Fr1MmgVxIIzQ.woff create mode 100644 www/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.woff create mode 100644 www/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.woff create mode 100644 www/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.woff create mode 100644 www/fonts/KFOlCnqEu92Fr1MmYUtfBBc-.woff create mode 100644 www/fonts/KFOmCnqEu92Fr1Mu4mxM.woff create mode 100644 www/fonts/fa-brands-400.ttf create mode 100644 www/fonts/fa-brands-400.woff2 create mode 100644 www/fonts/fa-regular-400.ttf create mode 100644 www/fonts/fa-regular-400.woff2 create mode 100644 www/fonts/fa-solid-900.ttf create mode 100644 www/fonts/fa-solid-900.woff2 create mode 100644 www/fonts/fa-v4compatibility.ttf create mode 100644 www/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff create mode 100644 www/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2 create mode 100644 www/fonts/iconfont.ttf create mode 100644 www/fonts/iconfont.woff create mode 100644 www/img/bg.png create mode 100644 www/img/bg_left.png create mode 100644 www/img/iconfont.svg delete mode 100644 www/img/logo.png create mode 100644 www/js/10.js create mode 100644 www/js/11.js create mode 100644 www/js/12.js create mode 100644 www/js/13.js create mode 100644 www/js/14.js create mode 100644 www/js/15.js create mode 100644 www/js/16.js create mode 100644 www/js/17.js create mode 100644 www/js/18.js create mode 100644 www/js/19.js create mode 100644 www/js/2.js create mode 100644 www/js/20.js create mode 100644 www/js/21.js create mode 100644 www/js/22.js create mode 100644 www/js/23.js create mode 100644 www/js/24.js create mode 100644 www/js/25.js create mode 100644 www/js/26.js create mode 100644 www/js/27.js create mode 100644 www/js/28.js create mode 100644 www/js/29.js create mode 100644 www/js/3.js create mode 100644 www/js/30.js create mode 100644 www/js/31.js create mode 100644 www/js/32.js create mode 100644 www/js/33.js create mode 100644 www/js/34.js create mode 100644 www/js/35.js create mode 100644 www/js/4.js create mode 100644 www/js/5.js create mode 100644 www/js/6.js create mode 100644 www/js/7.js create mode 100644 www/js/8.js create mode 100644 www/js/9.js create mode 100644 www/js/app.js create mode 100644 www/js/chunk-common.js create mode 100644 www/js/vendor.js create mode 100644 www/plugins/cordova-plugin-battery-status/www/battery.js create mode 100644 www/plugins/cordova-plugin-camera/www/Camera.js create mode 100644 www/plugins/cordova-plugin-camera/www/CameraConstants.js rename www/{js/index.js => plugins/cordova-plugin-camera/www/CameraPopoverHandle.js} (60%) create mode 100644 www/plugins/cordova-plugin-camera/www/CameraPopoverOptions.js create mode 100644 www/plugins/cordova-plugin-cszbar/www/zbar.js create mode 100644 www/plugins/cordova-plugin-device/www/device.js create mode 100644 www/plugins/cordova-plugin-dialogs/www/android/notification.js create mode 100644 www/plugins/cordova-plugin-dialogs/www/notification.js create mode 100644 www/plugins/cordova-plugin-file/www/DirectoryEntry.js create mode 100644 www/plugins/cordova-plugin-file/www/DirectoryReader.js create mode 100644 www/plugins/cordova-plugin-file/www/Entry.js create mode 100644 www/plugins/cordova-plugin-file/www/File.js create mode 100644 www/plugins/cordova-plugin-file/www/FileEntry.js create mode 100644 www/plugins/cordova-plugin-file/www/FileError.js create mode 100644 www/plugins/cordova-plugin-file/www/FileReader.js create mode 100644 www/plugins/cordova-plugin-file/www/FileSystem.js create mode 100644 www/plugins/cordova-plugin-file/www/FileUploadOptions.js create mode 100644 www/plugins/cordova-plugin-file/www/FileUploadResult.js create mode 100644 www/plugins/cordova-plugin-file/www/FileWriter.js create mode 100644 www/plugins/cordova-plugin-file/www/Flags.js create mode 100644 www/plugins/cordova-plugin-file/www/LocalFileSystem.js create mode 100644 www/plugins/cordova-plugin-file/www/Metadata.js create mode 100644 www/plugins/cordova-plugin-file/www/ProgressEvent.js create mode 100644 www/plugins/cordova-plugin-file/www/android/FileSystem.js create mode 100644 www/plugins/cordova-plugin-file/www/browser/isChrome.js create mode 100644 www/plugins/cordova-plugin-file/www/fileSystemPaths.js create mode 100644 www/plugins/cordova-plugin-file/www/fileSystems-roots.js create mode 100644 www/plugins/cordova-plugin-file/www/fileSystems.js create mode 100644 www/plugins/cordova-plugin-file/www/requestFileSystem.js create mode 100644 www/plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js create mode 100644 www/plugins/cordova-plugin-geolocation/www/PositionError.js create mode 100644 www/plugins/cordova-plugin-geolocation/www/android/geolocation.js create mode 100644 www/plugins/cordova-plugin-inappbrowser/www/inappbrowser.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/CaptureAudioOptions.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/CaptureError.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/CaptureImageOptions.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/CaptureVideoOptions.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/MediaFile.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/MediaFileData.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/android/init.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/capture.js create mode 100644 www/plugins/cordova-plugin-media-capture/www/helpers.js create mode 100644 www/plugins/cordova-plugin-media/www/Media.js create mode 100644 www/plugins/cordova-plugin-media/www/MediaError.js create mode 100644 www/plugins/cordova-plugin-network-information/www/Connection.js create mode 100644 www/plugins/cordova-plugin-network-information/www/network.js create mode 100644 www/plugins/cordova-plugin-screen-orientation/www/screenorientation.js create mode 100644 www/plugins/cordova-plugin-splashscreen/www/splashscreen.js create mode 100644 www/plugins/cordova-plugin-statusbar/www/statusbar.js create mode 100644 www/plugins/es6-promise-plugin/www/promise.js diff --git a/config.xml b/config.xml index b5c1613..c314b7d 100644 --- a/config.xml +++ b/config.xml @@ -3,7 +3,7 @@ APP app - + diff --git a/package-lock.json b/package-lock.json index ba7334d..2068522 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,8 @@ "cordova-plugin-splashscreen": "^6.0.1", "cordova-plugin-statusbar": "^3.0.0", "cordova-plugin-vibration": "^3.1.1", - "es6-promise-plugin": "^4.2.2" + "es6-promise-plugin": "^4.2.2", + "phonegap-plugin-barcodescanner": "^8.1.0" } }, "node_modules/@colors/colors": { @@ -2002,7 +2003,8 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/es6-promise-plugin/-/es6-promise-plugin-4.2.2.tgz", "integrity": "sha512-uoA4aVplXI9oqUYJFBAVRwAqIN9/n9JgrTAUGX3qPbnSZVE5yY1+6/MsoN5f4xsaPO62WjPHOdtts6okMN6tNA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/escape-goat": { "version": "2.1.1", @@ -3048,6 +3050,15 @@ "lodash": "^4.17.14" } }, + "node_modules/interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/ip": { "version": "1.1.8", "resolved": "https://mirrors.tencent.com/npm/ip/-/ip-1.1.8.tgz", @@ -4064,6 +4075,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/os-name": { "version": "4.0.1", "resolved": "http://mirrors.cloud.tencent.com/npm/os-name/-/os-name-4.0.1.tgz", @@ -4089,6 +4109,16 @@ "node": ">=0.10.0" } }, + "node_modules/osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "dependencies": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, "node_modules/p-cancelable": { "version": "1.1.0", "resolved": "https://mirrors.cloud.tencent.com/npm/p-cancelable/-/p-cancelable-1.1.0.tgz", @@ -4296,6 +4326,48 @@ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "license": "MIT" }, + "node_modules/phonegap-plugin-barcodescanner": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/phonegap-plugin-barcodescanner/-/phonegap-plugin-barcodescanner-8.1.0.tgz", + "integrity": "sha512-WQCDCoH9EQ9WEn2bce+B95jbNJduilAn2Vtske8KfcYAeGu7bdFqRD7zGCLCQao62VwoEwlX0cUvbQ/am12Jwg==", + "deprecated": "This package is deprecated, see https://blog.phonegap.com/update-for-customers-using-phonegap-and-phonegap-build-cc701c77502c", + "dev": true, + "dependencies": { + "nopt": "^4.0.1", + "shelljs": "^0.8.3" + }, + "engines": { + "cordovaDependencies": { + "<7.0.0": { + "cordova-android": "<6.3.0" + }, + "7.0.0": { + "cordova-android": ">=6.3.0" + }, + "7.1.0": { + "cordova": ">=7.1.0", + "cordova-android": ">=6.3.0" + }, + "8.0.0": { + "cordova": ">=7.1.0", + "cordova-android": ">=6.3.0" + } + } + } + }, + "node_modules/phonegap-plugin-barcodescanner/node_modules/nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "dev": true, + "dependencies": { + "abbrev": "1", + "osenv": "^0.1.4" + }, + "bin": { + "nopt": "bin/nopt.js" + } + }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://mirrors.tencent.com/npm/picomatch/-/picomatch-2.3.1.tgz", @@ -4611,6 +4683,18 @@ "node": ">= 6" } }, + "node_modules/rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/registry-auth-token": { "version": "4.2.1", "resolved": "http://mirrors.cloud.tencent.com/npm/registry-auth-token/-/registry-auth-token-4.2.1.tgz", @@ -5002,6 +5086,23 @@ "node": ">=8" } }, + "node_modules/shelljs": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", + "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", + "dev": true, + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://mirrors.tencent.com/npm/side-channel/-/side-channel-1.0.4.tgz", @@ -7944,6 +8045,12 @@ } } }, + "interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true + }, "ip": { "version": "1.1.8", "resolved": "https://mirrors.tencent.com/npm/ip/-/ip-1.1.8.tgz", @@ -8625,6 +8732,12 @@ "is-wsl": "^2.1.1" } }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, "os-name": { "version": "4.0.1", "resolved": "http://mirrors.cloud.tencent.com/npm/os-name/-/os-name-4.0.1.tgz", @@ -8639,6 +8752,16 @@ "resolved": "https://mirrors.tencent.com/npm/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, "p-cancelable": { "version": "1.1.0", "resolved": "https://mirrors.cloud.tencent.com/npm/p-cancelable/-/p-cancelable-1.1.0.tgz", @@ -8775,6 +8898,28 @@ "resolved": "https://mirrors.tencent.com/npm/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, + "phonegap-plugin-barcodescanner": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/phonegap-plugin-barcodescanner/-/phonegap-plugin-barcodescanner-8.1.0.tgz", + "integrity": "sha512-WQCDCoH9EQ9WEn2bce+B95jbNJduilAn2Vtske8KfcYAeGu7bdFqRD7zGCLCQao62VwoEwlX0cUvbQ/am12Jwg==", + "dev": true, + "requires": { + "nopt": "^4.0.1", + "shelljs": "^0.8.3" + }, + "dependencies": { + "nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "dev": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + } + } + }, "picomatch": { "version": "2.3.1", "resolved": "https://mirrors.tencent.com/npm/picomatch/-/picomatch-2.3.1.tgz", @@ -8985,6 +9130,15 @@ "util-deprecate": "^1.0.1" } }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "requires": { + "resolve": "^1.1.6" + } + }, "registry-auth-token": { "version": "4.2.1", "resolved": "http://mirrors.cloud.tencent.com/npm/registry-auth-token/-/registry-auth-token-4.2.1.tgz", @@ -9237,6 +9391,17 @@ "resolved": "https://mirrors.tencent.com/npm/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" }, + "shelljs": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", + "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", + "dev": true, + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } + }, "side-channel": { "version": "1.0.4", "resolved": "https://mirrors.tencent.com/npm/side-channel/-/side-channel-1.0.4.tgz", diff --git a/res/icon/android/logo.png b/res/icon/android/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..1b8170417cbb95254a1f76e8b4dc3594006d5601 GIT binary patch literal 6478 zcmch6AOD`cTy`(e}(jbkbfV6;sxJY+* zBl+y_J@2RI4|wi5bLZB~+&eRO&fIe&G}RSJ2dl`Xzwjb!_aC6;+VrN*vsiDmY>@Jk?p5EnRZQ9^}OD)!( zZ}}F_J~7DerTI+5_vAor72;!Z9VCGKx5{4$>)u&kz!s^qwC-Q=x*w1EvrWI*?)}8; z`{L|C2}7uIhL`9#{XA|dFa=(EC5G9MT+8euZ!R$vPD$yK>Z)Pv2vvjg0U_6ujw3ES zVj?)ij|&mS}>}!EK5krOB^YW7p}|TD8IBG-19zWfVUL{R{9Y0 z%4l_{-=B){ME6;$S$}o2vr4D2RcLHaDj4;=OxjXmpD1%BAf#)Hq_))AtrOJtyq^Vz zATAEh+;YnSrZyNegvGJurwUQZ{`+3z68()WZ=VO$x^vWhef6%667 zCp!{7Thw_}j7X(Nw&9FSQaL^`sOaUho}Qh0n~GaC1!yik(z2(u)^J)#xKB0ot!a4! z1j#Ats%B?jNa5W@ZbKPmJbv!>R2ZFb>0Z|fWC}jwQ;S_8qB|@w3?%iuh#meHsAH$$ z`H2&Ov?)hL{66t%Le2qLN*{w01#GWpa9bw+hSjD?I_%#@SJQM&)!&T7f{_fK4kI%8 zBiZHC|Boy@bE_#3bcm+Ec-$y@b}wRItZPw*v05H_=JO5I?wWl5i^`GrGG5t8&@LYU z%*$nTE!>y~z0K#;A5oxo9N^Ql0SRz|USxa1-S5=5yoPC-mqr30Z+#Bcg(RIZAC^+XdDd)E^ zQlUsDGntu_sA^Vozr?Zi!a!k>hCUqXxc$-o>5r?e3%gW06U^Uxq0;2Qlgt(+c%eu=bCQQk((-H27h58NA-|IzT)>Hn;QA zjVaLpreR6B-Ubrb-A6YQeA(>&)qYG3;jY_P1FtsATD!zl9>5V_`j0)><28;#q;HSJ z&&iy%2d8}5wRDWXy9?Ouo^f;ptz}c~FgLhXrr^P=HXA-N`h85sEtoxh($PWPq}O^> z-p;Y^ZA1;dQ<`5yblmeIP1ewA=&)szr}kG%fPpN=sJb#6o#t?8y=yNP#iuXe^G>_O7ol7e`uleF<3KLjb3Bf2_s z4$BR`Pax7r2;`BpZ24C(!$lOX5(Iko6kOy9m2wtiq5#2rfdU{>cG(xmZhn|T*U~E` z2$~kRn^-IpLI9))L8cOf|Aw(5%!$!T9ZT^4CPDB7XE9tXr2-%Vk5L^N3W&f(P%JN{ zixVhC^)sM&_3N6cgJPZq6dHE%F;$~1S5!&Q zAc)Xegn$H#4|unhtl3{XkQ1OG zvl*UnV{!r;Ozt-OxyvFf-KF2dB5=imkqU-wJe>Ippejy8G<|ZeQuPRzo$1RNd@m>eAsvhL^Ao2cKk}a~WFei?zM1WRHWd-tZkh4GI;_opJ)B6qj-=4+^ ztZKKU292*kas^OBpqAeUTk%!37P;90%ws|&x1xp)@;5fyu+mQzJh10`Ba?`LTIk`m zZXZmRh-)zcHYW+>=2|gN0HdyO?Z}k4;5Rw)i>6sxEGTZCBEZfJ(eC!r+cuv!=?uWU zfC>pv!5<@Wn~fgDkOhjOVQIpu?77Y`vM^W8`6UHpvFVT|@(o~Z*84E=3qtnc=qUKo z?-TK%rTjzs)|#v5PYuphG!WWvl1z^B1sCv~0H%7vC3P696iW77Q=jE8Bg|yzBmn$T zFv%_shKI-986?+s`5r((vv=Xd^do-!%Gs(p;C_oIgkQKUs*={~8OxK39|sFpT@z+u zR*zPS8sC&S5o2irz$l-JuGbW>B}&5E7E7n6TD+9oY4jdw>N5ybN*4@;Nu1^zms20v z(5NVq+q!%)=H@B&*p+3H%SoAd?!KwW6e@v=Js#UvW|C|1+>H%fq92ZcE`ruBSmyfFZ zHZFjo{v&aoYs~F$sEt3C%i;muhDi)6ws3hs_onMF3P|%bRQf#8iuyE5T!}1{&Hisv zcq&86r;JL!DtCRjP}Au6x?#P;5Kd`=y#QnhCr8+#J56=hT`sk<>3KO-3|TQUFkV zk-r<~v>sEU8-%lhuWHl3JLc7#T{510N`1ELiVkQ#UOo5E*^9q*)c15qpQtY^*X;_jeg~m7Q+t2)lgzk57nMubshh*6J^B3P{0N|KgYr-=`9jG5;-e=~8bQ zVr&M1`T~zlECkL){PXOFsWt-o{8>Cpj`>6gDP;k#FE-Nb+P60b9Ms<>?9+i@h-gg# z5ulb8(?b7RyXh6-`t0{3&ov?oo?lQ z^}4b5LZHf|(Bo#n)ZtCE3^QH)AK#mXh}3xboEC_aJWT z{PpVT%F)fQ(=dW9nNm|i>N!cxNm?sF9$dKYo9$Eund4P8W>pxcW~s?mgNZKrl&AtH z{8$Kt7Cld1-pg|p8Yk*yM8}6JT9b+Jw8sYpUaxEUxiob4qd#>w+p6NZe*HC0wZM%C zMl(8oxWa@tNESYNK8$R=yec1zRP_?&2?;w90HLqe0eY?ejD2dH(bw#zK|7VZ^p2b< zm$xAnx|b)hiG{0zRo2>7zVN=CYm?SAWWlF@zZOIfhW8D@qu_o9E+_AQQARtA4WguV`R57`On&KPw%uLKF&OBz_&aJDt~t^_@~9V^PX zn^P46YCV?POkCG@G&;mc<$-KKt35Zbsi>sp(owGxKWia5EV3jgQOPqZ&Xt%ltIaAA z&(M4iZG{&J@$@vIE0L$&Rp})H{0!*R+PlH)<9Sv6L=__jGeiSVM!;FF9mV}42{fuL z9=kQpme+*vjU9hB+c#Er)?(421x7XaM2@?0L3A&hPwjW?MPP#l7NjC~Giq`6cbafp zGlYnw=!(9g!lN7QcTg>(e4tjZj8CC71qX;1BH)3C_ijRZ}@Vi+Kj-9u2j9{E!MciN3U&}^xAbmYXFmXZWN3@FfGz< zmey*SFe?x8c#UKSIH2kHccK11oY<)PAt!(JfmeBTGLBtJGFDupOq03TID%i>>xa0Rsk$Os}5m!Lu2E9TF|l8Az> z9Ka}Kjg==FBP`8bLhypkt4oQyBNvY%0!ZY@h%CD?Fo?W^J_RjYh2v9mELJz z24~GP8pAWfW44`2JY&28MK{XotWh3fWY-R_`1XA`C&jH|_CDI-7jBWTU~&KiTx0Sf zO2E8mgUQvtcB~hjx-;ROsdk~-pM+)2(4^KpQq|BCHovdtOq%o&sBu!RvU7jwtOyqc z$syL2Kx}C0wDe*CkPXI*g%nv;0%*|3Ox>s85d2v3Lzqqrm-DUxImS!o{kE`uV7ll^ zG?|68O*a~tA1`TEUSh80Z1+U-yS2=q^bO5?T5?$PD}OIMFA*Ul9KkCDPOsl6;3Zx{ zpQ#Gcpe#V`mjbZhZVso@C9?K`%i>J${9s;p{UcafQF7%N(xixYUP%d=Y7&>i@RzsTMm!4z=)QWmx8z(XJDVDtbXe z<@7O!c|enXO|RNqUipD3eq6Yc(hEik^6&sjrZ#WUf)#UX2(FSHMPFFYO54En0e-D8 z%wOFn#5iB^_2q_uA@GUpQ)#mz&8`u;22IL-3BuD2DgMlh=a0uf-#ddG+0GAX) zO~VKs?Nv$_TuC)x^z{w_T;Il5Epc3pG*(4HXL)T8{vJtu`DTlrMClpdxnO9+cA#Vh zje6|UHTf8F(|7cmIUxOAnYehP5gXF+*P;<(u$LaL&}i14>1Ks85HKz@i;S#rKeq{< zxwh$;BCwVAYw3Ku1@p!I!5XZc_lxCMcpj4Ys$Bd-7-zkq@1%_}rlw5W+1bR@xLGo^7PB&qfa|l2 zEkkLap4f1Cb3z<#38yaYi0VgdA)&Rm8*{f>Qw!fNTEiIP0vg*vb1L-Cw_LsRFInC0 z1ldlU%mkAIb|w37Mi#u zN?++gRiqdI`o(QxVmt68EKT!EVZn4wA{0gn=pLNQ*EO-!=lT+L+YAAYFt&20jN(K#51x_g#tU zD5aH*B1GhZ8nSLs1(~XE;~Arhtefe{BQ>AY7GZb7W}pH^HH;L=09FK}_Tai|2(~d) z!W}O62myhHC)J4mh9MZ8nYuH_KNm-W+?fj0m_}Q?2_nx4N0Z$_p~a9~0PqD?>tIwf z{byrt4~d=xs{gXp>Q@I{ZvXLE%8Ph}j};T~#fK)F3%eFVqsA?cB~ar2({lKR0Go<_ zvoRkC!pb!-ng6))pDnxOAE=Nv;I8hrG6am!1vsplk9~ac@Q=F!w-CULG49;Y|H4U* z(wwa~(qYSseV)tZF0a^>!xz-8^fZh7Co$q(@BYuLzRFK>loWUcyXOR=K>MSpvMGus%ooMbExl0EpHXoZM|!d?lrZ%xtq*9)7cKB!|B=IBI%z2o{qM>0i#TCvo@Sy zunmB%@_Krfyy2^HVw9i(_H61&Vhbgfiw)BMe+?x}&?2$suG;RC-bZ&}9>781Qv-Qo{6@=quvj$J2fjFV0r84eB$;*LMm&cP%|W!JBxiAh_xk z4y_|5VW>#dYWY&M#m?msOE@S0;jJ>UZ;|TEuGqY%+dp=nrBM&!ajkXBMvZR_(Nf@8 zC)7~+ZYd>W=A?f2M|-A9)2w{c^ep~st_atHX^_K~8KPVSJ+|7@1-Txr0ts#a5KJhu^Y>YZsLx|>o z)RK-X_v2JcC|HykQ#&H*2l7{a{(k&gXiP1|vR|3_vF)8|9qS2%LtM^_Ik(QD!#fZe zbN&4MBq!p%eOTM2az=d5q=4y-O{aEmRd+w@bfAsSX?}`y4voi|N9REfR|ZH)+nfSh zbc?1&|02V}u87W=8}V&zjdicN!hANyCMIYz6?dpByhAgDH$E)4k8ynptBsmCNCC;E zo&IFu``ayE$iRxQw8VYKYf8;2z)C(aVBAGIHZdF8+&oRXH?G~%wQ>|1qh+i^f?IQ* z0dE>@%V-wz!m^&7jh=3fCHwGDJkHr%;PAfLdZP56*qUZwfd?NY`0o=bpJujblYSiZ zjO5J5-hNY9?!7Yo^74zE2gRk8!3zgF{9!YD&nNkfJ9f_U3iXbKd+EBul}UQ?rCa26S{Y?pT0jyK6CO>gy#b#QaO zu6)0X)Y8^=Jv7LxRXfr(51sDX%dV3-w_#D4lGnj@GX>++*T1C*HQcnv|N73=+#X-k zC=9D$YrPr3S@~v~PH-6UcF==rp5ZO)MO>z~fqEK#M;qW7Nv!rrb )%tfuK7;VXm eNr{nr9Fh*Y4B0+?D(nXd;HA8}T;+?m!T$sGn*~n* literal 0 HcmV?d00001 diff --git a/www/cordova.js b/www/cordova.js new file mode 100644 index 0000000..f4c4c9f --- /dev/null +++ b/www/cordova.js @@ -0,0 +1,1904 @@ +// Platform: cordova-android +// cordova-js 6.1.0 +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +*/ +;(function() { +var PLATFORM_VERSION_BUILD_LABEL = '10.1.2'; +// file: src/scripts/require.js +var require; +var define; + +(function () { + var modules = {}; + // Stack of moduleIds currently being built. + var requireStack = []; + // Map of module ID -> index into requireStack of modules currently being built. + var inProgressModules = {}; + var SEPARATOR = '.'; + + function build (module) { + var factory = module.factory; + var localRequire = function (id) { + var resultantId = id; + // Its a relative path, so lop off the last portion and add the id (minus "./") + if (id.charAt(0) === '.') { + resultantId = module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2); + } + return require(resultantId); + }; + module.exports = {}; + delete module.factory; + factory(localRequire, module.exports, module); + return module.exports; + } + + require = function (id) { + if (!modules[id]) { + throw new Error('module ' + id + ' not found'); + } else if (id in inProgressModules) { + var cycle = requireStack.slice(inProgressModules[id]).join('->') + '->' + id; + throw new Error('Cycle in require graph: ' + cycle); + } + if (modules[id].factory) { + try { + inProgressModules[id] = requireStack.length; + requireStack.push(id); + return build(modules[id]); + } finally { + delete inProgressModules[id]; + requireStack.pop(); + } + } + return modules[id].exports; + }; + + define = function (id, factory) { + if (Object.prototype.hasOwnProperty.call(modules, id)) { + throw new Error('module ' + id + ' already defined'); + } + + modules[id] = { + id: id, + factory: factory + }; + }; + + define.remove = function (id) { + delete modules[id]; + }; + + define.moduleMap = modules; +})(); + +// Export for use in node +if (typeof module === 'object' && typeof require === 'function') { + module.exports.require = require; + module.exports.define = define; +} + +// file: src/cordova.js +define("cordova", function(require, exports, module) { + +// Workaround for Windows 10 in hosted environment case +// http://www.w3.org/html/wg/drafts/html/master/browsers.html#named-access-on-the-window-object +if (window.cordova && !(window.cordova instanceof HTMLElement)) { + throw new Error('cordova already defined'); +} + +var channel = require('cordova/channel'); +var platform = require('cordova/platform'); + +/** + * Intercept calls to addEventListener + removeEventListener and handle deviceready, + * resume, and pause events. + */ +var m_document_addEventListener = document.addEventListener; +var m_document_removeEventListener = document.removeEventListener; +var m_window_addEventListener = window.addEventListener; +var m_window_removeEventListener = window.removeEventListener; + +/** + * Houses custom event handlers to intercept on document + window event listeners. + */ +var documentEventHandlers = {}; +var windowEventHandlers = {}; + +document.addEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + if (typeof documentEventHandlers[e] !== 'undefined') { + documentEventHandlers[e].subscribe(handler); + } else { + m_document_addEventListener.call(document, evt, handler, capture); + } +}; + +window.addEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + if (typeof windowEventHandlers[e] !== 'undefined') { + windowEventHandlers[e].subscribe(handler); + } else { + m_window_addEventListener.call(window, evt, handler, capture); + } +}; + +document.removeEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + // If unsubscribing from an event that is handled by a plugin + if (typeof documentEventHandlers[e] !== 'undefined') { + documentEventHandlers[e].unsubscribe(handler); + } else { + m_document_removeEventListener.call(document, evt, handler, capture); + } +}; + +window.removeEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + // If unsubscribing from an event that is handled by a plugin + if (typeof windowEventHandlers[e] !== 'undefined') { + windowEventHandlers[e].unsubscribe(handler); + } else { + m_window_removeEventListener.call(window, evt, handler, capture); + } +}; + +function createEvent (type, data) { + var event = document.createEvent('Events'); + event.initEvent(type, false, false); + if (data) { + for (var i in data) { + if (Object.prototype.hasOwnProperty.call(data, i)) { + event[i] = data[i]; + } + } + } + return event; +} + +var cordova = { + define: define, + require: require, + version: PLATFORM_VERSION_BUILD_LABEL, + platformVersion: PLATFORM_VERSION_BUILD_LABEL, + platformId: platform.id, + + /** + * Methods to add/remove your own addEventListener hijacking on document + window. + */ + addWindowEventHandler: function (event) { + return (windowEventHandlers[event] = channel.create(event)); + }, + addStickyDocumentEventHandler: function (event) { + return (documentEventHandlers[event] = channel.createSticky(event)); + }, + addDocumentEventHandler: function (event) { + return (documentEventHandlers[event] = channel.create(event)); + }, + removeWindowEventHandler: function (event) { + delete windowEventHandlers[event]; + }, + removeDocumentEventHandler: function (event) { + delete documentEventHandlers[event]; + }, + + /** + * Retrieve original event handlers that were replaced by Cordova + * + * @return object + */ + getOriginalHandlers: function () { + return { + document: { + addEventListener: m_document_addEventListener, + removeEventListener: m_document_removeEventListener + }, + window: { + addEventListener: m_window_addEventListener, + removeEventListener: m_window_removeEventListener + } + }; + }, + + /** + * Method to fire event from native code + * bNoDetach is required for events which cause an exception which needs to be caught in native code + */ + fireDocumentEvent: function (type, data, bNoDetach) { + var evt = createEvent(type, data); + if (typeof documentEventHandlers[type] !== 'undefined') { + if (bNoDetach) { + documentEventHandlers[type].fire(evt); + } else { + setTimeout(function () { + // Fire deviceready on listeners that were registered before cordova.js was loaded. + if (type === 'deviceready') { + document.dispatchEvent(evt); + } + documentEventHandlers[type].fire(evt); + }, 0); + } + } else { + document.dispatchEvent(evt); + } + }, + + fireWindowEvent: function (type, data) { + var evt = createEvent(type, data); + if (typeof windowEventHandlers[type] !== 'undefined') { + setTimeout(function () { + windowEventHandlers[type].fire(evt); + }, 0); + } else { + window.dispatchEvent(evt); + } + }, + + /** + * Plugin callback mechanism. + */ + // Randomize the starting callbackId to avoid collisions after refreshing or navigating. + // This way, it's very unlikely that any new callback would get the same callbackId as an old callback. + callbackId: Math.floor(Math.random() * 2000000000), + callbacks: {}, + callbackStatus: { + NO_RESULT: 0, + OK: 1, + CLASS_NOT_FOUND_EXCEPTION: 2, + ILLEGAL_ACCESS_EXCEPTION: 3, + INSTANTIATION_EXCEPTION: 4, + MALFORMED_URL_EXCEPTION: 5, + IO_EXCEPTION: 6, + INVALID_ACTION: 7, + JSON_EXCEPTION: 8, + ERROR: 9 + }, + + /** + * Called by native code when returning successful result from an action. + */ + callbackSuccess: function (callbackId, args) { + cordova.callbackFromNative(callbackId, true, args.status, [args.message], args.keepCallback); + }, + + /** + * Called by native code when returning error result from an action. + */ + callbackError: function (callbackId, args) { + // TODO: Deprecate callbackSuccess and callbackError in favour of callbackFromNative. + // Derive success from status. + cordova.callbackFromNative(callbackId, false, args.status, [args.message], args.keepCallback); + }, + + /** + * Called by native code when returning the result from an action. + */ + callbackFromNative: function (callbackId, isSuccess, status, args, keepCallback) { + try { + var callback = cordova.callbacks[callbackId]; + if (callback) { + if (isSuccess && status === cordova.callbackStatus.OK) { + callback.success && callback.success.apply(null, args); + } else if (!isSuccess) { + callback.fail && callback.fail.apply(null, args); + } + /* + else + Note, this case is intentionally not caught. + this can happen if isSuccess is true, but callbackStatus is NO_RESULT + which is used to remove a callback from the list without calling the callbacks + typically keepCallback is false in this case + */ + // Clear callback if not expecting any more results + if (!keepCallback) { + delete cordova.callbacks[callbackId]; + } + } + } catch (err) { + var msg = 'Error in ' + (isSuccess ? 'Success' : 'Error') + ' callbackId: ' + callbackId + ' : ' + err; + cordova.fireWindowEvent('cordovacallbackerror', { message: msg, error: err }); + throw err; + } + }, + + addConstructor: function (func) { + channel.onCordovaReady.subscribe(function () { + try { + func(); + } catch (e) { + console.log('Failed to run constructor: ' + e); + } + }); + } +}; + +module.exports = cordova; + +}); + +// file: ../../cordova-js-src/android/nativeapiprovider.js +define("cordova/android/nativeapiprovider", function(require, exports, module) { + +/** + * Exports the ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi. + */ + +var nativeApi = this._cordovaNative || require('cordova/android/promptbasednativeapi'); +var currentApi = nativeApi; + +module.exports = { + get: function () { return currentApi; }, + setPreferPrompt: function (value) { + currentApi = value ? require('cordova/android/promptbasednativeapi') : nativeApi; + }, + // Used only by tests. + set: function (value) { + currentApi = value; + } +}; + +}); + +// file: ../../cordova-js-src/android/promptbasednativeapi.js +define("cordova/android/promptbasednativeapi", function(require, exports, module) { + +/** + * Implements the API of ExposedJsApi.java, but uses prompt() to communicate. + * This is used pre-JellyBean, where addJavascriptInterface() is disabled. + */ + +module.exports = { + exec: function (bridgeSecret, service, action, callbackId, argsJson) { + return prompt(argsJson, 'gap:' + JSON.stringify([bridgeSecret, service, action, callbackId])); + }, + setNativeToJsBridgeMode: function (bridgeSecret, value) { + prompt(value, 'gap_bridge_mode:' + bridgeSecret); + }, + retrieveJsMessages: function (bridgeSecret, fromOnlineEvent) { + return prompt(+fromOnlineEvent, 'gap_poll:' + bridgeSecret); + } +}; + +}); + +// file: src/common/argscheck.js +define("cordova/argscheck", function(require, exports, module) { + +var utils = require('cordova/utils'); + +var moduleExports = module.exports; + +var typeMap = { + A: 'Array', + D: 'Date', + N: 'Number', + S: 'String', + F: 'Function', + O: 'Object' +}; + +function extractParamName (callee, argIndex) { + return (/\(\s*([^)]*?)\s*\)/).exec(callee)[1].split(/\s*,\s*/)[argIndex]; +} + +/** + * Checks the given arguments' types and throws if they are not as expected. + * + * `spec` is a string where each character stands for the required type of the + * argument at the same position. In other words: the character at `spec[i]` + * specifies the required type for `args[i]`. The characters in `spec` are the + * first letter of the required type's name. The supported types are: + * + * Array, Date, Number, String, Function, Object + * + * Lowercase characters specify arguments that must not be `null` or `undefined` + * while uppercase characters allow those values to be passed. + * + * Finally, `*` can be used to allow any type at the corresponding position. + * + * @example + * function foo (arr, opts) { + * // require `arr` to be an Array and `opts` an Object, null or undefined + * checkArgs('aO', 'my.package.foo', arguments); + * // ... + * } + * @param {String} spec - the type specification for `args` as described above + * @param {String} functionName - full name of the callee. + * Used in the error message + * @param {Array|arguments} args - the arguments to be checked against `spec` + * @param {Function} [opt_callee=args.callee] - the recipient of `args`. + * Used to extract parameter names for the error message + * @throws {TypeError} if args do not satisfy spec + */ +function checkArgs (spec, functionName, args, opt_callee) { + if (!moduleExports.enableChecks) { + return; + } + var errMsg = null; + var typeName; + for (var i = 0; i < spec.length; ++i) { + var c = spec.charAt(i); + var cUpper = c.toUpperCase(); + var arg = args[i]; + // Asterix means allow anything. + if (c === '*') { + continue; + } + typeName = utils.typeName(arg); + if ((arg === null || arg === undefined) && c === cUpper) { + continue; + } + if (typeName !== typeMap[cUpper]) { + errMsg = 'Expected ' + typeMap[cUpper]; + break; + } + } + if (errMsg) { + errMsg += ', but got ' + typeName + '.'; + errMsg = 'Wrong type for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' + functionName + ': ' + errMsg; + // Don't log when running unit tests. + if (typeof jasmine === 'undefined') { + console.error(errMsg); + } + throw TypeError(errMsg); + } +} + +function getValue (value, defaultValue) { + return value === undefined ? defaultValue : value; +} + +moduleExports.checkArgs = checkArgs; +moduleExports.getValue = getValue; +moduleExports.enableChecks = true; + +}); + +// file: src/common/base64.js +define("cordova/base64", function(require, exports, module) { + +var base64 = exports; + +base64.fromArrayBuffer = function (arrayBuffer) { + var array = new Uint8Array(arrayBuffer); + return uint8ToBase64(array); +}; + +base64.toArrayBuffer = function (str) { + var decodedStr = atob(str); + var arrayBuffer = new ArrayBuffer(decodedStr.length); + var array = new Uint8Array(arrayBuffer); + for (var i = 0, len = decodedStr.length; i < len; i++) { + array[i] = decodedStr.charCodeAt(i); + } + return arrayBuffer; +}; + +// ------------------------------------------------------------------------------ + +/* This code is based on the performance tests at http://jsperf.com/b64tests + * This 12-bit-at-a-time algorithm was the best performing version on all + * platforms tested. + */ + +var b64_6bit = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; +var b64_12bit; + +var b64_12bitTable = function () { + b64_12bit = []; + for (var i = 0; i < 64; i++) { + for (var j = 0; j < 64; j++) { + b64_12bit[i * 64 + j] = b64_6bit[i] + b64_6bit[j]; + } + } + b64_12bitTable = function () { return b64_12bit; }; + return b64_12bit; +}; + +function uint8ToBase64 (rawData) { + var numBytes = rawData.byteLength; + var output = ''; + var segment; + var table = b64_12bitTable(); + for (var i = 0; i < numBytes - 2; i += 3) { + segment = (rawData[i] << 16) + (rawData[i + 1] << 8) + rawData[i + 2]; + output += table[segment >> 12]; + output += table[segment & 0xfff]; + } + if (numBytes - i === 2) { + segment = (rawData[i] << 16) + (rawData[i + 1] << 8); + output += table[segment >> 12]; + output += b64_6bit[(segment & 0xfff) >> 6]; + output += '='; + } else if (numBytes - i === 1) { + segment = (rawData[i] << 16); + output += table[segment >> 12]; + output += '=='; + } + return output; +} + +}); + +// file: src/common/builder.js +define("cordova/builder", function(require, exports, module) { + +var utils = require('cordova/utils'); + +function each (objects, func, context) { + for (var prop in objects) { + if (Object.prototype.hasOwnProperty.call(objects, prop)) { + func.apply(context, [objects[prop], prop]); + } + } +} + +function clobber (obj, key, value) { + var needsProperty = false; + try { + obj[key] = value; + } catch (e) { + needsProperty = true; + } + // Getters can only be overridden by getters. + if (needsProperty || obj[key] !== value) { + utils.defineGetter(obj, key, function () { + return value; + }); + } +} + +function assignOrWrapInDeprecateGetter (obj, key, value, message) { + if (message) { + utils.defineGetter(obj, key, function () { + console.log(message); + delete obj[key]; + clobber(obj, key, value); + return value; + }); + } else { + clobber(obj, key, value); + } +} + +function include (parent, objects, clobber, merge) { + each(objects, function (obj, key) { + try { + var result = obj.path ? require(obj.path) : {}; + + if (clobber) { + // Clobber if it doesn't exist. + if (typeof parent[key] === 'undefined') { + assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated); + } else if (typeof obj.path !== 'undefined') { + // If merging, merge properties onto parent, otherwise, clobber. + if (merge) { + recursiveMerge(parent[key], result); + } else { + assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated); + } + } + result = parent[key]; + } else { + // Overwrite if not currently defined. + if (typeof parent[key] === 'undefined') { + assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated); + } else { + // Set result to what already exists, so we can build children into it if they exist. + result = parent[key]; + } + } + + if (obj.children) { + include(result, obj.children, clobber, merge); + } + } catch (e) { + utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key + '"'); + } + }); +} + +/** + * Merge properties from one object onto another recursively. Properties from + * the src object will overwrite existing target property. + * + * @param target Object to merge properties into. + * @param src Object to merge properties from. + */ +function recursiveMerge (target, src) { + for (var prop in src) { + if (Object.prototype.hasOwnProperty.call(src, prop)) { + if (target.prototype && target.prototype.constructor === target) { + // If the target object is a constructor override off prototype. + clobber(target.prototype, prop, src[prop]); + } else { + if (typeof src[prop] === 'object' && typeof target[prop] === 'object') { + recursiveMerge(target[prop], src[prop]); + } else { + clobber(target, prop, src[prop]); + } + } + } + } +} + +exports.buildIntoButDoNotClobber = function (objects, target) { + include(target, objects, false, false); +}; +exports.buildIntoAndClobber = function (objects, target) { + include(target, objects, true, false); +}; +exports.buildIntoAndMerge = function (objects, target) { + include(target, objects, true, true); +}; +exports.recursiveMerge = recursiveMerge; +exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter; + +}); + +// file: src/common/channel.js +define("cordova/channel", function(require, exports, module) { + +var utils = require('cordova/utils'); +var nextGuid = 1; + +/** + * Custom pub-sub "channel" that can have functions subscribed to it + * This object is used to define and control firing of events for + * cordova initialization, as well as for custom events thereafter. + * + * The order of events during page load and Cordova startup is as follows: + * + * onDOMContentLoaded* Internal event that is received when the web page is loaded and parsed. + * onNativeReady* Internal event that indicates the Cordova native side is ready. + * onCordovaReady* Internal event fired when all Cordova JavaScript objects have been created. + * onDeviceReady* User event fired to indicate that Cordova is ready + * onResume User event fired to indicate a start/resume lifecycle event + * onPause User event fired to indicate a pause lifecycle event + * + * The events marked with an * are sticky. Once they have fired, they will stay in the fired state. + * All listeners that subscribe after the event is fired will be executed right away. + * + * The only Cordova events that user code should register for are: + * deviceready Cordova native code is initialized and Cordova APIs can be called from JavaScript + * pause App has moved to background + * resume App has returned to foreground + * + * Listeners can be registered as: + * document.addEventListener("deviceready", myDeviceReadyListener, false); + * document.addEventListener("resume", myResumeListener, false); + * document.addEventListener("pause", myPauseListener, false); + * + * The DOM lifecycle events should be used for saving and restoring state + * window.onload + * window.onunload + * + */ + +/** + * Channel + * @constructor + * @param type String the channel name + */ +var Channel = function (type, sticky) { + this.type = type; + // Map of guid -> function. + this.handlers = {}; + // 0 = Non-sticky, 1 = Sticky non-fired, 2 = Sticky fired. + this.state = sticky ? 1 : 0; + // Used in sticky mode to remember args passed to fire(). + this.fireArgs = null; + // Used by onHasSubscribersChange to know if there are any listeners. + this.numHandlers = 0; + // Function that is called when the first listener is subscribed, or when + // the last listener is unsubscribed. + this.onHasSubscribersChange = null; +}; +var channel = { + /** + * Calls the provided function only after all of the channels specified + * have been fired. All channels must be sticky channels. + */ + join: function (h, c) { + var len = c.length; + var i = len; + var f = function () { + if (!(--i)) h(); + }; + for (var j = 0; j < len; j++) { + if (c[j].state === 0) { + throw Error('Can only use join with sticky channels.'); + } + c[j].subscribe(f); + } + if (!len) h(); + }, + + create: function (type) { + return (channel[type] = new Channel(type, false)); + }, + createSticky: function (type) { + return (channel[type] = new Channel(type, true)); + }, + + /** + * cordova Channels that must fire before "deviceready" is fired. + */ + deviceReadyChannelsArray: [], + deviceReadyChannelsMap: {}, + + /** + * Indicate that a feature needs to be initialized before it is ready to be used. + * This holds up Cordova's "deviceready" event until the feature has been initialized + * and Cordova.initComplete(feature) is called. + * + * @param feature {String} The unique feature name + */ + waitForInitialization: function (feature) { + if (feature) { + var c = channel[feature] || this.createSticky(feature); + this.deviceReadyChannelsMap[feature] = c; + this.deviceReadyChannelsArray.push(c); + } + }, + + /** + * Indicate that initialization code has completed and the feature is ready to be used. + * + * @param feature {String} The unique feature name + */ + initializationComplete: function (feature) { + var c = this.deviceReadyChannelsMap[feature]; + if (c) { + c.fire(); + } + } +}; + +function checkSubscriptionArgument (argument) { + if (typeof argument !== 'function' && typeof argument.handleEvent !== 'function') { + throw new Error( + 'Must provide a function or an EventListener object ' + + 'implementing the handleEvent interface.' + ); + } +} + +/** + * Subscribes the given function to the channel. Any time that + * Channel.fire is called so too will the function. + * Optionally specify an execution context for the function + * and a guid that can be used to stop subscribing to the channel. + * Returns the guid. + */ +Channel.prototype.subscribe = function (eventListenerOrFunction, eventListener) { + checkSubscriptionArgument(eventListenerOrFunction); + var handleEvent, guid; + + if (eventListenerOrFunction && typeof eventListenerOrFunction === 'object') { + // Received an EventListener object implementing the handleEvent interface + handleEvent = eventListenerOrFunction.handleEvent; + eventListener = eventListenerOrFunction; + } else { + // Received a function to handle event + handleEvent = eventListenerOrFunction; + } + + if (this.state === 2) { + handleEvent.apply(eventListener || this, this.fireArgs); + return; + } + + guid = eventListenerOrFunction.observer_guid; + if (typeof eventListener === 'object') { + handleEvent = utils.close(eventListener, handleEvent); + } + + if (!guid) { + // First time any channel has seen this subscriber + guid = '' + nextGuid++; + } + handleEvent.observer_guid = guid; + eventListenerOrFunction.observer_guid = guid; + + // Don't add the same handler more than once. + if (!this.handlers[guid]) { + this.handlers[guid] = handleEvent; + this.numHandlers++; + if (this.numHandlers === 1) { + this.onHasSubscribersChange && this.onHasSubscribersChange(); + } + } +}; + +/** + * Unsubscribes the function with the given guid from the channel. + */ +Channel.prototype.unsubscribe = function (eventListenerOrFunction) { + checkSubscriptionArgument(eventListenerOrFunction); + var handleEvent, guid, handler; + + if (eventListenerOrFunction && typeof eventListenerOrFunction === 'object') { + // Received an EventListener object implementing the handleEvent interface + handleEvent = eventListenerOrFunction.handleEvent; + } else { + // Received a function to handle event + handleEvent = eventListenerOrFunction; + } + + guid = handleEvent.observer_guid; + handler = this.handlers[guid]; + if (handler) { + delete this.handlers[guid]; + this.numHandlers--; + if (this.numHandlers === 0) { + this.onHasSubscribersChange && this.onHasSubscribersChange(); + } + } +}; + +/** + * Calls all functions subscribed to this channel. + */ +Channel.prototype.fire = function (e) { + var fireArgs = Array.prototype.slice.call(arguments); + // Apply stickiness. + if (this.state === 1) { + this.state = 2; + this.fireArgs = fireArgs; + } + if (this.numHandlers) { + // Copy the values first so that it is safe to modify it from within + // callbacks. + var toCall = []; + for (var item in this.handlers) { + toCall.push(this.handlers[item]); + } + for (var i = 0; i < toCall.length; ++i) { + toCall[i].apply(this, fireArgs); + } + if (this.state === 2 && this.numHandlers) { + this.numHandlers = 0; + this.handlers = {}; + this.onHasSubscribersChange && this.onHasSubscribersChange(); + } + } +}; + +// defining them here so they are ready super fast! +// DOM event that is received when the web page is loaded and parsed. +channel.createSticky('onDOMContentLoaded'); + +// Event to indicate the Cordova native side is ready. +channel.createSticky('onNativeReady'); + +// Event to indicate that all Cordova JavaScript objects have been created +// and it's time to run plugin constructors. +channel.createSticky('onCordovaReady'); + +// Event to indicate that all automatically loaded JS plugins are loaded and ready. +// FIXME remove this +channel.createSticky('onPluginsReady'); + +// Event to indicate that Cordova is ready +channel.createSticky('onDeviceReady'); + +// Event to indicate a resume lifecycle event +channel.create('onResume'); + +// Event to indicate a pause lifecycle event +channel.create('onPause'); + +// Channels that must fire before "deviceready" is fired. +channel.waitForInitialization('onCordovaReady'); +channel.waitForInitialization('onDOMContentLoaded'); + +module.exports = channel; + +}); + +// file: ../../cordova-js-src/exec.js +define("cordova/exec", function(require, exports, module) { + +/** + * Execute a cordova command. It is up to the native side whether this action + * is synchronous or asynchronous. The native side can return: + * Synchronous: PluginResult object as a JSON string + * Asynchronous: Empty string "" + * If async, the native side will cordova.callbackSuccess or cordova.callbackError, + * depending upon the result of the action. + * + * @param {Function} success The success callback + * @param {Function} fail The fail callback + * @param {String} service The name of the service to use + * @param {String} action Action to be run in cordova + * @param {String[]} [args] Zero or more arguments to pass to the method + */ +var cordova = require('cordova'); +var nativeApiProvider = require('cordova/android/nativeapiprovider'); +var utils = require('cordova/utils'); +var base64 = require('cordova/base64'); +var channel = require('cordova/channel'); +var jsToNativeModes = { + PROMPT: 0, + JS_OBJECT: 1 +}; +var nativeToJsModes = { + // Polls for messages using the JS->Native bridge. + POLLING: 0, + // For LOAD_URL to be viable, it would need to have a work-around for + // the bug where the soft-keyboard gets dismissed when a message is sent. + LOAD_URL: 1, + // For the ONLINE_EVENT to be viable, it would need to intercept all event + // listeners (both through addEventListener and window.ononline) as well + // as set the navigator property itself. + ONLINE_EVENT: 2, + EVAL_BRIDGE: 3 +}; +var jsToNativeBridgeMode; // Set lazily. +var nativeToJsBridgeMode = nativeToJsModes.EVAL_BRIDGE; +var pollEnabled = false; +var bridgeSecret = -1; + +var messagesFromNative = []; +var isProcessing = false; +var resolvedPromise = typeof Promise === 'undefined' ? null : Promise.resolve(); +var nextTick = resolvedPromise ? function (fn) { resolvedPromise.then(fn); } : function (fn) { setTimeout(fn); }; + +function androidExec (success, fail, service, action, args) { + if (bridgeSecret < 0) { + // If we ever catch this firing, we'll need to queue up exec()s + // and fire them once we get a secret. For now, I don't think + // it's possible for exec() to be called since plugins are parsed but + // not run until until after onNativeReady. + throw new Error('exec() called without bridgeSecret'); + } + // Set default bridge modes if they have not already been set. + // By default, we use the failsafe, since addJavascriptInterface breaks too often + if (jsToNativeBridgeMode === undefined) { + androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT); + } + + // If args is not provided, default to an empty array + args = args || []; + + // Process any ArrayBuffers in the args into a string. + for (var i = 0; i < args.length; i++) { + if (utils.typeName(args[i]) === 'ArrayBuffer') { + args[i] = base64.fromArrayBuffer(args[i]); + } + } + + var callbackId = service + cordova.callbackId++; + var argsJson = JSON.stringify(args); + if (success || fail) { + cordova.callbacks[callbackId] = { success: success, fail: fail }; + } + + var msgs = nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson); + // If argsJson was received by Java as null, try again with the PROMPT bridge mode. + // This happens in rare circumstances, such as when certain Unicode characters are passed over the bridge on a Galaxy S2. See CB-2666. + if (jsToNativeBridgeMode === jsToNativeModes.JS_OBJECT && msgs === '@Null arguments.') { + androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT); + androidExec(success, fail, service, action, args); + androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT); + } else if (msgs) { + messagesFromNative.push(msgs); + // Always process async to avoid exceptions messing up stack. + nextTick(processMessages); + } +} + +androidExec.init = function () { + bridgeSecret = +prompt('', 'gap_init:' + nativeToJsBridgeMode); + channel.onNativeReady.fire(); +}; + +function pollOnceFromOnlineEvent () { + pollOnce(true); +} + +function pollOnce (opt_fromOnlineEvent) { + if (bridgeSecret < 0) { + // This can happen when the NativeToJsMessageQueue resets the online state on page transitions. + // We know there's nothing to retrieve, so no need to poll. + return; + } + var msgs = nativeApiProvider.get().retrieveJsMessages(bridgeSecret, !!opt_fromOnlineEvent); + if (msgs) { + messagesFromNative.push(msgs); + // Process sync since we know we're already top-of-stack. + processMessages(); + } +} + +function pollingTimerFunc () { + if (pollEnabled) { + pollOnce(); + setTimeout(pollingTimerFunc, 50); + } +} + +function hookOnlineApis () { + function proxyEvent (e) { + cordova.fireWindowEvent(e.type); + } + // The network module takes care of firing online and offline events. + // It currently fires them only on document though, so we bridge them + // to window here (while first listening for exec()-releated online/offline + // events). + window.addEventListener('online', pollOnceFromOnlineEvent, false); + window.addEventListener('offline', pollOnceFromOnlineEvent, false); + cordova.addWindowEventHandler('online'); + cordova.addWindowEventHandler('offline'); + document.addEventListener('online', proxyEvent, false); + document.addEventListener('offline', proxyEvent, false); +} + +hookOnlineApis(); + +androidExec.jsToNativeModes = jsToNativeModes; +androidExec.nativeToJsModes = nativeToJsModes; + +androidExec.setJsToNativeBridgeMode = function (mode) { + if (mode === jsToNativeModes.JS_OBJECT && !window._cordovaNative) { + mode = jsToNativeModes.PROMPT; + } + nativeApiProvider.setPreferPrompt(mode === jsToNativeModes.PROMPT); + jsToNativeBridgeMode = mode; +}; + +androidExec.setNativeToJsBridgeMode = function (mode) { + if (mode === nativeToJsBridgeMode) { + return; + } + if (nativeToJsBridgeMode === nativeToJsModes.POLLING) { + pollEnabled = false; + } + + nativeToJsBridgeMode = mode; + // Tell the native side to switch modes. + // Otherwise, it will be set by androidExec.init() + if (bridgeSecret >= 0) { + nativeApiProvider.get().setNativeToJsBridgeMode(bridgeSecret, mode); + } + + if (mode === nativeToJsModes.POLLING) { + pollEnabled = true; + setTimeout(pollingTimerFunc, 1); + } +}; + +function buildPayload (payload, message) { + var payloadKind = message.charAt(0); + if (payloadKind === 's') { + payload.push(message.slice(1)); + } else if (payloadKind === 't') { + payload.push(true); + } else if (payloadKind === 'f') { + payload.push(false); + } else if (payloadKind === 'N') { + payload.push(null); + } else if (payloadKind === 'n') { + payload.push(+message.slice(1)); + } else if (payloadKind === 'A') { + var data = message.slice(1); + payload.push(base64.toArrayBuffer(data)); + } else if (payloadKind === 'S') { + payload.push(window.atob(message.slice(1))); + } else if (payloadKind === 'M') { + var multipartMessages = message.slice(1); + while (multipartMessages !== '') { + var spaceIdx = multipartMessages.indexOf(' '); + var msgLen = +multipartMessages.slice(0, spaceIdx); + var multipartMessage = multipartMessages.substr(spaceIdx + 1, msgLen); + multipartMessages = multipartMessages.slice(spaceIdx + msgLen + 1); + buildPayload(payload, multipartMessage); + } + } else { + payload.push(JSON.parse(message)); + } +} + +// Processes a single message, as encoded by NativeToJsMessageQueue.java. +function processMessage (message) { + var firstChar = message.charAt(0); + if (firstChar === 'J') { + // This is deprecated on the .java side. It doesn't work with CSP enabled. + // eslint-disable-next-line no-eval + eval(message.slice(1)); + } else if (firstChar === 'S' || firstChar === 'F') { + var success = firstChar === 'S'; + var keepCallback = message.charAt(1) === '1'; + var spaceIdx = message.indexOf(' ', 2); + var status = +message.slice(2, spaceIdx); + var nextSpaceIdx = message.indexOf(' ', spaceIdx + 1); + var callbackId = message.slice(spaceIdx + 1, nextSpaceIdx); + var payloadMessage = message.slice(nextSpaceIdx + 1); + var payload = []; + buildPayload(payload, payloadMessage); + cordova.callbackFromNative(callbackId, success, status, payload, keepCallback); + } else { + console.log('processMessage failed: invalid message: ' + JSON.stringify(message)); + } +} + +function processMessages () { + // Check for the reentrant case. + if (isProcessing) { + return; + } + if (messagesFromNative.length === 0) { + return; + } + isProcessing = true; + try { + var msg = popMessageFromQueue(); + // The Java side can send a * message to indicate that it + // still has messages waiting to be retrieved. + if (msg === '*' && messagesFromNative.length === 0) { + nextTick(pollOnce); + return; + } + processMessage(msg); + } finally { + isProcessing = false; + if (messagesFromNative.length > 0) { + nextTick(processMessages); + } + } +} + +function popMessageFromQueue () { + var messageBatch = messagesFromNative.shift(); + if (messageBatch === '*') { + return '*'; + } + + var spaceIdx = messageBatch.indexOf(' '); + var msgLen = +messageBatch.slice(0, spaceIdx); + var message = messageBatch.substr(spaceIdx + 1, msgLen); + messageBatch = messageBatch.slice(spaceIdx + msgLen + 1); + if (messageBatch) { + messagesFromNative.unshift(messageBatch); + } + return message; +} + +module.exports = androidExec; + +}); + +// file: src/common/exec/proxy.js +define("cordova/exec/proxy", function(require, exports, module) { + +// internal map of proxy function +var CommandProxyMap = {}; + +module.exports = { + + // example: cordova.commandProxy.add("Accelerometer",{getCurrentAcceleration: function(successCallback, errorCallback, options) {...},...); + add: function (id, proxyObj) { + console.log('adding proxy for ' + id); + CommandProxyMap[id] = proxyObj; + return proxyObj; + }, + + // cordova.commandProxy.remove("Accelerometer"); + remove: function (id) { + var proxy = CommandProxyMap[id]; + delete CommandProxyMap[id]; + CommandProxyMap[id] = null; + return proxy; + }, + + get: function (service, action) { + return (CommandProxyMap[service] ? CommandProxyMap[service][action] : null); + } +}; + +}); + +// file: src/common/init.js +define("cordova/init", function(require, exports, module) { + +var channel = require('cordova/channel'); +var cordova = require('cordova'); +var modulemapper = require('cordova/modulemapper'); +var platform = require('cordova/platform'); +var pluginloader = require('cordova/pluginloader'); + +var platformInitChannelsArray = [channel.onNativeReady, channel.onPluginsReady]; + +function logUnfiredChannels (arr) { + for (var i = 0; i < arr.length; ++i) { + if (arr[i].state !== 2) { + console.log('Channel not fired: ' + arr[i].type); + } + } +} + +window.setTimeout(function () { + if (channel.onDeviceReady.state !== 2) { + console.log('deviceready has not fired after 5 seconds.'); + logUnfiredChannels(platformInitChannelsArray); + logUnfiredChannels(channel.deviceReadyChannelsArray); + } +}, 5000); + +if (!window.console) { + window.console = { + log: function () {} + }; +} +if (!window.console.warn) { + window.console.warn = function (msg) { + this.log('warn: ' + msg); + }; +} + +// Register pause, resume and deviceready channels as events on document. +channel.onPause = cordova.addDocumentEventHandler('pause'); +channel.onResume = cordova.addDocumentEventHandler('resume'); +channel.onActivated = cordova.addDocumentEventHandler('activated'); +channel.onDeviceReady = cordova.addStickyDocumentEventHandler('deviceready'); + +// Listen for DOMContentLoaded and notify our channel subscribers. +if (document.readyState === 'complete' || document.readyState === 'interactive') { + channel.onDOMContentLoaded.fire(); +} else { + document.addEventListener('DOMContentLoaded', function () { + channel.onDOMContentLoaded.fire(); + }, false); +} + +// _nativeReady is global variable that the native side can set +// to signify that the native code is ready. It is a global since +// it may be called before any cordova JS is ready. +if (window._nativeReady) { + channel.onNativeReady.fire(); +} + +modulemapper.clobbers('cordova', 'cordova'); +modulemapper.clobbers('cordova/exec', 'cordova.exec'); +modulemapper.clobbers('cordova/exec', 'Cordova.exec'); + +// Call the platform-specific initialization. +platform.bootstrap && platform.bootstrap(); + +// Wrap in a setTimeout to support the use-case of having plugin JS appended to cordova.js. +// The delay allows the attached modules to be defined before the plugin loader looks for them. +setTimeout(function () { + pluginloader.load(function () { + channel.onPluginsReady.fire(); + }); +}, 0); + +/** + * Create all cordova objects once native side is ready. + */ +channel.join(function () { + modulemapper.mapModules(window); + + platform.initialize && platform.initialize(); + + // Fire event to notify that all objects are created + channel.onCordovaReady.fire(); + + // Fire onDeviceReady event once page has fully loaded, all + // constructors have run and cordova info has been received from native + // side. + channel.join(function () { + require('cordova').fireDocumentEvent('deviceready'); + }, channel.deviceReadyChannelsArray); +}, platformInitChannelsArray); + +}); + +// file: src/common/modulemapper.js +define("cordova/modulemapper", function(require, exports, module) { + +var builder = require('cordova/builder'); +var moduleMap = define.moduleMap; +var symbolList; +var deprecationMap; + +exports.reset = function () { + symbolList = []; + deprecationMap = {}; +}; + +function addEntry (strategy, moduleName, symbolPath, opt_deprecationMessage) { + if (!(moduleName in moduleMap)) { + throw new Error('Module ' + moduleName + ' does not exist.'); + } + symbolList.push(strategy, moduleName, symbolPath); + if (opt_deprecationMessage) { + deprecationMap[symbolPath] = opt_deprecationMessage; + } +} + +// Note: Android 2.3 does have Function.bind(). +exports.clobbers = function (moduleName, symbolPath, opt_deprecationMessage) { + addEntry('c', moduleName, symbolPath, opt_deprecationMessage); +}; + +exports.merges = function (moduleName, symbolPath, opt_deprecationMessage) { + addEntry('m', moduleName, symbolPath, opt_deprecationMessage); +}; + +exports.defaults = function (moduleName, symbolPath, opt_deprecationMessage) { + addEntry('d', moduleName, symbolPath, opt_deprecationMessage); +}; + +exports.runs = function (moduleName) { + addEntry('r', moduleName, null); +}; + +function prepareNamespace (symbolPath, context) { + if (!symbolPath) { + return context; + } + return symbolPath.split('.').reduce(function (cur, part) { + return (cur[part] = cur[part] || {}); + }, context); +} + +exports.mapModules = function (context) { + var origSymbols = {}; + context.CDV_origSymbols = origSymbols; + for (var i = 0, len = symbolList.length; i < len; i += 3) { + var strategy = symbolList[i]; + var moduleName = symbolList[i + 1]; + var module = require(moduleName); + // + if (strategy === 'r') { + continue; + } + var symbolPath = symbolList[i + 2]; + var lastDot = symbolPath.lastIndexOf('.'); + var namespace = symbolPath.substr(0, lastDot); + var lastName = symbolPath.substr(lastDot + 1); + + var deprecationMsg = symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath + '. ' + deprecationMsg : null; + var parentObj = prepareNamespace(namespace, context); + var target = parentObj[lastName]; + + if (strategy === 'm' && target) { + builder.recursiveMerge(target, module); + } else if ((strategy === 'd' && !target) || (strategy !== 'd')) { + if (!(symbolPath in origSymbols)) { + origSymbols[symbolPath] = target; + } + builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg); + } + } +}; + +exports.getOriginalSymbol = function (context, symbolPath) { + var origSymbols = context.CDV_origSymbols; + if (origSymbols && (symbolPath in origSymbols)) { + return origSymbols[symbolPath]; + } + var parts = symbolPath.split('.'); + var obj = context; + for (var i = 0; i < parts.length; ++i) { + obj = obj && obj[parts[i]]; + } + return obj; +}; + +exports.reset(); + +}); + +// file: ../../cordova-js-src/platform.js +define("cordova/platform", function(require, exports, module) { + +// The last resume event that was received that had the result of a plugin call. +var lastResumeEvent = null; + +module.exports = { + id: 'android', + bootstrap: function () { + var channel = require('cordova/channel'); + var cordova = require('cordova'); + var exec = require('cordova/exec'); + var modulemapper = require('cordova/modulemapper'); + + // Get the shared secret needed to use the bridge. + exec.init(); + + // TODO: Extract this as a proper plugin. + modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app'); + + var APP_PLUGIN_NAME = Number(cordova.platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App'; + + // Inject a listener for the backbutton on the document. + var backButtonChannel = cordova.addDocumentEventHandler('backbutton'); + backButtonChannel.onHasSubscribersChange = function () { + // If we just attached the first handler or detached the last handler, + // let native know we need to override the back button. + exec(null, null, APP_PLUGIN_NAME, 'overrideBackbutton', [this.numHandlers === 1]); + }; + + // Add hardware MENU and SEARCH button handlers + cordova.addDocumentEventHandler('menubutton'); + cordova.addDocumentEventHandler('searchbutton'); + + function bindButtonChannel (buttonName) { + // generic button bind used for volumeup/volumedown buttons + var volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button'); + volumeButtonChannel.onHasSubscribersChange = function () { + exec(null, null, APP_PLUGIN_NAME, 'overrideButton', [buttonName, this.numHandlers === 1]); + }; + } + // Inject a listener for the volume buttons on the document. + bindButtonChannel('volumeup'); + bindButtonChannel('volumedown'); + + // The resume event is not "sticky", but it is possible that the event + // will contain the result of a plugin call. We need to ensure that the + // plugin result is delivered even after the event is fired (CB-10498) + var cordovaAddEventListener = document.addEventListener; + + document.addEventListener = function (evt, handler, capture) { + cordovaAddEventListener(evt, handler, capture); + + if (evt === 'resume' && lastResumeEvent) { + handler(lastResumeEvent); + } + }; + + // Let native code know we are all done on the JS side. + // Native code will then un-hide the WebView. + channel.onCordovaReady.subscribe(function () { + exec(onMessageFromNative, null, APP_PLUGIN_NAME, 'messageChannel', []); + exec(null, null, APP_PLUGIN_NAME, 'show', []); + }); + } +}; + +function onMessageFromNative (msg) { + var cordova = require('cordova'); + var action = msg.action; + + switch (action) { + // pause and resume are Android app life cycle events + case 'backbutton': + case 'menubutton': + case 'searchbutton': + case 'pause': + case 'volumedownbutton': + case 'volumeupbutton': + cordova.fireDocumentEvent(action); + break; + case 'resume': + if (arguments.length > 1 && msg.pendingResult) { + if (arguments.length === 2) { + msg.pendingResult.result = arguments[1]; + } else { + // The plugin returned a multipart message + var res = []; + for (var i = 1; i < arguments.length; i++) { + res.push(arguments[i]); + } + msg.pendingResult.result = res; + } + + // Save the plugin result so that it can be delivered to the js + // even if they miss the initial firing of the event + lastResumeEvent = msg; + } + cordova.fireDocumentEvent(action, msg); + break; + default: + throw new Error('Unknown event action ' + action); + } +} + +}); + +// file: ../../cordova-js-src/plugin/android/app.js +define("cordova/plugin/android/app", function(require, exports, module) { + +var exec = require('cordova/exec'); +var APP_PLUGIN_NAME = Number(require('cordova').platformVersion.split('.')[0]) >= 4 ? 'CoreAndroid' : 'App'; + +module.exports = { + /** + * Clear the resource cache. + */ + clearCache: function () { + exec(null, null, APP_PLUGIN_NAME, 'clearCache', []); + }, + + /** + * Load the url into the webview or into new browser instance. + * + * @param url The URL to load + * @param props Properties that can be passed in to the activity: + * wait: int => wait msec before loading URL + * loadingDialog: "Title,Message" => display a native loading dialog + * loadUrlTimeoutValue: int => time in msec to wait before triggering a timeout error + * clearHistory: boolean => clear webview history (default=false) + * openExternal: boolean => open in a new browser (default=false) + * + * Example: + * navigator.app.loadUrl("http://server/myapp/index.html", {wait:2000, loadingDialog:"Wait,Loading App", loadUrlTimeoutValue: 60000}); + */ + loadUrl: function (url, props) { + exec(null, null, APP_PLUGIN_NAME, 'loadUrl', [url, props]); + }, + + /** + * Cancel loadUrl that is waiting to be loaded. + */ + cancelLoadUrl: function () { + exec(null, null, APP_PLUGIN_NAME, 'cancelLoadUrl', []); + }, + + /** + * Clear web history in this web view. + * Instead of BACK button loading the previous web page, it will exit the app. + */ + clearHistory: function () { + exec(null, null, APP_PLUGIN_NAME, 'clearHistory', []); + }, + + /** + * Go to previous page displayed. + * This is the same as pressing the backbutton on Android device. + */ + backHistory: function () { + exec(null, null, APP_PLUGIN_NAME, 'backHistory', []); + }, + + /** + * Override the default behavior of the Android back button. + * If overridden, when the back button is pressed, the "backKeyDown" JavaScript event will be fired. + * + * Note: The user should not have to call this method. Instead, when the user + * registers for the "backbutton" event, this is automatically done. + * + * @param override T=override, F=cancel override + */ + overrideBackbutton: function (override) { + exec(null, null, APP_PLUGIN_NAME, 'overrideBackbutton', [override]); + }, + + /** + * Override the default behavior of the Android volume button. + * If overridden, when the volume button is pressed, the "volume[up|down]button" + * JavaScript event will be fired. + * + * Note: The user should not have to call this method. Instead, when the user + * registers for the "volume[up|down]button" event, this is automatically done. + * + * @param button volumeup, volumedown + * @param override T=override, F=cancel override + */ + overrideButton: function (button, override) { + exec(null, null, APP_PLUGIN_NAME, 'overrideButton', [button, override]); + }, + + /** + * Exit and terminate the application. + */ + exitApp: function () { + return exec(null, null, APP_PLUGIN_NAME, 'exitApp', []); + } +}; + +}); + +// file: src/common/pluginloader.js +define("cordova/pluginloader", function(require, exports, module) { + +var modulemapper = require('cordova/modulemapper'); + +// Helper function to inject a - - - + + + 晶瑞mes-pad + + + + + + + + + + + + + + + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/www/js/10.js b/www/js/10.js new file mode 100644 index 0000000..0cb5912 --- /dev/null +++ b/www/js/10.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[10],{"4a89":function(t,e,a){},"75f9":function(t,e,a){"use strict";a("4a89")},beee:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("div",{staticClass:"body_style common-form"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[1===t.status?a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("有效段数")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",type:"number",rules:[function(t){return t&&""!==t&&t>1&&t<10&&-1===t.toString().indexOf(".")}],disable:t.disable,dense:""},model:{value:t.form.data.numberCuts,callback:function(e){t.$set(t.form.data,"numberCuts",t._n(e))},expression:"form.data.numberCuts"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请输入","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",rules:[function(t){return t&&""!==t}],disable:t.disable,dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1):t._e(),2==t.status?a("template",{slot:"body"},[a("q-form",{ref:"sedForm"},[a("q-table",{staticStyle:{"min-height":"calc( 100vh - 470px )"},attrs:{data:t.tableForm.tableData,columns:t.tableForm.columns,"table-header-style":{backgroundColor:"#F8FBFF"},"hide-bottom":"",flat:"",pagination:t.tableForm.pagination,"row-key":"name"},scopedSlots:t._u([{key:"body",fn:function(e){return a("q-tr",{attrs:{props:e}},[a("q-td",{key:"stickNo",attrs:{dense:"",filled:"",width:"150px",props:e}},[t._v("\n "+t._s(e.row.stickNo)+"\n ")]),a("q-td",{key:"stickNumber",attrs:{width:"300px",props:e}},[a("q-input",{attrs:{filled:"",rules:[function(t){return t&&""!==t}],dense:""},model:{value:e.row.stickNumber,callback:function(a){t.$set(e.row,"stickNumber",a)},expression:"props.row.stickNumber"}})],1),a("q-td",{key:"afterCutLength",attrs:{width:"300px",props:e}},[a("q-input",{ref:"input1"+e.row.stickNo,attrs:{filled:"",type:"number",rules:[function(e){return e&&""!==e&&e>0&&e<=t.cardForm[2].value&&t.totalLengthNum<=t.cardForm[2].value}],dense:""},on:{input:t.totalLength},model:{value:e.row.afterCutLength,callback:function(a){t.$set(e.row,"afterCutLength",t._n(a))},expression:"props.row.afterCutLength"}})],1),a("q-td",{key:"afterCutWeight",attrs:{width:"300px",props:e}},[a("q-input",{ref:"input2"+e.row.stickNo,attrs:{filled:"",type:"number",rules:[function(e){return e&&""!==e&&e>0&&e{1===this.status?this.$refs.form.resetValidation():this.$refs.sedForm.resetValidation()})),t)this.getBaseData(),this.disable=!1;else{let{form:t,cardForm:e,status:a}=this.$options.data();this.form=t,this.status=a,this.cardForm=e,this.disable=!0}},immediate:!0,deep:!0}},methods:{getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},totalWeight(){this.totalWeightNum=0,this.tableForm.tableData.forEach((t=>{this.totalWeightNum+=Number(t.afterCutWeight)})),this.totalWeightNum<=this.cardForm[3].value&&this.tableForm.tableData.forEach((t=>{this.$refs[`input2${t.stickNo}`].resetValidation()}))},totalLength(){this.totalLengthNum=0,this.tableForm.tableData.forEach((t=>{this.totalLengthNum+=Number(t.afterCutLength)})),this.totalLengthNum<=this.cardForm[2].value&&this.tableForm.tableData.forEach((t=>{this.$refs[`input1${t.stickNo}`].resetValidation()}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"截前长度":e.value=t.result.length||"";break;case"截前重量":e.value=t.result.stickWeight||"";break}})),t.result.outStickInfoDTOList?(this.status=2,this.tableForm.tableData=t.result.outStickInfoDTOList.map((t=>({stickId:t.stickId,stickNo:t.stickNo,afterCutLength:t.afterCutLength||"",afterCutWeight:t.afterCutWeight||"",stickNumber:t.stickNumber||"",remarks:t.remarks||""})))):this.status=1,this.prodId=t.result.prodId,this.stickId=t.result.stickId}))},checkFirst(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.nextStep()})).catch((()=>{})):n["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):n["a"].create({type:"negative",position:"top",message:"请选择编号"})},nextStep(){this.$http({url:"/pad/tooLongTruncation/truncation",method:"post",data:{...this.form.data,stepId:this.stepId,stickId:this.stickId,prodId:this.prodId}}).then((t=>{this.status=2,this.getInfo()}))},getInfo(){this.$http({url:"/pad/tooLongTruncation/getTruncationSticks",method:"get",params:{stickId:this.stickId}}).then((t=>{this.tableForm.tableData=t.result.map((t=>({stickId:t.id,stickNo:t.stickNo,afterCutLength:t.afterCutLength||"",afterCutWeight:t.afterCutWeight||"",stickNumber:t.stickNumber||"",remarks:t.remarks})))}))},cancel(){let{form:t,tableForm:e,cardForm:a,currentBatchNum:s,disable:i}=this.$options.data();this.form=t,this.tableForm=e,this.cardForm=a,this.currentBatchNum=s,this.disable=i},check(){this.currentBatchNum?this.$refs.sedForm.validate().then((t=>{t?this.submit():n["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):n["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/tooLongTruncation/passStation",method:"post",data:{truncationStickInfoDTOList:this.tableForm.tableData,stepId:this.stepId,prodId:this.prodId}}).then((t=>{n["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum=null,this.cancel()}))}},created(){this.getList(),this.focusDeviceId()}},u=d,m=(a("75f9"),a("2877")),h=a("0378"),p=a("27f9"),b=a("ddd8"),f=a("eaac"),g=a("bd08"),k=a("db86"),v=a("9c40"),C=a("eebe"),N=a.n(C),I=Object(m["a"])(u,s,i,!1,null,"07890282",null);e["default"]=I.exports;N()(I,"components",{QForm:h["a"],QInput:p["a"],QSelect:b["a"],QTable:f["a"],QTr:g["a"],QTd:k["a"],QBtn:v["a"]})}}]); \ No newline at end of file diff --git a/www/js/11.js b/www/js/11.js new file mode 100644 index 0000000..1f10072 --- /dev/null +++ b/www/js/11.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[11],{4357:function(t,e,a){},6998:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[1===t.status?a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("有效段数")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",type:"number",disable:t.disable,rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.numberCuts,callback:function(e){t.$set(t.form.data,"numberCuts",t._n(e))},expression:"form.data.numberCuts"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请输入","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,disable:t.disable,filled:"",rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2):t._e(),2===t.status?a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"sedForm"},[a("q-table",{staticStyle:{"min-height":"calc( 100vh - 470px )"},attrs:{data:t.tableForm.tableData,columns:t.tableForm.columns,"table-header-style":{backgroundColor:"#F8FBFF"},"hide-bottom":"",flat:"",pagination:t.tableForm.pagination,"row-key":"name"},scopedSlots:t._u([{key:"body",fn:function(e){return a("q-tr",{attrs:{props:e}},[a("q-td",{key:"name",attrs:{dense:"",filled:"",width:"150px",props:e}},[t._v("\n "+t._s(e.row.stickNo)+"\n ")]),a("q-td",{key:"afterCutLength",attrs:{width:"300px",props:e}},[a("q-input",{attrs:{filled:"",type:"number",disable:t.disable,rules:[function(t){return t&&""!==t}]},model:{value:e.row.afterCutLength,callback:function(a){t.$set(e.row,"afterCutLength",t._n(a))},expression:"props.row.afterCutLength"}})],1),a("q-td",{key:"beforeCutLength",attrs:{width:"300px",props:e}},[a("q-input",{attrs:{filled:"",type:"number",disable:t.disable,rules:[function(t){return t&&""!==t}]},model:{value:e.row.afterCutWeight,callback:function(a){t.$set(e.row,"afterCutWeight",t._n(a))},expression:"props.row.afterCutWeight"}})],1),a("q-td",{key:"remarks",attrs:{width:"300px",props:e}},[a("q-input",{attrs:{filled:"",disable:t.disable},model:{value:e.row.remarks,callback:function(a){t.$set(e.row,"remarks",a)},expression:"props.row.remarks"}})],1)],1)}}],null,!1,3646930467)})],1)],1)],2):t._e()],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",[[1===t.status?a("div",{staticClass:"form_bottom_group"},[a("q-btn",{attrs:{label:"取 消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),a("q-btn",{attrs:{label:"截断",type:"submit",rounded:"",color:"primary"},on:{click:t.checkFirst}})],1):t._e(),2===t.status?a("div",{staticClass:"form_bottom_group"},[a("q-btn",{attrs:{label:"取消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),a("q-btn",{attrs:{label:"确定",type:"submit",rounded:"",color:"primary"},on:{click:t.check}})],1):t._e()]],2)],1)],1)])},r=[],i=a("30d4"),o=a("2a19"),l=a("0418"),n=a("2691"),c={name:"qutouwei",components:{OpticsTitleCrad:i["default"],Header:l["a"],opticsTitle:n["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶棒编号",value:"",bColor:"#FA8C16"},{name:"app:icon-a-jieduan111",title:"截前长度",value:"",bColor:"#55C169"},{name:"app:icon-a-jieduan11",title:"截前重量",value:"",bColor:"#55C169"}],status:1,form:{data:{numberCuts:"",deviceId:"",remarks:""}},tableForm:{tableData:[],columns:[{name:"stickNo",label:"晶棒编号",align:"left"},{name:"afterCutLength",label:"截后长度",align:"left"},{name:"beforeCutLength",label:"截后重量",align:"left"},{name:"remarks",label:"备注",align:"left"}],list:{numberCuts:"",deviceId:"",remarks:""},pagination:{page:1,rowsPerPage:1e3}},processId:6,stepId:6,stickId:null,prodId:0,batchNumList:[],currentBatchNum:null,disable:!0,DeviceIdList:[]}},watch:{status:{handler(t){1===t?(this.cardForm=this.$options.data().cardForm,this.getBaseData()):2==t&&(this.cardForm.splice(2),this.cardForm[1].bColor="#55C169")}},currentBatchNum:{handler(t){let{form:e,cardForm:a,disable:s}=this.$options.data();this.form=e,this.disable=s,this.cardForm=a,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t&&(this.getBaseData(),this.disable=!1)},immediate:!0,deep:!0}},methods:{getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.currentBatchNum&&this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶锭编码":e.value=t.result.ingotNo;break;case"晶棒编号":e.value=t.result.stickNo;break;case"截前长度":e.value=t.result.beforeCutLength;break;case"截后长度":e.value=t.result.afterCutLength;break}})),t.result.jrInfoIngotList?(this.status=2,this.tableForm.tableData=t.result.jrInfoIngotList.map((t=>({stickId:t.stickId,stickNo:t.stickNo,afterCutLength:t.afterCutLength||"",beforeCutLength:t.beforeCutLength||"",remarks:t.remarks})))):this.status=1,this.prodId=t.result.prodId,this.stickId=t.result.stickId}))},cancel(){let{cardForm:t,form:e,tableForm:a,currentBatchNum:s,disable:r}=this.$options.data();this.form=e,this.cardForm=t,this.disable=r,this.tableForm=a,this.currentBatchNum=s},checkFirst(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否截断?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.nextStep()})).catch((()=>{})):o["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):o["a"].create({type:"negative",position:"top",message:"请选择编号"})},getInfo(){this.$http({url:"/pad/truncation/getTruncationSticks",method:"get",params:{stickId:this.stickId}}).then((t=>{this.tableForm.tableData=t.result.map((t=>({stickId:t.stickId,stickNo:t.stickNo,afterCutLength:t.afterCutLength||"",beforeCutLength:t.beforeCutLength||"",remarks:t.remarks})))}))},nextStep(){this.$http({url:"/pad/truncation/truncation",method:"post",data:{...this.form.data,prodId:this.prodId,stepId:this.stepId,stickId:this.stickId}}).then((t=>{this.status=2,this.getInfo()}))},check(){this.currentBatchNum?this.$refs.sedForm.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):o["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):o["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/truncation/passStation",method:"post",data:{truncationStickInfoDTOList:this.tableForm.tableData,stepId:this.stepId,prodId:this.prodId}}).then((t=>{o["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))}},created(){this.getList(),this.focusDeviceId()}},d=c,u=(a("f231"),a("2877")),m=a("0378"),h=a("27f9"),p=a("ddd8"),b=a("eaac"),f=a("bd08"),g=a("db86"),k=a("9c40"),v=a("eebe"),C=a.n(v),I=Object(u["a"])(d,s,r,!1,null,"323e37fb",null);e["default"]=I.exports;C()(I,"components",{QForm:m["a"],QInput:h["a"],QSelect:p["a"],QTable:b["a"],QTr:f["a"],QTd:g["a"],QBtn:k["a"]})},f231:function(t,e,a){"use strict";a("4357")}}]); \ No newline at end of file diff --git a/www/js/12.js b/www/js/12.js new file mode 100644 index 0000000..7c6ecf8 --- /dev/null +++ b/www/js/12.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[12],{2556:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"optics_style"},[e("div",{staticClass:"header"},[e("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(a){t.currentBatchNum=a}}})],1),e("q-tabs",{staticClass:"text-grey common-tab",staticStyle:{"background-color":"#ffffff"},attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tabForm.data,callback:function(a){t.$set(t.tabForm,"data",a)},expression:"tabForm.data"}},t._l(t.tabForm.tabList,(function(t,a){return e("q-tab",{key:a,attrs:{name:t.name,label:t.label,ripple:!1}})})),1),e("div",{staticClass:"content"},[e("optics-title",{attrs:{title:"数据明细"}}),e("div",{staticClass:"body_style common-form"},[e("div",{staticClass:"mg-t-15"},[e("optics-title-crad",{attrs:{"show-card-form":"","card-form":t.cardForm}})],1),e("div",{staticClass:"mg-t-15"},[e(t.componentList,{ref:t.componentList,tag:"component",attrs:{"prod-id":t.prodId,disable:t.disable,"stick-id":t.stickId}})],1)]),e("div",{staticClass:"btn"},[e("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)],1)},i=[],o=e("30d4"),c=e("dd67"),r=e("7fbb"),n=e("bc43"),d=e("9c7c"),l=e("506d"),m=e("84f8"),u=e("0418"),h=e("2691"),p=e("2a19"),b={name:"jingbangjianyan",components:{Header:u["a"],opticsTitle:h["default"],OpticsTitleCrad:o["default"],CommonBtngroup:c["default"],chengping:r["default"],jingjie:n["default"],chuizhidu:d["default"],Axiang:l["default"],Cxiang:m["default"]},data(){return{tabForm:{data:1,tabList:[{name:1,label:"晶界",comName:"jingjie",stepId:13},{name:2,label:"垂直度",comName:"chuizhidu",stepId:17},{name:3,label:"A向",comName:"Axiang",stepId:18},{name:4,label:"C向",comName:"Cxiang",stepId:19},{name:5,label:"成品",comName:"chengping",stepId:20}]},cardForm:[{name:"app:icon-chanpinbianma",title:"晶棒编号",value:"",bColor:"#1890ff"},{name:"app:icon-ziduanbianhao",title:"晶棒序列号",value:"",bColor:"#fa8c16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55c169"},{name:"app:icon-jingbangtuihuo",title:"直径",value:"",bColor:"#55c169"}],processId:13,stepId:13,prodId:null,stickId:null,batchNumList:[],currentBatchNum:"",disable:!0}},watch:{currentBatchNum(t){t&&this.getBaseData();let{cardForm:a,disable:e}=this.$options.data();this.disable=e,t?(this.disable=!1,this.$refs[this.componentList].getValue&&this.$refs[this.componentList].getValue()):(this.cardForm=a,this.resetForm())},"tabForm.data"(t){this.currentBatchNum="",this.cardForm=this.$options.data().cardForm,this.tabForm.tabList.forEach((a=>{a.name===t&&(this.stepId=a.stepId)})),this.stepId&&this.getList()}},methods:{getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result||[]}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((a=>{switch(a.title){case"晶棒序列号":a.value=t.result.stickNumber||"";break;case"晶棒编号":a.value=t.result.stickNo||"";break;case"长度":a.value=t.result.length||"";break;case"直径":a.value=t.result.diameter||"";break}})),this.prodId=t.result.prodId,this.stickId=t.result.stickId}))},cancel(){let{cardForm:t,disable:a,currentBatchNum:e}=this.$options.data();this.disable=a,this.cardForm=t,this.currentBatchNum=e},check(){this.currentBatchNum?this.$refs[this.componentList].submitForm().then((()=>{p["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum=null,this.cancel(),this.resetForm()})):p["a"].create({type:"negative",position:"top",message:"请选择编号"})},resetForm(){this.$nextTick((()=>{this.$refs[this.componentList].resetForm()}))}},computed:{componentList(){return this.tabForm.tabList[this.tabForm.data-1].comName}},created(){this.getList()}},f=b,g=(e("4a3d"),e("2877")),I=e("429b"),F=e("7460"),N=e("eebe"),v=e.n(N),k=Object(g["a"])(f,s,i,!1,null,"58df47f4",null);a["default"]=k.exports;v()(k,"components",{QTabs:I["a"],QTab:F["a"]})},"4a3d":function(t,a,e){"use strict";e("987f")},"987f":function(t,a,e){}}]); \ No newline at end of file diff --git a/www/js/13.js b/www/js/13.js new file mode 100644 index 0000000..e85473c --- /dev/null +++ b/www/js/13.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[13],{"9b25":function(t,e,a){"use strict";a("9ea6")},"9ea6":function(t,e,a){},ee37:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("壳重")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",disable:t.disable,type:"number",rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.weight,callback:function(e){t.$set(t.form.data,"weight",t._n(e))},expression:"form.data.weight"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("检验结果")]),a("q-select",{attrs:{placeholder:"请输入",options:t.checkList,"emit-value":"","map-options":"",filled:"",rules:[function(t){return t&&t.length>0}],disable:t.disable,dense:""},model:{value:t.form.data.checkResult,callback:function(e){t.$set(t.form.data,"checkResult",e)},expression:"form.data.checkResult"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],l=a("dd67"),o=a("30d4"),r=a("0418"),d=a("2691"),c=a("2a19"),n={name:"jingkechenzhong",components:{CommonBtngroup:l["default"],OpticsTitleCrad:o["default"],Header:r["a"],opticsTitle:d["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶壳重量",value:"",bColor:"#55C169"}],form:{data:{weight:"",shift:"",checkResult:"",remarks:""}},batchNumList:[],currentBatchNum:"",checkList:[{label:"OK",value:"OK"},{label:"NG",value:"NG"}],shift:[{label:"白班",value:1},{label:"夜班",value:2}],time:"",processId:4,stepId:4,prodId:0,disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶锭编码":e.value=t.result.ingotNo||"";break;case"晶壳重量":e.value=t.result.ingotWeight||"";break}})),this.getTime(),this.form.data.checkResult="OK",this.prodId=t.result.prodId}))},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):c["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):c["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/shellWeighing/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{c["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))},cancel(){let{cardForm:t,form:e,disable:a,currentBatchNum:s}=this.$options.data();this.form=e,this.currentBatchNum=s,this.disable=a,this.cardForm=t}},watch:{currentBatchNum:{handler(t){let{cardForm:e,form:a,disable:s}=this.$options.data();this.form=a,this.disable=s,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=e,this.disable=!0)},immediate:!0,deep:!0}},created(){this.getList()}},m=n,h=(a("9b25"),a("2877")),u=a("0378"),p=a("27f9"),b=a("ddd8"),f=a("eebe"),v=a.n(f),g=Object(h["a"])(m,s,i,!1,null,"3cb46eb8",null);e["default"]=g.exports;v()(g,"components",{QForm:u["a"],QInput:p["a"],QSelect:b["a"]})}}]); \ No newline at end of file diff --git a/www/js/14.js b/www/js/14.js new file mode 100644 index 0000000..35872c7 --- /dev/null +++ b/www/js/14.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[14],{4084:function(t,e,a){"use strict";a("fe92")},c54d:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",rules:[function(t){return t&&""!==t}],disable:t.disable,dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("检测结果")]),a("q-select",{attrs:{placeholder:"请选择",options:t.checkList,"emit-value":"","map-options":"",filled:"",rules:[function(t){return t&&t.length>0}],disable:t.disable,dense:""},model:{value:t.form.data.checkResult,callback:function(e){t.$set(t.form.data,"checkResult",e)},expression:"form.data.checkResult"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],o=a("dd67"),l=a("30d4"),c=a("0418"),d=a("2691"),r=a("2a19"),n={name:"jingmo",components:{Header:c["a"],opticsTitle:d["default"],CommonBtngroup:o["default"],OpticsTitleCrad:l["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"},{name:"app:icon-jingbangtuihuo",title:"直径",value:"",bColor:"#55C169"}],form:{data:{deviceId:"",checkResult:"",remarks:""}},checkList:[{label:"OK",value:"OK"},{label:"NG",value:"NG"}],batchNumList:[],DeviceIdList:[],currentBatchNum:null,processId:10,stepId:10,prodId:0,shift:[{label:"白班",value:1},{label:"夜班",value:2}],time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"长度":e.value=t.result.length||"";break;case"直径":e.value=t.result.diameter||"";break}})),this.getTime(),this.form.data.checkResult="OK",this.prodId=t.result.prodId}))},cancel(){let{form:t,cardForm:e,currentBatchNum:a,disable:s}=this.$options.data();this.form=t,this.cardForm=e,this.currentBatchNum=a,this.disable=s},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):r["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):r["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/fineGrinding/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{r["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))}},created(){this.getList(),this.focusDeviceId()},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:a,disable:s}=this.$options.data();this.form=e,this.disable=s,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):this.cardForm=a},immediate:!0,deep:!0}}},m=n,u=(a("4084"),a("2877")),h=a("0378"),p=a("ddd8"),f=a("27f9"),b=a("eebe"),v=a.n(b),g=Object(u["a"])(m,s,i,!1,null,"38c41076",null);e["default"]=g.exports;v()(g,"components",{QForm:h["a"],QSelect:p["a"],QInput:f["a"]})},fe92:function(t,e,a){}}]); \ No newline at end of file diff --git a/www/js/15.js b/www/js/15.js new file mode 100644 index 0000000..fb34801 --- /dev/null +++ b/www/js/15.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[15],{"1a4f":function(t,e,a){"use strict";a("dbd8")},a7c5:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",rules:[function(t){return t&&""!==t}],disable:t.disable,dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("检测结果")]),a("q-select",{attrs:{placeholder:"请选择",options:t.checkList,"emit-value":"","map-options":"",filled:"",rules:[function(t){return t&&t.length>0}],disable:t.disable,dense:""},model:{value:t.form.data.checkResult,callback:function(e){t.$set(t.form.data,"checkResult",e)},expression:"form.data.checkResult"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],l=a("dd67"),o=a("30d4"),c=a("0418"),r=a("2691"),d=a("2a19"),n={name:"mobianweibian",components:{Header:c["a"],CommonBtngroup:l["default"],OpticsTitleCrad:o["default"],opticsTitle:r["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"},{name:"app:icon-jingbangtuihuo",title:"直径",value:"",bColor:"#55C169"}],form:{data:{deviceId:"",checkResult:"",remarks:""}},processId:12,stepId:12,prodId:0,DeviceIdList:[],checkList:[{label:"OK",value:"OK"},{label:"NG",value:"NG"}],shift:[{label:"白班",value:1},{label:"夜班",value:2}],batchNumList:[],currentBatchNum:null,time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"长度":e.value=t.result.length||"";break;case"直径":e.value=t.result.diameter||"";break}})),this.getTime(),this.form.data.checkResult="OK",this.prodId=t.result.prodId}))},cancel(){let{form:t,cardForm:e,currentBatchNum:a,disable:s}=this.$options.data();this.form=t,this.cardForm=e,this.currentBatchNum=a,this.disable=s},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):d["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):d["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/grindingLocatingEdge/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{d["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum=null,this.cancel()}))}},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:a,disable:s}=this.$options.data();this.form=e,this.disable=s,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=a,this.disable=!0)},immediate:!0,deep:!0}},created(){this.getList(),this.focusDeviceId()}},m=n,u=(a("1a4f"),a("2877")),h=a("0378"),p=a("ddd8"),b=a("27f9"),f=a("eebe"),v=a.n(f),g=Object(u["a"])(m,s,i,!1,null,"91692466",null);e["default"]=g.exports;v()(g,"components",{QForm:h["a"],QSelect:p["a"],QInput:b["a"]})},dbd8:function(t,e,a){}}]); \ No newline at end of file diff --git a/www/js/16.js b/www/js/16.js new file mode 100644 index 0000000..0930d1d --- /dev/null +++ b/www/js/16.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[16],{"7bc9":function(t,e,s){"use strict";s("ce2c")},c7cd:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"optics_style"},[s("div",{staticClass:"header"},[s("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),s("div",{staticClass:"content"},[s("optics-title",{attrs:{title:"数据明细"}}),s("div",{staticClass:"body_style common-form"},[s("div",{staticClass:"mg-t-15"},[s("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),s("div",{staticClass:"mg-t-15"},[s("optics-title-crad",{attrs:{title:"数据录入"}},[s("template",{slot:"body"},[s("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),s("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",disable:t.disable,rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),s("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("检测结果")]),s("q-select",{attrs:{placeholder:"请选择",options:t.checkList,"emit-value":"","map-options":"",filled:"",rules:[function(t){return t&&t.length>0}],disable:t.disable,dense:""},model:{value:t.form.data.checkResult,callback:function(e){t.$set(t.form.data,"checkResult",e)},expression:"form.data.checkResult"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),s("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),s("div",{staticClass:"btn"},[s("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],c=s("dd67"),o=s("30d4"),l=s("2a19"),d=s("0418"),r=s("2691"),n={name:"moduanmian",components:{CommonBtngroup:c["default"],OpticsTitleCrad:o["default"],Header:d["a"],opticsTitle:r["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"}],form:{data:{deviceId:"",shift:"",checkResult:"",remarks:""}},checkList:[{label:"OK",value:"OK"},{label:"NG",value:"NG"}],processId:8,stepId:8,prodId:0,batchNumList:[],currentBatchNum:null,DeviceIdList:[],shift:[{label:"白班",value:1},{label:"夜班",value:2}],time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"长度":e.value=t.result.length||"";break}})),this.getTime(),this.form.data.checkResult="OK",this.prodId=t.result.prodId}))},cancel(){let{form:t,disable:e,cardForm:s,currentBatchNum:a}=this.$options.data();this.form=t,this.cardForm=s,this.currentBatchNum=a,this.disable=e},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):l["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):l["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/grindingEndFace/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{l["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))}},created(){this.getList(),this.focusDeviceId()},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:s,disable:a}=this.$options.data();this.form=e,this.disable=a,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=s,this.disable=!0)},immediate:!0,deep:!0}}},m=n,h=(s("7bc9"),s("2877")),u=s("0378"),p=s("ddd8"),f=s("27f9"),b=s("eebe"),v=s.n(b),g=Object(h["a"])(m,a,i,!1,null,"b8c796c8",null);e["default"]=g.exports;v()(g,"components",{QForm:u["a"],QSelect:p["a"],QInput:f["a"]})},ce2c:function(t,e,s){}}]); \ No newline at end of file diff --git a/www/js/17.js b/www/js/17.js new file mode 100644 index 0000000..e6ea020 --- /dev/null +++ b/www/js/17.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[17],{"5c7a":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"",rules:[function(t){return t&&""!==t}],"option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",disable:t.disable,dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("R向")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,filled:"",rules:[function(t){return t&&t.length>0}],dense:""},model:{value:t.form.data.rdirection,callback:function(e){t.$set(t.form.data,"rdirection",e)},expression:"form.data.rdirection"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("OF宽度")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:t.disable,filled:"",dense:""},model:{value:t.form.data.ofWidth,callback:function(e){t.$set(t.form.data,"ofWidth",t._n(e))},expression:"form.data.ofWidth"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],o=a("dd67"),d=a("30d4"),r=a("2a19"),l=a("0418"),c=a("2691"),n={name:"pingbiandingxiang",components:{Header:l["a"],CommonBtngroup:o["default"],OpticsTitleCrad:d["default"],opticsTitle:c["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"},{name:"app:icon-jingbangtuihuo",title:"直径",value:"",bColor:"#55C169"}],form:{data:{deviceId:"",ofWidth:"",shift:"",rdirection:"",remarks:""}},shift:[{label:"白班",value:1},{label:"夜班",value:2}],processId:11,stepId:11,prodId:0,batchNumList:[],DeviceIdList:[],currentBatchNum:null,time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"长度":e.value=t.result.length||"";break;case"直径":e.value=t.result.diameter||"";break}})),this.getTime(),this.form.data.rdirection="R9",this.prodId=t.result.prodId}))},cancel(){let{form:t,cardForm:e,currentBatchNum:a,disable:s}=this.$options.data();this.form=t,this.cardForm=e,this.currentBatchNum=a,this.disable=s},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):r["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):r["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/flatEdgeOrientation/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{r["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum=null,this.cancel()}))}},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:a,disable:s}=this.$options.data();this.form=e,this.disable=s,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):this.cardForm=a},immediate:!0,deep:!0}},created(){this.getList(),this.focusDeviceId()}},m=n,u=(a("f521"),a("2877")),h=a("0378"),p=a("ddd8"),f=a("27f9"),b=a("eebe"),v=a.n(b),g=Object(u["a"])(m,s,i,!1,null,"43cefe78",null);e["default"]=g.exports;v()(g,"components",{QForm:h["a"],QSelect:p["a"],QInput:f["a"]})},"7a7a":function(t,e,a){},f521:function(t,e,a){"use strict";a("7a7a")}}]); \ No newline at end of file diff --git a/www/js/18.js b/www/js/18.js new file mode 100644 index 0000000..b4db55e --- /dev/null +++ b/www/js/18.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[18],{"9c7ca":function(t,e,a){},d458:function(t,e,a){"use strict";a("9c7ca")},ecc1:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("截前重量")]),a("q-input",{ref:"inputBeforeCutWeight",attrs:{placeholder:"请输入",filled:"",disable:t.disable,type:"number",rules:[function(e){return e&&""!==e&&t.currentStatus}],dense:""},model:{value:t.form.data.beforeCutWeight,callback:function(e){t.$set(t.form.data,"beforeCutWeight",t._n(e))},expression:"form.data.beforeCutWeight"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("截后重量")]),a("q-input",{ref:"inputAfterCutWeight",attrs:{placeholder:"请输入",filled:"",disable:t.disable,type:"number",rules:[function(e){return e&&""!==e&&t.currentStatus}],dense:""},model:{value:t.form.data.afterCutWeight,callback:function(e){t.$set(t.form.data,"afterCutWeight",t._n(e))},expression:"form.data.afterCutWeight"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请输入","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",disable:t.disable,rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},s=[],r=a("dd67"),o=a("30d4"),d=a("0418"),l=a("2691"),c=a("2a19"),n={name:"qutouwei",components:{CommonBtngroup:r["default"],OpticsTitleCrad:o["default"],Header:d["a"],opticsTitle:l["default"]},data(){return{cardForm:[{name:"app:icon-ziduanbianhao",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-chanpinbianma",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-a-jieduan111",title:"截前长度",value:"",bColor:"#55C169"},{name:"app:icon-a-jieduan11",title:"截后长度",value:"",bColor:"#55C169"}],form:{data:{beforeCutWeight:"",afterCutWeight:"",deviceId:"",shift:"",remarks:""}},processId:5,stepId:5,prodId:0,stickNo:0,batchNumList:[],currentBatchNum:null,disable:!0,shift:[{label:"白班",value:1},{label:"夜班",value:2}],time:"",currentStatus:!0,DeviceIdList:[]}},methods:{getWeightAndDeviceId(){this.$http({url:"/pad/removeHeadAndTail/getTruncationInfo",method:"get",params:{stickNo:this.stickNo}}).then((t=>{let{afterCutWeight:e,beforeCutWeight:a,deviceId:i}=t.result;this.form.data.afterCutWeight=e,this.form.data.beforeCutWeight=a,this.form.data.deviceId=i}))},getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"截前长度":e.value=t.result.beforeCutLength||"";break;case"截后长度":e.value=t.result.afterCutLength||"";break}})),this.stickNo=t.result.stickNo,this.prodId=t.result.prodId,this.getTime(),this.getWeightAndDeviceId()}))},cancel(){let{form:t,disable:e,cardForm:a,currentBatchNum:i}=this.$options.data();this.form=t,this.cardForm=a,this.currentBatchNum=i,this.disable=e},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):c["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):c["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/removeHeadAndTail/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{c["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))}},created(){this.getList(),this.focusDeviceId()},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:a,disable:i}=this.$options.data();this.form=e,this.disable=i,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=a,this.disable=!0)},immediate:!0,deep:!0},"form.data.afterCutWeight":{handler(){this.form.data.beforeCutWeight>this.form.data.afterCutWeight?(this.$nextTick((()=>{this.$refs.inputAfterCutWeight.resetValidation(),this.$refs.inputBeforeCutWeight.resetValidation()})),this.currentStatus=!0):this.currentStatus=!1},immediate:!0,deep:!0},"form.data.beforeCutWeight":{handler(){this.form.data.beforeCutWeight>this.form.data.afterCutWeight?(this.$nextTick((()=>{this.$refs.inputAfterCutWeight.resetValidation(),this.$refs.inputBeforeCutWeight.resetValidation()})),this.currentStatus=!0):this.currentStatus=!1},immediate:!0,deep:!0}}},u=n,h=(a("d458"),a("2877")),m=a("0378"),f=a("27f9"),p=a("ddd8"),b=a("eebe"),v=a.n(b),g=Object(h["a"])(u,i,s,!1,null,"8a9783a8",null);e["default"]=g.exports;v()(g,"components",{QForm:m["a"],QInput:f["a"],QSelect:p["a"]})}}]); \ No newline at end of file diff --git a/www/js/19.js b/www/js/19.js new file mode 100644 index 0000000..452273a --- /dev/null +++ b/www/js/19.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[19],{1127:function(t,e,i){},2829:function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"optics_style"},[i("div",{staticClass:"header"},[i("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),i("div",{staticClass:"content"},[i("optics-title",{attrs:{title:"数据明细"}}),i("div",{staticClass:"body_style common-form"},[i("div",{staticClass:"mg-t-15"},[i("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),i("div",{staticClass:"mg-t-15"},[i("optics-title-crad",{attrs:{title:"数据录入"}},[i("template",{slot:"body"},[i("q-form",{ref:"form",attrs:{"no-reset-focus":""}},[i("q-table",{staticStyle:{"min-height":"calc( 100vh - 470px )"},attrs:{data:t.tableForm.tableData,columns:t.tableForm.columns,"table-header-style":{backgroundColor:"#F8FBFF"},"hide-bottom":"",pagination:t.tableForm.pagination,"row-key":"name",flat:!0},scopedSlots:t._u([{key:"body",fn:function(e){return i("q-tr",{attrs:{props:e}},[i("q-td",{key:"stickNo",attrs:{dense:"",filled:"",width:"150px",props:e}},[t._v("\n "+t._s(e.row.stickNo)+"\n ")]),i("q-td",{key:"deviceId",attrs:{width:"300px",props:e}},[i("q-select",{ref:"select1"+e.row.stickNo,attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceName},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",rules:[function(t){return t&&""!==t}],disable:t.disable||e.row.finishFlag,dense:""},on:{"popup-hide":function(i){return t.changeFocusfixtureId(e.row)}},model:{value:e.row.deviceId,callback:function(i){t.$set(e.row,"deviceId",i)},expression:"props.row.deviceId"}})],1),i("q-td",{key:"fixtureId",attrs:{width:"300px",props:e}},[i("q-select",{ref:"select2"+e.row.stickNo,attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.fixtureNo},"option-value":function(t){return t.id},options:t.fixtureIdList,filled:"",rules:[function(t){return t&&""!==t}],disable:t.disable||e.row.finishFlag||""===e.row.deviceId,dense:""},on:{focus:function(i){return t.focusfixtureId(e.row.deviceId)}},model:{value:e.row.fixtureId,callback:function(i){t.$set(e.row,"fixtureId",i)},expression:"props.row.fixtureId"}})],1),i("q-td",{key:"remarks",attrs:{width:"300px",props:e}},[i("q-input",{attrs:{filled:"",disable:t.disable||e.row.finishFlag,dense:""},model:{value:e.row.remarks,callback:function(i){t.$set(e.row,"remarks",i)},expression:"props.row.remarks"}})],1),i("q-td",[i("q-btn",{staticClass:"mg-r-10",attrs:{label:"保存",size:"sm",color:"primary",disable:t.disable||e.row.finishFlag},on:{click:function(i){return t.save(e.row)}}}),i("q-btn",{attrs:{label:"复制",size:"sm",color:"primary",disable:t.disable||e.row.finishFlag||0==e.rowIndex},on:{click:function(i){return t.copy(e)}}})],1)],1)}}])})],1)],1)],2)],1)]),i("div",{staticClass:"btn"},[i("common-btngroup",[[i("q-btn",{attrs:{label:"取消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),i("q-btn",{attrs:{label:"确定",type:"submit",rounded:"",color:"primary"},on:{click:t.check}})]],2)],1)],1)])},a=[],r=i("dd67"),o=i("30d4"),d=i("0418"),l=i("2691"),c=i("2a19"),n={name:"taobang",components:{CommonBtngroup:r["default"],OpticsTitleCrad:o["default"],Header:d["a"],opticsTitle:l["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-yongtu",title:"晶锭用途(寸/砖)",value:"",bColor:"#55C169"},{name:"app:icon-zhongliang",title:"晶锭重量",value:"",bColor:"#FA8C16"}],tableForm:{tableData:[],columns:[{name:"stickNo",label:"晶棒编号",align:"left"},{name:"deviceId",label:"设备编号",align:"left"},{name:"fixtureId",label:"掏棒刀",align:"left"},{name:"remarks",label:"备注",align:"left"},{label:"操作",align:"left"}],pagination:{page:1,rowsPerPage:1e3}},saveFixtureIdList:[],batchNumList:[],DeviceIdList:[],fixtureIdList:[],processId:2,stepId:2,prodId:0,disable:!0,currentBatchNum:""}},watch:{currentBatchNum:{handler(t){let{cardForm:e,tableForm:i,disable:s}=this.$options.data();this.tableForm=i,this.disable=s,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=e,this.disable=!0)},immediate:!0,deep:!0}},methods:{getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},changeFocusfixtureId(t){this.$http({url:"/fixture/queryDropBox",method:"get",params:{deviceId:t.deviceId,fixtureType:1}}).then((e=>{this.fixtureIdList=e.result,this.$set(t,"fixtureId",this.fixtureIdList[0].id)}))},focusfixtureId(t){this.$http({url:"/fixture/queryDropBox",method:"get",params:{deviceId:t,fixtureType:1}}).then((t=>{this.fixtureIdList=t.result}))},firstFocusfixtureId(){this.$http({url:"/fixture/queryDropBox",method:"get",params:{fixtureType:1}}).then((t=>{this.fixtureIdList=t.result,this.saveFixtureIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶锭编码":e.value=t.result.ingotNo||"";break;case"晶锭用途(寸/砖)":e.value=t.result.size+"寸"||!1;break;case"晶锭重量":e.value=t.result.ingotWeight||"";break}})),this.tableForm.tableData=[],t.result.outStickInfoDTOList.forEach((t=>{this.tableForm.tableData.push({stickId:t.stickId,stickNo:t.stickNo,fixtureId:t.fixtureId||"",deviceId:t.deviceId||"",remarks:t.remarks||"",finishFlag:t.finishFlag})})),this.prodId=t.result.prodId}))},save(t){this.$refs[`select1${t.stickNo}`].validate()&&this.$refs[`select2${t.stickNo}`].validate()?this.$http({url:"/pad/takeOutStick/save",method:"post",data:{...t,prodId:this.prodId,stepId:this.stepId}}).then((e=>{c["a"].create({type:"positive",position:"top",message:"操作成功"}),this.$set(t,"finishFlag",!0)})):c["a"].create({type:"negative",position:"top",message:`请将${t.stickNo}数据填写完整`})},copy(t){this.fixtureIdList=this.saveFixtureIdList,this.$nextTick((()=>{let{deviceId:e,fixtureId:i}=this.tableForm.tableData[t.rowIndex-1];this.tableForm.tableData[t.rowIndex].deviceId=e,this.tableForm.tableData[t.rowIndex].fixtureId=i}))},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):c["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):c["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/takeOutStick/passStation",method:"post",data:{passStickInfoDTOList:this.tableForm.tableData,prodId:this.prodId,stepId:this.stepId}}).then((t=>{c["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))},cancel(){let{cardForm:t,tableForm:e,disable:i,currentBatchNum:s}=this.$options.data();this.tableForm=e,this.currentBatchNum=s,this.disable=i,this.cardForm=t}},created(){this.getList(),this.focusDeviceId(),this.firstFocusfixtureId()}},u=n,p=(i("fb08"),i("2877")),h=i("0378"),m=i("eaac"),f=i("bd08"),b=i("db86"),I=i("ddd8"),v=i("27f9"),g=i("9c40"),x=i("eebe"),k=i.n(x),F=Object(p["a"])(u,s,a,!1,null,"500b4ffa",null);e["default"]=F.exports;k()(F,"components",{QForm:h["a"],QTable:m["a"],QTr:f["a"],QTd:b["a"],QSelect:I["a"],QInput:v["a"],QBtn:g["a"]})},fb08:function(t,e,i){"use strict";i("1127")}}]); \ No newline at end of file diff --git a/www/js/2.js b/www/js/2.js new file mode 100644 index 0000000..bdcb286 --- /dev/null +++ b/www/js/2.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{"1b46":function(t,a,e){},b169:function(t,a,e){"use strict";e("1b46")},ec95:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"home"},[e("div",{staticClass:"navBar"},[e("div",{staticClass:"nav_header"},[e("Header")],1),e("div",{staticClass:"subNav"},[e("q-tabs",{staticClass:"text-white",attrs:{"inline-label":"","mobile-arrows":"",align:"left","indicator-color":"transparent","active-color":"white","active-bg-color":"primary"},model:{value:t.activeTab,callback:function(a){t.activeTab=a},expression:"activeTab"}},t._l(t.customRoutes,(function(a,n){return e("q-tab",{key:n,attrs:{name:n,label:a.originName},on:{click:function(e){return t.clickTab(a)}}})})),1),e("q-tab-panels",{staticClass:"bg-custom text-white",attrs:{animated:""},model:{value:t.activeTab,callback:function(a){t.activeTab=a},expression:"activeTab"}},t._l(t.customRoutes,(function(a,n){return e("q-tab-panel",{key:a.name,attrs:{name:n}},[e("q-carousel",{staticClass:"bg-custom my-carouse",attrs:{"transition-prev":"slide-right","transition-next":"slide-left",swipeable:"",animated:"","control-color":"white",navigation:""},on:{transition:t.transition},scopedSlots:t._u([{key:"navigation-icon",fn:function(t){var a=t.active,n=t.btnProps,i=t.onClick;return[e("q-btn",a?{staticClass:"my-active",attrs:{size:"8px",color:"white",flat:"",round:"",dense:""},on:{click:i}}:{staticClass:"my-normal",attrs:{size:"5px",icon:n.icon,color:"white",flat:"",round:"",dense:""},on:{click:i}})]}}],null,!0),model:{value:t.slide,callback:function(a){t.slide=a},expression:"slide"}},t._l(t.sliceArray(a.children,12),(function(a,n){return e("q-carousel-slide",{key:n,staticClass:"column no-wrap nopadding",attrs:{name:n}},[e("div",{staticClass:"nav_content"},t._l(a,(function(a,n){return e("div",{key:n,staticClass:"item",style:a.style},[e("div",{staticClass:"box",on:{click:function(e){return t.toPath(a.path)}}},[a.meta.icon?e("q-icon",{attrs:{name:"app:icon-"+a.meta.icon}}):e("q-icon",{attrs:{name:"app:icon-a-tubiaochangyong121"}}),e("p",{staticClass:"name"},[t._v(t._s(a.originName))])],1)])})),0)])})),1)],1)})),1)],1)])])},i=[],s=e("2f62"),o=e("8e33"),c={name:"",data(){return{activeTab:0,slide:0,lorem:"Lorem ipsum dolor.",tabList:[],list:[]}},components:{Header:o["default"]},computed:{...Object(s["b"])(["customRoutes","permissionRoutes"])},methods:{sliceArray(t,a){const e=[];for(let n=0;n0}]},model:{value:t.row.checkResult,callback:function(a){e.$set(t.row,"checkResult",a)},expression:"props.row.checkResult"}})],1),a("q-td",{key:"remarks",attrs:{width:"300px",props:t}},[a("q-input",{attrs:{disable:e.disable,filled:"",dense:""},model:{value:t.row.remarks,callback:function(a){e.$set(t.row,"remarks",a)},expression:"props.row.remarks"}})],1)],1)}}])})],1)],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:e.check,cancel:e.cancel}})],1)],1)])},i=[],o=a("dd67"),r=a("30d4"),l=a("0418"),n=a("2691"),c=a("2a19"),d={name:"xiabang",components:{CommonBtngroup:o["default"],OpticsTitleCrad:r["default"],Header:l["a"],opticsTitle:n["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-yongtu",title:"晶锭用途(寸/砖)",value:"",bColor:"#55C169"},{name:"app:icon-zhongliang",title:"晶锭重量",value:"",bColor:"#FA8C16"}],tableForm:{tableData:[],columns:[{name:"stickNo",label:"晶棒编号",align:"left"},{name:"deviceId",label:"设备编号",align:"left"},{name:"beforeCutLength",label:"预掏长度(mm)",align:"left"},{name:"afterCutLength",label:"实掏长度(mm)",align:"left"},{name:"diameter",label:"直径",align:"left"},{name:"longTruncationFlag",label:"是否过长截断",align:"left"},{name:"checkResult",label:"检验结果",align:"left"},{name:"remarks",label:"备注",align:"left"}],pagination:{page:1,rowsPerPage:1e3}},checkList:[{label:"S",value:"S"},{label:"A",value:"A"},{label:"B",value:"B"},{label:"C",value:"C"},{label:"OK",value:"OK"}],isOptions:[{label:"是",value:1},{label:"否",value:0}],processId:3,stepId:3,prodId:0,batchNumList:[],DeviceIdList:[],currentBatchNum:"",disable:!0}},watch:{currentBatchNum:{handler(e){let{cardForm:t,tableForm:a,disable:s}=this.$options.data();this.tableForm=a,this.disable=s,this.$nextTick((()=>{this.$refs.form.resetValidation()})),e?(this.getBaseData(),this.disable=!1):(this.cardForm=t,this.disable=!0)},immediate:!0,deep:!0}},methods:{getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((e=>{this.batchNumList=e.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((e=>{this.DeviceIdList=e.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((e=>{this.cardForm.forEach((t=>{switch(t.title){case"晶锭编码":t.value=e.result.ingotNo||"";break;case"晶锭用途(寸/砖)":t.value=e.result.size+"寸"||!1;break;case"晶锭重量":t.value=e.result.ingotWeight||"";break}})),this.prodId=e.result.prodId,this.tableForm.tableData=[],e.result.outStickInfoDTOList.forEach((e=>{this.tableForm.tableData.push({stickId:e.stickId,stickNo:e.stickNo,deviceId:e.deviceId||"",beforeCutLength:e.beforeCutLength||"",afterCutLength:e.afterCutLength||"",diameter:e.diameter||"",longTruncationFlag:e.longTruncationFlag||0,checkResult:e.checkResult||"OK",remarks:e.remarks})}))}))},check(){this.currentBatchNum?this.$refs.form.validate().then((e=>{e?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):c["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):c["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/lowerRod/passStation",method:"post",data:{passStickInfoDTOList:this.tableForm.tableData,prodId:this.prodId,stepId:this.stepId}}).then((e=>{c["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))},cancel(){let{cardForm:e,tableForm:t,disable:a,currentBatchNum:s}=this.$options.data();this.tableForm=t,this.currentBatchNum=s,this.disable=a,this.cardForm=e}},created(){this.getList(),this.focusDeviceId()}},u=d,p=(a("2596"),a("2877")),m=a("0378"),h=a("eaac"),b=a("bd08"),f=a("db86"),g=a("ddd8"),v=a("27f9"),k=a("eebe"),w=a.n(k),F=Object(p["a"])(u,s,i,!1,null,"3ce338e0",null);t["default"]=F.exports;w()(F,"components",{QForm:m["a"],QTable:h["a"],QTr:b["a"],QTd:f["a"],QSelect:g["a"],QInput:v["a"]})}}]); \ No newline at end of file diff --git a/www/js/21.js b/www/js/21.js new file mode 100644 index 0000000..7742c39 --- /dev/null +++ b/www/js/21.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[21],{1773:function(t,e,s){"use strict";s("3799")},"1d3c":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"optics_style"},[s("div",{staticClass:"header"},[s("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),s("div",{staticClass:"content"},[s("optics-title",{attrs:{title:"数据明细"}}),s("div",{staticClass:"body_style"},[s("div",{staticClass:"mg-t-15"},[s("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),s("div",{staticClass:"mg-t-15"},[s("div",{staticClass:"body_style common-form"},[s("optics-title-crad",{attrs:{title:"数据录入"}},[1==t.status?s("template",{slot:"body"},[s("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编码")]),s("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceName},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",rules:[function(t){return t&&""!==t}],disable:t.disable,dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("班次")]),s("q-select",{attrs:{placeholder:"请选择",options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1),s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),s("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1):t._e(),2==t.status?s("template",{slot:"body"},[s("q-form",{ref:"sedForm"},[s("q-table",{staticStyle:{"min-height":"calc( 100vh - 470px )"},attrs:{data:t.tableForm.tableData,flat:!0,columns:t.tableForm.columns,"table-header-style":{backgroundColor:"#F8FBFF"},"hide-bottom":"",pagination:t.tableForm.pagination,"row-key":"name"},scopedSlots:t._u([{key:"body",fn:function(e){return s("q-tr",{attrs:{props:e}},[s("q-td",{key:"ingotNo",attrs:{dense:"",filled:"",width:"400px",props:e}},[t._v("\n "+t._s(e.row.ingotNo)+"\n ")]),s("q-td",{key:"weight",attrs:{width:"400px",props:e}},[s("q-input",{attrs:{filled:"",dense:"",type:"number",rules:[function(t){return t&&""!==t}]},model:{value:e.row.weight,callback:function(s){t.$set(e.row,"weight",t._n(s))},expression:"props.row.weight"}})],1)],1)}}],null,!1,3054537973)})],1)],1):t._e()],2)],1),s("div",{staticClass:"btn"},[s("common-btngroup",[[1===t.status?s("div",{staticClass:"form_bottom_group"},[s("q-btn",{attrs:{label:"取 消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),s("q-btn",{attrs:{label:"截断",type:"submit",rounded:"",color:"primary"},on:{click:t.checkFirst}})],1):t._e(),2===t.status?s("div",{staticClass:"form_bottom_group"},[s("q-btn",{attrs:{label:"取消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),s("q-btn",{attrs:{label:"确定",type:"submit",rounded:"",color:"primary"},on:{click:t.check}})],1):t._e()]],2)],1)])])],1)])},i=[],o=s("dd67"),r=s("30d4"),l=s("0418"),n=s("2691"),d=s("2a19"),c={name:"xianqie",components:{CommonBtngroup:o["default"],OpticsTitleCrad:r["default"],Header:l["a"],opticsTitle:n["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-yongtu",title:"晶锭用途(寸/砖)",value:"",bColor:"#55C169"},{name:"app:icon-zhongliang",title:"晶锭重量",value:"",bColor:"#FA8C16"}],form:{data:{deviceId:"",shift:"",remarks:""}},shift:[{label:"白班",value:1},{label:"夜班",value:2}],batchNumList:[],DeviceIdList:[],currentBatchNum:null,processId:14,stepId:14,prodId:0,disable:!0,status:1,ingotId:0,numberCuts:0,tableForm:{tableData:[],columns:[{name:"ingotNo",label:"晶锭编号",align:"left"},{name:"weight",label:"晶锭重量",align:"left"}],pagination:{page:1,rowsPerPage:1e3}},time:""}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},checkFirst(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否截断?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.nextStep()})).catch((()=>{})):d["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):d["a"].create({type:"negative",position:"top",message:"请选择编号"})},nextStep(){this.$http({url:"/pad/lineCut/truncation",method:"post",data:{ingotId:this.ingotId,numberCuts:this.numberCuts,prodId:this.prodId,stepId:this.stepId,...this.form.data}}).then((t=>{this.status=2,this.getInfo()}))},getInfo(){this.$http({url:"/pad/lineCut/getIngotInfo",method:"get",params:{ingotId:this.ingotId}}).then((t=>{this.tableForm.tableData=t.result.map((t=>({ingotId:t.id,ingotNo:t.ingotNo,weight:""})))}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶锭编码":e.value=t.result.ingotNo||"";break;case"晶锭用途(寸/砖)":e.value=t.result.size+"寸"||!1;break;case"晶锭重量":e.value=t.result.ingotWeight||"";break}})),this.getTime(),this.numberCuts=t.result.numberCuts,this.prodId=t.result.prodId,this.ingotId=t.result.ingotId,t.result.jrInfoIngotList?(this.status=2,this.tableForm.tableData=t.result.jrInfoIngotList.map((t=>({ingotId:t.id,ingotNo:t.ingotNo,weight:""})))):this.status=1}))},cancel(){let{form:t,tableForm:e,currentBatchNum:s,cardForm:a,status:i,disable:o}=this.$options.data();this.form=t,this.status=i,this.cardForm=a,this.currentBatchNum=s,this.tableForm=e,this.disable=o},check(){this.currentBatchNum?this.$refs.sedForm.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):d["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):d["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.tableForm.tableData.length?(this.tableForm.tableData.forEach((t=>{t.weight=Number(t.weight)})),this.$http({url:"/pad/lineCut/passStation",method:"post",data:{ingotWeightList:this.tableForm.tableData,stepId:this.stepId,prodId:this.prodId}}).then((t=>{d["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))):d["a"].create({type:"negative",position:"top",message:"无数据提交"})}},created(){this.getList(),this.focusDeviceId()},watch:{currentBatchNum:{handler(t){let{form:e,tableForm:s,cardForm:a,status:i,disable:o}=this.$options.data();this.form=e,this.status=i,this.disable=o,this.tableForm=s,this.$nextTick((()=>{1===this.status?this.$refs.form.resetValidation():this.$refs.sedForm.resetValidation()})),t?(this.getBaseData(),this.disable=!1):this.cardForm=a},immediate:!0,deep:!0}}},m=c,h=(s("1773"),s("2877")),u=s("0378"),p=s("ddd8"),b=s("27f9"),g=s("eaac"),f=s("bd08"),v=s("db86"),I=s("9c40"),C=s("eebe"),F=s.n(C),k=Object(h["a"])(m,a,i,!1,null,"17ef5499",null);e["default"]=k.exports;F()(k,"components",{QForm:u["a"],QSelect:p["a"],QInput:b["a"],QTable:g["a"],QTr:f["a"],QTd:v["a"],QBtn:I["a"]})},3799:function(t,e,s){}}]); \ No newline at end of file diff --git a/www/js/22.js b/www/js/22.js new file mode 100644 index 0000000..5f3dc00 --- /dev/null +++ b/www/js/22.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[22],{"3f2b":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"title_style"},[a("div",{staticClass:"title"},[t._v("\n 数据明细\n ")]),a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"body_style common-form"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("定向时间(min)")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",type:"number",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationTime,callback:function(e){t.$set(t.form.data,"orientationTime",t._n(e))},expression:"form.data.orientationTime"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编码")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("工装编号")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.fixtureNo},"option-value":function(t){return t.id},options:t.fixtureIdList,filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.fixtureId,callback:function(e){t.$set(t.form.data,"fixtureId",e)},expression:"form.data.fixtureId"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("定向确认人")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.name},"option-value":function(t){return t.name},options:t.userList,filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.orientationConfirmUser,callback:function(e){t.$set(t.form.data,"orientationConfirmUser",e)},expression:"form.data.orientationConfirmUser"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("检验结果")]),a("q-select",{attrs:{placeholder:"请选择",options:t.checkList,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.checkResult,callback:function(e){t.$set(t.form.data,"checkResult",e)},expression:"form.data.checkResult"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("是否粘胶")]),a("q-select",{attrs:{placeholder:"请选择",filled:"",dense:"","emit-value":"","map-options":"",disable:t.disable,options:t.isOptions,rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.isAdhesive,callback:function(e){t.$set(t.form.data,"isAdhesive",e)},expression:"form.data.isAdhesive"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("是否使用大理石")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"",filled:"",dense:"",disable:t.disable,options:t.isOptions,rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.isMarbleUsed,callback:function(e){t.$set(t.form.data,"isMarbleUsed",e)},expression:"form.data.isMarbleUsed"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("定向角度")]),a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-30 display"},[a("div",{staticClass:"num",class:{disable:t.disable}},[t._v("0°")]),a("q-input",{attrs:{disable:t.disable,filled:"",type:"number",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle0,callback:function(e){t.$set(t.form.data,"orientationAngle0",t._n(e))},expression:"form.data.orientationAngle0"}})],1),a("div",{staticClass:"col mg-r-30 display"},[a("div",{staticClass:"num",class:{disable:t.disable}},[t._v("90°")]),a("q-input",{attrs:{disable:t.disable,type:"number",filled:"",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle90,callback:function(e){t.$set(t.form.data,"orientationAngle90",t._n(e))},expression:"form.data.orientationAngle90"}})],1)])]),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"nolabel"},[t._v(" ")]),a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-30 display"},[a("div",{staticClass:"num",class:{disable:t.disable}},[t._v("180°")]),a("q-input",{attrs:{disable:t.disable,filled:"",type:"number",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle180,callback:function(e){t.$set(t.form.data,"orientationAngle180",t._n(e))},expression:"form.data.orientationAngle180"}})],1),a("div",{staticClass:"col mg-r-30 display"},[a("div",{staticClass:"num",class:{disable:t.disable}},[t._v("270°")]),a("q-input",{attrs:{disable:t.disable,type:"number",filled:"",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle270,callback:function(e){t.$set(t.form.data,"orientationAngle270",t._n(e))},expression:"form.data.orientationAngle270"}})],1)])]),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1),a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)},i=[],l=a("dd67"),o=a("30d4"),r=a("2a19"),d=a("0418"),n={name:"xianqiedingxiang",components:{Header:d["a"],CommonBtngroup:l["default"],OpticsTitleCrad:o["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-yongtu",title:"晶锭用途(寸/砖)",value:"",bColor:"#55C169"},{name:"app:icon-zhongliang",title:"晶锭重量",value:"",bColor:"#FA8C16"}],isOptions:[{label:"是",value:"1"},{label:"否",value:"0"}],checkList:[{label:"OK",value:"OK"},{label:"NG",value:"NG"}],shift:[{label:"白班",value:1},{label:"夜班",value:2}],form:{data:{orientationTime:"",isAdhesive:"",isMarbleUsed:"",deviceId:"",fixtureId:"",orientationConfirmUser:"",shift:"",orientationAngle0:"",orientationAngle90:"",orientationAngle180:"",orientationAngle270:"",checkResult:"",remarks:""}},processId:15,stepId:15,prodId:0,batchNumList:[],currentBatchNum:null,DeviceIdList:[],fixtureIdList:[],userList:[],time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},focusfixtureId(){this.$http({url:"/fixture/queryDropBox",method:"get",params:{fixtureType:3}}).then((t=>{this.fixtureIdList=t.result}))},focusUserId(){this.$http({url:"/user/getUsersWithRolePage",method:"get",params:{orgId:0,username:"",name:"",lockFlag:0,pageNum:0,pageSize:0}}).then((t=>{this.userList=t.result.list}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶锭编码":e.value=t.result.ingotNo||"";break;case"晶锭用途(寸/砖)":e.value=t.result.size+"寸"||!1;break;case"晶锭重量":e.value=t.result.ingotWeight||"";break}})),this.getTime(),this.form.data.checkResult="OK",this.form.data.isAdhesive="1",this.form.data.isMarbleUsed="1",this.prodId=t.result.prodId}))},cancel(){let{cardForm:t,form:e,disable:a,currentBatchNum:s}=this.$options.data();this.form=e,this.currentBatchNum=s,this.disable=a,this.cardForm=t},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):r["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):r["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/lineCutOrientation/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{r["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum=null,this.cancel()}))}},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:a}=this.$options.data();this.form=e,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=a,this.disable=!0)},immediate:!0,deep:!0}},created(){this.getList(),this.focusDeviceId(),this.focusfixtureId(),this.focusUserId()}},c=n,u=(a("9ccc"),a("2877")),m=a("0378"),f=a("27f9"),p=a("ddd8"),h=a("eebe"),b=a.n(h),v=Object(u["a"])(c,s,i,!1,null,"325134f8",null);e["default"]=v.exports;b()(v,"components",{QForm:m["a"],QInput:f["a"],QSelect:p["a"]})},"9ccc":function(t,e,a){"use strict";a("df5d")},df5d:function(t,e,a){}}]); \ No newline at end of file diff --git a/www/js/23.js b/www/js/23.js new file mode 100644 index 0000000..b79ebd3 --- /dev/null +++ b/www/js/23.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[23],{"143f":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"optics_style"},[e("div",{staticClass:"header"},[e("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(a){t.currentBatchNum=a}}})],1),e("q-tabs",{staticClass:"text-grey common-tab",staticStyle:{"background-color":"#fff"},attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tabForm.data,callback:function(a){t.$set(t.tabForm,"data",a)},expression:"tabForm.data"}},t._l(t.tabForm.tabList,(function(t,a){return e("q-tab",{key:a,attrs:{name:t.name,label:t.label,ripple:!1}})})),1),e("div",{staticClass:"content"},[e("optics-title",{attrs:{title:"数据明细"}}),e("div",{staticClass:"body_style common-form"},[e("div",{staticClass:"mg-t-15"},[e("optics-title-crad",{attrs:{"show-card-form":"","card-form":t.cardForm}})],1),e("div",{staticClass:"mg-t-15"},[e(t.componentList,{tag:"component"})],1)]),e("div",{staticClass:"btn"},[e("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)],1)},o=[],s=e("30d4"),n=e("dd67"),r=e("3ec8"),c=e("9d48"),d=e("0418"),l=e("2691"),m=e("2a19"),p={name:"zhijianpanding",components:{OpticsTitleCrad:s["default"],CommonBtngroup:n["default"],jingbangpanding:r["default"],jingdingpanding:c["default"],Header:d["a"],opticsTitle:l["default"]},data(){return{tabForm:{data:1,tabList:[{name:1,label:"晶锭判定",comName:"jingdingpanding"},{name:2,label:"晶棒判定",comName:"jingbangpanding"}]},cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-zhongliang",title:"晶锭重量",value:"",bColor:"#FA8C16"},{name:"app:icon-gongxu",title:"当前工序",value:"",bColor:"#55C169"}],batchNumList:[],currentBatchNum:null}},methods:{getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((a=>{switch(a.title){case"晶锭编码":a.value=t.result.ingotNo;break;case"晶锭重量":a.value=t.result.ingotWeight;break;case"当前工序":a.value=t.result.ingotWeight;break}})),this.prodId=t.result.prodId}))},cancel(){let{cardForm:t,form:a,disable:e}=this.$options.data();this.form=a,this.disable=e,this.cardForm=t},check(){if(!this.currentBatchNum)return void m["a"].create({type:"negative",position:"top",message:"请选择编号"});let t=[],a=JSON.parse(JSON.stringify(this.form.data));t=Object.keys(a).filter((t=>{if(a[t]=a[t]?a[t].toString():"","remarks"!==t)return!a[t].length})),t.length?m["a"].create({type:"negative",position:"top",message:"请将数据填写完整"}):this.submit()},submit(){this.$http({url:"/pad/lineCutOrientation/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{m["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum=null,this.cancel()}))}},computed:{componentList(){return this.tabForm.tabList[this.tabForm.data-1].comName}},watch:{"tabForm.data":{handler(t){1==t?this.cardForm=this.$options.data().cardForm:2==t&&this.cardForm.splice(1,0,{name:"app:icon-ziduanbianhao",title:"晶棒编号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"})},immediate:!0,deep:!0}},created(){this.getList()}},u=p,h=(e("fd86"),e("2877")),b=e("429b"),g=e("7460"),f=e("eebe"),v=e.n(f),C=Object(h["a"])(u,i,o,!1,null,"26a09816",null);a["default"]=C.exports;v()(C,"components",{QTabs:b["a"],QTab:g["a"]})},"73c3":function(t,a,e){},fd86:function(t,a,e){"use strict";e("73c3")}}]); \ No newline at end of file diff --git a/www/js/24.js b/www/js/24.js new file mode 100644 index 0000000..c3cd3ab --- /dev/null +++ b/www/js/24.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[24],{e57d:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("PageContainer",{ref:"container",attrs:{name:"粗磨"}},[a("template",{slot:"header"},[a("Appbar",{attrs:{options:t.batchNumList,model:t.currentBatchNum,fkliterKey:"batchNum"},on:{"update:model":function(e){t.currentBatchNum=e}}}),t.category.steps.length>0?a("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},t._l(t.category.steps,(function(t,e){return a("q-tab",{key:e,attrs:{ripple:!1,label:t.stepName,name:e}})})),1):t._e()],1),a("div",{staticClass:"mt-20 common-box"},[a("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),a("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[a("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),a("div",[a("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[t._v("\n 流出片数\n ")]),a("q-input")],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[t._v("\n 备注\n ")]),a("q-input")],1)])]),a("div",{staticClass:"mg-b-20"}),a("FormTable",{attrs:{labels:[{name:"WARP",width:"33%"},"BOW","THK","操作"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2),a("FormTable",{attrs:{labels:[{name:"设备编号"},"磨料片数","破片数","操作人员"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",{staticClass:"edit_btn_group"},[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1)])])],2),a("FormTable",{attrs:{labels:[{name:"质量类型",width:"33%"},"片数","操作"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2)],1)],1)],1)],2)},l=[],i=a("d6f4"),n=a("6e23"),o={name:"chumo",mixins:[i["default"]],components:{FormTable:n["default"]},data(){return{batchNumList:[],currentBatchNum:null,cardList:[],form:{}}},methods:{onSubmit(){},onReset(){}}},r=o,c=a("2877"),d=a("429b"),p=a("7460"),m=a("0378"),u=a("27f9"),b=a("0016"),f=a("eebe"),h=a.n(f),g=Object(c["a"])(r,s,l,!1,null,"37477e4c",null);e["default"]=g.exports;h()(g,"components",{QTabs:d["a"],QTab:p["a"],QForm:m["a"],QInput:u["a"],QIcon:b["a"]})}}]); \ No newline at end of file diff --git a/www/js/25.js b/www/js/25.js new file mode 100644 index 0000000..eae7b8f --- /dev/null +++ b/www/js/25.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[25],{ccb6:function(n,e,s){"use strict";s.r(e);var t=function(){var n=this,e=n.$createElement,s=n._self._c||e;return s("div",[n._v("\n ss\n")])},a=[],c={name:"Tabs"},r=c,u=s("2877"),i=Object(u["a"])(r,t,a,!1,null,"a827348e",null);e["default"]=i.exports}}]); \ No newline at end of file diff --git a/www/js/26.js b/www/js/26.js new file mode 100644 index 0000000..39eb707 --- /dev/null +++ b/www/js/26.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[26],{"887a":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daojiao"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:e.batchNumList,model:e.currentBatchNum},on:{"update:model":function(t){e.currentBatchNum=t}}})],1),a("div",{staticClass:"content"},[a("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:e.tab,callback:function(t){e.tab=t},expression:"tab"}},[a("q-tab",{attrs:{ripple:!1,name:"daojiao",label:"倒角"}})],1),a("div",{staticClass:"pd-20 common-box"},[a("common-card",{attrs:{list:e.currentBatchNum?[e.currentBatchNum]:[]},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.data;return[a("tr",[a("td",{staticClass:"label"},[e._v("客户")]),a("td",[e._v(e._s(i.customerName))]),a("td",{staticClass:"label"},[e._v("档位")]),a("td",[e._v(e._s(i.gear))]),a("td",{staticClass:"label"},[e._v("流入数量")]),a("td",[e._v(e._s(i.inflowNum))])]),a("tr",[a("td",{staticClass:"label"},[e._v("流入时间")]),a("td",[e._v(e._s(i.inflowTime))]),a("td",{staticClass:"label"},[e._v("上站过站人")]),a("td",[e._v(e._s(i.inflowUser))])])]}}])}),a("div",{staticClass:"common-form mg-b-20"},[a("div",{staticClass:"common-title"},[e._v("\n 过程录入\n ")]),a("div",{staticClass:"shadow-box pd-20"},[a("common-title",{attrs:{color:"green",icon:"icon-a-shuju1"}},[a("template",{slot:"right-tool"},[a("q-icon",{staticClass:"right_tool_icon icon-small",attrs:{name:e.isDisabled?"app:icon-a-tubiaosuoding":"app:icon-a-tubiaosysbeifen7"},on:{click:function(t){e.isDisabled=!e.isDisabled}}})],1)],2),a("div",{staticClass:"form_content"},[a("q-form",{ref:"myForm",staticClass:"q-gutter-md mg-t-20",on:{submit:e.onSubmit,reset:e.onReset}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.noBatchNum}},[e._v("\n 设备编号\n ")]),a("select-fill",{attrs:{model:e.daojiaoForm.deviceId,useInput:!0,optionValue:"id",optionLabel:"deviceNum",options:e.deviceIdList,disable:e.noBatchNum,emitValue:!0,mapOptions:!0},on:{"update:model":function(t){return e.$set(e.daojiaoForm,"deviceId",t)},focus:e.getDeviceList}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[e._v("\n 流出片数\n ")]),a("q-input",{attrs:{filled:"",dense:"",type:"number",disable:""},model:{value:e.daojiaoForm.outflowNum,callback:function(t){e.$set(e.daojiaoForm,"outflowNum",t)},expression:"daojiaoForm.outflowNum"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.noBatchNum}},[e._v("\n 备注\n ")]),a("q-input",{attrs:{dense:"",type:"text",disable:e.noBatchNum},model:{value:e.daojiaoForm.remarks,callback:function(t){e.$set(e.daojiaoForm,"remarks",t)},expression:"daojiaoForm.remarks"}})],1)]),a("q-separator"),a("q-form",{ref:"daojiaoSetForm"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.isDisabled||e.deviceIdEmpty}},[e._v("\n L砂轮厂家\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:e.isDisabled||e.deviceIdEmpty,rules:[function(e){return e&&e.length>0}]},model:{value:e.daojiaoSetForm.lWheelManufacturers,callback:function(t){e.$set(e.daojiaoSetForm,"lWheelManufacturers",t)},expression:"daojiaoSetForm.lWheelManufacturers"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.isDisabled||e.deviceIdEmpty}},[e._v("\n L砂轮标识\n ")]),a("select-fill",{attrs:{model:e.daojiaoSetForm.lWheelIdentification,useInput:!0,optionValue:"fixtureNum",optionLabel:"fixtureNum",options:e.WheelIdentificationList,disable:e.isDisabled||e.deviceIdEmpty,emitValue:"",mapOptions:"",rules:[function(e){return e&&e.length>0}]},on:{"update:model":function(t){return e.$set(e.daojiaoSetForm,"lWheelIdentification",t)},focus:e.getWheelIdentificationList}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.isDisabled||e.deviceIdEmpty}},[e._v("\n L沟槽寿命设定\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:e.isDisabled||e.deviceIdEmpty,rules:[function(e){return e&&e.length>0}]},model:{value:e.daojiaoSetForm.lGrooveLife,callback:function(t){e.$set(e.daojiaoSetForm,"lGrooveLife",t)},expression:"daojiaoSetForm.lGrooveLife"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.isDisabled||e.deviceIdEmpty}},[e._v("\n R砂轮厂家\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:e.isDisabled||e.deviceIdEmpty,rules:[function(e){return e&&e.length>0}]},model:{value:e.daojiaoSetForm.rWheelManufacturers,callback:function(t){e.$set(e.daojiaoSetForm,"rWheelManufacturers",t)},expression:"daojiaoSetForm.rWheelManufacturers"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.isDisabled||e.deviceIdEmpty}},[e._v("\n R砂轮标识\n ")]),a("select-fill",{attrs:{model:e.daojiaoSetForm.rWheelIdentification,useInput:!0,optionValue:"fixtureNum",optionLabel:"fixtureNum",options:e.WheelIdentificationList,disable:e.isDisabled||e.deviceIdEmpty,emitValue:"",mapOptions:"",rules:[function(e){return e&&e.length>0}]},on:{"update:model":function(t){return e.$set(e.daojiaoSetForm,"rWheelIdentification",t)},focus:e.getWheelIdentificationList}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.isDisabled||e.deviceIdEmpty}},[e._v("\n R沟槽寿命设定\n ")]),a("q-input",{attrs:{filled:"",dense:"",disable:e.isDisabled||e.deviceIdEmpty,placeholder:"请输入",rules:[function(e){return e&&e.length>0}]},model:{value:e.daojiaoSetForm.rGrooveLife,callback:function(t){e.$set(e.daojiaoSetForm,"rGrooveLife",t)},expression:"daojiaoSetForm.rGrooveLife"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.isDisabled||e.deviceIdEmpty}},[e._v("\n 设定A直径\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:e.isDisabled||e.deviceIdEmpty,rules:[function(e){return e&&e.length>0}]},model:{value:e.daojiaoSetForm.SetDiameterByA,callback:function(t){e.$set(e.daojiaoSetForm,"SetDiameterByA",t)},expression:"daojiaoSetForm.SetDiameterByA"}})],1)])]),a("q-separator"),a("common-title",{attrs:{needIcon:!1,title:"L沟槽序号:1(已累计:0)"}},[a("template",{slot:"right-tool"},[a("div",{staticClass:"pd-r-10"},[a("q-icon",{staticClass:"right_tool_icon icon-small",attrs:{name:"app:icon-a-tubiaosysbeifen4"}}),a("span",{staticClass:"small-font"},[e._v("切换")])],1)])],2),a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label"},[e._v("\n 本次倒角片数\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[e._v("\n 初始上面幅\n ")]),a("q-input",{attrs:{filled:"",dense:"",type:"number"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[e._v("\n 初始下面幅\n ")]),a("q-select",{attrs:{filled:"",dense:"",options:e.cardList},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-4 pd-r-20"},[a("div",{staticClass:"label"},[e._v("\n 结束上面幅\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("div",{staticClass:"col-4 pd-r-20"},[a("div",{staticClass:"label disable"},[e._v("\n 结束下面幅\n ")]),a("q-input",{attrs:{filled:"",dense:"",type:"number"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1)]),a("q-separator"),a("common-title",{attrs:{needIcon:!1,title:"R沟槽序号:1(已累计:0)"}},[a("template",{slot:"right-tool"},[a("div",{staticClass:"pd-r-10"},[a("q-icon",{staticClass:"right_tool_icon icon-small",attrs:{name:"app:icon-a-tubiaosysbeifen4"}}),a("span",{staticClass:"small-font"},[e._v("切换")])],1)])],2),a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label"},[e._v("\n 本次倒角片数\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[e._v("\n 初始上面幅\n ")]),a("q-input",{attrs:{filled:"",dense:"",type:"number"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[e._v("\n 初始下面幅\n ")]),a("q-select",{attrs:{filled:"",dense:"",options:e.cardList},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-4 pd-r-20"},[a("div",{staticClass:"label"},[e._v("\n 结束上面幅\n ")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("div",{staticClass:"col-4 pd-r-20"},[a("div",{staticClass:"label disable"},[e._v("\n 结束下面幅\n ")]),a("q-input",{attrs:{filled:"",dense:"",type:"number"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1)]),a("form-table",{attrs:{labels:e.labels}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2),a("form-table",{attrs:{labels:[{name:"质量类型",width:"33%"},"片段","操作"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2),a("form-table",{attrs:{labels:[{name:"序号",width:"33%"},"穿透率","操作"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[e._v("\n 11\n ")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2)],1)],1)],1)]),a("common-btngroup",{directives:[{name:"show",rawName:"v-show",value:e.currentBatchNum,expression:"currentBatchNum"}]})],1)],1)])},s=[],o=a("2f62"),l=a("0748"),n=a("0418"),d=a("5979"),r=a("dd67"),c=a("9951"),m=a("6e23"),u=a("54d9"),p={name:"jingbangtuihuo",components:{Header:n["a"],Table:l["a"],CommonCard:d["default"],CommonBtngroup:r["default"],CommonTitle:c["default"],FormTable:m["default"],SelectFill:u["default"]},computed:{...Object(o["b"])(["deviceIdList"]),noBatchNum(){return!this.currentBatchNum},deviceIdEmpty(){return!this.daojiaoForm.deviceId||""===this.daojiaoForm.deviceId}},watch:{currentBatchNum(e){console.log(e,"val"),e&&""!==e||(this.daojiaoForm.deviceId="")},daojiaoQualityInfoList:{handler(e){this.qualityInfoSum=0,this.daojiaoForm.outflowNum=this.$u.judgeArrObj(e),e.forEach((e=>{this.qualityInfoSum+=e.num}))},immediate:!0,deep:!0},"daojiaoForm.deviceId":{handler(e){if(e&&""!==e)return this.$http({url:"/padProdRecord/getInstallInfo",method:"post",data:{stepId:this.currentBatchNum.stepId,deviceId:this.daojiaoForm.deviceId}}).then((e=>{if(null!==e.result){let t=JSON.parse(e.result);this.daojiaoSetForm.lWheelManufacturers=t.lWheelManufacturers,this.daojiaoSetForm.lWheelIdentification=t.lWheelIdentification,this.daojiaoSetForm.lGrooveLife=t.lGrooveLife,this.daojiaoSetForm.rWheelManufacturers=t.rWheelManufacturers,this.daojiaoSetForm.rWheelIdentification=t.rWheelIdentification,this.daojiaoSetForm.steelWireManufacturers=t.steelWireManufacturers,this.daojiaoSetForm.rGrooveLife=t.rGrooveLife,this.daojiaoSetForm.SetDiameterByA=t.SetDiameterByA,this.LGrindingWheelLForm.index=t.LGrindingWheelLForm.index,this.LGrindingWheelLForm.time=t.LGrindingWheelLForm.time||0,this.RGrindingWheelLForm.index=t.RGrindingWheelLForm.index,this.RGrindingWheelLForm.time=t.RGrindingWheelLForm.time||0}else this.daojiaoSetForm=this.$options.data().daojiaoSetForm,this.LGrindingWheelLForm.index=1,this.LGrindingWheelLForm.time=0,this.RGrindingWheelLForm.index=1,this.RGrindingWheelLForm.time=0}));this.clearData()}},"daojiaoSetForm.lWheelIdentification":{handler(e){console.log(e,"val111")}}},data(){return{buttonList:[],searchForm:{batchNum:"",processId:"",stepId:""},currentBatchNum:null,batchNumList:[],name:"",tab:"daojiao",daojiaoForm:{deviceId:""},form:{password:"",email:""},cardList:[1,2],labels:["直径A1","直径A2","直径A3","直径B","圆度","平边长度","NOTCH角度","NOTCH深度","操作"],qualityInfoSum:0,daojiaoQualityInfoList:[{qualityType:"",num:"",qualifiedFlag:"",tailPieceFlag:""}],daojiaoSetForm:{lWheelManufacturers:"",lWheelIdentification:"",lGrooveLife:"",rWheelManufacturers:"",rWheelIdentification:"",rGrooveLife:"",SetDiameterByA:""},isDisabled:!0,WheelIdentificationList:[],LGrindingWheelLForm:{chamferNum:"",startTop:"",endTop:"",startBottom:"",endBottom:"",index:"",time:""},RGrindingWheelLForm:{chamferNum:"",startTop:"",endTop:"",startBottom:"",endBottom:"",index:"",time:""},cacheMap:{},WheelIdentificationList:[],penetrationRateList:[{penetrationRate:""}],allList:[],sidebarList:[],screenList:[]}},methods:{getStepByProcessName(){return this.$http({url:"/padProdRecord/getStepByProcessName/倒角",method:"get"}).then((e=>{this.buttonList=e.result.steps,this.searchForm.processId=e.result.processId,this.searchForm.stepId=e.result.steps[0].id}))},getList(){this.getDataLoading=!0,this.$http({url:"/padProdRecord/query",timeout:3e4,method:"get",params:this.searchForm}).then((e=>{this.allList=e.result,this.batchNumList=e.result.map((e=>e.batchNum))})).catch((e=>{}))},onSubmit(){},onReset(){},clickRow(e){console.log(e,"row")},getDeviceList(){this.$store.dispatch("getDeviceIdList",8)},getWheelIdentificationList(){this.$http({url:"/fixture/queryPad",method:"get",params:{fixtureType:"砂轮",pageNum:0,pageSize:0,status:1}}).then((e=>{this.WheelIdentificationList=e.result.list}))},clearData(){this.$nextTick((()=>{this.$refs.daojiaoSetForm.resetValidation()})),this.cacheMap=this.$options.data().cacheMap,this.daojiaoForm=this.$options.data().daojiaoForm,this.daojiaoSetForm=this.$options.data().daojiaoSetForm,this.daojiaoQualityInfoList=this.$options.data().daojiaoQualityInfoList,this.penetrationRateList=this.$options.data().penetrationRateList,this.chamferInfoList=this.$options.data().chamferInfoList,this.LGrindingWheelLForm=this.$options.data().LGrindingWheelLForm,this.RGrindingWheelLForm=this.$options.data().RGrindingWheelLForm,this.allList=[],this.batchNumList=[],this.sidebarList=[],this.screenList=[]}},async created(){await this.getStepByProcessName(),this.getList()}},h=p,f=a("2877"),b=a("429b"),v=a("7460"),L=a("0016"),g=a("0378"),F=a("27f9"),C=a("eb85"),I=a("ddd8"),j=a("66e5"),S=a("4074"),_=a("eebe"),y=a.n(_),q=Object(f["a"])(h,i,s,!1,null,null,null);t["default"]=q.exports;y()(q,"components",{QTabs:b["a"],QTab:v["a"],QIcon:L["a"],QForm:g["a"],QInput:F["a"],QSeparator:C["a"],QSelect:I["a"],QItem:j["a"],QItemSection:S["a"]})}}]); \ No newline at end of file diff --git a/www/js/27.js b/www/js/27.js new file mode 100644 index 0000000..ddab3e0 --- /dev/null +++ b/www/js/27.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[27],{"125a":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("PageContainer",[e("template",{slot:"header"},[e("Appbar",{attrs:{options:t.batchNumList,model:t.currentBatchNum,fkliterKey:"batchNum"},on:{"update:model":function(a){t.currentBatchNum=a}}}),t.category.steps.length>0?e("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tab,callback:function(a){t.tab=a},expression:"tab"}},t._l(t.category.steps,(function(t,a){return e("q-tab",{key:a,attrs:{ripple:!1,label:t.stepName,name:a}})})),1):t._e()],1),e("div",{staticClass:"mt-20 common-box"},[e("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),e("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[e("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),e("div",[e("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 档位\n ")]),e("q-input")],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 设备编号\n ")]),e("q-input")],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 流出片数\n ")]),e("q-input")],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 备注\n ")]),e("q-input")],1)])]),e("div",{staticClass:"mg-b-20"}),e("FormTable",{attrs:{labels:[{name:"质量类型",width:"33%"},"片数","操作"]}},[e("template",{slot:"tbody"},[e("tr",[e("td",[e("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),e("td",[e("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),e("td",{staticClass:"edit_btn_group"},[e("div",[e("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),e("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2)],1)],1)],1)],2)},i=[],n=e("d6f4"),l=e("6e23"),o={name:"fenmian",mixins:[n["default"]],components:{FormTable:l["default"]},data(){return{batchNumList:[],currentBatchNum:null,name:"分面",cardList:[],form:{}}},methods:{onSubmit(){},onReset(){}}},r=o,c=e("2877"),m=e("429b"),d=e("7460"),u=e("0378"),b=e("27f9"),p=e("0016"),f=e("eebe"),v=e.n(f),g=Object(c["a"])(r,s,i,!1,null,"31364f20",null);a["default"]=g.exports;v()(g,"components",{QTabs:m["a"],QTab:d["a"],QForm:u["a"],QInput:b["a"],QIcon:p["a"]})}}]); \ No newline at end of file diff --git a/www/js/28.js b/www/js/28.js new file mode 100644 index 0000000..53b32e2 --- /dev/null +++ b/www/js/28.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[28],{"178e":function(a,e,t){"use strict";t.r(e);var l=function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"content"},[t("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:a.tab,callback:function(e){a.tab=e},expression:"tab"}},[t("q-tab",{attrs:{ripple:!1,name:"mails",label:"晶棒退火"}}),t("q-tab",{attrs:{ripple:!1,name:"mails1",label:"晶棒退火"}})],1),t("div",{staticClass:"pd-20 common-box"},[t("common-card",{attrs:{list:a.cardList}}),t("div",{staticClass:"common-form mg-b-20"},[t("div",{staticClass:"common-title"},[a._v("\n 过程录入\n ")]),t("div",{staticClass:"shadow-box pd-20"},[t("common-title",{attrs:{color:"green",icon:"icon-a-shuju1"}},[t("template",{slot:"right-tool"},[t("q-icon",{staticClass:"right_tool_icon icon-small",attrs:{name:"app:icon-a-tubiaosysbeifen7"}}),t("q-icon",{staticClass:"right_tool_icon icon-small",attrs:{name:"app:icon-a-tubiaosysbeifen33"}})],1)],2),t("div",{staticClass:"form_content"},[t("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:a.onSubmit,reset:a.onReset}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label"},[a._v("\n 设备编号\n ")]),t("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"","lazy-rules":"",rules:[function(a){return a&&a.length>0||"Please type something"}]},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1),t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label disable"},[a._v("\n 设备编号\n ")]),t("q-input",{attrs:{filled:"",dense:"",type:"number"},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1),t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label disable"},[a._v("\n 设备编号\n ")]),t("q-select",{attrs:{filled:"",dense:"",options:a.cardList},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1)]),t("div",{staticClass:"row mg-t-0"},[t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label"},[a._v("\n 设备编号\n ")]),t("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"","lazy-rules":"",rules:[function(a){return a&&a.length>0||"Please type something"}]},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1),t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label disable"},[a._v("\n 设备编号\n ")]),t("q-input",{attrs:{filled:"",dense:"",type:"number"},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1),t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label disable"},[a._v("\n 设备编号\n ")]),t("q-select",{attrs:{filled:"",dense:"",options:a.cardList},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1)]),t("q-separator"),t("common-title",{attrs:{needIcon:!1,title:"L沟槽序号:1(已累计:0)"}},[t("template",{slot:"right-tool"},[t("div",{staticClass:"pd-r-10"},[t("q-icon",{staticClass:"right_tool_icon icon-small",attrs:{name:"app:icon-a-tubiaosysbeifen4"}}),t("span",{staticClass:"small-font"},[a._v("切换")])],1)])],2),t("div",{staticClass:"row"},[t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label"},[a._v("\n 设备编号\n ")]),t("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"","lazy-rules":"",rules:[function(a){return a&&a.length>0||"Please type something"}]},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1),t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label disable"},[a._v("\n 设备编号\n ")]),t("q-input",{attrs:{filled:"",dense:"",type:"number"},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1),t("div",{staticClass:"col mg-r-20"},[t("div",{staticClass:"label disable"},[a._v("\n 设备编号\n ")]),t("q-select",{attrs:{filled:"",dense:"",options:a.cardList},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1)]),t("q-separator")],1)],1)],1)]),t("Table",{ref:"table",staticClass:"shadow-box",attrs:{searchOptions:a.searchOptions,tableOptions:a.tableOptions},on:{resetSearch:a.resetSearch,search:a.search,getTableData:a.getTableData},scopedSlots:a._u([{key:"tableEdit",fn:function(e){var l=e.data;return[t("div",[t("q-btn",{attrs:{color:"primary",label:"操作"},on:{click:function(e){return a.clickRow(l)}}})],1)]}}])},[t("template",{slot:"search-item"},[t("q-input",{attrs:{filled:"",type:"password",label:"Password"},model:{value:a.form.password,callback:function(e){a.$set(a.form,"password",e)},expression:"form.password"}}),t("q-input",{attrs:{filled:"",type:"email",label:"Email"},model:{value:a.form.email,callback:function(e){a.$set(a.form,"email",e)},expression:"form.email"}}),t("q-input",{attrs:{filled:"",type:"email",label:"Email"},model:{value:a.form.email,callback:function(e){a.$set(a.form,"email",e)},expression:"form.email"}})],1)],2),t("div",{staticClass:"shadow-box pd-10 mg-t-20"},[t("div",[t("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"数据录入"}})],1),t("div",[t("form-table",{attrs:{labels:a.labels}},[t("template",{slot:"tbody"},[t("tr",[t("td",[a._v("\n 111\n ")]),t("td",[t("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""},model:{value:a.name,callback:function(e){a.name=e},expression:"name"}})],1),t("td",[t("div",[a._v("操作")])])])])],2)],1)]),t("common-btngroup")],1)],1)},s=[],i=t("2f62"),n=t("0748"),o=t("5979"),r=t("dd67"),c=t("9951"),m=t("6e23"),d={name:"jingbangtuihuo",components:{Table:n["a"],CommonCard:o["default"],CommonBtngroup:r["default"],CommonTitle:c["default"],FormTable:m["default"]},computed:{...Object(i["b"])(["currentBatchNum"])},watch:{currentBatchNum(a){console.log(a,"val")}},data(){return{tab:"mails",form:{password:"",email:""},searchOptions:{},tableOptions:{loading:!1,key:"name",columns:[{name:"name",required:!0,label:"Dessert (100g serving)",align:"left",field:a=>a.name,format:a=>`${a}`,sortable:!0},{name:"calories",align:"center",label:"Calories",field:"calories",sortable:!0},{name:"fat",label:"Fat (g)",field:"fat",sortable:!0},{name:"carbs",label:"Carbs (g)",field:"carbs"},{name:"protein",label:"Protein (g)",field:"protein"},{name:"sodium",label:"Sodium (mg)",field:"sodium"},{name:"calcium",label:"Calcium (%)",field:"calcium",sortable:!0,sort:(a,e)=>parseInt(a,10)-parseInt(e,10)},{name:"iron",label:"Iron (%)",field:"iron",sortable:!0,sort:(a,e)=>parseInt(a,10)-parseInt(e,10)},{name:"edit",label:"操作"}],data:[{name:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4,sodium:87,calcium:"14%",iron:"11%"},{name:"Ice cream sandwich",calories:237,fat:9,carbs:37,protein:4.3,sodium:129,calcium:"8%",iron:"1%"},{name:"Eclair",calories:262,fat:16,carbs:23,protein:6,sodium:337,calcium:"6%",iron:"7%"},{name:"Cupcake",calories:305,fat:3.7,carbs:67,protein:4.3,sodium:413,calcium:"3%",iron:"8%"},{name:"Gingerbread",calories:356,fat:16,carbs:49,protein:3.9,sodium:327,calcium:"7%",iron:"16%"},{name:"Jelly bean",calories:375,fat:0,carbs:94,protein:0,sodium:50,calcium:"0%",iron:"0%"},{name:"Lollipop",calories:392,fat:.2,carbs:98,protein:0,sodium:38,calcium:"0%",iron:"2%"},{name:"Honeycomb",calories:408,fat:3.2,carbs:87,protein:6.5,sodium:562,calcium:"0%",iron:"45%"},{name:"Donut",calories:452,fat:25,carbs:51,protein:4.9,sodium:326,calcium:"2%",iron:"22%"},{name:"KitKat",calories:518,fat:26,carbs:65,protein:7,sodium:54,calcium:"12%",iron:"6%"}]},cardList:[1,2],name:"",labels:[{name:"序号",width:"100px"},"穿透率","操作"]}},methods:{resetSearch(){this.form=this.$options.data().form},search(){console.log(this.form)},getTableData(){this.tableOptions.loading=!0,setTimeout((()=>{this.tableOptions.loading=!1}),1e3),console.log("geyData")},onSubmit(){},onReset(){},clickRow(a){console.log(a,"row")}}},u=d,b=t("2877"),p=t("429b"),f=t("7460"),v=t("0016"),g=t("0378"),C=t("27f9"),h=t("ddd8"),q=t("eb85"),w=t("9c40"),y=t("eebe"),k=t.n(y),_=Object(b["a"])(u,l,s,!1,null,null,null);e["default"]=_.exports;k()(_,"components",{QTabs:p["a"],QTab:f["a"],QIcon:v["a"],QForm:g["a"],QInput:C["a"],QSelect:h["a"],QSeparator:q["a"],QBtn:w["a"]})}}]); \ No newline at end of file diff --git a/www/js/29.js b/www/js/29.js new file mode 100644 index 0000000..cf72cac --- /dev/null +++ b/www/js/29.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[29],{"4e35":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("PageContainer",[a("template",{slot:"header"},[a("Appbar",{attrs:{options:t.batchNumList,model:t.currentBatchNum,fkliterKey:"batchNum"},on:{"update:model":function(e){t.currentBatchNum=e}}}),t.category.steps.length>0?a("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},t._l(t.category.steps,(function(t,e){return a("q-tab",{key:e,attrs:{ripple:!1,label:t.stepName,name:e}})})),1):t._e()],1),a("div",{staticClass:"mt-20 common-box"},[a("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),a("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[a("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),a("div",[a("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[t._v("\n 流出片数\n ")]),a("q-input")],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[t._v("\n 设备编号\n ")]),a("q-input")],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label disable"},[t._v("\n 备注\n ")]),a("q-input")],1)])]),a("div",{staticClass:"mg-b-20"}),a("FormTable",{attrs:{labels:[{name:"WARP",width:"33%"},"BOW","THK","操作"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2),a("FormTable",{attrs:{labels:[{name:"质量类型",width:"33%"},"片数","操作"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2),a("FormTable",{attrs:{labels:[{name:"RA-上"},"RA-左","RA-平","RA-右","RA-中","操作"]}},[a("template",{slot:"tbody"},[a("tr",[a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("td",{staticClass:"edit_btn_group"},[a("div",[a("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),a("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2)],1)],1)],1)],2)},s=[],l=a("d6f4"),n=a("6e23"),o={name:"jingmo",mixins:[l["default"]],components:{FormTable:n["default"]},data(){return{batchNumList:[],currentBatchNum:null,name:"精磨",cardList:[],form:{}}},methods:{onSubmit(){},onReset(){}}},r=o,c=a("2877"),d=a("429b"),p=a("7460"),m=a("0378"),u=a("27f9"),b=a("0016"),f=a("eebe"),g=a.n(f),h=Object(c["a"])(r,i,s,!1,null,"63a55acc",null);e["default"]=h.exports;g()(h,"components",{QTabs:d["a"],QTab:p["a"],QForm:m["a"],QInput:u["a"],QIcon:b["a"]})}}]); \ No newline at end of file diff --git a/www/js/3.js b/www/js/3.js new file mode 100644 index 0000000..b9005e2 --- /dev/null +++ b/www/js/3.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[3],{"013f":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Login"},[n("div",{staticClass:"info_box"},[n("div",{staticClass:"left_box"}),n("div",{staticClass:"right_box"},[n("div",{staticClass:"right_form"},[t._m(0),n("div",{staticClass:"form"},[n("q-form",{ref:"myForm",staticClass:"q-gutter-md",on:{submit:t.login}},[n("q-input",{attrs:{label:"账号",rounded:"","lazy-rules":"",standout:"","bg-color":"grey-11","input-style":{color:"#000000"},rules:[function(t){return t&&t.length>0||"请输入账号"}]},scopedSlots:t._u([{key:"append",fn:function(){return[""!==t.userInfo.username?n("q-icon",{staticClass:"cursor-pointer",attrs:{name:"close"},on:{click:function(e){t.userInfo.username=""}}}):t._e()]},proxy:!0}]),model:{value:t.userInfo.username,callback:function(e){t.$set(t.userInfo,"username",e)},expression:"userInfo.username"}}),n("q-input",{staticStyle:{"margin-top":"6px"},attrs:{label:"密码",rounded:"",standout:"","bg-color":"grey-11",rules:[function(t){return t&&t.length>0||"请输入密码"}],"input-style":{color:"#000000"}},scopedSlots:t._u([{key:"append",fn:function(){return[""!==t.userInfo.password?n("q-icon",{staticClass:"cursor-pointer",attrs:{name:"close"},on:{click:function(e){t.userInfo.password=""}}}):t._e()]},proxy:!0}]),model:{value:t.userInfo.password,callback:function(e){t.$set(t.userInfo,"password",e)},expression:"userInfo.password"}}),n("div",{staticClass:"login_button",on:{click:t.login}},[t._v("\n 登录\n ")])],1)],1)])])])])},s=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"logo"},[o("img",{attrs:{src:n("9d64"),alt:""}}),o("p",[t._v("晶盛 智能制造执行系统")])])}],a=n("758b");function r(){return new Promise((t=>{Object(a["b"])({url:"/index/info",method:"get"}).then((e=>{t(!0)})).catch((e=>{t(!1)}))}))}async function c(t){r(),sessionStorage.setItem("token",t.token);try{await new Promise((e=>{db.transaction((function(n){n.executeSql("DROP TABLE IF EXISTS MyTable"),n.executeSql("CREATE TABLE IF NOT EXISTS MyTable (token)"),n.executeSql("INSERT INTO MyTable VALUES (?)",[t.token]),e()}),(function(t){console.log("Open database ERROR: "+JSON.stringify(t))}),(function(){console.log("Populated database OK")}))}))}catch(e){console.log(e)}}var i={name:"",data(){return{userInfo:{username:"admin",password:"jr.com"}}},methods:{login(){const t=this;cloudSky.zBar.scan({text_title:"扫码",text_instructions:"请把相机对准二维码",camera:"red",flash:"auto",drawSight:!0},(function(e){console.log(e,"success1"),t.value=e.text,t.$emit("update:model",e.text)}),(function(t){console.log(t,"error")}))},handleLogin(){this.$http({url:"/index/login",method:"get",params:this.userInfo}).then((async t=>{await c({token:t.result}),this.$router.push({path:"/dashboard"})})).catch((()=>{}))}}},u=i,l=(n("c3aa"),n("2877")),d=n("0378"),f=n("27f9"),p=n("0016"),m=n("eebe"),b=n.n(m),g=Object(l["a"])(u,o,s,!1,null,"50a3b867",null);e["default"]=g.exports;b()(g,"components",{QForm:d["a"],QInput:f["a"],QIcon:p["a"]})},b1b3:function(t,e,n){},c3aa:function(t,e,n){"use strict";n("b1b3")}}]); \ No newline at end of file diff --git a/www/js/30.js b/www/js/30.js new file mode 100644 index 0000000..72754b9 --- /dev/null +++ b/www/js/30.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[30],{"32ce":function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("PageContainer",[s("template",{slot:"header"},[s("Appbar",{attrs:{options:t.batchNumList,model:t.currentBatchNum,fkliterKey:"batchNum"},on:{"update:model":function(a){t.currentBatchNum=a}}}),t.category.steps.length>0?s("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tab,callback:function(a){t.tab=a},expression:"tab"}},t._l(t.category.steps,(function(t,a){return s("q-tab",{key:a,attrs:{ripple:!1,label:t.stepName,name:a}})})),1):t._e()],1),s("q-tab-panels",{attrs:{animated:""},model:{value:t.tab,callback:function(a){t.tab=a},expression:"tab"}},[s("q-tab-panel",{attrs:{name:0}},[s("div",{staticClass:"mt-20 common-box"},[s("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),s("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[s("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),s("div",[s("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[t._v("\n 泡酸时长设定(分钟)\n ")]),s("q-input")],1)])]),s("div",{staticClass:"mg-b-20"}),s("FormTable",{attrs:{labels:[{name:"累计浸酸片数"},"设备编号",""]}},[s("template",{slot:"tbody"},[s("tr",[s("td",[s("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),s("td",[s("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),s("td",{staticClass:"edit_btn_group"},[s("q-btn",{staticStyle:{"margin-right":"20px"},attrs:{icon:"refresh",color:"primary"}}),s("q-btn",{attrs:{color:"primary",disable:""}},[t._v("开始泡酸")])],1)])])],2)],1)],1)],1)]),s("q-tab-panel",{attrs:{name:1}},[s("div",{staticClass:"mt-20 common-box"},[s("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),s("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[s("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),s("div",[s("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[t._v("\n 设备编号\n ")]),s("q-input")],1)])])],1)],1)],1)]),s("q-tab-panel",{attrs:{name:2}},[s("div",{staticClass:"mt-20 common-box"},[s("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),s("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[s("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),s("div",[s("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[t._v("\n 累计清洗片数\n ")]),s("q-input")],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[t._v("\n 设备编号\n ")]),s("q-input")],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[t._v("\n 流出片数\n ")]),s("q-input")],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[t._v("\n 备注\n ")]),s("q-input")],1)])]),s("div",{staticClass:"mg-b-20"}),s("FormTable",{attrs:{labels:[{name:"质量类型",width:"33%"},"片数","操作"]}},[s("template",{slot:"tbody"},[s("tr",[s("td",[s("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),s("td",[s("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),s("td",{staticClass:"edit_btn_group"},[s("div",[s("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),s("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2)],1)],1)],1)])],1)],2)},i=[],l=s("d6f4"),n=s("6e23"),o={name:"qingxi",mixins:[l["default"]],components:{FormTable:n["default"]},data(){return{batchNumList:[],currentBatchNum:null,name:"清洗",cardList:[],form:{}}},methods:{onSubmit(){},onReset(){}}},r=o,c=s("2877"),m=s("429b"),d=s("7460"),b=s("adad"),u=s("823b"),p=s("0378"),C=s("27f9"),v=s("9c40"),g=s("0016"),f=s("eebe"),q=s.n(f),h=Object(c["a"])(r,e,i,!1,null,"fa305d14",null);a["default"]=h.exports;q()(h,"components",{QTabs:m["a"],QTab:d["a"],QTabPanels:b["a"],QTabPanel:u["a"],QForm:p["a"],QInput:C["a"],QBtn:v["a"],QIcon:g["a"]})}}]); \ No newline at end of file diff --git a/www/js/31.js b/www/js/31.js new file mode 100644 index 0000000..7783fa5 --- /dev/null +++ b/www/js/31.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[31],{b057:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("PageContainer",[e("template",{slot:"header"},[e("Appbar",{attrs:{options:t.batchNumList,model:t.currentBatchNum,fkliterKey:"batchNum"},on:{"update:model":function(a){t.currentBatchNum=a}}}),t.category.steps.length>0?e("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tab,callback:function(a){t.tab=a},expression:"tab"}},t._l(t.category.steps,(function(t,a){return e("q-tab",{key:a,attrs:{ripple:!1,label:t.stepName,name:a}})})),1):t._e()],1),e("div",{staticClass:"mt-20 common-box"},[e("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),e("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[e("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),e("div",[e("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 流出片数\n ")]),e("q-input")],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 备注\n ")]),e("q-input")],1)])]),e("div",{staticClass:"mg-b-20"}),e("FormTable",{attrs:{labels:[{name:"质量类型",width:"33%"},"片数","操作"]}},[e("template",{slot:"tbody"},[e("tr",[e("td",[e("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),e("td",[e("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),e("td",{staticClass:"edit_btn_group"},[e("div",[e("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),e("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2)],1)],1)],1)],2)},n=[],i=e("d6f4"),o=e("6e23"),r={name:"rejian",mixins:[i["default"]],components:{FormTable:o["default"]},data(){return{batchNumList:[],currentBatchNum:null,name:"热检",cardList:[],form:{}}},methods:{onSubmit(){},onReset(){}}},l=r,c=e("2877"),m=e("429b"),d=e("7460"),u=e("0378"),b=e("27f9"),p=e("0016"),f=e("eebe"),g=e.n(f),h=Object(c["a"])(l,s,n,!1,null,"de725ebe",null);a["default"]=h.exports;g()(h,"components",{QTabs:m["a"],QTab:d["a"],QForm:u["a"],QInput:b["a"],QIcon:p["a"]})}}]); \ No newline at end of file diff --git a/www/js/32.js b/www/js/32.js new file mode 100644 index 0000000..4b59370 --- /dev/null +++ b/www/js/32.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[32],{aa4c:function(n,e,t){"use strict";t.r(e);var a=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[n._v("tongpao")])},c=[],l=t("2877"),o={},u=Object(l["a"])(o,a,c,!1,null,null,null);e["default"]=u.exports}}]); \ No newline at end of file diff --git a/www/js/33.js b/www/js/33.js new file mode 100644 index 0000000..b794505 --- /dev/null +++ b/www/js/33.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[33],{d20f:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("PageContainer",[e("template",{slot:"header"},[e("Appbar",{attrs:{options:t.batchNumList,model:t.currentBatchNum,fkliterKey:"batchNum"},on:{"update:model":function(a){t.currentBatchNum=a}}}),t.category.steps.length>0?e("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tab,callback:function(a){t.tab=a},expression:"tab"}},t._l(t.category.steps,(function(t,a){return e("q-tab",{key:a,attrs:{ripple:!1,label:t.stepName,name:a}})})),1):t._e()],1),e("div",{staticClass:"mt-20 common-box"},[e("CommonCard",{attrs:{list:t.cardList,title:"任务信息"}}),e("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[e("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),e("div",[e("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:t.onSubmit,reset:t.onReset}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 设备编号\n ")]),e("q-input")],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 流出片数\n ")]),e("q-input")],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label disable"},[t._v("\n 备注\n ")]),e("q-input")],1)])]),e("div",{staticClass:"mg-b-20"}),e("FormTable",{attrs:{labels:[{name:"质量类型",width:"33%"},"片数","操作"]}},[e("template",{slot:"tbody"},[e("tr",[e("td",[e("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),e("td",[e("q-input",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),e("td",{staticClass:"edit_btn_group"},[e("div",[e("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"}}),e("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"}})],1)])])])],2)],1)],1)],1)],2)},i=[],n=e("d6f4"),o=e("6e23"),l={name:"tuihuo",mixins:[n["default"]],components:{FormTable:o["default"]},data(){return{batchNumList:[],currentBatchNum:null,name:"退火",cardList:[],form:{}}},methods:{onSubmit(){},onReset(){}}},r=l,c=e("2877"),m=e("429b"),d=e("7460"),u=e("0378"),b=e("27f9"),p=e("0016"),f=e("eebe"),g=e.n(f),v=Object(c["a"])(r,s,i,!1,null,"583a5bb8",null);a["default"]=v.exports;g()(v,"components",{QTabs:m["a"],QTab:d["a"],QForm:u["a"],QInput:b["a"],QIcon:p["a"]})}}]); \ No newline at end of file diff --git a/www/js/34.js b/www/js/34.js new file mode 100644 index 0000000..ed5bf2d --- /dev/null +++ b/www/js/34.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[34],{"8c34":function(a,t,s){"use strict";s.r(t);var e=function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("Container",[s("template",{slot:"header"},[s("Header",{attrs:{options:a.batchNumList,model:a.currentBatchNum,fkliterKey:"batchNum"},on:{"update:model":function(t){a.currentBatchNum=t}}}),a.category.steps.length>0?s("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:a.tab,callback:function(t){a.tab=t},expression:"tab"}},a._l(a.category.steps,(function(a,t){return s("q-tab",{key:t,attrs:{ripple:!1,label:a.stepName,name:t}})})),1):a._e()],1),s("q-tab-panels",{attrs:{animated:""},model:{value:a.tab,callback:function(t){a.tab=t},expression:"tab"}},[s("q-tab-panel",{attrs:{name:0}},[s("div",{staticClass:"common-box"},[s("CommonCard",{attrs:{list:a.cardList,title:"任务信息"}}),s("common-box",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[s("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),s("div",[s("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:a.onSubmit,reset:a.onReset}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 鸠尾座号\n ")]),s("q-select",{attrs:{options:a.options},model:{value:a.select,callback:function(t){a.select=t},expression:"select"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 线切设备\n ")]),s("q-select",{attrs:{options:a.options},model:{value:a.select,callback:function(t){a.select=t},expression:"select"}})],1)])]),s("div",{staticClass:"mg-b-20"})],1)],1),s("CommonTable",{ref:"table",staticClass:"shadow-box",attrs:{searchOptions:a.searchOptions,tableOptions:a.tableOptions,showTop:!1,title:"数据填写"},on:{resetSearch:a.resetSearch},scopedSlots:a._u([{key:"tableEdit",fn:function(t){var e=t.data;return[s("div",[s("q-btn",{attrs:{color:"primary",label:"操作"},on:{click:function(t){return a.clickRow(e)}}})],1)]}}])},[s("template",{slot:"search-item"},[s("q-input",{attrs:{filled:"",type:"password",label:"Password"},model:{value:a.form.password,callback:function(t){a.$set(a.form,"password",t)},expression:"form.password"}}),s("q-input",{attrs:{filled:"",type:"email",label:"Email"},model:{value:a.form.email,callback:function(t){a.$set(a.form,"email",t)},expression:"form.email"}}),s("q-input",{attrs:{filled:"",type:"email",label:"Email"},model:{value:a.form.email,callback:function(t){a.$set(a.form,"email",t)},expression:"form.email"}})],1)],2),s("common-btngroup")],1)]),s("q-tab-panel",{attrs:{name:1}},[s("div",{staticClass:"common-box"},[s("CommonCard",{attrs:{list:a.cardList,title:"任务信息"}}),s("CommonBox",{attrs:{title:"过程录入"}},[s("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),s("div",{staticClass:"form_content"},[s("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:a.onSubmit,reset:a.onReset}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 钢线厂家\n ")]),s("q-input",{attrs:{placeholder:"请输入厂家"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 切削液次数\n ")]),s("q-input",{attrs:{placeholder:"请输入次数"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 线轴编号\n ")]),s("q-input",{attrs:{placeholder:"请输入线轴编号"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 槽轮编号\n ")]),s("q-input",{attrs:{placeholder:"请输入槽轮编号"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 槽距\n ")]),s("q-input",{attrs:{placeholder:"请输入槽距"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 回收余量\n ")]),s("q-input",{attrs:{placeholder:""}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 供线余量\n ")]),s("q-input",{attrs:{placeholder:""}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 钢线次数\n ")]),s("q-input",{attrs:{placeholder:""}})],1)])]),s("div",{staticClass:"mg-b-20"}),s("common-table",{ref:"table",staticClass:"shadow-box",attrs:{searchOptions:a.searchOptions,tableOptions:a.tableOptions,showTop:!1,title:""},on:{resetSearch:a.resetSearch}})],1)],1),s("common-btngroup")],1)]),s("q-tab-panel",{attrs:{name:2}},[s("div",{staticClass:"common-box"},[s("common-card",{attrs:{list:a.cardList,title:"任务信息"}}),s("common-box",{attrs:{title:"过程录入"}},[s("common-title",{attrs:{color:"green",icon:"icon-a-shuju1"}}),s("div",[s("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:a.onSubmit,reset:a.onReset}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 槽轮寿命\n ")]),s("q-input",{attrs:{placeholder:"请输入槽轮寿命"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 回收余量\n ")]),s("q-input",{attrs:{placeholder:"请输入回收余量"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 供线余量\n ")]),s("q-input",{attrs:{placeholder:"请输入供线余量"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 是否断线\n ")]),s("div",[s("q-radio",{attrs:{value:"mock",label:"是",val:"mock"}}),s("q-radio",{attrs:{value:"mock",label:"否",val:"0"}})],1)]),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 断线原因\n ")]),s("q-input",{attrs:{placeholder:"请输入断线原因"}})],1)])]),s("div",{staticClass:"mg-b-20"})],1)],1),s("CommonTable",{ref:"table",staticClass:"shadow-box",attrs:{searchOptions:a.searchOptions,tableOptions:a.tableOptions,showTop:!1,title:""},on:{resetSearch:a.resetSearch}}),s("common-btngroup")],1)]),s("q-tab-panel",{attrs:{name:3}},[s("div",{staticClass:"common-box"},[s("common-card",{attrs:{list:a.cardList,title:"任务信息"}}),s("common-box",{attrs:{title:"过程录入"}},[s("common-title",{attrs:{color:"green",icon:"icon-a-shuju1"}}),s("div",[s("q-form",{staticClass:"q-gutter-md mg-t-20",on:{submit:a.onSubmit,reset:a.onReset}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 钢线厂家\n ")]),s("q-input",{attrs:{placeholder:"请输入厂家"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 切削液次数\n ")]),s("q-input",{attrs:{placeholder:"请输入次数"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 线轴编号\n ")]),s("q-input",{attrs:{placeholder:"请输入线轴编号"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 槽轮编号\n ")]),s("q-input",{attrs:{placeholder:"请输入槽轮编号"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 槽距\n ")]),s("q-input",{attrs:{placeholder:"请输入槽距"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label"},[a._v("\n 回收余量\n ")]),s("q-input",{attrs:{placeholder:""}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 供线余量\n ")]),s("q-input",{attrs:{placeholder:""}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label disable"},[a._v("\n 钢线次数\n ")]),s("q-input",{attrs:{placeholder:""}})],1)])]),s("div",{staticClass:"mg-b-20"}),s("common-table",{ref:"table",staticClass:"shadow-box",attrs:{searchOptions:a.searchOptions,tableOptions:a.tableOptions,showTop:!1,title:""},on:{resetSearch:a.resetSearch}})],1)],1),s("common-btngroup")],1)])],1)],2)},l=[],i=s("0418"),o=s("5dc4"),r=s("dd67"),n=s("0748"),c=s("d6f4"),m={name:"page-xianqie",mixins:[c["default"]],components:{Header:i["a"],Container:o["default"],CommonTable:n["a"],CommonBtngroup:r["default"]},data(){return{name:"线切",currentBatchNum:null,batchNumList:[],select:null,options:["Google","Facebook","Twitter","Apple","Oracle"],data:[{a:"FrozenA",b:159,c:6},{a:"FrozenB",b:159,c:6}],columns:[{label:"批次号",field:"a"},{label:"理论OK片",field:"b"},{label:"实际收片",field:"c"}],searchOptions:{},tableOptions:{loading:!1,key:"name",columns:[{name:"name",required:!0,label:"Dessert (100g serving)",align:"left",field:a=>a.name,format:a=>`${a}`,sortable:!0},{name:"calories",align:"center",label:"Calories",field:"calories",sortable:!0},{name:"fat",label:"Fat (g)",field:"fat",sortable:!0},{name:"carbs",label:"Carbs (g)",field:"carbs"},{name:"protein",label:"Protein (g)",field:"protein"},{name:"sodium",label:"Sodium (mg)",field:"sodium"},{name:"calcium",label:"Calcium (%)",field:"calcium",sortable:!0,sort:(a,t)=>parseInt(a,10)-parseInt(t,10)},{name:"iron",label:"Iron (%)",field:"iron",sortable:!0,sort:(a,t)=>parseInt(a,10)-parseInt(t,10)}],data:[{name:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4,sodium:87,calcium:"14%",iron:"11%"},{name:"Ice cream sandwich",calories:237,fat:9,carbs:37,protein:4.3,sodium:129,calcium:"8%",iron:"1%"},{name:"Eclair",calories:262,fat:16,carbs:23,protein:6,sodium:337,calcium:"6%",iron:"7%"},{name:"Cupcake",calories:305,fat:3.7,carbs:67,protein:4.3,sodium:413,calcium:"3%",iron:"8%"},{name:"Gingerbread",calories:356,fat:16,carbs:49,protein:3.9,sodium:327,calcium:"7%",iron:"16%"},{name:"Jelly bean",calories:375,fat:0,carbs:94,protein:0,sodium:50,calcium:"0%",iron:"0%"},{name:"Lollipop",calories:392,fat:.2,carbs:98,protein:0,sodium:38,calcium:"0%",iron:"2%"},{name:"Honeycomb",calories:408,fat:3.2,carbs:87,protein:6.5,sodium:562,calcium:"0%",iron:"45%"},{name:"Donut",calories:452,fat:25,carbs:51,protein:4.9,sodium:326,calcium:"2%",iron:"22%"},{name:"KitKat",calories:518,fat:26,carbs:65,protein:7,sodium:54,calcium:"12%",iron:"6%"}]},form:{password:"",email:""},cardList:[1,2]}},methods:{test(){},resetSearch(){this.form=this.$options.data().form},search(){console.log(this.form)},getTableData(){this.tableOptions.loading=!0,setTimeout((()=>{this.tableOptions.loading=!1}),1e3),console.log("geyData")},onSubmit(){},onReset(){}}},d=m,b=s("2877"),p=s("429b"),u=s("7460"),v=s("adad"),C=s("823b"),f=s("0378"),g=s("ddd8"),h=s("27f9"),q=s("9c40"),w=s("3786"),_=s("eebe"),x=s.n(_),O=Object(b["a"])(d,e,l,!1,null,"0d1add59",null);t["default"]=O.exports;x()(O,"components",{QTabs:p["a"],QTab:u["a"],QTabPanels:v["a"],QTabPanel:C["a"],QForm:f["a"],QSelect:g["a"],QInput:h["a"],QBtn:q["a"],QRadio:w["a"]})}}]); \ No newline at end of file diff --git a/www/js/35.js b/www/js/35.js new file mode 100644 index 0000000..0ce5311 --- /dev/null +++ b/www/js/35.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[35],{7205:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("PageContainer",{ref:"container",attrs:{name:"线切片退火"}},[e("template",{slot:"header"},[e("Appbar",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(a){t.currentBatchNum=a}}}),t.category.steps.length>0?e("q-tabs",{staticClass:"text-grey common-tab",attrs:{"narrow-indicator":"",align:"left","active-color":"dark","indicator-color":"primary"},model:{value:t.tab,callback:function(a){t.tab=a},expression:"tab"}},t._l(t.category.steps,(function(t,a){return e("q-tab",{key:a,attrs:{ripple:!1,label:t.stepName,name:a}})})),1):t._e()],1),e("div",{staticClass:"mt-20 common-box"},[e("common-card",{attrs:{list:t.screenList},scopedSlots:t._u([{key:"default",fn:function(a){var i=a.data;return[e("tr",[e("td",{staticClass:"label"},[t._v("客户")]),e("td",[t._v(t._s(i.customerName))]),e("td",{staticClass:"label"},[t._v("档位")]),e("td",[t._v(t._s(i.gear))]),e("td",{staticClass:"label"},[t._v("流入数量")]),e("td",[t._v(t._s(i.inflowNum))])]),e("tr",[e("td",{staticClass:"label"},[t._v("流入时间")]),e("td",[t._v(t._s(i.inflowTime))]),e("td",{staticClass:"label"},[t._v("上站过站人")]),e("td",[t._v(t._s(i.inflowUser))])])]}}])}),e("CommonBox",{staticClass:"mg-b-20",attrs:{title:"过程录入"}},[e("CommonTitle",{attrs:{color:"green",icon:"icon-a-shuju1"}}),e("div",[e("q-form",{staticClass:"q-gutter-md mg-t-20",on:{reset:t.onReset}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label",class:{disable:t.noBatchNum}},[t._v("\n 设备编号\n ")]),e("select-fill",{attrs:{model:t.form.deviceId,useInput:!0,optionValue:"id",optionLabel:"deviceNum",options:t.deviceIdList,disable:t.noBatchNum,emitValue:!0,mapOptions:!0},on:{"update:model":function(a){return t.$set(t.form,"deviceId",a)},focus:function(a){return t.getDeviceList()}}})],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label"},[t._v("\n 流出片数\n ")]),e("q-input",{attrs:{disable:"",type:"number"},model:{value:t.form.outflowNum,callback:function(a){t.$set(t.form,"outflowNum",a)},expression:"form.outflowNum"}})],1),e("div",{staticClass:"col mg-r-20"},[e("div",{staticClass:"label"},[t._v("\n 备注\n ")]),e("q-input",{attrs:{disable:0===t.screenList.length},model:{value:t.form.remarks,callback:function(a){t.$set(t.form,"remarks",a)},expression:"form.remarks"}})],1)])]),e("div",{staticClass:"mg-b-20"}),e("FormTable",{attrs:{labels:[{name:"质量类型",width:"33%"},"片数","操作"]}},[e("template",{slot:"tbody"},t._l(t.tuihuoQualityInfoList,(function(a,i){return e("tr",[e("td",[e("select-fill",{attrs:{model:a.qualityType,useInput:!0,optionValue:"qualityType",optionLabel:"qualityType",options:t.qualityList,disable:t.noBatchNum,emitValue:!0,mapOptions:!0},on:{"update:model":function(e){return t.$set(a,"qualityType",e)},focus:function(e){t.getQualityList(),t.getQualifiedFlag(i),t.compareSelectPosition(a)}}})],1),e("td",[e("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:0===t.screenList.length},model:{value:a.num,callback:function(e){t.$set(a,"num",e)},expression:"item.num"}})],1),e("td",{staticClass:"edit_btn_group"},[e("div",[e("q-icon",{staticStyle:{"font-size":"28px",color:"grey","margin-right":"28px"},attrs:{name:"app:icon-a-tubiaotj1"},on:{click:function(a){return t.addRow(t.tuihuoQualityInfoList,{qualityType:"",num:"",qualifiedFlag:"",tailPieceFlag:""})}}}),e("q-icon",{staticStyle:{"font-size":"28px",color:"grey"},attrs:{name:"app:icon-a-tubiaotjbeifen1"},on:{click:function(a){return t.delRow(t.tuihuoQualityInfoList,i)}}})],1)])])})),0)],2)],1)],1),e("CommonBtngroup",{directives:[{name:"show",rawName:"v-show",value:t.currentBatchNum,expression:"currentBatchNum"}],on:{cancel:function(a){return t.clearData()},submit:t.onSubmit}})],1)],2)},s=[],o=(e("a79d"),e("d6f4")),l=e("6e23"),n=e("2f62"),u={name:"xianqiepiantuihuo",mixins:[o["default"]],components:{FormTable:l["default"]},computed:{...Object(n["b"])(["deviceIdList","qualityList"])},data(){return{form:{deviceId:"",outflowNum:"",remarks:""},submitLoading:!1,tuihuoQualityInfoList:[{qualityType:"",num:"",qualifiedFlag:"",tailPieceFlag:""}],qualityInfoSum:0,cacheMap:{}}},watch:{tuihuoQualityInfoList:{handler(t){this.qualityInfoSum=0,this.form.outflowNum=this.$u.judgeArrObj(t),console.log(this.form.outflowNum),t.forEach((t=>{t.num&&(this.qualityInfoSum+=parseInt(t.num))}))},immediate:!0,deep:!0}},methods:{getQualifiedFlag(t){this.$nextTick((()=>{this.qualityList.forEach((a=>{console.log(a.qualityType,val.qualityType,a.qualityType===val.qualityType),a.qualityType===val.qualityType&&(this.tuihuoQualityInfoList[t].qualifiedFlag=a.qualifiedFlag,this.tuihuoQualityInfoList[t].tailPieceFlag=a.tailPieceFlag)}))}))},compareSelectPosition(t){""!==t.qualityType&&(this.cacheMap[t.qualityType]?(this.$message.warning("不能重复选择!"),t.qualityType=""):this.cacheMap[t.qualityType]=!0,this.cacheMap=this.$options.data().cacheMap,this.tuihuoQualityInfoList.map((t=>{""!==t.qualityType&&(this.cacheMap[t.qualityType]=!0)})))},getFormData(){let t={},a=[];t={...this.form},t.qualityInfo=this.tuihuoQualityInfoList,t=JSON.stringify(t),a=this.screenList.map((t=>t.prodTaskId));let e={data:t,prodTaskIds:a,processId:this.queryPadRecord.processId};return console.log(e),e},onSubmit(){let t=!0,a=this.tuihuoQualityInfoList.filter((t=>!t.qualityType||!t.num));a.length>0?(this.$message.warning("请填写完表格数据再提交!"),t=!1):t=!0,t&&(this.qualityInfoSum!==this.scanNum?(this.$message.warning("质检总片数需要与扫码后总流入总数一致!"),t=!1):t=!0,t&&(""===this.form.deviceId?(this.$message.warning("请填完设备编号再提交!"),t=!1):t=!0,t&&(this.submitLoading=!0,this.$http({url:"/padProdRecord/add",method:"post",data:this.getFormData()}).then((t=>{this.$message.success(t.message),this.clearData(),this.loadPadRecord()})).finally((()=>{this.submitLoading=!1})))))},onReset(){},beforeClearData(){this.form=this.$options.data().form,this.tuihuoQualityInfoList=this.$options.data().tuihuoQualityInfoList},addRow(t,a){t.push(a)},delRow(t,a){1===t.length?this.$message.warning("不允许删除最后一行!"):(t.splice(a,1),this.cacheMap=this.$options.data().cacheMap,t.map((t=>{""!==t.qualityType&&(this.cacheMap[t.qualityType]=!0)})))}}},r=u,c=e("2877"),m=e("429b"),d=e("7460"),p=e("0378"),h=e("27f9"),f=e("0016"),y=e("eebe"),g=e.n(y),b=Object(c["a"])(r,i,s,!1,null,"6d264e2c",null);a["default"]=b.exports;g()(b,"components",{QTabs:m["a"],QTab:d["a"],QForm:p["a"],QInput:h["a"],QIcon:f["a"]})}}]); \ No newline at end of file diff --git a/www/js/4.js b/www/js/4.js new file mode 100644 index 0000000..1bcc09d --- /dev/null +++ b/www/js/4.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[4],{e51e:function(t,e,n){"use strict";n.r(e);var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},[n("div",[n("div",{staticStyle:{"font-size":"30vh"}},[t._v("\n 404\n ")]),n("div",{staticClass:"text-h2",staticStyle:{opacity:".4"}},[t._v("\n Oops. Nothing here...\n ")]),n("q-btn",{staticClass:"q-mt-xl",attrs:{color:"white","text-color":"blue",unelevated:"",to:"/dashboard",label:"Go Home","no-caps":""}})],1)])},s=[],a={name:"ErrorNotFound"},o=a,c=n("2877"),i=n("9c40"),r=n("eebe"),u=n.n(r),d=Object(c["a"])(o,l,s,!1,null,null,null);e["default"]=d.exports;u()(d,"components",{QBtn:i["a"]})}}]); \ No newline at end of file diff --git a/www/js/5.js b/www/js/5.js new file mode 100644 index 0000000..be914b2 --- /dev/null +++ b/www/js/5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[5],{"1e78":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",[e._v("axiosApi111122")])},o=[],s={name:"",data(){return{}},methods:{handleLogin(){this.$http({url:"/index/login",method:"get",params:{username:"xuxiu",password:"123.xyw"}}).then((e=>{console.log(e)})).catch((()=>{}))}},created(){}},r=s,i=t("2877"),l=Object(i["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports}}]); \ No newline at end of file diff --git a/www/js/6.js b/www/js/6.js new file mode 100644 index 0000000..a7fe6ca --- /dev/null +++ b/www/js/6.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[6],{"44a3":function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[t._v("\n 电池电量: "),o("strong",[t._v(t._s(t.batteryStatus))]),o("div",[o("q-btn",{attrs:{color:"primary",label:"唤起相机"},on:{click:t.takePhoto}}),o("img",{attrs:{src:t.imageSrc}})],1),o("div",[t._v(t._s(t.info))]),o("q-btn",{attrs:{color:"primary",label:"唤起弹窗"},on:{click:t.basicAlert}}),o("div",[o("q-btn",{attrs:{color:"primary",label:"获取地理位置"},on:{click:t.getPlace}})],1),o("div",[o("q-btn",{attrs:{color:"primary",label:"震动"},on:{click:t.move}})],1),o("div",[o("q-btn",{attrs:{color:"primary",label:"扫描二维码"},on:{click:t.scan}})],1)],1)},r=[],i={data(){return{batteryStatus:"determining...",imageSrc:"",info:device}},methods:{updateBatteryStatus(t){this.batteryStatus=`Level: ${t.level}, plugged: ${t.isPlugged}`},onBatteryLow(t){alert("低电量"+t.level+"%")},takePhoto(t){let e=null;e=t?Camera.PictureSourceType.CAMERA:Camera.PictureSourceType.PHOTOLIBRARY,window.navigator.camera.getPicture((t=>{this.uploadPhoto(t).then((t=>{this.imageList.push(JSON.parse(t).result),this.$emit("update:imageList",this.imageList),this.$refs.popover&&this.$refs.popover.doClose()})).catch((t=>{this.$message.error("上传图片失败"),this.$refs.popover&&this.$refs.popover.doClose()}))}),(t=>{this.$message.warning("取消拍照"),this.$refs.popover&&this.$refs.popover.doClose()}),{quality:50,destinationType:Camera.DestinationType.FILE_URI,sourceType:e})},basicAlert(){navigator.notification.alert("111",(()=>{}),"title","submit")},getPlace(){navigator.geolocation.getCurrentPosition(this.onSuccess,this.onError)},onSuccess(){alert("Latitude: "+position.coords.latitude+"\nLongitude: "+position.coords.longitude+"\nAltitude: "+position.coords.altitude+"\nAccuracy: "+position.coords.accuracy+"\nAltitude Accuracy: "+position.coords.altitudeAccuracy+"\nHeading: "+position.coords.heading+"\nSpeed: "+position.coords.speed+"\nTimestamp: "+position.timestamp+"\n")},onError(t){alert("code: "+t.code+"\nmessage: "+t.message+"\n")},move(){navigator.vibrate([200])},scan(){cloudSky.zBar.scan({text_title:"扫码",text_instructions:"请把相机对准二维码",camera:"red",flash:"auto",drawSight:!0},(function(t){console.log(t,"success")}),(function(t){console.log(t,"error")}))}},created(){window.addEventListener("batterystatus",this.updateBatteryStatus,!1),window.addEventListener("batterylow",onBatteryLow,!1)},beforeDestroy(){window.removeEventListener("batterystatus",this.updateBatteryStatus,!1),window.removeEventListener("batterylow",this.updateBatteryStatus,!1)}},s=i,n=o("2877"),c=o("9c40"),l=o("eebe"),d=o.n(l),u=Object(n["a"])(s,a,r,!1,null,null,null);e["default"]=u.exports;d()(u,"components",{QBtn:c["a"]})}}]); \ No newline at end of file diff --git a/www/js/7.js b/www/js/7.js new file mode 100644 index 0000000..944c853 --- /dev/null +++ b/www/js/7.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[7],{2615:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",rules:[function(t){return t&&""!==t}],disable:t.disable,dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),a("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("检测结果")]),a("q-select",{attrs:{placeholder:"请选择",options:t.checkList,"emit-value":"","map-options":"",filled:"",rules:[function(t){return t&&t.length>0}],disable:t.disable,dense:""},model:{value:t.form.data.checkResult,callback:function(e){t.$set(t.form.data,"checkResult",e)},expression:"form.data.checkResult"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],o=a("dd67"),l=a("30d4"),c=a("0418"),r=a("2691"),d=a("2a19"),n={name:"cumo",components:{Header:c["a"],opticsTitle:r["default"],CommonBtngroup:o["default"],OpticsTitleCrad:l["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-ziduanbianhao",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"},{name:"app:icon-jingbangtuihuo",title:"直径",value:"",bColor:"#55C169"}],form:{data:{deviceId:"",shift:"",checkResult:"",remarks:""}},checkList:[{label:"OK",value:"OK"},{label:"NG",value:"NG"}],DeviceIdList:[],batchNumList:[],currentBatchNum:"",processId:9,stepId:9,prodId:0,shift:[{label:"白班",value:1},{label:"夜班",value:2}],time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.currentBatchNum&&this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"长度":e.value=t.result.length||"";break;case"直径":e.value=t.result.diameter||"";break}})),this.getTime(),this.form.data.checkResult="OK",this.prodId=t.result.prodId}))},cancel(){let{form:t,cardForm:e,currentBatchNum:a,disable:s}=this.$options.data();this.form=t,this.cardForm=e,this.currentBatchNum=a,this.disable=s},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):d["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):d["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/fineGrinding/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{d["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))}},created(){this.getList(),this.focusDeviceId()},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:a,disable:s}=this.$options.data();this.form=e,this.disable=s,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=a,this.disable=!0)},immediate:!0,deep:!0}}},m=n,u=(a("dfa5"),a("2877")),h=a("0378"),p=a("ddd8"),f=a("27f9"),b=a("eebe"),v=a.n(b),g=Object(u["a"])(m,s,i,!1,null,"0659a3c5",null);e["default"]=g.exports;v()(g,"components",{QForm:h["a"],QSelect:p["a"],QInput:f["a"]})},5542:function(t,e,a){},dfa5:function(t,e,a){"use strict";a("5542")}}]); \ No newline at end of file diff --git a/www/js/8.js b/www/js/8.js new file mode 100644 index 0000000..9269746 --- /dev/null +++ b/www/js/8.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[8],{"2e85":function(t,e,s){"use strict";s("dbf7")},6697:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"optics_style"},[s("div",{staticClass:"header"},[s("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),s("div",{staticClass:"content"},[s("optics-title",{attrs:{title:"数据明细"}}),s("div",{staticClass:"body_style common-form"},[s("div",{staticClass:"mg-t-15"},[s("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),s("div",{staticClass:"mg-t-15"},[s("optics-title-crad",{attrs:{title:"数据录入"}},[s("template",{slot:"body"},[s("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("定向时间(min)")]),s("q-input",{attrs:{placeholder:"请输入",filled:"",type:"number",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationTime,callback:function(e){t.$set(t.form.data,"orientationTime",t._n(e))},expression:"form.data.orientationTime"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编码")]),s("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("工装编号")]),s("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.fixtureNo},"option-value":function(t){return t.id},options:t.fixtureIdList,filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.fixtureId,callback:function(e){t.$set(t.form.data,"fixtureId",e)},expression:"form.data.fixtureId"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("定向确认人")]),s("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"","option-label":function(t){return t.name},"option-value":function(t){return t.name},options:t.userList,filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.orientationConfirmUser,callback:function(e){t.$set(t.form.data,"orientationConfirmUser",e)},expression:"form.data.orientationConfirmUser"}})],1),s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("检验结果")]),s("q-select",{attrs:{placeholder:"请选择",options:t.checkList,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.checkResult,callback:function(e){t.$set(t.form.data,"checkResult",e)},expression:"form.data.checkResult"}})],1),s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),s("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("是否粘胶")]),s("q-select",{attrs:{placeholder:"请选择",filled:"",dense:"","emit-value":"","map-options":"",disable:t.disable,options:t.isOptions,rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.isAdhesive,callback:function(e){t.$set(t.form.data,"isAdhesive",e)},expression:"form.data.isAdhesive"}})],1),s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("是否使用大理石")]),s("q-select",{attrs:{placeholder:"请选择","emit-value":"","map-options":"",filled:"",dense:"",disable:t.disable,options:t.isOptions,rules:[function(t){return t&&t.length>0}]},model:{value:t.form.data.isMarbleUsed,callback:function(e){t.$set(t.form.data,"isMarbleUsed",e)},expression:"form.data.isMarbleUsed"}})],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("定向角度")]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-30 display"},[s("div",{staticClass:"num",class:{disable:t.disable}},[t._v("0°")]),s("q-input",{attrs:{disable:t.disable,filled:"",type:"number",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle0,callback:function(e){t.$set(t.form.data,"orientationAngle0",t._n(e))},expression:"form.data.orientationAngle0"}})],1),s("div",{staticClass:"col mg-r-30 display"},[s("div",{staticClass:"num",class:{disable:t.disable}},[t._v("90°")]),s("q-input",{attrs:{disable:t.disable,type:"number",filled:"",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle90,callback:function(e){t.$set(t.form.data,"orientationAngle90",t._n(e))},expression:"form.data.orientationAngle90"}})],1)])]),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"nolabel"},[t._v(" ")]),s("div",{staticClass:"row"},[s("div",{staticClass:"col mg-r-30 display"},[s("div",{staticClass:"num",class:{disable:t.disable}},[t._v("180°")]),s("q-input",{attrs:{disable:t.disable,filled:"",type:"number",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle180,callback:function(e){t.$set(t.form.data,"orientationAngle180",t._n(e))},expression:"form.data.orientationAngle180"}})],1),s("div",{staticClass:"col mg-r-30 display"},[s("div",{staticClass:"num",class:{disable:t.disable}},[t._v("270°")]),s("q-input",{attrs:{disable:t.disable,type:"number",filled:"",dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.orientationAngle270,callback:function(e){t.$set(t.form.data,"orientationAngle270",t._n(e))},expression:"form.data.orientationAngle270"}})],1)])]),s("div",{staticClass:"col mg-r-20"},[s("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),s("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),s("div",{staticClass:"btn"},[s("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],l=s("dd67"),o=s("30d4"),r=s("2a19"),d=s("0418"),n=s("2691"),c={name:"dingxiang",components:{Header:d["a"],opticsTitle:n["default"],CommonBtngroup:l["default"],OpticsTitleCrad:o["default"]},data(){return{cardForm:[{name:"app:icon-chanpinbianma",title:"晶锭编码",value:"",bColor:"#1890FF"},{name:"app:icon-yongtu",title:"晶锭用途(寸/砖)",value:"",bColor:"#55C169"},{name:"app:icon-zhongliang",title:"晶锭重量",value:"",bColor:"#FA8C16"}],isOptions:[{label:"是",value:"1"},{label:"否",value:"0"}],checkList:[{label:"OK",value:"OK"},{label:"NG",value:"NG"}],shift:[{label:"白班",value:1},{label:"夜班",value:2}],form:{data:{orientationTime:"",isAdhesive:"",isMarbleUsed:"",deviceId:"",fixtureId:"",orientationConfirmUser:"",shift:"",orientationAngle0:"",orientationAngle90:"",orientationAngle180:"",orientationAngle270:"",checkResult:"",remarks:""}},processId:1,stepId:1,prodId:0,batchNumList:[],DeviceIdList:[],fixtureIdList:[],userList:[],currentBatchNum:null,time:"",disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},focusfixtureId(){this.$http({url:"/fixture/queryDropBox",method:"get",params:{fixtureType:3}}).then((t=>{this.fixtureIdList=t.result}))},focusUserId(){this.$http({url:"/user/getUsersWithRolePage",method:"get",params:{orgId:0,username:"",name:"",lockFlag:0,pageNum:0,pageSize:0}}).then((t=>{this.userList=t.result.list}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶锭编码":e.value=t.result.ingotNo||"";break;case"晶锭用途(寸/砖)":e.value=t.result.size+"寸"||!1;break;case"晶锭重量":e.value=t.result.ingotWeight||"";break}})),this.prodId=t.result.prodId,this.form.data.checkResult="OK",this.form.data.isAdhesive="1",this.form.data.isMarbleUsed="1",this.getTime()}))},cancel(){let{form:t,cardForm:e,currentBatchNum:s,disable:a}=this.$options.data();this.form=t,this.cardForm=e,this.currentBatchNum=s,this.disable=a},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):r["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):r["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/rodPullingOrientation/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{r["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))}},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:s}=this.$options.data();this.form=e,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=s,this.disable=!0)},immediate:!0,deep:!0}},created(){this.getList(),this.focusDeviceId(),this.focusfixtureId(),this.focusUserId()}},u=c,m=(s("2e85"),s("2877")),f=s("0378"),p=s("27f9"),h=s("ddd8"),b=s("eebe"),v=s.n(b),g=Object(m["a"])(u,a,i,!1,null,"354c7fcb",null);e["default"]=g.exports;v()(g,"components",{QForm:f["a"],QInput:p["a"],QSelect:h["a"]})},dbf7:function(t,e,s){}}]); \ No newline at end of file diff --git a/www/js/9.js b/www/js/9.js new file mode 100644 index 0000000..232ba8b --- /dev/null +++ b/www/js/9.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[9],{"9e2d":function(t,e,s){"use strict";s("b924")},b924:function(t,e,s){},e4d3:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"content optics_style"},[s("div",{staticClass:"header"},[s("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),s("div",{staticClass:"content"},[s("optics-title",{attrs:{title:"数据明细"}}),s("div",{staticClass:"body_style common-form"},[s("div",{staticClass:"mg-t-15"},[s("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),s("div",{staticClass:"mg-t-15"},[s("optics-title-crad",{attrs:{title:"数据录入"}},[s("template",{slot:"body"},[s("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编码")]),s("q-select",{attrs:{placeholder:"请输入","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,filled:"",disable:t.disable,rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label radio ",class:{disable:t.disable}},[t._v("班次")]),s("q-select",{attrs:{options:t.shift,"emit-value":"","map-options":"",filled:"",disable:t.disable,dense:"",rules:[function(t){return t&&""!==t}]},model:{value:t.form.data.shift,callback:function(e){t.$set(t.form.data,"shift",e)},expression:"form.data.shift"}})],1),s("div",{staticClass:"col-md-4 pd-r-20"},[s("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),s("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2)],1)]),s("div",{staticClass:"btn"},[s("common-btngroup",{on:{submit:t.check,cancel:t.cancel}})],1)],1)])},i=[],o=s("dd67"),d=s("30d4"),r=s("0418"),c=s("2691"),l=s("2a19"),n={name:"duanmiandingxiang",components:{CommonBtngroup:o["default"],OpticsTitleCrad:d["default"],Header:r["a"],opticsTitle:c["default"]},data(){return{cardForm:[{name:"app:icon-ziduanbianhao",title:"晶棒编号",value:"",bColor:"#1890FF"},{name:"app:icon-chanpinbianma",title:"晶棒序列号",value:"",bColor:"#FA8C16"},{name:"app:icon-changdu",title:"长度",value:"",bColor:"#55C169"}],form:{data:{deviceId:"",shift:"",remarks:""}},batchNumList:[],DeviceIdList:[],currentBatchNum:null,processId:7,stepId:7,shift:[{label:"白班",value:1},{label:"夜班",value:2}],time:"",prodId:0,disable:!0}},methods:{getTime(){this.time=(new Date).getHours(),this.time>8||this.time<20?this.form.data.shift=1:this.form.data.shift=0},getList(){this.$http({url:`/pad/common/queryNos?stepId=${this.stepId}`,method:"get"}).then((t=>{this.batchNumList=t.result}))},focusDeviceId(){this.$http({url:"/device/queryDropBox",method:"get",params:{stepId:this.stepId}}).then((t=>{this.DeviceIdList=t.result}))},getBaseData(){this.$http({url:"/pad/common/getStationInfo",method:"get",params:{no:this.currentBatchNum,processId:this.processId,stepId:this.stepId}}).then((t=>{this.cardForm.forEach((e=>{switch(e.title){case"晶棒序列号":e.value=t.result.stickNumber||"";break;case"晶棒编号":e.value=t.result.stickNo||"";break;case"长度":e.value=t.result.length||"";break}})),this.getTime(),this.prodId=t.result.prodId}))},cancel(){let{cardForm:t,form:e,currentBatchNum:s,disable:a}=this.$options.data();this.form=e,this.cardForm=t,this.currentBatchNum=s,this.disable=a},check(){this.currentBatchNum?this.$refs.form.validate().then((t=>{t?this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{this.submit()})).catch((()=>{})):l["a"].create({type:"negative",position:"top",message:"请将数据填写完整"})})):l["a"].create({type:"negative",position:"top",message:"请选择编号"})},submit(){this.$http({url:"/pad/endFaceOrientation/passStation",method:"post",data:{...this.form.data,stepId:this.stepId,prodId:this.prodId}}).then((t=>{l["a"].create({type:"positive",position:"top",message:"操作成功"}),this.getList(),this.currentBatchNum="",this.cancel()}))}},watch:{currentBatchNum:{handler(t){let{form:e,cardForm:s,disable:a}=this.$options.data();this.form=e,this.disable=a,this.$nextTick((()=>{this.$refs.form.resetValidation()})),t?(this.getBaseData(),this.disable=!1):(this.cardForm=s,this.disable=!0)},immediate:!0,deep:!0}},created(){this.getList(),this.focusDeviceId()}},m=n,h=(s("9e2d"),s("2877")),u=s("0378"),p=s("ddd8"),f=s("27f9"),b=s("eebe"),v=s.n(b),g=Object(h["a"])(m,a,i,!1,null,"6dce44be",null);e["default"]=g.exports;v()(g,"components",{QForm:u["a"],QSelect:p["a"],QInput:f["a"]})}}]); \ No newline at end of file diff --git a/www/js/app.js b/www/js/app.js new file mode 100644 index 0000000..bc02d61 --- /dev/null +++ b/www/js/app.js @@ -0,0 +1 @@ +(function(t){function e(e){for(var o,a,r=e[0],c=e[1],l=e[2],u=0,d=[];u{const e=t.toLowerCase();this.list=this.options.filter((t=>this.fkliterKey?t[this.fkliterKey].toLowerCase().indexOf(e)>-1:t.toLowerCase().indexOf(e)>-1))}:()=>{this.list=this.options})}}},s=i,r=(n("9c71"),n("2877")),c=n("0016"),l=n("ddd8"),u=n("66e5"),d=n("4074"),p=n("8572"),m=n("eebe"),f=n.n(m),h=Object(r["a"])(s,o,a,!1,null,"279dfcc4",null);e["a"]=h.exports;f()(h,"components",{QIcon:c["a"],QSelect:l["a"],QItem:u["a"],QItemSection:d["a"],QField:p["a"]})},"0850":function(t,e,n){},"087a":function(t,e,n){},"1df4":function(t,e,n){"use strict";n("60e1")},"2c41":function(t,e,n){},"2f39":function(t,e,n){"use strict";n.r(e);n("5319"),n("ae0c"),n("7d6e"),n("e54f"),n("985d"),n("31cd"),n("7003");var o=n("2b0e"),a=n("bf69"),i=n("42d2"),s=n("b05d"),r=n("f508"),c=n("2a19");o["a"].use(s["a"],{config:{},lang:a["a"],iconSet:i["a"],plugins:{Loading:r["a"],Notify:c["a"]}});var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"q-app"}},[n("keep-alive",[t.$route.meta.keepAlive?n("router-view"):t._e()],1),t.$route.meta.keepAlive?t._e():n("router-view")],1)},u=[],d={name:"App",created(){try{StatusBar.hide(!0),screen.orientation.lock("landscape")}catch{}this.$q.iconMapFn=t=>{if(!0===t.startsWith("app:")){const e=t.substring(4);return{cls:"iconfont "+e}}}},watch:{$route(t,e){try{StatusBar.hide(!0),screen.orientation.lock("landscape")}catch{}}}},p=d,m=n("2877"),f=Object(m["a"])(p,l,u,!1,null,null,null),h=f.exports,g=n("2f62"),b=n("758b");const v={state:{roles:[],userInfo:{}},mutations:{setRoles:(t,e)=>{t.roles=e},setUserInfo:(t,e)=>{t.userInfo=e}},actions:{getUserInfo({commit:t}){return new Promise(((e,n)=>{Object(b["b"])({url:"/index/info",method:"get"}).then((n=>{let o=n.result;o.roles&&o.roles.length>0?(t("setRoles",o.roles),t("setUserInfo",o),e()):c["a"].create({type:"negative",position:"top",message:"该用户尚未创建角色,请联系管理员"})})).catch((t=>{n(t)}))}))}}};var y=v;n("ddb0");const C=[{path:"/dashboard",component:()=>Promise.all([n.e(1),n.e(0),n.e(2)]).then(n.bind(null,"ec95")),meta:{keepAlive:!0}},{path:"/",component:()=>Promise.resolve().then(n.bind(null,"a9c3")),children:[{path:"cordova-api",component:()=>n.e(6).then(n.bind(null,"44a3"))},{path:"axios-api",component:()=>n.e(5).then(n.bind(null,"1e78"))}]},{path:"/login",component:()=>Promise.all([n.e(1),n.e(0),n.e(3)]).then(n.bind(null,"013f"))},{path:"*",component:()=>n.e(4).then(n.bind(null,"e51e"))}];var x=C,w=n("a9c3"),S=n("df7c"),j=n.n(S);let _=(t,e="yyyy-MM-dd hh:mm:ss")=>{if(null==t)return"";let n=t=>1===t.toString().length?"0"+t:""+t,o=new Date(t),a=n(o.getFullYear()),i=n(o.getMonth()+1),s=n(o.getDate()),r=n(o.getHours()),c=n(o.getMinutes()),l=n(o.getSeconds()),u=e.replace(/(yyyy|MM|dd|hh|mm|ss)/g,((t,e)=>({yyyy:a,MM:i,dd:s,hh:r,mm:c,ss:l}[e])));return u},k=(t=(new Date).getMonth())=>{let e=new Date,n=e.getFullYear(),o=new Date(n,t,1),a=new Date(n,t+1,1);return(a-o)/864e5},L=(t=new Date,e="yyyy-MM-dd")=>{let n=t.getFullYear(),o=t.getMonth(),a=new Date(n,o,1);return _(a,e)},O=(t=new Date,e="yyyy-MM-dd")=>{let n=t.getFullYear(),o=t.getMonth(),a=k(o),i=new Date(n,o,a);return _(i,e)};var q={formatDate:_,getMonthDays:k,getMonthStartDay:L,getMonthEndDate:O};function I(t="rgb(0, 0, 0)",e="rgb(255, 255, 255)",n=10){const o=N(t,!1),a=o[0],i=o[1],s=o[2],r=N(e,!1),c=r[0],l=r[1],u=r[2],d=(c-a)/n,p=(l-i)/n,m=(u-s)/n,f=[];for(let h=0;hNumber(t)))}return t}function E(t){const e=t,n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(/^(rgb|RGB)/.test(e)){const t=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let e=0;e0?n:0}function B(t){if(-1===t.toString().indexOf("e"))return Number(t.toString().replace(".",""));const e=P(t);return e>0?A(Number(t)*Math.pow(10,e)):Number(t)}function R(t){T&&(t>Number.MAX_SAFE_INTEGER||t{i=e(i,t)})),i}function F(...t){if(t.length>2)return D(t,F);const[e,n]=t,o=B(e),a=B(n),i=P(e)+P(n),s=o*a;return R(s),s/Math.pow(10,i)}function Q(...t){if(t.length>2)return D(t,Q);const[e,n]=t,o=Math.pow(10,Math.max(P(e),P(n)));return(F(e,o)+F(n,o))/o}function z(...t){if(t.length>2)return D(t,z);const[e,n]=t,o=Math.pow(10,Math.max(P(e),P(n)));return(F(e,o)-F(n,o))/o}function U(...t){if(t.length>2)return D(t,U);const[e,n]=t,o=B(e),a=B(n);return R(o),R(a),F(o/a,A(Math.pow(10,P(n)-P(e))))}function H(t,e){const n=Math.pow(10,e);let o=U(Math.round(Math.abs(F(t,n))),n);return t<0&&0!==o&&(o=F(o,-1)),o}function V(t=!0){T=t}var G={times:F,plus:Q,minus:z,divide:U,round:H,enableBoundaryChecking:V,float2Fixed:B};function J(t){let e=t.split("/").filter((t=>t));return e.map(((t,e)=>{let n=t.toLowerCase();return e>0&&(n=n.substring(0,1).toUpperCase()+n.substring(1)),n})).join("")}function K(t,e="yyyy/MM/dd/ hh:mm:ss"){let n=t=>1===t.toString().length?"0"+t:""+t,o=new Date(t),a=n(o.getFullYear()),i=n(o.getMonth()+1),s=n(o.getDate()),r=n(o.getHours()),c=n(o.getMinutes()),l=n(o.getSeconds()),u=e.replace(/(yyyy|MM|dd|hh|mm|ss)/g,((t,e)=>({yyyy:a,MM:i,dd:s,hh:r,mm:c,ss:l}[e])));return u}function Y(t){let e=!0,n=0;return t.forEach((t=>{Object.values(t).forEach((t=>{""===t&&(e=!1)}))})),e&&t.forEach((t=>{0===t.tailPieceFlag&&1===t.qualifiedFlag&&(n+=t.num)})),n}function X(t){let e=!1,n=0;return t.forEach((t=>{0===t.qualifiedFlag&&""!==t.num&&(e=!0)})),e&&t.forEach((t=>{0===t.qualifiedFlag&&(n+=t.num)})),n}function W(t,e){let n={};return t=t.reduce((function(t,o){return!n[o[e]]&&(n[o[e]]=t.push(o)),t}),[]),t}function Z(t){let e=Object.values(t).filter((t=>{if(""!==t)return!0}));if(0===e.length)return!0}async function tt(t){sessionStorage.setItem("token",t.token);try{await new Promise((e=>{db.transaction((function(n){n.executeSql("DROP TABLE IF EXISTS MyTable"),n.executeSql("CREATE TABLE IF NOT EXISTS MyTable (token, deviceId, deviceNo)"),n.executeSql("INSERT INTO MyTable VALUES (?,?,?)",[t.token]),e()}),(function(t){console.log("Open database ERROR: "+JSON.stringify(t))}),(function(){console.log("Populated database OK")}))}))}catch(e){console.log(e)}}async function et(){sessionStorage.removeItem("token"),sessionStorage.removeItem("userName");try{await new Promise((t=>{db.transaction((function(e){e.executeSql("DROP TABLE IF EXISTS MyTable",[],(async(e,n)=>{t()}))}),(function(t){console.log("transaction error: "+t.message)}),(function(){console.log("transaction ok")}))}))}catch(t){console.log(t)}}var nt={path2camelcase:J,formatDate:K,judgeArrObj:Y,delArrayRepetition:W,judgeArrObj2:X,objectValueAllEmpty:Z,deleteData:et,saveData:tt};let ot=()=>{sessionStorage.removeItem("token"),sessionStorage.removeItem("userName"),localStorage.clear(),location.reload()},at=t=>null==t||""==t||"null"==t?"":t,it=t=>null==t||""==t||""==t.trim()||"null"==t?"":t,st=(t=0,e=0,n=0)=>Math.max(t,Math.min(e,Number(n)));function rt(t,e){if(t>=0&&e>0&&e>=t){const n=e-t+1;return Math.floor(Math.random()*n+t)}return 0}function ct(t,e="both"){return t=String(t),"both"==e?t.replace(/^\s+|\s+$/g,""):"left"==e?t.replace(/^\s*/,""):"right"==e?t.replace(/(\s*$)/g,""):"all"==e?t.replace(/\s+/g,""):t}let lt={...q,...$,...G,...nt,range:st,random:rt,trim:ct,goToLogin:ot,dateNull:at,isNotEmpty:it};o["a"].prototype.$u=lt;var ut=lt;let dt=ut.path2camelcase;const pt={state:{routes:[],dynamicRoutes:[]},mutations:{setRoutes:(t,e)=>{t.dynamicRoutes=e,t.routes=[...mt(x),...e]}},actions:{generateRoutes({commit:t}){return new Promise(((e,n)=>{Object(b["b"])({url:"/menu/getRouters?useSource=2",method:"get"}).then((n=>{const o=mt(n.result);t("setRoutes",o),e(o)})).catch((t=>{n(t)}))}))}}};function mt(t,e="/"){return t.map((t=>{let o=t.component;return o&&"string"===typeof o&&(t.component="Layout"===o?w["default"]:()=>n("a383")(`./${o}`)),t.path=j.a.resolve(e,t.path),t.originName=t.name,t.name&&(t.name=dt(t.path)),t.children&&t.children.length&&(t.children=mt(t.children,t.path)),t}))}var ft=pt;const ht={state:{currentBatchNum:null,batchNumParams:{autoUrl:"",processId:"",stepId:"",batchNum:"",boxNum:"",deviceId:"",plateNum:""}},mutations:{setBatchNum:(t,e)=>{t.currentBatchNum=e},setbatchNumParams:(t,e)=>{t.batchNumParams=Object.assign({},{autoUrl:"",processId:"",stepId:"",batchNum:"",boxNum:"",deviceId:"",plateNum:""},e)}},actions:{}};var gt=ht;const bt={state:{qualityList:[],deviceIdList:[],thicknessList:[],customerList:[]},mutations:{setQualityList:(t,e)=>{t.qualityList=e},setDeviceIdList:(t,e)=>{t.deviceIdList=e},setThicknessList:(t,e)=>{t.thicknessList=e},setCustomerList:(t,e)=>{t.customerList=e}},actions:{getQualityList({commit:t},e){Object(b["b"])({url:"/quality/queryPad",method:"get",params:{pageNum:0,pageSize:0,status:1,processId:e}}).then((e=>{t("setQualityList",e.result.list)}))},getDeviceIdList({commit:t},e){return Object(b["b"])({url:"/device/queryPad",method:"get",params:{pageSize:0,pageNum:0,status:1,processId:e}}).then((e=>{t("setDeviceIdList",e.result.list)}))},getThicknessList({commit:t},e){Object(b["b"])({url:"/customer/queryQualityAndGear",method:"get",params:{customerId:e}}).then((e=>{t("setThicknessList",e.result.thkList)}))},getCustomerList({commit:t}){axios({url:"/customer/queryPad",method:"get",params:{customerName:"",customerNum:"",pageNum:0,pageSize:0}}).then((e=>{t("setCustomerList",e.result.list)}))}}};var vt=bt;o["a"].use(g["a"]);const yt=new g["a"].Store({getters:{roles:t=>t.user.roles,permissionRoutes:t=>t.permission.routes,customRoutes:t=>t.permission.dynamicRoutes,currentBatchNum:t=>t.common.currentBatchNum,batchNumParams:t=>t.common.batchNumParams,qualityList:t=>t.commonList.qualityList,deviceIdList:t=>t.commonList.deviceIdList,thicknessList:t=>t.commonList.thicknessList,customerList:t=>t.commonList.customerList},modules:{user:y,permission:ft,common:gt,commonList:vt}});var Ct=yt,xt=n("8c4f");o["a"].use(xt["a"]);const wt=new xt["a"]({scrollBehavior:()=>({x:0,y:0}),routes:x,mode:"hash",base:""});wt.beforeEach(((t,e,n)=>{let o=!!sessionStorage.getItem("token"),a=["/login","/404"];if(o)if("/login"===t.path)n("/dashboard");else{const e=Ct.getters.roles&&Ct.getters.roles.length>0;e?n():Ct.dispatch("getUserInfo").then((()=>Ct.dispatch("generateRoutes"))).then((e=>{wt.addRoutes(e),n({...t,replace:!0})})).catch((e=>{sessionStorage.removeItem("token"),n(`/login?to=${t.path}`)}))}else~a.indexOf(t.path)?n():n(`/login?to=${t.path}`)}));var St=wt,jt=async function(){const t="function"===typeof Ct?await Ct({Vue:o["a"]}):Ct,e="function"===typeof St?await St({Vue:o["a"],store:t}):St;t.$router=e;const n={router:e,store:t,render:t=>t(h),el:"#q-app"};return{app:n,store:t,router:e}},_t=n("3a34"),kt=n.n(_t);const Lt=new kt.a;var Ot=Lt,qt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("q-dialog",{attrs:{persistent:""},model:{value:t.isShow,callback:function(e){t.isShow=e},expression:"isShow"}},[n("q-card",{staticStyle:{"min-width":"300px"}},[n("q-card-section",[n("p",{staticClass:"title",staticStyle:{"font-size":"18px"}},[t._v(t._s(t.text.title))]),n("div",{staticClass:"no-margin",staticStyle:{position:"relative"}},[n("q-icon",{staticClass:"warningicon",staticStyle:{"font-size":"24px",position:"absolute",top:"0",left:"0"},attrs:{name:"fas fa-exclamation-triangle",color:"warning"}}),n("p",{staticStyle:{padding:"0 10px","line-height":"24px","vertical-align":"middle","padding-left":"30px"}},[t._v(t._s(t.text.message))])],1)]),n("q-card-actions",{attrs:{align:"right"}},[n("q-btn",{attrs:{label:t.text.btn.cancelText},on:{click:function(e){return t.handleClose()}}}),n("q-btn",{attrs:{label:t.text.btn.okText,color:"primary"},on:{click:function(e){return t.handleOk()}}})],1)],1)],1)},It=[],Nt={name:"confirm",data(){return{isShow:!0,text:{title:"提示",message:"确定?",btn:{okText:"确定",cancelText:"取消"}}}},methods:{handleOk(){console.log("ok")},handleClose(){console.log("cancle")}}},Et=Nt,Mt=n("24e8"),$t=n("f09f"),Tt=n("a370"),At=n("0016"),Pt=n("4b7e"),Bt=n("9c40"),Rt=n("eebe"),Dt=n.n(Rt),Ft=Object(m["a"])(Et,qt,It,!1,null,null,null),Qt=Ft.exports;Dt()(Ft,"components",{QDialog:Mt["a"],QCard:$t["a"],QCardSection:Tt["a"],QIcon:At["a"],QCardActions:Pt["a"],QBtn:Bt["a"]});const zt=o["a"].extend(Qt),Ut=function(t){return new Promise(((e,n)=>{const o=new zt({el:document.createElement("div")});document.body.appendChild(o.$el),o.text=t,o.handleOk=function(){e(),o.isShow=!1},o.handleClose=function(){n(),o.isShow=!1}}))};var Ht=Ut;o["a"].prototype.$confirm=Ht;var Vt=n("0418"),Gt=n("5979"),Jt=n("dd67"),Kt=n("9951"),Yt=n("d54c"),Xt=n("5dc4"),Wt=n("54d9");let Zt={Appbar:Vt["a"],CommonCard:Gt["default"],CommonBtngroup:Jt["default"],CommonTitle:Kt["default"],CommonBox:Yt["default"],PageContainer:Xt["default"],SelectFill:Wt["default"]};Object.keys(Zt).forEach((t=>{o["a"].component(t,Zt[t])})),o["a"].prototype.$message={success:t=>{c["a"].create({message:t,type:"positive",position:"top"})},warning:t=>{c["a"].create({message:t,type:"warning",position:"top"})},error:t=>{c["a"].create({message:t,type:"negative",position:"top"})}};const te="";async function ee(){const{app:t,store:e,router:n}=await jt();let a=!1;const i=t=>{a=!0;const e=Object(t)===t?n.resolve(t).route.fullPath:t;window.location.href=e},s=window.location.href.replace(window.location.origin,""),r=[b["default"],Ot,void 0,void 0,void 0];for(let l=0;!1===a&&l{o["a"].prototype.$q.cordova=window.cordova,new o["a"](t)}),!1)}ee()},"31cd":function(t,e,n){},3641:function(t,e,n){"use strict";n("5ce2")},"54d9":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("q-select",{attrs:{filled:"",dense:"","use-input":t.useInput,"input-debounce":"0","option-value":t.optionValue,"option-label":t.optionLabel,options:t.list,behavior:"menu",disable:t.disable,"emit-value":t.emitValue,"map-options":t.mapOptions,rules:t.rules},on:{focus:t.focus,filter:t.filterFn},scopedSlots:t._u([{key:"no-option",fn:function(){return[n("q-item",[n("q-item-section",{staticClass:"text-grey"},[t._v("\n 暂无数据\n ")])],1)]},proxy:!0}]),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})},a=[],i={name:"SelectFill",props:{model:{type:Object|String,required:!0},useInput:{type:Boolean,default:!1},optionValue:String,optionLabel:String,options:{type:Array,default:()=>[]},disable:{type:Boolean,default:!1},emitValue:{type:Boolean,default:!1},mapOptions:{type:Boolean,default:!1},rules:{type:Array,default:()=>[]}},data(){return{list:[],value:null}},watch:{options(t){this.list=JSON.parse(JSON.stringify(t))},model(t){this.emitValue?this.value=t?t.toString():"":this.value=t},value(t){this.emitValue?this.$emit("update:model",t?t.toString():""):this.$emit("update:model",t)}},methods:{focus(){this.$emit("focus")},filterFn(t,e){const n=this.options;e(""!==t?()=>{const e=t.toLowerCase();this.list=n.filter((t=>t[this.optionLabel].toLowerCase().indexOf(e)>-1))}:()=>{this.list=n})}}},s=i,r=n("2877"),c=n("ddd8"),l=n("66e5"),u=n("4074"),d=n("eebe"),p=n.n(d),m=Object(r["a"])(s,o,a,!1,null,null,null);e["default"]=m.exports;p()(m,"components",{QSelect:c["a"],QItem:l["a"],QItemSection:u["a"]})},5979:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"common-title"},[t._v("\n "+t._s(t.title||"")+"\n ")]),t.list.length?n("div",{staticClass:"scroll"},t._l(t.list,(function(e,o){return n("div",{key:o,staticClass:"common-card inline-block mg-r-30 shadow-box"},[n("div",{staticClass:"flex items-start"},[n("div",{staticClass:"col-icon"},[n("div",{staticClass:"left_icon"},[n("q-icon",{attrs:{name:"app:icon-a-xingzhuang2"}})],1)]),n("div",{staticClass:"col-center"},[n("div",{staticClass:"item title"},[t._v("\n 批次:"+t._s(e.batchNum)+"\n ")]),n("div",{staticClass:"item"},[n("table",{staticClass:"table"},[t._t("default",(function(){return[n("tr",[n("td",{staticClass:"label"},[t._v("客户")]),n("td",[t._v(t._s(e.customerName))]),n("td",{staticClass:"label"},[t._v("实际长度")]),n("td",[t._v(t._s(e.actualLength))])]),n("tr",[n("td",{staticClass:"label"},[t._v("晶棒编码")]),n("td",[t._v(t._s(e.crystalrodNum))]),n("td",{staticClass:"label"},[t._v("有效长度")]),n("td",[t._v(t._s(e.effectiveLength))])])]}),{data:e})],2)])]),n("div",{staticClass:"col-close text-right",on:{click:function(n){return t.closeCard(e)}}},[n("q-icon",{attrs:{name:"app:icon-guanbi"}})],1)])])})),0):n("div",{staticClass:"no-data"},[t._v("\n 暂无任务信息\n ")])])},a=[],i={name:"CommonCard",props:{title:{type:String,default:"任务信息"},list:{type:Array,default:()=>[]}},watch:{list(t){}},created(){console.log(this.list,"list")},data(){return{}},methods:{closeCard(t){this.list.length>1||this.$store.commit("setBatchNum",null)}}},s=i,r=(n("f893"),n("2877")),c=n("0016"),l=n("eebe"),u=n.n(l),d=Object(r["a"])(s,o,a,!1,null,"c1c0626c",null);e["default"]=d.exports;u()(d,"components",{QIcon:c["a"]})},"5ce2":function(t,e,n){},"5dc4":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-container"},[n("div",{staticClass:"page-container-header"},[t._t("header")],2),n("div",{staticClass:"page-container-content"},[t._t("default")],2)])},a=[],i={name:"Container",props:["name"]},s=i,r=(n("1df4"),n("2877")),c=n("adad"),l=n("823b"),u=n("7460"),d=n("eebe"),p=n.n(d),m=Object(r["a"])(s,o,a,!1,null,null,null);e["default"]=m.exports;p()(m,"components",{QTabPanels:c["a"],QTabPanel:l["a"],QTab:u["a"]})},"60e1":function(t,e,n){},7003:function(t,e,n){},"758b":function(t,e,n){"use strict";n.d(e,"b",(function(){return r}));var o=n("bc3a"),a=n.n(o),i=n("2b0e"),s=n("2a19");i["a"].prototype.$http=a.a,a.a.defaults.headers["Content-Type"]="application/json;charset=utf-8";const r=a.a.create({timeout:35e3,baseURL:"http://10.1.248.29:8028"});r.interceptors.request.use((t=>{let e;t.data&&t.data.baseURL&&(e=t.data.baseURL),!e&&t.params&&t.params.baseURL&&(e=t.params.baseURL),e&&(t.baseURL=e);let n=!!sessionStorage.getItem("token");return n&&(t.headers["Authorization"]=sessionStorage.getItem("token")),t}),(t=>{Promise.reject(t)})),r.interceptors.response.use((t=>{let e=t.data.code,n=t.data.message;if("Z000"===e)return t.data;if("A2001"!==e)throw s["a"].create({type:"negative",position:"top",message:n}),n;sessionStorage.removeItem("token"),router.push("/login")}),(t=>(~t.toString().indexOf("timeout")&&s["a"].create({type:"negative",position:"top",message:"网络请求超时"}),~t.toString().indexOf("Network Error")&&s["a"].create({type:"negative",position:"top",message:"网络请求错误"}),Promise.reject(t)))),i["a"].prototype.$http=r},9232:function(t,e,n){"use strict";n("0850")},"92dc":function(t,e,n){"use strict";n("9c6d")},9951:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tool-title row flex items-center"},[n("div",{staticClass:"tool_left col"},[t.needIcon?n("span",{staticClass:"icon",class:t.color},[n("q-icon",{attrs:{name:"app:"+t.icon}})],1):t._e(),n("span",{staticClass:"title"},[t._v(t._s(t.title))])]),n("div",{staticClass:"right_tool col text-right"},[t._t("right-tool")],2)])},a=[],i={name:"CommonTtile",props:{title:{type:String,default:"数据填写"},icon:{type:String,default:""},color:{type:String,default:"blue"},needIcon:{type:Boolean,default:!0}},data(){return{}}},s=i,r=(n("92dc"),n("2877")),c=n("0016"),l=n("eebe"),u=n.n(l),d=Object(r["a"])(s,o,a,!1,null,"78e6f6e1",null);e["default"]=d.exports;u()(d,"components",{QIcon:c["a"]})},"9c6d":function(t,e,n){},"9c71":function(t,e,n){"use strict";n("e464")},a383:function(t,e,n){var o={"./Dashboard":["ec95",1,0,2],"./Dashboard.vue":["ec95",1,0,2],"./Error404":["e51e",4],"./Error404.vue":["e51e",4],"./Login":["013f",1,0,3],"./Login.vue":["013f",1,0,3],"./components/BottomBtngroup":["dd67"],"./components/BottomBtngroup.vue":["dd67"],"./components/CommonBox":["d54c"],"./components/CommonBox.vue":["d54c"],"./components/CommonCard":["5979"],"./components/CommonCard.vue":["5979"],"./components/CommonTitle":["9951"],"./components/CommonTitle.vue":["9951"],"./components/DashboardHeader":["8e33",0],"./components/DashboardHeader.vue":["8e33",0],"./components/FormTable":["6e23",0],"./components/FormTable.vue":["6e23",0],"./components/SelectFill":["54d9"],"./components/SelectFill.vue":["54d9"],"./components/opticsTitleCrad":["30d4",0],"./components/opticsTitleCrad.vue":["30d4",0],"./factory1/chumo":["e57d",1,0,24],"./factory1/chumo.vue":["e57d",1,0,24],"./factory1/compoennts/Container":["5dc4"],"./factory1/compoennts/Container.vue":["5dc4"],"./factory1/compoennts/Tabs":["ccb6",25],"./factory1/compoennts/Tabs.vue":["ccb6",25],"./factory1/daojiao":["887a",1,0,26],"./factory1/daojiao.vue":["887a",1,0,26],"./factory1/fenmian":["125a",1,0,27],"./factory1/fenmian.vue":["125a",1,0,27],"./factory1/jingbangtuihuo":["178e",1,0,28],"./factory1/jingbangtuihuo.vue":["178e",1,0,28],"./factory1/jingmo":["4e35",1,0,29],"./factory1/jingmo.vue":["4e35",1,0,29],"./factory1/mixins/tools":["d6f4",0],"./factory1/mixins/tools.js":["d6f4",0],"./factory1/qingxi":["32ce",1,0,30],"./factory1/qingxi.vue":["32ce",1,0,30],"./factory1/rejian":["b057",1,0,31],"./factory1/rejian.vue":["b057",1,0,31],"./factory1/tongpao":["aa4c",32],"./factory1/tongpao.vue":["aa4c",32],"./factory1/tuihuo":["d20f",1,0,33],"./factory1/tuihuo.vue":["d20f",1,0,33],"./factory1/xianqie":["8c34",1,0,34],"./factory1/xianqie.vue":["8c34",1,0,34],"./factory1/xianqiepiantuihuo":["7205",1,0,35],"./factory1/xianqiepiantuihuo.vue":["7205",1,0,35],"./optics/components/opticsTitle":["2691",0],"./optics/components/opticsTitle.vue":["2691",0],"./optics/cumo":["2615",1,0,7],"./optics/cumo.vue":["2615",1,0,7],"./optics/dingxiang":["6697",1,0,8],"./optics/dingxiang.vue":["6697",1,0,8],"./optics/duanmiandingxiang":["e4d3",1,0,9],"./optics/duanmiandingxiang.vue":["e4d3",1,0,9],"./optics/guochangjieduan":["beee",1,0,10],"./optics/guochangjieduan.vue":["beee",1,0,10],"./optics/jianyanComponents/Axiang":["506d",1,0],"./optics/jianyanComponents/Axiang.vue":["506d",1,0],"./optics/jianyanComponents/Cxiang":["84f8",1,0],"./optics/jianyanComponents/Cxiang.vue":["84f8",1,0],"./optics/jianyanComponents/chengping":["7fbb",1,0],"./optics/jianyanComponents/chengping.vue":["7fbb",1,0],"./optics/jianyanComponents/chuizhidu":["9c7c",1,0],"./optics/jianyanComponents/chuizhidu.vue":["9c7c",1,0],"./optics/jianyanComponents/jingjie":["bc43",1,0],"./optics/jianyanComponents/jingjie.vue":["bc43",1,0],"./optics/jieduan":["6998",1,0,11],"./optics/jieduan.vue":["6998",1,0,11],"./optics/jingbangjianyan":["2556",1,0,12],"./optics/jingbangjianyan.vue":["2556",1,0,12],"./optics/jingkechenzhong":["ee37",1,0,13],"./optics/jingkechenzhong.vue":["ee37",1,0,13],"./optics/jingmo":["c54d",1,0,14],"./optics/jingmo.vue":["c54d",1,0,14],"./optics/modingweibian":["a7c5",1,0,15],"./optics/modingweibian.vue":["a7c5",1,0,15],"./optics/moduanmian":["c7cd",1,0,16],"./optics/moduanmian.vue":["c7cd",1,0,16],"./optics/pingbiandingxiang":["5c7a",1,0,17],"./optics/pingbiandingxiang.vue":["5c7a",1,0,17],"./optics/qutouwei":["ecc1",1,0,18],"./optics/qutouwei.vue":["ecc1",1,0,18],"./optics/taobang":["2829",1,0,19],"./optics/taobang.vue":["2829",1,0,19],"./optics/xiabang":["ed51",1,0,20],"./optics/xiabang.vue":["ed51",1,0,20],"./optics/xianqie":["1d3c",1,0,21],"./optics/xianqie.vue":["1d3c",1,0,21],"./optics/xianqiedingxiang":["3f2b",1,0,22],"./optics/xianqiedingxiang.vue":["3f2b",1,0,22],"./optics/zhijianComponents/jingbangpanding":["3ec8",1,0],"./optics/zhijianComponents/jingbangpanding.vue":["3ec8",1,0],"./optics/zhijianComponents/jingdingpanding":["9d48",1,0],"./optics/zhijianComponents/jingdingpanding.vue":["9d48",1,0],"./optics/zhijianpanding":["143f",1,0,23],"./optics/zhijianpanding.vue":["143f",1,0,23],"./template/axiosApi":["1e78",5],"./template/axiosApi.vue":["1e78",5],"./template/cordovaApi":["44a3",6],"./template/cordovaApi.vue":["44a3",6]};function a(t){if(!n.o(o,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=o[t],a=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(a)}))}a.keys=function(){return Object.keys(o)},a.id="a383",t.exports=a},a71f:function(t,e,n){"use strict";n("2c41")},a9c3:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("q-layout",{staticClass:"my-layout",attrs:{view:"lHh Lpr lFf"}},[n("div",{staticClass:"main_view"},[n("router-view")],1)])},a=[],i=n("0418"),s={name:"Layout",data(){return{}},components:{Header:i["a"]}},r=s,c=(n("3641"),n("2877")),l=n("4d5a"),u=n("eebe"),d=n.n(u),p=Object(c["a"])(r,o,a,!1,null,"4492773e",null);e["default"]=p.exports;d()(p,"components",{QLayout:l["a"]})},d54c:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-common-box"},[""!=t.title?n("div",{staticClass:"common-title"},[t._v("\n "+t._s(t.title||"")+"\n ")]):t._e(),n("div",{staticClass:"page-common-box-body"},[t._t("default")],2)])},a=[],i={name:"CommonBox",props:{title:{type:String,default:""}}},s=i,r=(n("9232"),n("2877")),c=Object(r["a"])(s,o,a,!1,null,"578a8b1f",null);e["default"]=c.exports},dd67:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"btn-group text-center"},[n("q-page-sticky",{attrs:{expand:"",position:"bottom"}},[n("div",{staticClass:"form_bottom_group"},[t._t("default",(function(){return[n("q-btn",{attrs:{label:"取 消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),n("q-btn",{attrs:{label:"确 认",type:"submit",rounded:"",color:"primary"},on:{click:t.submit}})]}))],2)])],1)},a=[],i={data(){return{}},methods:{submit(){this.$emit("submit")},cancel(){this.$emit("cancel")}}},s=i,r=(n("a71f"),n("2877")),c=n("de5e"),l=n("9c40"),u=n("eebe"),d=n.n(u),p=Object(r["a"])(s,o,a,!1,null,"32d47552",null);e["default"]=p.exports;d()(p,"components",{QPageSticky:c["a"],QBtn:l["a"]})},e464:function(t,e,n){},f893:function(t,e,n){"use strict";n("087a")}}); \ No newline at end of file diff --git a/www/js/chunk-common.js b/www/js/chunk-common.js new file mode 100644 index 0000000..860fef7 --- /dev/null +++ b/www/js/chunk-common.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],{"0748":function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("q-table",{staticClass:"my-sticky-header-table pd-10 common-table",attrs:{"hide-bottom":e.options.hideBottom,dense:e.options.dense,title:e.title,data:e.options.data,columns:e.options.columns,loading:e.options.loading,"row-key":e.options.key,"table-header-style":{backgroundColor:"#F8FBFF"},"rows-per-page-label":e.options.pageLabel,flat:e.options.flat},scopedSlots:e._u([{key:"loading",fn:function(){return[a("q-inner-loading",{attrs:{showing:"",color:"primary"}})]},proxy:!0},{key:"body",fn:function(t){return[a("q-tr",{attrs:{props:t}},e._l(t.cols,(function(s){return a("q-td",{key:s.name,attrs:{props:t}},[e._v("\n "+e._s(s.value)+"\n "),"edit"===s.name?e._t("tableEdit",null,{data:t.row}):e._e()],2)})),1)]}},e.showTop?{key:"top",fn:function(t){return[a("div",{staticClass:"row flex justify-between",staticStyle:{width:"100%"}},[a("div",{staticClass:"col-auto q-table__title tool-title"},[a("span",{staticClass:"icon"},[a("q-icon",{attrs:{name:"app:icon-a-shuju1"}})],1),a("span",{staticClass:"title"},[e._v(e._s(e.options.title))])]),a("div",{staticClass:"col-auto right_tool"},[a("table-search",{staticClass:"right_tool_icon",attrs:{searchOptions:e.searchOptions},on:{reset:e.reset,search:e.search}},[a("template",{slot:"query-form-item"},[e._t("search-item")],2)],2),a("q-btn",{staticClass:"full right_tool_icon",attrs:{flat:"",round:"",dense:"",icon:t.inFullscreen?"fullscreen_exit":"fullscreen"},on:{click:t.toggleFullscreen}})],1)])]}}:null,{key:"bottom",fn:function(){return[a("div",{staticClass:"row justify-between item-center pagination",staticStyle:{width:"100%"}},[a("div",{staticClass:"col-auto self-center"},[e._v("总条数:"+e._s(e.pagination.total))]),a("div",{staticClass:"col-auto"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-auto self-center select"},[e._v("\n 每页显示  "),a("q-select",{staticClass:"inline-block no-padding",staticStyle:{width:"40px"},attrs:{borderless:"",options:e.pagination.rowsOptions},model:{value:e.pagination.rowsPerPage,callback:function(t){e.$set(e.pagination,"rowsPerPage",t)},expression:"pagination.rowsPerPage"}}),e._v("  条\n ")],1),a("div",{staticClass:"col-auto text-right self-center"},[a("q-pagination",{attrs:{color:"primary",max:20,"max-pages":6,"boundary-numbers":"","direction-links":""},model:{value:e.pagination.page,callback:function(t){e.$set(e.pagination,"page",t)},expression:"pagination.page"}})],1)])])])]},proxy:!0}],null,!0)})],1)},i=[],l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",[a("q-icon",{staticClass:"icon-small",attrs:{name:"app:icon-search"},on:{click:function(t){e.show=!0}}}),a("q-dialog",{model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("q-card",{staticStyle:{width:"700px","max-width":"80vw"}},[a("q-card-section",[a("div",{staticClass:"text-h6"},[e._v(e._s(e.options.title))])]),a("q-card-section",{staticClass:"q-pt-none"},[a("q-form",{ref:"searchForm",staticClass:"searchForm"},[e._t("query-form-item")],2)],1),a("q-card-actions",{staticClass:"bg-white text-primary pd-b-20",attrs:{align:"center"}},[e.options.needReset?a("q-btn",{attrs:{label:"清空",rounded:"",type:"reset"},on:{click:e.onReset}}):e._e(),a("q-btn",{attrs:{label:"搜索",rounded:"",color:"primary"},on:{click:e.onSearch}})],1)],1)],1)],1)},r=[],n={name:"CommonDialog",props:{searchOptions:Object},computed:{options(){let e=this.searchOptions?this.searchOptions:{},t={title:"搜索",needReset:!0};return Object.assign({},t,e)}},data(){return{show:!1}},methods:{onReset(){this.$emit("reset")},onSearch(){this.$emit("search"),this.show=!1},onSubmit(){}}},o=n,d=(a("8b2c"),a("2877")),c=a("0016"),m=a("24e8"),f=a("f09f"),u=a("a370"),p=a("0378"),h=a("4b7e"),b=a("9c40"),g=a("7f67"),v=a("eebe"),C=a.n(v),w=Object(d["a"])(o,l,r,!1,null,"51416bf9",null),y=w.exports;C()(w,"components",{QIcon:c["a"],QDialog:m["a"],QCard:f["a"],QCardSection:u["a"],QForm:p["a"],QCardActions:h["a"],QBtn:b["a"]}),C()(w,"directives",{ClosePopup:g["a"]});var A={name:"CommonTable",props:{searchOptions:Object,tableOptions:Object,title:{type:String,default:""},showTop:{type:Boolean,default:!0}},computed:{options(){let e=this.tableOptions?this.tableOptions:{},t={title:"数据填写",data:[],columns:"",loading:"",key:"",dense:!1,hideBottom:!1,flat:!0};return Object.assign({},t,e)}},watch:{pagination:{handler:function(e){console.log(e,"val"),this.$emit("getTableData")},deep:!0}},data(){return{pagination:{page:1,rowsPerPage:15,pagesNumber:10,rowsOptions:[5,10,15,20,25,30],total:100}}},components:{TableSearch:y},methods:{reset(){this.$emit("resetSearch")},search(){this.$emit("search")}}},B=A,S=(a("30f2"),a("eaac")),x=a("74f7"),q=a("bd08"),k=a("db86"),D=a("ddd8"),R=a("3b16"),I=a("8572"),F=Object(d["a"])(B,s,i,!1,null,"43999e37",null);t["a"]=F.exports;C()(F,"components",{QTable:S["a"],QInnerLoading:x["a"],QTr:q["a"],QTd:k["a"],QIcon:c["a"],QBtn:b["a"],QSelect:D["a"],QPagination:R["a"],QField:I["a"]})},"0b70":function(e,t,a){},2039:function(e,t,a){"use strict";a("8a47")},2691:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n")])},i=[],l={name:"opticsTitle",props:{title:{type:String,default:""}},data(){return{}}},r=l,n=(a("2039"),a("2877")),o=Object(n["a"])(r,s,i,!1,null,"7575e044",null);t["default"]=o.exports},"30d4":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"crad"},[a("div",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n ")]),e.showCardForm?a("div",{staticClass:"icon"},e._l(e.cardForm,(function(t,s){return a("div",{key:s,staticClass:"icon-content",class:e.cardForm.length-1===s?"borderNone":""},[a("div",{staticClass:"left_icon"},[a("div",{staticClass:"icon",style:"backgroundColor:"+t.bColor},[t.name?a("q-icon",{attrs:{name:t.name}}):e._e(),t.class?a("q-icon",{class:t.class}):e._e()],1)]),a("div",{staticClass:"box"},[a("div",{staticClass:"box-title"},[e._v(e._s(t.title))]),t.value?a("div",{staticClass:"value"},[e._v(e._s(t.value))]):a("div",{staticClass:"value grey"},[e._v("暂无数据")])])])})),0):e._e(),a("div",{staticStyle:{padding:"0 20px 20px 20px"}},[e._t("body")],2)])])},i=[],l={name:"opticsTitleCrad",props:{title:{default:"基础信息",type:String},cardForm:{default:()=>[],type:Array},showCardForm:{default:!1,type:Boolean}}},r=l,n=(a("f98c"),a("2877")),o=a("0016"),d=a("eebe"),c=a.n(d),m=Object(n["a"])(r,s,i,!1,null,"a0b27c26",null);t["default"]=m.exports;c()(m,"components",{QIcon:o["a"]})},"30f2":function(e,t,a){"use strict";a("7dea")},"3ec8":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"body_style common-form"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio"},[e._v("检验结果")]),a("q-select",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio"},[e._v("入库类型")]),a("q-select",{attrs:{placeholder:"请选择",filled:"",dense:""}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label"},[e._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",dense:""}})],1)])])],1)],2)],1)},i=[],l=a("30d4"),r={name:"jingbangpanding",components:{opticsTitleCrad:l["default"]}},n=r,o=(a("c304"),a("2877")),d=a("0378"),c=a("ddd8"),m=a("27f9"),f=a("eebe"),u=a.n(f),p=Object(o["a"])(n,s,i,!1,null,"759da994",null);t["default"]=p.exports;u()(p,"components",{QForm:d["a"],QSelect:c["a"],QInput:m["a"]})},"506d":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dataContent"},[a("div",{staticClass:"shadow-box mg-t-20 pd-20"},[a("div",[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"数据录入"}})],1),a("q-form",{ref:"Axiang_form1",staticClass:"q-gutter-md mg-t-20"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("R向检验")]),a("q-select",{attrs:{placeholder:"请输入",rules:[function(e){return""!==e&&null!==e}],options:e.checkRList,"emit-value":"",disable:e.disable,filled:"",dense:""},model:{value:e.form.rdirection,callback:function(t){e.$set(e.form,"rdirection",t)},expression:"form.rdirection"}})],1)])]),a("div",[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"向下"}})],1),a("q-form",{ref:"Axiang_form2"},[a("FormTable",{attrs:{labels:e.underForm.label}},[a("template",{slot:"tbody"},[a("tr",[a("td",[e._v("A面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:e.disable,type:"number",rules:[function(e){return""!==e}]},model:{value:e.form.downADegree,callback:function(t){e.$set(e.form,"downADegree",e._n(t))},expression:"form.downADegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:e.disable,type:"number",rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.downABranch,callback:function(t){e.$set(e.form,"downABranch",e._n(t))},expression:"form.downABranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",filled:"",dense:"",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.downASecond,callback:function(t){e.$set(e.form,"downASecond",e._n(t))},expression:"form.downASecond"}})],1)]),a("tr",[a("td",[e._v("B面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",rules:[function(e){return""!==e}],disable:e.disable},model:{value:e.form.downBDegree,callback:function(t){e.$set(e.form,"downBDegree",t)},expression:"form.downBDegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",filled:"",disable:e.disable,dense:"",rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.downBBranch,callback:function(t){e.$set(e.form,"downBBranch",e._n(t))},expression:"form.downBBranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",filled:"",dense:"",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.downBSecond,callback:function(t){e.$set(e.form,"downBSecond",e._n(t))},expression:"form.downBSecond"}})],1)])])],2)],1),a("div",{staticClass:"mg-t-20"},[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"向上"}})],1),a("q-form",{ref:"Axiang_form3"},[a("FormTable",{attrs:{labels:e.upForm.label}},[a("template",{slot:"tbody"},[a("tr",[a("td",[e._v("A面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",rules:[function(e){return""!==e}],disable:e.disable},model:{value:e.form.upwardADegree,callback:function(t){e.$set(e.form,"upwardADegree",t)},expression:"form.upwardADegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.upwardABranch,callback:function(t){e.$set(e.form,"upwardABranch",e._n(t))},expression:"form.upwardABranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",filled:"",disable:e.disable,dense:"",rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.upwardASecond,callback:function(t){e.$set(e.form,"upwardASecond",e._n(t))},expression:"form.upwardASecond"}})],1)]),a("tr",[a("td",[e._v("B面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",filled:"",dense:"",rules:[function(e){return""!==e}],disable:e.disable},model:{value:e.form.upwardBDegree,callback:function(t){e.$set(e.form,"upwardBDegree",t)},expression:"form.upwardBDegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",filled:"",dense:"",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.upwardBBranch,callback:function(t){e.$set(e.form,"upwardBBranch",e._n(t))},expression:"form.upwardBBranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",filled:"",disable:e.disable,dense:"",rules:[function(e){return""!==e&&e<60&&e>0}]},model:{value:e.form.upwardBSecond,callback:function(t){e.$set(e.form,"upwardBSecond",e._n(t))},expression:"form.upwardBSecond"}})],1)])])],2)],1)],1)])},i=[],l=(a("ddb0"),a("6e23")),r=a("9951"),n={name:"Axiang",props:{prodId:{type:Number},stickId:{type:Number},disable:{type:Boolean}},components:{FormTable:l["default"],CommonTitle:r["default"]},data(){return{underForm:{label:["",{width:"350px",name:"度"},{width:"350px",name:"分"},{width:"350px",name:"秒"}]},upForm:{label:["",{width:"350px",name:"度"},{width:"350px",name:"分"},{width:"350px",name:"秒"}]},form:{rdirection:"",upwardADegree:"",upwardABranch:"",upwardASecond:"",upwardBDegree:"",upwardBBranch:"",upwardBSecond:"",downADegree:"",downABranch:"",downASecond:"",downBDegree:"",downBBranch:"",downBSecond:""},checkFormPromiseList:[],checkRList:[{label:"R9",value:"R9"},{label:"NG",value:"NG"}]}},methods:{getValue(){this.form.rdirection="R9",this.form.upwardADegree="20",this.form.upwardBDegree="20",this.form.downADegree="20",this.form.downBDegree="20"},checkForm(e){const t=new Promise(((t,a)=>{this.$refs[e].validate().then((e=>{e&&t()}))}));this.checkFormPromiseList.push(t)},submitForm(){this.checkFormPromiseList=[],this.checkForm("Axiang_form1"),this.checkForm("Axiang_form2"),this.checkForm("Axiang_form3"),this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>Promise.all(this.checkFormPromiseList).then((()=>this.$http({url:"/pad/barInspection/passADirection",method:"post",data:{...this.form,prodId:this.prodId,stickId:this.stickId,stepId:18}}).then((e=>e)))))).catch((()=>{}))},resetForm(){this.form=this.$options.data().form,this.checkFormPromiseList=[],this.$nextTick((()=>{this.$refs["Axiang_form1"].resetValidation(),this.$refs["Axiang_form2"].resetValidation(),this.$refs["Axiang_form3"].resetValidation()}))}}},o=n,d=(a("f189"),a("2877")),c=a("0378"),m=a("ddd8"),f=a("27f9"),u=a("eebe"),p=a.n(u),h=Object(d["a"])(o,s,i,!1,null,"54562198",null);t["default"]=h.exports;p()(h,"components",{QForm:c["a"],QSelect:m["a"],QInput:f["a"]})},"562d":function(e,t,a){},"58af":function(e,t,a){"use strict";a("0b70")},"5e31":function(e,t,a){"use strict";a("8637")},6142:function(e,t,a){},"6d2c":function(e,t,a){},"6e23":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"fomr_table"},[a("table",{attrs:{border:"0"}},[a("thead",[a("tr",e._l(e.labels,(function(t,s){return a("th",{key:s,style:{width:t.width?t.width:"auto"}},[e._v(e._s(t.name?t.name:t))])})),0)]),a("tbody",[e._t("tbody")],2)])])},i=[],l={name:"formtable",props:{labels:{type:Array,default:()=>[]}},data(){return{}}},r=l,n=(a("ee72"),a("2877")),o=Object(n["a"])(r,s,i,!1,null,"f854a9fc",null);t["default"]=o.exports},"7dea":function(e,t,a){},"7e62":function(e,t,a){},"7fbb":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{},[a("div",{staticClass:"common-form mg-b-20"},[a("div",{staticClass:"shadow-box pd-20"},[e._m(0),a("div",{staticClass:"form_content"},[a("q-form",{ref:"chengping_form1",staticClass:"q-gutter-md mg-t-20"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n 平边长\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatSideLength,callback:function(t){e.$set(e.form,"flatSideLength",e._n(t))},expression:"form.flatSideLength"}})],1),a("div",{staticClass:"col-md-3 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n 成品长度\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.finishedLength,callback:function(t){e.$set(e.form,"finishedLength",e._n(t))},expression:"form.finishedLength"}})],1),a("div",{staticClass:"col-md-3 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n 重量\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.weight,callback:function(t){e.$set(e.form,"weight",e._n(t))},expression:"form.weight"}})],1)]),a("q-separator")],1)],1),e._m(1),a("div",{staticClass:"form_content"},[a("q-form",{ref:"chengping_form2",staticClass:"q-gutter-md mg-t-20"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n A面直径1\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.aSurfaceDiameterOne,callback:function(t){e.$set(e.form,"aSurfaceDiameterOne",e._n(t))},expression:"form.aSurfaceDiameterOne"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n A面直径2\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.aSurfaceDiameterTwo,callback:function(t){e.$set(e.form,"aSurfaceDiameterTwo",e._n(t))},expression:"form.aSurfaceDiameterTwo"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n A面直径3\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.aSurfaceDiameterThree,callback:function(t){e.$set(e.form,"aSurfaceDiameterThree",e._n(t))},expression:"form.aSurfaceDiameterThree"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n OF边直径\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.aOfSideDiameter,callback:function(t){e.$set(e.form,"aOfSideDiameter",e._n(t))},expression:"form.aOfSideDiameter"}})],1)]),a("q-separator")],1)],1),e._m(2),a("div",{staticClass:"form_content"},[a("q-form",{ref:"chengping_form3",staticClass:"q-gutter-md mg-t-20"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n B面直径1\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.bSurfaceDiameterOne,callback:function(t){e.$set(e.form,"bSurfaceDiameterOne",e._n(t))},expression:"form.bSurfaceDiameterOne"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n B面直径2\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.bSurfaceDiameterTwo,callback:function(t){e.$set(e.form,"bSurfaceDiameterTwo",e._n(t))},expression:"form.bSurfaceDiameterTwo"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n B面直径3\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.bSurfaceDiameterThree,callback:function(t){e.$set(e.form,"bSurfaceDiameterThree",e._n(t))},expression:"form.bSurfaceDiameterThree"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n OF边直径\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.bOfSideDiameter,callback:function(t){e.$set(e.form,"bOfSideDiameter",e._n(t))},expression:"form.bOfSideDiameter"}})],1)]),a("q-separator")],1)],1),e._m(3),a("div",{staticClass:"form_content"},[a("q-form",{ref:"chengping_form4",staticClass:"q-gutter-md mg-t-20"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 中间直径1\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,filled:"",dense:""},model:{value:e.form.intermediateDiameterOne,callback:function(t){e.$set(e.form,"intermediateDiameterOne",e._n(t))},expression:"form.intermediateDiameterOne"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 中间直径2\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,filled:"",dense:""},model:{value:e.form.intermediateDiameterTwo,callback:function(t){e.$set(e.form,"intermediateDiameterTwo",e._n(t))},expression:"form.intermediateDiameterTwo"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 中间直径3\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,filled:"",dense:""},model:{value:e.form.intermediateDiameterOhree,callback:function(t){e.$set(e.form,"intermediateDiameterOhree",e._n(t))},expression:"form.intermediateDiameterOhree"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n OF边直径\n ")]),a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,filled:"",dense:""},model:{value:e.form.intermediateDiameterOfSide,callback:function(t){e.$set(e.form,"intermediateDiameterOfSide",e._n(t))},expression:"form.intermediateDiameterOfSide"}})],1)]),a("q-separator")],1)],1),a("div",{staticClass:"form_content"},[a("q-form",{ref:"chengping_form5",staticClass:"q-gutter-md mg-t-20"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n 圆柱度\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.cylindricityc,callback:function(t){e.$set(e.form,"cylindricityc",t)},expression:"form.cylindricityc"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("\n 真圆度\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.trueRoundness,callback:function(t){e.$set(e.form,"trueRoundness",t)},expression:"form.trueRoundness"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 气泡\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,filled:"",dense:""},model:{value:e.form.bubble,callback:function(t){e.$set(e.form,"bubble",t)},expression:"form.bubble"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 崩边\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,filled:"",dense:""},model:{value:e.form.chipping,callback:function(t){e.$set(e.form,"chipping",t)},expression:"form.chipping"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 pd-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 裂纹\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,filled:"",dense:""},model:{value:e.form.crackle,callback:function(t){e.$set(e.form,"crackle",t)},expression:"form.crackle"}})],1),a("div",{staticClass:"col-md-3 pd-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 云雾黑\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,filled:"",dense:""},model:{value:e.form.cloudBlack,callback:function(t){e.$set(e.form,"cloudBlack",t)},expression:"form.cloudBlack"}})],1),a("div",{staticClass:"col-md-3 pd-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 原客户NG原因\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,filled:"",dense:""},model:{value:e.form.originalCustomerNgReason,callback:function(t){e.$set(e.form,"originalCustomerNgReason",t)},expression:"form.originalCustomerNgReason"}})],1)]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12 pd-r-20"},[a("div",{staticClass:"label",class:{disable:e.disable}},[e._v("\n 备注\n ")]),a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,dense:""},model:{value:e.form.remarks,callback:function(t){e.$set(e.form,"remarks",t)},expression:"form.remarks"}})],1)])])],1)])])])])},i=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"tool-title row flex items-center",staticStyle:{width:"100%"}},[a("div",{staticClass:"tool_left col"},[a("span",{staticClass:"title"},[e._v("数据录入")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"tool-title row flex items-center mg-t-20",staticStyle:{width:"100%"}},[a("div",{staticClass:"tool_left col"},[a("span",{staticClass:"title"},[e._v("A面数据")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"tool-title row flex items-center mg-t-20",staticStyle:{width:"100%"}},[a("div",{staticClass:"tool_left col"},[a("span",{staticClass:"title"},[e._v("B面数据")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"tool-title row flex items-center mg-t-20",staticStyle:{width:"100%"}},[a("div",{staticClass:"tool_left col"},[a("span",{staticClass:"title"},[e._v("晶棒直径(晶棒直径≤90mm时填写)")])])])}],l=(a("ddb0"),{name:"chengping",props:{prodId:{type:Number},stickId:{type:Number},disable:{type:Boolean}},data(){return{form:{flatSideLength:"",aSurfaceDiameterOne:"",aSurfaceDiameterTwo:"",aSurfaceDiameterThree:"",aOfSideDiameter:"",bSurfaceDiameterOne:"",bSurfaceDiameterTwo:"",bSurfaceDiameterThree:"",bOfSideDiameter:"",intermediateDiameterOne:"",intermediateDiameterTwo:"",intermediateDiameterOhree:"",intermediateDiameterOfSide:"",cylindricityc:"",trueRoundness:"",bubble:"",chipping:"",crackle:"",cloudBlack:"",finishedLength:"",weight:"",originalCustomerNgReason:"",remarks:""},checkFormPromiseList:[]}},methods:{getValue(){},checkForm(e){const t=new Promise(((t,a)=>{this.$refs[e].validate().then((e=>{e&&t()}))}));this.checkFormPromiseList.push(t)},submitForm(){this.checkFormPromiseList=[],this.checkForm("chengping_form1"),this.checkForm("chengping_form2"),this.checkForm("chengping_form3"),this.checkForm("chengping_form4"),this.checkForm("chengping_form5"),this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>Promise.all(this.checkFormPromiseList).then((()=>this.$http({url:"/pad/barInspection/passStation",method:"post",data:{...this.form,prodId:this.prodId,stickId:this.stickId,stepId:20}}).then((e=>e)))))).catch((()=>{}))},resetForm(){this.form=this.$options.data().form,this.checkFormPromiseList=[],this.$nextTick((()=>{this.$refs["chengping_form1"].resetValidation(),this.$refs["chengping_form2"].resetValidation(),this.$refs["chengping_form3"].resetValidation(),this.$refs["chengping_form4"].resetValidation(),this.$refs["chengping_form5"].resetValidation()}))}}}),r=l,n=(a("8fcf"),a("2877")),o=a("0378"),d=a("27f9"),c=a("eb85"),m=a("eebe"),f=a.n(m),u=Object(n["a"])(r,s,i,!1,null,"13eb6e1e",null);t["default"]=u.exports;f()(u,"components",{QForm:o["a"],QInput:d["a"],QSeparator:c["a"]})},"84f8":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dataContent"},[a("div",{staticClass:"shadow-box pd-20 mg-t-20"},[a("div",[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"数据录入"}})],1),a("div",[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"平面朝下"}})],1),a("q-form",{ref:"Cxiang_form1"},[a("FormTable",{attrs:{labels:e.underForm.label}},[a("template",{slot:"tbody"},[a("tr",[a("td",[e._v("A面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeDownADegree,callback:function(t){e.$set(e.form,"flatedgeDownADegree",t)},expression:"form.flatedgeDownADegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeDownABranch,callback:function(t){e.$set(e.form,"flatedgeDownABranch",e._n(t))},expression:"form.flatedgeDownABranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeDownASecond,callback:function(t){e.$set(e.form,"flatedgeDownASecond",e._n(t))},expression:"form.flatedgeDownASecond"}})],1)]),a("tr",[a("td",[e._v("B面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeDownBDegree,callback:function(t){e.$set(e.form,"flatedgeDownBDegree",t)},expression:"form.flatedgeDownBDegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeDownBBranch,callback:function(t){e.$set(e.form,"flatedgeDownBBranch",e._n(t))},expression:"form.flatedgeDownBBranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeDownBSecond,callback:function(t){e.$set(e.form,"flatedgeDownBSecond",e._n(t))},expression:"form.flatedgeDownBSecond"}})],1)])])],2)],1),a("div",{staticClass:"mg-t-20"},[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"平面朝上"}})],1),a("q-form",{ref:"Cxiang_form2"},[a("FormTable",{attrs:{labels:e.upForm.label}},[a("template",{slot:"tbody"},[a("tr",[a("td",[e._v("A面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeUpADegree,callback:function(t){e.$set(e.form,"flatedgeUpADegree",t)},expression:"form.flatedgeUpADegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeUpABranch,callback:function(t){e.$set(e.form,"flatedgeUpABranch",e._n(t))},expression:"form.flatedgeUpABranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeUpASecond,callback:function(t){e.$set(e.form,"flatedgeUpASecond",e._n(t))},expression:"form.flatedgeUpASecond"}})],1)]),a("tr",[a("td",[e._v("B面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeUpBDegree,callback:function(t){e.$set(e.form,"flatedgeUpBDegree",t)},expression:"form.flatedgeUpBDegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeUpBBranch,callback:function(t){e.$set(e.form,"flatedgeUpBBranch",e._n(t))},expression:"form.flatedgeUpBBranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeUpBSecond,callback:function(t){e.$set(e.form,"flatedgeUpBSecond",e._n(t))},expression:"form.flatedgeUpBSecond"}})],1)])])],2)],1),a("div",{staticClass:"mg-t-20"},[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"平面朝左"}})],1),a("q-form",{ref:"Cxiang_form3"},[a("FormTable",{attrs:{labels:e.leftForm.label}},[a("template",{slot:"tbody"},[a("tr",[a("td",[e._v("A面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeLeftADegree,callback:function(t){e.$set(e.form,"flatedgeLeftADegree",t)},expression:"form.flatedgeLeftADegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeLeftABranch,callback:function(t){e.$set(e.form,"flatedgeLeftABranch",e._n(t))},expression:"form.flatedgeLeftABranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeLeftASecond,callback:function(t){e.$set(e.form,"flatedgeLeftASecond",e._n(t))},expression:"form.flatedgeLeftASecond"}})],1)]),a("tr",[a("td",[e._v("B面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeLeftBDegree,callback:function(t){e.$set(e.form,"flatedgeLeftBDegree",t)},expression:"form.flatedgeLeftBDegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeLeftBBranch,callback:function(t){e.$set(e.form,"flatedgeLeftBBranch",e._n(t))},expression:"form.flatedgeLeftBBranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeLeftBSecond,callback:function(t){e.$set(e.form,"flatedgeLeftBSecond",e._n(t))},expression:"form.flatedgeLeftBSecond"}})],1)])])],2)],1),a("div",{staticClass:"mg-t-20"},[a("common-title",{staticStyle:{padding:"10px 0"},attrs:{needIcon:!1,title:"平面朝右"}})],1),a("q-form",{ref:"Cxiang_form4"},[a("FormTable",{attrs:{labels:e.rightForm.label}},[a("template",{slot:"tbody"},[a("tr",[a("td",[e._v("A面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeRightADegree,callback:function(t){e.$set(e.form,"flatedgeRightADegree",t)},expression:"form.flatedgeRightADegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeRightABranch,callback:function(t){e.$set(e.form,"flatedgeRightABranch",e._n(t))},expression:"form.flatedgeRightABranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeRightASecond,callback:function(t){e.$set(e.form,"flatedgeRightASecond",e._n(t))},expression:"form.flatedgeRightASecond"}})],1)]),a("tr",[a("td",[e._v("B面")]),a("td",[a("q-input",{attrs:{placeholder:"请输入",disable:e.disable,rules:[function(e){return""!==e}],filled:"",dense:""},model:{value:e.form.flatedgeRightBDegree,callback:function(t){e.$set(e.form,"flatedgeRightBDegree",t)},expression:"form.flatedgeRightBDegree"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeRightBBranch,callback:function(t){e.$set(e.form,"flatedgeRightBBranch",e._n(t))},expression:"form.flatedgeRightBBranch"}})],1),a("td",[a("q-input",{attrs:{placeholder:"请输入",type:"number",disable:e.disable,rules:[function(e){return""!==e&&e<60&&e>0}],filled:"",dense:""},model:{value:e.form.flatedgeRightBSecond,callback:function(t){e.$set(e.form,"flatedgeRightBSecond",e._n(t))},expression:"form.flatedgeRightBSecond"}})],1)])])],2)],1)],1)])},i=[],l=(a("ddb0"),a("6e23")),r=a("9951"),n={name:"Cxiang",props:{prodId:{type:Number},stickId:{type:Number},disable:{type:Boolean}},components:{FormTable:l["default"],CommonTitle:r["default"]},data(){return{underForm:{label:["",{width:"350px",name:"度"},{width:"350px",name:"分"},{width:"350px",name:"秒"}]},upForm:{label:["",{width:"350px",name:"度"},{width:"350px",name:"分"},{width:"350px",name:"秒"}]},leftForm:{label:["",{width:"350px",name:"度"},{width:"350px",name:"分"},{width:"350px",name:"秒"}]},rightForm:{label:["",{width:"350px",name:"度"},{width:"350px",name:"分"},{width:"350px",name:"秒"}]},form:{flatedgeDownABranch:"",flatedgeDownADegree:"",flatedgeDownASecond:"",flatedgeDownBBranch:"",flatedgeDownBDegree:"",flatedgeDownBSecond:"",flatedgeLeftABranch:"",flatedgeLeftADegree:"",flatedgeLeftASecond:"",flatedgeLeftBBranch:"",flatedgeLeftBDegree:"",flatedgeLeftBSecond:"",flatedgeRightABranch:"",flatedgeRightADegree:"",flatedgeRightASecond:"",flatedgeRightBBranch:"",flatedgeRightBDegree:"",flatedgeRightBSecond:"",flatedgeUpABranch:"",flatedgeUpADegree:"",flatedgeUpASecond:"",flatedgeUpBBranch:"",flatedgeUpBDegree:"",flatedgeUpBSecond:""},checkFormPromiseList:[]}},methods:{getValue(){this.form.flatedgeDownADegree="20",this.form.flatedgeDownBDegree="20",this.form.flatedgeLeftADegree="20",this.form.flatedgeLeftBDegree="20",this.form.flatedgeRightADegree="20",this.form.flatedgeRightBDegree="20",this.form.flatedgeUpADegree="20",this.form.flatedgeUpBDegree="20"},checkForm(e){const t=new Promise(((t,a)=>{this.$refs[e].validate().then((e=>{e&&t()}))}));this.checkFormPromiseList.push(t)},submitForm(){this.checkFormPromiseList=[],this.checkForm("Cxiang_form1"),this.checkForm("Cxiang_form2"),this.checkForm("Cxiang_form3"),this.checkForm("Cxiang_form4"),this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>Promise.all(this.checkFormPromiseList).then((()=>this.$http({url:"/pad/barInspection/passCDirection",method:"post",data:{...this.form,prodId:this.prodId,stickId:this.stickId,stepId:19}}).then((e=>e)))))).catch((()=>{}))},resetForm(){this.form=this.$options.data().form,this.checkFormPromiseList=[],this.$nextTick((()=>{this.$refs["Cxiang_form1"].resetValidation(),this.$refs["Cxiang_form2"].resetValidation(),this.$refs["Cxiang_form3"].resetValidation(),this.$refs["Cxiang_form4"].resetValidation()}))}}},o=n,d=(a("c9ce"),a("2877")),c=a("0378"),m=a("27f9"),f=a("eebe"),u=a.n(f),p=Object(d["a"])(o,s,i,!1,null,"14af2096",null);t["default"]=p.exports;u()(p,"components",{QForm:c["a"],QInput:m["a"]})},8637:function(e,t,a){},"8a47":function(e,t,a){},"8b2c":function(e,t,a){"use strict";a("6d2c")},"8e33":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header row items-center justify-between"},[e._m(0),a("div",{staticClass:"col text-right col-auto"},[a("div",{staticClass:"icon"},[a("q-icon",{attrs:{name:"fas fa-duotone fa-circle-user"}}),a("span",{staticClass:"user_name"},[e._v(e._s(e.userName))])],1),a("div",{staticClass:"icon",on:{click:e.logout}},[a("q-icon",{attrs:{name:"app:icon-a-tubiaotc"}})],1)])])},i=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"col-auto"},[s("div",{staticClass:"logo"},[s("img",{attrs:{src:a("9d64"),alt:""}}),s("div",{staticClass:"title"},[e._v("智能制造执行系统")])])])}],l={name:"",data(){return{}},computed:{userName(){return this.$store.state.user.userInfo.name}},methods:{scan(){cloudSky.zBar.scan({text_title:"扫码",text_instructions:"请把相机对准二维码",camera:"red",flash:"auto",drawSight:!0},(function(e){console.log(e,"success")}),(function(e){console.log(e,"error")}))},logout(){console.log(this.$confirm,"myConfirm"),this.$confirm({title:"提示",message:"您确定要退出登录吗?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>{sessionStorage.removeItem("token"),sessionStorage.removeItem("userName"),localStorage.clear(),location.reload()})).catch((()=>{console.log("no")}))}}},r=l,n=(a("58af"),a("2877")),o=a("0016"),d=a("eebe"),c=a.n(d),m=Object(n["a"])(r,s,i,!1,null,"4ff4dd64",null);t["default"]=m.exports;c()(m,"components",{QIcon:o["a"]})},"8fcf":function(e,t,a){"use strict";a("562d")},"9c7c":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"body_style common-form"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight",on:{reset:e.resetForm}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("检验结果")]),a("q-select",{attrs:{placeholder:"请选择",rules:[function(e){return null!==e&&""!==e}],"emit-value":"",clearable:"",disable:e.disable,options:e.checkResultList,filled:"",dense:""},model:{value:e.form.checkResult,callback:function(t){e.$set(e.form,"checkResult",t)},expression:"form.checkResult"}})],1)])])],1)],2)],1)},i=[],l=a("30d4"),r={name:"chuizhidu",props:{prodId:{type:Number},stickId:{type:Number},disable:{type:Boolean}},components:{opticsTitleCrad:l["default"]},data(){return{form:{checkResult:""},checkResultList:[{label:"NG",value:"NG"},{label:"OK",value:"OK"}]}},methods:{getValue(){this.form.checkResult="OK"},submitForm(){return this.$refs.form.validate().then((e=>{if(!e)return new Promise(((e,t)=>{t("数据不完整")}));this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>this.$http({url:"/pad/barInspection/passVertical",method:"post",data:{...this.form,prodId:this.prodId,stickId:this.stickId,stepId:17}}).then((e=>e)))).catch((()=>{}))}))},resetForm(){this.form=this.$options.data().form,this.$nextTick((()=>{this.$refs.form.resetValidation()}))}}},n=r,o=(a("5e31"),a("2877")),d=a("0378"),c=a("ddd8"),m=a("eebe"),f=a.n(m),u=Object(o["a"])(n,s,i,!1,null,"21363513",null);t["default"]=u.exports;f()(u,"components",{QForm:d["a"],QSelect:c["a"]})},"9d48":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"body_style common-form"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio"},[e._v("检验结果")]),a("q-select",{attrs:{placeholder:"请输入",filled:"",dense:""}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio"},[e._v("入库类型")]),a("q-select",{attrs:{placeholder:"请选择",filled:"",dense:""}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label"},[e._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",dense:""}})],1)])])],1)],2)],1)},i=[],l=a("30d4"),r={name:"jingdingpanding",components:{opticsTitleCrad:l["default"]}},n=r,o=(a("f0e2"),a("2877")),d=a("0378"),c=a("ddd8"),m=a("27f9"),f=a("eebe"),u=a.n(f),p=Object(o["a"])(n,s,i,!1,null,"402cbb54",null);t["default"]=p.exports;u()(p,"components",{QForm:d["a"],QSelect:c["a"],QInput:m["a"]})},"9d64":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAABCCAYAAAD5RCIjAAAAAXNSR0IArs4c6QAAHMlJREFUeF7tXXl4HMWxr+rZlWQbbOMDg7S7knZnxBkwN4bwwEBISMh7QB4QwoMACQQSwhFICMcDAy+PcMQcJgkxMUcg5AVCuAkQgrnNfSTYgGZWWu2ujLHByJdkaXe63lezK0e2dnd6ZmclvqD+vv1rq6ura6Z6uqurfoUwAs3U9Yl1AFFNiN1Byp0JsQ0AWhBgSwCYCAB1ACABsRcAVgJANwF0oJRLbMTXRV/fkkg2uwwB7BEQd2yIMQ2U1ADWSi+ZSKRJ1tcfhogHCiH2ZOPwPRZRHyC+KYkWCSn/siyZfH53gJxvfmMdxzTgQwOBGktnS0uDCIcP1gBOB4ADAHG8D5kqdyHiL1BGEt1l53K/bU2lUoGPMcZwTAMlNBCIsbCRaOHwiQLgVEDcZQQ1vUYS/Rnz+bnRzs6/j+C4Y0N9DjVQlbEsBAglEonDhBBXAuK2geqPaA0BLEeAJUTURYirkEgDgOmAmACAhHPmQawHgH4CuAt6ey+NZrPdgcoxxmxMA0UN+DaWrlgsLurrr0GAIwDRN5/BJ0EAOQR4jYheFETP5wcGFsfS6U4EoFJP612AugmGsX2IaHdEPBQQvwQAa4HosibT/O2YM2DsHWcNdLa0TNZCoako5XgMhYQtZR4B1udte+3Kzs6VXs6+vl7y7kTim6RpNwHA1AAeSbst5e0IcE/UslJ+X3IrkdiyHuBoFOL7BJDM53KntKZSywKQz5VFKpGYHUI80ZVQkYCI3o0mk9dCmYVCkY0SGQFgqqVlhgiF9tAQ9yCibQFxBiJOAqIJgBguMuKv92ogWg4ASZDyH0D0MgwMWNFstk9psBoTdcViW2ih0K5SiAMFIjuVtiGASQgQJkSt+LITFM69NhGxk4i9r3zuXYxErxPRoo+Sya5SRuTJWDKRyDgcN+5/EfEMAghVM3cieoUAbsC+vgeCVLap6/UNiN8AgCOB6KaoZT1TjZwqfdO6fo4QYq4KrQoNSfnEAsv66hx2p9eovTt9+mYTJ0/+T0Q8BgG+CACbeR6KiL/670uix4Vt3xHp7HzHM48qO/B7mI3HD0EhjgHEL7OhV8kyTwBvg5SPDEj5h0RHR/sgP2Vj4c9ZOBy+p7jd8S8P0QpbyotjyeRtWEP3L2/TJiYSX5UAy5uTyUXltnP+J/LPnmnDuFggXhEEL+ZRS2NhvUzS9RNQiIuqcudvOlmiXkn0k5hl/TIoPVTi4yyKAEcB4vkIsB0g8nk20IZEqyXAzxaY5rW8cCkZS2dLy1bhuro/AcC+VUlD9KjI53/Q2NnZVRUfD53fnzZt820+/rjX7/ZOZaiMYfwcEc9XoVWhqZWxpHWdnSLzUIhDVeTwSkNEq4hot5hlJb329UKfSiQODCFeDkJU9z6qDZqXUp7Ni4CrsSxLJLbMCfEYIu6mxrsEFe8Ria5rqqu7EJcsGfDN57PZETO6fiMKcUZQ4tXCWFKJxD4hTbsXABqDknMYHyJpS3laczJ5Sy3GWDZjxoT85ptfTkKcgYWoj5FpfE7TtO0rGosj3MSJDwDiwX6lQoC8bds/jSaTc2u5FfIrXwD92FjmoxDfDYCXwyJoY8m0tu6JodBDAeznK0+RnHZV1LIuCEoXg3zS0WgCGxpuQ8T9gubtyo/ItgG+UtZYCEBkdP02IcQJrszKERQOgJdETPN/fPModmSvzeLp0yeM32yzqULTGhFxqrDtOkKUAmCVjbhc6+tb1tPdvWZHgBH7erFcWcO4CxG/Ve0cB/sHaSzdiUSUNO15AGgOSr6yfGpkLOlEYkchxGOAGK35HEoNQESS6IiyxpJuaztXEF0NiMKvgCTlTQss6yy/Xh32dGTa2mahlLMF4j4ScScE2LqCba5HgPcB4C0gWkjr1z9d60vKOQDiO7p+HwpxuF89bdovKGN5HSA8wzB4NT4uKNkq8iGSkujMIA/5KV3fJSTEwwDQNCJzKG0s/YC4V0ljycTjX0BNe7mq2C52Dff1zfbjFs42NU21x407XiCegoUIZV9uaj5wAsAjADBvkWm+fnQNopbvAdBmGQaf6Q4J6mEGZSxd8fjBWij0F7/68zofIuqzifZtsay3vPYtRe98FYV4cdS+KIO7GqK/WaY5fBtWvKd4FhH38j1hoo9JylnRZNLywiMTiUyh+vrvCyF+CIgcvh9MYwcDwKPStq+IdXS8FgzTAhc2ln0M4yZA3KYSXyTajRA5HcG1BWEsVRjxOg4vQoAPEZFDjnJEhARQjwCbA+JUJNoKAKZtFLlBxOkTP4+Y5sWuE1QgMKdMmThu6tRHAZHvgEatSaL3qL//sOZ0umPYlyVjGGch4vW+pSMiW8qTmpPJO1R5OPv+ROJw1DS+2PMfyu8+IL8IF0RNc547qScK1mPJsBzm4lyc6foi5HwehRaEsSTjcaMuFHpX1WtEREtAyovDAC/22fbq1lRqfSlRTYD6ulhsfJ0Qk2whEoS4HSKGkejVW5LJRX633EPH4vdhqWFcT4hnKqhrYxI+JyOuJKKFAPAqEnVJgP4NREQoEEOEWAdE43gBkERThBAzCDGGRDogbgFEK0jKh3JSzo13dn7E/TcyFt7+wPjxS6pZ1QngAau9/ajZAHmViS5ta5tmE12FACdWcz5SGcuhcc5qdFnEsq4YKe/caBhLWtf5C610QUgAH0Jv7x61Pt+pPqNUInGopmkPqBr6IF8iykiAX0B//++a0+lPVcdTpdvIWNKG8d+CL3v8NqLegXx+n7hi2EMmHjdA0+5FxJ39DumrX8FgLoxa1lW++nvsNNLGwk6Hkw3jVoH4bVdRCx7LOyKmeZIr7QgQvDNjxoQpEyc+hYh7Kw9X8MIt7Cc6UU8mM8r9PBJuMJb3mpqmbl7tV4XoxqhpnqUiQzaRmE2a9vtK3i0VPpvSEFEvICaBaCkiriYp2UNGIEQDEB3Ee+7i1mgAib4RMU12ANS0jbSxcOqE0db2LADs4zoxvkgEOKfZNG90pR0BgrSunyyEWKA8FB+oAB7QVq8+fquPPlqn3M8H4QZjyRjGDxHRt8KIaDWtX79dLJNZ6iZHVzz+RaFpjziRrdU2IpsQkyjlw7aUj5NtLybETzfdc3e0tu5cFwo9CxuPubQ/n5+V6OhIVytGpf4jbSzOeIbxFiLu6Dqvwq376c3J5HxX2hoTcBJhOBx+ExC3Ux6K6B2BeHBje/vHyn18EjrGwiuRrutvohBf8MkHiOiGqGme7dY/HY/vITSNvRzT3Wgr/k/Ux+cjAXBro2k+jRUidJ1o6fHj/zostq2wBbm/yTSPqtS/KjlH4YDvGEtb25sI4P48Cxdu18Us69xq51lt/y5dP1pD/IOHs+s6kc8f0NjR8Xq1Y6v0d4ylO5HYlzSNvQeDuQsqfYfSDIj+/pmNXV3vVeqYjMdj9XybjBjzOsAGet6dIi4K5fNnb63oBs4axsVQJiqYXaM20REtpvmob5lcOo7Cl0XLGsZC1dAQIrLCq1fPrPU2ppKaHFe3rj+KQnxZ6TkUjPzmmGV9X4k+ACLHWDK6fikKMcc3P6K3m0xzt0qrM98mb2UY9wPi1/yOU/T5Xx41TfaeKaG7pHR9Vw3xBUQcV25cSfTQy6Z5ZC0uLXnMkTYWJ6qgrW0+AnxHSde8AAHcks/lzirnMlbiUwVRqrl5a62ubgkiTlZiQ9SL+fyuTZ2dHyjRB0CExcsr9j4c4JcfEZ0fNc2rK/VPG8ZFArGaGLE1KOXxTZb1oKqcSxsbx9sTJrziuncnWg/5/N61Sl4aaWNh/XQlEqdqmvYbVV3xPpoQ34CBgTMWpFKvBXFfojw2AKQTicOFpt2v2oekXBixrINGyv3PcqGTjiuEiYq3y8MmwxGZUu7VnEy+UW6iS5ubt5P19a/6ysYbZCrlOSAEbxVBkzK3tWUtcVNsRtfnoBCXutE5LwrRFVHLcqd1ZTacYDSMxYnSHTduide7CijcxD+KUl7dmEy+XMs8oCGa4mDUXwIiQ2i5t0IM2g9jlvUrd+LgKDi8fH8Uwn/qLdEK0zQby11CcvRytq3trwhwYGBiE70QMc2KodpdicS+QtP44K+W96DA06/8o2EsxTCcB31vewtG844EuGn5unV/3H3pUkYLrUkjgLqsYTyPhbx598ZZmVLuFUsm33UnDo4Cs7rOK3Y1+eMLI+3tZQ2B3cSapj0TZNqnLeWFzZZ1ZTk1JOPxSXWa9iIi7qCsKqLluVyuuRZ79tEwFp53RtcPACGeZMAGZT2UJkyRlDfn8/k7agECUnxeadXdDREtjZhmbIS+ehs0gpm2NoYNUjsIllAkSnlLk2WdWuZhYNownhAFmKJgGpEUiDs0trdzKH7JljWM6wFR6XJ0AwO+zLTtXSJDAAqCEXjkD/iDchc9TDcHlZhWTBv+k53PX9uaSpXVv1e9pZqbtwvV1S1WhdQiKZ+OWtZBXseplh6zbW1PAYD/gYl+Vi7StEvXtw8J8U61SDBDJ0lEr0ZMc1/OwCw1+eK28ski2LiyfoqetoNjpvmccidFwtH6srB4RfwE3mZXjIpWnEqBrABO8RsaGLgiiBistK4fIoR4QlkGottHIzyHD1YcOKl+Y7rJjCTRJTHTLIlskk0kLgJNq8YDNkx/ZNunRsvkeBdDdl4pIlYq6774AtgEcEzUNO/z1tGdejSNhaVzgCoQ/4qIre7SeqLokrnc8bHOTs7E9N1Sun5cSIi7VBkQ0TVR0/yJKn0pOo5szsTjuwFixI0PCZFfEw4/yV8Whjv1DWJAUl4ataySwZcZXf8bChHYwZ6IetYTtRmWtaLEBLHbb1h3YbVkUI0TI5Z1p5vyvP4/2sbC8nLQKjJgRdBBq0TrbKKTmy3rHq96GaTvSiS+p2nazar9Sco5Ucu6TJW+FJ0DPazrdwnGG3Nva0GIFj6zfIIAU9zpy1BIOTdSJlQiYxgWFnCJA2lUIVAzk0h8BTTtId+HWXZHAnwnZpq3ByLsECafBWNhcVZMm7Z5/+TJlwIn16l6CVWUQdQniY6NebgDG8o2k0icgZqmnGNUaTejIi7T+DKWrGGsAMRpqoOUoLsn0t4+zDqLrsuOqkJbNh5s7UAut2O8BOaYA9vZ0PBmVYljnwNjGVSng/YSDs8hogOxAKxefSNK5wcG9m7p6vrQK7Osrp8OQijfmZCUl1d7J+bXWLqqeaE5wy5qmiVdtFnDMAFR96q8UvSVVpOMYdyNiMdWNU4hx+WEqGX9vio+JTp/Vr4sm4rW0dq6U10o9CNijOgK4UBK+ijEat0es6yTleiHEKUN40SBeJuHftdF2tt/5IF+GKlfY+GQaN81VYioP5/LtZTyv2cN48mq4V55mkTJup6emVuuWLF201lnDYNjzfjyTQOiHgJYiQA9XIYCADgebCohbuW6PStcwh1ei/yWz6qxDOoy1dzcGgqHzyPEbynHZpV6U4nW9Nv27kPxgVVe6EwicQRq2p9VaJ3XQcq7opZ1vCp9KTq/xsLga1/3PXAh5/7E5mTyd5vy8LoXLSkD0XqZzx9SyuPC2y9RX/9Lzv/OAzxbJ0Rmfnv7yqFxTQ7msa5HBcC/gxCc010yx5+Nnmx7v6ABLZyHW8gveVkV1TOIHHw/z7OjtXVGWNO+B0Kc5ispj98FosubLctTUK6DlinEC8r3LETPRU1zfz9zHOzj11iuA0TXPJRKghHA49H29mH4uR/q+nQb8QMHAMBP4y87wDnRMll87P5jtqrBdFwIth7gMsFACJvioRGtqcvl2rasQZmKorG8rpo+PVrGMviInBt1IU4DxPPQ43mWSzZETZMxiMsCeGz6KliJRLRBiJRqHgvf4C8yzVg1UeK+jKXbME4ixFv9vMuDfRgvKp/LbV+qvqMX4ISNZOA9MMDPoqZ5iaoxqM4hYxhnIgAvEhsABImoI2qagXnuhspSTE/4u2p1tNE2lkHZ+UIzVFd3MwL8h6puiejD4rvAW2GlxjDBuUmTTOWvGVGvTbRns2UtVhqgBJEvY3HSbcPht/0OOthPSjm3VLYdr6rdun43CHGU6hi8JQKiSyOWdXXQhjIoQ0bXGU1+A5g3Ed0fNc0jVWX0Qlc0FvYMul6AOds2Kf8Ssayv1WruXmRn/K6GqVOfU/0qAtF6lLKtyQNwhIMZYBiPA6JaJEkh6viUmGX5XuR9GUsRzOzdqlH/iHrJtmdGOzrMTR8GA/fVA1wqhODU1YpRwFz1Kg/w3VbTfMXLQ/VK69w5bLEFzzvGIfog5Y8jyeQvvPJRoXd0PG1aJyjeZ5GUD0Qt6wgV3iNB05VInKAJcbvKmYLDhrSBgZ0aPcaOZXT95yiEctkOInoyappqWZVBfVmYT8Yw7kPE6ldVokeaTPPwctGgnH+Pmna+APgiFRAN2YPF55JVCPAOEf02n8/fV4vI31IvVTaROBeEuIYQ87aUe7dYFt/VBN66YrEdNM7nUSx1TlLeGbUs/4DsAc8g29q6M4TDnOfuCqPLxgL5/G7Rjo5/eBGjCDXLOAlKjYM6hZRf8PIFG8rY15eFGaQN4zSB+GslKSsRFV58RnysmDXpYENNmNDIiIACoD9v28uDCMjzKn8xlZVxA1LQ1zfLDy6zyphdun6UhvhHlZXZ4Ud0fcQ0z1HhPRI0yXi8rYhuqRLqP0C2vYNX6F7PUFyFVOhr/caI+TcWXU8IIbge4IQAlD8gpTy9mv1kORkIQFum61P6czmG3+xrSaX4i6TsddmUL/PrNowngOjtiGWdF8DcS7HgnKFfgBBqL38hRu28iGVdVyN5PLPtaG3dsy4UekkpJ4loVS6X29Zr3ouTJGgY92ChHqhSY/gtSTSrWSFrdlOGvo2FGWV0/bGgyqc54e5Szuvt6Zmz7ccfr1GauQtRRtePE4inEuKORMSXjZ8AoklSLiKAu/16RjK6fgkhPlOL0Hye0tLGxmlywgSuSKDmaeM0baIjmi2Lyyx8JlrWMLgS861KX0ai93pMc6afGjmpePyrIU3jez/1+pBEi9b09n59u+7uT7woqzpjSSQORU17zMuAbrTsjpVE84QQ90bb2zm62VfLGsZpAMA52qVrxbArUcqz/ZRn4/NELJ1+rxa4Yc6XS9dvBCG8wPWsJNvey+s2xpdiFTo5CWRtbQ8jgHsdygKWAd+u+zpvEUC42zB4YdlVQbQCSWE79tiAbR+X6OjgEiNKrSpjcarYGgYjocxUGs0bEZcueBGlfE4CvIHr1y+OZLNLeQvFD+MoAIbgLFnGukvXdxCInCJcGb2ygLM8O97ZycAYo946W1q2DYfDPwWAE5RW5KLERPRyMbmtZmW9vSgnU1hEGXVFJeCSMdiObK4CEtfz+e6fBvMq2fYZMUXAPV7Isrr+B1S70iiE6A9VnBOjI8R9Xh6uF8UXVwJ+CbicwTpCXItEPf22PbvUqlCE83waEGcpjUN0W8Q0PQfyqfAulsX4AQhxdEV6RA2JtiSAqOeI3sIq+VM3B4mKvNXSvBSJjIs0NByLiHNdF6rBwYjeawqHZ1ZTZJdLWowzjId9xRQWUUrzRPOllG+VeqeWT5++We+kSUYIkVPhvw1qAaTDjaX4dXlJNYap2gdSXBTOjprmDaV48XkCEeeoGi8BdGpr1+7YWAMkEudyta2NXcvukKh+FUO0Nj8wsFNLVxffyfhtmNb1LyHiCQjABaG4lvvbaNtvakSL53d2Zsphgjll9Vpbd4FQ6AAEOMbjdoijtk+NWpY6qHeZGToQv6HQ076hswqLTjeXTJREfLbtK6L8MCi87iPHarixsOycwy6EeCrIvPlyT52Ins/ncoeUuldhv7vQtIcRsUH5rSGyxbp1WzUuXRo4SDSveA2GsdiHotXEL4S43xmzLPcyEWU48tevW9cvACE4i3DjO5ECrnMfVxaQRAyEvgKJ1gJyUS8YT4iNSNRcjONzvU8ZJgLRy7lcbnZAd2TsQTwLEOeqLpRqSvZNVdpYmF3WMH6lDHjmd3yij/pte79EiRv/rlgsrtXXPweI3opuEpFGNGPr0mnHfiV1+hXhehhe1HcKdiUBHDdof/+s5nTaFTywHJ8i6DpXCigLVVuVEsp3Xge2/fVIMumAIAbRiiFC8wDxe0Hwq5JHeWPhF6Ne0zjPJV7lICW7c+yXsO3Dmjo6GFlmo1Ycmx+49wJHRCvqP/00MT0gd/VQwYooKRy45z8Fu8InlgAYhEE53KMEK4adukIgXlSLZ1aWp+JFtB+Z+NwUbWi4O8hK0H7kAKJP6np6Nj7gD2VUBNR+CL2u7m7SMK6wlKdFStSc5AN9KBzmrEdfcVFI9GSjaR5aCzewkyBVwLYKfNUmomdX9fQctmOJ5DY3dQ7+71zqBVxi3HXsQmHb+U2meUatAO/enT59s8mTJ3OBW9/bU9d5VCYYIKL/jpjmNSVLew/27W5t3YZCoQdUQ8vdhCqW2j45aprDsuIc50Jb2wIE+C83PmX/l/KciGX5Lx5bYeCuWGx7rb6eAy8r6syz7ER/z+VyX/Z6473pOM55xTAWAOLIlLvjMxDRnT2WdYqfC0gveipmmnLZkPM9nWG9DDJMoc4hr5OkPDeWTDIYPV9vVG7O9iMc5tyPb7rRVvrfiSbO5b7bmkoNiybmy6isrv+qKuRELife1zezVkVEix6a4O5wClV1XxrI5Y4rBcLhR9fp1tb9RDjMde+DCFuqJMI6kvLa9QBXGpb1z0rAfoT20KdT1/cPI14DiHt46OadlCsVE/0a+/pujAyJDHA1Fh6pWJbicIF4DQF4BWpbC0Q3rP3006tKhb4U71J+DYgcUuG7SSmvjFnWhb4ZuHTsMowvaYiMdFl1I96KAswLr159WdAFhLjSb4ixqxG3rVrQTRhwGBMSPStt+wLVy7+gZeAqbrK+/nhNiB8HBYbiyFjwFmaIaIGdy91SCqVGyVgGJ7xim20275fyOADg36yKMTxEaUl0b07K+eUADDKRyBRoaFhQ7QGOAJaFpNypFl6wwblnDIPBHKpCfiliBT8IUt5Ui1z/QVmds18o9A1EPBwA9gPEGb5f2sIXsEsSMbzq3bWKofMqn3NpOm4cp4Nw4OVBvoA2inMDXgCI7q9bs+apSouXJ2MZnBDvITvi8XgIcX+BuDMibs1lAwBgDRC1A8Az63p63qgURFkMB/k/X16voZotROkeG6kCEVHlQTklLITgUnquJSycSGhEPvwOANFHBPAmSvlUPp9/wg+ulop85WjYuxgGMJARfIRowwJgR9QxIKLNivdpg1gGBZkRl4OU7xOHJgE817Nq1T+qcT5UI79K3w8aG6eNb2jYE4T4NyzElXHQ6haAGAKiwaBMRu/pB8QPgWixJHqNHStrVq/+QHVuvoxFZQKVaLK6fnQRVM0ps11Ns4muaS64XH2H6quOz+c3LRRyPQ8QIgnE/vzAwCcBXdKpiuiJjj1oHzY2NvQ1NIQnC0H9vb35WkQ/eBIqIGLertWHQpN6icbVCSF7hejLJJMry9URUhl2RI2ls6VlcigUuloIcVLVEQKMugNwbcQ0L6qV21JFgWM0nx8NjJixMBYxCsFetaoPnlTY3vw4Yprzqkn++vw85rGZBqGBmhuLs5+cMOEqROT7E9f9vuukiD4FotNqfUZxlWOM4HOngZoZi+MSDoVOAsQLVSGA3LSPRE+QbZ9Zi+pcbmOP/T+mgZoYSzFs5QYshCioJA2VfxIFDOL3gOiyZZb14O6MHjLWxjQwChqoibEMzoML6ICmzQaA/bkWPRFto5IQVbz8WkxEL0jEhzpMc2E1XoxR0OvYkP+CGqipsQzVV3FbNk3adqsWCumSKDZYtk0SdSPiKpRyGSF2DUjZKYX4aCRDKf4Fn+3YlALWwP8DzN7RMRSM1gYAAAAASUVORK5CYII="},a648:function(e,t,a){},a9e9:function(e,t,a){},b181:function(e,t,a){"use strict";a("6142")},bc43:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"body_style common-form"},[a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight",on:{reset:e.resetForm}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-4 pd-r-20"},[a("div",{staticClass:"label radio",class:{disable:e.disable}},[e._v("检验结果")]),a("q-select",{attrs:{placeholder:"请选择",rules:[function(e){return null!==e&&""!==e}],"emit-value":"",clearable:"",disable:e.disable,options:e.checkResultList,filled:"",dense:""},model:{value:e.form.checkResult,callback:function(t){e.$set(e.form,"checkResult",t)},expression:"form.checkResult"}})],1)])])],1)],2)],1)},i=[],l=a("30d4"),r={name:"jingjie",props:{prodId:{type:Number},stickId:{type:Number},disable:{type:Boolean}},components:{opticsTitleCrad:l["default"]},data(){return{form:{checkResult:""},checkResultList:[{label:"NG",value:"NG"},{label:"OK",value:"OK"}]}},watch:{},methods:{getValue(){this.form.checkResult="OK"},submitForm(){return this.$refs.form.validate().then((e=>{if(!e)return new Promise(((e,t)=>{t("数据不完整")}));this.$confirm({title:"提示",message:"是否过站?",btn:{okText:"确定",cancelText:"取消"}}).then((()=>this.$http({url:"/pad/barInspection/passGrainBoundary",method:"post",data:{...this.form,prodId:this.prodId,stickId:this.stickId,stepId:13}}))).catch((()=>{}))}))},resetForm(){this.form=this.$options.data().form,this.$nextTick((()=>{this.$refs.form.resetValidation()}))}}},n=r,o=(a("b181"),a("2877")),d=a("0378"),c=a("ddd8"),m=a("eebe"),f=a.n(m),u=Object(o["a"])(n,s,i,!1,null,"35922b75",null);t["default"]=u.exports;f()(u,"components",{QForm:d["a"],QSelect:c["a"]})},c304:function(e,t,a){"use strict";a("7e62")},c9ce:function(e,t,a){"use strict";a("d5e5")},c9da:function(e,t,a){},d5e5:function(e,t,a){},d6f4:function(e,t,a){"use strict";a.r(t),t["default"]={data(){return{name:"",currentBatchNum:null,batchNumList:[],tab:0,stepId:null,category:{processId:null,steps:[]},allList:[],sidebarList:[],screenList:[],scanNum:0,queryPadRecord:{processId:-1,stepId:-1,batchNum:null,boxNum:null,deviceId:null,plateNum:null}}},computed:{noBatchNum(){return!this.currentBatchNum}},watch:{currentBatchNum(e,t){this.getBatchNum(e)}},methods:{getBatchNum(e){if(this.scanNum=0,""===e)return;this.queryPadRecord.batchNum=e;let t=[];t=this.allList.filter((t=>t.batchNum===e)),this.screenList=t,this.scanNum=this.screenList[0].inflowNum,this.stepId=this.queryPadRecord.stepId},getStepByProcessName(){return this.$http.get("/padProdRecord/getStepByProcessName/"+this.name).then((e=>{this.category=e.result,this.queryPadRecord.processId=e.result.processId,this.queryPadRecord.stepId=e.result.steps[0].id}))},loadPadRecord(){this.$http({url:"/padProdRecord/query",timeout:3e4,method:"get",params:{...this.queryPadRecord}}).then((e=>{this.allList=e.result,this.sidebarList=e.result,this.batchNumList=e.result.map((e=>e.batchNum)),this.stepId=this.queryPadRecord.stepId}))},getDeviceList(){this.$store.dispatch("getDeviceIdList",this.queryPadRecord.processId)},getQualityList(){this.$store.dispatch("getQualityList",this.queryPadRecord.processId)},beforeClearData(){console.log("beforeClearData")},clearData(){"cacheMap"in this.$options.data()&&(this.cacheMap=this.$options.data().cacheMap),this.beforeClearData(),this.allList=[],this.batchNumList=[],this.screenList=[],this.queryPadRecord.batchNum=""}},async mounted(){let e=this.$refs.container;console.log(e),"object"==typeof e?(this.name=this.$refs.container.name,await this.getStepByProcessName(),this.loadPadRecord()):this.$message.error("初始化失败")}}},ee72:function(e,t,a){"use strict";a("a648")},f0e2:function(e,t,a){"use strict";a("fa06")},f189:function(e,t,a){"use strict";a("a9e9")},f98c:function(e,t,a){"use strict";a("c9da")},fa06:function(e,t,a){}}]); \ No newline at end of file diff --git a/www/js/vendor.js b/www/js/vendor.js new file mode 100644 index 0000000..f52d9d2 --- /dev/null +++ b/www/js/vendor.js @@ -0,0 +1,28 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{"0016":function(t,e,n){"use strict";n("ddb0");var i=n("2b0e"),r=n("6642"),o=n("e2fa"),s=n("87e8"),a=n("dde5");const c="0 0 24 24",l=t=>t,u=t=>`ionicons ${t}`,d={"mdi-":t=>`mdi ${t}`,"icon-":l,"bt-":t=>`bt ${t}`,"eva-":t=>`eva ${t}`,"ion-md":u,"ion-ios":u,"ion-logo":u,"iconfont ":l,"ti-":t=>`themify-icon ${t}`,"bi-":t=>`bootstrap-icons ${t}`},h={o_:"-outlined",r_:"-round",s_:"-sharp"},f={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},p=new RegExp("^("+Object.keys(d).join("|")+")"),v=new RegExp("^("+Object.keys(h).join("|")+")"),m=new RegExp("^("+Object.keys(f).join("|")+")"),g=/^[Mm]\s?[-+]?\.?\d/,_=/^img:/,b=/^svguse:/,y=/^ion-/,w=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;e["a"]=i["a"].extend({name:"QIcon",mixins:[s["a"],r["a"],o["a"]],props:{tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},computed:{classes(){return"q-icon"+(!0===this.left?" on-left":"")+(!0===this.right?" on-right":"")+(void 0!==this.color?` text-${this.color}`:"")},type(){let t,e=this.name;if("none"===e||!e)return{none:!0};if(void 0!==this.$q.iconMapFn){const t=this.$q.iconMapFn(e);if(void 0!==t){if(void 0===t.icon)return{cls:t.cls,content:void 0!==t.content?t.content:" "};if(e=t.icon,"none"===e||!e)return{none:!0}}}if(!0===g.test(e)){const[t,n=c]=e.split("|");return{svg:!0,viewBox:n,nodes:t.split("&&").map((t=>{const[e,n,i]=t.split("@@");return this.$createElement("path",{attrs:{d:e,transform:i},style:n})}))}}if(!0===_.test(e))return{img:!0,src:e.substring(4)};if(!0===b.test(e)){const[t,n=c]=e.split("|");return{svguse:!0,src:t.substring(7),viewBox:n}}let n=" ";const i=e.match(p);if(null!==i)t=d[i[1]](e);else if(!0===w.test(e))t=e;else if(!0===y.test(e))t=`ionicons ion-${!0===this.$q.platform.is.ios?"ios":"md"}${e.substr(3)}`;else if(!0===m.test(e)){t="notranslate material-symbols";const i=e.match(m);null!==i&&(e=e.substring(6),t+=f[i[1]]),n=e}else{t="notranslate material-icons";const i=e.match(v);null!==i&&(e=e.substring(2),t+=h[i[1]]),n=e}return{cls:t,content:n}}},render(t){const e={class:this.classes,style:this.sizeStyle,on:{...this.qListeners},attrs:{"aria-hidden":"true",role:"presentation"}};return!0===this.type.none?t(this.tag,e,Object(a["c"])(this,"default")):!0===this.type.img?t("span",e,Object(a["a"])([t("img",{attrs:{src:this.type.src}})],this,"default")):!0===this.type.svg?t("span",e,Object(a["a"])([t("svg",{attrs:{viewBox:this.type.viewBox||"0 0 24 24",focusable:"false"}},this.type.nodes)],this,"default")):!0===this.type.svguse?t("span",e,Object(a["a"])([t("svg",{attrs:{viewBox:this.type.viewBox,focusable:"false"}},[t("use",{attrs:{"xlink:href":this.type.src}})])],this,"default")):(void 0!==this.type.cls&&(e.class+=" "+this.type.cls),t(this.tag,e,Object(a["a"])([this.type.content],this,"default")))}})},"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var i=n("e330"),r=n("59ed"),o=n("40d5"),s=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?s(t,e):function(){return t.apply(e,arguments)}}},"0378":function(t,e,n){"use strict";n("ddb0");var i=n("2b0e"),r=n("87e8"),o=n("d882"),s=n("dde5"),a=n("e704");e["a"]=i["a"].extend({name:"QForm",mixins:[r["a"]],props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean},computed:{onEvents(){return{...this.qListeners,submit:this.submit,reset:this.reset}}},mounted(){this.validateIndex=0,!0===this.autofocus&&this.focus()},activated(){!0===this.shouldActivate&&!0===this.autofocus&&this.focus()},deactivated(){this.shouldActivate=!0},methods:{validate(t){const e=[],n="boolean"===typeof t?t:!0!==this.noErrorFocus,i=++this.validateIndex,r=this.getValidationComponents().filter((t=>!0!==t.disable)),o=(t,e)=>{this.$emit("validation-"+(!0===t?"success":"error"),e)};for(let s=0;s({valid:e,comp:t})),(e=>({valid:!1,comp:t,err:e}))));else if(!0!==i){if(!1===this.greedy)return o(!1,t),!0===n&&"function"===typeof t.focus&&t.focus(),Promise.resolve(!1);e.push({valid:!1,comp:t})}}return 0===e.length?(o(!0),Promise.resolve(!0)):Promise.all(e).then((t=>{const e=t.filter((t=>!0!==t.valid));if(0===e.length)return i===this.validateIndex&&o(!0),!0;const{valid:r,comp:s,err:a}=e[0];return i===this.validateIndex&&(void 0!==a&&console.error(a),o(!1,s),!0===n&&!0!==r&&"function"===typeof s.focus&&s.focus()),!1}))},resetValidation(){this.validateIndex++,this.getValidationComponents().forEach((t=>{"function"===typeof t.resetValidation&&t.resetValidation()}))},submit(t){void 0!==t&&Object(o["l"])(t);const e=this.validateIndex+1;this.validate().then((n=>{e===this.validateIndex&&!0===n&&(void 0!==this.qListeners.submit?this.$emit("submit",t):void 0!==t&&void 0!==t.target&&"function"===typeof t.target.submit&&t.target.submit())}))},reset(t){void 0!==t&&Object(o["l"])(t),this.$emit("reset"),this.$nextTick((()=>{this.resetValidation(),!0===this.autofocus&&!0!==this.noResetFocus&&this.focus()}))},focus(){Object(a["a"])((()=>{if(!this.$el)return;const t=this.$el.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(this.$el.querySelectorAll("[tabindex]"),(t=>t.tabIndex>-1));null!==t&&void 0!==t&&t.focus({preventScroll:!0})}))},getValidationComponents(){return Array.prototype.map.call(this.$el.getElementsByClassName("q-validation-component"),(t=>t.__vue__)).filter((t=>void 0!==t&&"function"===typeof t.validate))}},render(t){return t("form",{staticClass:"q-form",on:this.onEvents},Object(s["c"])(this,"default"))}})},"04d1":function(t,e,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"06cf":function(t,e,n){var i=n("83ab"),r=n("c65b"),o=n("d1e7"),s=n("5c6c"),a=n("fc6a"),c=n("a04b"),l=n("1a2d"),u=n("0cfb"),d=Object.getOwnPropertyDescriptor;e.f=i?d:function(t,e){if(t=a(t),e=c(e),u)try{return d(t,e)}catch(n){}if(l(t,e))return s(!r(o.f,t,e),t[e])}},"07fa":function(t,e,n){var i=n("50c4");t.exports=function(t){return i(t.length)}},"0831":function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return d})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return p}));n("caad");var i=n("0967"),r=n("f303");const o=!0===i["e"]?[]:[null,document,document.body,document.scrollingElement,document.documentElement];let s;function a(){if(!0===i["e"])return!1;if(void 0===s){const t=document.createElement("div"),e=document.createElement("div");Object.assign(t.style,{direction:"rtl",width:"1px",height:"1px",overflow:"auto"}),Object.assign(e.style,{width:"1000px",height:"1px"}),t.appendChild(e),document.body.appendChild(t),t.scrollLeft=-1e3,s=t.scrollLeft>=0,t.remove()}return s}function c(t,e){let n=Object(r["d"])(e);if(null===n){if(t!==Object(t)||"function"!==typeof t.closest)return window;n=t.closest(".scroll,.scroll-y,.overflow-auto")}return o.includes(n)?window:n}function l(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}const u=l;function d(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}let h;function f(){if(void 0!==h)return h;const t=document.createElement("p"),e=document.createElement("div");Object(r["b"])(t,{width:"100%",height:"200px"}),Object(r["b"])(e,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);const n=t.offsetWidth;e.style.overflow="scroll";let i=t.offsetWidth;return n===i&&(i=e.clientWidth),e.remove(),h=n-i,h}function p(t,e=!0){return!(!t||t.nodeType!==Node.ELEMENT_NODE)&&(e?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}},"0967":function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"c",(function(){return s})),n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return m}));var i=n("2b0e");const r="undefined"===typeof window;let o,s=!1,a=r,c=!1;function l(t,e){const n=/(edge|edga|edgios)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome|crios)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(firefox|fxios)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:e[0]||""}}function u(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}const d=!1===r&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function h(t){o={is:{...t}},delete t.mac,delete t.desktop;const e=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(t,{mobile:!0,ios:!0,platform:e,[e]:!0})}function f(t){const e=t.toLowerCase(),n=u(e),i=l(e,n),o={};i.browser&&(o[i.browser]=!0,o.version=i.version,o.versionNumber=parseInt(i.versionNumber,10)),i.platform&&(o[i.platform]=!0);const c=o.android||o.ios||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"];return!0===c||e.indexOf("mobile")>-1?(o.mobile=!0,o.edga||o.edgios?(o.edge=!0,i.browser="edge"):o.crios?(o.chrome=!0,i.browser="chrome"):o.fxios&&(o.firefox=!0,i.browser="firefox")):o.desktop=!0,(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),(o.chrome||o.opr||o.safari||o.vivaldi||!0===o.mobile&&!0!==o.ios&&!0!==c)&&(o.webkit=!0),(o.rv||o.iemobile)&&(i.browser="ie",o.ie=!0),(o.safari&&o.blackberry||o.bb)&&(i.browser="blackberry",o.blackberry=!0),o.safari&&o.playbook&&(i.browser="playbook",o.playbook=!0),o.opr&&(i.browser="opera",o.opera=!0),o.safari&&o.android&&(i.browser="android",o.android=!0),o.safari&&o.kindle&&(i.browser="kindle",o.kindle=!0),o.safari&&o.silk&&(i.browser="silk",o.silk=!0),o.vivaldi&&(i.browser="vivaldi",o.vivaldi=!0),o.name=i.browser,o.platform=i.platform,!1===r&&(e.indexOf("electron")>-1?o.electron=!0:document.location.href.indexOf("-extension://")>-1?o.bex=!0:(void 0!==window.Capacitor?(o.capacitor=!0,o.nativeMobile=!0,o.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(o.cordova=!0,o.nativeMobile=!0,o.nativeMobileWrapper="cordova"),!0===d&&!0===o.mac&&(!0===o.desktop&&!0===o.safari||!0===o.nativeMobile&&!0!==o.android&&!0!==o.ios&&!0!==o.ipad)&&h(o)),s=void 0===o.nativeMobile&&void 0===o.electron&&null!==document.querySelector("[data-server-rendered]"),!0===s&&(a=!0)),o}const p=!0!==r?navigator.userAgent||navigator.vendor||window.opera:"",v={has:{touch:!1,webStorage:!1},within:{iframe:!1}},m=!1===r?{userAgent:p,is:f(p),has:{touch:d,webStorage:(()=>{try{if(window.localStorage)return!0}catch(t){}return!1})()},within:{iframe:window.self!==window.top}}:v,g={install(t,e){!0===r?e.server.push(((t,e)=>{t.platform=this.parseSSR(e.ssr)})):!0===s?(Object.assign(this,m,o,v),e.takeover.push((t=>{a=s=!1,Object.assign(t.platform,m),o=void 0})),i["a"].util.defineReactive(t,"platform",this)):(Object.assign(this,m),t.platform=this)}};!0===r?g.parseSSR=t=>{const e=t.req.headers["user-agent"]||t.req.headers["User-Agent"]||"";return{...m,userAgent:e,is:f(e)}}:c=!0===m.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),e["b"]=g},"0a06":function(t,e,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),s=n("5270"),a=n("4a7b"),c=n("848b"),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!i){var u=[s,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(o),r=Promise.resolve(t);while(u.length)r=r.then(u.shift(),u.shift());return r}var d=t;while(n.length){var h=n.shift(),f=n.shift();try{d=h(d)}catch(p){f(p);break}}try{r=s(d)}catch(p){return Promise.reject(p)}while(o.length)r=r.then(o.shift(),o.shift());return r},u.prototype.getUri=function(t){return t=a(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,i){return this.request(a(i||{},{method:t,url:e,data:n}))}})),t.exports=u},"0b25":function(t,e,n){var i=n("da84"),r=n("5926"),o=n("50c4"),s=i.RangeError;t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw s("Wrong length or index");return n}},"0b42":function(t,e,n){var i=n("da84"),r=n("e8b5"),o=n("68ee"),s=n("861d"),a=n("b622"),c=a("species"),l=i.Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,o(e)&&(e===l||r(e.prototype))?e=void 0:s(e)&&(e=e[c],null===e&&(e=void 0))),void 0===e?l:e}},"0cb2":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=Math.floor,s=i("".charAt),a=i("".replace),c=i("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,d,h){var f=n+t.length,p=i.length,v=u;return void 0!==d&&(d=r(d),v=l),a(h,v,(function(r,a){var l;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,f);case"<":l=d[c(a,1,-1)];break;default:var u=+a;if(0===u)return r;if(u>p){var h=o(u/10);return 0===h?r:h<=p?void 0===i[h-1]?s(a,1):i[h-1]+s(a,1):r}l=i[u-1]}return void 0===l?"":l}))}},"0cd3":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s}));var i=n("0967");function r(t,e,n){if(!0===i["e"])return n;const r=`__qcache_${e}`;return void 0===t[r]?t[r]=n:t[r]}function o(t,e,n){if(!0===i["e"])return n();const r=`__qcache_${e}`;return void 0===t[r]?t[r]=n():t[r]}function s(t,e){return{data(){const n={},i=this[t];for(const t in i)n[t]=i[t];return{[e]:n}},watch:{[t](t,n){const i=this[e];if(void 0!==n)for(const e in n)void 0===t[e]&&this.$delete(i,e);for(const e in t)i[e]!==t[e]&&this.$set(i,e,t[e])}}}}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e,n){var i=n("da84"),r=i.String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},"0d59":function(t,e,n){"use strict";var i=n("2b0e"),r=n("6642"),o=n("87e8"),s={mixins:[o["a"]],props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{cSize(){return this.size in r["c"]?`${r["c"][this.size]}px`:this.size},classes(){if(this.color)return`text-${this.color}`}}};e["a"]=i["a"].extend({name:"QSpinner",mixins:[s],props:{thickness:{type:Number,default:5}},render(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,on:{...this.qListeners},attrs:{focusable:"false",width:this.cSize,height:this.cSize,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":this.thickness,"stroke-miterlimit":"10"}})])}})},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"107c":function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},"13d2":function(t,e,n){var i=n("d039"),r=n("1626"),o=n("1a2d"),s=n("83ab"),a=n("5e77").CONFIGURABLE,c=n("8925"),l=n("69f3"),u=l.enforce,d=l.get,h=Object.defineProperty,f=s&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),p=String(String).split("String"),v=t.exports=function(t,e,n){if("Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||a&&t.name!==e)&&h(t,"name",{value:e,configurable:!0}),f&&n&&o(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity}),n&&o(n,"constructor")&&n.constructor){if(s)try{h(t,"prototype",{writable:!1})}catch(r){}}else t.prototype=void 0;var i=u(t);return o(i,"source")||(i.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return r(this)&&d(this).source||c(this)}),"toString")},"14c3":function(t,e,n){var i=n("da84"),r=n("c65b"),o=n("825a"),s=n("1626"),a=n("c6b6"),c=n("9263"),l=i.TypeError;t.exports=function(t,e){var n=t.exec;if(s(n)){var i=r(n,t,e);return null!==i&&o(i),i}if("RegExp"===a(t))return r(c,t,e);throw l("RegExp#exec called on incompatible receiver")}},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"182d":function(t,e,n){var i=n("da84"),r=n("f8cd"),o=i.RangeError;t.exports=function(t,e){var n=r(t);if(n%e)throw o("Wrong offset");return n}},"19aa":function(t,e,n){var i=n("da84"),r=n("3a9b"),o=i.TypeError;t.exports=function(t,e){if(r(e,t))return t;throw o("Incorrect invocation")}},"1a2d":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1c16":function(t,e,n){"use strict";e["a"]=function(t,e=250,n){let i;function r(){const r=arguments,o=()=>{i=void 0,!0!==n&&t.apply(this,r)};clearTimeout(i),!0===n&&void 0===i&&t.apply(this,r),i=setTimeout(o,e)}return r.cancel=()=>{clearTimeout(i)},r}},"1c7e":function(t,e,n){var i=n("b622"),r=i("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i0&&1/n<0?1:-1:e>n}};p("sort",(function(t){return void 0!==t&&s(t),_?m(this,t):a(f(this),b(t))}),!_||g)},"21e1":function(t,e,n){"use strict";var i=n("0967");const r=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,o=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,s=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,a=/[a-z0-9_ -]$/i;e["a"]={methods:{__onComposition(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,this.__onInput(t)}else if("compositionupdate"===t.type){if(!0!==t.target.qComposing&&"string"===typeof t.data){const e=!0===i["a"].is.firefox?!1===a.test(t.data):!0===r.test(t.data)&&!0===o.test(t.data)&&!0===s.test(t.data);!0===e&&(t.target.qComposing=!0)}}else t.target.qComposing=!0}}}},2248:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("0967");function r(){if(void 0!==window.getSelection){const t=window.getSelection();void 0!==t.empty?t.empty():void 0!==t.removeAllRanges&&(t.removeAllRanges(),!0!==i["b"].is.mobile&&t.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},"23cb":function(t,e,n){var i=n("5926"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},"23e7":function(t,e,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),s=n("cb2d"),a=n("6374"),c=n("e893"),l=n("94ca");t.exports=function(t,e){var n,u,d,h,f,p,v=t.target,m=t.global,g=t.stat;if(u=m?i:g?i[v]||a(v,{}):(i[v]||{}).prototype,u)for(d in e){if(f=e[d],t.dontCallGetSet?(p=r(u,d),h=p&&p.value):h=u[d],n=l(m?d:v+(g?".":"#")+d,t.forced),!n&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),s(u,d,f,t)}}},"241c":function(t,e,n){var i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},2444:function(t,e,n){"use strict";(function(e){var i=n("c532"),r=n("c8af"),o=n("387f"),s={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}function l(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(a(e,"application/json"),l(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(s){if("SyntaxError"===a.name)throw o(a,this,"E_JSON_PARSE");throw a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(s)})),t.exports=u}).call(this,n("4362"))},"24e8":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("582c"),o={methods:{__addHistory(){this.__historyEntry={condition:()=>!0===this.hideOnRouteChange,handler:this.hide},r["a"].add(this.__historyEntry)},__removeHistory(){void 0!==this.__historyEntry&&(r["a"].remove(this.__historyEntry),this.__historyEntry=void 0)}},beforeDestroy(){!0===this.showing&&this.__removeHistory()}},s=n("7ee0"),a=n("9e62"),c=n("efe6"),l=n("f376"),u=n("f303"),d=n("a267"),h=n("dde5"),f=n("d882"),p=n("0cd3"),v=n("e704"),m=n("0967");let g=0;const _={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},b={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};e["a"]=i["a"].extend({name:"QDialog",mixins:[l["b"],o,s["a"],a["c"],c["a"]],props:{persistent:Boolean,autoClose:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:t=>"standard"===t||["top","bottom","left","right"].includes(t)},transitionShow:String,transitionHide:String},data(){return{transitionState:this.showing,animating:!1}},watch:{showing(t){this.transitionShowComputed!==this.transitionHideComputed&&this.$nextTick((()=>{this.transitionState=t}))},maximized(t){!0===this.showing&&this.__updateMaximized(t)},useBackdrop(t){this.__preventScroll(t),this.__preventFocusout(t)}},computed:{classes(){return`q-dialog__inner--${!0===this.maximized?"maximized":"minimized"} q-dialog__inner--${this.position} ${_[this.position]}`+(!0===this.animating?" q-dialog__inner--animating":"")+(!0===this.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===this.fullHeight?" q-dialog__inner--fullheight":"")+(!0===this.square?" q-dialog__inner--square":"")},transitionShowComputed(){return"q-transition--"+(void 0===this.transitionShow?b[this.position][0]:this.transitionShow)},transitionHideComputed(){return"q-transition--"+(void 0===this.transitionHide?b[this.position][1]:this.transitionHide)},transition(){return!0===this.transitionState?this.transitionHideComputed:this.transitionShowComputed},useBackdrop(){return!0===this.showing&&!0!==this.seamless},hideOnRouteChange(){return!0!==this.persistent&&!0!==this.noRouteDismiss&&!0!==this.seamless},onEvents(){const t={...this.qListeners,input:f["k"],"popup-show":f["k"],"popup-hide":f["k"]};return!0===this.autoClose&&(t.click=this.__onAutoClose),t}},methods:{focus(t){Object(v["a"])((()=>{let e=this.__getInnerNode();void 0!==e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector(t||"[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))},shake(){this.focus(),this.$emit("shake");const t=this.__getInnerNode();void 0!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),clearTimeout(this.shakeTimeout),this.shakeTimeout=setTimeout((()=>{t.classList.remove("q-animate--scale")}),170))},__getInnerNode(){return void 0!==this.__portal&&void 0!==this.__portal.$refs?this.__portal.$refs.inner:void 0},__show(t){this.__addHistory(),this.__refocusTarget=!0!==m["a"].is.mobile&&!1===this.noRefocus&&null!==document.activeElement?document.activeElement:void 0,this.$el.dispatchEvent(Object(f["c"])("popup-show",{bubbles:!0})),this.__updateMaximized(this.maximized),d["a"].register(this,(()=>{!0!==this.seamless&&(!0===this.persistent||!0===this.noEscDismiss?!0!==this.maximized&&!0!==this.noShake&&this.shake():(this.$emit("escape-key"),this.hide()))})),this.__showPortal(),this.animating=!0,!0!==this.noFocus&&(null!==document.activeElement&&document.activeElement.blur(),this.__nextTick(this.focus)),this.__setTimeout((()=>{if(!0===this.$q.platform.is.ios){if(!0!==this.seamless&&document.activeElement){const{top:t,bottom:e}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,i=void 0!==window.visualViewport?window.visualViewport.height:n;t>0&&e>i/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-i,e>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+e-i/2))),document.activeElement.scrollIntoView()}this.__portal.$el.click()}this.animating=!1,this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__removeHistory(),this.__cleanup(!0),this.__hidePortal(),this.animating=!0,void 0!==this.__refocusTarget&&null!==this.__refocusTarget&&(this.__refocusTarget.focus(t),this.__refocusTarget=void 0),this.$el.dispatchEvent(Object(f["c"])("popup-hide",{bubbles:!0})),this.__setTimeout((()=>{this.__hidePortal(!0),this.animating=!1,this.$emit("hide",t)}),300)},__cleanup(t){clearTimeout(this.shakeTimeout),!0!==t&&!0!==this.showing||(d["a"].pop(this),this.__updateMaximized(!1),!0!==this.seamless&&(this.__preventScroll(!1),this.__preventFocusout(!1)))},__updateMaximized(t){!0===t?!0!==this.isMaximized&&(g<1&&document.body.classList.add("q-body--dialog"),g++,this.isMaximized=!0):!0===this.isMaximized&&(g<2&&document.body.classList.remove("q-body--dialog"),g--,this.isMaximized=!1)},__preventFocusout(t){if(!0===this.$q.platform.is.desktop){const e=(!0===t?"add":"remove")+"EventListener";document.body[e]("focusin",this.__onFocusChange)}},__onAutoClose(t){this.hide(t),void 0!==this.qListeners.click&&this.$emit("click",t)},__onBackdropClick(t){!0!==this.persistent&&!0!==this.noBackdropDismiss?this.hide(t):!0!==this.noShake&&this.shake()},__onFocusChange(t){!0===this.__portalIsAccessible&&!0!==Object(u["a"])(this.__portal.$el,t.target)&&this.focus('[tabindex]:not([tabindex="-1"])')},__renderPortal(t){return t("div",{staticClass:"q-dialog fullscreen no-pointer-events q-dialog--"+(!0===this.useBackdrop?"modal":"seamless"),class:this.contentClass,style:this.contentStyle,attrs:this.qAttrs},[t("transition",{props:{name:"q-transition--fade"}},!0===this.useBackdrop?[t("div",{staticClass:"q-dialog__backdrop fixed-full",attrs:l["a"],on:Object(p["b"])(this,"bkdrop",{click:this.__onBackdropClick})})]:null),t("transition",{props:{name:this.transition}},[!0===this.showing?t("div",{ref:"inner",staticClass:"q-dialog__inner flex no-pointer-events",class:this.classes,attrs:{tabindex:-1},on:this.onEvents},Object(h["c"])(this,"default")):null])])}},mounted(){this.__processModelChange(this.value)},beforeDestroy(){this.__cleanup(),this.__refocusTarget=void 0}})},2626:function(t,e,n){"use strict";var i=n("d066"),r=n("9bf2"),o=n("b622"),s=n("83ab"),a=o("species");t.exports=function(t){var e=i(t),n=r.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},"27f9":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("8572"),o=n("f89c"),s=n("d882"),a=n("0cd3");function c(t,e,n,i){const r=[];return t.forEach((t=>{!0===i(t)?r.push(t):e.push({failedPropValidation:n,file:t})})),r}function l(t){t&&t.dataTransfer&&(t.dataTransfer.dropEffect="copy"),Object(s["l"])(t)}Boolean;const u={computed:{formDomProps(){if("file"===this.type)try{const t="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(this.value)===this.value&&("length"in this.value?Array.from(this.value):[this.value]).forEach((e=>{t.items.add(e)})),{files:t.files}}catch(t){return{files:void 0}}}}};n("5319"),n("ddb0");var d=n("d728");const h={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},f={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleLowerCase()}},p=Object.keys(f);p.forEach((t=>{f[t].regex=new RegExp(f[t].pattern)}));const v=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+p.join("")+"])|(.)","g"),m=/[.*+?^${}()|[\]\\]/g,g=String.fromCharCode(1);var _={props:{mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean},watch:{type(){this.__updateMaskInternals()},autogrow(){this.__updateMaskInternals()},mask(t){if(void 0!==t)this.__updateMaskValue(this.innerValue,!0);else{const t=this.__unmask(this.innerValue);this.__updateMaskInternals(),this.value!==t&&this.$emit("input",t)}},fillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},reverseFillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},unmaskedValue(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue)}},methods:{__getInitialMaskedValue(){if(this.__updateMaskInternals(),!0===this.hasMask){const t=this.__mask(this.__unmask(this.value));return!1!==this.fillMask?this.__fillWithMask(t):t}return this.value},__getPaddedMaskMarked(t){if(t-1){for(let i=t-e.length;i>0;i--)n+=g;e=e.slice(0,i)+n+e.slice(i)}return e},__updateMaskInternals(){if(this.hasMask=void 0!==this.mask&&this.mask.length>0&&(!0===this.autogrow||["textarea","text","search","url","tel","password"].includes(this.type)),!1===this.hasMask)return this.computedUnmask=void 0,this.maskMarked="",void(this.maskReplaced="");const t=void 0===h[this.mask]?this.mask:h[this.mask],e="string"===typeof this.fillMask&&this.fillMask.length>0?this.fillMask.slice(0,1):"_",n=e.replace(m,"\\$&"),i=[],r=[],o=[];let s=!0===this.reverseFillMask,a="",c="";t.replace(v,((t,e,n,l,u)=>{if(void 0!==l){const t=f[l];o.push(t),c=t.negate,!0===s&&(r.push("(?:"+c+"+)?("+t.pattern+"+)?(?:"+c+"+)?("+t.pattern+"+)?"),s=!1),r.push("(?:"+c+"+)?("+t.pattern+")?")}else if(void 0!==n)a="\\"+("\\"===n?"":n),o.push(n),i.push("([^"+a+"]+)?"+a+"?");else{const t=void 0!==e?e:u;a="\\"===t?"\\\\\\\\":t.replace(m,"\\\\$&"),o.push(t),i.push("([^"+a+"]+)?"+a+"?")}}));const l=new RegExp("^"+i.join("")+"("+(""===a?".":"[^"+a+"]")+"+)?$"),u=r.length-1,d=r.map(((t,e)=>0===e&&!0===this.reverseFillMask?new RegExp("^"+n+"*"+t):e===u?new RegExp("^"+t+"("+(""===c?".":c)+"+)?"+(!0===this.reverseFillMask?"$":n+"*")):new RegExp("^"+t)));this.computedMask=o,this.computedUnmask=t=>{const e=l.exec(t);null!==e&&(t=e.slice(1).join(""));const n=[],i=d.length;for(let r=0,o=t;r0?n.join(""):t},this.maskMarked=o.map((t=>"string"===typeof t?t:g)).join(""),this.maskReplaced=this.maskMarked.split(g).join(e)},__updateMaskValue(t,e,n){const i=this.$refs.input,r=i.selectionEnd,o=i.value.length-r,s=this.__unmask(t);!0===e&&this.__updateMaskInternals();const a=this.__mask(s),c=!1!==this.fillMask?this.__fillWithMask(a):a,l=this.innerValue!==c;i.value!==c&&(i.value=c),!0===l&&(this.innerValue=c),document.activeElement===i&&this.$nextTick((()=>{if(c!==this.maskReplaced)if("insertFromPaste"!==n||!0===this.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(n)>-1){const t=!0===this.reverseFillMask?0===r?c.length>a.length?1:0:Math.max(0,c.length-(c===this.maskReplaced?0:Math.min(a.length,o)+1))+1:r;i.setSelectionRange(t,t,"forward")}else if(!0===this.reverseFillMask)if(!0===l){const t=Math.max(0,c.length-(c===this.maskReplaced?0:Math.min(a.length,o+1)));1===t&&1===r?i.setSelectionRange(t,t,"forward"):this.__moveCursorRightReverse(i,t,t)}else{const t=c.length-o;i.setSelectionRange(t,t,"backward")}else if(!0===l){const t=Math.max(0,this.maskMarked.indexOf(g),Math.min(a.length,r)-1);this.__moveCursorRight(i,t,t)}else{const t=r-1;this.__moveCursorRight(i,t,t)}else{const t=r-1;this.__moveCursorRight(i,t,t)}else{const t=!0===this.reverseFillMask?this.maskReplaced.length:0;i.setSelectionRange(t,t,"forward")}}));const u=!0===this.unmaskedValue?this.__unmask(c):c;String(this.value)!==u&&this.__emitValue(u,!0)},__moveCursorForPaste(t,e,n){const i=this.__mask(this.__unmask(t.value));e=Math.max(0,this.maskMarked.indexOf(g),Math.min(i.length,e)),t.setSelectionRange(e,n,"forward")},__moveCursorLeft(t,e,n,i){const r=-1===this.maskMarked.slice(e-1).indexOf(g);let o=Math.max(0,e-1);for(;o>=0;o--)if(this.maskMarked[o]===g){e=o,!0===r&&e++;break}if(o<0&&void 0!==this.maskMarked[e]&&this.maskMarked[e]!==g)return this.__moveCursorRight(t,0,0);e>=0&&t.setSelectionRange(e,!0===i?n:e,"backward")},__moveCursorRight(t,e,n,i){const r=t.value.length;let o=Math.min(r,n+1);for(;o<=r;o++){if(this.maskMarked[o]===g){n=o;break}this.maskMarked[o-1]===g&&(n=o)}if(o>r&&void 0!==this.maskMarked[n-1]&&this.maskMarked[n-1]!==g)return this.__moveCursorLeft(t,r,r);t.setSelectionRange(i?e:n,n,"forward")},__moveCursorLeftReverse(t,e,n,i){const r=this.__getPaddedMaskMarked(t.value.length);let o=Math.max(0,e-1);for(;o>=0;o--){if(r[o-1]===g){e=o;break}if(r[o]===g&&(e=o,0===o))break}if(o<0&&void 0!==r[e]&&r[e]!==g)return this.__moveCursorRightReverse(t,0,0);e>=0&&t.setSelectionRange(e,!0===i?n:e,"backward")},__moveCursorRightReverse(t,e,n,i){const r=t.value.length,o=this.__getPaddedMaskMarked(r),s=-1===o.slice(0,n+1).indexOf(g);let a=Math.min(r,n+1);for(;a<=r;a++)if(o[a-1]===g){n=a,n>0&&!0===s&&n--;break}if(a>r&&void 0!==o[n-1]&&o[n-1]!==g)return this.__moveCursorLeftReverse(t,r,r);t.setSelectionRange(!0===i?e:n,n,"forward")},__onMaskedKeydown(t){if(!0===Object(d["c"])(t))return;const e=this.$refs.input,n=e.selectionStart,i=e.selectionEnd;if(37===t.keyCode||39===t.keyCode){const r=this["__moveCursor"+(39===t.keyCode?"Right":"Left")+(!0===this.reverseFillMask?"Reverse":"")];t.preventDefault(),r(e,n,i,t.shiftKey)}else 8===t.keyCode&&!0!==this.reverseFillMask&&n===i?this.__moveCursorLeft(e,n,i,!0):46===t.keyCode&&!0===this.reverseFillMask&&n===i&&this.__moveCursorRightReverse(e,n,i,!0);this.$emit("keydown",t)},__mask(t){if(void 0===t||null===t||""===t)return"";if(!0===this.reverseFillMask)return this.__maskReverse(t);const e=this.computedMask;let n=0,i="";for(let r=0;r=0&&i>-1;o--){const s=e[o];let a=t[i];if("string"===typeof s)r=s+r,a===s&&i--;else{if(void 0===a||!s.regex.test(a))return r;do{r=(void 0!==s.transform?s.transform(a):a)+r,i--,a=t[i]}while(n===o&&void 0!==a&&s.regex.test(a))}}return r},__unmask(t){return"string"!==typeof t||void 0===this.computedUnmask?"number"===typeof t?this.computedUnmask(""+t):t:this.computedUnmask(t)},__fillWithMask(t){return this.maskReplaced.length-t.length<=0?t:!0===this.reverseFillMask&&t.length>0?this.maskReplaced.slice(0,-t.length)+t:t+this.maskReplaced.slice(t.length)}}},b=n("21e1"),y=n("87e8"),w=n("e704");e["a"]=i["a"].extend({name:"QInput",mixins:[r["a"],_,b["a"],o["a"],u,y["a"]],props:{value:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},watch:{value(t){if(!0===this.hasMask){if(!0===this.stopValueWatcher&&(this.stopValueWatcher=!1,String(t)===this.emitCachedValue))return;this.__updateMaskValue(t)}else this.innerValue!==t&&(this.innerValue=t,"number"===this.type&&!0===this.hasOwnProperty("tempValue")&&(!0===this.typedNumber?this.typedNumber=!1:delete this.tempValue));!0===this.autogrow&&this.$nextTick(this.__adjustHeight)},type(){this.$refs.input&&(this.$refs.input.value=this.value)},autogrow(t){if(!0===t)this.$nextTick(this.__adjustHeight);else if(this.qAttrs.rows>0&&void 0!==this.$refs.input){const t=this.$refs.input;t.style.height="auto"}},dense(){!0===this.autogrow&&this.$nextTick(this.__adjustHeight)}},data(){return{innerValue:this.__getInitialMaskedValue()}},computed:{isTextarea(){return"textarea"===this.type||!0===this.autogrow},isTypeText(){return!0===this.isTextarea||["text","search","url","tel","password"].includes(this.type)},fieldClass(){return"q-"+(!0===this.isTextarea?"textarea":"input")+(!0===this.autogrow?" q-textarea--autogrow":"")},hasShadow(){return"file"!==this.type&&"string"===typeof this.shadowText&&this.shadowText.length>0},onEvents(){const t={...this.qListeners,input:this.__onInput,paste:this.__onPaste,change:this.__onChange,blur:this.__onFinishEditing,focus:s["k"]};return t.compositionstart=t.compositionupdate=t.compositionend=this.__onComposition,!0===this.hasMask&&(t.keydown=this.__onMaskedKeydown),!0===this.autogrow&&(t.animationend=this.__adjustHeight),t},inputAttrs(){const t={tabindex:0,"data-autofocus":this.autofocus,rows:"textarea"===this.type?6:void 0,"aria-label":this.label,name:this.nameProp,...this.qAttrs,id:this.targetUid,type:this.type,maxlength:this.maxlength,disabled:!0===this.disable,readonly:!0===this.readonly};return!0===this.autogrow&&(t.rows=1),t}},methods:{focus(){Object(w["a"])((()=>{const t=document.activeElement;void 0===this.$refs.input||this.$refs.input===t||null!==t&&t.id===this.targetUid||this.$refs.input.focus({preventScroll:!0})}))},select(){void 0!==this.$refs.input&&this.$refs.input.select()},getNativeElement(){return this.$refs.input},__onPaste(t){if(!0===this.hasMask&&!0!==this.reverseFillMask){const e=t.target;this.__moveCursorForPaste(e,e.selectionStart,e.selectionEnd)}this.$emit("paste",t)},__onInput(t){if(!t||!t.target||!0===t.target.qComposing)return;if("file"===this.type)return void this.$emit("input",t.target.files);const e=t.target.value;if(!0===this.hasMask)this.__updateMaskValue(e,!1,t.inputType);else if(this.__emitValue(e),!0===this.isTypeText&&t.target===document.activeElement){const{selectionStart:n,selectionEnd:i}=t.target;void 0!==n&&void 0!==i&&this.$nextTick((()=>{t.target===document.activeElement&&0===e.indexOf(t.target.value)&&t.target.setSelectionRange(n,i)}))}!0===this.autogrow&&this.__adjustHeight()},__emitValue(t,e){this.emitValueFn=()=>{"number"!==this.type&&!0===this.hasOwnProperty("tempValue")&&delete this.tempValue,this.value!==t&&this.emitCachedValue!==t&&(this.emitCachedValue=t,!0===e&&(this.stopValueWatcher=!0),this.$emit("input",t),this.$nextTick((()=>{this.emitCachedValue===t&&(this.emitCachedValue=NaN)}))),this.emitValueFn=void 0},"number"===this.type&&(this.typedNumber=!0,this.tempValue=t),void 0!==this.debounce?(clearTimeout(this.emitTimer),this.tempValue=t,this.emitTimer=setTimeout(this.emitValueFn,this.debounce)):this.emitValueFn()},__adjustHeight(){const t=this.$refs.input;if(void 0!==t){const e=t.parentNode.style,{overflow:n}=t.style;e.marginBottom=t.scrollHeight-1+"px",t.style.height="1px",t.style.overflow="hidden",t.style.height=t.scrollHeight+"px",t.style.overflow=n,e.marginBottom=""}},__onChange(t){this.__onComposition(t),clearTimeout(this.emitTimer),void 0!==this.emitValueFn&&this.emitValueFn(),this.$emit("change",t)},__onFinishEditing(t){void 0!==t&&Object(s["k"])(t),clearTimeout(this.emitTimer),void 0!==this.emitValueFn&&this.emitValueFn(),this.typedNumber=!1,this.stopValueWatcher=!1,delete this.tempValue,"file"!==this.type&&setTimeout((()=>{void 0!==this.$refs.input&&(this.$refs.input.value=void 0!==this.innerValue?this.innerValue:"")}))},__getCurValue(){return!0===this.hasOwnProperty("tempValue")?this.tempValue:void 0!==this.innerValue?this.innerValue:""},__getShadowControl(t){return t("div",{staticClass:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===this.isTextarea?"":" text-no-wrap")},[t("span",{staticClass:"invisible"},this.__getCurValue()),t("span",this.shadowText)])},__getControl(t){return t(!0===this.isTextarea?"textarea":"input",{ref:"input",staticClass:"q-field__native q-placeholder",style:this.inputStyle,class:this.inputClass,attrs:this.inputAttrs,on:this.onEvents,domProps:"file"!==this.type?{value:this.__getCurValue()}:this.formDomProps})}},created(){this.emitCachedValue=NaN},mounted(){!0===this.autogrow&&this.__adjustHeight()},beforeDestroy(){this.__onFinishEditing()}})},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return i}))},"2a19":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("0016"),o=n("6642"),s=n("87e8"),a=n("dde5"),c=i["a"].extend({name:"QAvatar",mixins:[s["a"],o["a"]],props:{fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},computed:{classes(){return{[`bg-${this.color}`]:this.color,[`text-${this.textColor} q-chip--colored`]:this.textColor,"q-avatar--square":this.square,"rounded-borders":this.rounded}},contentStyle(){if(this.fontSize)return{fontSize:this.fontSize}}},render(t){const e=void 0!==this.icon?[t(r["a"],{props:{name:this.icon}})]:void 0;return t("div",{staticClass:"q-avatar",style:this.sizeStyle,class:this.classes,on:{...this.qListeners}},[t("div",{staticClass:"q-avatar__content row flex-center overflow-hidden",style:this.contentStyle},Object(a["b"])(e,this,"default"))])}}),l=n("9c40"),u=n("0d59"),d=n("d882"),h=n("f303"),f=n("1c16"),p=n("5ff7"),v=n("0967");let m,g=0;const _={},b={},y={},w={},x=/^\s*$/,S=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],C=["top-left","top-right","bottom-left","bottom-right"],E={positive:{icon:t=>t.iconSet.type.positive,color:"positive"},negative:{icon:t=>t.iconSet.type.negative,color:"negative"},warning:{icon:t=>t.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:t=>t.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function k(t,e,n){if(!t)return $("parameter required");let i;const r={textColor:"white"};if(!0!==t.ignoreDefaults&&Object.assign(r,_),!1===Object(p["d"])(t)&&(r.type&&Object.assign(r,E[r.type]),t={message:t}),Object.assign(r,E[t.type||r.type],t),"function"===typeof r.icon&&(r.icon=r.icon(e.$q)),r.spinner?!0===r.spinner&&(r.spinner=u["a"]):r.spinner=!1,r.meta={hasMedia:Boolean(!1!==r.spinner||r.icon||r.avatar),hasText:T(r.message)||T(r.caption)},r.position){if(!1===S.includes(r.position))return $("wrong position",t)}else r.position="bottom";if(void 0===r.timeout)r.timeout=5e3;else{const e=parseInt(r.timeout,10);if(isNaN(e)||e<0)return $("wrong timeout",t);r.timeout=e}0===r.timeout?r.progress=!1:!0===r.progress&&(r.meta.progressClass="q-notification__progress"+(r.progressClass?` ${r.progressClass}`:""),r.meta.progressStyle={animationDuration:`${r.timeout+1e3}ms`});const o=(!0===Array.isArray(t.actions)?t.actions:[]).concat(!0!==t.ignoreDefaults&&!0===Array.isArray(_.actions)?_.actions:[]).concat(void 0!==E[t.type]&&!0===Array.isArray(E[t.type].actions)?E[t.type].actions:[]),{closeBtn:s}=r;if(s&&o.push({label:"string"===typeof s?s:e.$q.lang.label.close}),r.actions=o.map((({handler:t,noDismiss:e,style:n,class:i,attrs:r,...o})=>({staticClass:i,style:n,props:{flat:!0,...o},attrs:r,on:{click:"function"===typeof t?()=>{t(),!0!==e&&a()}:()=>{a()}}}))),void 0===r.multiLine&&(r.multiLine=r.actions.length>1),Object.assign(r.meta,{staticClass:"q-notification row items-stretch q-notification--"+(!0===r.multiLine?"multi-line":"standard")+(void 0!==r.color?` bg-${r.color}`:"")+(void 0!==r.textColor?` text-${r.textColor}`:"")+(void 0!==r.classes?` ${r.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===r.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===r.multiLine?"":" col"),leftClass:!0===r.meta.hasText?"additional":"single",attrs:{role:"alert",...r.attrs}}),!1===r.group?(r.group=void 0,r.meta.group=void 0):(void 0!==r.group&&!0!==r.group||(r.group=[r.message,r.caption,r.multiline].concat(r.actions.map((({props:t})=>`${t.label}*${t.icon}`))).join("|")),r.meta.group=r.group+"|"+r.position),0===r.actions.length?r.actions=void 0:r.meta.actionsClass="q-notification__actions row items-center "+(!0===r.multiLine?"justify-end":"col-auto")+(!0===r.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==n){clearTimeout(n.notif.meta.timer),r.meta.uid=n.notif.meta.uid;const t=y[r.position].indexOf(n.notif);y[r.position][t]=r}else{const e=b[r.meta.group];if(void 0===e){if(r.meta.uid=g++,r.meta.badge=1,-1!==["left","right","center"].indexOf(r.position))y[r.position].splice(Math.floor(y[r.position].length/2),0,r);else{const t=r.position.indexOf("top")>-1?"unshift":"push";y[r.position][t](r)}void 0!==r.group&&(b[r.meta.group]=r)}else{if(clearTimeout(e.meta.timer),void 0!==r.badgePosition){if(!1===C.includes(r.badgePosition))return $("wrong badgePosition",t)}else r.badgePosition="top-"+(r.position.indexOf("left")>-1?"right":"left");r.meta.uid=e.meta.uid,r.meta.badge=e.meta.badge+1,r.meta.badgeClass=`q-notification__badge q-notification__badge--${r.badgePosition}`+(void 0!==r.badgeColor?` bg-${r.badgeColor}`:"")+(void 0!==r.badgeTextColor?` text-${r.badgeTextColor}`:"")+(r.badgeClass?` ${r.badgeClass}`:"");const n=y[r.position].indexOf(e);y[r.position][n]=b[r.meta.group]=r}}const a=()=>{O(r,e),i=void 0};return e.$forceUpdate(),r.timeout>0&&(r.meta.timer=setTimeout((()=>{a()}),r.timeout+1e3)),void 0!==r.group?e=>{void 0!==e?$("trying to update a grouped one which is forbidden",t):a()}:(i={dismiss:a,config:t,notif:r},void 0===n?t=>{if(void 0!==i)if(void 0===t)i.dismiss();else{const n=Object.assign({},i.config,t,{group:!1,position:r.position});k(n,e,i)}}:void Object.assign(n,i))}function O(t,e){clearTimeout(t.meta.timer);const n=y[t.position].indexOf(t);if(-1!==n){void 0!==t.group&&delete b[t.meta.group];const i=e.$refs[""+t.meta.uid];if(i){const{width:t,height:e}=getComputedStyle(i);i.style.left=`${i.offsetLeft}px`,i.style.width=t,i.style.height=e}y[t.position].splice(n,1),e.$forceUpdate(),"function"===typeof t.onDismiss&&t.onDismiss()}}function T(t){return void 0!==t&&null!==t&&!0!==x.test(t)}function $(t,e){return console.error(`Notify: ${t}`,e),!1}const L={name:"QNotifications",devtools:{hide:!0},beforeCreate(){void 0===this._routerRoot&&(this._routerRoot={})},render(t){return t("div",{staticClass:"q-notifications"},S.map((e=>t("transition-group",{key:e,staticClass:w[e],tag:"div",props:{name:`q-notification--${e}`,mode:"out-in"}},y[e].map((e=>{const{meta:n}=e,i=[];if(!0===n.hasMedia&&(!1!==e.spinner?i.push(t(e.spinner,{staticClass:"q-notification__spinner q-notification__spinner--"+n.leftClass,props:{color:e.spinnerColor,size:e.spinnerSize}})):e.icon?i.push(t(r["a"],{staticClass:"q-notification__icon q-notification__icon--"+n.leftClass,attrs:{role:"img"},props:{name:e.icon,color:e.iconColor,size:e.iconSize}})):e.avatar&&i.push(t(c,{staticClass:"q-notification__avatar q-notification__avatar--"+n.leftClass},[t("img",{attrs:{src:e.avatar,"aria-hidden":"true"}})]))),!0===n.hasText){let n;const r={staticClass:"q-notification__message col"};if(!0===e.html)r.domProps={innerHTML:e.caption?`
${e.message}
${e.caption}
`:e.message};else{const i=[e.message];n=e.caption?[t("div",i),t("div",{staticClass:"q-notification__caption"},[e.caption])]:i}i.push(t("div",r,n))}const o=[t("div",{staticClass:n.contentClass},i)];return!0===e.progress&&o.push(t("div",{key:`${n.uid}|p|${n.badge}`,staticClass:n.progressClass,style:n.progressStyle})),void 0!==e.actions&&o.push(t("div",{staticClass:n.actionsClass},e.actions.map((e=>t(l["a"],{...e}))))),n.badge>1&&o.push(t("div",{key:`${n.uid}|${n.badge}`,staticClass:n.badgeClass,style:e.badgeStyle},[n.badge])),t("div",{ref:""+n.uid,key:n.uid,staticClass:n.staticClass,attrs:n.attrs},[t("div",{staticClass:n.wrapperClass},o)])}))))))},mounted(){if(void 0!==this.$q.fullscreen&&!0===this.$q.fullscreen.isCapable){const t=()=>{const t=Object(h["c"])(this.$q.fullscreen.activeEl);this.$el.parentElement!==t&&t.appendChild(this.$el)};this.unwatchFullscreen=this.$watch("$q.fullscreen.activeEl",Object(f["a"])(t,50)),!0===this.$q.fullscreen.isActive&&t()}},beforeDestroy(){void 0!==this.unwatchFullscreen&&this.unwatchFullscreen()}};e["a"]={setDefaults(t){!0!==v["e"]&&!0===Object(p["d"])(t)&&Object.assign(_,t)},registerType(t,e){!0!==v["e"]&&!0===Object(p["d"])(e)&&(E[t]=e)},install({$q:t}){if(t.notify=this.create=!0===v["e"]?d["g"]:t=>k(t,m),t.notify.setDefaults=this.setDefaults,t.notify.registerType=this.registerType,void 0!==t.config.notify&&this.setDefaults(t.config.notify),!0!==v["e"]){S.forEach((t=>{y[t]=[];const e=!0===["left","center","right"].includes(t)?"center":t.indexOf("top")>-1?"top":"bottom",n=t.indexOf("left")>-1?"start":t.indexOf("right")>-1?"end":"center",i=["left","right"].includes(t)?`items-${"left"===t?"start":"end"} justify-center`:"center"===t?"flex-center":`items-${n}`;w[t]=`q-notifications__list q-notifications__list--${e} fixed column no-wrap ${i}`}));const t=document.createElement("div");document.body.appendChild(t),m=new i["a"](L),m.$mount(t)}}}},"2b0e":function(t,e,n){"use strict";(function(t){ +/*! + * Vue.js v2.6.14 + * (c) 2014-2021 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function s(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function d(t){return"[object RegExp]"===l.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return r(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function y(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var x=/-(\w)/g,S=w((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),C=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),E=/\B([A-Z])/g,k=w((function(t){return t.replace(E,"-$1").toLowerCase()}));function O(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function T(t,e){return t.bind(e)}var $=Function.prototype.bind?T:O;function L(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function I(t,e){for(var n in e)t[n]=e[n];return t}function R(t){for(var e={},n=0;n0,nt=J&&J.indexOf("edge/")>0,it=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Q),rt=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),ot={}.watch,st=!1;if(X)try{var at={};Object.defineProperty(at,"passive",{get:function(){st=!0}}),window.addEventListener("test-passive",null,at)}catch(Cs){}var ct=function(){return void 0===K&&(K=!X&&!Y&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),K},lt=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ut(t){return"function"===typeof t&&/native code/.test(t.toString())}var dt,ht="undefined"!==typeof Symbol&&ut(Symbol)&&"undefined"!==typeof Reflect&&ut(Reflect.ownKeys);dt="undefined"!==typeof Set&&ut(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=P,pt=0,vt=function(){this.id=pt++,this.subs=[]};vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){_(this.subs,t)},vt.prototype.depend=function(){vt.target&&vt.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!y(r,"default"))s=!1;else if(""===s||s===k(t)){var c=ee(String,r.type);(c<0||a0&&(s=Te(s,(e||"")+"_"+n),Oe(s[0])&&Oe(l)&&(u[c]=xt(l.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?Oe(l)?u[c]=xt(l.text+s):""!==s&&u.push(xt(s)):Oe(s)&&Oe(l)?u[c]=xt(l.text+s.text):(o(t._isVList)&&r(s.tag)&&i(s.key)&&r(e)&&(s.key="__vlist"+e+"_"+n+"__"),u.push(s)));return u}function $e(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Le(t){var e=Ie(t.$options.inject,t);e&&($t(!1),Object.keys(e).forEach((function(n){At(t,n,e[n])})),$t(!0))}function Ie(t,e){if(t){for(var n=Object.create(null),i=ht?Reflect.ownKeys(t):Object.keys(t),r=0;r0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&i&&i!==n&&a===i.$key&&!o&&!i.$hasNormal)return i;for(var c in r={},t)t[c]&&"$"!==c[0]&&(r[c]=Me(e,c,t[c]))}else r={};for(var l in e)l in r||(r[l]=De(e,l));return t&&Object.isExtensible(t)&&(t._normalized=r),G(r,"$stable",s),G(r,"$key",a),G(r,"$hasNormal",o),r}function Me(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:ke(t);var e=t&&t[0];return t&&(!e||1===t.length&&e.isComment&&!Ae(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function De(t,e){return function(){return t[e]}}function qe(t,e){var n,i,o,s,a;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,o=t.length;i1?L(n):n;for(var i=L(arguments,1),r='event handler for "'+t+'"',o=0,s=n.length;odocument.createEvent("Event").timeStamp&&(Zn=function(){return Xn.now()})}function Yn(){var t,e;for(Kn=Zn(),Gn=!0,Nn.sort((function(t,e){return t.id-e.id})),Wn=0;WnWn&&Nn[n].id>t.id)n--;Nn.splice(n+1,0,t)}else Nn.push(t);zn||(zn=!0,ve(Yn))}}var ni=0,ii=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ni,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new dt,this.newDepIds=new dt,this.expression="","function"===typeof e?this.getter=e:(this.getter=H(e),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()};ii.prototype.get=function(){var t;gt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Cs){if(!this.user)throw Cs;ne(Cs,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ge(t),_t(),this.cleanupDeps()}return t},ii.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ii.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ii.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ei(this)},ii.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';ie(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},ii.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ii.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},ii.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ri={enumerable:!0,configurable:!0,get:P,set:P};function oi(t,e,n){ri.get=function(){return this[e][n]},ri.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ri)}function si(t){t._watchers=[];var e=t.$options;e.props&&ai(t,e.props),e.methods&&vi(t,e.methods),e.data?ci(t):Pt(t._data={},!0),e.computed&&di(t,e.computed),e.watch&&e.watch!==ot&&mi(t,e.watch)}function ai(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;o||$t(!1);var s=function(o){r.push(o);var s=Xt(o,e,n,t);At(i,o,s),o in t||oi(t,"_props",o)};for(var a in e)s(a);$t(!0)}function ci(t){var e=t.$options.data;e=t._data="function"===typeof e?li(e,t):e||{},u(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var o=n[r];0,i&&y(i,o)||z(o)||oi(t,"_data",o)}Pt(e,!0)}function li(t,e){gt();try{return t.call(e,e)}catch(Cs){return ne(Cs,e,"data()"),{}}finally{_t()}}var ui={lazy:!0};function di(t,e){var n=t._computedWatchers=Object.create(null),i=ct();for(var r in e){var o=e[r],s="function"===typeof o?o:o.get;0,i||(n[r]=new ii(t,s||P,P,ui)),r in t||hi(t,r,o)}}function hi(t,e,n){var i=!ct();"function"===typeof n?(ri.get=i?fi(e):pi(n),ri.set=P):(ri.get=n.get?i&&!1!==n.cache?fi(e):pi(n.get):P,ri.set=n.set||P),Object.defineProperty(t,e,ri)}function fi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.target&&e.depend(),e.value}}function pi(t){return function(){return t.call(this,this)}}function vi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?P:$(e[n],t)}function mi(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=L(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function ki(t){t.mixin=function(t){return this.options=Kt(this.options,t),this}}function Oi(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name;var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Kt(n.options,t),s["super"]=n,s.options.props&&Ti(s),s.options.computed&&$i(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,V.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=I({},s.options),r[i]=s,s}}function Ti(t){var e=t.options.props;for(var n in e)oi(t.prototype,"_props",n)}function $i(t){var e=t.options.computed;for(var n in e)hi(t.prototype,n,e[n])}function Li(t){V.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Ii(t){return t&&(t.Ctor.options.name||t.tag)}function Ri(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Pi(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var s=n[o];if(s){var a=s.name;a&&!e(a)&&Ai(n,o,i,r)}}}function Ai(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,_(n,e)}yi(Ci),_i(Ci),Ln(Ci),An(Ci),yn(Ci);var ji=[String,RegExp,Array],Mi={name:"keep-alive",abstract:!0,props:{include:ji,exclude:ji,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,s=i.componentInstance,a=i.componentOptions;e[r]={name:Ii(a),tag:o,componentInstance:s},n.push(r),this.max&&n.length>parseInt(this.max)&&Ai(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ai(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Pi(t,(function(t){return Ri(e,t)}))})),this.$watch("exclude",(function(e){Pi(t,(function(t){return!Ri(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Cn(t),n=e&&e.componentOptions;if(n){var i=Ii(n),r=this,o=r.include,s=r.exclude;if(o&&(!i||!Ri(o,i))||s&&i&&Ri(s,i))return e;var a=this,c=a.cache,l=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,_(l,u),l.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},Di={KeepAlive:Mi};function qi(t){var e={get:function(){return F}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:I,mergeOptions:Kt,defineReactive:At},t.set=jt,t.delete=Mt,t.nextTick=ve,t.observable=function(t){return Pt(t),t},t.options=Object.create(null),V.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,I(t.options.components,Di),Ei(t),ki(t),Oi(t),Li(t)}qi(Ci),Object.defineProperty(Ci.prototype,"$isServer",{get:ct}),Object.defineProperty(Ci.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ci,"FunctionalRenderContext",{value:Je}),Ci.version="2.6.14";var Bi=m("style,class"),Vi=m("input,textarea,option,select,progress"),Ni=function(t,e,n){return"value"===n&&Vi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Fi=m("contenteditable,draggable,spellcheck"),Ui=m("events,caret,typing,plaintext-only"),zi=function(t,e){return Zi(e)||"false"===e?"false":"contenteditable"===t&&Ui(e)?e:"true"},Gi=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Wi="http://www.w3.org/1999/xlink",Hi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ki=function(t){return Hi(t)?t.slice(6,t.length):""},Zi=function(t){return null==t||!1===t};function Xi(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Yi(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Yi(e,n.data));return Qi(e.staticClass,e.class)}function Yi(t,e){return{staticClass:Ji(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Qi(t,e){return r(t)||r(e)?Ji(t,tr(e)):""}function Ji(t,e){return t?e?t+" "+e:t:e||""}function tr(t){return Array.isArray(t)?er(t):c(t)?nr(t):"string"===typeof t?t:""}function er(t){for(var e,n="",i=0,o=t.length;i-1?cr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:cr[t]=/HTMLUnknownElement/.test(e.toString())}var ur=m("text,number,password,search,email,tel,url");function dr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function hr(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fr(t,e){return document.createElementNS(ir[t],e)}function pr(t){return document.createTextNode(t)}function vr(t){return document.createComment(t)}function mr(t,e,n){t.insertBefore(e,n)}function gr(t,e){t.removeChild(e)}function _r(t,e){t.appendChild(e)}function br(t){return t.parentNode}function yr(t){return t.nextSibling}function wr(t){return t.tagName}function xr(t,e){t.textContent=e}function Sr(t,e){t.setAttribute(e,"")}var Cr=Object.freeze({createElement:hr,createElementNS:fr,createTextNode:pr,createComment:vr,insertBefore:mr,removeChild:gr,appendChild:_r,parentNode:br,nextSibling:yr,tagName:wr,setTextContent:xr,setStyleScope:Sr}),Er={create:function(t,e){kr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(kr(t,!0),kr(e))},destroy:function(t){kr(t,!0)}};function kr(t,e){var n=t.data.ref;if(r(n)){var i=t.context,o=t.componentInstance||t.elm,s=i.$refs;e?Array.isArray(s[n])?_(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var Or=new bt("",{},[]),Tr=["create","activate","update","remove","destroy"];function $r(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Lr(t,e)||o(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function Lr(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||ur(i)&&ur(o)}function Ir(t,e,n){var i,o,s={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(s[o]=i);return s}function Rr(t){var e,n,s={},c=t.modules,l=t.nodeOps;for(e=0;ev?(d=i(n[_+1])?null:n[_+1].elm,S(t,d,n,p,_,o)):p>_&&E(e,h,v)}function T(t,e,n,i){for(var o=n;o-1?Ur(t,e,n):Gi(e)?Zi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Fi(e)?t.setAttribute(e,zi(e,n)):Hi(e)?Zi(n)?t.removeAttributeNS(Wi,Ki(e)):t.setAttributeNS(Wi,e,n):Ur(t,e,n)}function Ur(t,e,n){if(Zi(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var zr={create:Nr,update:Nr};function Gr(t,e){var n=e.elm,o=e.data,s=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(s)||i(s.staticClass)&&i(s.class)))){var a=Xi(e),c=n._transitionClasses;r(c)&&(a=Ji(a,tr(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Wr,Hr={create:Gr,update:Gr},Kr="__r",Zr="__c";function Xr(t){if(r(t[Kr])){var e=tt?"change":"input";t[e]=[].concat(t[Kr],t[e]||[]),delete t[Kr]}r(t[Zr])&&(t.change=[].concat(t[Zr],t.change||[]),delete t[Zr])}function Yr(t,e,n){var i=Wr;return function r(){var o=e.apply(null,arguments);null!==o&&to(t,r,n,i)}}var Qr=ae&&!(rt&&Number(rt[1])<=53);function Jr(t,e,n,i){if(Qr){var r=Kn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Wr.addEventListener(t,e,st?{capture:n,passive:i}:n)}function to(t,e,n,i){(i||Wr).removeEventListener(t,e._wrapper||e,n)}function eo(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Wr=e.elm,Xr(n),we(n,r,Jr,to,Yr,e.context),Wr=void 0}}var no,io={create:eo,update:eo};function ro(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,s=e.elm,a=t.data.domProps||{},c=e.data.domProps||{};for(n in r(c.__ob__)&&(c=e.data.domProps=I({},c)),a)n in c||(s[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=o;var l=i(o)?"":String(o);oo(s,l)&&(s.value=l)}else if("innerHTML"===n&&or(s.tagName)&&i(s.innerHTML)){no=no||document.createElement("div"),no.innerHTML=""+o+"";var u=no.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(u.firstChild)s.appendChild(u.firstChild)}else if(o!==a[n])try{s[n]=o}catch(Cs){}}}}function oo(t,e){return!t.composing&&("OPTION"===t.tagName||so(t,e)||ao(t,e))}function so(t,e){var n=!0;try{n=document.activeElement!==t}catch(Cs){}return n&&t.value!==e}function ao(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return v(n)!==v(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var co={create:ro,update:ro},lo=w((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function uo(t){var e=ho(t.style);return t.staticStyle?I(t.staticStyle,e):e}function ho(t){return Array.isArray(t)?R(t):"string"===typeof t?lo(t):t}function fo(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=uo(r.data))&&I(i,n)}(n=uo(t.data))&&I(i,n);var o=t;while(o=o.parent)o.data&&(n=uo(o.data))&&I(i,n);return i}var po,vo=/^--/,mo=/\s*!important$/,go=function(t,e,n){if(vo.test(e))t.style.setProperty(e,n);else if(mo.test(n))t.style.setProperty(k(e),n.replace(mo,""),"important");else{var i=bo(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(xo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Co(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(xo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Eo(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&I(e,ko(t.name||"v")),I(e,t),e}return"string"===typeof t?ko(t):void 0}}var ko=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Oo=X&&!et,To="transition",$o="animation",Lo="transition",Io="transitionend",Ro="animation",Po="animationend";Oo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Lo="WebkitTransition",Io="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ro="WebkitAnimation",Po="webkitAnimationEnd"));var Ao=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function jo(t){Ao((function(){Ao(t)}))}function Mo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),So(t,e))}function Do(t,e){t._transitionClasses&&_(t._transitionClasses,e),Co(t,e)}function qo(t,e,n){var i=Vo(t,e),r=i.type,o=i.timeout,s=i.propCount;if(!r)return n();var a=r===To?Io:Po,c=0,l=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++c>=s&&l()};setTimeout((function(){c0&&(n=To,u=s,d=o.length):e===$o?l>0&&(n=$o,u=l,d=c.length):(u=Math.max(s,l),n=u>0?s>l?To:$o:null,d=n?n===To?o.length:c.length:0);var h=n===To&&Bo.test(i[Lo+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function No(t,e){while(t.length1}function Ho(t,e){!0!==e.data.show&&Uo(e)}var Ko=X?{create:Ho,activate:Ho,remove:function(t,e){!0!==t.data.show?zo(t,e):e()}}:{},Zo=[zr,Hr,io,co,wo,Ko],Xo=Zo.concat(Vr),Yo=Rr({nodeOps:Cr,modules:Xo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&os(t,"input")}));var Qo={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?xe(n,"postpatch",(function(){Qo.componentUpdated(t,e,n)})):Jo(t,e,n.context),t._vOptions=[].map.call(t.options,ns)):("textarea"===n.tag||ur(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",is),t.addEventListener("compositionend",rs),t.addEventListener("change",rs),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Jo(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,ns);if(r.some((function(t,e){return!M(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return es(t,r)})):e.value!==e.oldValue&&es(e.value,r);o&&os(t,"change")}}}};function Jo(t,e,n){ts(t,e,n),(tt||nt)&&setTimeout((function(){ts(t,e,n)}),0)}function ts(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,s,a=0,c=t.options.length;a-1,s.selected!==o&&(s.selected=o);else if(M(ns(s),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function es(t,e){return e.every((function(e){return!M(e,t)}))}function ns(t){return"_value"in t?t._value:t.value}function is(t){t.target.composing=!0}function rs(t){t.target.composing&&(t.target.composing=!1,os(t.target,"input"))}function os(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ss(t){return!t.componentInstance||t.data&&t.data.transition?t:ss(t.componentInstance._vnode)}var as={bind:function(t,e,n){var i=e.value;n=ss(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Uo(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=ss(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Uo(n,(function(){t.style.display=t.__vOriginalDisplay})):zo(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},cs={model:Qo,show:as},ls={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function us(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?us(Cn(e.children)):t}function ds(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[S(o)]=r[o];return e}function hs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function fs(t){while(t=t.parent)if(t.data.transition)return!0}function ps(t,e){return e.key===t.key&&e.tag===t.tag}var vs=function(t){return t.tag||Ae(t)},ms=function(t){return"show"===t.name},gs={name:"transition",props:ls,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(vs),n.length)){0;var i=this.mode;0;var r=n[0];if(fs(this.$vnode))return r;var o=us(r);if(!o)return r;if(this._leaving)return hs(t,r);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=ds(this),l=this._vnode,u=us(l);if(o.data.directives&&o.data.directives.some(ms)&&(o.data.show=!0),u&&u.data&&!ps(o,u)&&!Ae(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=I({},c);if("out-in"===i)return this._leaving=!0,xe(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),hs(t,r);if("in-out"===i){if(Ae(o))return l;var h,f=function(){h()};xe(c,"afterEnter",f),xe(c,"enterCancelled",f),xe(d,"delayLeave",(function(t){h=t}))}}return r}}},_s=I({tag:String,moveClass:String},ls);delete _s.mode;var bs={props:_s,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Rn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],s=ds(this),a=0;a0&&i[0]<4?1:+(i[0]+i[1])),!r&&s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),t.exports=r},"2d83":function(t,e,n){"use strict";var i=n("387f");t.exports=function(t,e,n,r,o){var s=new Error(t);return i(s,e,n,r,o)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2f62":function(t,e,n){"use strict";(function(t){ +/*! + * vuex v3.6.2 + * (c) 2021 Evan You + * @license MIT + */ +function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return j}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=c(t[n],e)})),i}function l(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function d(t){return t&&"function"===typeof t.then}function h(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){l(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&l(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&l(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&l(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var v=function(t){this.register([],t,!1)};function m(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;m(t.concat(i),e.getChild(i),n.modules[i])}}v.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},v.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},v.prototype.update=function(t){m([],this.root,t)},v.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new f(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&l(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},v.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},v.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var g;var _=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&R(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,a=o.dispatch,c=o.commit;this.dispatch=function(t,e){return a.call(r,t,e)},this.commit=function(t,e,n){return c.call(r,t,e,n)},this.strict=i;var l=this._modules.root.state;S(this,l,[],this._modules.root),x(this,l),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:g.config.devtools;u&&s(this)},b={state:{configurable:!0}};function y(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function w(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;S(t,n,[],t._modules.root,!0),x(t,n,e)}function x(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};l(r,(function(e,n){o[n]=h(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:o}),g.config.silent=s,t.strict&&$(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function S(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=L(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){g.set(a,c,i.state)}))}var l=i.context=C(t,s,n);i.forEachMutation((function(e,n){var i=s+n;k(t,i,e,l)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,r=e.handler||e;O(t,i,r,l)})),i.forEachGetter((function(e,n){var i=s+n;T(t,i,e,l)})),i.forEachChild((function(i,o){S(t,e,n.concat(o),i,r)}))}function C(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=I(n,i,r),s=o.payload,a=o.options,c=o.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,r){var o=I(n,i,r),s=o.payload,a=o.options,c=o.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return E(t,e)}},state:{get:function(){return L(t.state,n)}}}),r}function E(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function k(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function O(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return d(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function T(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function $(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function L(t,e){return e.reduce((function(t,e){return t[e]}),t)}function I(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function R(t){g&&t===g||(g=t,i(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},_.prototype.commit=function(t,e,n){var i=this,r=I(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,i.state)})))},_.prototype.dispatch=function(t,e){var n=this,i=I(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(l){0}var c=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(l){0}e(t)}))}))}},_.prototype.subscribe=function(t,e){return y(t,this._subscribers,e)},_.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return y(n,this._actionSubscribers,e)},_.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},_.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},_.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),S(this,this.state,t,this._modules.get(t),n.preserveState),x(this,this.state)},_.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=L(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),w(this)},_.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},_.prototype.hotUpdate=function(t){this._modules.update(t),w(this,!0)},_.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(_.prototype,b);var P=V((function(t,e){var n={};return q(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=N(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),A=V((function(t,e){var n={};return q(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=N(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),j=V((function(t,e){var n={};return q(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||N(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),M=V((function(t,e){var n={};return q(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=N(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),D=function(t){return{mapState:P.bind(null,t),mapGetters:j.bind(null,t),mapMutations:A.bind(null,t),mapActions:M.bind(null,t)}};function q(t){return B(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function B(t){return Array.isArray(t)||u(t)}function V(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function N(t,e,n){var i=t._modulesNamespaceMap[n];return i}function F(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var a=t.logMutations;void 0===a&&(a=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=c(t.state);"undefined"!==typeof u&&(a&&t.subscribe((function(t,o){var s=c(o);if(n(t,d,s)){var a=G(),l=r(t),h="mutation "+t.type+a;U(u,h,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),z(u)}d=s})),l&&t.subscribeAction((function(t,n){if(o(t,n)){var i=G(),r=s(t),a="action "+t.type+i;U(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),z(u)}})))}}function U(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function z(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function G(){var t=new Date;return" @ "+H(t.getHours(),2)+":"+H(t.getMinutes(),2)+":"+H(t.getSeconds(),2)+"."+H(t.getMilliseconds(),3)}function W(t,e){return new Array(e+1).join(t)}function H(t,e){return W("0",e-t.toString().length)+t}var K={Store:_,install:R,version:"3.6.2",mapState:P,mapMutations:A,mapGetters:j,mapActions:M,createNamespacedHelpers:D,createLogger:F};e["a"]=K}).call(this,n("c8ba"))},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"35a1":function(t,e,n){var i=n("f5df"),r=n("dc4a"),o=n("3f8c"),s=n("b622"),a=s("iterator");t.exports=function(t){if(void 0!=t)return r(t,a)||r(t,"@@iterator")||o[i(t)]}},3786:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0016"),o=n("b7fa"),s=n("ff7b"),a=n("f89c"),c=n("2b69"),l=n("d882"),u=n("dde5"),d=n("0cd3");e["a"]=i["a"].extend({name:"QRadio",mixins:[o["a"],s["a"],a["b"],c["a"]],props:{value:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},computed:{isTrue(){return this.value===this.val},classes(){return"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===this.disable?" disabled":"")+(!0===this.isDark?" q-radio--dark":"")+(!0===this.dense?" q-radio--dense":"")+(!0===this.leftLabel?" reverse":"")},innerClass(){const t=void 0===this.color||!0!==this.keepColor&&!0!==this.isTrue?"":` text-${this.color}`;return`q-radio__inner--${!0===this.isTrue?"truthy":"falsy"}${t}`},computedIcon(){return!0===this.isTrue?this.checkedIcon:this.uncheckedIcon},computedTabindex(){return!0===this.disable?-1:this.tabindex||0},formAttrs(){const t={type:"radio"};return void 0!==this.name&&Object.assign(t,{name:this.name,value:this.val}),t},formDomProps(){if(void 0!==this.name&&!0===this.isTrue)return{checked:!0}},attrs(){const t={tabindex:this.computedTabindex,role:"radio","aria-label":this.label,"aria-checked":!0===this.isTrue?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{set(t){void 0!==t&&(Object(l["l"])(t),this.__refocusTarget(t)),!0!==this.disable&&!0!==this.isTrue&&this.$emit("input",this.val,t)}},render(t){const e=void 0!==this.computedIcon?[t("div",{key:"icon",staticClass:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[t(r["a"],{staticClass:"q-radio__icon",props:{name:this.computedIcon}})])]:[t("svg",{key:"svg",staticClass:"q-radio__bg absolute non-selectable",attrs:{focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true"}},[t("path",{attrs:{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}}),t("path",{staticClass:"q-radio__check",attrs:{d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"}})])];!0!==this.disable&&this.__injectFormInput(e,"unshift","q-radio__native q-ma-none q-pa-none");const n=[t("div",{staticClass:"q-radio__inner relative-position",class:this.innerClass,style:this.sizeStyle},e)];void 0!==this.__refocusTargetEl&&n.push(this.__refocusTargetEl);const i=void 0!==this.label?Object(u["a"])([this.label],this,"default"):Object(u["c"])(this,"default");return void 0!==i&&n.push(t("div",{staticClass:"q-radio__label q-anchor--skip"},i)),t("div",{class:this.classes,attrs:this.attrs,on:Object(d["b"])(this,"inpExt",{click:this.set,keydown:t=>{13!==t.keyCode&&32!==t.keyCode||Object(l["l"])(t)},keyup:t=>{13!==t.keyCode&&32!==t.keyCode||this.set(t)}})},n)}})},"37e8":function(t,e,n){var i=n("83ab"),r=n("aed9"),o=n("9bf2"),s=n("825a"),a=n("fc6a"),c=n("df75");e.f=i&&!r?Object.defineProperties:function(t,e){s(t);var n,i=a(e),r=c(e),l=r.length,u=0;while(l>u)o.f(t,n=r[u++],i[n]);return t}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3934:function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},3980:function(t,e,n){"use strict";var i=n("2b0e"),r=n("d882"),o=n("0967"),s={data(){return{canRender:!o["f"]}},mounted(){!1===this.canRender&&(this.canRender=!0)}},a=n("0cd3");e["a"]=i["a"].extend({name:"QResizeObserver",mixins:[s],props:{debounce:{type:[String,Number],default:100}},data(){return!0===this.hasObserver?{}:{url:!0===this.$q.platform.is.ie?null:"about:blank"}},methods:{trigger(t){!0===t||0===this.debounce||"0"===this.debounce?this.__emit():null===this.timer&&(this.timer=setTimeout(this.__emit,this.debounce))},__emit(){if(null!==this.timer&&(clearTimeout(this.timer),this.timer=null),!this.$el||!this.$el.parentNode)return;const t=this.$el.parentNode,e={width:t.offsetWidth,height:t.offsetHeight};e.width===this.size.width&&e.height===this.size.height||(this.size=e,this.$emit("resize",this.size))},__cleanup(){void 0!==this.curDocView&&(void 0!==this.curDocView.removeEventListener&&this.curDocView.removeEventListener("resize",this.trigger,r["f"].passive),this.curDocView=void 0)},__onObjLoad(){this.__cleanup(),this.$el.contentDocument&&(this.curDocView=this.$el.contentDocument.defaultView,this.curDocView.addEventListener("resize",this.trigger,r["f"].passive)),this.__emit()}},render(t){if(!1!==this.canRender&&!0!==this.hasObserver)return t("object",{style:this.style,attrs:{tabindex:-1,type:"text/html",data:this.url,"aria-hidden":"true"},on:Object(a["b"])(this,"load",{load:this.__onObjLoad})})},beforeCreate(){this.size={width:-1,height:-1},!0!==o["e"]&&(this.hasObserver="undefined"!==typeof ResizeObserver,!0!==this.hasObserver&&(this.style=(this.$q.platform.is.ie?"visibility:hidden;":"")+"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;"))},mounted(){if(this.timer=null,!0===this.hasObserver)return this.observer=new ResizeObserver(this.trigger),this.observer.observe(this.$el.parentNode),void this.__emit();!0===this.$q.platform.is.ie?(this.url="about:blank",this.__emit()):this.__onObjLoad()},beforeDestroy(){clearTimeout(this.timer),!0!==this.hasObserver?this.__cleanup():void 0!==this.observer&&this.$el.parentNode&&this.observer.unobserve(this.$el.parentNode)}})},"3a34":function(module,exports,__webpack_require__){(function(global){ +/*! + * vConsole v3.14.6 (https://github.com/Tencent/vConsole) + * + * Tencent is pleased to support the open source community by making vConsole available. + * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. + * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + * http://opensource.org/licenses/MIT + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + */ +!function(t,e){module.exports=e()}(this||self,(function(){return function(){var __webpack_modules__={4264:function(t,e,n){t.exports=n(7588)},5036:function(t,e,n){n(1719),n(5677),n(6394),n(5334),n(6969),n(2021),n(8328),n(2129);var i=n(1287);t.exports=i.Promise},2582:function(t,e,n){n(1646),n(6394),n(2004),n(462),n(8407),n(2429),n(1172),n(8288),n(1274),n(8201),n(6626),n(3211),n(9952),n(15),n(9831),n(7521),n(2972),n(6956),n(5222),n(2257);var i=n(1287);t.exports=i.Symbol},8257:function(t,e,n){var i=n(7583),r=n(9212),o=n(5637),s=i.TypeError;t.exports=function(t){if(r(t))return t;throw s(o(t)+" is not a function")}},1186:function(t,e,n){var i=n(7583),r=n(2097),o=n(5637),s=i.TypeError;t.exports=function(t){if(r(t))return t;throw s(o(t)+" is not a constructor")}},9882:function(t,e,n){var i=n(7583),r=n(9212),o=i.String,s=i.TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw s("Can't set "+o(t)+" as a prototype")}},6288:function(t,e,n){var i=n(3649),r=n(3590),o=n(4615),s=i("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},4761:function(t,e,n){var i=n(7583),r=n(2447),o=i.TypeError;t.exports=function(t,e){if(r(e,t))return t;throw o("Incorrect invocation")}},2569:function(t,e,n){var i=n(7583),r=n(794),o=i.String,s=i.TypeError;t.exports=function(t){if(r(t))return t;throw s(o(t)+" is not an object")}},5766:function(t,e,n){var i=n(2977),r=n(6782),o=n(1825),s=function(t){return function(e,n,s){var a,c=i(e),l=o(c),u=r(s,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},4805:function(t,e,n){var i=n(2938),r=n(7386),o=n(5044),s=n(1324),a=n(1825),c=n(4822),l=r([].push),u=function(t){var e=1==t,n=2==t,r=3==t,u=4==t,d=6==t,h=7==t,f=5==t||d;return function(p,v,m,g){for(var _,b,y=s(p),w=o(y),x=i(v,m),S=a(w),C=0,E=g||c,k=e?E(p,S):n||h?E(p,0):void 0;S>C;C++)if((f||C in w)&&(b=x(_=w[C],C,y),t))if(e)k[C]=b;else if(b)switch(t){case 3:return!0;case 5:return _;case 6:return C;case 2:l(k,_)}else switch(t){case 4:return!1;case 7:l(k,_)}return d?-1:r||u?u:k}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9269:function(t,e,n){var i=n(6544),r=n(3649),o=n(4061),s=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},4546:function(t,e,n){var i=n(7583),r=n(6782),o=n(1825),s=n(5999),a=i.Array,c=Math.max;t.exports=function(t,e,n){for(var i=o(t),l=r(e,i),u=r(void 0===n?i:n,i),d=a(c(u-l,0)),h=0;l0&&i[0]<4?1:+(i[0]+i[1])),!r&&s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},5690:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1178:function(t,e,n){var i=n(6544),r=n(4677);t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},7263:function(t,e,n){var i=n(7583),r=n(6683).f,o=n(57),s=n(1270),a=n(460),c=n(3478),l=n(4451);t.exports=function(t,e){var n,u,d,h,f,p=t.target,v=t.global,m=t.stat;if(n=v?i:m?i[p]||a(p,{}):(i[p]||{}).prototype)for(u in e){if(h=e[u],d=t.noTargetGet?(f=r(n,u))&&f.value:n[u],!l(v?u:p+(m?".":"#")+u,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;c(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),s(n,u,h,t)}}},6544:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1611:function(t,e,n){var i=n(8987),r=Function.prototype,o=r.apply,s=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?s.bind(o):function(){return s.apply(o,arguments)})},2938:function(t,e,n){var i=n(7386),r=n(8257),o=n(8987),s=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?s(t,e):function(){return t.apply(e,arguments)}}},8987:function(t,e,n){var i=n(6544);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8262:function(t,e,n){var i=n(8987),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},4340:function(t,e,n){var i=n(8494),r=n(2870),o=Function.prototype,s=i&&Object.getOwnPropertyDescriptor,a=r(o,"name"),c=a&&"something"===function(){}.name,l=a&&(!i||i&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},7386:function(t,e,n){var i=n(8987),r=Function.prototype,o=r.bind,s=r.call,a=i&&o.bind(s,s);t.exports=i?function(t){return t&&a(t)}:function(t){return t&&function(){return s.apply(t,arguments)}}},5897:function(t,e,n){var i=n(7583),r=n(9212),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t]):i[t]&&i[t][e]}},8272:function(t,e,n){var i=n(3058),r=n(911),o=n(339),s=n(3649)("iterator");t.exports=function(t){if(null!=t)return r(t,s)||r(t,"@@iterator")||o[i(t)]}},6307:function(t,e,n){var i=n(7583),r=n(8262),o=n(8257),s=n(2569),a=n(5637),c=n(8272),l=i.TypeError;t.exports=function(t,e){var n=arguments.length<2?c(t):e;if(o(n))return s(r(n,t));throw l(a(t)+" is not iterable")}},911:function(t,e,n){var i=n(8257);t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},7583:function(t,e,n){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2870:function(t,e,n){var i=n(7386),r=n(1324),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},4639:function(t){t.exports={}},2716:function(t,e,n){var i=n(7583);t.exports=function(t,e){var n=i.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},482:function(t,e,n){var i=n(5897);t.exports=i("document","documentElement")},275:function(t,e,n){var i=n(8494),r=n(6544),o=n(6668);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},5044:function(t,e,n){var i=n(7583),r=n(7386),o=n(6544),s=n(9624),a=i.Object,c=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==s(t)?c(t,""):a(t)}:a},9734:function(t,e,n){var i=n(7386),r=n(9212),o=n(1314),s=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},4402:function(t,e,n){var i=n(794),r=n(57);t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},2743:function(t,e,n){var i,r,o,s=n(9491),a=n(7583),c=n(7386),l=n(794),u=n(57),d=n(2870),h=n(1314),f=n(9137),p=n(4639),v="Object already initialized",m=a.TypeError,g=a.WeakMap;if(s||h.state){var _=h.state||(h.state=new g),b=c(_.get),y=c(_.has),w=c(_.set);i=function(t,e){if(y(_,t))throw new m(v);return e.facade=t,w(_,t,e),e},r=function(t){return b(_,t)||{}},o=function(t){return y(_,t)}}else{var x=f("state");p[x]=!0,i=function(t,e){if(d(t,x))throw new m(v);return e.facade=t,u(t,x,e),e},r=function(t){return d(t,x)?t[x]:{}},o=function(t){return d(t,x)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},114:function(t,e,n){var i=n(3649),r=n(339),o=i("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[o]===t)}},4521:function(t,e,n){var i=n(9624);t.exports=Array.isArray||function(t){return"Array"==i(t)}},9212:function(t){t.exports=function(t){return"function"==typeof t}},2097:function(t,e,n){var i=n(7386),r=n(6544),o=n(9212),s=n(3058),a=n(5897),c=n(9734),l=function(){},u=[],d=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=i(h.exec),p=!h.exec(l),v=function(t){if(!o(t))return!1;try{return d(l,u,t),!0}catch(t){return!1}},m=function(t){if(!o(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!d||r((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?m:v},4451:function(t,e,n){var i=n(6544),r=n(9212),o=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==u||n!=l&&(r(e)?i(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},794:function(t,e,n){var i=n(9212);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},6268:function(t){t.exports=!1},5871:function(t,e,n){var i=n(7583),r=n(5897),o=n(9212),s=n(2447),a=n(7786),c=i.Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&s(e.prototype,c(t))}},4026:function(t,e,n){var i=n(7583),r=n(2938),o=n(8262),s=n(2569),a=n(5637),c=n(114),l=n(1825),u=n(2447),d=n(6307),h=n(8272),f=n(7093),p=i.TypeError,v=function(t,e){this.stopped=t,this.result=e},m=v.prototype;t.exports=function(t,e,n){var i,g,_,b,y,w,x,S=n&&n.that,C=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),O=r(e,S),T=function(t){return i&&f(i,"normal",t),new v(!0,t)},$=function(t){return C?(s(t),k?O(t[0],t[1],T):O(t[0],t[1])):k?O(t,T):O(t)};if(E)i=t;else{if(!(g=h(t)))throw p(a(t)+" is not iterable");if(c(g)){for(_=0,b=l(t);b>_;_++)if((y=$(t[_]))&&u(m,y))return y;return new v(!1)}i=d(t,g)}for(w=i.next;!(x=o(w,i)).done;){try{y=$(x.value)}catch(t){f(i,"throw",t)}if("object"==typeof y&&y&&u(m,y))return y}return new v(!1)}},7093:function(t,e,n){var i=n(8262),r=n(2569),o=n(911);t.exports=function(t,e,n){var s,a;r(t);try{if(!(s=o(t,"return"))){if("throw"===e)throw n;return n}s=i(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw n;if(a)throw s;return r(s),n}},2365:function(t,e,n){"use strict";var i,r,o,s=n(6544),a=n(9212),c=n(3590),l=n(729),u=n(1270),d=n(3649),h=n(6268),f=d("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(r=l(l(o)))!==Object.prototype&&(i=r):p=!0),null==i||s((function(){var t={};return i[f].call(t)!==t}))?i={}:h&&(i=c(i)),a(i[f])||u(i,f,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},339:function(t){t.exports={}},1825:function(t,e,n){var i=n(97);t.exports=function(t){return i(t.length)}},2095:function(t,e,n){var i,r,o,s,a,c,l,u,d=n(7583),h=n(2938),f=n(6683).f,p=n(8117).set,v=n(7020),m=n(3256),g=n(6846),_=n(5354),b=d.MutationObserver||d.WebKitMutationObserver,y=d.document,w=d.process,x=d.Promise,S=f(d,"queueMicrotask"),C=S&&S.value;C||(i=function(){var t,e;for(_&&(t=w.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?s():o=void 0,t}}o=void 0,t&&t.enter()},v||_||g||!b||!y?!m&&x&&x.resolve?((l=x.resolve(void 0)).constructor=x,u=h(l.then,l),s=function(){u(i)}):_?s=function(){w.nextTick(i)}:(p=h(p,d),s=function(){p(i)}):(a=!0,c=y.createTextNode(""),new b(i).observe(c,{characterData:!0}),s=function(){c.data=a=!a})),t.exports=C||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,s()),o=e}},783:function(t,e,n){var i=n(7583);t.exports=i.Promise},8640:function(t,e,n){var i=n(4061),r=n(6544);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},9491:function(t,e,n){var i=n(7583),r=n(9212),o=n(9734),s=i.WeakMap;t.exports=r(s)&&/native code/.test(o(s))},5084:function(t,e,n){"use strict";var i=n(8257),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},2764:function(t,e,n){var i=n(8320);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},3590:function(t,e,n){var i,r=n(2569),o=n(8728),s=n(5690),a=n(4639),c=n(482),l=n(6668),u=n(9137),d=u("IE_PROTO"),h=function(){},f=function(t){return"