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
0e1c5fe5
Commit
0e1c5fe5
authored
Nov 24, 2021
by
xue_wengang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_xzeq' of
http://47.92.108.28/changchao/founder_vue
into dev_xzeq
parents
5dc351e5
bcfb9167
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
39 deletions
+26
-39
src/api/dswtzxx.js
+4
-0
src/views/dswtzxx/bzxx/addzj.vue
+7
-10
src/views/dswtzxx/bzxx/addzw.vue
+8
-24
src/views/dswtzxx/bzxx/zj.vue
+3
-2
src/views/dswtzxx/bzxx/zw.vue
+4
-3
No files found.
src/api/dswtzxx.js
View file @
0e1c5fe5
...
@@ -31,3 +31,7 @@ export const insertZjbzjg = params =>
...
@@ -31,3 +31,7 @@ export const insertZjbzjg = params =>
export
const
insertZwbzjg
=
params
=>
export
const
insertZwbzjg
=
params
=>
postform
(
`
${
base
.
alyIP
}
/zwbzhc/insertZwbzjg`
,
params
);
postform
(
`
${
base
.
alyIP
}
/zwbzhc/insertZwbzjg`
,
params
);
export
const
selectZwbzjgList
=
params
=>
postform
(
`
${
base
.
alyIP
}
/zwbzhc/selectZwbzjgList`
,
params
);
export
const
selectZjbzjgList
=
params
=>
postform
(
`
${
base
.
alyIP
}
/ZjZjbzxx/selectZjbzjgList`
,
params
);
src/views/dswtzxx/bzxx/addzj.vue
View file @
0e1c5fe5
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<
script
>
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
formCompontent
from
"@c/form.vue"
;
import
{
insertZjbzjg
,
select
RyxxById
,
updateDnabzjg
}
from
"@/api/dswtzxx.js"
;
import
{
insertZjbzjg
,
select
ZjbzjgList
,
updateDnabzjg
}
from
"@/api/dswtzxx.js"
;
export
default
{
export
default
{
name
:
"addryxx"
,
name
:
"addryxx"
,
components
:
{
components
:
{
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
for
(
var
i
in
this
.
fileBase64
)
{
for
(
var
i
in
this
.
fileBase64
)
{
params
.
set
(
i
,
this
.
fileBase64
[
i
])
params
.
set
(
i
,
this
.
fileBase64
[
i
])
}
}
if
(
this
.
$route
.
query
.
ry
bh
){
if
(
this
.
$route
.
query
.
xxzj
bh
){
updateDnabzjg
(
params
).
then
(
res
=>
{
updateDnabzjg
(
params
).
then
(
res
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$router
.
push
(
"bzxxZj"
);
this
.
$router
.
push
(
"bzxxZj"
);
...
@@ -200,12 +200,9 @@
...
@@ -200,12 +200,9 @@
});
});
var
self
=
this
;
var
self
=
this
;
let
params
=
new
FormData
();
let
params
=
new
FormData
();
let
params1
=
new
FormData
();
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
params
.
append
(
"rybh"
,
this
.
rybh
);
selectZjbzjgList
(
params
).
then
((
res
)
=>
{
params1
.
append
(
"asjxgrybh"
,
this
.
rybh
);
var
result
=
res
.
data
.
rows
[
0
];
selectRyxxById
(
params
).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
this
.
result
=
result
;
this
.
result
=
result
;
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
...
@@ -246,9 +243,9 @@
...
@@ -246,9 +243,9 @@
if
(
this
.
$route
.
query
.
type
)
{
if
(
this
.
$route
.
query
.
type
)
{
this
.
type
=
this
.
$route
.
query
.
type
;
this
.
type
=
this
.
$route
.
query
.
type
;
}
}
if
(
this
.
$route
.
query
.
ry
bh
)
{
if
(
this
.
$route
.
query
.
xxzj
bh
)
{
this
.
title
=
"DNA比中结果"
;
this
.
title
=
"DNA比中结果"
;
this
.
rybh
=
this
.
$route
.
query
.
ry
bh
;
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzj
bh
;
this
.
getshuju
();
this
.
getshuju
();
}
}
},
},
...
...
src/views/dswtzxx/bzxx/addzw.vue
View file @
0e1c5fe5
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<
script
>
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
formCompontent
from
"@c/form.vue"
;
import
{
insertZwbzjg
,
select
RyxxById
,
updateDnabzjg
}
from
"@/api/dswtzxx.js"
;
import
{
insertZwbzjg
,
select
ZwbzjgList
,
updateDnabzjg
}
from
"@/api/dswtzxx.js"
;
export
default
{
export
default
{
name
:
"addryxx"
,
name
:
"addryxx"
,
components
:
{
components
:
{
...
@@ -176,31 +176,15 @@
...
@@ -176,31 +176,15 @@
});
});
var
self
=
this
;
var
self
=
this
;
let
params
=
new
FormData
();
let
params
=
new
FormData
();
let
params1
=
new
FormData
();
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
params
.
append
(
"rybh"
,
this
.
rybh
);
params1
.
append
(
"asjxgrybh"
,
this
.
rybh
);
select
RyxxById
(
params
).
then
((
res
)
=>
{
select
ZwbzjgList
(
params
).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
var
result
=
res
.
data
.
rows
[
0
]
;
this
.
result
=
result
;
this
.
result
=
result
;
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
if
(
i
.
id
==
"R_ZMZP_File"
)
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
]);
if
(
res
.
data
.
fjlist
&&
res
.
data
.
fjlist
.
length
>
0
)
{
console
.
log
(
9999
);
let
arr
=
res
.
data
.
fjlist
.
map
((
i
)
=>
({
name
:
i
.
dzwjmc
,
url
:
i
.
dzwjwz
,
xxzjbh
:
i
.
xxzjbh
,
}));
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
arr
);
}
}
else
if
(
i
.
id
==
"zljsdwdm"
)
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
].
split
(
","
));
}
else
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
]);
}
});
});
}
}
this
.
$forceUpdate
();
this
.
$forceUpdate
();
...
@@ -219,11 +203,11 @@
...
@@ -219,11 +203,11 @@
this
.
fileBase64
[
j
.
type
]
this
.
fileBase64
[
j
.
type
]
}
}
}
}
if
(
this
.
$route
.
query
.
type
)
{
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
type
=
this
.
$route
.
query
.
type
;
this
.
type
=
this
.
$route
.
query
.
type
;
}
}
if
(
this
.
$route
.
query
.
ry
bh
)
{
if
(
this
.
$route
.
query
.
xxzj
bh
)
{
this
.
rybh
=
this
.
$route
.
query
.
ry
bh
;
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzj
bh
;
this
.
getshuju
();
this
.
getshuju
();
}
}
},
},
...
...
src/views/dswtzxx/bzxx/zj.vue
View file @
0e1c5fe5
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
ref=
"rightContent"
ref=
"rightContent"
>
>
<template
#
btnGroup=
"scope"
>
<template
#
btnGroup=
"scope"
>
<el-button
@
click=
"edit(scope.scope)"
type=
"text"
>
修改
</el-button>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
删除
</el-button>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
删除
</el-button>
</
template
>
</
template
>
</right-content>
</right-content>
...
@@ -174,8 +175,8 @@
...
@@ -174,8 +175,8 @@
},
},
edit
(
scope
)
{
edit
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"
addryxx
"
,
path
:
"
bzxxAddzj
"
,
query
:
{
rybh
:
scope
.
row
.
rybh
,
type
:
"xd"
},
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
},
});
});
},
},
dele
(
scope
)
{
dele
(
scope
)
{
...
...
src/views/dswtzxx/bzxx/zw.vue
View file @
0e1c5fe5
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
ref=
"rightContent"
ref=
"rightContent"
>
>
<template
#
btnGroup=
"scope"
>
<template
#
btnGroup=
"scope"
>
<el-button
@
click=
"edit(scope.scope)"
type=
"text"
>
修改
</el-button>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
删除
</el-button>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
删除
</el-button>
</
template
>
</
template
>
</right-content>
</right-content>
...
@@ -171,13 +172,13 @@
...
@@ -171,13 +172,13 @@
add
(){
add
(){
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"bzxxAddzw"
,
path
:
"bzxxAddzw"
,
query
:
{
rybh
:
this
.
$route
.
query
.
rybh
},
});
});
},
},
edit
(
scope
)
{
edit
(
scope
)
{
console
.
log
(
scope
);
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"
addryxx
"
,
path
:
"
bzxxAddzw
"
,
query
:
{
rybh
:
scope
.
row
.
rybh
,
type
:
"xd"
},
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
},
});
});
},
},
dele
(
scope
)
{
dele
(
scope
)
{
...
...
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