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
e5d64cb6
Commit
e5d64cb6
authored
Apr 21, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.110.145.204:8085/godwithdh/wx_h5
parents
0a9de7bf
be797cb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
index.vue
src/view/tiip/specimen/index.vue
+2
-2
index.vue
src/view/tiip/uploadImg/index.vue
+2
-2
No files found.
src/view/tiip/specimen/index.vue
View file @
e5d64cb6
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
Previewer
Previewer
},
},
async
mounted
(){
async
mounted
(){
this
.
iProjectId
=
this
.
$route
.
params
.
iProjectId
;
this
.
iProjectId
=
this
.
$route
.
query
.
iProjectId
;
this
.
$route
.
params
.
uGuid
.
split
(
'.'
).
map
((
x
,
y
)
=>
{
this
.
$route
.
params
.
uGuid
.
split
(
'.'
).
map
((
x
,
y
)
=>
{
this
.
uGuid
+=
String
.
fromCharCode
(
x
)
this
.
uGuid
+=
String
.
fromCharCode
(
x
)
})
})
...
@@ -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
.
$route
.
query
.
iProjectId
}
&
random=
${
Math
.
random
()}
`
})
})
})
})
})
})
...
...
src/view/tiip/uploadImg/index.vue
View file @
e5d64cb6
...
@@ -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