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
ea7a6e14
authored
2024-03-26 11:12:24 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
bd41a705
2f45934a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
src/views/workflow/main/slsqxx/fdcq2/slxx.vue
src/views/workflow/main/slsqxx/jsydsyq/slxx.vue
src/views/workflow/main/slsqxx/fdcq2/slxx.vue
View file @
ea7a6e1
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2024-03-26 11:
05:43
* @LastEditTime: 2024-03-26 11:
12:20
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -819,7 +819,6 @@
padding-bottom
:
0px
;
}
/* 当校验失败时的边框样式 */
/
deep
/
.is-error
.vue-treeselect
div
{
border-color
:
#f56c6c
;
/* 设置失败时的边框颜色为红色 */
}
...
...
src/views/workflow/main/slsqxx/jsydsyq/slxx.vue
View file @
ea7a6e1
...
...
@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-
08 14:03:28
* @LastEditTime: 2024-03-
26 11:09:53
-->
<
template
>
<!-- 受理信息 -->
...
...
@@ -86,7 +86,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"权利性质:"
prop=
"zdjbxx.qlxz"
>
<el-form-item
label=
"权利性质:"
prop=
"zdjbxx.qlxz"
:class=
"
{ 'is-error': isError }"
>
<treeselect
:disabled=
"!viewEdit"
v-model=
"ruleForm.zdjbxx.qlxz"
...
...
@@ -348,6 +348,7 @@
},
data
()
{
return
{
isError
:
false
,
key
:
0
,
isSave
:
true
,
loading
:
false
,
...
...
@@ -421,6 +422,7 @@
* @author: renchao
*/
onSubmit
()
{
this
.
isError
=
false
let
that
=
this
;
let
arr
=
this
.
ruleForm
.
tdytqxList
.
filter
((
item
)
=>
!
item
.
yt
);
if
(
arr
.
length
>
0
)
{
...
...
@@ -484,7 +486,7 @@
})
}
}
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'ruleForm'
].
validate
((
valid
,
errors
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
)
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
...
...
@@ -504,6 +506,10 @@
}
})
}
else
{
const
fieldErrors
=
errors
[
'zdjbxx.qlxz'
];
if
(
fieldErrors
.
length
>
0
)
{
this
.
isError
=
true
}
this
.
$message
({
showClose
:
true
,
message
:
"请输入红框内的相关信息!"
,
...
...
@@ -535,4 +541,7 @@
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
/
deep
/
.is-error
.vue-treeselect
div
{
border-color
:
#f56c6c
;
/* 设置失败时的边框颜色为红色 */
}
</
style
>
...
...
Please
register
or
sign in
to post a comment