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
6911625e
Commit
6911625e
authored
May 17, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
214c1cde
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
20 deletions
+38
-20
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+5
-12
OPCommissionDetail.vue
...nents/FinancialModule/OpCommission/OPCommissionDetail.vue
+1
-1
TeamBalancePayment.vue
...omponents/TravelManager/TravelList/TeamBalancePayment.vue
+2
-4
index.js
src/plug/index.js
+30
-3
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
6911625e
...
...
@@ -1308,6 +1308,7 @@ import myGZBill from "./FinancialSubmodule/GZBillModule.vue";
export
default
{
data
()
{
return
{
isTerminate
:
-
1
,
hbMsg
:
{
FrIDList
:
[],
Type
:
1
...
...
@@ -2110,17 +2111,6 @@ export default {
},
// 切换table栏
getActive
(
active
,
Conditon
,
BOSSBtn
){
// if(this.loading==true){
// this.Error("当前正在请求,请稍后片刻切换!");
// return
// }else{
// this.active = active
// this.msg.Conditon = Conditon
// if(BOSSBtn){
// this.BOSSBtn = false
// }
// this.getPageList(0,1)
// }
this
.
active
=
active
this
.
msg
.
Conditon
=
Conditon
if
(
BOSSBtn
){
...
...
@@ -2129,6 +2119,7 @@ export default {
this
.
getPageList
(
0
,
1
)
},
getPageList
(
t
,
active
)
{
this
.
isTerminate
++
// 获取列表数据
this
.
loading
=
true
;
this
.
checkAllList
=
[];
...
...
@@ -2202,7 +2193,9 @@ export default {
}
// this.queryInfoInit();
},
err
=>
{}
err
=>
{},
''
,
this
.
isTerminate
,
);
if
(
this
.
msg
.
Conditon
==
7
)
{
this
.
getMyRejectFinanceCount
();
...
...
src/components/FinancialModule/OpCommission/OPCommissionDetail.vue
View file @
6911625e
...
...
@@ -375,7 +375,7 @@
path
:
path
,
query
:
{
PeriodId
:
this
.
$route
.
query
.
PeriodId
,
OutBranchId
:
item
.
RB_Branch_Id
,
//
OutBranchId: item.RB_Branch_Id,
UserId
:
item
.
EmployeeId
,
blank
:
'y'
,
tab
:
'同业提现详情'
...
...
src/components/TravelManager/TravelList/TeamBalancePayment.vue
View file @
6911625e
...
...
@@ -2436,10 +2436,8 @@
}
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_SelfBranch'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=
-
1
){
// 查看团队收支明细权限
if
(
ActionMenuCode
.
indexOf
(
'isIncomeExpenditure'
)
!=
-
1
){
this
.
isIncomeExpenditure
=
true
}
this
.
checkHasAuth
();
...
...
src/plug/index.js
View file @
6911625e
...
...
@@ -4,6 +4,7 @@ import co from 'co'
import
OSS
from
'ali-oss'
import
MsgBus
from
'../assets/utils/msgBus'
import
routerConfig
from
'../router/config'
;
import
axios
from
'axios'
export
default
{
data
:
{
loginUser
:
{},
...
...
@@ -119,8 +120,8 @@ export default {
let
crmUrl
=
""
;
//crm API
let
locationName
=
window
.
location
.
hostname
;
// domainUrl = "http://192.168.10.128";
//
domainUrl = "http://192.168.10.9:8083" // 刘东电脑
domainUrl
=
"http://192.168.10.226:8015"
;
domainUrl
=
"http://192.168.10.9:8083"
// 刘东电脑
//
domainUrl = "http://192.168.10.226:8015";
// domainUrl = "http://reborn.oytour.com";
let
crmLocalFileStreamDownLoadUrl
=
""
;
crmLocalFileStreamDownLoadUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://crm.oytour.com"
:
"http://testcrm.oytour.com"
;
...
...
@@ -252,7 +253,7 @@ export default {
}
//HTTP提交数据
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
,
isTerminate
)
{
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoad'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
...
...
@@ -334,6 +335,16 @@ export default {
"sign"
:
md5Str
,
"languageId"
:
tempLanguage
}
let
pending
=
[];
//声明一个数组用于存储每个请求的取消函数和axios标识
let
cancelToken
=
axios
.
CancelToken
;
let
removePending
=
(
config
)
=>
{
for
(
let
p
in
pending
){
if
(
pending
[
p
].
u
===
config
.
url
+
'&'
+
config
.
method
)
{
//当当前请求在数组中存在时执行函数体
pending
[
p
].
f
();
//执行取消操作
pending
.
splice
(
p
,
1
);
}
}
}
this
.
$http
.
post
(
apiurl
,
postData
,
{
headers
:
{
'Content-Type'
:
'application/json'
,
...
...
@@ -351,6 +362,22 @@ export default {
successCall
(
res
);
}
},
faildCall
)
if
(
isTerminate
&&
isTerminate
>
0
){
this
.
$http
.
interceptors
.
request
.
use
(
config
=>
{
removePending
(
config
);
//在一个axios发送前执行一下取消操作
config
.
cancelToken
=
new
cancelToken
((
c
)
=>
{
// 这里的axios标识我是用请求地址&请求方式拼接的字符串,当然你可以选择其他的一些方式
pending
.
push
({
u
:
config
.
url
+
'&'
+
config
.
method
,
f
:
c
});
});
return
Promise
.
resolve
(
config
)
},
error
=>
{
return
Promise
.
reject
(
error
)
})
}
},
// CRM接口
Vue
.
prototype
.
crmapipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
...
...
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