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
87b3e6f1
Commit
87b3e6f1
authored
5 years ago
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
4786e4d5
7e120060
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
24 deletions
+8
-24
calendarUtils.js
src/assets/utils/calendarUtils.js
+0
-5
googleMap.js
src/assets/utils/googleMap.js
+2
-6
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+0
-3
refundQuery.vue
src/components/FinancialModule/refundQuery.vue
+1
-1
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+1
-1
index.js
src/plug/index.js
+4
-8
No files found.
src/assets/utils/calendarUtils.js
View file @
87b3e6f1
...
...
@@ -179,15 +179,12 @@ var calendarUtils = {
*/
isDateBetween
:
function
(
dateString
,
startDateString
,
endDateString
)
{
if
(
calendarUtils
.
isEmpty
(
dateString
))
{
console
.
log
(
"dateString不能为空"
);
return
;
}
if
(
calendarUtils
.
isEmpty
(
startDateString
))
{
console
.
log
(
"startDateString不能为空"
);
return
;
}
if
(
calendarUtils
.
isEmpty
(
endDateString
))
{
console
.
log
(
"endDateString不能为空"
);
return
;
}
var
flag
=
false
;
...
...
@@ -208,11 +205,9 @@ var calendarUtils = {
*/
dateCompare
:
function
(
dateString
,
compareDateString
)
{
if
(
calendarUtils
.
isEmpty
(
dateString
))
{
console
.
log
(
"dateString不能为空"
);
return
;
}
if
(
calendarUtils
.
isEmpty
(
compareDateString
))
{
console
.
log
(
"compareDateString不能为空"
);
return
;
}
var
dateTime
=
calendarUtils
.
dateParse
(
dateString
).
getTime
();
...
...
This diff is collapsed.
Click to expand it.
src/assets/utils/googleMap.js
View file @
87b3e6f1
...
...
@@ -132,9 +132,7 @@ var googleMap = {
googleMap
.
geocoder
.
geocode
({
'address'
:
address
},
function
(
results
,
status
)
{
if
(
status
==
google
.
maps
.
GeocoderStatus
.
OK
)
{
googleMap
.
getAddress
(
results
,
1
);
}
else
{
console
.
log
(
"对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!"
);
}
}
});
},
placeMarker
:
function
(
location
)
{
...
...
@@ -143,9 +141,7 @@ var googleMap = {
googleMap
.
geocoder
.
geocode
({
'location'
:
location
},
function
(
results
,
status
)
{
if
(
status
==
google
.
maps
.
GeocoderStatus
.
OK
)
{
googleMap
.
getAddress
(
results
,
1
);
}
else
{
console
.
log
(
"对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!"
);
}
}
});
}
},
...
...
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
87b3e6f1
...
...
@@ -1163,11 +1163,8 @@ export default {
},
Financial_post_GetCostTypeList
(
id
,
type
){
//获取支出费用类型
this
.
apipost
(
'Financial_post_GetCostTypeList'
,{
ID
:
id
},
res
=>
{
console
.
log
(
"this.res"
,
res
.
data
)
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
GetCostTypeList
=
res
.
data
.
data
;
console
.
log
(
"this.GetCostTypeList"
,
this
.
GetCostTypeList
)
if
(
type
){
this
.
msg
.
detailList
.
forEach
(
x
=>
{
this
.
GetCostTypeList
.
forEach
(
y
=>
{
...
...
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/refundQuery.vue
View file @
87b3e6f1
...
...
@@ -70,7 +70,7 @@
<li>
<span>
<em>
财务单据
</em>
<el-input
type=
"text"
v-model=
"msg.FinanceId"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
type=
"text"
v-model=
"msg.FinanceId"
@
keyup
.
native=
"checkInteger(msg,'FinanceId')"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
...
...
This diff is collapsed.
Click to expand it.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
87b3e6f1
...
...
@@ -1038,7 +1038,7 @@
coefficient
=
1
+
0.08
;
}
if
(
obj
.
PayStyle
===
1
||
obj
.
PayStyle
===
11
)
{
if
(
index
==
4
&&
obj
.
DMCPayType
!==
1
)
{
if
(
index
==
4
&&
obj
.
DMCPayType
!==
1
&&
obj
.
DMCPayType
!==
11
)
{
totalPrice
+=
0
;
}
else
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
coefficient
-
item
.
RebateRatio
/
...
...
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
87b3e6f1
...
...
@@ -91,7 +91,6 @@ export default {
}
})
}
catch
(
error
)
{
console
.
log
(
error
)
}
return
Math
.
floor
(
yuHeight
/
itemHeight
)
}
...
...
@@ -112,10 +111,7 @@ export default {
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
// domainUrl = "http://testapi.oytour.com";
// domainUrl = "http://192.168.2.214:8082";
domainUrl
=
"http://192.168.2.65:8025"
;
// domainUrl = "http://192.168.2.16:8083";
domainUrl
=
"http://192.168.2.214:8082"
;
let
locationName
=
window
.
location
.
hostname
;
let
javaUrldo
=
""
;
...
...
@@ -140,7 +136,7 @@ export default {
//阿里服务器地址
AliUrl
:
"https://reborndev.oss-cn-hangzhou.aliyuncs.com"
,
//本站文件流下载地址
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/
·
api/file/GetFileFromWebApi"
,
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/api/file/GetFileFromWebApi"
,
//PDF文件预览地址
PDFViewUrl
:
domainUrl
+
"/plug/pdf/web/viewer.html?file="
,
//SocketUrl
...
...
@@ -661,7 +657,7 @@ export default {
successCall
(
result
);
}
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
}
},
...
...
@@ -686,7 +682,7 @@ export default {
})
}
}).
catch
(
function
(
err
)
{
console
.
log
(
"上传文件出错"
+
err
);
});
}
}
...
...
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