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
6f158396
authored
2023-08-25 09:55:35 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
b6cdf079
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
754 additions
and
813 deletions
src/views/djbworkflow/djbBook/components/blxxtabs/ygdydj.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/ywbl/slsqxx/fdcq2/slxx.vue
src/views/ywbl/slsqxx/lqslxx/index.vue
src/views/ywbl/slsqxx/sllmslxx/index.vue
src/views/djbworkflow/djbBook/components/blxxtabs/ygdydj.vue
View file @
6f15839
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-2
2 16:27:52
* @LastEditTime: 2023-08-2
5 09:50:48
:show-message="false"
-->
<
template
>
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
6f15839
...
...
@@ -232,10 +232,8 @@
})
}
let
lines2
=
this
.
bdcqz
.
zl
?
this
.
bdcqz
.
zl
.
split
(
' '
)
:
[];
if
(
lines2
.
length
>
22
)
{
if
(
lines2
.
length
>
=
22
)
{
lines2
.
forEach
((
line
,
index
)
=>
{
const
y
=
170
+
(
index
*
20
);
// 每行文本的垂直位置
let
currentLine
=
''
;
...
...
@@ -243,7 +241,7 @@
for
(
let
word
of
line
)
{
const
testLine
=
currentLine
+
word
;
const
lineWidth
=
context
.
measureText
(
testLine
).
width
;
if
(
lineWidth
<=
3
60
)
{
if
(
lineWidth
<=
3
36
)
{
currentLine
=
testLine
;
}
else
{
arr
.
push
(
currentLine
);
...
...
@@ -263,7 +261,7 @@
for
(
let
word
of
line
)
{
const
testLine
=
currentLine
+
word
;
const
lineWidth
=
context
.
measureText
(
testLine
).
width
;
if
(
lineWidth
<=
3
60
)
{
if
(
lineWidth
<=
3
36
)
{
currentLine
=
testLine
;
}
else
{
arr
.
push
(
currentLine
);
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
6f15839
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-
17 16:43:18
* @LastEditTime: 2023-08-
25 09:53:27
-->
<
template
>
<div>
...
...
@@ -35,7 +35,7 @@
},
disabled
:
{
type
:
Boolean
,
default
:
fals
e
default
:
tru
e
}
},
data
()
{
...
...
src/views/ywbl/slsqxx/fdcq2/slxx.vue
View file @
6f15839
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-2
2 14:25:14
* @LastEditTime: 2023-08-2
5 09:49:00
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -11,8 +11,7 @@
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"120px"
>
label-width=
"120px"
>
<div
class=
"slxx_con"
:class=
"flag ? 'formMarginBot0' : ''"
>
<div
class=
"slxx_title title-block"
>
受理信息
...
...
@@ -81,14 +80,12 @@
<el-select
disabled
v-model=
"ruleForm.zdjbxx.mjdw"
style=
"width: 68px"
>
style=
"width: 68px"
>
<el-option
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -109,8 +106,7 @@
:normalizer=
"normalizer"
:default-expand-level=
"1"
:show-count=
"true"
:options=
"dictData['A9']"
/>
:options=
"dictData['A9']"
/>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -121,15 +117,13 @@
<el-input
v-model=
"ruleForm.fdcq2.dytdmj"
:disabled=
"!viewEdit"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
>
</el-input>
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null">
</el-input>
<el-select
disabled
v-model=
"mjdw"
style=
"width: 68px"
>
<el-option
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -141,15 +135,13 @@
<el-input
v-model=
"ruleForm.fdcq2.fttdmj"
:disabled=
"!viewEdit"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
>
</el-input>
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null">
</el-input>
<el-select
disabled
v-model=
"mjdw"
style=
"width: 68px"
>
<el-option
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -162,8 +154,7 @@
v-for=
"item in dictData['A19']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -179,8 +170,7 @@
placeholder=
""
:normalizer=
"normalizer"
:show-count=
"true"
:options=
"dictData['A17']"
/>
:options=
"dictData['A17']"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -190,8 +180,7 @@
v-for=
"item in dictData['A46']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -204,8 +193,7 @@
type=
"date"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd"
:disabled=
"!viewEdit"
></el-date-picker>
:disabled=
"!viewEdit"
></el-date-picker>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -214,8 +202,7 @@
<el-form-item
label=
"所在层:"
>
<el-input
v-model=
"ruleForm.fdcq2.szc"
:disabled=
"!viewEdit"
></el-input>
:disabled=
"!viewEdit"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -223,8 +210,7 @@
<el-input
:disabled=
"!viewEdit"
v-model
.
number=
"ruleForm.fdcq2.zcs"
oninput=
"value=value.replace(/[^0-9]/g,'')"
></el-input>
oninput=
"value=value.replace(/[^0-9]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -234,15 +220,13 @@
v-model=
"ruleForm.fdcq2.fdcjyjg"
style=
"width: 500%"
:disabled=
"!viewEdit"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
>
</el-input>
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null">
</el-input>
<el-select
v-model=
"ruleForm.fdcq2.jedw"
:disabled=
"!viewEdit"
>
<el-option
v-for=
"item in dictData['A57']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -256,15 +240,13 @@
<el-input
v-model=
"ruleForm.fdcq2.jzmj"
:disabled=
"!viewEdit"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
>
</el-input>
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null">
</el-input>
<el-select
disabled
v-model=
"mjdw"
style=
"width: 68px"
>
<el-option
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -276,15 +258,13 @@
<el-input
v-model=
"ruleForm.fdcq2.zyjzmj"
:disabled=
"!viewEdit"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
>
</el-input>
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null">
</el-input>
<el-select
disabled
v-model=
"mjdw"
style=
"width: 68px"
>
<el-option
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -296,15 +276,13 @@
<el-input
v-model=
"ruleForm.fdcq2.ftjzmj"
:disabled=
"!viewEdit"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
>
</el-input>
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null">
</el-input>
<el-select
disabled
v-model=
"mjdw"
style=
"width: 68px"
>
<el-option
v-for=
"item in dictData['A7']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</div>
...
...
@@ -319,8 +297,7 @@
type=
"textarea"
maxlength=
"500"
show-word-limit
:disabled=
"!viewEdit"
></el-input>
:disabled=
"!viewEdit"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -331,8 +308,7 @@
<tdytTable
:ableOperation=
"viewEdit"
:tableData=
"ruleForm.tdytqxList"
@
upDateTdytxxList=
"upDateTdytxxList"
/>
@
upDateTdytxxList=
"upDateTdytxxList"
/>
<div
class=
"slxx_title title-block"
>
权利人信息
<div
class=
"triangle"
></div>
...
...
@@ -342,8 +318,7 @@
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!viewEdit"
v-model=
"ruleForm.sldy.gyfs"
>
v-model=
"ruleForm.sldy.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
...
...
@@ -356,8 +331,7 @@
<el-radio-group
v-model=
"ruleForm.sldy.sqfbcz"
:disabled=
"!viewEdit"
@
input=
"updaterow()"
>
@
input=
"updaterow()"
>
<el-radio
:label=
"1"
>
是
</el-radio>
<el-radio
:label=
"0"
>
否
</el-radio>
</el-radio-group>
...
...
@@ -365,20 +339,17 @@
</el-col>
<el-col
:span=
"6"
v-show=
"ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
v-show=
"ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
<el-form-item
label=
"持证人:"
>
<el-select
v-model=
"czr"
placeholder=
"持证人"
:disabled=
"!viewEdit"
>
:disabled=
"!viewEdit"
>
<el-option
v-for=
"item in czrOptions"
:key=
"item.zjh"
:label=
"item.sqrmc"
:value=
"item.zjh"
>
:value=
"item.zjh"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -388,8 +359,7 @@
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:disabled=
"viewEdit"
:gyfs=
"ruleForm.sldy.gyfs"
/>
:gyfs=
"ruleForm.sldy.gyfs"
/>
<div
v-if=
"ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"
>
<div
class=
"slxx_title title-block"
>
...
...
@@ -400,8 +370,8 @@
v-if=
"ruleForm.qlxx"
@
upDateQlrxxList=
"upDateYwrxxList"
:tableData=
"ruleForm.ywrList"
:
gyfs=
"ruleForm.sldy.gyfs
"
/>
:
disabled=
"viewEdit
"
:gyfs=
"ruleForm.sldy.gyfs"
/>
</div>
<div
class=
"slxx_title title-block"
>
登记原因
...
...
@@ -416,8 +386,7 @@
maxlength=
"500"
show-word-limit
:disabled=
"!viewEdit"
v-model=
"ruleForm.fdcq2.djyy"
>
v-model=
"ruleForm.fdcq2.djyy"
>
</el-input>
</el-form-item>
</el-col>
...
...
@@ -432,282 +401,282 @@
</div>
</
template
>
<
script
>
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/fwsyqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
mounted
()
{
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
qlxxdatas
,
};
this
.
ruleForm
.
qlrList
.
forEach
((
item
)
=>
{
if
(
item
.
sfczr
==
1
)
{
this
.
czr
=
item
.
sqrmc
;
}
});
//初始化发证方式,1:小证,2:大正
this
.
ruleForm
.
slsq
.
fzfs
==
null
?
(
this
.
ruleForm
.
slsq
.
fzfs
=
"1"
)
:
this
.
ruleForm
.
slsq
.
fzfs
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
}
});
},
components
:
{
qlrCommonTable
,
tdytTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
data
()
{
return
{
mjdw
:
"1"
,
// 键名转换,方法默认是label和children进行树状渲染
normalizer
(
node
)
{
//方法
if
(
node
.
children
==
null
||
node
.
children
==
"null"
)
{
delete
node
.
children
;
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/fwsyqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
mounted
()
{
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
qlxxdatas
,
};
this
.
ruleForm
.
qlrList
.
forEach
((
item
)
=>
{
if
(
item
.
sfczr
==
1
)
{
this
.
czr
=
item
.
sqrmc
;
}
});
//初始化发证方式,1:小证,2:大正
this
.
ruleForm
.
slsq
.
fzfs
==
null
?
(
this
.
ruleForm
.
slsq
.
fzfs
=
"1"
)
:
this
.
ruleForm
.
slsq
.
fzfs
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
}
return
{
id
:
node
.
dcode
,
label
:
node
.
dname
,
};
},
disabled
:
true
,
tdytOption
:
[],
czrOptions
:
[],
czr
:
""
,
ruleForm
:
{
flow
:
{
ywh
:
""
,
},
qlxx
:
{
mj
:
""
,
},
sldy
:
{
gyfs
:
""
,
},
slsq
:
{},
fdcq2
:
{
zyjzmj
:
""
,
ftjzmj
:
""
,
},
zdjbxx
:
{
ghytmc
:
""
,
},
},
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
};
},
methods
:
{
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
);
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
});
},
// 是否持证人变化
/**
* @description: 是否持证人变化
* @param {*} val
* @author: renchao
*/
updaterow
()
{
this
.
czr
=
""
;
components
:
{
qlrCommonTable
,
tdytTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
data
()
{
return
{
mjdw
:
"1"
,
// 键名转换,方法默认是label和children进行树状渲染
normalizer
(
node
)
{
//方法
if
(
node
.
children
==
null
||
node
.
children
==
"null"
)
{
delete
node
.
children
;
}
return
{
id
:
node
.
dcode
,
label
:
node
.
dname
,
};
},
disabled
:
true
,
tdytOption
:
[],
czrOptions
:
[],
czr
:
""
,
ruleForm
:
{
flow
:
{
ywh
:
""
,
},
qlxx
:
{
mj
:
""
,
},
sldy
:
{
gyfs
:
""
,
},
slsq
:
{},
fdcq2
:
{
zyjzmj
:
""
,
ftjzmj
:
""
,
},
zdjbxx
:
{
ghytmc
:
""
,
},
},
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
};
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
let
that
=
this
;
let
arr
=
this
.
ruleForm
.
tdytqxList
.
filter
((
item
)
=>
!
item
.
yt
);
if
(
arr
.
length
>
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"土地用途不能为空"
,
type
:
"error"
,
});
return
false
;
}
if
(
this
.
ruleForm
.
qlrList
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
});
return
false
;
}
if
(
this
.
ruleForm
.
sldy
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
methods
:
{
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
);
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
},
// 是否持证人变化
/**
* @description: 是否持证人变化
* @param {*} val
* @author: renchao
*/
updaterow
()
{
this
.
czr
=
""
;
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
let
that
=
this
;
let
arr
=
this
.
ruleForm
.
tdytqxList
.
filter
((
item
)
=>
!
item
.
yt
);
if
(
arr
.
length
>
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"
共有方式:单独所有,权利人只能是一个人
"
,
message
:
"
土地用途不能为空
"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
[
0
].
sfczr
=
"1"
;
}
else
{
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
});
return
false
;
}
//是否分别持证
if
(
this
.
ruleForm
.
sldy
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
});
if
(
this
.
ruleForm
.
sldy
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
[
0
].
sfczr
=
"1"
;
}
else
{
if
(
!
that
.
czr
)
{
th
at
.
$message
({
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
th
is
.
$message
({
showClose
:
true
,
message
:
"请选择持证人"
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
czr
)
{
//是否分别持证
if
(
this
.
ruleForm
.
sldy
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
});
}
else
{
if
(
!
that
.
czr
)
{
that
.
$message
({
showClose
:
true
,
message
:
"请选择持证人"
,
type
:
"error"
,
});
return
false
;
}
});
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
czr
)
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
}
});
}
}
});
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
});
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/public.scss"
;
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.submit_btn
{
height
:
50px
;
}
.submit_btn
{
height
:
50px
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
}
}
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
</
style
>
...
...
src/views/ywbl/slsqxx/lqslxx/index.vue
View file @
6f15839
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-2
2 16:28:21
* @LastEditTime: 2023-08-2
5 09:52:09
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -11,8 +11,7 @@
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"140px"
>
label-width=
"140px"
>
<div
class=
"slxx_con"
:class=
"flag ? 'formMarginBot0' : ''"
>
<div
class=
"slxx_title title-block"
>
受理信息
...
...
@@ -93,8 +92,7 @@
v-for=
"item in dictData['A45']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -123,8 +121,7 @@
v-for=
"item in dictData['A26']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -136,8 +133,7 @@
v-for=
"item in dictData['A52']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -172,8 +168,7 @@
v-model=
"ruleForm.lq.fj"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
show-word-limit
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -184,8 +179,7 @@
<tdytTable
:ableOperation=
"viewEdit"
:tableData=
"ruleForm.tdytqxList"
@
upDateTdytxxList=
"upDateTdytxxList"
/>
@
upDateTdytxxList=
"upDateTdytxxList"
/>
<div
class=
"slxx_title title-block"
>
权利人信息
<div
class=
"triangle"
></div>
...
...
@@ -195,8 +189,7 @@
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!viewEdit"
v-model=
"ruleForm.sldy.gyfs"
>
v-model=
"ruleForm.sldy.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
...
...
@@ -209,8 +202,7 @@
<el-radio-group
v-model=
"ruleForm.sldy.sqfbcz"
:disabled=
"!viewEdit"
@
input=
"updaterow()"
>
@
input=
"updaterow()"
>
<el-radio
:label=
"1"
>
是
</el-radio>
<el-radio
:label=
"0"
>
否
</el-radio>
</el-radio-group>
...
...
@@ -218,20 +210,17 @@
</el-col>
<el-col
:span=
"6"
v-show=
"ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
v-show=
"ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
<el-form-item
label=
"持证人:"
>
<el-select
v-model=
"czr"
placeholder=
"持证人"
:disabled=
"!viewEdit"
>
:disabled=
"!viewEdit"
>
<el-option
v-for=
"(item, index) in czrOptions"
:key=
"index"
:label=
"item.sqrmc"
:value=
"item.zjh"
>
:value=
"item.zjh"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -241,8 +230,7 @@
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:disabled=
"viewEdit"
:gyfs=
"ruleForm.sldy.gyfs"
/>
:gyfs=
"ruleForm.sldy.gyfs"
/>
<div
v-if=
"ruleForm.ywrList && ruleForm.slsq.djlx == '200'"
>
<div
class=
"slxx_title title-block"
>
...
...
@@ -251,10 +239,10 @@
</div>
<qlrCommonTable
v-if=
"ruleForm.qlxx"
:disabled=
"viewEdit"
@
upDateQlrxxList=
"upDateYwrxxList"
:tableData=
"ruleForm.ywrList"
:gyfs=
"ruleForm.sldy.gyfs"
/>
:gyfs=
"ruleForm.sldy.gyfs"
/>
</div>
<div
class=
"slxx_title title-block"
>
登记原因
...
...
@@ -269,8 +257,7 @@
maxlength=
"500"
show-word-limit
:disabled=
"!viewEdit"
v-model=
"ruleForm.lq.djyy"
>
v-model=
"ruleForm.lq.djyy"
>
</el-input>
</el-form-item>
</el-col>
...
...
@@ -285,262 +272,262 @@
</div>
</
template
>
<
script
>
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/lqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
mounted
()
{
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
qlxxdatas
,
};
this
.
ruleForm
.
qlrList
.
forEach
((
item
)
=>
{
if
(
item
.
sfczr
==
1
)
{
this
.
czr
=
item
.
sqrmc
;
}
});
//初始化发证方式,1:小证,2:大正
this
.
ruleForm
.
slsq
.
fzfs
==
null
?
(
this
.
ruleForm
.
slsq
.
fzfs
=
"1"
)
:
this
.
ruleForm
.
slsq
.
fzfs
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
}
});
},
components
:
{
qlrCommonTable
,
tdytTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
data
()
{
return
{
disabled
:
true
,
tdytOption
:
[],
czrOptions
:
[],
czr
:
""
,
ruleForm
:
{
flow
:
{
ywh
:
""
,
},
qlxx
:
{
mj
:
""
,
},
sldy
:
{
gyfs
:
""
,
},
slsq
:
{},
fdcq2
:
{
zyjzmj
:
""
,
ftjzmj
:
""
,
},
zdjbxx
:
{
ghytmc
:
""
,
},
},
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
};
},
methods
:
{
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
},
// 是否持证人变化
/**
* @description: 是否持证人变化
* @param {*} val
* @author: renchao
*/
updaterow
()
{
this
.
czr
=
""
;
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/lqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
mounted
()
{
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
qlxxdatas
,
};
this
.
ruleForm
.
qlrList
.
forEach
((
item
)
=>
{
if
(
item
.
sfczr
==
1
)
{
this
.
czr
=
item
.
sqrmc
;
}
});
//初始化发证方式,1:小证,2:大正
this
.
ruleForm
.
slsq
.
fzfs
==
null
?
(
this
.
ruleForm
.
slsq
.
fzfs
=
"1"
)
:
this
.
ruleForm
.
slsq
.
fzfs
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
}
});
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
this
.
key
++
;
components
:
{
qlrCommonTable
,
tdytTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
/**
* @description: 更新业务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
data
()
{
return
{
disabled
:
true
,
tdytOption
:
[],
czrOptions
:
[],
czr
:
""
,
ruleForm
:
{
flow
:
{
ywh
:
""
,
},
qlxx
:
{
mj
:
""
,
},
sldy
:
{
gyfs
:
""
,
},
slsq
:
{},
fdcq2
:
{
zyjzmj
:
""
,
ftjzmj
:
""
,
},
zdjbxx
:
{
ghytmc
:
""
,
},
},
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
};
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
let
that
=
this
;
if
(
this
.
ruleForm
.
qlrList
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
});
return
false
;
}
if
(
this
.
ruleForm
.
sldy
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
[
0
].
sfczr
=
"1"
;
}
else
{
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
methods
:
{
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
},
// 是否持证人变化
/**
* @description: 是否持证人变化
* @param {*} val
* @author: renchao
*/
updaterow
()
{
this
.
czr
=
""
;
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
this
.
key
++
;
},
/**
* @description: 更新业务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
let
that
=
this
;
if
(
this
.
ruleForm
.
qlrList
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
});
return
false
;
}
//是否分别持证
if
(
this
.
ruleForm
.
sldy
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
});
if
(
this
.
ruleForm
.
sldy
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
[
0
].
sfczr
=
"1"
;
}
else
{
if
(
!
that
.
czr
)
{
th
at
.
$message
({
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
th
is
.
$message
({
showClose
:
true
,
message
:
"请选择持证人"
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
czr
)
{
//是否分别持证
if
(
this
.
ruleForm
.
sldy
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
});
}
else
{
if
(
!
that
.
czr
)
{
that
.
$message
({
showClose
:
true
,
message
:
"请选择持证人"
,
type
:
"error"
,
});
return
false
;
}
});
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
czr
)
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
}
});
}
}
});
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
});
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/public.scss"
;
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.submit_btn
{
height
:
50px
;
}
.submit_btn
{
height
:
50px
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
}
}
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
</
style
>
...
...
src/views/ywbl/slsqxx/sllmslxx/index.vue
View file @
6f15839
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-2
2 16:28:25
* @LastEditTime: 2023-08-2
5 09:51:50
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -11,8 +11,7 @@
ref=
"ruleForm"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"140px"
>
label-width=
"140px"
>
<div
class=
"slxx_con"
:class=
"flag ? 'formMarginBot0' : ''"
>
<div
class=
"slxx_title title-block"
>
受理信息
...
...
@@ -93,8 +92,7 @@
v-for=
"item in dictData['A45']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -123,8 +121,7 @@
v-for=
"item in dictData['A26']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -136,8 +133,7 @@
v-for=
"item in dictData['A52']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -172,8 +168,7 @@
v-model=
"ruleForm.lq.fj"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
show-word-limit
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -184,8 +179,7 @@
<tdytTable
:ableOperation=
"viewEdit"
:tableData=
"ruleForm.tdytqxList"
@
upDateTdytxxList=
"upDateTdytxxList"
/>
@
upDateTdytxxList=
"upDateTdytxxList"
/>
<div
class=
"slxx_title title-block"
>
权利人信息
<div
class=
"triangle"
></div>
...
...
@@ -195,8 +189,7 @@
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!viewEdit"
v-model=
"ruleForm.sldy.gyfs"
>
v-model=
"ruleForm.sldy.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
<el-radio
label=
"1"
>
共同共有
</el-radio>
<el-radio
label=
"2"
>
按份所有
</el-radio>
...
...
@@ -209,8 +202,7 @@
<el-radio-group
v-model=
"ruleForm.sldy.sqfbcz"
:disabled=
"!viewEdit"
@
input=
"updaterow()"
>
@
input=
"updaterow()"
>
<el-radio
:label=
"1"
>
是
</el-radio>
<el-radio
:label=
"0"
>
否
</el-radio>
</el-radio-group>
...
...
@@ -218,20 +210,17 @@
</el-col>
<el-col
:span=
"6"
v-show=
"ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
v-show=
"ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"
>
<el-form-item
label=
"持证人:"
>
<el-select
v-model=
"czr"
placeholder=
"持证人"
:disabled=
"!viewEdit"
>
:disabled=
"!viewEdit"
>
<el-option
v-for=
"(item, index) in czrOptions"
:key=
"index"
:label=
"item.sqrmc"
:value=
"item.zjh"
>
:value=
"item.zjh"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -241,8 +230,7 @@
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:disabled=
"viewEdit"
:gyfs=
"ruleForm.sldy.gyfs"
/>
:gyfs=
"ruleForm.sldy.gyfs"
/>
<div
v-if=
"ruleForm.ywrList && ruleForm.slsq.djlx == '200'"
>
<div
class=
"slxx_title title-block"
>
...
...
@@ -251,10 +239,10 @@
</div>
<qlrCommonTable
v-if=
"ruleForm.qlxx"
:disabled=
"viewEdit"
@
upDateQlrxxList=
"upDateYwrxxList"
:tableData=
"ruleForm.ywrList"
:gyfs=
"ruleForm.sldy.gyfs"
/>
:gyfs=
"ruleForm.sldy.gyfs"
/>
</div>
<div
class=
"slxx_title title-block"
>
登记原因
...
...
@@ -269,8 +257,7 @@
maxlength=
"500"
show-word-limit
:disabled=
"!viewEdit"
v-model=
"ruleForm.lq.djyy"
>
v-model=
"ruleForm.lq.djyy"
>
</el-input>
</el-form-item>
</el-col>
...
...
@@ -285,262 +272,262 @@
</div>
</
template
>
<
script
>
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/sllmFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
mounted
()
{
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
qlxxdatas
,
};
this
.
ruleForm
.
qlrList
.
forEach
((
item
)
=>
{
if
(
item
.
sfczr
==
1
)
{
this
.
czr
=
item
.
sqrmc
;
}
});
//初始化发证方式,1:小证,2:大正
this
.
ruleForm
.
slsq
.
fzfs
==
null
?
(
this
.
ruleForm
.
slsq
.
fzfs
=
"1"
)
:
this
.
ruleForm
.
slsq
.
fzfs
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
}
});
},
components
:
{
qlrCommonTable
,
tdytTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
data
()
{
return
{
disabled
:
true
,
tdytOption
:
[],
czrOptions
:
[],
czr
:
""
,
ruleForm
:
{
flow
:
{
ywh
:
""
,
},
qlxx
:
{
mj
:
""
,
},
sldy
:
{
gyfs
:
""
,
},
slsq
:
{},
fdcq2
:
{
zyjzmj
:
""
,
ftjzmj
:
""
,
},
zdjbxx
:
{
ghytmc
:
""
,
},
},
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
};
},
methods
:
{
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
this
.
key
++
;
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/sllmFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
mixins
:
[
ywmix
],
mounted
()
{
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
qlxxdatas
,
};
this
.
ruleForm
.
qlrList
.
forEach
((
item
)
=>
{
if
(
item
.
sfczr
==
1
)
{
this
.
czr
=
item
.
sqrmc
;
}
});
//初始化发证方式,1:小证,2:大正
this
.
ruleForm
.
slsq
.
fzfs
==
null
?
(
this
.
ruleForm
.
slsq
.
fzfs
=
"1"
)
:
this
.
ruleForm
.
slsq
.
fzfs
;
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
}
});
},
// 是否持证人变化
/**
* @description: 是否持证人变化
* @param {*} val
* @author: renchao
*/
updaterow
()
{
this
.
czr
=
""
;
components
:
{
qlrCommonTable
,
tdytTable
},
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
/**
* @description: 更新业务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
data
()
{
return
{
disabled
:
true
,
tdytOption
:
[],
czrOptions
:
[],
czr
:
""
,
ruleForm
:
{
flow
:
{
ywh
:
""
,
},
qlxx
:
{
mj
:
""
,
},
sldy
:
{
gyfs
:
""
,
},
slsq
:
{},
fdcq2
:
{
zyjzmj
:
""
,
ftjzmj
:
""
,
},
zdjbxx
:
{
ghytmc
:
""
,
},
},
//传递参数
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
};
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
let
that
=
this
;
if
(
this
.
ruleForm
.
qlrList
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
});
return
false
;
}
if
(
this
.
ruleForm
.
sldy
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
[
0
].
sfczr
=
"1"
;
}
else
{
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
methods
:
{
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
this
.
key
++
;
},
// 是否持证人变化
/**
* @description: 是否持证人变化
* @param {*} val
* @author: renchao
*/
updaterow
()
{
this
.
czr
=
""
;
},
/**
* @description: 更新业务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
let
that
=
this
;
if
(
this
.
ruleForm
.
qlrList
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
message
:
"请确认权利人信息"
,
type
:
"error"
,
});
return
false
;
}
//是否分别持证
if
(
this
.
ruleForm
.
sldy
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
});
if
(
this
.
ruleForm
.
sldy
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
[
0
].
sfczr
=
"1"
;
}
else
{
if
(
!
that
.
czr
)
{
th
at
.
$message
({
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
th
is
.
$message
({
showClose
:
true
,
message
:
"请选择持证人"
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
czr
)
{
//是否分别持证
if
(
this
.
ruleForm
.
sldy
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
});
}
else
{
if
(
!
that
.
czr
)
{
that
.
$message
({
showClose
:
true
,
message
:
"请选择持证人"
,
type
:
"error"
,
});
return
false
;
}
});
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
czr
)
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
}
});
}
}
});
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
});
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/public.scss"
;
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
130px
);
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-form-item__label
{
padding
:
0
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-radio
{
margin-right
:
10px
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-select
{
width
:
100%
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
8px
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.marginBot0
{
margin-bottom
:
0
!important
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx
{
box-sizing
:
border-box
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.slxx_con
{
flex
:
1
;
height
:
100%
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
padding-right
:
3px
;
overflow-x
:
hidden
;
}
.submit_btn
{
height
:
50px
;
}
.submit_btn
{
height
:
50px
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.slxx_title
{
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
10px
;
padding-bottom
:
5px
;
margin-bottom
:
10px
;
margin-top
:
5px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#4a4a4a
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.btn
{
text-align
:
center
;
padding-top
:
10px
;
height
:
36px
;
background-color
:
#ffffff
;
padding
:
5px
0
;
}
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
.textArea
{
/deep/.el-textarea__inner
{
min-height
:
90px
!important
;
}
}
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
/
deep
/
.el-form-item__label
{
padding-bottom
:
0px
;
}
</
style
>
...
...
Please
register
or
sign in
to post a comment