Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
e39275c0
Commit
e39275c0
authored
May 12, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增修改手续费
parent
0185e47a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2061 additions
and
9875 deletions
+2061
-9875
App.vue
src/App.vue
+171
-142
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+1887
-1256
index.js
src/plug/index.js
+3
-3
yarn.lock
yarn.lock
+0
-8474
No files found.
src/App.vue
View file @
e39275c0
...
...
@@ -19,20 +19,26 @@
<
script
>
var
sUserAgent
=
navigator
.
userAgent
;
if
(
sUserAgent
.
indexOf
(
'Android'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPhone'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPad'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPod'
)
>
-
1
||
sUserAgent
.
indexOf
(
'Symbian'
)
>
-
1
)
{
if
(
sUserAgent
.
indexOf
(
"Android"
)
>
-
1
||
sUserAgent
.
indexOf
(
"iPhone"
)
>
-
1
||
sUserAgent
.
indexOf
(
"iPad"
)
>
-
1
||
sUserAgent
.
indexOf
(
"iPod"
)
>
-
1
||
sUserAgent
.
indexOf
(
"Symbian"
)
>
-
1
)
{
// document.body.style.minWidth = '100%'
// document.body.style.maxWidth = '100%'
// document.body.style.overflow = 'hidden'
// document.html.style.minWidth = '100%'
}
else
{
document
.
body
.
style
.
minWidth
=
'1366px'
}
else
{
document
.
body
.
style
.
minWidth
=
"1366px"
;
// document.html.style.minWidth = '1366px'
}
import
chosenOpenMode
from
'./components/commonPage/chosenOpenMode'
import
mycareer
from
'./components/champion/mycareer'
import
{
clearInterval
}
from
'timers'
;
}
import
chosenOpenMode
from
"./components/commonPage/chosenOpenMode"
;
import
mycareer
from
"./components/champion/mycareer"
;
import
{
clearInterval
}
from
"timers"
;
export
default
{
name
:
'App'
,
name
:
"App"
,
components
:
{
chosenOpenMode
,
mycareer
...
...
@@ -41,167 +47,190 @@ export default {
//注册禁止后退,并且不做卸载
// history.go(-1)
// history.forward(-1)
if
(
localStorage
.
openMode
&&
localStorage
.
openMode
==
1
)
{
try
{
if
(
localStorage
.
openMode
&&
localStorage
.
openMode
==
1
)
{
try
{
history
.
pushState
(
null
,
null
,
document
.
URL
);
window
.
addEventListener
(
'popstate'
,
function
()
{
window
.
addEventListener
(
"popstate"
,
function
()
{
history
.
pushState
(
null
,
null
,
document
.
URL
);
})
}
catch
(
err
)
{
});
}
catch
(
err
)
{}
}
}
},
data
()
{
data
()
{
return
{
images
:[],
imageOptions
:{
navbar
:
false
,
title
:
false
images
:
[],
imageOptions
:
{
navbar
:
false
,
title
:
false
},
dataShow
:
false
,
haveOpenMode
:
false
,
dataShow
:
false
,
haveOpenMode
:
false
,
settingSys
:
false
,
timer
:
null
,
useTime
:
0
,
showCareer
:
false
,
careerId
:
0
,
isRed
:
false
timer
:
null
,
useTime
:
0
,
showCareer
:
false
,
careerId
:
0
,
isRed
:
false
// sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true
}
}
;
},
methods
:
{
inited
(
viewer
)
{
this
.
$viewer
=
viewer
inited
(
viewer
)
{
this
.
$viewer
=
viewer
;
},
closeCareer
(){
this
.
showCareer
=
false
closeCareer
()
{
this
.
showCareer
=
false
;
},
show
(
data
)
{
this
.
$set
(
this
.
images
,
data
)
this
.
$viewer
.
show
()
show
(
data
)
{
this
.
$set
(
this
.
images
,
data
);
this
.
$viewer
.
show
()
;
},
listeneruser
(){
let
that
=
this
window
.
onblur
=
function
()
{
that
.
plaus
()
listeneruser
()
{
let
that
=
this
;
window
.
onblur
=
function
()
{
that
.
plaus
()
;
if
(
that
.
useTime
)
{
let
params
=
{
CreateBy
:
that
.
getLocalStorage
().
EmployeeId
,
UsedTime
:
that
.
useTime
}
that
.
apipost
(
"user_set_user_usederplog"
,
params
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
that
.
UsedTime
=
0
}
})
}
}
window
.
onfocus
=
function
()
{
that
.
timekeeper
()
}
let
params
=
{
CreateBy
:
that
.
getLocalStorage
().
EmployeeId
,
UsedTime
:
that
.
useTime
};
that
.
apipost
(
"user_set_user_usederplog"
,
params
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
)
{
that
.
UsedTime
=
0
;
}
});
}
};
window
.
onfocus
=
function
()
{
that
.
timekeeper
();
};
},
timekeeper
(){
if
(
!
this
.
timer
)
{
this
.
timer
=
window
.
setInterval
(()
=>
{
this
.
useTime
+=
0.1
},
1000
*
6
);
timekeeper
()
{
if
(
!
this
.
timer
)
{
this
.
timer
=
window
.
setInterval
(()
=>
{
this
.
useTime
+=
0.1
;
},
1000
*
6
);
}
},
plaus
()
{
if
(
this
.
timer
)
{
if
(
this
.
timer
)
{
window
.
clearInterval
(
this
.
timer
);
this
.
timer
=
null
this
.
timer
=
null
;
}
}
},
mounted
()
{
if
(
!
this
.
getLocalStorage
()
&&
document
.
URL
.
indexOf
(
"SupplierLogin"
)
==-
1
&&
document
.
URL
.
indexOf
(
"clientConfirm"
)
==-
1
&&
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
==-
1
&&
document
.
URL
.
indexOf
(
"ViittoContractConfirm"
)
==-
1
)
{
if
(
!
this
.
getLocalStorage
()
&&
document
.
URL
.
indexOf
(
"SupplierLogin"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientConfirm"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"ViittoContractConfirm"
)
==
-
1
)
{
this
.
$router
.
push
({
path
:
'/login'
})
}
else
{
if
(
document
.
URL
.
indexOf
(
"clientConfirm"
)
!=-
1
||
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
!=-
1
||
document
.
URL
.
indexOf
(
"ViittoContractConfirm"
)
!=-
1
){
localStorage
.
openMode
=
0
}
else
{
path
:
"/login"
});
}
else
{
if
(
document
.
URL
.
indexOf
(
"clientConfirm"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"ViittoContractConfirm"
)
!=
-
1
)
{
localStorage
.
openMode
=
0
;
}
else
{
}
this
.
timekeeper
()
this
.
listeneruser
()
this
.
timekeeper
()
;
this
.
listeneruser
()
;
}
this
.
haveOpenMode
=!
localStorage
.
openMode
this
.
MsgBus
.
$on
(
'imgpreviewoverflow'
,
content
=>
{
this
.
show
(
content
)
})
this
.
MsgBus
.
$on
(
'imgpreviewshow'
,
content
=>
{
this
.
$viewer
.
show
()
})
this
.
MsgBus
.
$on
(
'imgpreviewshowindex'
,
content
=>
{
this
.
$viewer
.
view
(
this
.
images
.
indexOf
(
content
))
this
.
$viewer
.
show
()
})
this
.
MsgBus
.
$on
(
'settingOpen'
,
content
=>
{
this
.
haveOpenMode
=
!
localStorage
.
openMode
;
this
.
MsgBus
.
$on
(
"imgpreviewoverflow"
,
content
=>
{
this
.
show
(
content
)
;
})
;
this
.
MsgBus
.
$on
(
"imgpreviewshow"
,
content
=>
{
this
.
$viewer
.
show
()
;
})
;
this
.
MsgBus
.
$on
(
"imgpreviewshowindex"
,
content
=>
{
this
.
$viewer
.
view
(
this
.
images
.
indexOf
(
content
))
;
this
.
$viewer
.
show
()
;
})
;
this
.
MsgBus
.
$on
(
"settingOpen"
,
content
=>
{
this
.
haveOpenMode
=
true
;
this
.
settingSys
=
true
;
})
this
.
MsgBus
.
$on
(
'settingClose'
,
content
=>
{
})
;
this
.
MsgBus
.
$on
(
"settingClose"
,
content
=>
{
this
.
haveOpenMode
=
false
;
this
.
settingSys
=
false
;
})
this
.
MsgBus
.
$on
(
'imgprevpush'
,
content
=>
{
let
isExsit
=
false
this
.
images
.
forEach
(
x
=>
{
if
(
x
==
content
)
isExsit
=
true
})
if
(
!
isExsit
)
this
.
images
.
push
(
content
)
})
this
.
MsgBus
.
$on
(
'imgprevclear'
,
content
=>
{
this
.
images
=
[]
})
this
.
MsgBus
.
$on
(
'showCareer'
,
empId
=>
{
this
.
careerId
=
empId
this
.
showCareer
=
true
})
this
.
MsgBus
.
$on
(
'hideCareer'
,
content
=>
{
this
.
careerId
=
0
this
.
showCareer
=
false
})
this
.
MsgBus
.
$on
(
"changeTheme"
,
t
=>
{
this
.
isRed
=
t
==
1
;
})
}
}
});
this
.
MsgBus
.
$on
(
"imgprevpush"
,
content
=>
{
let
isExsit
=
false
;
this
.
images
.
forEach
(
x
=>
{
if
(
x
==
content
)
isExsit
=
true
;
});
if
(
!
isExsit
)
this
.
images
.
push
(
content
);
});
this
.
MsgBus
.
$on
(
"imgprevclear"
,
content
=>
{
this
.
images
=
[];
});
this
.
MsgBus
.
$on
(
"showCareer"
,
empId
=>
{
this
.
careerId
=
empId
;
this
.
showCareer
=
true
;
});
this
.
MsgBus
.
$on
(
"hideCareer"
,
content
=>
{
this
.
careerId
=
0
;
this
.
showCareer
=
false
;
});
this
.
MsgBus
.
$on
(
"changeTheme"
,
t
=>
{
this
.
isRed
=
t
==
1
;
});
}
};
</
script
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_63x5920i6sn.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
/* html,body{height: 100%; min-width: 1366px; } */
html
,
body
{
margin
:
0
;
padding
:
0
;
background
:
#f9f9f9
url(assets/img/img-bg.png)
no-repeat
bottom
left
/
100%
auto
;
height
:
100%
;}
#app
{
height
:
100%
;}
#app
>
div
{
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;}
.BMap_cpyCtrl
{
display
:
none
;}
.anchorBL
{
display
:
none
;}
.viewer
{
display
:
none
!important
;}
.showMyCareer
{
@import
"//at.alicdn.com/t/font_635492_wcd7pw1105.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
/* html,body{height: 100%; min-width: 1366px; } */
html
,
body
{
margin
:
0
;
padding
:
0
;
background
:
#f9f9f9
url(assets/img/img-bg.png)
no-repeat
bottom
left
/
100%
auto
;
height
:
100%
;
}
#app
{
height
:
100%
;
}
#app
>
div
{
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
}
.BMap_cpyCtrl
{
display
:
none
;
}
.anchorBL
{
display
:
none
;
}
.viewer
{
display
:
none
!important
;
}
.showMyCareer
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
right
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
.3
);
background
:
rgba
(
0
,
0
,
0
,
0
.3
);
align-items
:
center
;
justify-content
:
center
;
z-index
:
999999999999999
;
}
.red-theme
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Segoe
UI
,
Roboto
,
Helvetica
Neue
,
Arial
,
Apple
Color
Emoji
,
Segoe
UI
Emoji
,
Segoe
UI
Symbol
,
Noto
Color
Emoji
,
MicrosoftJhengHeiBoldFix
,
"\5FAE\8EDF\6B63\9ED1\9AD4"
,
Microsoft
JhengHei
;
}
}
.red-theme
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Segoe
UI
,
Roboto
,
Helvetica
Neue
,
Arial
,
Apple
Color
Emoji
,
Segoe
UI
Emoji
,
Segoe
UI
Symbol
,
Noto
Color
Emoji
,
MicrosoftJhengHeiBoldFix
,
"\5FAE\8EDF\6B63\9ED1\9AD4"
,
Microsoft
JhengHei
;
}
</
style
>
src/components/FinancialModule/FinancialDocuments.vue
View file @
e39275c0
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
e39275c0
...
...
@@ -117,7 +117,7 @@ export default {
let
mallUrl
=
""
;
//商城API
let
lxymallUrl
=
''
;
//国内游api
let
locationName
=
window
.
location
.
hostname
;
domainUrl
=
"http://192.168.10.2
:8083"
;
domainUrl
=
"http://192.168.10.36
:8083"
;
let
javaUrldo
=
""
;
javaUrldo
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://efficient.oytour.com"
:
"http://47.96.12.235:9001"
)
:
"http://192.168.2.215:9000"
;
//商城API
...
...
yarn.lock
deleted
100644 → 0
View file @
0185e47a
This diff is collapsed.
Click to expand it.
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