From: qiaowei Date: Sun, 28 Jun 2020 09:41:21 +0000 (+0800) Subject: 包名问题 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=98635db0eb006c7df03bbb712d2fbd54cacb3cf2;p=dali_platform%2Fmobile.git 包名问题 --- diff --git a/config.xml b/config.xml index 9b650e6..409322b 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + dlapp A sample Apache Cordova application that responds to the deviceready event. diff --git a/package.json b/package.json index 5d65b05..e39792b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "com.dalicitycard.app", + "name": "com.dalipolice.app", "displayName": "大理市民卡", "version": "1.0.3", "description": "A sample Apache Cordova application that responds to the deviceready event.", @@ -49,7 +49,7 @@ "cordova-plugin-device": {}, "cordova-plugin-themeablebrowser": {}, "jpush-phonegap-plugin": { - "APP_KEY": "d644d997f2cab0551ff704a3", + "APP_KEY": "1fc62c8c6204ec4b0ae65ee2", "CHANNEL": "developer-default" }, "cordova-plugin-app-version": {}, diff --git a/platforms/android/android.json b/platforms/android/android.json index f684e89..eb6d7bb 100644 --- a/platforms/android/android.json +++ b/platforms/android/android.json @@ -101,11 +101,11 @@ "count": 2 }, { - "xml": "", + "xml": "", "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { @@ -185,7 +185,7 @@ "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { @@ -193,19 +193,19 @@ "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { @@ -213,11 +213,11 @@ "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { @@ -225,7 +225,7 @@ "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { @@ -233,7 +233,7 @@ "count": 1 }, { - "xml": "", + "xml": "", "count": 1 }, { @@ -267,61 +267,61 @@ }, "installed_plugins": { "cordova-plugin-add-swift-support": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-touch-id": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-whitelist": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-file": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-advanced-http": { "OKHTTP_VERSION": "3.10.0", - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-statusbar": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-disable-ios11-statusbar": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-qrscanner": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-camera": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-inappbrowser": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-device": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-themeablebrowser": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-jcore": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "jpush-phonegap-plugin": { - "APP_KEY": "d644d997f2cab0551ff704a3", + "APP_KEY": "1fc62c8c6204ec4b0ae65ee2", "CHANNEL": "developer-default", - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-app-version": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-wkwebview-engine": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-brightness": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" }, "cordova-plugin-fingerprint-aio": { - "PACKAGE_NAME": "com.dalicitycard.app" + "PACKAGE_NAME": "com.dalipolice.app" } }, "dependent_plugins": {}, diff --git a/platforms/android/app/build.gradle b/platforms/android/app/build.gradle index e4b404a..31d4b5c 100644 --- a/platforms/android/app/build.gradle +++ b/platforms/android/app/build.gradle @@ -166,7 +166,7 @@ task cdvPrintProps { android { defaultConfig { - applicationId 'com.dalicitycard.app' + applicationId 'com.dalipolice.app' if (cdvMinSdkVersion != null) { minSdkVersion cdvMinSdkVersion } @@ -174,8 +174,8 @@ android { ndk { abiFilters "armeabi" } - versionCode 13 - versionName '1.4.0' + versionCode 14 + versionName '1.4.1' targetSdkVersion 28 } lintOptions { diff --git a/platforms/android/app/src/main/AndroidManifest.xml b/platforms/android/app/src/main/AndroidManifest.xml index 3238e12..b7ece77 100644 --- a/platforms/android/app/src/main/AndroidManifest.xml +++ b/platforms/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ - + @@ -16,7 +16,7 @@ - + @@ -27,18 +27,18 @@ - + - + - + - + @@ -54,13 +54,13 @@ - + - + @@ -75,11 +75,11 @@ - + - + @@ -87,8 +87,8 @@ - - + + diff --git a/platforms/android/app/src/main/java/com/dalicitycard/app/MainActivity.java b/platforms/android/app/src/main/java/com/dalipolice/app/MainActivity.java similarity index 97% rename from platforms/android/app/src/main/java/com/dalicitycard/app/MainActivity.java rename to platforms/android/app/src/main/java/com/dalipolice/app/MainActivity.java index 7b7fe6b..9682df9 100644 --- a/platforms/android/app/src/main/java/com/dalicitycard/app/MainActivity.java +++ b/platforms/android/app/src/main/java/com/dalipolice/app/MainActivity.java @@ -17,7 +17,7 @@ under the License. */ -package com.dalicitycard.app; +package com.dalipolice.app; import android.os.Bundle; import org.apache.cordova.*; diff --git a/platforms/android/app/src/main/res/xml/config.xml b/platforms/android/app/src/main/res/xml/config.xml index 1cae32d..ca7b3a0 100644 --- a/platforms/android/app/src/main/res/xml/config.xml +++ b/platforms/android/app/src/main/res/xml/config.xml @@ -1,5 +1,5 @@ - + diff --git a/www/img/icon_more5.png b/www/img/icon_more5.png new file mode 100644 index 0000000..2d13b94 Binary files /dev/null and b/www/img/icon_more5.png differ diff --git a/www/img/icon_more6.png b/www/img/icon_more6.png new file mode 100644 index 0000000..04b56f2 Binary files /dev/null and b/www/img/icon_more6.png differ diff --git a/www/img/icon_more7.png b/www/img/icon_more7.png new file mode 100644 index 0000000..eb900f0 Binary files /dev/null and b/www/img/icon_more7.png differ diff --git a/www/img/icon_reauth.png b/www/img/icon_reauth.png deleted file mode 100644 index 5b18a42..0000000 Binary files a/www/img/icon_reauth.png and /dev/null differ diff --git a/www/js/main.js b/www/js/main.js index 78b896f..9009475 100644 --- a/www/js/main.js +++ b/www/js/main.js @@ -44,6 +44,7 @@ var app = { } }); var uid = window.localStorage.getItem("uid"); + window.JPush.setAlias({ sequence: 1, alias: uid }, (result) => { var sequence = result.sequence @@ -58,6 +59,7 @@ var app = { onDeviceReady: function() { var uid = window.localStorage.getItem("token"); + console.log("1."+window.localStorage.getItem("uid")) this.initJpush(); $('#scanBtn').click(function() { //window.location = "scan.html"; diff --git a/www/js/mainmenu.js b/www/js/mainmenu.js index eacec44..7a98ae0 100644 --- a/www/js/mainmenu.js +++ b/www/js/mainmenu.js @@ -58,6 +58,7 @@ var app = { onDeviceReady: function() { var uid = window.localStorage.getItem("token"); + console.log("1."+window.localStorage.getItem("uid")) this.initJpush(); $('#scanBtn').click(function() { //window.location = "scan.html"; diff --git a/www/js/more.js b/www/js/more.js index 0251b0d..bd4cc2a 100644 --- a/www/js/more.js +++ b/www/js/more.js @@ -12,23 +12,39 @@ var app = { }); $("#moreBtn1").click(function(){ //window.location = "more.html"; - showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); + showRet("https://yy.dlsmk.cn/wisdompolice/app/atte/addindex?custid="+userid); }) - $("#moreBtn2").click(function(){ + $("#moreBtn4").click(function(){ //window.location = "more.html"; //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); - alert("暂未开通"); + showRet("https://yy.dlsmk.cn/wisdompolice/app/atte/clockindex?custid="+userid); }) - $("#moreBtn4").click(function(){ + $("#moreBtn5").click(function(){ //window.location = "more.html"; //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); - showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); + showRet("https://yy.dlsmk.cn/wisdompolice/app/atte/reviewindex?custid="+userid); }) - $("#moreBtn5").click(function(){ + $("#moreBtn6").click(function(){ + //window.location = "more.html"; + //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); + showRet("https://yy.dlsmk.cn/wisdompolice/app/atte/reviewClock?custid="+userid); + }) + $("#moreBtn7").click(function(){ //window.location = "more.html"; //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); - showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); + showRet("https://yy.dlsmk.cn/wisdompolice/app/doordtl?custid="+userid); }) + $("#moreBtn8").click(function(){ + //window.location = "more.html"; + //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); + showRet("https://yy.dlsmk.cn/wisdompolice/app/doordtl?custid="+userid); + }) + $("#moreBtn2").click(function(){ + //window.location = "more.html"; + //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid); + showRet("https://yy.dlsmk.cn/wisdompolice/app/conference/attendconference?custid="+userid); + }) + }, }; diff --git a/www/more.html b/www/more.html index a3bf7a7..72f6702 100644 --- a/www/more.html +++ b/www/more.html @@ -24,26 +24,38 @@

考勤

-
+
报备
-
-
+
+
补签
-
-
-
审批
+
+
+
报备审批
+
+
+
+
补签审批
-
+

查询

-
+
-
记录
+
交易记录
+
+
+
+
其他记录
+
+
@@ -51,8 +63,8 @@

其他

-
-
+
+
会议