Commit 9b22a807 authored by wangqinghua's avatar wangqinghua

update

parent 78cf4bc3
No preview for this file type
{ {
"prepare_queue": { "prepare_queue": {
"installed": [], "installed": [],
"uninstalled": [] "uninstalled": []
}, },
"config_munge": { "config_munge": {
"files": { "files": {
"AndroidManifest.xml": { "AndroidManifest.xml": {
"parents": { "parents": {
"/manifest": [ "/manifest": [
{ {
"xml": "<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\" />", "xml": "<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\" />",
"count": 22 "count": 22
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.INTERNET\" />", "xml": "<uses-permission android:name=\"android.permission.INTERNET\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />", "xml": "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" />", "xml": "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" />",
"count": 2 "count": 2
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />", "xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" />", "xml": "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" />", "xml": "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.BLUETOOTH\" />", "xml": "<uses-permission android:name=\"android.permission.BLUETOOTH\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-feature android:name=\"android.hardware.telephony\" android:required=\"false\" />", "xml": "<uses-feature android:name=\"android.hardware.telephony\" android:required=\"false\" />",
"count": 1 "count": 1
} }
], ],
"/*": [ "/*": [
{ {
"xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />", "xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
"count": 3 "count": 3
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" />", "xml": "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" />", "xml": "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-feature android:name=\"android.hardware.location.gps\" />", "xml": "<uses-feature android:name=\"android.hardware.location.gps\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />", "xml": "<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.INTERNET\" />", "xml": "<uses-permission android:name=\"android.permission.INTERNET\" />",
"count": 1 "count": 1
}, },
{ {
"xml": "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />", "xml": "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
"count": 1 "count": 1
}
],
"/manifest/application": [
{
"xml": "<provider android:authorities=\"${applicationId}.opener.provider\" android:exported=\"false\" android:grantUriPermissions=\"true\" android:name=\"io.github.pwlin.cordova.plugins.fileopener2.FileProvider\"><meta-data android:name=\"android.support.FILE_PROVIDER_PATHS\" android:resource=\"@xml/opener_paths\" /></provider>",
"count": 1
}
],
"application": [
{
"xml": "<provider android:authorities=\"${applicationId}.provider\" android:exported=\"false\" android:grantUriPermissions=\"true\" android:name=\"org.apache.cordova.camera.FileProvider\"><meta-data android:name=\"android.support.FILE_PROVIDER_PATHS\" android:resource=\"@xml/camera_provider_paths\" /></provider>",
"count": 1
}
]
}
},
"config.xml": {
"parents": {
"/*": [
{
"xml": "<feature name=\"Keyboard\"><param name=\"android-package\" onload=\"true\" value=\"io.ionic.keyboard.IonicKeyboard\" /></feature>",
"count": 1
},
{
"xml": "<preference name=\"loadUrlTimeoutValue\" value=\"60000\" />",
"count": 1
},
{
"xml": "<feature name=\"Diagnostic\"><param name=\"android-package\" value=\"cordova.plugins.Diagnostic\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Device\"><param name=\"android-package\" value=\"org.apache.cordova.device.Device\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"NetworkStatus\"><param name=\"android-package\" value=\"org.apache.cordova.networkinformation.NetworkManager\" /></feature>",
"count": 1
},
{
"xml": "<access origin=\"https://ssl.gstatic.com/accessibility/javascript/android/*\" />",
"count": 1
},
{
"xml": "<feature name=\"MobileAccessibility\"><param name=\"android-package\" value=\"com.phonegap.plugin.mobileaccessibility.MobileAccessibility\" /></feature>",
"count": 1
}
]
}
},
"res/xml/config.xml": {
"parents": {
"/*": [
{
"xml": "<feature name=\"AppVersion\"><param name=\"android-package\" value=\"uk.co.whiteoctober.cordova.AppVersion\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Badge\"><param name=\"android-package\" value=\"de.appplant.cordova.plugin.badge.Badge\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Device\"><param name=\"android-package\" value=\"org.apache.cordova.device.Device\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"File\"><param name=\"android-package\" value=\"org.apache.cordova.file.FileUtils\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<allow-navigation href=\"cdvfile:*\" />",
"count": 1
},
{
"xml": "<feature name=\"Geolocation\"><param name=\"android-package\" value=\"org.apache.cordova.geolocation.Geolocation\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Whitelist\"><param name=\"android-package\" value=\"org.apache.cordova.whitelist.WhitelistPlugin\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"FileOpener2\"><param name=\"android-package\" value=\"io.github.pwlin.cordova.plugins.fileopener2.FileOpener2\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"HotCodePush\"><param name=\"android-package\" value=\"com.nordnetab.chcp.main.HotCodePushPlugin\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"StatusBar\"><param name=\"android-package\" value=\"org.apache.cordova.statusbar.StatusBar\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Downloader\"><param name=\"android-package\" value=\"hr.integrator.cordova.plugins.downloader.Downloader\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"NetworkStatus\"><param name=\"android-package\" value=\"org.apache.cordova.networkinformation.NetworkManager\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Camera\"><param name=\"android-package\" value=\"org.apache.cordova.camera.CameraLauncher\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"FileTransfer\"><param name=\"android-package\" value=\"org.apache.cordova.filetransfer.FileTransfer\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"SplashScreen\"><param name=\"android-package\" value=\"org.apache.cordova.splashscreen.SplashScreen\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"VideoPlayer\"><param name=\"android-package\" value=\"com.moust.cordova.videoplayer.VideoPlayer\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"CDVOrientation\"><param name=\"android-package\" value=\"cordova.plugins.screenorientation.CDVOrientation\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"AppAvailability\"><param name=\"android-package\" value=\"com.ohh2ahh.appavailability.AppAvailability\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Sms\"><param name=\"android-package\" value=\"com.cordova.plugins.sms.Sms\" /></feature>",
"count": 1
}
]
}
} }
],
"/manifest/application": [
{
"xml": "<provider android:authorities=\"${applicationId}.opener.provider\" android:exported=\"false\" android:grantUriPermissions=\"true\" android:name=\"io.github.pwlin.cordova.plugins.fileopener2.FileProvider\"><meta-data android:name=\"android.support.FILE_PROVIDER_PATHS\" android:resource=\"@xml/opener_paths\" /></provider>",
"count": 1
}
],
"application": [
{
"xml": "<provider android:authorities=\"${applicationId}.provider\" android:exported=\"false\" android:grantUriPermissions=\"true\" android:name=\"org.apache.cordova.camera.FileProvider\"><meta-data android:name=\"android.support.FILE_PROVIDER_PATHS\" android:resource=\"@xml/camera_provider_paths\" /></provider>",
"count": 1
}
]
} }
}, },
"installed_plugins": { "config.xml": {
"cordova-plugin-app-version": { "parents": {
"PACKAGE_NAME": "io.ionic.starter" "/*": [
}, {
"cordova-plugin-badge": { "xml": "<feature name=\"Keyboard\"><param name=\"android-package\" onload=\"true\" value=\"io.ionic.keyboard.IonicKeyboard\" /></feature>",
"PACKAGE_NAME": "io.ionic.starter" "count": 1
}, },
"cordova-plugin-device": { {
"PACKAGE_NAME": "io.ionic.starter" "xml": "<preference name=\"loadUrlTimeoutValue\" value=\"60000\" />",
}, "count": 1
"cordova-plugin-file": { },
"PACKAGE_NAME": "io.ionic.starter" {
}, "xml": "<feature name=\"Diagnostic\"><param name=\"android-package\" value=\"cordova.plugins.Diagnostic\" /></feature>",
"cordova-plugin-geolocation": { "count": 1
"PACKAGE_NAME": "io.ionic.starter" },
}, {
"cordova-plugin-ionic-webview": { "xml": "<feature name=\"Device\"><param name=\"android-package\" value=\"org.apache.cordova.device.Device\" /></feature>",
"PACKAGE_NAME": "io.ionic.starter" "count": 1
}, },
"cordova-plugin-whitelist": { {
"PACKAGE_NAME": "io.ionic.starter" "xml": "<feature name=\"NetworkStatus\"><param name=\"android-package\" value=\"org.apache.cordova.networkinformation.NetworkManager\" /></feature>",
}, "count": 1
"cordova-plugin-file-opener2": { },
"PACKAGE_NAME": "io.ionic.starter" {
}, "xml": "<access origin=\"https://ssl.gstatic.com/accessibility/javascript/android/*\" />",
"cordova-plugin-ionic-keyboard": { "count": 1
"PACKAGE_NAME": "io.ionic.starter" },
}, {
"cordova-hot-code-push-plugin": { "xml": "<feature name=\"MobileAccessibility\"><param name=\"android-package\" value=\"com.phonegap.plugin.mobileaccessibility.MobileAccessibility\" /></feature>",
"PACKAGE_NAME": "io.ionic.starter" "count": 1
}, }
"cordova-plugin-statusbar": { ]
"PACKAGE_NAME": "io.ionic.starter"
},
"cordova.plugins.diagnostic": {
"PACKAGE_NAME": "io.ionic.smart19.starter.test"
},
"integrator-cordova-plugin-downloader": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-network-information": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"phonegap-plugin-mobile-accessibility": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-camera": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-file-transfer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-splashscreen": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"com.moust.cordova.videoplayer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"es6-promise-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-screen-orientation": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-sms-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
} }
}, },
"dependent_plugins": {}, "res/xml/config.xml": {
"modules": [ "parents": {
{ "/*": [
"id": "cordova-plugin-app-version.AppVersionPlugin", {
"file": "plugins/cordova-plugin-app-version/www/AppVersionPlugin.js", "xml": "<feature name=\"AppVersion\"><param name=\"android-package\" value=\"uk.co.whiteoctober.cordova.AppVersion\" /></feature>",
"pluginId": "cordova-plugin-app-version", "count": 1
"clobbers": [ },
"cordova.getAppVersion" {
] "xml": "<feature name=\"Badge\"><param name=\"android-package\" value=\"de.appplant.cordova.plugin.badge.Badge\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-badge.Badge", {
"file": "plugins/cordova-plugin-badge/www/badge.js", "xml": "<feature name=\"Device\"><param name=\"android-package\" value=\"org.apache.cordova.device.Device\" /></feature>",
"pluginId": "cordova-plugin-badge", "count": 1
"clobbers": [ },
"cordova.plugins.notification.badge" {
] "xml": "<feature name=\"File\"><param name=\"android-package\" value=\"org.apache.cordova.file.FileUtils\" /><param name=\"onload\" value=\"true\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-device.device", {
"file": "plugins/cordova-plugin-device/www/device.js", "xml": "<allow-navigation href=\"cdvfile:*\" />",
"pluginId": "cordova-plugin-device", "count": 1
"clobbers": [ },
"device" {
] "xml": "<feature name=\"Geolocation\"><param name=\"android-package\" value=\"org.apache.cordova.geolocation.Geolocation\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-file.DirectoryEntry", {
"file": "plugins/cordova-plugin-file/www/DirectoryEntry.js", "xml": "<feature name=\"Whitelist\"><param name=\"android-package\" value=\"org.apache.cordova.whitelist.WhitelistPlugin\" /><param name=\"onload\" value=\"true\" /></feature>",
"pluginId": "cordova-plugin-file", "count": 1
"clobbers": [ },
"window.DirectoryEntry" {
] "xml": "<feature name=\"FileOpener2\"><param name=\"android-package\" value=\"io.github.pwlin.cordova.plugins.fileopener2.FileOpener2\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-file.DirectoryReader", {
"file": "plugins/cordova-plugin-file/www/DirectoryReader.js", "xml": "<feature name=\"HotCodePush\"><param name=\"android-package\" value=\"com.nordnetab.chcp.main.HotCodePushPlugin\" /><param name=\"onload\" value=\"true\" /></feature>",
"pluginId": "cordova-plugin-file", "count": 1
"clobbers": [ },
"window.DirectoryReader" {
] "xml": "<feature name=\"StatusBar\"><param name=\"android-package\" value=\"org.apache.cordova.statusbar.StatusBar\" /><param name=\"onload\" value=\"true\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-file.Entry", {
"file": "plugins/cordova-plugin-file/www/Entry.js", "xml": "<feature name=\"Downloader\"><param name=\"android-package\" value=\"hr.integrator.cordova.plugins.downloader.Downloader\" /></feature>",
"pluginId": "cordova-plugin-file", "count": 1
"clobbers": [ },
"window.Entry" {
] "xml": "<feature name=\"NetworkStatus\"><param name=\"android-package\" value=\"org.apache.cordova.networkinformation.NetworkManager\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-file.File", {
"file": "plugins/cordova-plugin-file/www/File.js", "xml": "<feature name=\"Camera\"><param name=\"android-package\" value=\"org.apache.cordova.camera.CameraLauncher\" /></feature>",
"pluginId": "cordova-plugin-file", "count": 1
"clobbers": [ },
"window.File" {
] "xml": "<feature name=\"FileTransfer\"><param name=\"android-package\" value=\"org.apache.cordova.filetransfer.FileTransfer\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-file.FileEntry", {
"file": "plugins/cordova-plugin-file/www/FileEntry.js", "xml": "<feature name=\"SplashScreen\"><param name=\"android-package\" value=\"org.apache.cordova.splashscreen.SplashScreen\" /><param name=\"onload\" value=\"true\" /></feature>",
"pluginId": "cordova-plugin-file", "count": 1
"clobbers": [ },
"window.FileEntry" {
] "xml": "<feature name=\"VideoPlayer\"><param name=\"android-package\" value=\"com.moust.cordova.videoplayer.VideoPlayer\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-file.FileError", {
"file": "plugins/cordova-plugin-file/www/FileError.js", "xml": "<feature name=\"CDVOrientation\"><param name=\"android-package\" value=\"cordova.plugins.screenorientation.CDVOrientation\" /></feature>",
"pluginId": "cordova-plugin-file", "count": 1
"clobbers": [ },
"window.FileError" {
] "xml": "<feature name=\"AppAvailability\"><param name=\"android-package\" value=\"com.ohh2ahh.appavailability.AppAvailability\" /></feature>",
}, "count": 1
{ },
"id": "cordova-plugin-file.FileReader", {
"file": "plugins/cordova-plugin-file/www/FileReader.js", "xml": "<feature name=\"Sms\"><param name=\"android-package\" value=\"com.cordova.plugins.sms.Sms\" /></feature>",
"pluginId": "cordova-plugin-file", "count": 1
"clobbers": [ }
"window.FileReader" ]
]
},
{
"id": "cordova-plugin-file.FileSystem",
"file": "plugins/cordova-plugin-file/www/FileSystem.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileSystem"
]
},
{
"id": "cordova-plugin-file.FileUploadOptions",
"file": "plugins/cordova-plugin-file/www/FileUploadOptions.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileUploadOptions"
]
},
{
"id": "cordova-plugin-file.FileUploadResult",
"file": "plugins/cordova-plugin-file/www/FileUploadResult.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileUploadResult"
]
},
{
"id": "cordova-plugin-file.FileWriter",
"file": "plugins/cordova-plugin-file/www/FileWriter.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileWriter"
]
},
{
"id": "cordova-plugin-file.Flags",
"file": "plugins/cordova-plugin-file/www/Flags.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.Flags"
]
},
{
"id": "cordova-plugin-file.LocalFileSystem",
"file": "plugins/cordova-plugin-file/www/LocalFileSystem.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.LocalFileSystem"
],
"merges": [
"window"
]
},
{
"id": "cordova-plugin-file.Metadata",
"file": "plugins/cordova-plugin-file/www/Metadata.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.Metadata"
]
},
{
"id": "cordova-plugin-file.ProgressEvent",
"file": "plugins/cordova-plugin-file/www/ProgressEvent.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.ProgressEvent"
]
},
{
"id": "cordova-plugin-file.fileSystems",
"file": "plugins/cordova-plugin-file/www/fileSystems.js",
"pluginId": "cordova-plugin-file"
},
{
"id": "cordova-plugin-file.requestFileSystem",
"file": "plugins/cordova-plugin-file/www/requestFileSystem.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.requestFileSystem"
]
},
{
"id": "cordova-plugin-file.resolveLocalFileSystemURI",
"file": "plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js",
"pluginId": "cordova-plugin-file",
"merges": [
"window"
]
},
{
"id": "cordova-plugin-file.isChrome",
"file": "plugins/cordova-plugin-file/www/browser/isChrome.js",
"pluginId": "cordova-plugin-file",
"runs": true
},
{
"id": "cordova-plugin-file.androidFileSystem",
"file": "plugins/cordova-plugin-file/www/android/FileSystem.js",
"pluginId": "cordova-plugin-file",
"merges": [
"FileSystem"
]
},
{
"id": "cordova-plugin-file.fileSystems-roots",
"file": "plugins/cordova-plugin-file/www/fileSystems-roots.js",
"pluginId": "cordova-plugin-file",
"runs": true
},
{
"id": "cordova-plugin-file.fileSystemPaths",
"file": "plugins/cordova-plugin-file/www/fileSystemPaths.js",
"pluginId": "cordova-plugin-file",
"merges": [
"cordova"
],
"runs": true
},
{
"id": "cordova-plugin-geolocation.geolocation",
"file": "plugins/cordova-plugin-geolocation/www/android/geolocation.js",
"pluginId": "cordova-plugin-geolocation",
"clobbers": [
"navigator.geolocation"
]
},
{
"id": "cordova-plugin-geolocation.PositionError",
"file": "plugins/cordova-plugin-geolocation/www/PositionError.js",
"pluginId": "cordova-plugin-geolocation",
"runs": true
},
{
"id": "cordova-plugin-file-opener2.FileOpener2",
"file": "plugins/cordova-plugin-file-opener2/www/plugins.FileOpener2.js",
"pluginId": "cordova-plugin-file-opener2",
"clobbers": [
"cordova.plugins.fileOpener2"
]
},
{
"id": "cordova-plugin-ionic-keyboard.keyboard",
"file": "plugins/cordova-plugin-ionic-keyboard/www/android/keyboard.js",
"pluginId": "cordova-plugin-ionic-keyboard",
"clobbers": [
"window.Keyboard"
]
},
{
"id": "cordova-hot-code-push-plugin.chcp",
"file": "plugins/cordova-hot-code-push-plugin/www/chcp.js",
"pluginId": "cordova-hot-code-push-plugin",
"clobbers": [
"chcp"
]
},
{
"id": "cordova-plugin-statusbar.statusbar",
"file": "plugins/cordova-plugin-statusbar/www/statusbar.js",
"pluginId": "cordova-plugin-statusbar",
"clobbers": [
"window.StatusBar"
]
},
{
"id": "cordova.plugins.diagnostic.Diagnostic",
"file": "plugins/cordova.plugins.diagnostic/www/android/diagnostic.js",
"pluginId": "cordova.plugins.diagnostic",
"clobbers": [
"cordova.plugins.diagnostic"
]
},
{
"id": "integrator-cordova-plugin-downloader.Downloader",
"file": "plugins/integrator-cordova-plugin-downloader/www/Downloader.js",
"pluginId": "integrator-cordova-plugin-downloader",
"clobbers": [
"cordova.plugins.Downloader"
]
},
{
"id": "cordova-plugin-network-information.network",
"file": "plugins/cordova-plugin-network-information/www/network.js",
"pluginId": "cordova-plugin-network-information",
"clobbers": [
"navigator.connection",
"navigator.network.connection"
]
},
{
"id": "cordova-plugin-network-information.Connection",
"file": "plugins/cordova-plugin-network-information/www/Connection.js",
"pluginId": "cordova-plugin-network-information",
"clobbers": [
"Connection"
]
},
{
"id": "phonegap-plugin-mobile-accessibility.mobile-accessibility",
"file": "plugins/phonegap-plugin-mobile-accessibility/www/mobile-accessibility.js",
"pluginId": "phonegap-plugin-mobile-accessibility",
"clobbers": [
"window.MobileAccessibility"
]
},
{
"id": "phonegap-plugin-mobile-accessibility.MobileAccessibilityNotifications",
"file": "plugins/phonegap-plugin-mobile-accessibility/www/MobileAccessibilityNotifications.js",
"pluginId": "phonegap-plugin-mobile-accessibility",
"clobbers": [
"MobileAccessibilityNotifications"
]
},
{
"id": "cordova-plugin-camera.Camera",
"file": "plugins/cordova-plugin-camera/www/CameraConstants.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"Camera"
]
},
{
"id": "cordova-plugin-camera.CameraPopoverOptions",
"file": "plugins/cordova-plugin-camera/www/CameraPopoverOptions.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"CameraPopoverOptions"
]
},
{
"id": "cordova-plugin-camera.camera",
"file": "plugins/cordova-plugin-camera/www/Camera.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"navigator.camera"
]
},
{
"id": "cordova-plugin-camera.CameraPopoverHandle",
"file": "plugins/cordova-plugin-camera/www/CameraPopoverHandle.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"CameraPopoverHandle"
]
},
{
"id": "cordova-plugin-file-transfer.FileTransferError",
"file": "plugins/cordova-plugin-file-transfer/www/FileTransferError.js",
"pluginId": "cordova-plugin-file-transfer",
"clobbers": [
"window.FileTransferError"
]
},
{
"id": "cordova-plugin-file-transfer.FileTransfer",
"file": "plugins/cordova-plugin-file-transfer/www/FileTransfer.js",
"pluginId": "cordova-plugin-file-transfer",
"clobbers": [
"window.FileTransfer"
]
},
{
"id": "cordova-plugin-splashscreen.SplashScreen",
"file": "plugins/cordova-plugin-splashscreen/www/splashscreen.js",
"pluginId": "cordova-plugin-splashscreen",
"clobbers": [
"navigator.splashscreen"
]
},
{
"id": "com.moust.cordova.videoplayer.VideoPlayer",
"file": "plugins/com.moust.cordova.videoplayer/www/videoplayer.js",
"pluginId": "com.moust.cordova.videoplayer",
"clobbers": [
"VideoPlayer"
]
},
{
"id": "es6-promise-plugin.Promise",
"file": "plugins/es6-promise-plugin/www/promise.js",
"pluginId": "es6-promise-plugin",
"runs": true
},
{
"id": "cordova-plugin-screen-orientation.screenorientation",
"file": "plugins/cordova-plugin-screen-orientation/www/screenorientation.js",
"pluginId": "cordova-plugin-screen-orientation",
"clobbers": [
"cordova.plugins.screenorientation"
]
},
{
"id": "cordova-plugin-appavailability.AppAvailability",
"file": "plugins/cordova-plugin-appavailability/www/AppAvailability.js",
"pluginId": "cordova-plugin-appavailability",
"clobbers": [
"appAvailability"
]
},
{
"id": "cordova-sms-plugin.Sms",
"file": "plugins/cordova-sms-plugin/www/sms.js",
"pluginId": "cordova-sms-plugin",
"clobbers": [
"window.sms"
]
} }
], }
"plugin_metadata": { }
"cordova-plugin-app-version": "0.1.9", },
"cordova-plugin-badge": "0.8.7", "installed_plugins": {
"cordova-plugin-device": "2.0.1", "cordova-plugin-app-version": {
"cordova-plugin-file": "6.0.1", "PACKAGE_NAME": "io.ionic.starter"
"cordova-plugin-geolocation": "4.0.1", },
"cordova-plugin-ionic-webview": "1.1.16", "cordova-plugin-badge": {
"cordova-plugin-whitelist": "1.3.3", "PACKAGE_NAME": "io.ionic.starter"
"cordova-plugin-file-opener2": "2.0.19", },
"cordova-plugin-ionic-keyboard": "2.1.3", "cordova-plugin-device": {
"cordova-hot-code-push-plugin": "1.5.3", "PACKAGE_NAME": "io.ionic.starter"
"cordova-plugin-statusbar": "2.4.2", },
"cordova.plugins.diagnostic": "2.0.0", "cordova-plugin-file": {
"integrator-cordova-plugin-downloader": "0.0.1", "PACKAGE_NAME": "io.ionic.starter"
"cordova-plugin-network-information": "2.0.2-dev", },
"phonegap-plugin-mobile-accessibility": "1.0.5-dev", "cordova-plugin-geolocation": {
"cordova-plugin-camera": "4.0.3", "PACKAGE_NAME": "io.ionic.starter"
"cordova-plugin-file-transfer": "1.7.1", },
"cordova-plugin-splashscreen": "5.0.2", "cordova-plugin-ionic-webview": {
"com.moust.cordova.videoplayer": "1.0.1", "PACKAGE_NAME": "io.ionic.starter"
"es6-promise-plugin": "4.2.2", },
"cordova-plugin-screen-orientation": "3.0.1", "cordova-plugin-whitelist": {
"cordova-plugin-appavailability": "0.4.2", "PACKAGE_NAME": "io.ionic.starter"
"cordova-sms-plugin": "1.0.0" },
"cordova-plugin-file-opener2": {
"PACKAGE_NAME": "io.ionic.starter"
},
"cordova-plugin-ionic-keyboard": {
"PACKAGE_NAME": "io.ionic.starter"
},
"cordova-hot-code-push-plugin": {
"PACKAGE_NAME": "io.ionic.starter"
},
"cordova-plugin-statusbar": {
"PACKAGE_NAME": "io.ionic.starter"
},
"cordova.plugins.diagnostic": {
"PACKAGE_NAME": "io.ionic.smart19.starter.test"
},
"integrator-cordova-plugin-downloader": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-network-information": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"phonegap-plugin-mobile-accessibility": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-camera": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-file-transfer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-splashscreen": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"com.moust.cordova.videoplayer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"es6-promise-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-screen-orientation": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-sms-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
}
},
"dependent_plugins": {},
"modules": [
{
"id": "cordova-plugin-app-version.AppVersionPlugin",
"file": "plugins/cordova-plugin-app-version/www/AppVersionPlugin.js",
"pluginId": "cordova-plugin-app-version",
"clobbers": [
"cordova.getAppVersion"
]
},
{
"id": "cordova-plugin-badge.Badge",
"file": "plugins/cordova-plugin-badge/www/badge.js",
"pluginId": "cordova-plugin-badge",
"clobbers": [
"cordova.plugins.notification.badge"
]
},
{
"id": "cordova-plugin-device.device",
"file": "plugins/cordova-plugin-device/www/device.js",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"id": "cordova-plugin-file.DirectoryEntry",
"file": "plugins/cordova-plugin-file/www/DirectoryEntry.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.DirectoryEntry"
]
},
{
"id": "cordova-plugin-file.DirectoryReader",
"file": "plugins/cordova-plugin-file/www/DirectoryReader.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.DirectoryReader"
]
},
{
"id": "cordova-plugin-file.Entry",
"file": "plugins/cordova-plugin-file/www/Entry.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.Entry"
]
},
{
"id": "cordova-plugin-file.File",
"file": "plugins/cordova-plugin-file/www/File.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.File"
]
},
{
"id": "cordova-plugin-file.FileEntry",
"file": "plugins/cordova-plugin-file/www/FileEntry.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileEntry"
]
},
{
"id": "cordova-plugin-file.FileError",
"file": "plugins/cordova-plugin-file/www/FileError.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileError"
]
},
{
"id": "cordova-plugin-file.FileReader",
"file": "plugins/cordova-plugin-file/www/FileReader.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileReader"
]
},
{
"id": "cordova-plugin-file.FileSystem",
"file": "plugins/cordova-plugin-file/www/FileSystem.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileSystem"
]
},
{
"id": "cordova-plugin-file.FileUploadOptions",
"file": "plugins/cordova-plugin-file/www/FileUploadOptions.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileUploadOptions"
]
},
{
"id": "cordova-plugin-file.FileUploadResult",
"file": "plugins/cordova-plugin-file/www/FileUploadResult.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileUploadResult"
]
},
{
"id": "cordova-plugin-file.FileWriter",
"file": "plugins/cordova-plugin-file/www/FileWriter.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.FileWriter"
]
},
{
"id": "cordova-plugin-file.Flags",
"file": "plugins/cordova-plugin-file/www/Flags.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.Flags"
]
},
{
"id": "cordova-plugin-file.LocalFileSystem",
"file": "plugins/cordova-plugin-file/www/LocalFileSystem.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.LocalFileSystem"
],
"merges": [
"window"
]
},
{
"id": "cordova-plugin-file.Metadata",
"file": "plugins/cordova-plugin-file/www/Metadata.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.Metadata"
]
},
{
"id": "cordova-plugin-file.ProgressEvent",
"file": "plugins/cordova-plugin-file/www/ProgressEvent.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.ProgressEvent"
]
},
{
"id": "cordova-plugin-file.fileSystems",
"file": "plugins/cordova-plugin-file/www/fileSystems.js",
"pluginId": "cordova-plugin-file"
},
{
"id": "cordova-plugin-file.requestFileSystem",
"file": "plugins/cordova-plugin-file/www/requestFileSystem.js",
"pluginId": "cordova-plugin-file",
"clobbers": [
"window.requestFileSystem"
]
},
{
"id": "cordova-plugin-file.resolveLocalFileSystemURI",
"file": "plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js",
"pluginId": "cordova-plugin-file",
"merges": [
"window"
]
},
{
"id": "cordova-plugin-file.isChrome",
"file": "plugins/cordova-plugin-file/www/browser/isChrome.js",
"pluginId": "cordova-plugin-file",
"runs": true
},
{
"id": "cordova-plugin-file.androidFileSystem",
"file": "plugins/cordova-plugin-file/www/android/FileSystem.js",
"pluginId": "cordova-plugin-file",
"merges": [
"FileSystem"
]
},
{
"id": "cordova-plugin-file.fileSystems-roots",
"file": "plugins/cordova-plugin-file/www/fileSystems-roots.js",
"pluginId": "cordova-plugin-file",
"runs": true
},
{
"id": "cordova-plugin-file.fileSystemPaths",
"file": "plugins/cordova-plugin-file/www/fileSystemPaths.js",
"pluginId": "cordova-plugin-file",
"merges": [
"cordova"
],
"runs": true
},
{
"id": "cordova-plugin-geolocation.geolocation",
"file": "plugins/cordova-plugin-geolocation/www/android/geolocation.js",
"pluginId": "cordova-plugin-geolocation",
"clobbers": [
"navigator.geolocation"
]
},
{
"id": "cordova-plugin-geolocation.PositionError",
"file": "plugins/cordova-plugin-geolocation/www/PositionError.js",
"pluginId": "cordova-plugin-geolocation",
"runs": true
},
{
"id": "cordova-plugin-file-opener2.FileOpener2",
"file": "plugins/cordova-plugin-file-opener2/www/plugins.FileOpener2.js",
"pluginId": "cordova-plugin-file-opener2",
"clobbers": [
"cordova.plugins.fileOpener2"
]
},
{
"id": "cordova-plugin-ionic-keyboard.keyboard",
"file": "plugins/cordova-plugin-ionic-keyboard/www/android/keyboard.js",
"pluginId": "cordova-plugin-ionic-keyboard",
"clobbers": [
"window.Keyboard"
]
},
{
"id": "cordova-hot-code-push-plugin.chcp",
"file": "plugins/cordova-hot-code-push-plugin/www/chcp.js",
"pluginId": "cordova-hot-code-push-plugin",
"clobbers": [
"chcp"
]
},
{
"id": "cordova-plugin-statusbar.statusbar",
"file": "plugins/cordova-plugin-statusbar/www/statusbar.js",
"pluginId": "cordova-plugin-statusbar",
"clobbers": [
"window.StatusBar"
]
},
{
"id": "cordova.plugins.diagnostic.Diagnostic",
"file": "plugins/cordova.plugins.diagnostic/www/android/diagnostic.js",
"pluginId": "cordova.plugins.diagnostic",
"clobbers": [
"cordova.plugins.diagnostic"
]
},
{
"id": "integrator-cordova-plugin-downloader.Downloader",
"file": "plugins/integrator-cordova-plugin-downloader/www/Downloader.js",
"pluginId": "integrator-cordova-plugin-downloader",
"clobbers": [
"cordova.plugins.Downloader"
]
},
{
"id": "cordova-plugin-network-information.network",
"file": "plugins/cordova-plugin-network-information/www/network.js",
"pluginId": "cordova-plugin-network-information",
"clobbers": [
"navigator.connection",
"navigator.network.connection"
]
},
{
"id": "cordova-plugin-network-information.Connection",
"file": "plugins/cordova-plugin-network-information/www/Connection.js",
"pluginId": "cordova-plugin-network-information",
"clobbers": [
"Connection"
]
},
{
"id": "phonegap-plugin-mobile-accessibility.mobile-accessibility",
"file": "plugins/phonegap-plugin-mobile-accessibility/www/mobile-accessibility.js",
"pluginId": "phonegap-plugin-mobile-accessibility",
"clobbers": [
"window.MobileAccessibility"
]
},
{
"id": "phonegap-plugin-mobile-accessibility.MobileAccessibilityNotifications",
"file": "plugins/phonegap-plugin-mobile-accessibility/www/MobileAccessibilityNotifications.js",
"pluginId": "phonegap-plugin-mobile-accessibility",
"clobbers": [
"MobileAccessibilityNotifications"
]
},
{
"id": "cordova-plugin-camera.Camera",
"file": "plugins/cordova-plugin-camera/www/CameraConstants.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"Camera"
]
},
{
"id": "cordova-plugin-camera.CameraPopoverOptions",
"file": "plugins/cordova-plugin-camera/www/CameraPopoverOptions.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"CameraPopoverOptions"
]
},
{
"id": "cordova-plugin-camera.camera",
"file": "plugins/cordova-plugin-camera/www/Camera.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"navigator.camera"
]
},
{
"id": "cordova-plugin-camera.CameraPopoverHandle",
"file": "plugins/cordova-plugin-camera/www/CameraPopoverHandle.js",
"pluginId": "cordova-plugin-camera",
"clobbers": [
"CameraPopoverHandle"
]
},
{
"id": "cordova-plugin-file-transfer.FileTransferError",
"file": "plugins/cordova-plugin-file-transfer/www/FileTransferError.js",
"pluginId": "cordova-plugin-file-transfer",
"clobbers": [
"window.FileTransferError"
]
},
{
"id": "cordova-plugin-file-transfer.FileTransfer",
"file": "plugins/cordova-plugin-file-transfer/www/FileTransfer.js",
"pluginId": "cordova-plugin-file-transfer",
"clobbers": [
"window.FileTransfer"
]
},
{
"id": "cordova-plugin-splashscreen.SplashScreen",
"file": "plugins/cordova-plugin-splashscreen/www/splashscreen.js",
"pluginId": "cordova-plugin-splashscreen",
"clobbers": [
"navigator.splashscreen"
]
},
{
"id": "com.moust.cordova.videoplayer.VideoPlayer",
"file": "plugins/com.moust.cordova.videoplayer/www/videoplayer.js",
"pluginId": "com.moust.cordova.videoplayer",
"clobbers": [
"VideoPlayer"
]
},
{
"id": "es6-promise-plugin.Promise",
"file": "plugins/es6-promise-plugin/www/promise.js",
"pluginId": "es6-promise-plugin",
"runs": true
},
{
"id": "cordova-plugin-screen-orientation.screenorientation",
"file": "plugins/cordova-plugin-screen-orientation/www/screenorientation.js",
"pluginId": "cordova-plugin-screen-orientation",
"clobbers": [
"cordova.plugins.screenorientation"
]
},
{
"id": "cordova-plugin-appavailability.AppAvailability",
"file": "plugins/cordova-plugin-appavailability/www/AppAvailability.js",
"pluginId": "cordova-plugin-appavailability",
"clobbers": [
"appAvailability"
]
},
{
"id": "cordova-sms-plugin.Sms",
"file": "plugins/cordova-sms-plugin/www/sms.js",
"pluginId": "cordova-sms-plugin",
"clobbers": [
"window.sms"
]
} }
} ],
\ No newline at end of file "plugin_metadata": {
"cordova-plugin-app-version": "0.1.9",
"cordova-plugin-badge": "0.8.7",
"cordova-plugin-device": "2.0.1",
"cordova-plugin-file": "6.0.1",
"cordova-plugin-geolocation": "4.0.1",
"cordova-plugin-ionic-webview": "1.1.16",
"cordova-plugin-whitelist": "1.3.3",
"cordova-plugin-file-opener2": "2.0.19",
"cordova-plugin-ionic-keyboard": "2.1.3",
"cordova-hot-code-push-plugin": "1.5.3",
"cordova-plugin-statusbar": "2.4.2",
"cordova.plugins.diagnostic": "2.0.0",
"integrator-cordova-plugin-downloader": "0.0.1",
"cordova-plugin-network-information": "2.0.2-dev",
"phonegap-plugin-mobile-accessibility": "1.0.5-dev",
"cordova-plugin-camera": "4.0.3",
"cordova-plugin-file-transfer": "1.7.1",
"cordova-plugin-splashscreen": "5.0.2",
"com.moust.cordova.videoplayer": "1.0.1",
"es6-promise-plugin": "4.2.2",
"cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2",
"cordova-sms-plugin": "1.0.0"
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
#Wed Jul 31 13:18:41 CST 2019 #Sun Aug 04 18:44:56 CST 2019
/Users/ben/.gradle/caches/transforms-1/files-1.1/support-compat-27.1.0.aar/45a22bc138864dd211a4392ad5c08606/res/drawable-xhdpi-v4/notification_bg_normal.9.png=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/res/merged/release/drawable-xhdpi-v4_notification_bg_normal.9.png.flat /Users/ben/.gradle/caches/transforms-1/files-1.1/support-compat-27.1.0.aar/45a22bc138864dd211a4392ad5c08606/res/drawable-xhdpi-v4/notification_bg_normal.9.png=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/res/merged/release/drawable-xhdpi-v4_notification_bg_normal.9.png.flat
/Users/ben/.gradle/caches/transforms-1/files-1.1/support-compat-27.1.0.aar/45a22bc138864dd211a4392ad5c08606/res/drawable-hdpi-v4/notification_bg_low_pressed.9.png=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/res/merged/release/drawable-hdpi-v4_notification_bg_low_pressed.9.png.flat /Users/ben/.gradle/caches/transforms-1/files-1.1/support-compat-27.1.0.aar/45a22bc138864dd211a4392ad5c08606/res/drawable-hdpi-v4/notification_bg_low_pressed.9.png=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/res/merged/release/drawable-hdpi-v4_notification_bg_low_pressed.9.png.flat
/Users/ben/.gradle/caches/transforms-1/files-1.1/support-compat-27.1.0.aar/45a22bc138864dd211a4392ad5c08606/res/layout/notification_action_tombstone.xml=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/res/merged/release/layout_notification_action_tombstone.xml.flat /Users/ben/.gradle/caches/transforms-1/files-1.1/support-compat-27.1.0.aar/45a22bc138864dd211a4392ad5c08606/res/layout/notification_action_tombstone.xml=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/res/merged/release/layout_notification_action_tombstone.xml.flat
......
#Fri Aug 02 15:30:08 CST 2019 #Sun Aug 04 18:45:07 CST 2019
base.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0 base.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0
renamed.0=classes.dex renamed.0=classes.dex
file.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0/classes.dex file.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0/classes.dex
[{"name":"main","index":0,"scopes":["PROJECT","EXTERNAL_LIBRARIES","SUB_PROJECTS"],"types":["DEX"],"format":"DIRECTORY","present":true}] [{"name":"main","index":0,"scopes":["EXTERNAL_LIBRARIES","PROJECT","SUB_PROJECTS"],"types":["DEX"],"format":"DIRECTORY","present":true}]
\ No newline at end of file \ No newline at end of file
...@@ -176,7 +176,7 @@ document.getElementById(id).style.display = 'none'; ...@@ -176,7 +176,7 @@ document.getElementById(id).style.display = 'none';
<span class="mdl-layout-title">Lint Report: 1 error</span> <span class="mdl-layout-title">Lint Report: 1 error</span>
<div class="mdl-layout-spacer"></div> <div class="mdl-layout-spacer"></div>
<nav class="mdl-navigation mdl-layout--large-screen-only"> <nav class="mdl-navigation mdl-layout--large-screen-only">
Check performed at Fri Aug 02 15:30:15 CST 2019 </nav> Check performed at Sun Aug 04 18:45:09 CST 2019 </nav>
</div> </div>
</header> </header>
<div class="mdl-layout__drawer"> <div class="mdl-layout__drawer">
......
...@@ -208,6 +208,16 @@ ion-navbar .header-ios .toolbar-ios:last-child .toolbar-background-ios { ...@@ -208,6 +208,16 @@ ion-navbar .header-ios .toolbar-ios:last-child .toolbar-background-ios {
color: #999; color: #999;
font-size: 2.5rem; font-size: 2.5rem;
} }
span.more{
position: absolute;
padding: 0 5px;
top: 2px;
right: 0;
font-size: 3.5rem;
color: #333;
background-color: #fff1f0;
z-index: 999999;
}
} }
.news-content { .news-content {
...@@ -217,7 +227,7 @@ ion-navbar .header-ios .toolbar-ios:last-child .toolbar-background-ios { ...@@ -217,7 +227,7 @@ ion-navbar .header-ios .toolbar-ios:last-child .toolbar-background-ios {
.tabs-parent { .tabs-parent {
position: relative; position: relative;
font-size: 1.7rem; font-size: 1.6rem;
white-space: nowrap; white-space: nowrap;
background-color: #fff1f0; background-color: #fff1f0;
padding: .5rem 0; padding: .5rem 0;
...@@ -243,7 +253,7 @@ ion-navbar .header-ios .toolbar-ios:last-child .toolbar-background-ios { ...@@ -243,7 +253,7 @@ ion-navbar .header-ios .toolbar-ios:last-child .toolbar-background-ios {
cursor: pointer; cursor: pointer;
height: 3rem; height: 3rem;
line-height: 3rem; line-height: 3rem;
width: calc(100% / 4); width: 7rem;
display: inline-block; display: inline-block;
color: #747378; color: #747378;
} }
......
import {Injectable} from '@angular/core';import {BehaviorSubject, Subscription} from 'rxjs'; @Injectable()export class AppMainService { private roleSource:BehaviorSubject<any> = new BehaviorSubject([]); public role = this.roleSource.asObservable(); //权限赋值 public setRole(value: string){ this.roleSource.next(value); console.log(value); } } import {Injectable} from '@angular/core';import {BehaviorSubject, Subscription} from 'rxjs'; @Injectable()export class AppMainService { private roleSource:BehaviorSubject<any> = new BehaviorSubject([]); public role = this.roleSource.asObservable(); private mineSource:BehaviorSubject<any> = new BehaviorSubject({}); public mineInfo = this.mineSource.asObservable(); //权限赋值 public setRole(value: string){ this.roleSource.next(value); console.log(value); } //个人信息 public setInfo(value: any){ this.mineSource.next(value); console.log(value); } }
\ No newline at end of file \ No newline at end of file
......
<ion-content> <ion-content>
<div class="padding-20-10"> <div class="padding-20-10">
<ion-row> <ion-row>
<ion-col col-4 *ngFor="let item of list" (click)="choose = item"> <ion-col col-4 *ngFor="let item of list" (click)="chooseItem(item)">
<div class="item-style" [ngClass]="choose == item?'select':''"> <div class="item-style" [ngClass]="type == item.type?'select':''">
{{item}} {{item.name}}
</div> </div>
</ion-col> </ion-col>
</ion-row> </ion-row>
......
...@@ -8,7 +8,7 @@ filter { ...@@ -8,7 +8,7 @@ filter {
} }
.select{ .select{
background-color: #fdf8f2; background-color: #fdf8f2;
border: 1px solid #e42417; border: 1px solid #fdf8f2;
color: #e42417; color: #e42417;
} }
} }
...@@ -5,22 +5,32 @@ import {NavParams, ViewController} from "ionic-angular"; ...@@ -5,22 +5,32 @@ import {NavParams, ViewController} from "ionic-angular";
selector: 'filter', selector: 'filter',
templateUrl: 'filter.html' templateUrl: 'filter.html'
}) })
/**
* list = [ { name:"xxx",type:"yyy" } ]
*/
export class FilterComponent { export class FilterComponent {
list = []; list = [];
choose; choose;
type;
constructor(private params: NavParams, constructor(private params: NavParams,
private viewCtrl: ViewController) { private viewCtrl: ViewController) {
this.list = this.params.get("list"); this.list = this.params.get("list");
this.choose = this.params.get("choose"); this.type = this.params.get("type");
console.log(this.type);
}
chooseItem(item){
this.type = item.type;
this.choose = item;
} }
dismiss() { dismiss() {
const data = { this.viewCtrl.dismiss(this.choose);
choose:this.choose
}
this.viewCtrl.dismiss(data);
} }
} }
...@@ -21,10 +21,6 @@ ...@@ -21,10 +21,6 @@
<label class="label2-2">离沪报备</label> <label class="label2-2">离沪报备</label>
<img class="new-logo" *ngIf="hasNew.premanager == 1" src="./assets/imgs/new.png"> <img class="new-logo" *ngIf="hasNew.premanager == 1" src="./assets/imgs/new.png">
</div> </div>
<div class="card" (click)="goDuty()">
<img src="./assets/imgs/home/icon-zbqk.png" alt="">
<label class="label2-2">值班情况</label>
</div>
<ng-container *ngIf="role.includes(1) || role.includes(5) || role.includes(2) || role.includes(3)"> <ng-container *ngIf="role.includes(1) || role.includes(5) || role.includes(2) || role.includes(3)">
<div class="card" (click)="goActivityTrack()"> <div class="card" (click)="goActivityTrack()">
<img src="./assets/imgs/home/icon-hdgz.png" alt=""> <img src="./assets/imgs/home/icon-hdgz.png" alt="">
......
...@@ -102,11 +102,6 @@ export class MoreAppPage { ...@@ -102,11 +102,6 @@ export class MoreAppPage {
this.navCtrl.push("ReportTrackPage"); this.navCtrl.push("ReportTrackPage");
} }
//值班情况
goDuty() {
this.navCtrl.push("DutyPage");
}
goToMySurvey() { goToMySurvey() {
this.navCtrl.push('SurveryPage'); this.navCtrl.push('SurveryPage');
} }
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
<div class="type-div"> <div class="type-div">
<div class="type-list"> <div class="type-list">
<ng-container *ngFor="let item of typeList"> <ng-container *ngFor="let item of typeList">
<div class="type" [ngStyle]="{'color':obj.type == item?'#e42417':''}" (click)="filterType(item)"> <div class="type" [ngStyle]="{'color':obj.type == item.type?'#e42417':''}" (click)="filterType(item)">
{{item}} {{item.name}}
</div> </div>
</ng-container> </ng-container>
</div> </div>
......
...@@ -44,10 +44,10 @@ export class GoodsCollectPage { ...@@ -44,10 +44,10 @@ export class GoodsCollectPage {
constructor(public navCtrl: NavController, public navParams: NavParams, constructor(public navCtrl: NavController, public navParams: NavParams,
private serveSer: ServeService, private modalCtrl: ModalController, private serveSer: ServeService, private modalCtrl: ModalController,
private commonSer: CommonService,private appMainSer:AppMainService) { private commonSer: CommonService, private appMainSer: AppMainService) {
} }
ionViewDidLoad(){ ionViewDidLoad() {
this.getList(); this.getList();
this.getTypeList(); this.getTypeList();
//获取权限 //获取权限
...@@ -63,7 +63,7 @@ export class GoodsCollectPage { ...@@ -63,7 +63,7 @@ export class GoodsCollectPage {
} }
filterType(item) { filterType(item) {
this.obj.type = item; this.obj.type = item.type;
this.getList(); this.getList();
} }
...@@ -87,20 +87,26 @@ export class GoodsCollectPage { ...@@ -87,20 +87,26 @@ export class GoodsCollectPage {
getTypeList() { getTypeList() {
this.serveSer.getTypeList().subscribe( this.serveSer.getTypeList().subscribe(
(res) => { (res) => {
this.typeList = res.data; this.typeList = res.data.map(e => {
const data = {
name: e,
type: e,
};
return data;
});
} }
) )
} }
//打开过滤条件 //打开过滤条件
fliter() { fliter() {
let modal = this.modalCtrl.create(FilterComponent, {list: this.typeList, choose: this.obj.type}, { let modal = this.modalCtrl.create(FilterComponent, {list: this.typeList, type: this.obj.type}, {
enterAnimation: 'modal-from-right-enter', enterAnimation: 'modal-from-right-enter',
leaveAnimation: 'modal-from-right-leave' leaveAnimation: 'modal-from-right-leave'
}); });
modal.onDidDismiss(data => { modal.onDidDismiss(data => {
if (data) { if (data) {
this.filterType(data.choose); this.filterType(data);
} }
}); });
modal.present(); modal.present();
......
...@@ -36,12 +36,15 @@ ...@@ -36,12 +36,15 @@
上午 上午
</div> </div>
<div class="morning-room"> <div class="morning-room">
<span (click)="goApplyEdit(item1)" *ngFor="let item1 of room?.morningUse"> <ng-container *ngFor="let item1 of room?.morningUse">
<span *ngIf="item1.startEnd == 1">9:00-10:00</span> <span *ngIf="role.includes(9) || item1.userName == mineInfo?.username" (click)="goApplyEdit(item1)">
<span *ngIf="item1.startEnd == 2">10:00-11:00</span> <span *ngIf="item1.startEnd == 1">9:00-10:00</span>
<span *ngIf="item1.startEnd == 3">11:00-12:00</span> <span *ngIf="item1.startEnd == 2">10:00-11:00</span>
(已预定) <span *ngIf="item1.startEnd == 3">11:00-12:00</span>
</span> {{item1.userName}}
(已预定)
</span>
</ng-container>
</div> </div>
</div> </div>
<div class="afternoon"> <div class="afternoon">
...@@ -49,12 +52,15 @@ ...@@ -49,12 +52,15 @@
下午 下午
</div> </div>
<div class="morning-room"> <div class="morning-room">
<span (click)="goApplyEdit(item2)" *ngFor="let item2 of room?.afternoonUse"> <ng-container *ngFor="let item2 of room?.afternoonUse">
<span *ngIf="item2.startEnd == 4">14:00-15:00</span> <span *ngIf="role.includes(9) || item2.userName == mineInfo?.username" (click)="goApplyEdit(item2)" >
<span *ngIf="item2.startEnd == 5">15:00-16:00</span> <span *ngIf="item2.startEnd == 4">14:00-15:00</span>
<span *ngIf="item2.startEnd == 6">16:00-17:00</span> <span *ngIf="item2.startEnd == 5">15:00-16:00</span>
(已预定) <span *ngIf="item2.startEnd == 6">16:00-17:00</span>
</span> {{item2.userName}}
(已预定)
</span>
</ng-container>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -8,6 +8,7 @@ import {DatePipe} from "@angular/common"; ...@@ -8,6 +8,7 @@ import {DatePipe} from "@angular/common";
import {CommonService} from "../../../provide/common.service"; import {CommonService} from "../../../provide/common.service";
import {HairApplyPage} from "./hair-apply/hair-apply"; import {HairApplyPage} from "./hair-apply/hair-apply";
import {AppMainService} from "../../../app/app.service"; import {AppMainService} from "../../../app/app.service";
import {TabsService} from "../../tabs/tabs.service";
@IonicPage() @IonicPage()
...@@ -37,12 +38,14 @@ export class HairCutPage { ...@@ -37,12 +38,14 @@ export class HairCutPage {
total; total;
isLoad = true; isLoad = true;
mineInfo; //登录人信息
constructor(public navCtrl: NavController, public navParams: NavParams, constructor(public navCtrl: NavController, public navParams: NavParams,
private serveSer: ServeService, public datePipe: DatePipe, private serveSer: ServeService, public datePipe: DatePipe, private tabSer: TabsService,
private commonSer: CommonService, private appMainSer: AppMainService) { private commonSer: CommonService, private appMainSer: AppMainService) {
} }
ionViewDidEnter() { ionViewDidLoad() {
const date = this.datePipe.transform(new Date(), 'yyyy-MM-dd'); const date = this.datePipe.transform(new Date(), 'yyyy-MM-dd');
this.getApply(date); this.getApply(date);
this.myApply(); this.myApply();
...@@ -52,6 +55,13 @@ export class HairCutPage { ...@@ -52,6 +55,13 @@ export class HairCutPage {
this.role = value; this.role = value;
} }
); );
//获取个人信息
this.appMainSer.mineInfo.subscribe(value => {
this.mineInfo = value;
})
} }
//获取预定日程 //获取预定日程
...@@ -105,6 +115,7 @@ export class HairCutPage { ...@@ -105,6 +115,7 @@ export class HairCutPage {
//编辑申请 //编辑申请
goApplyEdit(item) { goApplyEdit(item) {
if (this.role.includes(9)) return false;
this.navCtrl.push(HairApplyPage, {id: item.id}); this.navCtrl.push(HairApplyPage, {id: item.id});
} }
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<ion-navbar> <ion-navbar>
<ion-title>会议室预定</ion-title> <ion-title>会议室预定</ion-title>
<ion-buttons end> <ion-buttons end *ngIf="role.includes(7) || role.includes(1)">
<button ion-button (click)="addOrder()"> <button ion-button (click)="goApply()">
<ion-icon class="top-right-icon icon-fabu iconfont"></ion-icon> <ion-icon class="top-right-icon icon-fabu iconfont"></ion-icon>
</button> </button>
</ion-buttons> </ion-buttons>
<ion-buttons end *ngIf="role.includes(1) || role.includes(6)"> <ion-buttons end *ngIf="role.includes(7)">
<button ion-button icon-only (click)="goDeal()" class="toolbar-icon"> <button ion-button icon-only (click)="goDeal()" class="toolbar-icon">
<span style="font-size: 2.5rem" class="top-right-icon icon iconfont icon-shenhe"></span> <span style="font-size: 2.5rem" class="top-right-icon icon iconfont icon-shenhe"></span>
</button> </button>
......
...@@ -29,6 +29,7 @@ export class MeetRoomPage { ...@@ -29,6 +29,7 @@ export class MeetRoomPage {
}; };
role = []; role = [];
mineInfo;
room; room;
applyList = []; applyList = [];
...@@ -42,7 +43,7 @@ export class MeetRoomPage { ...@@ -42,7 +43,7 @@ export class MeetRoomPage {
private commonSer: CommonService,private appMainSer:AppMainService) { private commonSer: CommonService,private appMainSer:AppMainService) {
} }
ionViewDidEnter() { ionViewDidLoad() {
const date = this.datePipe.transform(new Date(), 'yyyy-MM-dd'); const date = this.datePipe.transform(new Date(), 'yyyy-MM-dd');
this.getApply(date); this.getApply(date);
this.myApply(); this.myApply();
...@@ -52,6 +53,11 @@ export class MeetRoomPage { ...@@ -52,6 +53,11 @@ export class MeetRoomPage {
this.role = value; this.role = value;
} }
); );
//获取个人信息
this.appMainSer.mineInfo.subscribe(value => {
this.mineInfo = value;
})
} }
//获取预定日程 //获取预定日程
...@@ -93,11 +99,6 @@ export class MeetRoomPage { ...@@ -93,11 +99,6 @@ export class MeetRoomPage {
) )
} }
//新增预定
addOrder() {
this.navCtrl.push(RoomApplyPage);
}
//审核 //审核
goDeal(){ goDeal(){
this.navCtrl.push(RoomDealPage); this.navCtrl.push(RoomDealPage);
...@@ -110,11 +111,15 @@ export class MeetRoomPage { ...@@ -110,11 +111,15 @@ export class MeetRoomPage {
//编辑申请 //编辑申请
goApplyEdit(item) { goApplyEdit(item) {
if(this.role.includes(0)) return false; //普通人不可编辑
if(this.role.includes(1) && item.orgName != this.mineInfo.orgName) return false; //内勤只能编辑本处室的
this.navCtrl.push(RoomApplyPage, {id: item.applyId}); this.navCtrl.push(RoomApplyPage, {id: item.applyId});
} }
//新增申请 //新增申请
goApply() { goApply() {
if(this.role.includes(0)) return false;
this.navCtrl.push(RoomApplyPage); this.navCtrl.push(RoomApplyPage);
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div class="padding-6"> <div class="padding-6">
<ion-item> <ion-item>
<ion-label class="item-left"><span class="color-red">*</span>用车时间:</ion-label> <ion-label class="item-left"><span class="color-red">*</span>用车时间:</ion-label>
<ion-datetime cancelText="取消" doneText="确认" displayFormat="YYYY-MM-DD HH:mm" <ion-datetime [disabled]="type == 'deal' " cancelText="取消" doneText="确认" displayFormat="YYYY-MM-DD HH:mm"
pickerFormat="YYYY MM DD HH mm" placeholder="请选择" pickerFormat="YYYY MM DD HH mm" placeholder="请选择"
[(ngModel)]="obj.startTime"></ion-datetime> [(ngModel)]="obj.startTime"></ion-datetime>
<ion-label class="right-arrow"> <ion-label class="right-arrow">
...@@ -21,29 +21,29 @@ ...@@ -21,29 +21,29 @@
</ion-item> </ion-item>
<ion-item> <ion-item>
<ion-label class="item-left"><span class="color-red">*</span>还车时间:</ion-label> <ion-label class="item-left"><span class="color-red">*</span>还车时间:</ion-label>
<ion-datetime cancelText="取消" doneText="确认" displayFormat="YYYY-MM-DD HH:mm" <ion-datetime [disabled]="type == 'deal' " cancelText="取消" doneText="确认" displayFormat="YYYY-MM-DD HH:mm"
pickerFormat="YYYY MM DD HH mm" placeholder="请选择" pickerFormat="YYYY MM DD HH mm" placeholder="请选择"
[(ngModel)]="obj.endTime"></ion-datetime> [(ngModel)]="obj.endTime"></ion-datetime>
<ion-label class="right-arrow"> <ion-label class="right-arrow">
<ion-icon name="arrow-forward"></ion-icon> <ion-icon name="arrow-forward"></ion-icon>
</ion-label> </ion-label>
<ion-label *ngIf="checkObj.endTime" class="check-tips">请选择开始时间</ion-label> <ion-label *ngIf="checkObj.endTime" class="check-tips">请选择还车时间</ion-label>
</ion-item> </ion-item>
<ion-item> <ion-item>
<ion-label class="item-left"><span class="color-red">*</span>用车人数:</ion-label> <ion-label class="item-left"><span class="color-red">*</span>用车人数:</ion-label>
<ion-input [(ngModel)]="obj.passengerCount" type="text" maxlength="20" <ion-input [disabled]="type == 'deal' " [(ngModel)]="obj.passengerCount" type="text" maxlength="20"
[placeholder]="'请输入'"></ion-input> [placeholder]="'请输入'"></ion-input>
<ion-label *ngIf="checkObj.passengerCount" class="check-tips">选择开始时间</ion-label> <ion-label *ngIf="checkObj.passengerCount" class="check-tips">输入用车人数</ion-label>
</ion-item> </ion-item>
<div class="item-box"> <div class="item-box">
<div class="left"><span class="color-red">*</span>使用人: <div class="left"><span class="color-red">*</span>使用人:
</div> </div>
<div class="right"> <div class="right">
<button color="danger" ion-button small (click)="choose()">选择</button> <button *ngIf="type != 'deal' " style="margin-bottom: 10px" color="danger" ion-button small (click)="choose()">选择</button>
<div class="div-tag"> <div class="div-tag">
<span *ngFor="let item of personList;let i = index"> <span *ngFor="let item of personList;let i = index">
{{item.userName}} {{item.userName}}
<ion-icon (click)="removePerson(i)" name="close"></ion-icon> <ion-icon *ngIf="type != 'deal' " (click)="removePerson(i)" name="close"></ion-icon>
</span> </span>
</div> </div>
</div> </div>
...@@ -51,8 +51,8 @@ ...@@ -51,8 +51,8 @@
</div> </div>
<ion-item> <ion-item>
<ion-label class="item-left"><span class="color-red">*</span>用车事由:</ion-label> <ion-label class="item-left"><span class="color-red">*</span>用车事由:</ion-label>
<ion-label class="choose" (click)="chooseReason()">{{obj.useText}}</ion-label> <ion-label class="choose" >{{obj.useText}}</ion-label>
<ion-label class="right-arrow"> <ion-label *ngIf="type != 'deal' " class="right-arrow" (click)="chooseReason()">
<ion-icon name="arrow-forward"></ion-icon> <ion-icon name="arrow-forward"></ion-icon>
</ion-label> </ion-label>
<ion-label *ngIf="checkObj.useReason" class="check-tips">请选择用车事由</ion-label> <ion-label *ngIf="checkObj.useReason" class="check-tips">请选择用车事由</ion-label>
...@@ -60,73 +60,14 @@ ...@@ -60,73 +60,14 @@
<div class="item-box"> <div class="item-box">
<div class="left"><span class="color-red">*</span>起讫地点:</div> <div class="left"><span class="color-red">*</span>起讫地点:</div>
<div class="right"> <div class="right">
<ion-textarea [(ngModel)]="obj.fromTo"></ion-textarea> <ion-textarea [disabled]="type == 'deal' " [(ngModel)]="obj.fromTo"></ion-textarea>
</div> </div>
<ion-label *ngIf="checkObj.fromTo" class="check-tips">请输入起讫地点</ion-label> <ion-label *ngIf="checkObj.fromTo" class="check-tips">请输入起讫地点</ion-label>
</div> </div>
</div> </div>
<ng-container *ngIf="applyId && type == 'deal'"> <ng-container *ngIf="applyId && type == 'deal'">
<div class="padding-6"> <page-driver [applyId]="applyId"></page-driver>
<div class="item-box">
<div class="left"><span class="color-red">*</span>用车方式:</div>
<div class="right">
<ion-segment [(ngModel)]="opObj.isOwner">
<ion-segment-button value="1">
单位
</ion-segment-button>
<ion-segment-button value="0">
租赁
</ion-segment-button>
</ion-segment>
</div>
</div>
<ng-container *ngIf="opObj.isOwner == 1">
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>司机:</ion-label>
<ion-select [(ngModel)]="opObj.driverName" cancelText="取消" okText="确定" placeholder="请选择">
<ion-option *ngFor="let item of driverList" [value]="item.name">{{item.name}}</ion-option>
</ion-select>
<ion-label *ngIf="checkObj.startTime" class="check-tips">请选择开始时间</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>车牌号:</ion-label>
<ion-select [(ngModel)]="opObj.carNumber" cancelText="取消" okText="确定" placeholder="请选择">
<ion-option *ngFor="let item of carList"
[value]="item.carNumber">{{item.carNumber}}</ion-option>
</ion-select>
<ion-label *ngIf="checkObj.startTime" class="check-tips">请选择开始时间</ion-label>
</ion-item>
</ng-container>
<ng-container *ngIf="opObj.isOwner == 0">
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>公司名称:</ion-label>
<ion-input [(ngModel)]="opObj.carOrg" placeholder="请输入租赁公司名称" type="text"
maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.carOrg" class="check-tips">请选择开始时间</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>司机姓名:</ion-label>
<ion-input [(ngModel)]="opObj.driverName" placeholder="请输入司机姓名" type="text"
maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.driverName" class="check-tips">请输入司机姓名</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>联系电话:</ion-label>
<ion-input [(ngModel)]="opObj.mobile" placeholder="请输入联系电话" type="text" maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.mobile" class="check-tips">请选择开始时间</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>车牌号:</ion-label>
<ion-input [(ngModel)]="opObj.carNumber" placeholder="请输入车牌号" type="text"
maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.carNumber" class="check-tips">请选择开始时间</ion-label>
</ion-item>
</ng-container>
</div>
<button class="submit-btn submit" (click)="submitOp(2)">通过</button>
<button class="submit-btn submit" (click)="submitOp(3)">退回</button>
</ng-container> </ng-container>
<button *ngIf="!applyId || type == 'edit'" class="submit-btn submit" (click)="submit()">提交</button> <button *ngIf="!applyId || type == 'edit'" class="submit-btn submit" (click)="submit()">提交</button>
......
...@@ -5,6 +5,7 @@ page-car-apply { ...@@ -5,6 +5,7 @@ page-car-apply {
font-weight: bold; font-weight: bold;
font-size: 1.4rem; font-size: 1.4rem;
flex: none; flex: none;
opacity: 1;
} }
.item-ios.item-block .item-inner { .item-ios.item-block .item-inner {
...@@ -73,8 +74,6 @@ page-car-apply { ...@@ -73,8 +74,6 @@ page-car-apply {
padding: 11px 8px 11px 16px; padding: 11px 8px 11px 16px;
.div-tag { .div-tag {
padding: 10px 0;
span { span {
display: inline-block; display: inline-block;
margin-right: 10px; margin-right: 10px;
......
...@@ -31,23 +31,6 @@ export class CarApplyPage { ...@@ -31,23 +31,6 @@ export class CarApplyPage {
fromTo: false, fromTo: false,
}; };
opObj = {
isOwner:<any> "1", //是否是内部车辆(1是,0否)
driverName: '',
carNumber: '',
carOrg: '',
mobile: '',
};
checkOpObj = {
driverName: false,
carNumber: false,
carOrg: false,
mobile: false,
};
carList = [];
driverList = [];
personList = []; personList = [];
applyId; //是否编辑 applyId; //是否编辑
type; type;
...@@ -61,9 +44,9 @@ export class CarApplyPage { ...@@ -61,9 +44,9 @@ export class CarApplyPage {
ionViewDidLoad() { ionViewDidLoad() {
this.applyId = this.navParams.get('id'); this.applyId = this.navParams.get('id');
this.type = this.navParams.get('type'); this.type = this.navParams.get('type');
console.log(this.type);
if (this.applyId) { if (this.applyId) {
this.meetDetail(); this.meetDetail();
this.getList();
} }
} }
...@@ -91,20 +74,6 @@ export class CarApplyPage { ...@@ -91,20 +74,6 @@ export class CarApplyPage {
) )
} }
//会议室列表,部领导列表,处室列表
getList() {
this.serveSer.getCarList().subscribe(
(res) => {
this.carList = res.data;
}
);
this.serveSer.getDriverList().subscribe(
(res) => {
this.driverList = res.data;
}
);
}
//选择事由 //选择事由
chooseReason() { chooseReason() {
const buttonsArr = [ const buttonsArr = [
...@@ -236,55 +205,4 @@ export class CarApplyPage { ...@@ -236,55 +205,4 @@ export class CarApplyPage {
}); });
} }
//提交审核
submitOp(status) {
let data;
const data_company = {
applyId: this.applyId,
driverName: this.opObj.driverName,
carNumber: this.opObj.carNumber,
status: status,
isOwner: Number(this.opObj.isOwner)
};
const data_lease = {
applyId: this.applyId,
driverName: this.opObj.driverName,
carNumber: this.opObj.carNumber,
carOrg: this.opObj.carOrg,
mobile: this.opObj.mobile,
status: status,
isOwner: Number(this.opObj.isOwner)
};
data = this.opObj.isOwner == "1" ? data_company : data_lease;
//校验
let checkBool = false;
for (let i in data) {
if (!data[i]) {
checkBool = true;
this.checkOpObj[i] = true;
} else {
this.checkOpObj[i] = false;
}
}
if (checkBool){
this.commonSer.toast("请输入必填项!");
return false;
}
this.commonSer.alert('确认提交?',()=>{
this.serveSer.carOperate(data).subscribe(
(res) => {
if (res.errcode == 1000) {
this.commonSer.toast('审核成功');
this.navCtrl.pop();
} else {
this.commonSer.toast(res.errmsg);
}
}
)
});
}
} }
<div class="padding-6">
<div class="item-box">
<div class="left"><span class="color-red">*</span>用车方式:</div>
<div class="right">
<ion-segment [(ngModel)]="opObj.isOwner">
<ion-segment-button value="1">
单位
</ion-segment-button>
<ion-segment-button value="0">
租赁
</ion-segment-button>
</ion-segment>
</div>
</div>
<ng-container *ngIf="opObj.isOwner == 1">
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>司机:</ion-label>
<ion-select [(ngModel)]="opObj.driverName" cancelText="取消" okText="确定" placeholder="请选择">
<ion-option *ngFor="let item of driverList" [value]="item.name">{{item.name}}</ion-option>
</ion-select>
<ion-label *ngIf="checkOpObj.driverName" class="check-tips">请选择司机</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>车牌号:</ion-label>
<ion-select [(ngModel)]="opObj.carNumber" cancelText="取消" okText="确定" placeholder="请选择">
<ion-option *ngFor="let item of carList"
[value]="item.carNumber">{{item.carNumber}}</ion-option>
</ion-select>
<ion-label *ngIf="checkOpObj.carNumber" class="check-tips">请选择车牌号</ion-label>
</ion-item>
</ng-container>
<ng-container *ngIf="opObj.isOwner == 0">
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>公司名称:</ion-label>
<ion-input [(ngModel)]="opObj.carOrg" placeholder="请输入租赁公司名称" type="text"
maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.carOrg" class="check-tips">请选择开始时间</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>司机姓名:</ion-label>
<ion-input [(ngModel)]="opObj.driverName" placeholder="请输入司机姓名" type="text"
maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.driverName" class="check-tips">请输入司机姓名</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>联系电话:</ion-label>
<ion-input [(ngModel)]="opObj.mobile" placeholder="请输入联系电话" type="text" maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.mobile" class="check-tips">请选择开始时间</ion-label>
</ion-item>
<ion-item>
<ion-label class="item-left"><span class="color-red">*</span>车牌号:</ion-label>
<ion-input [(ngModel)]="opObj.carNumber" placeholder="请输入车牌号" type="text"
maxlength="20"></ion-input>
<ion-label *ngIf="checkOpObj.carNumber" class="check-tips">请选择开始时间</ion-label>
</ion-item>
</ng-container>
</div>
<button class="submit-btn submit" (click)="submitOp(2)">通过</button>
<button class="submit-btn submit" (click)="submitOp(3)">退回</button>
import {Component, Input} from '@angular/core';
import {IonicPage, NavController, NavParams} from 'ionic-angular';
import {CommonService} from "../../../../provide/common.service";
import {ServeService} from "../../serve.service";
@Component({
selector: 'page-driver',
templateUrl: 'driver.html',
})
export class DriverPage {
@Input() applyId;
opObj = {
isOwner: <any>"1", //是否是内部车辆(1是,0否)
driverName: '',
carNumber: '',
carOrg: '',
mobile: '',
};
checkOpObj = {
driverName: false,
carNumber: false,
carOrg: false,
mobile: false,
};
carList = [];
driverList = [];
constructor(public navCtrl: NavController, public navParams: NavParams,
private commonSer: CommonService, private serveSer: ServeService) {
this.getList();
}
//车辆 司机
getList() {
this.serveSer.getCarList().subscribe(
(res) => {
this.carList = res.data;
}
);
this.serveSer.getDriverList().subscribe(
(res) => {
this.driverList = res.data;
}
);
}
//提交审核
submitOp(status) {
let data;
const data_company = {
applyId: this.applyId,
driverName: this.opObj.driverName,
carNumber: this.opObj.carNumber,
status: status,
isOwner: Number(this.opObj.isOwner)
};
const data_lease = {
applyId: this.applyId,
driverName: this.opObj.driverName,
carNumber: this.opObj.carNumber,
carOrg: this.opObj.carOrg,
mobile: this.opObj.mobile,
status: status,
isOwner: Number(this.opObj.isOwner)
};
data = this.opObj.isOwner == "1" ? data_company : data_lease;
//校验
let checkBool = false;
for (let i in data) {
if (!data[i]) {
checkBool = true;
this.checkOpObj[i] = true;
} else {
this.checkOpObj[i] = false;
}
}
if (checkBool) {
this.commonSer.toast("请输入必填项!");
return false;
}
this.commonSer.alert('确认提交?', () => {
this.serveSer.carOperate(data).subscribe(
(res) => {
if (res.errcode == 1000) {
this.commonSer.toast('审核成功');
this.navCtrl.pop();
} else {
this.commonSer.toast(res.errmsg);
}
}
)
});
}
}
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<ion-icon class="top-right-icon icon-fabu iconfont"></ion-icon> <ion-icon class="top-right-icon icon-fabu iconfont"></ion-icon>
</button> </button>
</ion-buttons> </ion-buttons>
<ion-buttons end *ngIf="role.includes(1) || role.includes(6)"> <ion-buttons end *ngIf="role.includes(8) || role.includes(3)">
<button ion-button icon-only (click)="goDeal()" class="toolbar-icon"> <button ion-button icon-only (click)="goDeal()" class="toolbar-icon">
<span style="font-size: 2.5rem" class="top-right-icon icon iconfont icon-shenhe"></span> <span style="font-size: 2.5rem" class="top-right-icon icon iconfont icon-shenhe"></span>
</button> </button>
...@@ -36,31 +36,35 @@ ...@@ -36,31 +36,35 @@
<div class="room"> <div class="room">
<div class="already"> <div class="already">
<p>已审核</p> <p>已审核</p>
<div *ngFor="let done of checkObj.checkedApplyList" class="morning"> <ng-container *ngFor="let done of checkObj.checkedApplyList">
<div> <div *ngIf="role.includes(8) || mineInfo?.username == done.applicantName" class="morning">
申请部门:<span>{{done.orgName}}</span> <div>
申请部门:<span>{{done.orgName}}</span>
</div>
<div>
<span class="main-color">{{done.applicantName}}</span>
<span class="main-color">{{done.passengerCount}}</span>
申请<span class="main-color">{{done.startTime | date:"yyyy-MM-dd HH:mm"}}</span>用车
</div>
<div>申请时间:<span>{{done.applyTime | date:"yyyy-MM-dd HH:mm"}}</span></div>
</div> </div>
<div> </ng-container>
<span class="main-color">{{done.applicantName}}</span>
<span class="main-color">{{done.passengerCount}}</span>
申请<span class="main-color">{{done.startTime | date:"yyyy-MM-dd HH:mm"}}</span>用车
</div>
<div>申请时间:<span>{{done.applyTime | date:"yyyy-MM-dd HH:mm"}}</span></div>
</div>
</div> </div>
<div class="notYet"> <div class="notYet">
<p>待审核</p> <p>待审核</p>
<div *ngFor="let no of checkObj.uncheckApplyist" class="morning"> <ng-container *ngFor="let no of checkObj.uncheckApplyist">
<div> <div *ngIf="role.includes(8) || mineInfo?.username == done.applicantName" class="morning">
申请部门:<span>{{no.orgName}}</span> <div>
</div> 申请部门:<span>{{no.orgName}}</span>
<div> </div>
<span class="main-color">{{no.applicantName}}</span> <div>
<span class="main-color">{{no.passengerCount}}</span> <span class="main-color">{{no.applicantName}}</span>
申请<span class="main-color">{{no.startTime | date:"yyyy-MM-dd HH:mm"}}</span>用车 <span class="main-color">{{no.passengerCount}}</span>
申请<span class="main-color">{{no.startTime | date:"yyyy-MM-dd HH:mm"}}</span>用车
</div>
<div>申请时间:<span>{{no.applyTime | date:"yyyy-MM-dd HH:mm"}}</span></div>
</div> </div>
<div>申请时间:<span>{{no.applyTime | date:"yyyy-MM-dd HH:mm"}}</span></div> </ng-container>
</div>
</div> </div>
</div> </div>
</ng-container> </ng-container>
......
...@@ -4,22 +4,24 @@ import {UseCarPage} from './use-car'; ...@@ -4,22 +4,24 @@ import {UseCarPage} from './use-car';
import {CarApplyPage} from "./car-apply/car-apply"; import {CarApplyPage} from "./car-apply/car-apply";
import {CalendarModule} from "ion2-calendar"; import {CalendarModule} from "ion2-calendar";
import {CarDealPage} from "./car-deal/car-deal"; import {CarDealPage} from "./car-deal/car-deal";
import {DriverPage} from "./driver/driver";
@NgModule({ @NgModule({
declarations: [ declarations: [
UseCarPage, UseCarPage,
CarApplyPage, CarApplyPage,
CarDealPage, CarDealPage,
DriverPage
], ],
imports: [ imports: [
CalendarModule, CalendarModule,
IonicPageModule.forChild(UseCarPage), IonicPageModule.forChild(UseCarPage),
], ],
exports: [ exports: [],
],
entryComponents: [ entryComponents: [
CarApplyPage, CarApplyPage,
CarDealPage, CarDealPage,
DriverPage
] ]
}) })
export class UseCarPageModule { export class UseCarPageModule {
......
...@@ -32,6 +32,7 @@ export class UseCarPage { ...@@ -32,6 +32,7 @@ export class UseCarPage {
room; room;
applyList = []; applyList = [];
role = []; role = [];
mineInfo;
pageNumber = 1; pageNumber = 1;
pageSize = AppGlobal.pageCount; pageSize = AppGlobal.pageCount;
...@@ -41,14 +42,14 @@ export class UseCarPage { ...@@ -41,14 +42,14 @@ export class UseCarPage {
checkObj = { checkObj = {
checkedApplyList:[], //已审核 checkedApplyList:[], //已审核
uncheckApplyist:[] //未审核 uncheckApplyist:[] //未审核
} };
constructor(public navCtrl: NavController, public navParams: NavParams, constructor(public navCtrl: NavController, public navParams: NavParams,
private serveSer: ServeService, public datePipe: DatePipe, private serveSer: ServeService, public datePipe: DatePipe,
private commonSer: CommonService, private appMainSer: AppMainService) { private commonSer: CommonService, private appMainSer: AppMainService) {
} }
ionViewDidEnter() { ionViewDidLoad() {
const date = this.datePipe.transform(new Date(), 'yyyy-MM-dd'); const date = this.datePipe.transform(new Date(), 'yyyy-MM-dd');
this.getApply(date); this.getApply(date);
this.myApply(); this.myApply();
...@@ -58,6 +59,11 @@ export class UseCarPage { ...@@ -58,6 +59,11 @@ export class UseCarPage {
this.role = value; this.role = value;
} }
); );
//获取个人信息
this.appMainSer.mineInfo.subscribe(value => {
this.mineInfo = value;
})
} }
//获取预定日程 //获取预定日程
......
...@@ -56,18 +56,20 @@ ...@@ -56,18 +56,20 @@
<div class="fixed-toolbar parent-toolbar"> <div class="fixed-toolbar parent-toolbar">
<div class="tabs-fixed "> <div class="tabs-fixed ">
<div #scrollTab class="scroll-tab"> <div #scrollTab class="scroll-tab">
<ion-icon *ngIf="!toRight" class="icon-left" name="arrow-back"></ion-icon>
<ion-icon *ngIf="toRight" class="icon-right" name="arrow-forward"></ion-icon>
<div #newContentParent (scroll)="dragTo($event)" class="news-content parent"> <div #newContentParent (scroll)="dragTo($event)" class="news-content parent">
<div #tabsParent class="tabs-parent parent"> <div #tabsParent class="tabs-parent parent">
<div #tabsChildren *ngFor="let item of tabsList;" (click)="changeParent(item)" <div #tabsChildren *ngFor="let item of tabsList;" (click)="changeParent(item)"
class="tabs-children"> class="tabs-children">
<span #tabSpan <span #tabSpan [style.color]="indexParent == item.indexParent ? '#e12724':''">
[style.color]="indexParent == item.indexParent ? '#e12724':''">{{item.name}}</span> {{item.name}}
</span>
</div> </div>
<span #tips id="tips"></span> <span #tips id="tips"></span>
</div> </div>
</div> </div>
<span class="more" (click)="moreTab()">
<ion-icon name="list"></ion-icon>
</span>
</div> </div>
</div> </div>
</div> </div>
......
import {Component, ElementRef, HostListener, NgZone, Renderer2, ViewChild} from '@angular/core'; import {Component, ElementRef, HostListener, NgZone, Renderer2, ViewChild} from '@angular/core';
import {Content, InfiniteScrollContent, IonicPage, NavController, NavParams, Slide, Slides} from 'ionic-angular'; import {
Content,
InfiniteScrollContent,
IonicPage,
ModalController,
NavController,
NavParams,
Slide,
Slides
} from 'ionic-angular';
import {SearchNewPage} from "../../home-pages/search-new/search-new"; import {SearchNewPage} from "../../home-pages/search-new/search-new";
import {TabsService} from "../tabs.service"; import {TabsService} from "../tabs.service";
import {StuffDetailPage} from "../../home-pages/stuff-detail/stuff-detail"; import {StuffDetailPage} from "../../home-pages/stuff-detail/stuff-detail";
...@@ -11,6 +20,7 @@ import {CommonService} from "../../../provide/common.service"; ...@@ -11,6 +20,7 @@ import {CommonService} from "../../../provide/common.service";
import {SwiperComponent} from "../../../components/swiper/swiper"; import {SwiperComponent} from "../../../components/swiper/swiper";
import {timer} from "rxjs/observable/timer"; import {timer} from "rxjs/observable/timer";
import {Storage} from "@ionic/storage"; import {Storage} from "@ionic/storage";
import {FilterComponent} from "../../../components/filter/filter";
declare let Swiper: any; declare let Swiper: any;
...@@ -223,7 +233,7 @@ export class DiscoverPage { ...@@ -223,7 +233,7 @@ export class DiscoverPage {
constructor(public navCtrl: NavController, public navParams: NavParams, constructor(public navCtrl: NavController, public navParams: NavParams,
public commonSer: CommonService, public renderer: Renderer2, public commonSer: CommonService, public renderer: Renderer2,
public zone: NgZone, public storage: Storage, public zone: NgZone, public storage: Storage,private modalCtrl: ModalController,
public tabsSer: TabsService, public emitSer: EmitService) { public tabsSer: TabsService, public emitSer: EmitService) {
// 接收发射过来的数据 // 接收发射过来的数据
this.emitSer.eventEmit.subscribe((value: any) => { this.emitSer.eventEmit.subscribe((value: any) => {
...@@ -241,7 +251,7 @@ export class DiscoverPage { ...@@ -241,7 +251,7 @@ export class DiscoverPage {
this.getBanner(); this.getBanner();
this.scrollHeight(); this.scrollHeight();
timer(20).subscribe(() => { timer(20).subscribe(() => {
this.itemWidth = window.screen.width / 4; this.itemWidth = '84';
this.spanWidth = this.tabSpan.nativeElement.offsetWidth; //文字宽度 this.spanWidth = this.tabSpan.nativeElement.offsetWidth; //文字宽度
this.changeParent(this.tabsList[0]) this.changeParent(this.tabsList[0])
}); });
...@@ -590,6 +600,7 @@ export class DiscoverPage { ...@@ -590,6 +600,7 @@ export class DiscoverPage {
} }
} }
//加载视频
loadVideo(e) { loadVideo(e) {
const scale = 0.8; const scale = 0.8;
const canvas = document.createElement('canvas'); const canvas = document.createElement('canvas');
...@@ -607,5 +618,19 @@ export class DiscoverPage { ...@@ -607,5 +618,19 @@ export class DiscoverPage {
} }
} }
//多模块
moreTab(){
let modal = this.modalCtrl.create(FilterComponent, {list: this.tabsList, type: this.obj.plateType}, {
enterAnimation: 'modal-from-right-enter',
leaveAnimation: 'modal-from-right-leave'
});
modal.onDidDismiss(data => {
if (data) {
this.changeParent(data)
}
});
modal.present();
}
} }
...@@ -90,8 +90,9 @@ ...@@ -90,8 +90,9 @@
</div> </div>
<!--true 隐藏 false 显示--> <!--true 隐藏 false 显示-->
<div [hidden]="isScroll" class="scroll-tab"> <div [hidden]="isScroll" class="scroll-tab">
<ion-icon *ngIf="!toRight" class="icon-left" name="arrow-back"></ion-icon> <span class="more" (click)="moreTab()">
<ion-icon *ngIf="toRight" class="icon-right" name="arrow-forward"></ion-icon> <ion-icon name="list"></ion-icon>
</span>
<div (scroll)="dragTo($event)" class="news-content parent"> <div (scroll)="dragTo($event)" class="news-content parent">
<div #tabsParent class="tabs-parent parent"> <div #tabsParent class="tabs-parent parent">
<div *ngFor="let item of tabsList;let i = index" (click)="change(item)" class="tabs-children"> <div *ngFor="let item of tabsList;let i = index" (click)="change(item)" class="tabs-children">
...@@ -103,8 +104,9 @@ ...@@ -103,8 +104,9 @@
</div> </div>
<div [hidden]="!isScroll" class="scroll-tab"> <div [hidden]="!isScroll" class="scroll-tab">
<ion-icon *ngIf="!toRight" class="icon-left" name="arrow-back"></ion-icon> <span class="more" (click)="moreTab()">
<ion-icon *ngIf="toRight" class="icon-right" name="arrow-forward"></ion-icon> <ion-icon name="list"></ion-icon>
</span>
<!--固定 false --> <!--固定 false -->
<div (scroll)="dragTo($event)" ion-fixed class="news-content ion-fixed parent"> <div (scroll)="dragTo($event)" ion-fixed class="news-content ion-fixed parent">
<div class="tabs-parent parent"> <div class="tabs-parent parent">
......
import {Component, ElementRef, ViewChild, NgZone, Renderer2, Input, ViewChildren, QueryList} from '@angular/core'; import {Component, ElementRef, ViewChild, NgZone, Renderer2, Input, ViewChildren, QueryList} from '@angular/core';
import {NavController, IonicPage, Slides, Content, InfiniteScrollContent, FabList, FabContainer} from 'ionic-angular'; import {
NavController,
IonicPage,
Slides,
Content,
InfiniteScrollContent,
FabList,
FabContainer,
ModalController
} from 'ionic-angular';
import {Http, Response} from '@angular/http'; import {Http, Response} from '@angular/http';
import {AppService, AppGlobal} from '../../../service/http.service'; import {AppService, AppGlobal} from '../../../service/http.service';
import {Storage} from '@ionic/storage'; import {Storage} from '@ionic/storage';
...@@ -10,6 +19,7 @@ import {StuffDetailPage} from "../../home-pages/stuff-detail/stuff-detail"; ...@@ -10,6 +19,7 @@ import {StuffDetailPage} from "../../home-pages/stuff-detail/stuff-detail";
import {EmitService} from "../../../provide/emit.service"; import {EmitService} from "../../../provide/emit.service";
import {DatePipe} from "@angular/common"; import {DatePipe} from "@angular/common";
import {SwiperComponent} from "../../../components/swiper/swiper"; import {SwiperComponent} from "../../../components/swiper/swiper";
import {FilterComponent} from "../../../components/filter/filter";
declare let Swiper: any; declare let Swiper: any;
...@@ -84,7 +94,7 @@ export class HomePage { ...@@ -84,7 +94,7 @@ export class HomePage {
constructor(public navCtrl: NavController, public datePipe: DatePipe, constructor(public navCtrl: NavController, public datePipe: DatePipe,
public commonSer: CommonService, public emitSer: EmitService, public commonSer: CommonService, public emitSer: EmitService,
public zone: NgZone, public tabSer: TabsService, public zone: NgZone, public tabSer: TabsService,
public renderer: Renderer2, public renderer: Renderer2, private modalCtrl: ModalController,
public appService: AppService, public http: Http, public storage: Storage, public appService: AppService, public http: Http, public storage: Storage,
public badge: Badge, public tabsSer: TabsService) { public badge: Badge, public tabsSer: TabsService) {
// 接收发射过来的数据 // 接收发射过来的数据
...@@ -106,9 +116,7 @@ export class HomePage { ...@@ -106,9 +116,7 @@ export class HomePage {
} }
public dragTo(e) { public dragTo(e) {
console.log(e) if (e.target.scrollLeft > window.screen.width / 4 - 4) {
if (e.target.scrollLeft > window.screen.width / 4 -4) {
this.toRight = false; this.toRight = false;
} else { } else {
this.toRight = true; this.toRight = true;
...@@ -128,7 +136,7 @@ export class HomePage { ...@@ -128,7 +136,7 @@ export class HomePage {
ionViewDidLoad() { ionViewDidLoad() {
this.getBanner(); this.getBanner();
this.itemWidth = window.screen.width / 4; this.itemWidth = '84';
this.spanWidth = this.tabsParent.nativeElement.children[0].children[0].offsetWidth; //文字宽度 this.spanWidth = this.tabsParent.nativeElement.children[0].children[0].offsetWidth; //文字宽度
this.tips.nativeElement.style.width = this.spanWidth + 'px'; this.tips.nativeElement.style.width = this.spanWidth + 'px';
this.tips1.nativeElement.style.width = this.spanWidth + 'px'; this.tips1.nativeElement.style.width = this.spanWidth + 'px';
...@@ -431,4 +439,18 @@ export class HomePage { ...@@ -431,4 +439,18 @@ export class HomePage {
e.stopPropagation(); e.stopPropagation();
} }
//多模块
moreTab() {
let modal = this.modalCtrl.create(FilterComponent, {list: this.tabsList, choose: this.plateType}, {
enterAnimation: 'modal-from-right-enter',
leaveAnimation: 'modal-from-right-leave'
});
modal.onDidDismiss(data => {
if (data) {
this.change(data)
}
});
modal.present();
}
} }
<ion-header> <ion-header>
<ion-navbar> <ion-navbar>
<ion-title>一键通</ion-title> <ion-title>行政后勤"一键通"</ion-title>
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>
...@@ -31,41 +31,45 @@ ...@@ -31,41 +31,45 @@
</div> </div>
</div> </div>
<div (click)="goTo('LearningListPage')"> <!-- <div (click)="goTo('LearningListPage')">-->
<div class="card"> <!-- <div class="card">-->
<img src="./assets/imgs/home/icon-fkdj.png"> <!-- <img src="./assets/imgs/home/icon-fkdj.png">-->
<label class="label2-2 more2-2">访客登记</label> <!-- <label class="label2-2 more2-2">访客登记</label>-->
</div> <!-- </div>-->
<!-- </div>-->
<!-- <div (click)="goTo('LearningListPage')">-->
<!-- <div class="card">-->
<!-- <img src="./assets/imgs/home/icon-yjbx.png">-->
<!-- <label class="label2-2 more2-2">一键保修</label>-->
<!-- </div>-->
</div> <!-- </div>-->
<div (click)="goTo('LearningListPage')">
<div class="card">
<img src="./assets/imgs/home/icon-yjbx.png">
<label class="label2-2 more2-2">一键保修</label>
</div>
</div>
<div (click)="goTo('HairCutPage')"> <div (click)="goTo('HairCutPage')">
<div class="card"> <div class="card">
<img src="./assets/imgs/home/icon-yylf.png"> <img src="./assets/imgs/home/icon-yylf.png">
<label class="label2-2 more2-2">预约理发</label> <label class="label2-2 more2-2">预约理发</label>
</div> </div>
</div> </div>
<div (click)="goTo('LearningListPage')"> <div (click)="goTo('DutyPage')">
<div class="card"> <div class="card">
<img src="./assets/imgs/home/icon-ywzd.png"> <img src="./assets/imgs/home/icon-zbgl.png">
<label class="label2-2 more2-2">业务制度</label> <label class="label2-2 more2-2">值班管理</label>
</div> </div>
</div> </div>
<div (click)="goTo('LearningListPage')"> <!-- <div (click)="goTo('LearningListPage')">-->
<div class="card"> <!-- <div class="card">-->
<img src="./assets/imgs/home/icon-zcgl.png"> <!-- <img src="./assets/imgs/home/icon-ywzd.png">-->
<label class="label2-2 more2-2">资产管理</label> <!-- <label class="label2-2 more2-2">业务制度</label>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<!-- <div (click)="goTo('LearningListPage')">-->
<!-- <div class="card">-->
<!-- <img src="./assets/imgs/home/icon-zcgl.png">-->
<!-- <label class="label2-2 more2-2">资产管理</label>-->
<!-- </div>-->
<!-- </div>-->
</div> </div>
</div> </div>
</ion-content> </ion-content>
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular'; import { IonicPage, NavController, NavParams } from 'ionic-angular';
import {AppMainService} from "../../../app/app.service";
import {TabsService} from "../tabs.service";
@IonicPage() @IonicPage()
...@@ -9,11 +11,17 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular'; ...@@ -9,11 +11,17 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
}) })
export class KeyPage { export class KeyPage {
constructor(public navCtrl: NavController, public navParams: NavParams) { constructor(public navCtrl: NavController, public navParams: NavParams,
private appMainSer:AppMainService,private tabSer:TabsService) {
} }
ionViewDidLoad() { ionViewDidLoad() {
console.log('ionViewDidLoad KeyPage'); //获取当前登录人信息
this.tabSer.getUserIntegral().subscribe(
(res) => {
this.appMainSer.setInfo(res.data);
}
);
} }
//前往 //前往
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</ion-header> </ion-header>
<ion-content> <ion-content>
<div #item3 class="item3 item-notice"> <div #item3 class="item3 item-notice">
<img style="border-top-left-radius: 5px;border-top-right-radius: 5px" src="./assets/imgs/notice_bg.jpg" alt=""> <img (click)="goTo('KeyPage')" style="border-top-left-radius: 5px;border-top-right-radius: 5px" src="./assets/imgs/notice_bg.png" alt="">
<div class="item3-2" (click)="goToNotice()"> <div class="item3-2" (click)="goToNotice()">
<ion-col col-2 class="card3"> <ion-col col-2 class="card3">
<span *ngIf="hasNew.message == 1" class="img-tips"></span> <span *ngIf="hasNew.message == 1" class="img-tips"></span>
......
...@@ -30,13 +30,6 @@ export class TabsPage { ...@@ -30,13 +30,6 @@ export class TabsPage {
tabsIndex; tabsIndex;
role: any; role: any;
key = {
root: KeyPage,
tabTitle: '',
tabIconOn: 'tab-key',
tabIconOff: 'tab-key',
index: 2
};
serve = { serve = {
root: ServePage, root: ServePage,
tabTitle: '服务', tabTitle: '服务',
...@@ -78,7 +71,7 @@ export class TabsPage { ...@@ -78,7 +71,7 @@ export class TabsPage {
(res) => { (res) => {
const mineInfo = res.data; const mineInfo = res.data;
if (mineInfo.orgName != "退休人员") { if (mineInfo.orgName != "退休人员") {
this.tabRoots.push(this.key, this.serve, this.mine); this.tabRoots.push( this.serve, this.mine);
} else { } else {
this.tabRoots.push(this.mine); this.tabRoots.push(this.mine);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment