Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
3f51dbee
Commit
3f51dbee
authored
Apr 14, 2023
by
WF1020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitopn校验修改
parent
49669e8c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
26 deletions
+19
-26
index.js
src/business/sptsel/event/index.js
+0
-1
Inftrnps.vue
src/business/trnrel/views/Inftrnps.vue
+1
-1
index.js
src/review/gitopn/event/index.js
+17
-22
Ovwpc.vue
src/review/gitopn/views/Ovwpc.vue
+1
-2
No files found.
src/business/sptsel/event/index.js
View file @
3f51dbee
...
...
@@ -22,7 +22,6 @@ export default {
},
//点击查询按钮时,判断“来源”是否有数据
async
handleSearch
()
{
console
.
log
(
'this'
,
this
.
sourceList
);
if
(
!
this
.
sourceList
.
length
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'来源不能为空!'
});
return
;
...
...
src/business/trnrel/views/Inftrnps.vue
View file @
3f51dbee
...
...
@@ -116,7 +116,7 @@
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"onWaitDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style=
"margin-left: 5px"
size=
"small"
type=
"primary"
@
click=
"onHandle(scope.$index,scope.row)"
>
<c-button
:disabled=
"scope.row.relflg != 'W'"
style=
"margin-left: 5px"
size=
"small"
type=
"primary"
@
click=
"onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</
template
>
...
...
src/review/gitopn/event/index.js
View file @
3f51dbee
...
...
@@ -14,28 +14,23 @@ export default {
if
(
!
res
.
data
)
{
return
;
}
if
(
res
.
data
.
addbcb
)
{
this
.
$set
(
this
.
model
,
'addbcb'
,
res
.
data
.
addbcb
);
}
if
(
res
.
data
.
gitp
)
{
this
.
$set
(
this
.
model
,
'gitp'
,
res
.
data
.
gitp
);
}
if
(
res
.
data
.
gidgrp
)
{
this
.
$set
(
this
.
model
,
'gidgrp'
,
res
.
data
.
gidgrp
);
}
if
(
res
.
data
.
cfagit
)
{
this
.
$set
(
this
.
model
,
'cfagit'
,
res
.
data
.
cfagit
);
}
if
(
res
.
data
.
cnybop
)
{
this
.
$set
(
this
.
model
,
'cnybop'
,
res
.
data
.
cnybop
);
}
this
.
$set
(
this
.
model
,
'setmod'
,
{
...
this
.
model
.
setmod
,
setfeg
:
res
.
data
.
setfeg
,
setfog
:
res
.
data
.
setfog
,
setglg
:
res
.
data
.
setglg
,
});
console
.
log
(
res
);
this
.
copyValueFromVoData
(
this
.
model
,
res
.
data
)
this
.
copyValueFromVoData
(
this
.
model
.
setmod
.
setfeg
,
res
.
data
.
setfeg
)
this
.
copyValueFromVoData
(
this
.
model
.
setmod
.
setfog
,
res
.
data
.
setfog
)
this
.
copyValueFromVoData
(
this
.
model
.
setmod
.
setglg
,
res
.
data
.
setglg
)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData
(
model
,
data
)
{
let
keysList
=
Object
.
keys
(
model
)
keysList
.
map
((
key
)
=>
{
if
(
data
[
key
])
{
if
(
Utils
.
typeOf
(
model
[
key
])
===
'Object'
)
{
this
.
copyValueFromVoData
(
model
[
key
],
data
[
key
])
}
else
{
this
.
$set
(
model
,
key
,
data
[
key
])
}
}
})
},
async
tabClick
(
tab
)
{
if
(
this
.
isInDisplay
)
{
...
...
src/review/gitopn/views/Ovwpc.vue
View file @
3f51dbee
...
...
@@ -219,10 +219,9 @@
prop=
"gidgrp.blk.exptxt"
>
<c-input
disabled
type=
"textarea"
rows=
"5"
:disabled=
"
model.gitp.exptxtmodflg == ''
"
:disabled=
"
!model.gitp.exptxtmodflg
"
v-model=
"model.gidgrp.blk.exptxt"
maxlength=
"780"
show-word-limit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment