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
7f5e8bfb
authored
2024-01-31 09:52:48 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
97bbcc72
f6de5c50
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
368 additions
and
137 deletions
src/views/registerBook/djbFrame.vue
src/views/registerBook/djbFrameData.js
src/views/registerBook/djbFrameall.vue
src/views/ywbl/slsqxx/diyaq/slxx.vue
src/views/ywbl/slsqxx/fwsyq/slxx.vue
src/views/ywbl/slsqxx/lqslxx/index.vue
src/views/ywbl/slsqxx/nydsyq/slxx.vue
src/views/ywbl/slsqxx/nydsyq/slxx200.vue
src/views/ywbl/slsqxx/ygdj/slxx.vue
src/views/ywbl/slsqxx/ygdj/slxx300.vue
src/views/ywbl/slsqxx/ygdy/slxx.vue
src/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue
src/views/ywbl/slsqxx/zjgcdy/slxx.vue
src/views/registerBook/djbFrame.vue
View file @
7f5e8bf
...
...
@@ -218,12 +218,14 @@
this
.
isActive
=
-
1
this
.
titleActive
=
index
this
.
loadComponent
(
data
.
form
);
this
.
currentSelectProps
.
bdcdyid
=
data
.
bdcdyid
;
this
.
currentSelectProps
.
bdcdyh
=
data
.
bdcdyh
;
this
.
highlight
=
false
},
taplist
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
this
.
isActive
=
index
;
this
.
titleActive
=
-
1
this
.
titleActive
=
-
1
;
this
.
highlight
=
false
},
/**
...
...
src/views/registerBook/djbFrameData.js
View file @
7f5e8bf
...
...
@@ -58,7 +58,7 @@ export function loadTreeData (bdcdyh) {
}
export
function
loadsfqData
(
qlxxData
,
bdcdyh
,
bdcdyid
)
{
let
treedata
=
{
bdcdyid
:
bdcdyid
,
id
:
"bdcqljqtsx"
,
form
:
"bdcqljqtsx.vue"
,
label
:
"不动产权利及其他事项\n ("
+
bdcdyh
.
slice
(
19
)
+
")"
,
children
:
[],
bdcdyh
:
bdcdyh
,
bdcdyid
:
bdcdyid
,
id
:
"bdcqljqtsx"
,
form
:
"bdcqljqtsx.vue"
,
label
:
"不动产权利及其他事项\n ("
+
bdcdyh
.
slice
(
19
)
+
")"
,
children
:
[],
};
//主体权利
treedata
.
children
.
push
(
getNode
(
qlxxData
.
ztqllx
,
qlxxData
.
ztql
,
qlxxData
.
bdcdylx
,
bdcdyid
));
...
...
src/views/registerBook/djbFrameall.vue
View file @
7f5e8bf
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-12-13 14:24:0
9
* @LastEditTime: 202
4-01-31 09:52:3
9
-->
<
template
>
<div
class=
"content loadingtext"
>
...
...
@@ -89,8 +89,98 @@
showTab
:
"bdcqldjml"
,
// 选中状态,根据表格中权利类型判断
};
},
mounted
()
{
this
.
loadData
(
this
.
getCaption
(
window
.
location
.
href
));
/**
* @description: loadData
* @author: renchao
*/
loadData
(
val
)
{
getBdcqljqtsxBdcdyh
({
bdcdyh
:
val
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
treedata
=
loadTreeData
(
val
);
this
.
sfqdata
.
push
(
loadsfqData
(
res
.
result
,
val
,
res
.
result
.
bdcdyid
));
this
.
$nextTick
(
function
()
{
this
.
defaultNode
=
getNode
(
res
.
result
.
ztqllx
,
{
linShi
:
0
,
xianShi
:
0
,
liShi
:
0
},
res
.
result
.
bdcdylx
||
""
);
this
.
sfqdata
[
0
].
children
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
id
==
this
.
defaultNode
.
id
)
{
this
.
loadComponent
(
item
.
form
);
this
.
isActive
=
index
;
}
});
this
.
currentSelectProps
=
{
bdcdyid
:
res
.
result
.
bdcdyid
,
bdcdyh
:
val
,
qllx
:
res
.
result
.
qllx
,
bsmQlxx
:
this
.
currentSelectProps
.
bsmQlxx
,
};
// this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点
// this.loadComponent(this.defaultNode.form);
// this.setstyle(0, 0, this.iskey);
});
}
});
},
/*
点击登记簿菜单
*/
/**
* @description: 点击登记簿菜单
* @param {*} data
* @author: renchao
*/
handleNodeClick
(
data
)
{
this
.
loadComponent
(
data
.
form
);
},
/**
* @description: setstyle
* @param {*} data
* @author: renchao
* 设置样式和点击定位到当前功能
*/
// setstyle (newindex, index, key) {
// if (key != undefined || this.keyy == index) {
// if (key != undefined) {
// this.keyy = key
// }
// this.loadComponent(this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form);
// let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el
// dpme.style.backgroundColor = "#f5f5f5";
// dpme.style.color = "#0079fe";
// dpme.style.borderRight = "4px solid #0079fe";
// } else {
// let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el
// dpme.style.backgroundColor = "#ffffff";
// dpme.style.color = "black";
// dpme.style.border = "none";
// }
// },
/**
* @description: tap
* @param {*} data
* @author: renchao
* 新增列表功能
*/
tap
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
this
.
currentSelectProps
.
bdcdyid
=
data
.
bdcdyid
this
.
currentSelectProps
.
bdcdyh
=
data
.
bdcdyh
},
/**
* @description: taplist
* @param {*} data
* @author: renchao
* 新增列表功能
*/
taplist
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
this
.
isActive
=
index
;
},
methods
:
{
// 截取字符的方法
...
...
src/views/ywbl/slsqxx/diyaq/slxx.vue
View file @
7f5e8bf
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
26 15:29:54
* @LastEditTime: 2024-01-
31 09:38:51
-->
<
template
>
<!-- 受理信息 -->
...
...
@@ -338,7 +338,7 @@
v-model=
"ruleForm.diyaq.zxdyyy"
>
</el-input>
</el-form-item>
<el-form-item
v-else
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
v-else
label=
"登记原因:"
prop=
"d
iyaq.d
jyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -436,8 +436,12 @@
isJfOperation
:
false
,
//传递参数
propsParam
:
{},
rules
:
{},
};
rules
:
{
'diyaq.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
}
}
},
methods
:
{
/**
...
...
@@ -499,22 +503,35 @@
}
}
saveData
(
this
.
ruleForm
,
this
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
,
that
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
})
;
})
},
/**
* @description: 更新权利人信息
...
...
src/views/ywbl/slsqxx/fwsyq/slxx.vue
View file @
7f5e8bf
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-09-20 14:27:29
* @LastEditTime: 202
4-01-31 09:38:06
-->
<
template
>
<!-- 受理信息 -->
...
...
@@ -342,8 +342,12 @@
},
//传递参数
propsParam
:
{},
rules
:
{},
};
rules
:
{
djyy
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
}
}
},
methods
:
{
/**
...
...
src/views/ywbl/slsqxx/lqslxx/index.vue
View file @
7f5e8bf
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 202
3-11-15 15:47:55
* @LastEditTime: 202
4-01-31 09:46:04
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -279,7 +279,7 @@
</div>
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
v-if=
"ruleForm.sldy"
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
v-if=
"ruleForm.sldy"
label=
"登记原因:"
prop=
"
lq.
djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -386,7 +386,11 @@
propsParam
:
this
.
$attrs
,
//表单是否可操作
viewEdit
:
true
,
rules
:
{}
rules
:
{
'lq.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
}
};
},
methods
:
{
...
...
@@ -491,24 +495,36 @@
})
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
})
;
}
,
}
,
})
}
}
};
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
src/views/ywbl/slsqxx/nydsyq/slxx.vue
View file @
7f5e8bf
...
...
@@ -292,7 +292,7 @@
</div>
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
label=
"登记原因:"
prop=
"
nydsyq.
djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -389,7 +389,11 @@
propsParam
:
{},
//表单是否可操作
viewEdit
:
true
,
rules
:
{},
rules
:
{
'nydsyq.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
},
};
},
methods
:
{
...
...
@@ -452,23 +456,35 @@
});
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
});
})
},
/**
* @description: upDateQlrxxList
...
...
src/views/ywbl/slsqxx/nydsyq/slxx200.vue
View file @
7f5e8bf
...
...
@@ -304,7 +304,7 @@
</div>
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
label=
"登记原因:"
prop=
"
nydsyq.
djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -397,8 +397,12 @@
ruleForm
:
{},
//传递参数
propsParam
:
{},
rules
:
{},
};
rules
:
{
'nydsyq.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
}
}
},
methods
:
{
/**
...
...
@@ -460,23 +464,34 @@
})
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
})
;
})
},
/**
* @description: 权利人更新
...
...
src/views/ywbl/slsqxx/ygdj/slxx.vue
View file @
7f5e8bf
...
...
@@ -265,7 +265,7 @@
v-model=
"ruleForm.ygdj.zxyy"
>
</el-input>
</el-form-item>
<el-form-item
v-else
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
v-else
label=
"登记原因:"
prop=
"
ygdj.
djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -354,7 +354,11 @@
},
//传递参数
propsParam
:
this
.
$attrs
,
rules
:
{}
rules
:
{
'ygdj.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
}
}
},
methods
:
{
...
...
@@ -451,25 +455,37 @@
})
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
th
is
.
$message
({
th
at
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
})
;
}
,
}
,
}
;
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
...
...
src/views/ywbl/slsqxx/ygdj/slxx300.vue
View file @
7f5e8bf
...
...
@@ -181,7 +181,7 @@
</div>
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
label=
"登记原因:"
prop=
"
ygdj.
djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -263,8 +263,12 @@
ruleForm
:
{},
//传递参数
propsParam
:
this
.
$attrs
,
rules
:
{},
};
rules
:
{
'ygdj.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
}
}
},
methods
:
{
/**
...
...
@@ -373,22 +377,37 @@
})
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
th
is
.
$message
({
th
at
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
});
})
},
/**
* @description: compare
...
...
src/views/ywbl/slsqxx/ygdy/slxx.vue
View file @
7f5e8bf
...
...
@@ -290,7 +290,7 @@
v-model=
"ruleForm.ygdj.zxyy"
>
</el-input>
</el-form-item>
<el-form-item
v-else
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
v-else
label=
"登记原因:"
prop=
"
ygdj.
djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -387,6 +387,9 @@
zwlxqssjrules
:
[{
required
:
true
,
message
:
"债务履行起始时间"
,
trigger
:
"blur"
}],
zwlxjssjrules
:
[{
required
:
true
,
message
:
"债务履行结束时间"
,
trigger
:
"blur"
}],
dbfwrules
:
[{
required
:
true
,
message
:
"担保范围"
,
trigger
:
"blur"
}],
'ygdj.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
}
}
},
...
...
src/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue
View file @
7f5e8bf
...
...
@@ -280,7 +280,7 @@
v-model=
"ruleForm.diyaqList[0].zxdyyy"
>
</el-input>
</el-form-item>
<el-form-item
v-else
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
v-else
label=
"登记原因:"
prop=
"d
iyaqList[0].d
jyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -360,7 +360,11 @@
ruleForm
:
{},
//传递参数
propsParam
:
{},
rules
:
{},
rules
:
{
'diyaqList[0].djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
},
tableData
:
[],
};
},
...
...
@@ -423,22 +427,34 @@
});
}
}
saveBatchData
(
this
.
ruleForm
,
this
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveBatchData
(
that
.
ruleForm
,
that
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
th
is
.
$message
({
th
at
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
})
;
})
},
/**
* @description: 是否持证人变化
...
...
src/views/ywbl/slsqxx/zjgcdy/slxx.vue
View file @
7f5e8bf
...
...
@@ -338,7 +338,7 @@
v-model=
"ruleForm.diyaq.zxdyyy"
>
</el-input>
</el-form-item>
<el-form-item
v-else
label=
"登记原因:"
prop=
"djyy"
>
<el-form-item
v-else
label=
"登记原因:"
prop=
"d
iyaq.d
jyy"
>
<el-input
class=
"textArea"
type=
"textarea"
...
...
@@ -416,7 +416,11 @@
ruleForm
:
{},
//传递参数
propsParam
:
{},
rules
:
{},
rules
:
{
'diyaq.djyy'
:
[
{
required
:
true
,
message
:
'请输入登记原因'
,
trigger
:
'blur'
}
]
},
// 键名转换,方法默认是label和children进行树状渲染
normalizer
(
node
)
{
//方法
...
...
@@ -490,22 +494,35 @@
});
}
}
saveData
(
this
.
ruleForm
,
this
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
,
that
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
}
})
}
else
{
th
is
.
$message
({
th
at
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
,
});
message
:
"请输入登记原因"
,
type
:
"error"
})
return
false
}
});
})
},
/**
* @description: 更新权利人信息
...
...
Please
register
or
sign in
to post a comment