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
d499b0ca
authored
2023-07-05 17:23:14 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
2282194a
ff0c5ac9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
384 additions
and
196 deletions
public/config.json
src/styles/index.scss
src/views/components/ywdialog.vue
src/views/djbworkflow/components/dialog/addQlr.vue
src/views/djbworkflow/components/dialog/addYwr.vue
src/views/djbworkflow/components/qlrCommonTable.vue
src/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue
src/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/ygdydj.vue
src/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/tdytTable.vue
src/views/ywbl/slsqxx/tdsyq/slxx.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
public/config.json
View file @
d499b0c
{
"TITLE"
:
"不动产登记系统"
,
"SERVERAPI"
:
"/bdcdj
-th
"
,
"SERVERAPI"
:
"/bdcdj"
,
"IDCARDURL"
:
"http://127.0.0.1:33088/function=get_idcard&readnew=0"
}
\ No newline at end of file
...
...
src/styles/index.scss
View file @
d499b0c
...
...
@@ -180,6 +180,10 @@ div:focus {
}
}
.flex
{
display
:
flex
;
}
aside
{
background
:
#eef1f6
;
padding
:
8px
24px
;
...
...
src/views/components/ywdialog.vue
0 → 100644
View file @
d499b0c
<!--
功能:初始化功能描述
作者:calliope
-->
<
template
>
<div
class=
'ywdialog'
>
<el-link
type=
"danger"
>
{{
formData
.
message
}}
</el-link>
<el-table
v-if=
"formData.result"
:data=
"formData.result"
height=
"200"
>
<el-table-column
prop=
"bdcdyh"
label=
"不动产单元号"
>
</el-table-column>
<el-table-column
prop=
"verifyErrorMessage"
label=
"状态"
>
</el-table-column>
</el-table>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
{}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
</
style
>
\ No newline at end of file
src/views/djbworkflow/components/dialog/addQlr.vue
View file @
d499b0c
...
...
@@ -4,27 +4,60 @@
* @LastEditTime: 2023-05-17 10:39:47
-->
<
template
>
<dialogBox
title=
"申请人信息"
width=
"60%"
isMain
v-model=
"myValue"
:isFullscreen=
"false"
@
submitForm=
"submitForm"
@
closeDialog=
"closeDialog"
:isButton=
"showButton"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
>
<dialogBox
title=
"权利人信息"
width=
"60%"
isMain
v-model=
"myValue"
:isFullscreen=
"false"
@
submitForm=
"submitForm"
@
closeDialog=
"closeDialog"
:isButton=
"showButton"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"权利人类型1"
prop=
"sqrlx"
>
<el-select
clearable
v-model=
"ruleForm.sqrlx"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A36']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
<el-form-item
label=
"权利人类型"
prop=
"qlrlx"
>
<el-select
clearable
v-model=
"ruleForm.qlrlx"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A36']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"姓名/名称"
prop=
"
sq
rmc"
>
<el-input
v-model=
"ruleForm.
sq
rmc"
maxlegth=
"15"
></el-input>
<el-form-item
label=
"姓名/名称"
prop=
"
ql
rmc"
>
<el-input
v-model=
"ruleForm.
ql
rmc"
maxlegth=
"15"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"证件种类"
prop=
"zjzl"
>
<el-select
clearable
v-model=
"ruleForm.zjzl"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
<el-select
clearable
v-model=
"ruleForm.zjzl"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -33,18 +66,36 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"证件号"
prop=
"zjh"
>
<el-input
v-model=
"ruleForm.zjh"
maxlength=
"15"
oninput=
"value=value.replace(/[^\X0-9]/g,'')"
></el-input>
<el-input
v-model=
"ruleForm.zjh"
maxlength=
"15"
oninput=
"value=value.replace(/[^\X0-9]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"联系电话"
prop=
"dh"
>
<el-input
v-model=
"ruleForm.dh"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
<el-input
v-model=
"ruleForm.dh"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"性别"
>
<el-select
clearable
v-model=
"ruleForm.xb"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A43']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
<el-select
clearable
v-model=
"ruleForm.xb"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A43']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -58,12 +109,12 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"国家/地区"
>
<el-input
v-model=
"ruleForm.gj
dq
"
></el-input>
<el-input
v-model=
"ruleForm.gj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"户籍所在省市"
>
<el-input
v-model=
"ruleForm.szss"
></el-input>
<el-input
v-model=
"ruleForm.
hj
szss"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -71,7 +122,7 @@
<el-row>
<el-col
:span=
"16"
>
<el-form-item
label=
"地址"
>
<el-input
v-model=
"ruleForm.
tx
dz"
></el-input>
<el-input
v-model=
"ruleForm.dz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -107,7 +158,7 @@
</el-col>
<el-col
:span=
"16"
>
<el-form-item
label=
"代理机构"
>
<el-input
v-model=
"ruleForm.dl
jg
"
></el-input>
<el-input
v-model=
"ruleForm.dl
rjgmc
"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -115,7 +166,11 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"ruleForm.lxdh"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
<el-input
v-model=
"ruleForm.dlrdhhm"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -125,8 +180,18 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"代理人证件类型"
>
<el-select
clearable
v-model=
"ruleForm.dlrzjlx"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
<el-select
clearable
v-model=
"ruleForm.dlrzjlx"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -143,50 +208,61 @@
</dialogBox>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
export
default
{
import
{
mapGetters
}
from
"vuex"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
details
:
{
type
:
Object
,
default
:
{}
},
showButton
:
{
type
:
Boolean
,
default
:
false
}
showButton
:
{
type
:
Boolean
,
default
:
false
},
},
computed
:
{
...
mapGetters
([
"dictData"
]),
},
data
()
{
data
()
{
return
{
myValue
:
this
.
value
,
ruleForm
:
{
sqrlx
:
""
,
sqrmc
:
""
,
zjzl
:
""
,
zjh
:
""
,
bsmBdcqz
:
""
,
bsmQlr
:
""
,
bsmQlxx
:
""
,
bz
:
""
,
cbfbm
:
""
,
dh
:
""
,
xb
:
""
,
dlrdhhm
:
""
,
dlrjgmc
:
""
,
dlrxm
:
""
,
dlrzjh
:
""
,
dlrzjlx
:
""
,
dz
:
""
,
dzyj
:
""
,
fbfbm
:
""
,
frdh
:
""
,
frmc
:
""
,
gjdq
:
""
,
szss
:
""
,
txdz
:
""
,
yb
:
""
,
fzjg
:
""
,
dzyj
:
""
,
qlbl
:
""
,
gj
:
""
,
gzdw
:
""
,
dljg
:
""
,
dlrxm
:
""
,
dlrzjlx
:
""
,
dlrzjh
:
""
,
hjszss
:
""
,
qlrlx
:
""
,
qlrmc
:
""
,
qlrtz
:
""
,
sfczr
:
""
,
sshy
:
""
,
sxh
:
0
,
xb
:
""
,
yb
:
""
,
zjh
:
""
,
zjzl
:
""
,
},
rules
:
{
sq
rlx
:
[{
required
:
true
,
message
:
"权利人类型"
,
trigger
:
"change"
}],
sq
rmc
:
[{
required
:
true
,
message
:
"姓名/名称"
,
trigger
:
"blur"
}],
ql
rlx
:
[{
required
:
true
,
message
:
"权利人类型"
,
trigger
:
"change"
}],
ql
rmc
:
[{
required
:
true
,
message
:
"姓名/名称"
,
trigger
:
"blur"
}],
zjzl
:
[{
required
:
true
,
message
:
"证件种类"
,
trigger
:
"change"
}],
zjh
:
[{
required
:
true
,
message
:
"证件号"
,
trigger
:
"blur"
}],
},
};
},
watch
:
{
value
(
val
)
{
value
(
val
)
{
this
.
myValue
=
_
.
cloneDeep
(
val
);
},
details
:
{
...
...
@@ -197,11 +273,11 @@
},
},
methods
:
{
closeDialog
()
{
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
"ruleForm"
].
resetFields
();
},
submitForm
()
{
submitForm
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$emit
(
"input"
,
false
);
...
...
@@ -212,14 +288,14 @@
});
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/dialogBoxheader.scss"
;
.submit-button
{
@import
"~@/styles/dialogBoxheader.scss"
;
.submit-button
{
text-align
:
center
;
height
:
52px
;
padding-top
:
10px
;
background-color
:
#fff
;
}
}
</
style
>
...
...
src/views/djbworkflow/components/dialog/addYwr.vue
View file @
d499b0c
...
...
@@ -9,16 +9,16 @@
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"义务人类型
1"
prop=
"sq
rlx"
>
<el-select
clearable
v-model=
"ruleForm.
sq
rlx"
class=
"width100"
placeholder=
"请选择"
>
<el-form-item
label=
"义务人类型
"
prop=
"yw
rlx"
>
<el-select
clearable
v-model=
"ruleForm.
yw
rlx"
class=
"width100"
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A36']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"姓名/名称"
prop=
"
sq
rmc"
>
<el-input
v-model=
"ruleForm.
sq
rmc"
maxlegth=
"15"
></el-input>
<el-form-item
label=
"姓名/名称"
prop=
"
yw
rmc"
>
<el-input
v-model=
"ruleForm.
yw
rmc"
maxlegth=
"15"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -157,8 +157,8 @@
return
{
myValue
:
this
.
value
,
ruleForm
:
{
sq
rlx
:
""
,
sq
rmc
:
""
,
yw
rlx
:
""
,
yw
rmc
:
""
,
zjzl
:
""
,
zjh
:
""
,
dh
:
""
,
...
...
@@ -178,8 +178,8 @@
dlrzjh
:
""
,
},
rules
:
{
sq
rlx
:
[{
required
:
true
,
message
:
"义务人类型"
,
trigger
:
"change"
}],
sq
rmc
:
[{
required
:
true
,
message
:
"姓名/名称"
,
trigger
:
"blur"
}],
yw
rlx
:
[{
required
:
true
,
message
:
"义务人类型"
,
trigger
:
"change"
}],
yw
rmc
:
[{
required
:
true
,
message
:
"姓名/名称"
,
trigger
:
"blur"
}],
zjzl
:
[{
required
:
true
,
message
:
"证件种类"
,
trigger
:
"change"
}],
zjh
:
[{
required
:
true
,
message
:
"证件号"
,
trigger
:
"blur"
}],
},
...
...
src/views/djbworkflow/components/qlrCommonTable.vue
View file @
d499b0c
...
...
@@ -70,7 +70,7 @@
}
},
{
prop
:
"
sq
rmc"
,
prop
:
"
ql
rmc"
,
label
:
"姓名/名称"
},
{
...
...
@@ -121,7 +121,7 @@
this
.
$nextTick
(()
=>
{
if
(
val
.
length
==
0
||
!
val
)
{
that
.
tableDataList
=
_
.
cloneDeep
([{
sq
rmc
:
''
,
ql
rmc
:
''
,
dlrzjlx
:
''
,
dlrzjh
:
''
,
fr
:
''
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue
View file @
d499b0c
...
...
@@ -42,7 +42,7 @@
<div>
请选择查封不动产信息,请选择上手权利信息
</div>
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
v-if=
"ruleForm.ztQlxx
!=
null"
>
<el-row
:gutter=
"10"
v-if=
"ruleForm.ztQlxx
!=
null"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"权利人:"
>
<el-input
disabled
v-model=
"ruleForm.ztQlxx.qlrmc"
></el-input>
...
...
@@ -59,7 +59,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
v-if=
"ruleForm.ztQlxx
!=
null"
>
<el-row
:gutter=
"10"
v-if=
"ruleForm.ztQlxx
!=
null"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"权利类型:"
>
<el-input
disabled
v-model=
"ruleForm.ztQlxx.qllxmc"
></el-input>
...
...
@@ -76,7 +76,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
v-if=
"ruleForm.ztQlxx
!=
null"
>
<el-row
:gutter=
"10"
v-if=
"ruleForm.ztQlxx
!=
null"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"不动产单元号:"
>
<el-input
disabled
v-model=
"ruleForm.ztQlxx.bdcdyh"
></el-input>
...
...
@@ -115,7 +115,7 @@
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<
!--
<
el-col
:span=
"8"
>
<el-form-item
label=
"权利类型:"
>
<el-input
disabled
v-model=
"ruleForm.qlxx.qllxmc"
></el-input>
</el-form-item>
...
...
@@ -141,6 +141,53 @@
<el-form-item
label=
"不动产权证号:"
>
<el-input
v-model=
"ruleForm.qlxx.bdcqzh"
></el-input>
</el-form-item>
</el-col>
-->
<el-col
:span=
"8"
>
<el-form-item
label=
"登记机构:"
>
<el-input
v-model=
"ruleForm.qlxx.djjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"查封机关"
>
<el-input
v-model=
"ruleForm.cfdj.cfjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"查封类型"
>
<el-select
v-model=
"ruleForm.cfdj.cflx"
>
<el-option
v-for=
"item in dictData['A32']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"查封文号"
>
<el-input
v-model=
"ruleForm.cfdj.cfwh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"查封起始时间"
>
<el-input
v-model=
"ruleForm.cfdj.cfqssj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"查封结束时间"
>
<el-input
v-model=
"ruleForm.cfdj.cfjssj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"查封期限"
>
<el-input
v-model=
"ruleForm.cfdj.cfqx"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"查封范围"
>
<el-input
v-model=
"ruleForm.cfdj.cffw"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"区县代码:"
>
...
...
@@ -153,6 +200,36 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"解封业务号"
>
<el-input
v-model=
"ruleForm.cfdj.jfywh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"解封机关"
>
<el-input
v-model=
"ruleForm.cfdj.jfjg"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"解封文件"
>
<el-input
v-model=
"ruleForm.cfdj.jfwj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"解封文号"
>
<el-input
v-model=
"ruleForm.cfdj.jfwh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"解封登簿人"
>
<el-input
v-model=
"ruleForm.cfdj.jfdbr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"解封登记时间"
>
<el-input
v-model=
"ruleForm.cfdj.jfdjsj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"登簿人:"
>
<el-input
v-model=
"ruleForm.qlxx.dbr"
></el-input>
</el-form-item>
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue
View file @
d499b0c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-05 1
0:05:46
* @LastEditTime: 2023-07-05 1
6:15:28
-->
<
template
>
<!-- 受理信息 -->
...
...
@@ -36,8 +36,8 @@
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
抵押不动产情况
<div
class=
"slxx_title title-block
flex
"
>
抵押不动产情况
<el-divider
direction=
"vertical"
></el-divider>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"抵押不动产信息:"
>
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/ygdydj.vue
deleted
100644 → 0
View file @
2282194
This diff is collapsed.
Click to expand it.
src/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue
View file @
d499b0c
...
...
@@ -203,7 +203,7 @@
/>
</div>
</div>
<el-row
class=
"btn"
>
<el-row
class=
"btn"
v-if=
"!$route.query.viewtype && ableOperation"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</el-form-item>
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
d499b0c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-0
4 15:04:59
* @LastEditTime: 2023-07-0
5 16:57:08
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -20,7 +20,6 @@
<
script
>
import
{
datas
}
from
"../../javascript/zsyl.js"
;
import
{
getSlsqBdcqzList
}
from
"@/api/bdcqz.js"
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
name
:
"zsyl"
,
props
:
{
...
...
src/views/workflow/components/tdytTable.vue
View file @
d499b0c
...
...
@@ -5,15 +5,78 @@
-->
<
template
>
<div>
<lb-table
:column=
"InformationTable"
<el-table
:data=
"tableDataList"
border
:pagination=
"false"
:key=
"key"
:header-cell-style=
"
{'text-align':'center'}"
:heightNumSetting="true"
:minHeight="150"
:data=
"tableDataList"
height="150"
style="width: 100%"
>
</lb-table>
<el-table-column
prop=
"index"
width=
"50"
:render-header=
"renderHeader"
>
<template
slot-scope=
"scope"
>
<i
class=
"el-icon-minus pointer"
@
click=
"deleClick(scope.$index, scope.row)"
></i>
</
template
>
</el-table-column>
<el-table-column
prop=
"yt"
label=
"土地用途"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<treeselect
v-model=
"tdyt"
noOptionsText=
"暂无数据"
placeholder=
""
:show-count=
"true"
:options=
"dictData['tdyt']"
:normalizer=
"normalizer"
:appendToBody=
"true"
z-index=
"9999"
@
input=
"addrow(scope.row)"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"qssj"
label=
"土地使用起始时间"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-date-picker
v-model=
'scope.row.qssj'
type=
"date"
placeholder=
"选择日期"
value-format=
"yyyy/MM/dd HH:mm:ss"
format=
"yyyy/MM/dd"
@
blur=
"addrow(scope.row)"
>
</el-date-picker>
</
template
>
</el-table-column>
<el-table-column
prop=
"jssj"
label=
"土地使用结束时间"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-date-picker
v-model=
'scope.row.jssj'
type=
"date"
placeholder=
"选择日期"
value-format=
"yyyy/MM/dd HH:mm:ss"
format=
"yyyy/MM/dd"
@
blur=
"addrow(scope.row)"
>
</el-date-picker>
</
template
>
</el-table-column>
<el-table-column
prop=
"syqx"
label=
"土地使用期限"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-input
class=
"item"
v-model=
"scope.row.syqx"
placeholder=
"请输入内容"
@
blur=
"addrow(scope.row)"
>
>
</el-input>
</
template
>
</el-table-column>
</el-table>
</div>
</template>
<
script
>
...
...
@@ -32,6 +95,8 @@ export default {
},
data
()
{
return
{
// 键名转换,方法默认是label和children进行树状渲染
tdyt
:
null
,
key
:
0
,
newdata
:
{
yt
:
""
,
...
...
@@ -40,118 +105,15 @@ export default {
syqx
:
""
,
},
tableDataList
:
[],
InformationTable
:
[
{
width
:
"50"
,
renderHeader
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
" "
}
{
this
.
$route
.
query
.
viewtype
==
1
?
(
"序号"
)
:
(
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
addClick
();
}}
><
/i
>
)}
<
/div
>
);
},
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
this
.
$route
.
query
.
viewtype
==
1
?
(
<
span
>
{
scope
.
$index
+
1
}
<
/span
>
)
:
(
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
deleClick
(
scope
.
$index
,
scope
.
row
);
}}
><
/i
>
)}
<
/div
>
);
},
},
{
label
:
"土地用途"
,
align
:
"center"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
value
=
{
scope
.
row
.
yt
}
onChange
=
{(
val
)
=>
{
scope
.
row
.
yt
=
val
;
}}
clearable
onblur
=
{()
=>
{
this
.
addrow
(
scope
);
}}
>
{
this
.
dictData
[
"tdyt"
].
map
((
option
)
=>
{
return
(
<
el
-
option
label
=
{
option
.
dname
}
value
=
{
option
.
dcode
}
><
/el-option
>
);
})}
<
/el-select
>
);
},
},
{
label
:
"土地使用起始时间"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
date
-
picker
v
-
model
=
{
scope
.
row
.
qssj
}
type
=
"date"
placeholder
=
"选择日期"
value
-
format
=
"yyyy/MM/dd HH:mm:ss"
format
=
"yyyy/MM/dd HH:mm:ss"
onblur
=
{()
=>
{
this
.
addrow
(
scope
.
row
);
}}
><
/el-date-picker
>
);
},
},
{
label
:
"土地使用结束时间"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
date
-
picker
v
-
model
=
{
scope
.
row
.
jssj
}
type
=
"date"
placeholder
=
"选择日期"
value
-
format
=
"yyyy/MM/dd HH:mm:ss"
format
=
"yyyy/MM/dd HH:mm:ss"
onblur
=
{()
=>
{
this
.
addrow
(
scope
.
row
);
}}
><
/el-date-picker
>
);
},
},
{
label
:
"土地使用期限"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
v
-
model
=
{
scope
.
row
.
syqx
}
onblur
=
{()
=>
{
this
.
addrow
(
scope
.
row
);
}}
><
/el-input
>
);
},
normalizer
(
node
)
{
if
(
node
.
children
==
null
||
node
.
children
==
"null"
)
{
delete
node
.
children
;
}
return
{
id
:
node
.
dcode
,
label
:
node
.
dname
,
};
},
],
};
},
watch
:
{
...
...
@@ -168,8 +130,18 @@ export default {
syqx
:
""
,
},
]);
if
(
that
.
tableDataList
.
length
>
0
){
this
.
tdyt
=
that
.
tableDataList
[
0
].
yt
?
that
.
tableDataList
[
0
].
yt
:
null
}
else
{
this
.
tdyt
=
null
}
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
);
if
(
that
.
tableDataList
.
length
>
0
){
this
.
tdyt
=
that
.
tableDataList
[
0
].
yt
?
that
.
tableDataList
[
0
].
yt
:
null
}
else
{
this
.
tdyt
=
null
}
}
});
},
...
...
@@ -178,21 +150,42 @@ export default {
},
},
methods
:
{
renderHeader
()
{
return
(
<
div
>
{
" "
}
{
this
.
$route
.
query
.
viewtype
==
1
?
(
"序号"
)
:
(
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
addClick
();
}}
><
/i
>
)}
<
/div
>
);
},
// 修改事件
addrow
()
{
console
.
log
(
"this.$parent.bsmqlxx"
,
this
.
$parent
.
$parent
.
bsmqlxx
);
this
.
tableDataList
=
this
.
tableDataList
.
map
((
item
)
=>
{
return
{
...
item
,
yt
:
this
.
tdyt
}
})
this
.
$emit
(
"upDateTdytxxList"
,
this
.
tableDataList
);
},
// 新增
addClick
()
{
this
.
tableDataList
[
this
.
tableDataList
.
length
]
=
_
.
cloneDeep
(
this
.
newdata
);
this
.
$emit
(
"upDateTdytxxList"
,
this
.
tableDataList
);
},
// 删除
deleClick
(
index
,
row
)
{
console
.
log
(
"删除"
);
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
...
...
@@ -210,4 +203,8 @@ export default {
.el-input
{
border
:
none
!important
;
}
/
deep
/
.el-table__row
{
border
:
none
!important
;
}
</
style
>
...
...
src/views/ywbl/slsqxx/tdsyq/slxx.vue
View file @
d499b0c
...
...
@@ -15,7 +15,7 @@
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"业务号:"
>
<el-form-item
label=
"业务号
111
:"
>
<el-input
disabled
v-model=
"ruleForm.flow.ywh"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -131,14 +131,14 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<
!--
<
el-col
:span=
"8"
>
<el-form-item
label=
"下拉表格测试:"
>
<select-table
v-model=
"value2"
:table-width=
"600"
:props=
"props"
@
change=
"change"
>
<el-table-column
prop=
"id"
label=
"ID"
width=
"180"
></el-table-column>
<el-table-column
prop=
"user"
label=
"姓名"
></el-table-column>
</select-table>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
<div
class=
"slxx_title title-block"
>
...
...
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
View file @
d499b0c
...
...
@@ -47,12 +47,13 @@
</
template
>
<
script
>
//首次登记
import
jump
from
"./mixin/jump"
;
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectQjzdjbxx.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump
"
;
import
{
popupDialog
,
popupCacel
}
from
"@/utils/popup.js
"
;
import
{
startBusinessFlow
,
selectZdjbxx
}
from
"@/api/ywbl.js"
;
import
{
datas
,
sendThis
}
from
"../javascript/selectQjzdjbxx.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
...
...
@@ -115,9 +116,8 @@
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
messag
e
)
popupDialog
(
"状态"
,
"components/ywdialog"
,
{
message
:
res
.
message
,
result
:
res
.
result
},
'36%'
,
tru
e
)
}
})
},
handleSelectionChange
(
val
)
{
...
...
Please
register
or
sign in
to post a comment