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
fc4eaed2
authored
2022-09-01 10:27:34 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务申请
1 parent
1e7b62fb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
110 additions
and
90 deletions
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/ywsq/components/cfdj/cfdj.vue
src/views/ywbl/ywsq/components/fqsqDialog/fqsqDialog.vue
src/views/ywbl/ywsq/components/scdj/scdj.vue
src/views/ywbl/ywsq/components/xfdj/xfdj.vue
src/views/ywbl/ywsq/components/zydj/zydj.vue
src/views/ywbl/dbx/dbx.vue
View file @
fc4eaed
...
...
@@ -66,8 +66,6 @@ export default {
computed
:
{
...
mapGetters
([
'dictData'
]),
},
data
()
{
return
{
queryForm
:
{
...
...
@@ -90,23 +88,23 @@ export default {
mounted
()
{
sendThis
(
this
);
let
that
=
this
window
.
addEventListener
(
'visibilitychange'
,
this
.
init
,
true
)
window
.
addEventListener
(
'visibilitychange'
,
this
.
init
,
true
)
},
destroyed
()
{
window
.
removeEventListener
(
'visibilitychange'
,
this
.
init
,
true
)
destroyed
()
{
window
.
removeEventListener
(
'visibilitychange'
,
this
.
init
,
true
)
},
created
()
{
},
methods
:
{
init
(
e
)
{
init
(
e
)
{
var
isHidden
=
document
.
hidden
;
if
(
isHidden
)
{
//切离该页面时执行
if
(
isHidden
)
{
//切离该页面时执行
//页面切换时,处理逻辑
}
else
{
//切换到该页面时执行
if
(
window
.
location
.
hash
==
'#/ywbl/dbx'
){
console
.
log
(
'让我看看'
,
window
.
location
)
that
.
fetchData
()
}
else
{
//切换到该页面时执行
if
(
window
.
location
.
hash
==
'#/ywbl/dbx'
)
{
console
.
log
(
'让我看看'
,
window
.
location
)
that
.
fetchData
()
}
}
}
},
// 列表渲染接口
fetchData
()
{
...
...
@@ -128,7 +126,7 @@ export default {
console
.
log
(
999999999999999
);
},
ywhClick
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
)
window
.
open
(
href
,
'_blank'
);
},
},
...
...
src/views/ywbl/ywsq/components/cfdj/cfdj.vue
View file @
fc4eaed
...
...
@@ -45,21 +45,24 @@
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"submit_button"
>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
:loading=
"saveloding"
>
发起申请
</el-button>
</div>
</div>
</
template
>
<
script
>
//查封等级
import
{
datas
,
sendThis
}
from
"./cfdj.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
selectBdcdy
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
},
mixins
:
[
table
],
data
()
{
return
{
appliDialog
:
false
,
queryForm
:
{
qllx
:
""
,
bdcdyh
:
""
,
...
...
@@ -73,23 +76,24 @@ export default {
columns
:
datas
.
columns
(),
data
:
[],
},
myValue
:
this
.
value
,
saveloding
:
false
,
bdcdysz
:
[]
bdcdysz
:
[],
saveloding
:
false
};
},
mounted
()
{
sendThis
(
this
);
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
bsmSqyw
(
val
)
{
this
.
fetchData
()
},
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
closeDialog
()
{
this
.
$emit
(
"closeDialog"
)
},
fetchData
()
{
if
(
this
.
value
)
{
if
(
this
.
bsmSqyw
)
{
selectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -111,14 +115,11 @@ export default {
bdcdysz
:
this
.
bdcdysz
}).
then
(
res
=>
{
this
.
saveloding
=
false
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
"closeDialog"
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSqyw='
+
this
.
bsmSqyw
+
'&bsmSlsq='
+
res
.
message
)
window
.
open
(
href
,
'_blank'
);
})
},
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
}
...
...
src/views/ywbl/ywsq/components/fqsqDialog/fqsqDialog.vue
View file @
fc4eaed
<
template
>
<dialogBox
title=
"查询权利信息"
width=
"85%"
:isButton=
"false"
@
closeDialog=
"closeDialog"
v-model=
"myValue"
>
<component
:is=
"editItem"
/>
<component
:is=
"editItem"
@
closeDialog=
"closeDialog"
:bsmSqyw=
"bsmSqyw"
/>
</dialogBox>
</
template
>
<
script
>
...
...
@@ -19,7 +19,6 @@ export default {
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
this
.
fetchData
()
},
djywbm
(
val
)
{
let
itemObj
=
{
'A03100'
:
'scdj'
,
default
:
'scdj'
}
...
...
@@ -30,18 +29,6 @@ export default {
loadView
(
view
)
{
return
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
`../
${
view
}
/
${
view
}
.vue`
)))
},
fetchData
()
{
if
(
this
.
value
)
{
selectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
})
}
},
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
}
...
...
@@ -51,4 +38,10 @@ export default {
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
/
deep
/
.submit_button
{
text-align
:
center
;
padding
:
10px
;
margin
:
10px
;
}
</
style
>
...
...
src/views/ywbl/ywsq/components/scdj/scdj.vue
View file @
fc4eaed
...
...
@@ -45,13 +45,21 @@
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"submit_button"
>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
:loading=
"saveloding"
>
发起申请
</el-button>
</div>
</div>
</
template
>
<
script
>
//首次登记
import
{
datas
,
sendThis
}
from
"./scdj.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
selectBdcdy
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
bsmSqyw
:
{
type
:
String
,
default
:
''
},
},
mixins
:
[
table
],
data
()
{
return
{
...
...
@@ -68,31 +76,49 @@ export default {
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
bdcdysz
:
[],
saveloding
:
false
};
},
watch
:
{
bsmSqyw
(
val
)
{
this
.
fetchData
()
},
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
// submitForm () {
// if (this.bdcdysz.length == 0) {
// this.$message.error('请至少选择一条数据');
// return
// }
// this.saveloding = true
// startBusinessFlow({
// bsmSqyw: this.bsmSqyw,
// bdcdysz: this.bdcdysz
// }).then(res => {
// this.saveloding = false
// this.$emit('input', false)
// const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message)
// window.open(href, '_blank');
// })
// },
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$emit
(
"closeDialog"
)
},
fetchData
()
{
if
(
this
.
bsmSqyw
)
{
selectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
})
}
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
'请至少选择一条数据'
);
return
}
this
.
saveloding
=
true
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
}).
then
(
res
=>
{
this
.
saveloding
=
false
this
.
$emit
(
"closeDialog"
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSqyw='
+
this
.
bsmSqyw
+
'&bsmSlsq='
+
res
.
message
)
window
.
open
(
href
,
'_blank'
);
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
...
...
src/views/ywbl/ywsq/components/xfdj/xfdj.vue
View file @
fc4eaed
...
...
@@ -45,21 +45,24 @@
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"submit_button"
>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
:loading=
"saveloding"
>
发起申请
</el-button>
</div>
</div>
</
template
>
<
script
>
//续封登记
import
{
datas
,
sendThis
}
from
"./xfdj.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
selectBdcdy
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
},
mixins
:
[
table
],
data
()
{
return
{
appliDialog
:
false
,
queryForm
:
{
qllx
:
""
,
bdcdyh
:
""
,
...
...
@@ -73,23 +76,24 @@ export default {
columns
:
datas
.
columns
(),
data
:
[],
},
myValue
:
this
.
value
,
saveloding
:
false
,
bdcdysz
:
[]
bdcdysz
:
[],
saveloding
:
false
};
},
mounted
()
{
sendThis
(
this
);
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
bsmSqyw
(
val
)
{
this
.
fetchData
()
},
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
closeDialog
()
{
this
.
$emit
(
"closeDialog"
)
},
fetchData
()
{
if
(
this
.
value
)
{
if
(
this
.
bsmSqyw
)
{
selectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -111,14 +115,11 @@ export default {
bdcdysz
:
this
.
bdcdysz
}).
then
(
res
=>
{
this
.
saveloding
=
false
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
"closeDialog"
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSqyw='
+
this
.
bsmSqyw
+
'&bsmSlsq='
+
res
.
message
)
window
.
open
(
href
,
'_blank'
);
})
},
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
}
...
...
src/views/ywbl/ywsq/components/zydj/zydj.vue
View file @
fc4eaed
...
...
@@ -45,21 +45,24 @@
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"submit_button"
>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
:loading=
"saveloding"
>
发起申请
</el-button>
</div>
</div>
</
template
>
<
script
>
//转移登记
import
{
datas
,
sendThis
}
from
"./zydj.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
selectBdcdy
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
},
mixins
:
[
table
],
data
()
{
return
{
appliDialog
:
false
,
queryForm
:
{
qllx
:
""
,
bdcdyh
:
""
,
...
...
@@ -73,23 +76,24 @@ export default {
columns
:
datas
.
columns
(),
data
:
[],
},
myValue
:
this
.
value
,
saveloding
:
false
,
bdcdysz
:
[]
bdcdysz
:
[],
saveloding
:
false
};
},
mounted
()
{
sendThis
(
this
);
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
bsmSqyw
(
val
)
{
this
.
fetchData
()
},
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
closeDialog
()
{
this
.
$emit
(
"closeDialog"
)
},
fetchData
()
{
if
(
this
.
value
)
{
if
(
this
.
bsmSqyw
)
{
selectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -111,14 +115,11 @@ export default {
bdcdysz
:
this
.
bdcdysz
}).
then
(
res
=>
{
this
.
saveloding
=
false
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
"closeDialog"
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSqyw='
+
this
.
bsmSqyw
+
'&bsmSlsq='
+
res
.
message
)
window
.
open
(
href
,
'_blank'
);
})
},
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
}
...
...
Please
register
or
sign in
to post a comment