Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
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
godwithdh
WX_h5
Commits
ce804e64
Commit
ce804e64
authored
Apr 20, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload
parent
b2def7ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue
src/view/tiip/specimen/index.vue
+1
-1
index.vue
src/view/tiip/uploadImg/index.vue
+2
-2
No files found.
src/view/tiip/specimen/index.vue
View file @
ce804e64
...
@@ -134,7 +134,7 @@ export default {
...
@@ -134,7 +134,7 @@ export default {
this
.
dtl_src
.
push
({
this
.
dtl_src
.
push
({
sColorName
:
v
.
sColorName
,
sColorName
:
v
.
sColorName
,
sColorNo
:
v
.
sColorNo
,
sColorNo
:
v
.
sColorNo
,
src
:
`
${
this
.
$url
(
'default'
)}
/goods/image_click/?uGuid=
${
v
.
uPictureGuid
}
&iType=2&random=
${
Math
.
random
()}
`
src
:
`
${
this
.
$url
(
'default'
)}
/goods/image_click/?uGuid=
${
v
.
uPictureGuid
}
&iType=2&
iProjectId=
${
this
.
iProjectId
}
&
random=
${
Math
.
random
()}
`
})
})
})
})
})
})
...
...
src/view/tiip/uploadImg/index.vue
View file @
ce804e64
...
@@ -221,7 +221,7 @@ export default {
...
@@ -221,7 +221,7 @@ export default {
let doc = new DOMParser().parseFromString(xhr.response);
let doc = new DOMParser().parseFromString(xhr.response);
if(xhr.status == 200){
if(xhr.status == 200){
let data = doc.getElementsByTagName('
SavePicResult
')[0].firstChild.nodeValue;
let data = doc.getElementsByTagName('
SavePicResult
')[0].firstChild.nodeValue;
if(data == '
Success
'){
//
if(data == '
Success
'){
this.$vux.loading.hide();
this.$vux.loading.hide();
this.$vux.confirm.show({
this.$vux.confirm.show({
title:"提示",
title:"提示",
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
showCancelButton:false,
showCancelButton:false,
})
})
this.fileList = [{src:base64}]
this.fileList = [{src:base64}]
}
//
}
}else if(xhr.status == 500){
}else if(xhr.status == 500){
this.$vux.confirm.show({
this.$vux.confirm.show({
title:"提示",
title:"提示",
...
...
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