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
Oct 17, 2019
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 = {
...
@@ -179,15 +179,12 @@ var calendarUtils = {
*/
*/
isDateBetween
:
function
(
dateString
,
startDateString
,
endDateString
)
{
isDateBetween
:
function
(
dateString
,
startDateString
,
endDateString
)
{
if
(
calendarUtils
.
isEmpty
(
dateString
))
{
if
(
calendarUtils
.
isEmpty
(
dateString
))
{
console
.
log
(
"dateString不能为空"
);
return
;
return
;
}
}
if
(
calendarUtils
.
isEmpty
(
startDateString
))
{
if
(
calendarUtils
.
isEmpty
(
startDateString
))
{
console
.
log
(
"startDateString不能为空"
);
return
;
return
;
}
}
if
(
calendarUtils
.
isEmpty
(
endDateString
))
{
if
(
calendarUtils
.
isEmpty
(
endDateString
))
{
console
.
log
(
"endDateString不能为空"
);
return
;
return
;
}
}
var
flag
=
false
;
var
flag
=
false
;
...
@@ -208,11 +205,9 @@ var calendarUtils = {
...
@@ -208,11 +205,9 @@ var calendarUtils = {
*/
*/
dateCompare
:
function
(
dateString
,
compareDateString
)
{
dateCompare
:
function
(
dateString
,
compareDateString
)
{
if
(
calendarUtils
.
isEmpty
(
dateString
))
{
if
(
calendarUtils
.
isEmpty
(
dateString
))
{
console
.
log
(
"dateString不能为空"
);
return
;
return
;
}
}
if
(
calendarUtils
.
isEmpty
(
compareDateString
))
{
if
(
calendarUtils
.
isEmpty
(
compareDateString
))
{
console
.
log
(
"compareDateString不能为空"
);
return
;
return
;
}
}
var
dateTime
=
calendarUtils
.
dateParse
(
dateString
).
getTime
();
var
dateTime
=
calendarUtils
.
dateParse
(
dateString
).
getTime
();
...
...
src/assets/utils/googleMap.js
View file @
87b3e6f1
...
@@ -132,9 +132,7 @@ var googleMap = {
...
@@ -132,9 +132,7 @@ var googleMap = {
googleMap
.
geocoder
.
geocode
({
'address'
:
address
},
function
(
results
,
status
)
{
googleMap
.
geocoder
.
geocode
({
'address'
:
address
},
function
(
results
,
status
)
{
if
(
status
==
google
.
maps
.
GeocoderStatus
.
OK
)
{
if
(
status
==
google
.
maps
.
GeocoderStatus
.
OK
)
{
googleMap
.
getAddress
(
results
,
1
);
googleMap
.
getAddress
(
results
,
1
);
}
else
{
}
console
.
log
(
"对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!"
);
}
});
});
},
},
placeMarker
:
function
(
location
)
{
placeMarker
:
function
(
location
)
{
...
@@ -143,9 +141,7 @@ var googleMap = {
...
@@ -143,9 +141,7 @@ var googleMap = {
googleMap
.
geocoder
.
geocode
({
'location'
:
location
},
function
(
results
,
status
)
{
googleMap
.
geocoder
.
geocode
({
'location'
:
location
},
function
(
results
,
status
)
{
if
(
status
==
google
.
maps
.
GeocoderStatus
.
OK
)
{
if
(
status
==
google
.
maps
.
GeocoderStatus
.
OK
)
{
googleMap
.
getAddress
(
results
,
1
);
googleMap
.
getAddress
(
results
,
1
);
}
else
{
}
console
.
log
(
"对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!"
);
}
});
});
}
}
},
},
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
87b3e6f1
...
@@ -1163,11 +1163,8 @@ export default {
...
@@ -1163,11 +1163,8 @@ export default {
},
},
Financial_post_GetCostTypeList
(
id
,
type
){
//获取支出费用类型
Financial_post_GetCostTypeList
(
id
,
type
){
//获取支出费用类型
this
.
apipost
(
'Financial_post_GetCostTypeList'
,{
ID
:
id
},
res
=>
{
this
.
apipost
(
'Financial_post_GetCostTypeList'
,{
ID
:
id
},
res
=>
{
console
.
log
(
"this.res"
,
res
.
data
)
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
GetCostTypeList
=
res
.
data
.
data
;
this
.
GetCostTypeList
=
res
.
data
.
data
;
console
.
log
(
"this.GetCostTypeList"
,
this
.
GetCostTypeList
)
if
(
type
){
if
(
type
){
this
.
msg
.
detailList
.
forEach
(
x
=>
{
this
.
msg
.
detailList
.
forEach
(
x
=>
{
this
.
GetCostTypeList
.
forEach
(
y
=>
{
this
.
GetCostTypeList
.
forEach
(
y
=>
{
...
...
src/components/FinancialModule/refundQuery.vue
View file @
87b3e6f1
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<li>
<li>
<span>
<span>
<em>
财务单据
</em>
<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>
</span>
</li>
</li>
<li>
<li>
...
...
src/components/LeaderManagement/leaderReimbursement.vue
View file @
87b3e6f1
...
@@ -1038,7 +1038,7 @@
...
@@ -1038,7 +1038,7 @@
coefficient
=
1
+
0.08
;
coefficient
=
1
+
0.08
;
}
}
if
(
obj
.
PayStyle
===
1
||
obj
.
PayStyle
===
11
)
{
if
(
obj
.
PayStyle
===
1
||
obj
.
PayStyle
===
11
)
{
if
(
index
==
4
&&
obj
.
DMCPayType
!==
1
)
{
if
(
index
==
4
&&
obj
.
DMCPayType
!==
1
&&
obj
.
DMCPayType
!==
11
)
{
totalPrice
+=
0
;
totalPrice
+=
0
;
}
else
{
}
else
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
coefficient
-
item
.
RebateRatio
/
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
coefficient
-
item
.
RebateRatio
/
...
...
src/plug/index.js
View file @
87b3e6f1
...
@@ -91,7 +91,6 @@ export default {
...
@@ -91,7 +91,6 @@ export default {
}
}
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
)
}
}
return
Math
.
floor
(
yuHeight
/
itemHeight
)
return
Math
.
floor
(
yuHeight
/
itemHeight
)
}
}
...
@@ -112,10 +111,7 @@ export default {
...
@@ -112,10 +111,7 @@ export default {
//域名管理对象
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
let
domainUrl
=
''
;
// domainUrl = "http://testapi.oytour.com";
domainUrl
=
"http://192.168.2.214:8082"
;
// domainUrl = "http://192.168.2.214:8082";
domainUrl
=
"http://192.168.2.65:8025"
;
// domainUrl = "http://192.168.2.16:8083";
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
let
javaUrldo
=
""
;
let
javaUrldo
=
""
;
...
@@ -140,7 +136,7 @@ export default {
...
@@ -140,7 +136,7 @@ export default {
//阿里服务器地址
//阿里服务器地址
AliUrl
:
"https://reborndev.oss-cn-hangzhou.aliyuncs.com"
,
AliUrl
:
"https://reborndev.oss-cn-hangzhou.aliyuncs.com"
,
//本站文件流下载地址
//本站文件流下载地址
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/
·
api/file/GetFileFromWebApi"
,
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/api/file/GetFileFromWebApi"
,
//PDF文件预览地址
//PDF文件预览地址
PDFViewUrl
:
domainUrl
+
"/plug/pdf/web/viewer.html?file="
,
PDFViewUrl
:
domainUrl
+
"/plug/pdf/web/viewer.html?file="
,
//SocketUrl
//SocketUrl
...
@@ -661,7 +657,7 @@ export default {
...
@@ -661,7 +657,7 @@ export default {
successCall
(
result
);
successCall
(
result
);
}
}
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
});
}
}
},
},
...
@@ -686,7 +682,7 @@ export default {
...
@@ -686,7 +682,7 @@ export default {
})
})
}
}
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
console
.
log
(
"上传文件出错"
+
err
);
});
});
}
}
}
}
...
...
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