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
fd656fa4
authored
2022-10-12 11:31:42 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务申请
1 parent
44893c4d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
10 deletions
src/api/ywbl.js
src/views/ywbl/ywsq/slectBdcdata.js
src/views/ywbl/ywsq/ywsq.vue
src/api/ywbl.js
View file @
fd656fa
...
...
@@ -106,3 +106,21 @@ export function selectCfdj (data) {
data
})
}
/*
业务办理-业务申请-添加收藏业务
*/
export
function
addCollectBiz
(
bsmSqyw
)
{
return
request
({
url
:
'/ywbl/BusinessApply/addCollectBiz?bsmSqyw='
+
bsmSqyw
,
method
:
'post'
})
}
/*
业务办理-业务申请-添加收藏业务
*/
export
function
deleteCollectBiz
(
bsmSqyw
)
{
return
request
({
url
:
'/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw='
+
bsmSqyw
,
method
:
'post'
})
}
\ No newline at end of file
...
...
src/views/ywbl/ywsq/slectBdcdata.js
View file @
fd656fa
...
...
@@ -9,6 +9,8 @@ export function queueDjywmc (djywbm) {
case
"A03200"
:
case
"A03300"
:
case
"A03400"
:
vm
=
"jsydsyq200"
;
break
;
case
"A04100"
:
vm
=
"houseOwnership"
;
break
;
...
...
src/views/ywbl/ywsq/ywsq.vue
View file @
fd656fa
...
...
@@ -23,8 +23,9 @@
<p>
{{
item
.
nodename
}}
</p>
<p
v-if=
"item.sffqlc == 1"
:class=
"item.select ? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.select ? 'active' : ''"
></i>
<p
v-if=
"item.sffqlc == 1"
:class=
"item.userCollect==1 ? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.userCollect==1 ? 'active' : ''"
></i>
</p>
</li>
</ul>
...
...
@@ -38,8 +39,9 @@
<p>
{{
item
.
nodename
}}
</p>
<p
v-if=
"item.sffqlc == 1"
:class=
"item.select ? 'active' : ''"
@
click=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.select ? 'active' : ''"
></i>
<p
v-if=
"item.sffqlc == 1"
:class=
"item.userCollect==1 ? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.userCollect==1 ? 'active' : ''"
></i>
</p>
</li>
</ul>
...
...
@@ -52,8 +54,8 @@
<p>
{{
item
.
nodename
}}
</p>
<p
:class=
"item.
select
? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.
select
? 'active' : ''"
></i>
<p
:class=
"item.
userCollect==1
? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.
userCollect==1
? 'active' : ''"
></i>
</p>
</li>
</ul>
...
...
@@ -67,7 +69,7 @@
</div>
</
template
>
<
script
>
import
{
getCollectBiz
,
getleftMenu
,
getNextNode
}
from
"@/api/ywbl"
import
{
getCollectBiz
,
getleftMenu
,
getNextNode
,
addCollectBiz
,
deleteCollectBiz
}
from
"@/api/ywbl"
import
fqsqDialog
from
"./slectBdc.vue"
export
default
{
data
()
{
...
...
@@ -88,8 +90,7 @@ export default {
djqxObj
:
{
djqxbm
:
""
,
djqxmc
:
""
,
},
}
}
},
components
:
{
...
...
@@ -161,7 +162,28 @@ export default {
})
},
handleCollection
(
item
)
{
item
.
select
=
!
item
.
select
let
that
=
this
if
(
item
.
userCollect
==
'2'
)
{
addCollectBiz
(
item
.
bsmSqyw
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
item
.
userCollect
=
'1'
that
.
$message
({
message
:
'收藏成功!'
,
type
:
'success'
})
}
})
}
else
{
deleteCollectBiz
(
item
.
bsmSqyw
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
item
.
userCollect
=
'2'
that
.
$message
({
message
:
'取消收藏成功!'
,
type
:
'success'
})
}
})
}
},
handleSelect
(
item
)
{
this
.
busList
.
forEach
(
item
=>
{
...
...
Please
register
or
sign in
to post a comment