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
3c4cbe0c
Commit
3c4cbe0c
authored
Mar 20, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
994f277b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
48 additions
and
61 deletions
+48
-61
dev.env.js
config/dev.env.js
+2
-2
index.html
index.html
+23
-11
add-undertake.vue
src/pages/contractCreate/add-undertake.vue
+9
-1
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+6
-3
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+0
-41
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+7
-2
index.html
www/index.html
+1
-1
No files found.
config/dev.env.js
View file @
3c4cbe0c
...
...
@@ -8,9 +8,9 @@ module.exports = merge(prodEnv, {
debug
:
true
,
isMobilePlatform
:
false
,
loginPath
:
'"http://180.104.121.66:8088/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" '
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_
DEV
&apiName="'
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_
UAT
&apiName="'
,
rootPath
:
'"http://180.104.121.66:8088/r/api"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_
DEV
&apiName=file_view&"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_
UAT
&apiName=file_view&"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
appId
:
'"com.xcmg.app.uat"'
,
...
...
index.html
View file @
3c4cbe0c
...
...
@@ -22,16 +22,28 @@
<body>
<div
id=
"app-box"
></div>
<!-- built files will be auto injected -->
<!--<script>
if (window.history && window.history.pushState) {
// 往历史记录里面添加一条新的当前页面的url
history.pushState(null, null, document.URL)
// 给 popstate 绑定一个方法 监听页面刷新
window.addEventListener('popstate', function(){
history.pushState(null, null, location.href );
alert('请点击左上角返回按钮返回')
}, false) // false阻止默认事件
}
</script>-->
<script>
// if (window.history && window.history.pushState) {
// // 往历史记录里面添加一条新的当前页面的url
// history.pushState(null, null, document.URL)
// // 给 popstate 绑定一个方法 监听页面刷新
// window.addEventListener('popstate', function(){
// history.pushState(null, null, location.href );
// alert('请点击左上角返回按钮返回')
// }, false) // false阻止默认事件
// }
const
u
=
navigator
.
userAgent
;
if
(
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
)
{
//安卓手机
window
.
addEventListener
(
'resize'
,
function
()
{
// Document 对象的activeElement 属性返回文档中当前获得焦点的元素。
if
(
document
.
activeElement
.
tagName
===
'INPUT'
||
document
.
activeElement
.
tagName
===
'TEXTAREA'
)
{
console
.
log
(
'安卓触发'
,
document
.
activeElement
.
tagName
)
window
.
setTimeout
(
function
()
{
document
.
activeElement
.
scrollIntoView
(
true
);
},
50
);
}
})
}
</script>
</body>
</html>
src/pages/contractCreate/add-undertake.vue
View file @
3c4cbe0c
...
...
@@ -164,6 +164,7 @@ export default {
margin: 0 auto;
}
.search {
position: absolute;
background-color: #fff;
padding: 8px 12px;
width: 100%;
...
...
@@ -197,7 +198,14 @@ export default {
border: 2px solid #bcc6ff;
}
}
.content {
position: absolute;
top: 0;
}
.scrollContent {
padding-top: 2.92rem;
padding-bottom: 20px;
}
}
.platform-ios {
#person {
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
3c4cbe0c
...
...
@@ -846,7 +846,8 @@ export default {
}, */
setTime
()
{
if
(
!
this
.
saveInfo
.
lease_start_date
)
{
let
signDate
=
new
Date
(
window
.
localStorage
.
getItem
(
'signDate'
).
replace
(
/-/
,
'/'
))
let
date
=
window
.
localStorage
.
getItem
(
'signDate'
).
replace
(
/-/g
,
'/'
)
let
signDate
=
new
Date
(
date
)
let
iToDay
=
signDate
.
getDate
()
let
iToMon
=
signDate
.
getMonth
()
let
iToYear
=
signDate
.
getFullYear
()
...
...
@@ -856,13 +857,15 @@ export default {
},
showTime
(
format
)
{
// 预计付款日
let
vm
=
this
let
signDate
=
new
Date
(
window
.
localStorage
.
getItem
(
'signDate'
).
replace
(
/-/
,
'/'
))
let
date
=
window
.
localStorage
.
getItem
(
'signDate'
).
replace
(
/-/g
,
'/'
)
let
signDate
=
new
Date
(
date
)
let
iToDay
=
signDate
.
getDate
()
let
iToMon
=
signDate
.
getMonth
()
let
iToYear
=
signDate
.
getFullYear
()
let
newDay
=
new
Date
(
iToYear
,
iToMon
,
(
iToDay
+
30
))
hlsPopup
.
showTime
({
nowDate
:
newDay
.
format
(
'yyyy-MM-dd'
),
// nowDate: newDay.format('yyyy-MM-dd'),
nowDate
:
(
new
Date
(
iToYear
,
iToMon
,
(
iToDay
+
30
))).
format
(
'yyyy-MM-dd'
),
format
:
format
,
callback
:
(
date
)
=>
{
if
(
date
>=
(
new
Date
()).
format
(
'yyyy-MM-dd'
))
{
...
...
src/pages/contractCreate/create-base-info.vue
View file @
3c4cbe0c
...
...
@@ -1202,47 +1202,6 @@ export default {
}
}
}
#add-person {
.item {
width: 359px;
margin: 0 auto;
}
.search {
background-color: #fff;
padding: 8px 12px;
width: 100%;
height: 1.02rem;
z-index: 100;
margin-bottom: 8px;
input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding-left: 12px;
height: 36px;
line-height: 36px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
input::placeholder {
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
letter-spacing: 0;
}
input:focus {
background: url("../../assets/contractStart/search2.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
border: 2px solid #bcc6ff;
}
}
}
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#add-person {
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
3c4cbe0c
...
...
@@ -572,13 +572,13 @@ export default {
// 监听客户类型
'baseInfo.bp_type_n'
()
{
let
vm
=
this
if
(
vm
.
baseInfo
.
bp_type
===
'TENANT'
||
vm
.
baseInfo
.
bp_type
===
'GUTA'
||
vm
.
hasPeople
)
{
if
(
vm
.
baseInfo
.
bp_type
===
'TENANT'
||
vm
.
baseInfo
.
bp_type
===
'GUTA'
||
vm
.
hasPeople
||
vm
.
hasMultiRole
)
{
vm
.
type
=
'请输入业务经办员工代码'
vm
.
typeName
=
'业务经办人'
vm
.
bp_type_flag
=
true
}
else
if
(
vm
.
baseInfo
.
bp_type
===
'AGENT'
||
vm
.
baseInfo
.
bp_type
===
'OFFICE'
||
vm
.
baseInfo
.
bp_type
===
'OFFICE'
||
vm
.
baseInfo
.
bp_type
===
'FACTORY'
)
{
vm
.
bp_type_flag
=
false
...
...
@@ -669,6 +669,8 @@ export default {
vm
.
licenseEditFlag
=
false
// 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
LaEditFlag
=
false
// 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片
vm
.
isClear
=
false
vm
.
bp_type_flag
=
false
vm
.
hasMultiRole
=
false
vm
.
idCardFrontUrlFlag
=
false
// 身份证正面图片,为false则用查询出来的,为true则用拍照出来的
vm
.
idCardBackUrlFlag
=
false
// 身份证反面图片,为false则用查询出来的,为true则用拍照出来的
...
...
@@ -849,9 +851,12 @@ export default {
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
if
(
res
.
result
===
'S'
)
{
vm
.
hasPeople
=
true
vm
.
bp_type_flag
=
true
return
true
}
else
{
vm
.
hasMultiRole
=
false
vm
.
hasPeople
=
false
vm
.
bp_type_flag
=
false
return
false
}
},
...
...
www/index.html
View file @
3c4cbe0c
<!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.160c697cd97fc2594a47fe279ead0285.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.8a1ae113e3b5262701ed.js
></script><script
type=
text/javascript
src=
./static/js/app.e710efd88f6f8e290340.js
></script></body></html>
\ No newline at end of file
<!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.50df0a69eb37030bfe6f255f2e3a8b6b.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.7d5f309224f0776e78e6.js
></script><script
type=
text/javascript
src=
./static/js/app.431abda42f27459ad6ac.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