Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
5362cb6c
Commit
5362cb6c
authored
Sep 22, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加传头像
parent
0c0723c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
carEvaluation.vue
src/components/orderMan/carEvaluation.vue
+23
-3
No files found.
src/components/orderMan/carEvaluation.vue
View file @
5362cb6c
...
@@ -25,6 +25,18 @@
...
@@ -25,6 +25,18 @@
<el-form-item
label=
"订单id"
>
<el-form-item
label=
"订单id"
>
<el-input
v-model=
"addMsg[0].OrderDetailId"
size=
"small"
></el-input>
<el-input
v-model=
"addMsg[0].OrderDetailId"
size=
"small"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"用户头像"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸100*100"
placement=
"top"
>
<el-button
@
click=
"openChangeDig(3)"
size=
"small"
>
选择文件
</el-button>
</el-tooltip>
<div
class=
"app-gallery-item"
style=
"position: relative;width: 100px;margin-top: 10px;"
>
<img
v-if=
"!userPath || userPath==''"
src=
"../../assets/img/default.png"
style=
"width:80px;height:80px"
alt=
""
>
<img
v-else
style=
"width:80px;height:80px"
:src=
"userPath"
alt=
""
>
</div>
</el-form-item>
<el-form-item>
<el-form-item>
<label
slot=
"label"
>
<label
slot=
"label"
>
<span
style=
"color:red"
>
*
</span>
商品
<span
style=
"color:red"
>
*
</span>
商品
...
@@ -157,7 +169,8 @@
...
@@ -157,7 +169,8 @@
CommentImgList
:
[],
//评论图片
CommentImgList
:
[],
//评论图片
CommentScore
:
5
,
//分数
CommentScore
:
5
,
//分数
GuideId
:
0
,
// 导游id(新增一条评论需新增2调数据,一个是对导游(车辆id=0)的一个是对车辆的(导游id=0),)
GuideId
:
0
,
// 导游id(新增一条评论需新增2调数据,一个是对导游(车辆id=0)的一个是对车辆的(导游id=0),)
CarId
:
''
CarId
:
''
,
UserPhoto
:
0
,
//用户头像
},
{
},
{
PlatformSource
:
1
,
//用户来源
PlatformSource
:
1
,
//用户来源
CreateDate
:
''
,
//评论日期
CreateDate
:
''
,
//评论日期
...
@@ -168,7 +181,8 @@
...
@@ -168,7 +181,8 @@
CommentImgList
:
[],
//评论图片
CommentImgList
:
[],
//评论图片
CommentScore
:
5
,
//分数
CommentScore
:
5
,
//分数
GuideId
:
''
,
// 导游id(新增一条评论需新增2调数据,一个是对导游(车辆id=0)的一个是对车辆的(导游id=0),)
GuideId
:
''
,
// 导游id(新增一条评论需新增2调数据,一个是对导游(车辆id=0)的一个是对车辆的(导游id=0),)
CarId
:
0
CarId
:
0
,
UserPhoto
:
0
,
//用户头像
}],
}],
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
...
@@ -187,7 +201,7 @@
...
@@ -187,7 +201,7 @@
GuideList
:
[],
//导游列表
GuideList
:
[],
//导游列表
CarList
:
[],
//导游列表
CarList
:
[],
//导游列表
userPath
:
''
,
//用户头像
};
};
},
},
created
()
{
created
()
{
...
@@ -208,6 +222,12 @@
...
@@ -208,6 +222,12 @@
let
url
=
this
.
getIconLink
(
msg
.
url
)
let
url
=
this
.
getIconLink
(
msg
.
url
)
this
.
addMsg
[
1
].
CommentImgList
.
push
(
url
);
this
.
addMsg
[
1
].
CommentImgList
.
push
(
url
);
}
}
if
(
this
.
imgType
==
3
)
{
let
url
=
this
.
getIconLink
(
msg
.
url
);
this
.
userPath
=
url
;
this
.
addMsg
[
0
].
UserPhoto
=
msg
.
selectId
;
this
.
addMsg
[
1
].
UserPhoto
=
msg
.
selectId
;
}
this
.
changeState
=
false
;
this
.
changeState
=
false
;
},
},
//删除图片
//删除图片
...
...
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