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
150145c9
authored
2023-06-20 10:09:35 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:房屋信息模块字典编译
1 parent
90618714
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
359 additions
and
348 deletions
src/main.js
src/utils/dictionary.js
src/utils/rule.js
src/views/djbworkflow/djbBook/fdcq2.vue
src/views/registerBook/cfdj.vue
src/views/registerBook/diyaq.vue
src/views/registerBook/diyiq.vue
src/views/registerBook/fdcq1.vue
src/views/registerBook/fdcq2.vue
src/views/registerBook/jsydsyq.vue
src/views/registerBook/nydsyq.vue
src/views/registerBook/qlxxFormData.js
src/views/ywbl/slsqxx/jsydsyq/slxx300.vue
src/main.js
View file @
150145c
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
5-30 15:28:52
* @LastEditTime: 2023-0
6-20 10:02:14
*/
import
Vue
from
'vue'
import
App
from
'./App'
...
...
@@ -16,12 +16,10 @@ import Loading from '@/components/Loading/index.js';
import
{
startLoadingAddCount
,
endLoadingSubCount
}
from
'./utils/requestLoading'
Vue
.
mixin
(
mixin
);
Vue
.
use
(
Loading
.
directive
);
import
rules
from
'./utils/rule.js'
// 引入xml
import
x2js
from
'x2js'
Vue
.
prototype
.
$x2js
=
new
x2js
()
// 全局方法挂载
Vue
.
prototype
.
$rules
=
rules
// 全局加载
Vue
.
prototype
.
$startLoading
=
startLoadingAddCount
Vue
.
prototype
.
$endLoading
=
endLoadingSubCount
...
...
src/utils/dictionary.js
0 → 100644
View file @
150145c
export
function
getSjlx
(
level
)
{
const
resultMap
=
{
1
:
'系统数据'
,
2
:
'存量数据'
,
3
:
'补录数据'
,
}
return
resultMap
[
level
]
||
resultMap
.
default
;
}
\ No newline at end of file
src/utils/rule.js
deleted
100644 → 0
View file @
9061871
// 手机号码验证
const
validatePhone
=
(
rule
,
value
,
callback
)
=>
{
const
patter
=
new
RegExp
(
'^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$'
)
if
(
!
patter
.
test
(
value
))
{
return
callback
(
new
Error
(
'请输入正确格式的手机号!'
))
}
else
{
callback
()
// 必须有此项回调,否则验证会一直不通过
}
}
export
default
{
common
:
{
phone
:
[{
// 手机号
required
:
true
,
message
:
'手机号不能为空'
},
{
validator
:
validatePhone
,
trigger
:
'blur'
}]
}
}
\ No newline at end of file
src/views/djbworkflow/djbBook/fdcq2.vue
View file @
150145c
<!--
* @Description : 房地产权2
* @Autor : miaofang
* @LastEditTime
: 2023-06-16 16:53:36
* @LastEditTime
: 2023-06-20 09:59:18
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -26,8 +26,8 @@
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"deleteDialog(row)"
>
删除
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"deleteDialog(row)"
>
删除
</el-button>
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qszt == '0'"
>
正在办理
...
...
@@ -47,68 +47,67 @@
</
template
>
<
script
>
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
FDCQ2
,
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
getFdcq2List
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
"国有建设"
,
res
);
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
FDCQ2
,
};
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
created
()
{
this
.
loadData
();
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
methods
:
{
loadData
()
{
getFdcq2List
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
}
return
name
;
},
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
// 编辑
editDialog
(
row
)
{
this
.
$confirm
(
'此操作将新增一条补录信息, 是否继续?'
,
'提示'
,
{
// 编辑
editDialog
(
row
)
{
this
.
$confirm
(
'此操作将新增一条补录信息, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
...
...
@@ -126,21 +125,21 @@ export default {
});
});
// this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", {
// datalist:this.columns,
// data: row,
// this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", {
// datalist:this.columns,
// data: row,
// })
// })
},
// 删除
deleteDialog
(
row
)
{
deleteDialog
(
row
)
{
this
.
$confirm
(
'此操作将永久删除该文件, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
// let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
// let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
// deleteClmx(bsmClmx).then(res => {
// if (res.code == 200) {
// that.$emit('updateList', res.result)
...
...
@@ -163,10 +162,10 @@ export default {
}
},
};
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/cfdj.vue
View file @
150145c
...
...
@@ -8,8 +8,7 @@
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
</el-checkbox-group>
</div>
</div>
...
...
@@ -24,8 +23,7 @@
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '',
]"
>
]"
>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))"
>
正在办理
</div>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
...
...
@@ -40,74 +38,78 @@
</
template
>
<
script
>
import
{
getCfdjList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"查封登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
CFDJ
,
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
getCfdjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
sfbxf
==
"1"
)
{
item
.
zxywh
=
""
;
item
.
zxdbr
=
""
;
item
.
zxsj
=
""
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getCfdjList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"查封登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
CFDJ
,
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
getCfdjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
sfbxf
==
"1"
)
{
item
.
zxywh
=
""
;
item
.
zxdbr
=
""
;
item
.
zxsj
=
""
;
}
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
});
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
});
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
}
return
name
;
return
name
;
},
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/diyaq.vue
View file @
150145c
...
...
@@ -38,67 +38,71 @@
</
template
>
<
script
>
import
{
getDiyaqList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"抵押权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
DYAQ
,
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
getDiyaqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyaqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"抵押权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
DYAQ
,
};
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
created
()
{
this
.
loadData
();
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
methods
:
{
loadData
()
{
getDiyaqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
}
return
name
;
return
name
;
},
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/diyiq.vue
View file @
150145c
...
...
@@ -38,67 +38,71 @@
</
template
>
<
script
>
import
{
getDiyiqList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"地役权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
DYIQ
,
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
getDiyiqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyiqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"地役权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
DYIQ
,
};
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
created
()
{
this
.
loadData
();
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
methods
:
{
loadData
()
{
getDiyiqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
}
return
name
;
return
name
;
},
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/fdcq1.vue
View file @
150145c
...
...
@@ -43,8 +43,9 @@
</
template
>
<
script
>
import
{
getJsydsyqList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getJsydsyqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
...
...
@@ -73,6 +74,9 @@
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
...
...
src/views/registerBook/fdcq2.vue
View file @
150145c
...
...
@@ -38,67 +38,71 @@
</
template
>
<
script
>
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
FDCQ2
,
};
},
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
getFdcq2List
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
propsParam
:
this
.
$attrs
,
//列表数据
tableData
:
[],
//空列值个数
emptycolNum
:
datas
.
columns
().
emptycolNum
,
//列名称对象
columns
:
datas
.
columns
().
FDCQ2
,
};
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
created
()
{
this
.
loadData
();
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
methods
:
{
loadData
()
{
getFdcq2List
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
}
}
});
},
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
loadData
();
}
},
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
}
return
name
;
return
name
;
},
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/jsydsyq.vue
View file @
150145c
...
...
@@ -43,8 +43,9 @@
</
template
>
<
script
>
import
{
getJsydsyqList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getJsydsyqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
...
...
@@ -73,6 +74,9 @@
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
...
...
src/views/registerBook/nydsyq.vue
View file @
150145c
...
...
@@ -66,8 +66,9 @@
</
template
>
<
script
>
import
{
getNydsyqList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getNydsyqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
...
...
@@ -102,6 +103,9 @@
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
...
...
src/views/registerBook/qlxxFormData.js
View file @
150145c
...
...
@@ -4,7 +4,7 @@ class data extends filter {
constructor
()
{
super
()
}
columns
()
{
columns
()
{
return
{
//空列值个数
emptycolNum
:
3
,
...
...
@@ -24,7 +24,7 @@ class data extends filter {
label
:
"历史"
,
},
],
JSYDSYQ
:
[
JSYDSYQ
:
[
{
prop
:
"qszt"
,
label
:
"权属状态"
,
...
...
@@ -134,7 +134,7 @@ class data extends filter {
label
:
"附记"
,
},
],
FDCQ2
:
[
FDCQ2
:
[
{
prop
:
"qszt"
,
label
:
"权属状态"
,
...
...
@@ -172,7 +172,7 @@ class data extends filter {
label
:
"坐落"
,
},
{
prop
:
"gy
fs
"
,
prop
:
"gy
qk
"
,
label
:
"共有情况"
,
},
{
...
...
@@ -216,7 +216,7 @@ class data extends filter {
label
:
"房地产交易价格(万元)"
,
},
{
prop
:
"
ytmc
"
,
prop
:
"
ghyt
"
,
label
:
"规划用途"
,
},
{
...
...
@@ -273,7 +273,7 @@ class data extends filter {
label
:
"附记"
,
},
],
NYDSYQ
:
[
NYDSYQ
:
[
{
prop
:
"qszt"
,
label
:
"权属状态"
,
...
...
@@ -403,7 +403,7 @@ class data extends filter {
label
:
"附记"
,
},
],
DYAQ
:
[
DYAQ
:
[
{
prop
:
"qszt"
,
label
:
"权属状态"
,
...
...
@@ -440,12 +440,12 @@ class data extends filter {
prop
:
"zl"
,
label
:
"在建建筑物坐落"
,
},
{
prop
:
"dyfs"
,
{
prop
:
"dyfs"
,
label
:
"抵押方式"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
div
>
<
span
v
-
show
=
{
scope
.
row
.
dyfs
==
'1'
}
>
一般抵押权
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
dyfs
==
'2'
}
>
最高额抵押权
<
/span
>
<
/div
>
...
...
@@ -480,7 +480,7 @@ class data extends filter {
prop
:
"ywrzjhm"
,
label
:
"抵押人证件号"
,
},
{
prop
:
"sfygdj"
,
label
:
"是否预告登记"
,
...
...
@@ -532,7 +532,7 @@ class data extends filter {
{
prop
:
"fj"
,
label
:
"附记"
,
},
},
{
prop
:
"djsj"
,
label
:
"登记时间"
,
...
...
@@ -563,7 +563,7 @@ class data extends filter {
},
],
DYIQ
:
[
DYIQ
:
[
{
prop
:
"qszt"
,
label
:
"权属状态"
,
...
...
@@ -657,7 +657,7 @@ class data extends filter {
label
:
"登记时间"
,
},
],
YGDJ
:
[
YGDJ
:
[
{
prop
:
"qszt"
,
label
:
"权属状态"
,
...
...
@@ -783,7 +783,7 @@ class data extends filter {
label
:
"注销时间"
,
}
],
CFDJ
:
[
CFDJ
:
[
{
prop
:
"qszt"
,
label
:
"权属状态"
,
...
...
src/views/ywbl/slsqxx/jsydsyq/slxx300.vue
View file @
150145c
...
...
@@ -5,8 +5,8 @@
-->
<
template
>
<!-- 受理信息 -->
<div
class=
"slxx"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
class=
"loadingtext"
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
<div
class=
"slxx
loadingtext
"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"120px"
>
<div
class=
"slxx_con"
:class=
"flag ? 'formMarginBot0' : ''"
>
<div
class=
"slxx_title title-block"
>
...
...
@@ -202,8 +202,8 @@
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
res
.
result
;
this
.
$endLoading
();
}
this
.
$endLoading
();
});
},
components
:
{
qlrCommonTable
},
...
...
Please
register
or
sign in
to post a comment