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
9a4bb97c
Commit
9a4bb97c
authored
Oct 25, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
947a42af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
12 deletions
+82
-12
PlatformAccount.vue
src/components/FinancialModule/PlatformAccount.vue
+1
-1
index.vue
src/components/FinancialModule/PlatformAccount/index.vue
+81
-11
No files found.
src/components/FinancialModule/PlatformAccount.vue
View file @
9a4bb97c
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
components
:
{
PlatformAccount
},
components
:
{
PlatformAccount
},
data
()
{
data
()
{
return
{
return
{
pagesTitle
:
''
,
pagesTitle
:
'
平台账户
'
,
};
};
},
},
methods
:
{
methods
:
{
...
...
src/components/FinancialModule/PlatformAccount/index.vue
View file @
9a4bb97c
...
@@ -220,7 +220,9 @@
...
@@ -220,7 +220,9 @@
<p
class=
"_tit"
>
{{
text
}}{{
$t
(
'fnc.acc'
)
}}
</p>
<p
class=
"_tit"
>
{{
text
}}{{
$t
(
'fnc.acc'
)
}}
</p>
</el-col>
</el-col>
<el-col
:span=
"4"
class=
"_add_saveBtn"
>
<el-col
:span=
"4"
class=
"_add_saveBtn"
>
<button
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('addMsg',1)"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
<button
v-if=
"examineLoading"
type=
"button"
class=
"normalBtn"
@
click=
"examineInstitutions(1)"
>
通过
</button>
<button
v-if=
"examineLoading"
type=
"button"
class=
"normalBtn"
@
click=
"examineInstitutions(2)"
>
驳回
</button>
<button
v-if=
"examineLoading==false"
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('addMsg',1)"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
<button
class=
"hollowFixedBtn"
type=
"button"
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"cancelEdit(),resetForm('addMsg'),addShow=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
@
click=
"cancelEdit(),resetForm('addMsg'),addShow=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
</el-col>
</el-col>
...
@@ -241,7 +243,6 @@
...
@@ -241,7 +243,6 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.ptjigou')"
prop=
"BackId"
>
<el-form-item
:label=
"$t('fnc.ptjigou')"
prop=
"BackId"
>
<el-select
filterable
v-model=
"addMsg.BackId"
class
>
<el-select
filterable
v-model=
"addMsg.BackId"
class
>
...
@@ -598,6 +599,11 @@
...
@@ -598,6 +599,11 @@
loading
:
true
,
loading
:
true
,
CompanySelect
:
[],
CompanySelect
:
[],
ContractUrl
:
""
,
ContractUrl
:
""
,
examineLoading
:
false
,
ExamineMsg
:{
ID
:
0
,
AccountState
:
0
},
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
15
,
pageSize
:
15
,
...
@@ -878,6 +884,13 @@
...
@@ -878,6 +884,13 @@
this
.
text
=
this
.
$t
(
'pub.updateMsg'
)
this
.
text
=
this
.
$t
(
'pub.updateMsg'
)
this
.
addShow
=
true
this
.
addShow
=
true
this
.
addCuren
=
true
this
.
addCuren
=
true
}
else
if
(
params
.
type
===
'examine'
)
{
this
.
editCurency
(
params
.
id
)
this
.
text
=
"审核"
this
.
addShow
=
true
this
.
examineLoading
=
true
this
.
ExamineMsg
=
{
ID
:
params
.
id
,
AccountState
:
0
};
this
.
addCuren
=
true
}
}
},
},
initColums
()
{
initColums
()
{
...
@@ -953,10 +966,18 @@
...
@@ -953,10 +966,18 @@
width
:
80
,
width
:
80
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
let
text
=
that
.
$t
(
'hotel.hotel_people'
)
let
text
=
that
.
$t
(
'hotel.hotel_people'
)
return
rowData
.
SettlementType
==
1
?
let
commissionStr
=
""
;
rowData
.
Commission
.
toFixed
(
2
)
+
"%"
:
if
(
rowData
.
SettlementType
==
"1"
)
{
rowData
.
Commission
+
"/"
+
text
;
commissionStr
=
rowData
.
Commission
.
toFixed
(
2
)
+
"%"
;
}
else
if
(
rowData
.
SettlementType
==
"2"
)
{
commissionStr
=
rowData
.
Commission
+
"/"
+
text
;
}
else
{
commissionStr
=
rowData
.
Commission
.
toFixed
(
2
)
+
"%"
+
' '
+
rowData
.
Commission
+
"/"
+
text
;
}
return
commissionStr
;
},
},
filterMultiple
:
true
,
filterMultiple
:
true
,
result
:
[],
result
:
[],
filters
:
[{
filters
:
[{
...
@@ -1014,7 +1035,7 @@
...
@@ -1014,7 +1035,7 @@
type
:
"check"
type
:
"check"
};
};
let
signingLine
=
{
let
signingLine
=
{
field
:
"
SigningLine
"
,
field
:
"
LineList
"
,
title
:
that
.
$t
(
'fnc.qyluxian'
),
title
:
that
.
$t
(
'fnc.qyluxian'
),
titleAlign
:
"left"
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
columnAlign
:
"left"
,
...
@@ -1033,6 +1054,22 @@
...
@@ -1033,6 +1054,22 @@
isResize
:
true
,
isResize
:
true
,
width
:
80
width
:
80
};
};
let
accountState
=
{
field
:
"AccountState"
,
title
:
"状态"
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
isResize
:
true
,
width
:
40
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
let
accountStateStr
=
""
;
if
(
rowData
.
AccountState
==
0
){
accountStateStr
=
"待审核"
}
else
if
(
rowData
.
AccountState
==
1
){
accountStateStr
=
"正常"
}
else
if
(
rowData
.
AccountState
==
2
){
accountStateStr
=
"已驳回"
}
else
{
accountStateStr
=
""
}
return
accountStateStr
;
},
};
let
remark
=
{
let
remark
=
{
field
:
"Remark"
,
field
:
"Remark"
,
title
:
that
.
$t
(
'hotel.hotel_remark'
),
title
:
that
.
$t
(
'hotel.hotel_remark'
),
...
@@ -1048,7 +1085,7 @@
...
@@ -1048,7 +1085,7 @@
title
:
that
.
$t
(
'hotel.table_operat'
),
title
:
that
.
$t
(
'hotel.table_operat'
),
titleAlign
:
"left"
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
columnAlign
:
"left"
,
width
:
8
0
,
width
:
12
0
,
isResize
:
false
,
isResize
:
false
,
componentName
:
'table-operation'
componentName
:
'table-operation'
};
};
...
@@ -1062,6 +1099,7 @@
...
@@ -1062,6 +1099,7 @@
this
.
columns
.
push
(
contract
);
this
.
columns
.
push
(
contract
);
this
.
columns
.
push
(
signingLine
);
this
.
columns
.
push
(
signingLine
);
this
.
columns
.
push
(
bindBank
);
this
.
columns
.
push
(
bindBank
);
this
.
columns
.
push
(
accountState
);
this
.
columns
.
push
(
remark
);
this
.
columns
.
push
(
remark
);
this
.
columns
.
push
(
opera
);
this
.
columns
.
push
(
opera
);
this
.
isReady
=
true
;
this
.
isReady
=
true
;
...
@@ -1321,6 +1359,11 @@
...
@@ -1321,6 +1359,11 @@
SettlementDate
:
""
,
SettlementDate
:
""
,
SettlementInfo
:
""
SettlementInfo
:
""
};
};
this
.
examineLoading
=
false
,
this
.
ExamineMsg
=
{
ID
:
0
,
AccountState
:
0
},
this
.
SetProfitLossMsg
=
{
this
.
SetProfitLossMsg
=
{
ID
:
0
,
ID
:
0
,
EndRate
:
""
,
EndRate
:
""
,
...
@@ -1491,6 +1534,25 @@
...
@@ -1491,6 +1534,25 @@
err
=>
{}
err
=>
{}
);
);
},
},
examineInstitutions
(
state
)
{
this
.
ExamineMsg
.
AccountState
=
state
;
this
.
apipost
(
"BankAccount_get_ExaminePlatform"
,
this
.
ExamineMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
innerVisible
=
false
;
this
.
$message
.
success
(
res
.
data
.
message
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
this
.
ExamineMsg
=
{
ID
:
0
,
AccountState
:
0
};
this
.
examineLoading
=
false
;
this
.
getList
();
},
err
=>
{}
);
},
initAddMsg
()
{
initAddMsg
()
{
//初始化添加、修改数据
//初始化添加、修改数据
let
newMsg
=
{
let
newMsg
=
{
...
@@ -1588,12 +1650,12 @@
...
@@ -1588,12 +1650,12 @@
}
}
},
},
mounted
()
{
mounted
()
{
if
(
this
.
pagesTitle
&&
this
.
pagesTitle
==
'
审核
'
){
if
(
this
.
pagesTitle
&&
this
.
pagesTitle
==
'
平台账户
'
){
this
.
isExamine
=
true
this
.
isExamine
=
true
console
.
log
(
'可审核----'
)
console
.
log
(
'可审核----'
,
this
.
isExamine
)
}
else
{
}
else
{
this
.
isExamine
=
false
this
.
isExamine
=
false
console
.
log
(
'不能审核---'
)
console
.
log
(
'不能审核---'
,
this
.
isExamine
)
}
}
this
.
getLineList
()
this
.
getLineList
()
this
.
msg
.
pageSize
=
this
.
calcPageSize
(
40
);
this
.
msg
.
pageSize
=
this
.
calcPageSize
(
40
);
...
@@ -1616,7 +1678,7 @@
...
@@ -1616,7 +1678,7 @@
},
},
created
()
{
created
()
{
Vue
.
component
(
'table-operation'
,
{
Vue
.
component
(
'table-operation'
,
{
template
:
`<div style='width:
80px;height:40px;background:#fff;text-align:center;position: relative;left:-5px;padding-top: 6px;padding-top:6px;'><el-button type="primary" size='mini' icon="el-icon-edit" circle @click="update(rowData,index)"></el-button><el-button type="danger" size='mini' icon="el-icon-delete" circle @click="delet
eRow(rowData,index)"></el-button></div>`
,
template
:
`<div style='width:
120px;height:40px;background:#fff;text-align:center;position: relative;left:-5px;padding-top: 6px;padding-top:6px;'><el-button type="primary" size='mini' icon="el-icon-edit" circle @click="update(rowData,index)"></el-button><el-button type="danger" size='mini' icon="el-icon-delete" circle @click="deleteRow(rowData,index)"></el-button><el-button v-if="rowData.AccountState==0&isExamine" type="examine" size='mini' icon="el-icon-check avatar-uploader-icon" circle @click="examin
eRow(rowData,index)"></el-button></div>`
,
props
:
{
props
:
{
rowData
:
{
rowData
:
{
type
:
Object
type
:
Object
...
@@ -1643,6 +1705,14 @@
...
@@ -1643,6 +1705,14 @@
alias
:
this
.
rowData
.
Alias
alias
:
this
.
rowData
.
Alias
};
};
this
.
$emit
(
'on-custom-comp'
,
params
);
this
.
$emit
(
'on-custom-comp'
,
params
);
},
examineRow
()
{
let
params
=
{
type
:
'examine'
,
id
:
this
.
rowData
.
ID
,
alias
:
this
.
rowData
.
Alias
};
this
.
$emit
(
'on-custom-comp'
,
params
);
}
}
}
}
})
})
...
...
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