Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
eae13327
Commit
eae13327
authored
May 24, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
77b62d9d
e9959acc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
32 deletions
+79
-32
PersonalInfoSet.vue
src/components/PersonalInfoSet.vue
+60
-28
productOrderList.vue
src/components/orderCommon/productOrderList.vue
+1
-1
index.js
src/plug/index.js
+18
-3
No files found.
src/components/PersonalInfoSet.vue
View file @
eae13327
This diff is collapsed.
Click to expand it.
src/components/orderCommon/productOrderList.vue
View file @
eae13327
...
...
@@ -874,7 +874,7 @@
</el-tooltip>
<!--关内团后不能在报名 hk 2022-07-13去掉 && item.IsB2B === 1 修改为可报名 -->
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.LJXD')"
placement=
"top-start"
v-if=
"item.IsPayOrder !== 1 "
>
v-if=
"item.IsPayOrder !== 1
&& item.IsB2B !== 0
"
>
<el-button
type=
"primary"
style=
"background-color: #f16c3c !important; border-color: #f16c3c !important"
v-if=
"!TCIDList"
icon=
"iconfont icon-fukuan1"
@
click=
"goBuy(item)"
></el-button>
</el-tooltip>
...
...
src/plug/index.js
View file @
eae13327
...
...
@@ -227,6 +227,7 @@ export default {
//警告提示
Vue
.
prototype
.
Warning
=
function
(
msg
)
{
this
.
$message
({
message
:
msg
,
duration
:
2000
,
type
:
"warning"
...
...
@@ -1162,10 +1163,22 @@ export default {
co
(
function
*
()
{
for
(
let
index
=
0
;
index
<
files
.
length
;
index
++
)
{
let
fileName
=
nameList
[
index
]
fileName
=
path
+
fileName
+
"."
+
files
[
index
].
name
.
split
(
'.'
).
pop
()
fileName
=
path
+
fileName
+
"."
+
files
[
index
].
name
.
split
(
'.'
).
pop
();
var
newPath
=
""
;
if
(
!
that
.
isOnline
())
{
newPath
=
"/2024Test"
+
path
;
}
else
{
newPath
=
path
;
}
var
formData
=
new
FormData
();
var
uploadUrl
=
that
.
domainManager
().
UploadUrl
+
"/Upload/UploadToALiOSS?filePath="
+
p
ath
;
var
uploadUrl
=
that
.
domainManager
().
UploadUrl
+
"/Upload/UploadToALiOSS?filePath="
+
newP
ath
;
formData
.
append
(
"myfile"
,
files
[
index
]);
// var parms = {
// isppt:"1",
// uid: "Bm++E7WftLk=",
// gid: "1"
// }
// formData.append("parms", JSON.stringify(parms));
that
.
$http
.
post
(
uploadUrl
,
formData
,
{})
.
then
(
res
=>
{
successCall
(
res
);
...
...
@@ -1176,7 +1189,9 @@ export default {
});
}
}).
catch
(
function
(
err
)
{
that
.
$refs
[
'my-upload'
].
clearFiles
();
if
(
that
.
$refs
[
'my-upload'
])
{
that
.
$refs
[
'my-upload'
].
clearFiles
();
}
that
.
$message
.
error
(
'上传失败!'
);
});
}
...
...
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