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
87f9fe66
Commit
87f9fe66
authored
Nov 23, 2021
by
刘玉帅
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
ea0d541b
1beb1254
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
17 deletions
+13
-17
src/components/form.vue
+12
-3
src/views/dswtzxx/dnaxx/adddna.vue
+1
-14
No files found.
src/components/form.vue
View file @
87f9fe66
...
...
@@ -881,6 +881,14 @@ export default {
type
:
Object
,
default
:
()
=>
{},
},
fileBase64
:
{
type
:
Object
,
default
:
()
=>
{},
},
base64Transform
:
{
type
:
Boolean
,
default
:
false
,
},
propTitle
:
String
,
pageBs
:
String
,
},
...
...
@@ -890,11 +898,9 @@ export default {
rules
:
{},
propFormField
:
this
.
formField
,
formLabelAlign
:
this
.
formLabelAligns
,
rules
:
{},
fileLists
:
{},
imageUrl
:
{},
shade
:
false
,
fileBase64
:
''
};
},
created
()
{
...
...
@@ -1405,9 +1411,12 @@ export default {
);
// debugger;
if
(
item
.
type
==
"photo"
)
{
if
(
this
.
base64Transform
){
this
.
getBase64
(
file
.
raw
).
then
((
resBase64
)
=>
{
this
.
fileBase64
=
resBase64
.
split
(
","
)[
1
];
//直接拿到base64信息
this
.
fileBase64
[
item
.
id
]
=
resBase64
.
split
(
","
)[
1
];
//直接拿到base64信息
this
.
$emit
(
"onBase64Transform"
,
this
.
fileBase64
);
});
}
if
(
isJPG
)
{
this
.
$set
(
self
.
imageUrl
,
item
.
id
,
file
.
raw
);
this
.
$set
(
...
...
src/views/dswtzxx/dnaxx/adddna.vue
View file @
87f9fe66
...
...
@@ -16,7 +16,7 @@
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
insertRyxx
,
selectRyxxById
,
selectRyzpList
,
updateRyxx
}
from
"@/api/dswtzxx.js"
;
import
{
selectRyxxById
,
selectRyzpList
,
updateRyxx
}
from
"@/api/dswtzxx.js"
;
import
{
insertDna
,
}
from
"@/api/dswtz/dnaxx.js"
;
...
...
@@ -75,16 +75,6 @@
placeholder
:
"请输入"
,
col
:
"2"
,
},
/* {
name: "宗教信仰:",
id: "zjxydm",
type: "codeTree",
codeTree: "CODE_ZJXY",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},*/
],
},
],
...
...
@@ -103,8 +93,6 @@
updateRyxx
(
params
)
}
else
{
let
sd
=
'R5400000000002021110009'
params
.
append
(
'rybh'
,
sd
)
insertDna
(
params
)
}
...
...
@@ -131,7 +119,6 @@
let
rows
=
res
.
data
.
rows
for
(
let
i
of
rows
.
values
()){
let
zpbw
=
i
.
zpbw
let
ryzpDzwjmc
=
i
.
ryzpDzwjmc
.
split
(
'.'
)[
1
]
let
arr
=
[
{
name
:
i
.
ryzpDzwjmc
,
...
...
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