Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
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
e15ad4a6
authored
2020-11-26 19:37:31 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
全局修改表单中生成按钮和表格的增删按钮样式
1 parent
7f96a1f6
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
429 additions
and
361 deletions
src/assets/less/main.less
src/components/formMenu/qlr.vue
src/components/formMenu/qlxz.vue
src/components/formMenu/qlxz_simple.vue
src/views/Home.vue
src/views/dz/dzxx/index.vue
src/views/panel/change/cxlz/index.vue
src/views/panel/change/fg/index.vue
src/views/zd/mjftb/index.vue
src/views/zd/zddcb/index.vue
src/views/zrz/lpb/bjlp/hbj/index.vue
src/views/zrz/lpb/bjlp/ljz/index.vue
src/views/zrz/yzgy/index.vue
src/views/zrz/zrzxx/index.vue
src/assets/less/main.less
View file @
e15ad4a
...
...
@@ -156,4 +156,53 @@ ol, ul { list-style:none; }
.contextmenu li:hover {
background: #eee;
}
// end
\ No newline at end of file
// end
//生成按钮样式
.el-button--warning{
color: #FFF;
background-color: #F79700;
border-color: #F79700;
}
.el-button--warning:focus, .el-button--warning:hover{
background-color: rgba(247, 151, 0,.7);
border-color: rgba(247, 151, 0,.7);
}
.percent80{
width: 78%;
float: left;
}
.createBtn{
position: absolute;
width: 50px;
padding: 6px 0px;
right: 6px;
top: 4px;
}
// 增删操作按钮样式
.addMinus{
border-radius:50%;
width: 30px !important;
height: 30px !important;
font-size: 22px!important;
padding: 4px 6px;
}
.outAdd,.outAdd:hover:focus{
background-color: #2FA5FF!important;
border: 1px solid #2FA5FF!important;
color: #fff!important;
}
.inAdd,.inAdd:hover:focus{
border: 1px solid #2FA5FF!important;
background-color: #fff!important;
color: #2FA5FF!important;
}
.outMinus,.outMinus:hover:focus{
background-color: #FA6400!important;
border: 1px solid #FA6400!important;
color: #fff!important;
}
.inMinus,.inMinus:hover:focus{
border: 1px solid #FA6400!important;
background-color: #fff!important;
color: #FA6400!important;
}
\ No newline at end of file
...
...
src/components/formMenu/qlr.vue
View file @
e15ad4a
...
...
@@ -210,13 +210,13 @@
<td
rowspan=
"2"
class=
"btnCol"
>
<el-button
type=
"primary"
class=
"changeBtn"
class=
"changeBtn
outAdd addMinus
"
@
click=
"handleClick(item, index, 'add')"
>
+
</el-button
>
<el-button
type=
"primary"
class=
"changeBtn"
class=
"changeBtn
outMinus addMinus
"
@
click=
"handleClick(item, index, 'minus')"
>
-
</el-button
>
...
...
@@ -671,10 +671,6 @@
text-align
:
center
;
cursor
:
text
;
}
.percent78
{
width
:
78%
;
float
:
left
;
}
.percent68
{
width
:
68%
!important
;
float
:
left
;
...
...
@@ -685,13 +681,6 @@
width
:
30%
!important
;
float
:
left
;
}
.createBtn
{
position
:
absolute
;
width
:
50px
;
padding
:
6px
4px
;
right
:
4px
;
top
:
4px
;
}
.el-input__icon
{
line-height
:
37px
;
}
...
...
src/components/formMenu/qlxz.vue
View file @
e15ad4a
...
...
@@ -15,14 +15,14 @@
<el-button
v-show=
"childIndex
< 1
"
type=
"primary"
class=
"changeBtn"
class=
"changeBtn
addMinus outAdd
"
@
click=
"handleClick(index, 'add')"
>
+
</el-button
>
<el-button
v-show=
"childIndex
< 1
"
type=
"primary"
class=
"changeBtn"
class=
"changeBtn
addMinus outMinus
"
@
click=
"handleClick(index, 'minus')"
>
-
</el-button
>
...
...
@@ -41,13 +41,13 @@
<span
class=
"qlxz"
v-show=
"childIndex
< 1
"
>
权利性质
</span><br
/>
<el-button
type=
"primary"
class=
"changeBtn"
class=
"changeBtn
addMinus inAdd
"
@
click=
"handleInClick(index, childIndex, 'add')"
>
+
</el-button
>
<el-button
type=
"primary"
class=
"changeBtn"
class=
"changeBtn
addMinus inMinus
"
@
click=
"handleInClick(index, childIndex, 'minus')"
>
-
</el-button
>
...
...
@@ -398,7 +398,7 @@ export default {
.qlxzModule
{
height
:
auto
;
position
:
relative
;
border-bottom
:
1px
solid
grey
;
border-bottom
:
1px
solid
#E6E6E6
;
.el-col
{
//
height
:
100%
;
border-right
:
1px
solid
grey
;
...
...
src/components/formMenu/qlxz_simple.vue
View file @
e15ad4a
...
...
@@ -289,7 +289,7 @@ export default {
.qlxzModule
{
height
:
auto
;
position
:
relative
;
border-bottom
:
1px
solid
grey
;
border-bottom
:
1px
solid
#E6E6E6
;
.el-col
{
//
height
:
100%
;
border-right
:
1px
solid
grey
;
...
...
src/views/Home.vue
View file @
e15ad4a
...
...
@@ -398,7 +398,7 @@ export default {
color
:
#006cff
;
border-left
:
1px
solid
#EAEAEA
;
border-right
:
1px
solid
#EAEAEA
;
height
:
5
9
px
;
height
:
5
8
px
;
border-bottom
:
1px
solid
#FFF
;
}
}
...
...
src/views/dz/dzxx/index.vue
View file @
e15ad4a
...
...
@@ -10,22 +10,22 @@
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
宗地代码
</td>
<td
colspan=
"4"
>
<
el-input
v-model=
"form.zddm"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.zddm"
>
</td>
<td
colspan=
"2"
align=
"center"
>
不动产单元号
</td>
<td
colspan=
"4"
>
<
el-input
v-model=
"form.bdcdyh"
style=
"width: 70%"
></el-input
>
<el-button
@
click
.
prevent=
"generatorCode"
size=
"mini"
type=
"primary"
style=
"width:25%;margin-left:3%
"
>
生成
</el-button>
<td
colspan=
"4"
class=
"psr"
>
<
input
class=
"formInput percent80"
v-model=
"form.bdcdyh"
>
<el-button
@
click
.
prevent=
"generatorCode"
size=
"mini"
class=
"createBtn"
type=
"warning
"
>
生成
</el-button>
</td>
</tr>
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
项目名称
</td>
<td
colspan=
"4"
>
<
el-input
v-model=
"form.xmmc"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.xmmc"
>
</td>
<td
colspan=
"2"
align=
"center"
>
房屋性质
</td>
<td
colspan=
"4"
>
<el-select
v-model=
"form.fwxzbsm"
placeholder=
"请选择"
>
<el-select
class=
"formSelect"
v-model=
"form.fwxzbsm"
placeholder=
"请选择"
>
<el-option
v-for=
"item in $store.state.fwxzOptions"
:key=
"item.bsm"
...
...
@@ -39,7 +39,7 @@
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
房屋类型
</td>
<td
colspan=
"4"
>
<el-select
v-model=
"form.fwlxbsm"
placeholder=
"请选择"
>
<el-select
class=
"formSelect"
v-model=
"form.fwlxbsm"
placeholder=
"请选择"
>
<el-option
v-for=
"item in $store.state.fwlxList"
:key=
"item.bsm"
...
...
@@ -61,7 +61,7 @@
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
产别
</td>
<td
colspan=
"4"
>
<el-select
v-model=
"form.fwcbbsm"
placeholder=
"请选择"
>
<el-select
class=
"formSelect"
v-model=
"form.fwcbbsm"
placeholder=
"请选择"
>
<el-option
v-for=
"item in $store.state.cbOptions"
:key=
"item.bsm"
...
...
@@ -72,7 +72,7 @@
</td>
<td
colspan=
"2"
align=
"center"
>
产权来源
</td>
<td
colspan=
"4"
>
<el-select
v-model=
"form.fwcqlybsm"
placeholder=
"请选择"
>
<el-select
class=
"formSelect"
v-model=
"form.fwcqlybsm"
placeholder=
"请选择"
>
<el-option
v-for=
"item in $store.state.cqlyOptions"
:key=
"item.bsm"
...
...
@@ -127,26 +127,23 @@
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
共有土地面积(㎡)
</td>
<td
colspan=
"2"
>
<
el-input
v-model=
"form.zdmj"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.zdmj"
>
</td>
<td
colspan=
"2"
align=
"center"
>
分摊土地面积(㎡)
</td>
<td
colspan=
"2"
>
<
el-input
v-model=
"form.fttdsymj"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.fttdsymj"
>
</td>
<td
colspan=
"2"
align=
"center"
>
多幢独用土地面积(㎡)
</td>
<td
colspan=
"2"
>
<
el-input
v-model=
"form.dlsytdmj"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.dlsytdmj"
>
</td>
</tr>
<tr>
<td
colspan=
"12"
rowspan=
"4"
align=
"center"
>
<Qlxz
ref=
"qlxzModule"
></Qlxz>
<td
colspan=
"12"
align=
"center"
>
<Qlxz
ref=
"qlxzModule"
:formData=
"form"
></Qlxz>
</td>
</tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr
height=
"30"
>
...
...
@@ -154,7 +151,7 @@
<span>
坐落
</span>
</td>
<td
colspan=
"10"
>
<
el-input
v-model=
"form.zl"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.zl"
>
</td>
</tr>
...
...
@@ -163,7 +160,7 @@
<span>
附加说明
</span>
</td>
<td
colspan=
"10"
rowspan=
"2"
>
<
el-input
v-model=
"form.bz"
type=
"textarea"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.bz"
type=
"textarea"
>
</td>
</tr>
<tr
height=
"30"
>
...
...
@@ -174,7 +171,7 @@
<span>
调查意见
</span>
</td>
<td
colspan=
"10"
>
<
el-input
v-model=
"form.name"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.name"
>
</td>
</tr>
...
...
@@ -183,7 +180,7 @@
<span>
审查员
</span>
</td>
<td
colspan=
"2"
>
<
el-input
v-model=
"form.name"
></el-input
>
<
input
class=
"formInput"
v-model=
"form.name"
>
</td>
<td
colspan=
"2"
rowspan=
"2"
align=
"right"
style=
"width:8.33%;padding-right:10px"
>
<span>
审查日期
</span>
...
...
@@ -481,10 +478,6 @@
box-sizing
:
border-box
;
padding
:
18px
;
padding-bottom
:
0
;
/deep/.el-input__inner{
width
:
100%
;
border
:
0
;
}
/deep/textarea{
width
:
100%
;
...
...
@@ -503,13 +496,12 @@
}
td
{
//
bgcolor
:
#F1F4FC
;
bgcolor
:
#fff
;
width
:
8.33%
height
:
36px
;
width
:
8.33%
;
}
.el-select
{
display
:
block
;
width
:
100%
;
}
table
{
...
...
@@ -518,6 +510,15 @@
.dzTable
{
margin-top
:
10px
;
/deep/.el-input__inner
{
margin
:
0
;
height
:
36px
;
outline
:
none
;
border
:
none
;
color
:
#606764
;
overflow
:
visible
;
text-align
:
center
;
}
}
}
</
style
>
\ No newline at end of file
...
...
src/views/panel/change/cxlz/index.vue
View file @
e15ad4a
<
template
>
<div
class=
"main"
>
<div
class=
"search"
>
<el-row
>
<el-
col
:span=
"24"
>
<el-
form
:inline=
"true"
class=
"demo-form-inline
"
>
<div
class=
"main"
>
<div
class=
"search"
>
<el-form
:inline=
"true"
class=
"demo-form-inline"
>
<el-
row
>
<el-
col
:span=
"8
"
>
<el-form-item
label=
"宗地编码"
>
<el-input
v-model=
"queryData.zddm"
placeholder=
"输入宗地编码"
@
change=
"query"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"不动产权证号"
>
<el-input
v-model=
"queryData.bdcqzh"
placeholder=
"输入坐落地址"
@
change=
"query"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"不动产单元号"
>
<el-input
v-model=
"queryData.bdcdyh"
placeholder=
"输入不动产单元号"
@
change=
"query"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"权利人"
>
<el-input
v-model=
"queryData.qlrmc"
placeholder=
"输入权利人姓名"
@
change=
"query"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"坐落"
>
<el-input
v-model=
"queryData.zl"
placeholder=
"输入坐落地址"
@
change=
"query"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-button
type=
"primary"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"warning"
style=
"margin-left:10px"
@
click=
"result"
>
重置
</el-button>
</el-col>
</el-row>
</el-form>
</el-form>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form
:inline=
"true"
:model=
"queryData"
class=
"demo-form-inline"
>
<el-form-item
class=
"demo-form-inline"
label=
"查询范围"
>
<el-checkbox-group
v-model=
"queryData.dylxs"
@
change=
"query"
>
<el-checkbox
label=
"zd"
name=
"type"
>
宗地
</el-checkbox>
<el-checkbox
label=
"dz"
name=
"type"
>
多幢
</el-checkbox>
<el-checkbox
label=
"zrz"
name=
"type"
>
自然幢
</el-checkbox>
<el-checkbox
label=
"h"
name=
"type"
>
户
</el-checkbox>
<el-checkbox
label=
"gzw"
name=
"type"
>
构筑物
</el-checkbox>
<el-checkbox
label=
"lq"
name=
"type"
>
林权
</el-checkbox>
<el-checkbox
label=
"zh"
name=
"type"
>
宗海
</el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-button
type=
"primary"
@
click=
"query"
>
查询
</el-button>
<el-button
type=
"warning"
@
click=
"reset"
>
重置
</el-button>
</el-form>
</el-col>
<el-col
:span=
"2"
>
</el-col>
</el-row>
<el-table
:data=
"Data"
:height=
"tableHeight"
:row-class-name=
"tableRowClassName"
>
<td
class=
"xh"
>
序号
</td>
<td
class=
"cz"
>
操作
</td>
<td
class=
"zddm"
>
宗地代码
</td>
<td
class=
"bdcdyh"
>
不动产单元号
</td>
<td
class=
"xmmc"
>
项目名称
</td>
<td
class=
"bdcqzh"
>
不动产权证号
</td>
<td
class=
"qlr"
>
权利人
</td>
<td
class=
"zl"
>
坐落
</td>
<el-table-column
type=
"index"
width=
"80"
align=
"center"
label=
"序号"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"100"
>
<template
slot-scope=
"scope"
>
<el-button
@
click=
"xzzrz(scope.row)"
type=
"text"
size=
"small"
>
选择
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"zddm"
align=
"left"
label=
"宗地代码"
>
</el-table-column>
<el-table-column
prop=
"bdcdyh"
align=
"left"
label=
"不动产单元号"
>
</el-table-column>
<el-table-column
prop=
"xmmc"
align=
"left"
width=
"150"
label=
"项目名称"
>
</el-table-column>
<el-table-column
prop=
"bdcqzh"
align=
"left"
label=
"不动产权证号"
>
</el-table-column>
<el-table-column
prop=
"qlrmc"
align=
"left"
width=
"120"
label=
"权利人"
>
</el-table-column>
<el-table-column
prop=
"zl"
align=
"left"
label=
"坐落"
></el-table-column>
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
</span>
<cxlz-query-data
:centerDialogVisible=
"centerDialogVisible"
:dylxs=
"dylxs"
@
close=
"close"
:zrzbsm=
"zrzbsm"
></cxlz-query-data>
<div
class=
"page"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:page-size=
"queryData.pageSize"
:total=
"total"
@
current-change=
"currentChange"
>
</el-pagination>
</div>
</div>
<el-table
:data=
"Data"
:height=
"tableHeight"
>
<td
class=
"xh"
>
序号
</td>
<td
class=
"cz"
>
操作
</td>
<td
class=
"zddm"
>
宗地代码
</td>
<td
class=
"bdcdyh"
>
不动产单元号
</td>
<td
class=
"xmmc"
>
项目名称
</td>
<td
class=
"bdcqzh"
>
不动产权证号
</td>
<td
class=
"qlr"
>
权利人
</td>
<td
class=
"zl"
>
坐落
</td>
<el-table-column
type=
"index"
width=
"80"
align=
"center"
label=
"序号"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"100"
>
<template
slot-scope=
"scope"
>
<el-button
@
click=
"xzzrz(scope.row)"
type=
"text"
size=
"small"
>
选择
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"zddm"
align=
"left"
label=
"宗地代码"
>
</el-table-column>
<el-table-column
prop=
"bdcdyh"
align=
"left"
label=
"不动产单元号"
>
</el-table-column>
<el-table-column
prop=
"xmmc"
align=
"left"
width=
"150"
label=
"项目名称"
>
</el-table-column>
<el-table-column
prop=
"bdcqzh"
align=
"left"
label=
"不动产权证号"
>
</el-table-column>
<el-table-column
prop=
"qlrmc"
align=
"left"
width=
"120"
label=
"权利人"
>
</el-table-column>
<el-table-column
prop=
"zl"
align=
"left"
label=
"坐落"
></el-table-column>
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
</span>
<cxlz-query-data
:centerDialogVisible=
"centerDialogVisible"
:dylxs=
"dylxs"
@
close=
"close"
:zrzbsm=
"zrzbsm"
></cxlz-query-data>
<div
class=
"page"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:page-size=
"queryData.pageSize"
:total=
"total"
@
current-change=
"currentChange"
>
</el-pagination>
</div>
</div>
</template>
<
script
>
import
{
getSearchList
}
from
"./../../../../api/search"
;
import
cxlzQueryData
from
"../../../../components/cxlxQueryData/cxlzQueryData"
;
import
{
getSearchList
}
from
"./../../../../api/search"
;
import
cxlzQueryData
from
"../../../../components/cxlxQueryData/cxlzQueryData"
;
export
default
{
name
:
""
,
components
:
{
cxlzQueryData
},
props
:
{},
data
()
{
return
{
total
:
1
,
centerDialogVisible
:
false
,
zrzbsm
:
""
,
queryData
:
{
bdcdyh
:
""
,
bdcqzh
:
""
,
dylxs
:
[
"zrz"
],
qlrmc
:
""
,
qszt
:
"2"
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
pageNo
:
1
,
pageSize
:
12
,
},
Data
:
[],
dylxs
:
[
"zd"
],
tableHeight
:
0
};
},
created
()
{
},
mounted
()
{
this
.
getData
(
this
.
queryData
);
if
((
document
.
documentElement
.
clientWidth
||
document
.
body
.
clientWidth
)
<
1890
)
{
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
355
;
})
}
else
{
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
304
;
})
}
},
methods
:
{
currentChange
:
function
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
queryData
.
pageNo
=
val
;
this
.
getData
(
this
.
queryData
);
},
xzzrz
:
function
(
item
)
{
this
.
centerDialogVisible
=
true
;
this
.
zrzbsm
=
item
.
glbsm
;
},
close
:
function
()
{
this
.
centerDialogVisible
=
false
;
},
result
:
function
()
{
this
.
queryData
=
{
bdcdyh
:
""
,
bdcqzh
:
""
,
dylxs
:
[
"zrz"
],
qlrmc
:
""
,
qszt
:
"2"
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
pageNo
:
1
,
pageSize
:
12
,
};
this
.
getData
(
this
.
queryData
);
},
getData
:
function
(
data
)
{
getSearchList
(
data
).
then
((
res
)
=>
{
this
.
Data
=
res
.
result
.
records
;
this
.
total
=
res
.
result
.
total
;
});
},
search
:
function
()
{
this
.
getData
(
this
.
queryData
);
},
},
computed
:
{},
watch
:
{},
};
export
default
{
name
:
""
,
components
:
{
cxlzQueryData
},
props
:
{},
data
()
{
return
{
total
:
1
,
centerDialogVisible
:
false
,
zrzbsm
:
""
,
queryData
:
{
bdcdyh
:
""
,
bdcqzh
:
""
,
dylxs
:
[
"zrz"
],
qlrmc
:
""
,
qszt
:
"2"
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
pageNo
:
1
,
pageSize
:
12
,
},
Data
:
[],
dylxs
:
[
"zd"
],
tableHeight
:
0
,
};
},
created
()
{},
mounted
()
{
this
.
getData
(
this
.
queryData
);
if
(
(
document
.
documentElement
.
clientWidth
||
document
.
body
.
clientWidth
)
<
1890
)
{
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
355
;
});
}
else
{
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
304
;
});
}
},
methods
:
{
currentChange
:
function
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
queryData
.
pageNo
=
val
;
this
.
getData
(
this
.
queryData
);
},
xzzrz
:
function
(
item
)
{
this
.
centerDialogVisible
=
true
;
this
.
zrzbsm
=
item
.
glbsm
;
},
close
:
function
()
{
this
.
centerDialogVisible
=
false
;
},
result
:
function
()
{
this
.
queryData
=
{
bdcdyh
:
""
,
bdcqzh
:
""
,
dylxs
:
[
"zrz"
],
qlrmc
:
""
,
qszt
:
"2"
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
pageNo
:
1
,
pageSize
:
12
,
};
this
.
getData
(
this
.
queryData
);
},
getData
:
function
(
data
)
{
getSearchList
(
data
).
then
((
res
)
=>
{
this
.
Data
=
res
.
result
.
records
;
this
.
total
=
res
.
result
.
total
;
});
},
search
:
function
()
{
this
.
getData
(
this
.
queryData
);
},
},
computed
:
{},
watch
:
{},
};
</
script
>
<
style
scoped
lang=
"less"
>
.main
{
box-sizing
:
border-box
;
padding
:
18px
;
height
:
auto
;
}
.main
{
box-sizing
:
border-box
;
padding
:
18px
;
height
:
auto
;
}
table
{
margin-top
:
10px
;
background-color
:
#fff
;
font-size
:
14px
;
width
:
100%
;
table-layout
:
fixed
;
tr
:
hover
{
background-color
:
#F5F7FA
;
}
td
,
th
{
text-align
:
center
;
height
:
36px
;
min-width
:
50px
;
overflow
:
hidden
;
white-space
:
nowrap
;
-ms-text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
table
{
margin-top
:
10px
;
background-color
:
#fff
;
font-size
:
14px
;
width
:
100%
;
table-layout
:
fixed
;
tr
:
hover
{
background-color
:
#f5f7fa
;
}
td
,
th
{
text-align
:
center
;
height
:
36px
;
min-width
:
50px
;
overflow
:
hidden
;
white-space
:
nowrap
;
-ms-text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
table
:hover
{
cursor
:
pointer
;
}
table
:hover
{
cursor
:
pointer
;
}
.inputtitle
{
line-height
:
40px
;
span
{
display
:
inline-block
;
width
:
120px
;
text-align
:
left
;
}
/
deep
/
.el-input
{
width
:
calc
(
100%
-
120px
);
}
}
.inputtitle
{
line-height
:
40px
;
span
{
display
:
inline-block
;
width
:
120px
;
text-align
:
left
;
}
/
deep
/
.el-input
{
width
:
calc
(
100%
-
120px
);
}
}
.shop
{
margin-top
:
20px
;
}
.shop
{
margin-top
:
20px
;
}
.xh
{
width
:
50px
;
}
.xh
{
width
:
50px
;
}
.zddm
{
width
:
120px
;
}
.zddm
{
width
:
120px
;
}
.bdcdyh
{
width
:
180px
;
}
.bdcdyh
{
width
:
180px
;
}
.xmmc
{
width
:
100px
;
}
.xmmc
{
width
:
100px
;
}
.bdcqzh
{
width
:
100px
;
}
.bdcqzh
{
width
:
100px
;
}
.qlr
{
width
:
100px
;
}
.qlr
{
width
:
100px
;
}
.zl
{
width
:
100px
;
}
.zl
{
width
:
100px
;
}
.cz
{
width
:
50px
;
span
{
color
:
blue
;
}
}
.cz
{
width
:
50px
;
span
{
color
:
blue
;
}
}
.noData
{
color
:
#b2b2b2
;
}
.noData
{
color
:
#b2b2b2
;
}
.page
{
position
:
fixed
;
bottom
:
20px
;
width
:
auto
;
height
:
auto
;
}
/
deep
/
.el-form-item__label
{
width
:
96px
;
.page
{
position
:
fixed
;
bottom
:
20px
;
width
:
auto
;
height
:
auto
;
}
/
deep
/
.el-form-item__label
{
width
:
96px
;
}
/
deep
/
.el-form
{
margin-left
:
-28px
;
.el-button{
margin
:
0
22px
;
}
/
deep
/
.el-form
{
margin-left
:
-28px
;
}
.el-form-item
{
width
:
100%
;
box-sizing
:
border-box
;
padding
:
0
20px
;
/deep/.el-form-item__content{
width
:
calc
(
100%
-
96px
);
}
}
</
style
>
...
...
src/views/panel/change/fg/index.vue
View file @
e15ad4a
...
...
@@ -57,7 +57,14 @@
<th
class=
"zxx"
>
幢信息
</th>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist"
:key=
"index"
>
<td
@
click=
"delRow(index)"
class=
"cz"
>
-
</td>
<td
class=
"cz"
>
<el-button
type=
"primary"
class=
"changeBtn outMinus addMinus"
@
click=
"delRow(index)"
>
-
</el-button
>
</td>
<td
class=
"xzq"
>
<el-select
v-model=
"item.xzqbsm"
@
change=
"changeXzq(item.xzqbsm,index)"
>
<el-option
...
...
@@ -117,7 +124,12 @@
</td>
</tr>
<tr>
<td
@
click=
"addRow"
>
+
</td>
<td><el-button
type=
"primary"
class=
"changeBtn outAdd addMinus"
@
click=
"addRow"
>
+
</el-button
></td>
<td></td>
<td></td>
<td></td>
...
...
@@ -233,7 +245,14 @@
<th
class=
"zxx"
>
幢信息
</th>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist"
:key=
"index"
>
<td
@
click=
"delRow(index)"
class=
"cz"
>
-
</td>
<td
class=
"cz"
>
<el-button
type=
"primary"
class=
"changeBtn outMinus addMinus"
@
click=
"delRow(index)"
>
-
</el-button
>
</td>
<td
class=
"xzq"
>
<el-select
v-model=
"item.xzqbsm"
@
change=
"changeXzq(item.xzqbsm,index)"
>
<el-option
...
...
@@ -409,7 +428,15 @@
<th
class=
"zxx"
>
幢信息
</th>
</tr>
<tr
v-for=
"(item,index) in fghData.newZdlist"
:key=
"index"
>
<td
@
click=
"delRow(index)"
class=
"cz"
>
-
</td>
<td
class=
"cz"
>
<el-button
type=
"primary"
class=
"changeBtn outMinus addMinus"
@
click=
"delRow(index)"
>
-
</el-button
>
</td>
<td
class=
"xzq"
>
<el-select
v-model=
"item.xzqbsm"
@
change=
"changeXzq(item.xzqbsm,index)"
>
<el-option
...
...
src/views/zd/mjftb/index.vue
View file @
e15ad4a
...
...
@@ -22,29 +22,41 @@
</table>
<table
border=
"1"
>
<tr>
<td
@
click=
"addRow"
class=
"cz"
>
+
</td>
<td
class=
"cz"
><el-button
type=
"primary"
class=
"changeBtn outAdd addMinus"
@
click=
"addRow"
>
+
</el-button
></td>
<td
class=
"dzwdm"
>
定着物代码
</td>
<td
class=
"syqmj"
>
土地所有权/使用权面积(㎡)
</td>
<td
class=
"dytdmj"
>
独有独用土地面积(㎡)
</td>
<td
class=
"fttjmj"
>
分摊土地面积(㎡)
</td>
</tr>
<tr
v-for=
"(item,i) in mjftData.list"
:key=
"i"
>
<td
@
click=
"delRow(i)"
class=
"cz"
>
-
</td>
<td
class=
"cz"
>
<el-button
type=
"primary"
class=
"changeBtn outMinus addMinus"
@
click=
"delRow(i)"
>
-
</el-button
>
</td>
<td
class=
"dzwdm"
>
<el-input
v-model=
"item.dzwdm"
>
</el-input>
</td>
<td
class=
"syqmj"
>
<el-input
oninput=
"if(isNaN(value))
{ value =
null
} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}"
<el-input
placeholder=
"请输入数字"
oninput=
"if(isNaN(value))
{ value =
value.substr(0, value.length - 1)
} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}"
v-model="item.tdsyqsyqmj"
>
</el-input>
</td>
<td
class=
"dytdmj"
>
<el-input
v-model=
"item.dydytdmj"
oninput=
"if(isNaN(value))
{ value = null
} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}">
</el-input>
<el-input
v-model=
"item.dydytdmj"
placeholder=
"请输入数字"
oninput=
"if(isNaN(value))
{ value = value.substr(0, value.length - 1)
} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}">
</el-input>
</td>
<td
class=
"fttjmj"
>
<el-input
v-model=
"item.fttdmj"
oninput=
"if(isNaN(value))
{ value = null
} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}">
</el-input>
<el-input
v-model=
"item.fttdmj"
placeholder=
"请输入数字"
oninput=
"if(isNaN(value))
{ value = value.substr(0, value.length - 1)
} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}">
</el-input>
</td>
</tr>
<tr>
...
...
@@ -123,7 +135,8 @@
/* e.target.value = (e.target.value.match(/^(1|2|3|4|5|6|7|8|9|0)*(\.?\d{0,2})/g)[0]) || null*/
let
value
=
e
.
target
.
value
if
(
isNaN
(
value
))
{
value
=
null
console
.
log
(
value
,
'value'
);
value
=
value
.
slice
()
}
if
(
value
.
indexOf
(
'.'
)
>
0
)
{
value
=
value
.
slice
(
0
,
value
.
indexOf
(
'.'
)
+
4
)
...
...
src/views/zd/zddcb/index.vue
View file @
e15ad4a
...
...
@@ -113,10 +113,10 @@
<td
colspan=
"4"
class=
"psr"
>
<input
:disabled=
"formData.qszt!='0'"
type=
"text"
placeholder=
"请输入"
class=
"formInput percent
78
"
class=
"formInput percent
80
"
v-model=
"formData.zddm"
/>
<el-button
type=
"
primary
"
class=
"createBtn"
@
click=
"generatorCode"
<el-button
type=
"
warning
"
class=
"createBtn"
@
click=
"generatorCode"
>
生成
</el-button>
</td>
...
...
@@ -131,10 +131,10 @@
<td
colspan=
"4"
class=
"psr"
>
<input
type=
"text"
:disabled=
"formData.qszt!='0'"
class=
"formInput percent
78
"
class=
"formInput percent
80
"
v-model=
"formData.bdcdyh"
/>
<el-button
type=
"
primary
"
class=
"createBtn"
>
生成
</el-button>
<el-button
type=
"
warning
"
class=
"createBtn"
>
生成
</el-button>
</td>
</tr>
<tr>
...
...
@@ -708,10 +708,6 @@ export default {
overflow
:
visible
;
text-align
:
center
;
}
.percent78
{
width
:
78%
;
float
:
left
;
}
.percent68
{
width
:
68%
!important
;
float
:
left
;
...
...
@@ -732,13 +728,6 @@ export default {
width
:
30%
!important
;
float
:
left
;
}
.createBtn
{
position
:
absolute
;
width
:
50px
;
padding
:
6px
4px
;
right
:
4px
;
top
:
4px
;
}
.el-input__icon
{
line-height
:
37px
;
}
...
...
src/views/zrz/lpb/bjlp/hbj/index.vue
View file @
e15ad4a
...
...
@@ -20,9 +20,9 @@
<tr
height=
"30"
>
<td
colspan=
"2"
align=
"center"
>
不动产单元号
<i
class=
"requisite"
>
*
</i></td>
<!-- todo 此处暂时存放的是不动产单元号标识码,而不是不动产单元号-->
<td
colspan=
"4"
>
<el-input
v-model=
"form.bdcdyh"
style=
"width: 82%
"
disabled
></el-input>
<el-button
@
click
.
prevent=
"generatorCode"
size=
"mini"
type=
"primary"
style=
"width:17%;margin-left:1%
"
>
生成
</el-button>
<td
colspan=
"4"
class=
"psr"
>
<el-input
v-model=
"form.bdcdyh"
class=
"percent80
"
disabled
></el-input>
<el-button
@
click
.
prevent=
"generatorCode"
size=
"mini"
class=
"createBtn"
type=
"warning
"
>
生成
</el-button>
</td>
<td
colspan=
"2"
align=
"center"
>
原不动产单元
</td>
<td
colspan=
"4"
>
...
...
src/views/zrz/lpb/bjlp/ljz/index.vue
View file @
e15ad4a
...
...
@@ -30,13 +30,13 @@
<el-input
v-model=
"form.ljzmc"
></el-input>
</td>
<td
colspan=
"2"
align=
"center"
>
不动产单元号
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.bdcdyh"
style=
"width: 70%
"
></el-input>
<td
colspan=
"4"
class=
"psr"
>
<el-input
v-model=
"form.bdcdyh"
class=
"percent80
"
></el-input>
<el-button
@
click
.
prevent=
""
size=
"mini"
type=
"
primary
"
style=
"width:25%;margin-left:3%
"
type=
"
warning
"
class=
"createBtn
"
>
生成
</el-button
>
</td>
...
...
src/views/zrz/yzgy/index.vue
View file @
e15ad4a
...
...
@@ -13,7 +13,14 @@
</table>
<table
border=
"1"
>
<tr>
<td
@
click=
"addRow"
>
+
</td>
<td>
<el-button
type=
"primary"
class=
"changeBtn outAdd addMinus"
@
click=
"addRow"
>
+
</el-button
>
</td>
<td>
建(构)筑物编号
</td>
<td>
建(构)筑物数量
</td>
<td>
建(构)筑物面积(㎡)
</td>
...
...
@@ -22,7 +29,14 @@
<td>
附记
</td>
</tr>
<tr
v-for=
"(item,i) in Data.list"
:key=
"i"
>
<td
@
click=
"delRow(i)"
>
-
</td>
<td>
<el-button
type=
"primary"
class=
"changeBtn outMinus addMinus"
@
click=
"delRow(i)"
>
-
</el-button
>
</td>
<td><input
type=
"text"
class=
"formInput"
v-model=
"item.jgzwbh"
/></td>
<td><input
type=
"number"
class=
"formInput"
v-model=
"item.jgzsl"
@
keydown=
"oninput"
/></td>
<td><input
type=
"number"
class=
"formInput"
v-model
.
number=
"item.jgzmj"
@
keydown=
"oninput"
/></td>
...
...
src/views/zrz/zrzxx/index.vue
View file @
e15ad4a
...
...
@@ -23,9 +23,9 @@
<input
class=
"formInput"
:disabled=
"form.qszt!='0'"
v-model=
"form.xmmc"
>
</td>
<td
colspan=
"2"
>
不动产单元号
<i
class=
"requisite"
>
*
</i></td>
<td
colspan=
"4"
>
<input
class=
"formInput percent
78"
:disabled=
"form.qszt!='0'"
v-model=
"form.bdcdyh"
style=
"width: 70%
"
>
<el-button
@
click
.
prevent=
"generatorCode"
type=
"
primary"
size=
"mini"
style=
"width:25%;margin-left:3%
"
>
生成
</el-button>
<td
colspan=
"4"
class=
"psr"
>
<input
class=
"formInput percent
80"
:disabled=
"form.qszt!='0'"
v-model=
"form.bdcdyh
"
>
<el-button
@
click
.
prevent=
"generatorCode"
type=
"
warning"
class=
"createBtn"
size=
"mini
"
>
生成
</el-button>
</td>
</tr>
...
...
@@ -145,12 +145,12 @@
<tr
v-for=
"(item1,index) in form.fwytList"
:key=
"index"
>
<td
colspan=
"2"
v-if=
"index===0"
:rowspan=
"ytTitleRowspan"
id=
"ytTitle"
>
<el-button
type=
"primary"
size=
"mini"
style=
"margin-right: 10px"
@
click=
"addYtInfo"
>
添加
</el-button>
<span>
用途
<i
class=
"requisite"
>
*
</i></span>
<el-button
type=
"primary"
class=
"outAdd addMinus"
size=
"mini"
style=
"margin-right: 10px"
@
click=
"addYtInfo"
>
+
</el-button>
<span>
用途
<i
class=
"requisite"
>
*
</i></span>
</td>
<td
colspan=
"1"
style=
"min-width:120px"
>
<el-button
type=
"info"
size=
"mini"
style=
""
@
click=
"deleteYtInfo(index)"
circle
>
删除
</el-button>
<el-button
type=
"info"
class=
"outMinus addMinus"
size=
"mini"
style=
""
@
click=
"deleteYtInfo(index)"
circle
>
-
</el-button>
规划用途
</td>
<td
colspan=
"3"
>
...
...
@@ -186,11 +186,12 @@
<tr
v-for=
"(item1,index) in form.fwjgList"
:key=
"'jg'+index"
>
<td
colspan=
"2"
v-if=
"index===0"
:rowspan=
"fwjgTitleRowspan"
>
<el-button
type=
"primary"
size=
"mini"
style=
"margin-right: 10px"
@
click=
"addFwjgInfo"
>
添加
</el-button>
<el-button
type=
"primary"
class=
"outAdd addMinus"
size=
"mini"
style=
"margin-right: 10px"
@
click=
"addFwjgInfo"
>
+
</el-button>
<span>
房屋结构
<i
class=
"requisite"
>
*
</i></span>
</td>
<td
colspan=
"1"
>
<span
@
click=
"deleteFwjgInfo(index)"
>
删除
</span>
<el-button
type=
"primary"
class=
"outMinus addMinus"
size=
"mini"
style=
"margin-right: 10px"
@
click=
"deleteFwjgInfo(index)"
>
-
</el-button>
<span>
删除
</span>
</td>
<td
colspan=
"9"
>
<el-select
class=
"persent78"
:disabled=
"form.qszt!='0'"
v-model=
"item1.fwjgzdbsm"
placeholder=
"请选择"
>
...
...
@@ -205,13 +206,10 @@
</tr>
<tr>
<td
colspan=
"12"
rowspan=
"4"
align=
"center"
>
<td
colspan=
"12"
align=
"center"
>
<Qlxz
ref=
"qlxzModule"
:formData=
"form"
></Qlxz>
</td>
</tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr>
<td
colspan=
"2"
>
...
...
@@ -605,10 +603,6 @@
text-align
:
center
;
cursor
:
text
;
}
.percent78
{
width
:
78%
;
float
:
left
;
}
.percent68
{
width
:
68%
!important
;
float
:
left
;
...
...
@@ -629,13 +623,6 @@
width
:
30%
!important
;
float
:
left
;
}
.createBtn
{
position
:
absolute
;
width
:
50px
;
padding
:
6px
4px
;
right
:
4px
;
top
:
4px
;
}
.el-input__icon
{
line-height
:
37px
;
}
...
...
Please
register
or
sign in
to post a comment