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
f877b025
authored
2022-08-24 16:17:17 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务申请
1 parent
3f970b15
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
99 additions
and
94 deletions
src/utils/operation.js
src/views/system/dictionaries/components/editDialog.vue
src/views/ywbl/ywsq/components/gyjsydsyq/gyjsydsyq.vue
src/views/ywbl/ywsq/components/gyjsydsyq/gyjsydsyqdata.js
src/utils/operation.js
View file @
f877b02
...
...
@@ -11,6 +11,29 @@ export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
removeTreeListItem
(
treeList
[
i
].
children
,
dictId
)
}
}
// 创造id
export
function
getUuid
(
len
,
radix
)
{
var
chars
=
"0123456789abcdefghijklmnopqrstuvwxyz"
.
split
(
""
);
var
uuid
=
[],
i
;
radix
=
radix
||
chars
.
length
;
if
(
len
)
{
for
(
i
=
0
;
i
<
len
;
i
++
)
uuid
[
i
]
=
chars
[
0
|
(
Math
.
random
()
*
radix
)];
}
else
{
var
r
;
uuid
[
8
]
=
uuid
[
13
]
=
uuid
[
18
]
=
uuid
[
23
]
=
"-"
;
uuid
[
14
]
=
"4"
;
for
(
i
=
0
;
i
<
36
;
i
++
)
{
if
(
!
uuid
[
i
])
{
r
=
0
|
(
Math
.
random
()
*
16
);
uuid
[
i
]
=
chars
[
i
==
19
?
(
r
&
0x3
)
|
0x8
:
r
];
}
}
}
return
uuid
.
join
(
""
);
}
// 上移下移
export
function
upward
(
index
,
data
)
{
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
f877b02
...
...
@@ -22,7 +22,7 @@
</
template
>
<
script
>
import
{
upward
,
down
,
removeTreeListItem
}
from
'@/utils/operation'
import
{
getUuid
,
upward
,
down
,
removeTreeListItem
}
from
'@/utils/operation'
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
...
...
@@ -220,8 +220,11 @@ export default {
{
dcode
:
''
,
dname
:
''
,
isenable
:
'1'
,
normcode
:
''
,
normname
:
''
,
bsmDict
:
getUuid
(
32
),
typeid
:
row
.
typeid
,
children
:
null
}
)
this
.
keyList
=
[];
...
...
@@ -237,6 +240,11 @@ export default {
{
dcode
:
''
,
dname
:
''
,
isenable
:
'1'
,
normcode
:
''
,
normname
:
''
,
bsmDict
:
getUuid
(
32
),
typeid
:
this
.
ruleForm
.
typeid
,
}
)
this
.
addIndexes
()
...
...
src/views/ywbl/ywsq/components/gyjsydsyq/gyjsydsyq.vue
View file @
f877b02
<
template
>
<div>
<dialogBox
title=
"查询权利信息"
@
submitForm=
"submitForm"
saveButton=
"发起申请"
width=
"85%"
@
closeDialog=
"closeDialog"
v-model=
"value"
>
<dialogBox
title=
"查询权利信息"
@
submitForm=
"submitForm"
saveButton=
"发起申请"
width=
"85%"
@
closeDialog=
"closeDialog"
v-model=
"value"
>
<div
class=
"from-clues"
>
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
...
...
@@ -15,60 +9,33 @@
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"权利类型"
>
<el-select
v-model=
"queryForm.qllx"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-select
v-model=
"queryForm.qllx"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in qllxs"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"不动产单元号"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
>
<el-input
placeholder=
"请输入不动产单元号"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"业务号"
>
<el-input
placeholder=
"请输入业务号"
v-model=
"queryForm.ywh"
clearable
class=
"width200px"
>
<el-input
placeholder=
"请输入业务号"
v-model=
"queryForm.ywh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"不动产权证号"
>
<el-input
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.bdcqzh"
clearable
class=
"width200px"
>
<el-input
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.bdcqzh"
clearable
class=
"width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"2"
class=
"btnCol"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"queryClick()"
>
查询
</el-button
>
<el-button
type=
"primary"
@
click=
"queryClick()"
>
查询
</el-button>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -76,17 +43,9 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.pageSize"
heightNumSetting
:current-page
.
sync=
"pageData.currentPage"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
:page-size=
"pageData.pageSize"
heightNumSetting
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
...
...
@@ -94,13 +53,16 @@
</div>
</
template
>
<
script
>
import
{
datas
}
from
"./gyjsydsyqdata.js"
;
import
{
selectBdcdy
}
from
"@/api/ywbl.js"
;
import
{
datas
,
sendThis
}
from
"./gyjsydsyqdata.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
:
''
},
},
data
()
{
mixins
:
[
table
],
data
()
{
return
{
appliDialog
:
false
,
queryForm
:
{
...
...
@@ -111,55 +73,59 @@ export default {
sqywbm
:
"A03100"
,
},
qllxs
:
[],
pageData
:
{
pageSize
:
10
,
currentPage
:
1
,
total
:
0
,
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdyid
:
''
,
bdcdyh
:
''
,
};
},
created
()
{
this
.
init
();
mounted
()
{
sendThis
(
this
);
},
watch
:
{
value
()
{
this
.
fetchData
()
},
},
methods
:
{
init
(
data
)
{
selectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
,
...
data
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
pageData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
})
.
catch
(()
=>
{});
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
;
}
})
}
},
submitForm
()
{
this
.
$emit
(
"input"
,
false
);
const
{
href
}
=
this
.
$router
.
resolve
(
"/fqsq"
);
window
.
open
(
href
,
"_blank"
);
submitForm
()
{
if
(
this
.
bdcdyid
==
''
)
{
this
.
$message
.
error
(
'请至少选择一条数据'
);
return
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdyid
:
this
.
bdcdyid
,
bdcdyh
:
this
.
bdcdyh
}).
then
(
res
=>
{
this
.
$emit
(
'input'
,
false
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSqyw='
+
this
.
bsmSqyw
)
window
.
open
(
href
,
'_blank'
);
})
},
closeDialog
()
{
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
handleSizeChange
(
val
)
{
this
.
list
({
pageSize
:
val
,
currentPage
:
this
.
pageData
.
currentPage
,
});
},
handleCurrentChange
(
val
)
{
this
.
list
({
pageSize
:
this
.
pageData
.
pageSize
,
currentPage
:
val
});
},
handleSelectionChange
(
val
)
{},
handleSelectionChange
(
val
)
{
this
.
bdcdyid
=
val
.
map
(
item
=>
item
.
dyhbsm
?
item
.
dyhbsm
:
''
).
join
(
','
)
this
.
bdcdyh
=
val
.
map
(
item
=>
item
.
bdcdyh
?
item
.
bdcdyh
:
''
).
join
(
','
)
}
},
};
</
script
>
...
...
src/views/ywbl/ywsq/components/gyjsydsyq/gyjsydsyqdata.js
View file @
f877b02
...
...
@@ -17,7 +17,14 @@ class data extends filter {
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
width
:
'50'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{(
vm
.
pageData
.
currentPage
-
1
)
*
vm
.
pageData
.
pageSize
+
scope
.
$index
+
1
}
<
/div
>
)
}
},
{
prop
:
"status"
,
...
...
@@ -63,4 +70,5 @@ class data extends filter {
let
datas
=
new
data
()
export
{
datas
,
sendThis
}
...
...
Please
register
or
sign in
to post a comment