Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
ec0d14c3
Commit
ec0d14c3
authored
Dec 08, 2020
by
Jennie Shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安卓上线
parent
5516f81a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
39 deletions
+33
-39
config.xml
config.xml
+3
-3
prod.env.js
config/prod.env.js
+1
-1
android.json
plugins/android.json
+28
-28
main.js
src/main.js
+0
-1
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+0
-1
login.vue
src/pages/login.vue
+0
-5
index.html
www/index.html
+1
-0
No files found.
config.xml
View file @
ec0d14c3
<?xml version='1.0' encoding='utf-8'?>
<widget
id=
"com.xcmg.app
.dev
"
version=
"0.0.1"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<name>
徐工金服
UAT
</name>
<widget
id=
"com.xcmg.app"
version=
"0.0.1"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<name>
徐工金服
</name>
<description>
正式环境版
</description>
...
...
@@ -110,6 +110,6 @@
<plugin
name=
"cordova-plugin-splashscreen"
spec=
"5.0.2"
/>
<plugin
name=
"ionic-plugin-keyboard"
spec=
"^2.2.1"
/>
<plugin
name=
"IdCardPlugin"
spec=
"/Users/jeshi/Documents/徐工/card-plugin-test/IdCardPlugin"
/>
<engine
name=
"android"
spec=
"^6.2.0"
/>
<engine
name=
"ios"
spec=
"^4.5.5"
/>
<engine
name=
"android"
spec=
"~6.2.0"
/>
</widget>
config/prod.env.js
View file @
ec0d14c3
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://www.xcmgfs.com:8087/r/api"'
,
fileUploadSvcPath
:
'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"0.2.
3
"'
currentVersion
:
'"0.2.
4
"'
}
plugins/android.json
View file @
ec0d14c3
...
...
@@ -8,94 +8,94 @@
},
"installed_plugins"
:
{
"com.handmobile.cordovaplugin.hotpatch"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-baidumaplocation"
:
{
"ANDROID_KEY"
:
"Y8gTWgN2GuDtvhBfiECaZiBtE6i0wQBG"
,
"IOS_KEY"
:
"hhouKKwxALvC7MBZmnfwgSacHOfFOlNu"
,
"IOS_LOCATION_DESC"
:
"请点击'好'以允许访问。"
,
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-camera"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-datepicker"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-device"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-dialogs"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-file"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-file-transfer"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-hrms-faceidentify"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-image-picker"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-ionic-webview"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-jcore"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-media-capture"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-network-information"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-splashscreen"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-statusbar"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-touch-id"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-whitelist"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"ionic-plugin-keyboard"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"jpush-phonegap-plugin"
:
{
"APP_KEY"
:
"bef4fd44dcf54b79b8ab27c3"
,
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"IdCardPlugin"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
}
},
"dependent_plugins"
:
{
"cordova-plugin-3dtouch"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-compat"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-contacts"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-fingerprint"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-themeablebrowser"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-x-toast"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"es6-promise-plugin"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app
.dev
"
"PACKAGE_NAME"
:
"com.xcmg.app"
}
}
}
\ No newline at end of file
src/main.js
View file @
ec0d14c3
...
...
@@ -57,7 +57,6 @@ import hlsUtil from './scripts/hlsUtil'
import
Jpush
from
'./scripts/jpushService'
import
Jmessage
from
'./scripts/jmessageService'
//
// || process.env.CONFIG_ENV === 'prod'
if
(
process
.
env
.
CONFIG_ENV
===
'uat'
)
{
const
VConsole
=
require
(
'vconsole'
)
...
...
src/pages/contractSigning/contract-detail.vue
View file @
ec0d14c3
...
...
@@ -617,7 +617,6 @@ export default {
if
(
res
.
result
===
'S'
)
{
let
data
=
res
.
lists
[
0
]
cordova
.
plugins
.
IdCardPlugin
.
faceContrast
({
'idNum'
:
data
.
id_card_no
,
'idName'
:
data
.
bp_name
},
function
(
suc
)
{
// cordova.plugins.IdCardPlugin.faceContrast({'idNum': '341181199602016223', 'idName': '史蒙蒙'}, function (suc) {
let
success
=
JSON
.
parse
(
suc
)
if
(
success
.
code
===
1
)
{
let
filePath
=
JSON
.
stringify
(
success
.
message
,
'
\
\'
, null)
...
...
src/pages/login.vue
View file @
ec0d14c3
...
...
@@ -164,11 +164,6 @@ export default {
}
},
async
access
()
{
// cordova.plugins.IdCardPlugin.idCardIdentify({'idNum': '341181199602016223', 'idName': '史蒙蒙', 'phoneNum': '15751862159'}, function (success) {
// alert(success)
// }, function (reason) {
// alert('Failed: ' + reason)
// })
document
.
getElementById
(
'passwordInput'
).
blur
()
document
.
getElementById
(
'userInput'
).
blur
()
document
.
activeElement
.
blur
()
...
...
www/index.html
0 → 100644
View file @
ec0d14c3
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
./cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.b873df7a523c2c07fdbbb8b6f0caa0a7.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.6a178e8d77c32e3c385d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.7191c48e0b160a3ab672.js
></script><script
type=
text/javascript
src=
./static/js/app.e6a36266f29a64116e9e.js
></script></body></html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment