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
719317b8
authored
2023-06-25 17:48:40 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
14ba91ec
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
127 deletions
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
src/views/workflow/components/dialog/addTdyt.vue
src/views/workflow/components/tdytTable.vue
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
View file @
719317b
...
...
@@ -224,8 +224,7 @@
</div>
<tdytTable
:tableData=
"ruleForm.tdytqxList"
@
upDateQlrxxList=
"upDateTdytxxList"
:viewtype=
"$route.query.viewtype"
@
upDateTdytxxList=
"upDateTdytxxList"
/>
<div
class=
"slxx_title title-block"
>
权利人信息
...
...
@@ -263,7 +262,7 @@
</el-col>
</el-row>
<qlrCommonTable
:tableData=
"ruleForm.qlr
List
"
:tableData=
"ruleForm.qlr
Data
"
@
upDateQlrxxList=
"upDateQlrxxList"
:key=
"key"
:viewtype=
"$route.query.viewtype"
...
...
@@ -341,14 +340,14 @@ export default {
},
// 更新土地用途信息
upDateTdytxxList
(
val
)
{
console
.
log
(
"VAL"
,
val
);
console
.
log
(
"VAL
lllll
"
,
val
);
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlr
List
&&
(
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlr
List
;
this
.
ruleForm
.
qlr
Data
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlr
Data
;
this
.
key
++
;
},
// 更新义务人信息
...
...
@@ -358,7 +357,7 @@ export default {
},
onSubmit
()
{
console
.
log
(
"this.ruleForm大信息"
,
this
.
ruleForm
);
if
(
this
.
ruleForm
.
qlr
List
.
length
==
0
)
{
if
(
this
.
ruleForm
.
qlr
Data
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"请确认权利人信息"
,
...
...
@@ -368,7 +367,7 @@ export default {
}
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlr
List
.
length
>
1
)
{
if
(
this
.
ruleForm
.
qlr
Data
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
...
...
@@ -376,17 +375,17 @@ export default {
});
return
false
;
}
this
.
ruleForm
.
qlr
List
[
0
].
sfczr
=
"1"
;
this
.
ruleForm
.
qlr
Data
[
0
].
sfczr
=
"1"
;
}
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"1"
)
{
//是否分别持证
if
(
this
.
ruleForm
.
qlxx
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlr
List
.
forEach
((
item
,
index
)
=>
{
this
.
ruleForm
.
qlr
Data
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
});
}
else
{
this
.
ruleForm
.
qlr
List
.
forEach
((
item
,
index
)
=>
{
this
.
ruleForm
.
qlr
Data
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
ruleForm
.
czr
)
{
item
.
sfczr
=
"1"
;
}
else
{
...
...
src/views/workflow/components/dialog/addTdyt.vue
deleted
100644 → 0
View file @
14ba91e
<!--
* @Description:
* @Autor: renchao
* @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=
"138px"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"土地用途"
prop=
"tdyt"
>
<el-input
v-model=
"ruleForm.tdyt"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"土地使用权限"
prop=
"syqx"
>
<el-input
v-model=
"ruleForm.syqx"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"土地使用结束时间"
prop=
"jssj"
>
<el-date-picker
v-model=
"ruleForm.jssj"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
>
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"土地使用起止时间"
prop=
"qzsj"
>
<el-date-picker
v-model=
"ruleForm.qzsj"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
>
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
</dialogBox>
</
template
>
z x addTdyt
<
script
>
import
{
mapGetters
}
from
"vuex"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
details
:
{
type
:
Object
,
default
:
{}
},
showButton
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
return
{
myValue
:
this
.
value
,
ruleForm
:
{
tdyt
:
""
,
syqx
:
""
,
jssj
:
""
,
qzsj
:
""
},
rules
:
{
tdyt
:
[{
required
:
true
,
message
:
"土地用途"
,
trigger
:
"blur"
}],
syqx
:
[{
required
:
true
,
message
:
"土地使用权限"
,
trigger
:
"blur"
}],
jssj
:
[{
required
:
true
,
message
:
"土地使用结束时间"
,
trigger
:
"blur"
}],
qzsj
:
[{
required
:
true
,
message
:
"土地使用起止时间"
,
trigger
:
"blur"
}],
},
};
},
watch
:
{
value
(
val
)
{
console
.
log
(
"val"
,
val
);
this
.
myValue
=
_
.
cloneDeep
(
val
);
},
details
:
{
handler
:
function
(
val
,
oldVal
)
{
console
.
log
(
"val2"
,
val
);
this
.
ruleForm
=
val
;
},
deep
:
true
,
},
},
methods
:
{
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
"ruleForm"
].
resetFields
();
},
submitForm
()
{
console
.
log
(
"this.ruleForm"
,
this
.
ruleForm
);
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$emit
(
"input"
,
false
);
this
.
$emit
(
"updateDetail"
,
_
.
cloneDeep
(
this
.
ruleForm
));
}
else
{
return
false
;
}
});
},
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/dialogBoxheader.scss"
;
.submit-button
{
text-align
:
center
;
height
:
52px
;
padding-top
:
10px
;
background-color
:
#fff
;
}
</
style
>
src/views/workflow/components/tdytTable.vue
View file @
719317b
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment