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
3d0deb39
Commit
3d0deb39
authored
Feb 24, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9bd92559
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
16 deletions
+55
-16
addContact.vue
src/components/tradePavilion/addContact.vue
+24
-10
contactus.vue
src/components/tradePavilion/contactus.vue
+5
-4
tradeactivityList.vue
src/components/tradePavilion/tradeactivityList.vue
+26
-2
No files found.
src/components/tradePavilion/addContact.vue
View file @
3d0deb39
...
...
@@ -37,8 +37,7 @@
</div>
</el-form-item>
<el-form-item
label=
"介绍"
>
<el-input
type=
"textarea"
:rows=
"3"
v-model=
"addMsg.Intro"
size=
"small"
placeholder=
"介绍"
maxlength=
"1000"
/>
<UE
style=
"width:750px;"
:defaultMsg=
"defaultMsg"
:config=
"config"
:IsMultiple=
"true"
ref=
"ue"
></UE>
</el-form-item>
</el-form>
</div>
...
...
@@ -53,8 +52,10 @@
</
template
>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
UE
from
"@/components/global/UE.vue"
;
export
default
{
components
:
{
UE
,
ChooseImg
},
data
()
{
...
...
@@ -65,17 +66,22 @@
message
:
'请输入姓名'
,
trigger
:
'blur'
}],
Tel
:[{
Tel
:
[{
required
:
true
,
message
:
'请输入电话'
,
trigger
:
'blur'
}],
Position
:[{
Position
:
[{
required
:
true
,
message
:
'请输入职位'
,
trigger
:
'blur'
}]
},
defaultMsg
:
""
,
config
:
{
initialFrameWidth
:
null
,
initialFrameHeight
:
350
},
choicImg
:
false
,
//是否显示选择文件
chooseType
:
1
,
//选择类型1-头像,2-背景图
loading
:
false
,
...
...
@@ -106,6 +112,8 @@
}
},
Save
(
formName
)
{
let
content
=
this
.
$refs
.
ue
.
getUEContent
();
this
.
addMsg
.
Intro
=
content
;
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
apipost
(
"/api/Trade/SetContract"
,
this
.
addMsg
,
res
=>
{
...
...
@@ -136,6 +144,9 @@
this
.
addMsg
.
BgImg
=
tempData
.
BgImg
;
this
.
addMsg
.
Position
=
tempData
.
Position
;
this
.
addMsg
.
Intro
=
tempData
.
Intro
;
if
(
tempData
.
Intro
)
{
this
.
defaultMsg
=
tempData
.
Intro
;
}
}
})
},
...
...
@@ -231,12 +242,15 @@
height
:
32px
;
margin
:
0
5px
;
}
.addContact
.headerImg
{
width
:
80px
;
height
:
80px
;
.addContact
.headerImg
{
width
:
80px
;
height
:
80px
;
}
.addContact
.headerImg
img
{
width
:
100%
;
height
:
100%
;
.addContact
.headerImg
img
{
width
:
100%
;
height
:
100%
;
}
</
style
>
src/components/tradePavilion/contactus.vue
View file @
3d0deb39
...
...
@@ -11,7 +11,7 @@
<div>
<div
class=
"searchInput"
style=
"width:250px;"
>
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
style=
"display:inline-block;width:225px;height:30px"
placeholder=
"请输入
昵称
"
v-model=
"msg.Name"
size=
"small"
style=
"display:inline-block;width:225px;height:30px"
placeholder=
"请输入
姓名
"
v-model=
"msg.Name"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
...
...
@@ -21,7 +21,7 @@
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"Name"
width=
"280"
label=
"头像"
>
<el-table-column
prop=
"Name"
width=
"280"
label=
"头像
/姓名
"
>
<template
slot-scope=
"scope"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + scope.row.HeadIcon + ')',backgroundSize:'cover'}">
</div>
...
...
@@ -47,7 +47,8 @@
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<img
@
click=
"delContactus(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
<img
@
click=
"delContactus(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
...
...
@@ -64,7 +65,7 @@
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
1
5
,
pageSize
:
1
0
,
Name
:
''
,
},
total
:
0
,
...
...
src/components/tradePavilion/tradeactivityList.vue
View file @
3d0deb39
...
...
@@ -35,6 +35,15 @@
</el-table-column>
<el-table-column
prop=
"EndTimeStr"
label=
"结束时间"
>
</el-table-column>
<el-table-column
prop=
"ActivityStatusStr"
label=
"活动状态"
>
</el-table-column>
<el-table-column
prop=
"JoinNum"
label=
"报名人数"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"dialogTableVisible = true,getItem(scope.row)"
>
{{
scope
.
row
.
JoinNum
}}
人
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"Id"
width=
"200"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
...
...
@@ -100,6 +109,12 @@
<el-dialog
title=
"选择文件"
:visible
.
sync=
"isShowImage"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
></ChooseImg>
</el-dialog>
<el-dialog
title=
"报名信息"
:visible
.
sync=
"dialogTableVisible"
>
<el-table
:data=
"joinData"
>
<el-table-column
property=
"LinkMan"
label=
"联系人"
width=
"150"
></el-table-column>
<el-table-column
property=
"LinkTel"
label=
"联系电话"
width=
"200"
></el-table-column>
</el-table>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -143,6 +158,8 @@
ActivityInfo
:
""
,
//活动详情
},
activityTypeList
:
[],
//活动类型列表
dialogTableVisible
:
false
,
//是否显示弹窗
joinData
:
[],
//报名信息
rules
:
{
ActivityName
:
[{
required
:
true
,
...
...
@@ -163,7 +180,8 @@
validator
:
validataTrade
,
trigger
:
"change"
,
required
:
true
}]
}],
},
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
...
...
@@ -188,6 +206,10 @@
this
.
getList
();
},
methods
:
{
getItem
(
item
)
{
this
.
joinData
=
[];
this
.
joinData
=
item
.
CommerceConsultList
;
},
//获取活动类型列表
getActivityType
()
{
this
.
apipost
(
"/api/Trade/GetCommerceActivityTypeList"
,
{},
res
=>
{
...
...
@@ -344,7 +366,9 @@
padding
:
20px
;
box-sizing
:
border-box
;
}
.tradeactivity
.el-form-item__content
{
.tradeactivity
.el-form-item__content
{
line-height
:
0
;
}
</
style
>
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