Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
ddcc1336
Commit
ddcc1336
authored
Nov 23, 2021
by
叶富雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
只需针对第一条数据编辑修改 updateDna
parent
4f09ad00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
src/views/dswtz/dnaxx/addDnaxx.vue
+10
-8
No files found.
src/views/dswtz/dnaxx/addDnaxx.vue
View file @
ddcc1336
...
...
@@ -15,10 +15,8 @@
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
updateRyxx
}
from
"@/api/dswtzxx.js"
;
import
{
insert
Dna
,
update
Dna
,
selectDnaList
}
from
"@/api/dswtz/dnaxx.js"
;
export
default
{
...
...
@@ -44,22 +42,25 @@
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
prop
:
'checkEmpty'
},
{
name
:
"公民身份号码:"
,
id
:
"gmsfhm"
,
type
:
"
dates
"
,
type
:
"
text
"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
prop
:
'emptyAbleIdentity'
},
{
name
:
"DNA编号:"
,
id
:
"rydnabh"
,
type
:
"
dates
"
,
type
:
"
text
"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
prop
:
'checkEmpty'
},
{
...
...
@@ -85,7 +86,8 @@
methods
:
{
submit
(
params
)
{
params
.
append
(
'rybh'
,
this
.
rybh
)
insertDna
(
params
)
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
updateDna
(
params
)
},
handleRemove
(
val
)
{
...
...
@@ -102,9 +104,9 @@
var
self
=
this
;
let
params
=
new
FormData
();
params
.
append
(
"rybh"
,
this
.
rybh
);
selectDnaList
(
params
).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
var
result
=
res
.
data
.
rows
[
0
];
this
.
xxzjbh
=
result
.
xxzjbh
this
.
result
=
result
;
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
...
...
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