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
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
81 additions
and
70 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"
>
...
...
@@ -47,9 +47,9 @@
</
template
>
<
script
>
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
...
...
@@ -76,7 +76,6 @@ export default {
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
=
...
...
@@ -107,7 +106,7 @@ export default {
},
// 编辑
editDialog
(
row
)
{
editDialog
(
row
)
{
this
.
$confirm
(
'此操作将新增一条补录信息, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -134,7 +133,7 @@ export default {
},
// 删除
deleteDialog
(
row
)
{
deleteDialog
(
row
)
{
this
.
$confirm
(
'此操作将永久删除该文件, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -164,9 +163,9 @@ 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,10 +38,11 @@
</
template
>
<
script
>
import
{
getCfdjList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
data
()
{
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
,
...
...
@@ -58,11 +57,11 @@ export default {
columns
:
datas
.
columns
().
CFDJ
,
};
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
()
{
getCfdjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
...
...
@@ -70,6 +69,9 @@ export default {
}).
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
=
""
;
...
...
@@ -86,7 +88,7 @@ export default {
}
});
},
checkChange
()
{
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
...
...
@@ -94,7 +96,7 @@ export default {
this
.
loadData
();
}
},
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
@@ -105,9 +107,9 @@ export default {
return
name
;
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/diyaq.vue
View file @
150145c
...
...
@@ -38,9 +38,10 @@
</
template
>
<
script
>
import
{
getDiyaqList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyaqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"抵押权登记信息"
,
...
...
@@ -68,6 +69,9 @@ export default {
}).
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
;
...
...
@@ -96,9 +100,9 @@ export default {
return
name
;
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
@import
"./qlxxCommon.scss"
;
</
style
>
...
...
src/views/registerBook/diyiq.vue
View file @
150145c
...
...
@@ -38,9 +38,10 @@
</
template
>
<
script
>
import
{
getDiyiqList
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDiyiqList
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"地役权登记信息"
,
...
...
@@ -68,6 +69,9 @@ export default {
}).
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
;
...
...
@@ -96,9 +100,9 @@ export default {
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,9 +38,10 @@
</
template
>
<
script
>
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
export
default
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getFdcq2List
}
from
"@/api/registerBook.js"
;
export
default
{
data
()
{
return
{
title
:
"房地产权登记信息(独幢、层、套、间房屋)"
,
...
...
@@ -68,6 +69,9 @@ export default {
}).
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
;
...
...
@@ -96,9 +100,9 @@ export default {
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
,
...
...
@@ -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
:
"规划用途"
,
},
{
...
...
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