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
9931a4ba
authored
2022-11-18 18:19:23 +0800
by
jiaozeping@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
067ed9be
36c5868e
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
503 additions
and
162 deletions
src/api/notice.js
src/api/ygdjFlow.js
src/components/Calendar/index.vue
src/components/MessageBox/src/main.vue
src/components/NoticeBar/index.vue
src/components/calendar/index.vue
src/layout/components/Navbar.vue
src/views/home/index.vue
src/views/registerBook/qlxxFormData.js
src/views/system/xttz/components/addDialog.vue
src/views/system/xttz/components/viewDialog.vue
src/views/system/xttz/xttz.vue
src/views/system/xttz/xttzdata.js
src/views/workflow/flowform.js
src/views/ywbl/ygdj/slxx.vue
src/views/ywbl/ygdj/slxx300.vue
src/api/notice.js
View file @
9931a4b
...
...
@@ -10,6 +10,15 @@ export function addSysNotice (data) {
})
}
//编辑系统通知
export
function
updateSysNotice
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysNotice/updateSysNotice'
,
method
:
'post'
,
data
})
}
// 获取通知列表
export
function
getSysNoticeList
(
data
)
{
return
request
({
...
...
src/api/ygdjFlow.js
View file @
9931a4b
...
...
@@ -8,22 +8,22 @@ export function Init(data) {
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/ygdj/fristInit"
;
break
;
case
"200"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/
fdcq2lr
/transferInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/
ygdj
/transferInit"
;
break
;
case
"300"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/
fdcq2lr
/changeInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/
ygdj
/changeInit"
;
break
;
case
"400"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/
fdcq2lr
/logoutInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/
ygdj
/logoutInit"
;
break
;
case
"500"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr
/riviseInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/ygdj
/riviseInit"
;
break
;
case
"901"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr
/renewalInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/ygdj
/renewalInit"
;
break
;
case
"902"
:
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/fdcq2lr
/replaceInit"
;
apiUrl
=
SERVER
.
SERVERAPI
+
"/rest/ywbl/ygdj
/replaceInit"
;
break
;
}
return
request
({
...
...
@@ -34,7 +34,7 @@ export function Init(data) {
}
// 初始化内容
export
function
saveData
(
data
)
{
console
.
log
(
"222222222222222"
);
console
.
log
(
"222222222222222"
+
data
);
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/ygdj/saveData'
,
method
:
'post'
,
...
...
src/components/Calendar/index.vue
View file @
9931a4b
...
...
@@ -90,6 +90,14 @@ export default {
padding
:
3px
!important
;
}
/
deep
/
.el-calendar-table
td
.is-today
{
font-weight
:
700
;
}
/
deep
/
.el-calendar-table
td
.is-selected
{
background-color
:
rgb
(
179
,
216
,
255
);
}
/
deep
/
.el-calendar__header
{
padding
:
8px
15px
;
}
...
...
@@ -141,9 +149,9 @@ export default {
}
/**本月周末设置为红色*/
.el-calendar-table
.current
:nth-last-child
(
-n
+
2
)
.solar
{
/*
.el-calendar-table .current:nth-last-child(-n+2) .solar {
color: red;
}
}
*/
/**本月农历设置为灰色*/
.el-calendar-table
.current
.lunar
{
...
...
src/components/MessageBox/src/main.vue
View file @
9931a4b
...
...
@@ -268,6 +268,11 @@ export default {
};
</
script
>
<
style
scoped
>
/
deep
/
.el-message-box
{
width
:
500px
;
max-height
:
95%
;
}
/
deep
/
.message-title
{
font-size
:
18px
;
font-weight
:
700
;
...
...
src/components/NoticeBar/index.vue
View file @
9931a4b
...
...
@@ -8,7 +8,9 @@
<div
ref=
"back"
class=
"back"
>
<div
ref=
"text"
class=
"text"
@
mouseover=
"mouseOver"
@
mouseleave=
"mouseLeave"
>
<p
v-for=
"(item, index) in noticeList"
:key=
"index"
>
{{
item
.
title
}}
<span>
{{
item
.
noticeTitle
}}
</span>
<span
class=
"noticePublishTime"
>
{{
item
.
noticePublishTime
}}
</span>
<el-button
type=
"text"
@
click=
"handleNotice(item)"
style=
"color:#F56C6C;font-size: 14px;"
>
[点击查看]
</el-button>
</p>
</div>
</div>
...
...
@@ -34,7 +36,22 @@ export default {
secondAnimationTime
:
''
,
// 状态二动画效果
};
},
watch
:
{
noticeList
:
{
handler
(
newName
,
oldName
)
{
let
that
=
this
this
.
Listener
();
setTimeout
(
res
=>
{
that
.
getData
();
},
100
);
},
deep
:
true
}
},
methods
:
{
handleNotice
(
item
)
{
this
.
$alertMes
(
item
.
noticeTitle
,
item
.
noticeContent
)
},
// 获取数据
getData
()
{
let
style
=
document
.
styleSheets
[
0
];
...
...
@@ -53,7 +70,7 @@ export default {
);
setTimeout
(
res
=>
{
this
.
changeState
();
},
10
00
);
},
3
00
);
},
// 用速度计算时间(想要保持速度一样,2种状态时间不同需算出)
ComputationTime
()
{
...
...
@@ -89,12 +106,6 @@ export default {
let
text
=
this
.
$refs
.
text
;
text
.
style
.
animationPlayState
=
''
}
},
mounted
()
{
this
.
Listener
();
setTimeout
(
res
=>
{
this
.
getData
();
},
100
);
}
};
</
script
>
...
...
@@ -104,7 +115,6 @@ export default {
align-items
:
center
;
width
:
100%
;
height
:
28px
;
line-height
:
28px
;
background
:
rgba
(
0
,
0
,
0
,
0.1
);
.icon
{
...
...
@@ -132,7 +142,11 @@ export default {
display
:
flex
;
p
{
margin-right
:
10px
;
margin-right
:
80px
;
display
:
flex
;
align-items
:
center
;
height
:
28px
;
line-height
:
28px
;
}
}
}
...
...
src/components/calendar/index.vue
View file @
9931a4b
...
...
@@ -90,6 +90,14 @@ export default {
padding
:
3px
!important
;
}
/
deep
/
.el-calendar-table
td
.is-today
{
font-weight
:
700
;
}
/
deep
/
.el-calendar-table
td
.is-selected
{
background-color
:
rgb
(
179
,
216
,
255
);
}
/
deep
/
.el-calendar__header
{
padding
:
8px
15px
;
}
...
...
@@ -141,9 +149,9 @@ export default {
}
/**本月周末设置为红色*/
.el-calendar-table
.current
:nth-last-child
(
-n
+
2
)
.solar
{
/*
.el-calendar-table .current:nth-last-child(-n+2) .solar {
color: red;
}
}
*/
/**本月农历设置为灰色*/
.el-calendar-table
.current
.lunar
{
...
...
src/layout/components/Navbar.vue
View file @
9931a4b
...
...
@@ -21,8 +21,11 @@
</div>
</
template
>
<
script
>
import
NoticeBar
from
'@/components/NoticeBar/index'
import
{
mapGetters
}
from
'vuex'
import
NoticeBar
from
'@/components/NoticeBar/index'
import
{
getHomeNoticeList
}
from
"@/api/home.js"
export
default
{
components
:
{
NoticeBar
...
...
@@ -33,20 +36,20 @@ export default {
data
()
{
return
{
logo
:
require
(
'../../image/logo.png'
),
noticeList
:
[
{
title
:
'6666666666666666666'
noticeList
:
[]
}
},
{
title
:
'3333333333333333333'
created
()
{
this
.
queryNoticeList
()
},
{
title
:
'6666666666666666666'
}
]
methods
:
{
queryNoticeList
()
{
getHomeNoticeList
().
then
(
res
=>
{
if
(
res
.
result
)
{
this
.
noticeList
=
res
.
result
.
noticeList
}
})
},
methods
:
{
themeChange
(
val
)
{
this
.
$store
.
dispatch
(
'app/updateTheme'
,
val
)
},
...
...
src/views/home/index.vue
View file @
9931a4b
...
...
@@ -22,7 +22,7 @@
<ul>
<li
v-for=
"(item, index) in noticeList"
:key=
"index"
@
click=
"handleNotice(item)"
class=
"flexst pointer"
>
<p
class=
"list-title"
>
{{
item
.
noticeTitle
}}
</p>
<p
class=
"marginZL15"
>
{{
item
.
createt
ime
.
substring
(
0
,
10
)
}}
</p>
<p
class=
"marginZL15"
>
{{
item
.
noticePublishT
ime
.
substring
(
0
,
10
)
}}
</p>
<p
v-if=
"item.userBrowse == '1'"
style=
"color:red"
>
未读
</p>
<p
v-else
>
已读
</p>
</li>
...
...
@@ -192,7 +192,7 @@ export default {
if
(
res
.
result
)
{
this
.
noticeList
=
res
.
result
.
noticeList
this
.
noticeList
.
forEach
(
item
=>
{
item
.
createtime
=
this
.
_timedate
(
item
.
createt
ime
)
item
.
noticePublishTime
=
this
.
_timedate
(
item
.
noticePublishT
ime
)
})
this
.
policyList
=
res
.
result
.
policyList
}
...
...
src/views/registerBook/qlxxFormData.js
View file @
9931a4b
...
...
@@ -646,7 +646,7 @@ class data extends filter {
label
:
"坐落"
,
},
{
prop
:
"qlr"
,
prop
:
"qlr
mc
"
,
label
:
"权利人"
,
},
{
...
...
@@ -654,11 +654,11 @@ class data extends filter {
label
:
"证件种类"
,
},
{
prop
:
"qlrzjh"
,
prop
:
"qlrzjh
m
"
,
label
:
"证件号"
,
},
{
prop
:
"ywr"
,
prop
:
"ywr
mc
"
,
label
:
"义务人"
,
},
{
...
...
@@ -666,7 +666,7 @@ class data extends filter {
label
:
"证件种类"
,
},
{
prop
:
"ywrzjh"
,
prop
:
"ywrzjh
m
"
,
label
:
"证件号"
,
},
{
...
...
@@ -714,7 +714,7 @@ class data extends filter {
label
:
"登记时间"
,
},
{
prop
:
"bdc
djzm
h"
,
prop
:
"bdc
qz
h"
,
label
:
"不动产登记证明号"
,
},
{
...
...
@@ -722,21 +722,17 @@ class data extends filter {
label
:
"登簿人"
,
},
{
prop
:
"zxy
gy
wh"
,
prop
:
"zxywh"
,
label
:
"注销预告业务号"
,
},
{
prop
:
"zxy
gy
y"
,
prop
:
"zxyy"
,
label
:
"注销预告原因"
,
},
{
prop
:
"zxsj"
,
label
:
"注销时间"
,
},
{
prop
:
"qszt"
,
label
:
"权属状态"
,
},
}
],
CFDJ
:
[
{
...
...
src/views/system/xttz/components/addDialog.vue
View file @
9931a4b
<
template
>
<dialogBox
title=
"新增系统通知
"
@
submitForm=
"submitForm"
saveButton=
"保存"
:isFullscreen=
"false"
width=
"50%"
@
closeDialog=
"closeDialog"
v-model=
"value"
>
<dialogBox
:title=
"title
"
@
submitForm=
"submitForm"
saveButton=
"保存"
:isFullscreen=
"false"
width=
"50%"
@
closeDialog=
"closeDialog"
v-model=
"value"
:isButton=
"isButtonFlag"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
<el-row>
<el-col
:span=
"24"
>
...
...
@@ -23,7 +23,7 @@
@
change=
"onEditorChange($event)"
@
ready=
"onEditorReady($event)"
></quill-editor>
</el-form-item>
</el-row>
<el-row>
<
!--
<
el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"附件:"
prop=
"noticeFileUrl"
>
<el-upload
action
multiple
:auto-upload=
"false"
:limit=
"1"
:on-change=
"handleChange"
...
...
@@ -33,7 +33,8 @@
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-row>
-->
<!-- 隐藏上传按钮 用于代替触发富文本上传事件 -->
<div
v-show=
"false"
>
<el-upload
action
multiple
:auto-upload=
"false"
:on-change=
"RichTexthandleChange"
:before-upload=
"beforeUpload"
class=
"richUpload"
>
...
...
@@ -46,12 +47,14 @@
</
template
>
<
script
>
import
{
addSysNotice
}
from
"@/api/notice.js"
;
import
{
addSysNotice
,
updateSysNotice
}
from
"@/api/notice.js"
;
import
{
upload
}
from
"@/api/system.js"
;
import
{
quillEditor
}
from
"vue-quill-editor"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
}
value
:
{
type
:
Boolean
,
default
:
false
},
isButtonFlag
:
{
type
:
Boolean
,
default
:
true
},
title
:
{
type
:
String
,
default
:
'新增系统通知'
}
},
components
:
{
quillEditor
},
data
()
{
...
...
@@ -142,12 +145,30 @@ export default {
}
}
},
mounted
()
{
},
mounted
()
{},
methods
:
{
submitForm
()
{
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
that
.
ruleForm
.
bsmNotice
){
that
.
editNotice
();
}
else
{
that
.
addNotice
();
}
}
else
{
// console.log('error submit!!');
return
false
;
}
});
},
//关闭窗口
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
resetRuleForm
();
},
//新增通知
addNotice
(){
addSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
...
...
@@ -158,21 +179,30 @@ export default {
this
.
$message
.
error
(
res
.
message
);
}
});
}
else
{
// console.log('error submit!!');
return
false
;
}
});
},
//关闭窗口
closeDialog
()
{
//编辑通知
editNotice
(){
updateSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"编辑成功"
);
this
.
$emit
(
"input"
,
false
);
this
.
resetRuleForm
();
this
.
$parent
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
//
//
重置表单
resetRuleForm
()
{
this
.
$refs
[
"ruleForm"
].
resetFields
();
this
.
ruleForm
.
noticeType
=
"1"
;
this
.
ruleForm
=
{
noticeTitle
:
""
,
noticeContent
:
""
,
noticeFileUrl
:
""
,
noticeSource
:
""
,
noticeType
:
"1"
}
this
.
isButtonFlag
=
true
;
},
beforeUpload
(
file
)
{
return
true
;
...
...
@@ -193,6 +223,9 @@ export default {
clipboardPictureChange
(
file
)
{
this
.
uploadPicture
(
file
)
},
getDetailInfo
(
item
){
this
.
ruleForm
=
item
},
uploadPicture
(
file
)
{
let
that
=
this
;
var
formdata
=
new
FormData
();
...
...
src/views/system/xttz/components/viewDialog.vue
deleted
100644 → 0
View file @
067ed9b
<
template
>
<div>
<el-row
:gutter=
"8"
>
<el-col
:span=
"16"
>
通知标题:
<el-input
v-model=
"formData.item.noticeTitle"
></el-input>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
通知内容:
<quill-editor
class=
"ql-editor"
v-model=
"formData.item.noticeContent"
ref=
"myQuillEditor"
:options=
"editorOption"
>
</quill-editor>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
附件:
<div
@
click=
"handleView(formData.item.noticeFileUrl)"
class=
"pointer"
>
{{
formData
.
item
.
noticeFileName
}}
</div>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
import
{
quillEditor
}
from
"vue-quill-editor"
;
export
default
{
components
:
{
quillEditor
},
data
()
{
return
{
// 富文本编辑器配置
editorOption
:
{
theme
:
"snow"
,
// or 'bubble'
placeholder
:
"请输入正文"
,
},
};
},
components
:
{},
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
created
()
{
console
.
log
(
this
.
formData
);
},
computed
:
{
},
methods
:
{
},
};
</
script
>
<
style
scoped
lang=
'scss'
>
.margin-top-middle
{
margin-top
:
10px
}
/
deep
/
.ql-editor
{
padding
:
0px
;
}
</
style
>
\ No newline at end of file
src/views/system/xttz/xttz.vue
View file @
9931a4b
...
...
@@ -33,7 +33,7 @@
:data=
"tableData.data"
>
</lb-table>
</div>
<addDialog
ref=
"addDialog"
v-model=
"isDialog"
/>
<addDialog
ref=
"addDialog"
v-model=
"isDialog"
:isButtonFlag=
"isButtonFlag"
:title=
"dialogTitle"
/>
</div>
</
template
>
<
script
>
...
...
@@ -52,8 +52,8 @@ export default {
data
()
{
return
{
isDialog
:
false
,
viewDialog
:
fals
e
,
isButtonFlag
:
tru
e
,
dialogTitle
:
''
,
ruleForm
:
{
noticeTitle
:
''
,
noticeStatus
:
''
...
...
@@ -84,7 +84,17 @@ export default {
})
},
//打开新增弹窗
openDialog
()
{
openDialog
(
item
)
{
if
(
item
)
{
this
.
$nextTick
(()
=>
{
this
.
isButtonFlag
=
false
;
this
.
$refs
.
addDialog
.
getDetailInfo
(
item
);
this
.
dialogTitle
=
'系统通知详情'
})
}
else
{
this
.
isButtonFlag
=
true
;
this
.
dialogTitle
=
'新增系统通知'
}
this
.
isDialog
=
true
;
},
//删除
...
...
@@ -153,16 +163,18 @@ export default {
});
});
},
//编辑通知
editNotice
(
item
)
{
this
.
$nextTick
(()
=>
{
this
.
isButtonFlag
=
true
;
this
.
$refs
.
addDialog
.
getDetailInfo
(
item
);
this
.
dialogTitle
=
'编辑系统通知'
this
.
isDialog
=
true
;
})
},
downloadFile
(
item
)
{
const
href
=
item
.
noticeFileUrl
window
.
open
(
href
,
'_blank'
);
},
viewDetail
(
e
)
{
this
.
$popup
(
"错误日志"
,
"system/xttz/components/viewDialog"
,
{
formData
:
{
item
:
e
}
})
}
},
};
...
...
src/views/system/xttz/xttzdata.js
View file @
9931a4b
...
...
@@ -26,6 +26,10 @@ class data extends filter {
label
:
"通知标题"
,
},
{
prop
:
"noticeSource"
,
label
:
"通知来源"
,
},
{
label
:
"通知内容"
,
render
:
(
h
,
scope
)
=>
{
return
<
div
class
=
"item-cwnr"
domPropsInnerHTML
=
{
scope
.
row
.
noticeContent
}
><
/div
>
...
...
@@ -51,6 +55,10 @@ class data extends filter {
}
},
{
prop
:
"noticePublishTime"
,
label
:
"发布时间"
,
},
{
prop
:
"creater"
,
width
:
'120'
,
label
:
"创建人"
,
...
...
@@ -67,13 +75,14 @@ class data extends filter {
switch
(
scope
.
row
.
noticeStatus
)
{
case
'1'
:
return
<
div
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
查看
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit"
onClick
=
{()
=>
{
vm
.
editNotice
(
scope
.
row
)
}}
>
编辑
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
vm
.
toPublish
(
scope
.
row
)
}}
>
发布
<
/el-button
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
viewDetail
(
scope
.
row
)
}}
>
查看
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-delete"
onClick
=
{()
=>
{
vm
.
delNotice
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
/div
>
case
'2'
:
return
<
div
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
viewDetail
(
scope
.
row
)
}}
>
查看
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
查看
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
vm
.
toUnPublish
(
scope
.
row
)
}}
>
撤销通知
<
/el-button
>
<
/div
>
}
...
...
src/views/workflow/flowform.js
View file @
9931a4b
//流程环节操作按钮
export
function
getForm
(
tabName
,
djywbm
)
{
console
.
log
(
"88888888"
+
tabName
);
let
form
;
switch
(
tabName
)
{
case
"jsydsyqslxx100"
:
...
...
@@ -51,10 +52,10 @@ export function getForm(tabName, djywbm) {
form
=
require
(
"@/views/registerBook/zdjbxx.vue"
);
break
;
case
"ygmm100"
:
form
=
require
(
"@/views/ywbl/ygdj/slxx.vue"
);
form
=
require
(
"@/views/ywbl/ygdj/slxx.vue"
);
break
;
case
"ygmm300"
:
form
=
require
(
"@/views/ywbl/fdcq2/slxx
.vue"
);
form
=
require
(
"@/views/ywbl/ygdj/slxx300
.vue"
);
break
;
case
"cfdjxx"
:
form
=
require
(
"@/views/registerBook/cfdj.vue"
);
...
...
src/views/ywbl/ygdj/slxx.vue
View file @
9931a4b
...
...
@@ -134,28 +134,13 @@
<el-col
:span=
"14"
v-if=
"ruleForm.qlxx"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"共有方式:"
>
<el-radio-group
:disabled=
"$route.query.viewtype==1"
v-model=
"ruleForm.slywxx.gyfs"
>
<el-radio
label=
"1"
>
单独所有
</el-radio>
<el-radio
label=
"2"
>
共同共有
</el-radio>
<el-radio
label=
"3"
>
按份所有
</el-radio>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
<el-radio
label=
"3"
>
其它共有
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span=
"5"
v-show=
"ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"是否分别持证:"
>
<el-radio-group
v-model=
"ruleForm.sffbcz"
>
<el-radio
label=
"1"
>
是
</el-radio>
<el-radio
label=
"0"
>
否
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span=
"5"
v-show=
"ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"持证人:"
>
<el-select
v-model=
"ruleForm.czr"
placeholder=
"持证人"
>
<el-option
v-for=
"item in czrOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<InformationTable
v-if=
"ruleForm.qlxx"
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:gyfs=
"ruleForm.qlxx.gyfs"
/>
...
...
src/views/ywbl/ygdj/slxx300.vue
0 → 100644
View file @
9931a4b
<
template
>
<!-- 受理信息 -->
<div
class=
"slxx"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"120px"
>
<div
class=
"slxx_con"
>
<div
class=
"slxx_title title-block"
>
受理信息
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
v-if=
"ruleForm.slywxx"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"业务号:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.ywh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"受理人员:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.slry"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"受理时间:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.slsj"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
v-if=
"ruleForm.slywxx"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"权利类型:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.qllxmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"登记类型:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.djlxmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"登记情形:"
>
<el-input
disabled
v-model=
"ruleForm.slywxx.djqxmc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
不动产单元情况
<div
class=
"triangle"
></div>
</div>
<!--
<el-button
type=
"primary"
style=
"float: right;margin-right: 20px; "
@
click=
"onClick"
>
数据查看
</el-button>
-->
<el-row
:gutter=
"10"
v-if=
"ruleForm.qlxx"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"不动产单元号:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.bdcdyh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"坐落:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.zl"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"规划用途:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.ghyt"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"土地使用起止时间:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.ghyt"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"土地使用期限:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.ghyt"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
v-if=
"ruleForm.qlxx"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"房屋用途:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.ytmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"房屋性质:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.fwxzmc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"房屋结构:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.fwjgmc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"所在层:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.szc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"总层数:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.zcs"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"竣工时间:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.jgsj"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
v-if=
"ruleForm.qlxx"
>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"建筑面积:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.mj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"专有建筑面积:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.zyjzmj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"分摊建筑面积:"
>
<el-input
disabled
v-model=
"ruleForm.ygdj.ftjzmj"
></el-input>
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
权利人信息
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"14"
v-if=
"ruleForm.qlxx"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"共有方式:"
>
<el-radio-group
:disabled=
"$route.query.viewtype==1"
v-model=
"ruleForm.slywxx.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
<el-radio
label=
"3"
>
其它共有
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<InformationTable
v-if=
"ruleForm.qlxx"
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:gyfs=
"ruleForm.qlxx.gyfs"
/>
<div
class=
"slxx_title title-block"
>
义务人信息
<div
class=
"triangle"
></div>
</div>
<InformationTable
v-if=
"ruleForm.qlxx"
@
upDateQlrxxList=
"upDateYwrxxList"
:tableData=
"ruleForm.ywrList"
:gyfs=
"ruleForm.qlxx.gyfs"
/>
<div
class=
"slxx_title title-block"
>
登记原因
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"登记原因:"
prop=
"djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
:disabled=
"$route.query.viewtype==1"
v-model=
"ruleForm.ygdj.djyy"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row
class=
"btn"
v-if=
"!$route.query.viewtype"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</el-form-item>
</el-row>
</el-form>
</div>
</
template
>
<
script
>
import
InformationTable
from
"@/views/workflow/components/InformationTable"
;
import
{
Init
,
saveData
}
from
"@/api/ygdjFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
async
created
()
{
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
res
.
result
;
}
});
},
components
:
{
InformationTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
data
()
{
return
{
disabled
:
true
,
tdytOption
:
[],
czrOptions
:
[],
ruleForm
:
{},
//传递参数
propsParam
:
this
.
$attrs
,
rules
:
{},
};
},
methods
:
{
onClick
(){
this
.
$popup
(
"房屋信息比对"
,
"ywbl/ygdj/slxxCompareDetai"
,
{
formData
:
{
bsmSldy
:
this
.
propsParam
.
bsmSldy
,
qllx
:
this
.
propsParam
.
qllx
}
});
},
// 更新权利人信息
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
},
// 更新权利人信息
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
onSubmit
()
{
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
});
},
},
};
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
background-color
:
aqua
;
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.submit_btn
{
height
:
50px
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
}
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
</
style
>
Please
register
or
sign in
to post a comment