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
f739d83d
Commit
f739d83d
authored
Feb 22, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
1233cff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
99 additions
and
62 deletions
+99
-62
investmentList.vue
src/components/tradePavilion/investmentList.vue
+99
-62
No files found.
src/components/tradePavilion/investmentList.vue
View file @
f739d83d
<
template
>
<
template
>
<div
class=
"companyList"
>
<div
class=
"companyList"
>
<div
class=
"head-title"
>
<template
v-if=
"!isShowInfo"
>
投资管理
<div
class=
"head-title"
>
</div>
投资管理
<div
class=
"content"
>
</div>
<div>
<div
class=
"content"
>
<div
class=
"searchInput"
style=
"width:150px"
>
<div>
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
<div
class=
"searchInput"
style=
"width:150px"
>
style=
"display:inline-block;width:125px;height:30px"
placeholder=
"请输入公司名称"
v-model=
"msg.CompanyName"
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
size=
"small"
clearable
>
style=
"display:inline-block;width:125px;height:30px"
placeholder=
"请输入公司名称"
v-model=
"msg.CompanyName"
</el-input>
size=
"small"
clearable
>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
</el-input>
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
</div>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"Id"
label=
"编号"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"CompanyName"
label=
"公司名称"
>
</el-table-column>
<el-table-column
prop=
"Investment"
label=
"投资意向"
>
</el-table-column>
<el-table-column
prop=
"Mobile"
width=
"150"
label=
"联系电话"
>
</el-table-column>
<el-table-column
prop=
"EMail"
width=
"150"
label=
"邮箱"
>
</el-table-column>
<el-table-column
prop=
"Industry"
width=
"150"
label=
"行业"
>
</el-table-column>
<el-table-column
prop=
"AnnualSales"
width=
"150"
label=
"年销售(万元)"
>
</el-table-column>
<el-table-column
prop=
"AnnualImport"
width=
"150"
label=
"年进口额"
>
</el-table-column>
<el-table-column
prop=
"address"
width=
"200"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top"
>
<img
@
click=
"getInfo(scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
</el-table>
<el-pagination
style=
"text-align:right"
background
@
current-change=
"handleCurrentChange"
:page-size=
"msg.pageSize"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next"
:total=
"total"
>
</el-pagination>
</div>
</template>
<
template
v-else
>
<div
class=
"head-title"
>
<span
@
click=
"isShowInfo=true"
style=
"color:rgb(64, 158, 255);cursor:pointer;"
>
投资管理
</span><span
style=
"margin:0 9px;color:#C0C4CC"
>
/
</span><span>
投资详情
</span>
</div>
</div>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<div
class=
"content"
>
<el-table-column
prop=
"CompanyId"
label=
"编号"
width=
"100"
>
<el-form
label-width=
"120px"
>
</el-table-column>
<el-form-item
label=
"活动名称"
>
<el-table-column
prop=
"CompanyName"
label=
"公司名称"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"addMsg.ActivityName"
size=
"small"
></el-input>
</el-table-column>
</el-form-item>
<el-table-column
prop=
"Principal"
label=
"联系人"
>
<el-form-item
label=
"开始时间"
>
</el-table-column>
<el-date-picker
class=
"w300"
v-model=
"addMsg.StartTime"
type=
"date"
placeholder=
"开始时间"
>
<el-table-column
prop=
"Mobile"
width=
"150"
label=
"联系电话"
>
</el-date-picker>
</el-table-column>
</el-form-item>
<el-table-column
prop=
"EMail"
width=
"150"
label=
"邮箱"
>
<el-form-item
label=
"结束时间"
>
</el-table-column>
<el-date-picker
class=
"w300"
v-model=
"addMsg.EndTime"
type=
"date"
placeholder=
"结束时间"
>
<el-table-column
prop=
"Industry"
width=
"150"
label=
"行业"
>
</el-date-picker>
</el-table-column>
</el-form-item>
<el-table-column
prop=
"AnnualSales"
width=
"150"
label=
"年销售(万元)"
>
<el-form-item
label=
"活动类型"
>
</el-table-column>
<el-select
class=
"w150"
style=
"margin-right: 10px;"
v-model=
"addMsg.ActivityType"
size=
"small"
<el-table-column
prop=
"AnnualImport"
width=
"150"
label=
"年进口额"
>
placeholder=
"请选择"
>
</el-table-column>
<el-option
:key=
"0"
label=
"请选择"
:value=
"0"
></el-option>
<el-table-column
prop=
"address"
width=
"200"
label=
"操作"
>
<el-option
v-for=
"item in activityTypeList"
:key=
"item.Id"
:label=
"item.TypeName"
:value=
"item.Id"
>
<template
slot-scope=
"scope"
>
</el-option>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top"
>
</el-select>
<img
@
click=
"EditgoUrl(scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/edit.png"
</el-form-item>
alt=
""
>
<el-form-item
label=
"封面图"
size=
"small"
>
</el-tooltip>
<el-button
@
click=
"isShowImage=true"
size=
"small"
>
选择文件
</el-button>
</
template
>
<div
class=
"app-gallery-item"
style=
"position: relative;width: 100px;margin-top: 10px;border:none;"
>
</el-table-column>
<img
v-if=
"!addMsg.CoverImg || addMsg.CoverImg==''"
src=
"../../assets/img/default.png"
</el-table>
style=
"width:80px;height:80px"
alt=
""
>
<el-pagination
style=
"text-align:right"
background
@
current-change=
"handleCurrentChange"
:page-size=
"msg.pageSize"
<img
v-else
style=
"width:80px;height:80px"
:src=
"addMsg.CoverImg"
alt=
""
>
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next"
:total=
"total"
>
</div>
</el-pagination>
</el-form-item>
</div>
<el-form-item
label=
"活动详情"
>
<UE
style=
"width:750px;"
:defaultMsg=
"defaultMsg"
:config=
"config"
:IsMultiple=
"true"
ref=
"ue"
></UE>
</el-form-item>
</el-form>
</div>
</
template
>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -54,9 +97,12 @@
...
@@ -54,9 +97,12 @@
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
15
,
pageSize
:
15
,
CompanyName
:
''
,
CompanyName
:
''
,
Type
:
2
,
},
},
total
:
0
,
total
:
0
,
tableData
:
[],
//数据列表
tableData
:
[],
//数据列表
isShowInfo
:
false
,
//是否显示详情,
addMsg
:
{},
};
};
},
},
created
()
{
created
()
{
...
@@ -74,7 +120,7 @@
...
@@ -74,7 +120,7 @@
},
},
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/Get
CompanyPageList
"
,
this
.
msg
,
res
=>
{
this
.
apipost
(
"/api/Trade/Get
InvestmentProcurementPage
"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
...
@@ -87,25 +133,16 @@
...
@@ -87,25 +133,16 @@
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
//删除公司资料
//获取详情
delContactus
(
item
)
{
getInfo
(
item
)
{
let
that
=
this
;
this
.
apipost
(
"/api/Trade/GetInvestmentProcurement"
,
{
that
.
Confirm
(
"是否删除?"
,
function
()
{
Id
:
item
.
Id
that
.
apipost
(
},
res
=>
{
"/api/Trade/RemoveCompany"
,
{
console
.
log
(
"res"
,
res
.
data
)
CompanyId
:
item
.
CompanyId
,
if
(
res
.
data
.
resultCode
==
1
)
{
Status
:
1
this
.
isShowInfo
=
true
;
},
}
res
=>
{
})
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
);
});
}
}
},
},
mounted
()
{}
mounted
()
{}
...
...
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