Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0d06b2b2
authored
2023-09-08 13:36:58 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:信息备案
1 parent
2251f715
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
65 additions
and
16 deletions
src/api/company.js
src/api/xxba.js
src/views/xxba/components/addDialog.vue
src/views/xxba/components/clxx/dialog/imagePreview.vue
src/views/xxba/qyxxba/index.vue
src/views/xxba/yhjgba/index.vue
src/api/company.js
View file @
0d06b2b
/*
* @Description: 企业银行接口
* @Autor: renchao
* @LastEditTime: 2023-09-0
7 16:53:2
5
* @LastEditTime: 2023-09-0
8 09:18:4
5
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
@@ -58,6 +58,9 @@ export function uploadBatch (data) {
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sys/company/uploadBatch'
,
method
:
'post'
,
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
data
})
}
\ No newline at end of file
...
...
src/api/xxba.js
View file @
0d06b2b
/*
* @Description: 信息备案
* @Autor:
* @LastEditTime: 2023-0
7-19 14:52:03
* @LastEditTime: 2023-0
9-08 09:27:58
*/
import
request
from
'@/utils/request'
...
...
@@ -58,3 +58,17 @@ export function queryYhByPage (data) {
})
}
/**
* @description: 删除列表
* @param {*} companyBsm
* @author: renchao
*/
export
function
remove
(
companyBsm
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sys/company/remove'
,
method
:
'get'
,
params
:
{
companyBsm
:
companyBsm
}
})
}
\ No newline at end of file
...
...
src/views/xxba/components/addDialog.vue
View file @
0d06b2b
...
...
@@ -14,14 +14,25 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"电话:"
prop=
"dh"
>
<el-input
v-model
=
"ruleForm.dh
"
></el-input>
<el-input
v-model
.
number=
"ruleForm.dh"
maxlength=
"11
"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"证件种类:"
>
<el-input
v-model=
"ruleForm.zjzl"
></el-input>
<el-form-item
label=
"证件种类"
prop=
"zjzl"
>
<el-select
clearable
v-model=
"ruleForm.zjzl"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in zjzlList"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -81,6 +92,7 @@
},
data
()
{
return
{
zjzlList
:
store
.
getters
.
dictData
[
'A30'
],
activeName
:
"1"
,
DJJGLIST
:
store
.
getters
.
dictData
[
'ywly'
],
readOnly
:
false
,
...
...
src/views/xxba/components/clxx/dialog/imagePreview.vue
View file @
0d06b2b
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-07 1
6:54:37
* @LastEditTime: 2023-09-07 1
7:23:02
-->
<
template
>
<div
class=
"rlPopup"
>
...
...
@@ -268,7 +268,7 @@
this
.
key
++
return
;
}
formData
.
append
(
"bsmMaterial
"
,
this
.
previewImg
.
bsmMaterial
);
formData
.
append
(
"bsmMaterial"
,
this
.
previewImg
.
bsmMaterial
);
uploadBatch
(
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$emit
(
'updateList'
,
res
.
result
)
...
...
src/views/xxba/qyxxba/index.vue
View file @
0d06b2b
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-0
7 14:56:54
* @LastEditTime: 2023-09-0
8 09:30:08
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -42,7 +42,7 @@
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./data"
import
{
queryQyByPage
,
addQy
}
from
"@/api/xxba.js"
;
import
{
queryQyByPage
,
addQy
,
remove
}
from
"@/api/xxba.js"
;
export
default
{
name
:
"cwrz"
,
components
:
{},
...
...
@@ -112,16 +112,26 @@
* @description: handleDelete
* @author: renchao
*/
handleDelete
()
{
handleDelete
(
row
)
{
let
_this
=
this
this
.
$confirm
(
'此操作将永久删除该文件, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$message
({
remove
(
row
.
bsmCompany
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
_this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
}
const
totalPage
=
Math
.
ceil
((
_this
.
tableData
.
total
-
1
)
/
_this
.
pageData
.
pageSize
)
// 总页数
_this
.
pageData
.
currentPage
=
_this
.
pageData
.
currentPage
>
totalPage
?
totalPage
:
_this
.
pageData
.
currentPage
_this
.
pageData
.
currentPage
=
_this
.
pageData
.
currentPage
<
1
?
1
:
_this
.
pageData
.
currentPage
_this
.
queryClick
(
_this
.
pageData
.
currentPage
);
//重新渲染数
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
...
...
src/views/xxba/yhjgba/index.vue
View file @
0d06b2b
...
...
@@ -42,7 +42,7 @@
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./data"
import
{
queryYhByPage
,
addYh
}
from
"@/api/xxba.js"
;
import
{
queryYhByPage
,
addYh
,
remove
}
from
"@/api/xxba.js"
;
export
default
{
name
:
"cwrz"
,
components
:
{},
...
...
@@ -112,22 +112,32 @@
* @description: handleDelete
* @author: renchao
*/
handleDelete
()
{
handleDelete
(
row
)
{
let
_this
=
this
this
.
$confirm
(
'此操作将永久删除该文件, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$message
({
remove
(
row
.
bsmCompany
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
_this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
}
const
totalPage
=
Math
.
ceil
((
_this
.
tableData
.
total
-
1
)
/
_this
.
pageData
.
pageSize
)
// 总页数
_this
.
pageData
.
currentPage
=
_this
.
pageData
.
currentPage
>
totalPage
?
totalPage
:
_this
.
pageData
.
currentPage
_this
.
pageData
.
currentPage
=
_this
.
pageData
.
currentPage
<
1
?
1
:
_this
.
pageData
.
currentPage
_this
.
queryClick
(
_this
.
pageData
.
currentPage
);
//重新渲染数
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
})
;
})
;
})
})
}
}
}
...
...
Please
register
or
sign in
to post a comment