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
50d8baa8
Commit
50d8baa8
authored
Feb 20, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
d56f4f63
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1101 additions
and
9 deletions
+1101
-9
pointOrderList.vue
src/components/education/pointOrderList.vue
+0
-1
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+3
-3
AddsetupActicity.vue
src/components/setup/AddsetupActicity.vue
+0
-1
addContact.vue
src/components/tradePavilion/addContact.vue
+225
-0
companyList.vue
src/components/tradePavilion/companyList.vue
+166
-0
companyinfo.vue
src/components/tradePavilion/companyinfo.vue
+236
-0
contactus.vue
src/components/tradePavilion/contactus.vue
+185
-0
tradePavilionIndex.vue
src/components/tradePavilion/tradePavilionIndex.vue
+254
-0
index.js
src/plug/index.js
+1
-1
index.js
src/router/index.js
+31
-3
No files found.
src/components/education/pointOrderList.vue
View file @
50d8baa8
...
@@ -882,7 +882,6 @@
...
@@ -882,7 +882,6 @@
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
let
pageData
=
res
.
data
.
data
.
pageData
;
let
pageData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
pageData
;
this
.
tableData
=
pageData
;
console
.
log
(
res
,
'数据来也'
);
}
}
})
})
},
},
...
...
src/components/sallCenter/templateEdit.vue
View file @
50d8baa8
...
@@ -626,9 +626,9 @@
...
@@ -626,9 +626,9 @@
Id
:
'notice'
,
Id
:
'notice'
,
isCked
:
false
,
isCked
:
false
,
data
:
{
data
:
{
name
:
'公告'
,
//公告名称
name
:
'公告'
,
//公告名称
content
:
''
,
//公告内容
content
:
''
,
//公告内容
icon
:
this
.
domainManager
().
ImageUrl
+
'/Static/icon-notice.png'
,
//公告图标
icon
:
this
.
domainManager
().
ImageUrl
+
'/Static/icon-notice.png'
,
//公告图标
textColor
:
'#ffffff'
,
//文字颜色
textColor
:
'#ffffff'
,
//文字颜色
background
:
'#f67f79'
,
//背景颜色
background
:
'#f67f79'
,
//背景颜色
headerUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/icon-notice-title.png'
,
//头部图片
headerUrl
:
this
.
domainManager
().
ImageUrl
+
'/Static/icon-notice-title.png'
,
//头部图片
...
...
src/components/setup/AddsetupActicity.vue
View file @
50d8baa8
...
@@ -598,7 +598,6 @@
...
@@ -598,7 +598,6 @@
this
.
Error
(
'商品数量大于0'
);
this
.
Error
(
'商品数量大于0'
);
return
;
return
;
}
}
console
.
log
(
this
.
msg
)
if
(
new
Date
(
this
.
msg
.
EndTime
).
getTime
()
>=
new
Date
(
this
.
msg
.
ReceiveTime
).
getTime
()){
if
(
new
Date
(
this
.
msg
.
EndTime
).
getTime
()
>=
new
Date
(
this
.
msg
.
ReceiveTime
).
getTime
()){
this
.
Error
(
'兑换期限大于结束时期'
);
this
.
Error
(
'兑换期限大于结束时期'
);
return
;
return
;
...
...
src/components/tradePavilion/addContact.vue
0 → 100644
View file @
50d8baa8
<
template
>
<div
v-loading=
"loading"
class=
"addContact"
>
<div
class=
"head-title"
>
<span
@
click=
"CommonJump('contactus')"
class=
"blue point"
>
联系我们
</span>
/ 编辑联系人
</div>
<div
class=
"content"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"150px"
style=
"width:60%"
>
<el-form-item
label=
"姓名"
prop=
"Name"
class=
"is-required"
>
<el-input
v-model=
"addMsg.Name"
placeholder=
"请输入姓名"
maxlength=
"20"
/>
</el-form-item>
<el-form-item
label=
"电话"
class=
"is-required"
>
<el-input
v-model=
"addMsg.Tel"
placeholder=
"请输入联系电话"
maxlength=
"20"
/>
</el-form-item>
<el-form-item
label=
"职位"
class=
"is-required"
>
<el-input
v-model=
"addMsg.Position"
placeholder=
"请输入职位名称"
maxlength=
"50"
/>
</el-form-item>
<el-form-item
label=
"头像"
>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:88*88"
placement=
"top-start"
>
<el-button
size=
"small"
@
click=
"choicImg=true,chooseType=1"
>
选择文件
</el-button>
</el-tooltip>
</div>
<div
class=
"headerImg"
>
<img
v-if=
"addMsg.HeadIcon"
:src=
"addMsg.HeadIcon"
alt=
""
/>
<img
v-else
src=
"../../assets/img/default.png"
alt=
""
/>
</div>
</el-form-item>
<el-form-item
label=
"背景图"
>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:88*88"
placement=
"top-start"
>
<el-button
size=
"small"
@
click=
"choicImg=true,chooseType=2"
>
选择文件
</el-button>
</el-tooltip>
</div>
<div
class=
"headerImg"
>
<img
v-if=
"addMsg.BgImg"
:src=
"addMsg.BgImg"
alt=
""
/>
<img
v-else
src=
"../../assets/img/default.png"
alt=
""
/>
</div>
</el-form-item>
<el-form-item
label=
"介绍"
>
<el-input
type=
"textarea"
:rows=
"3"
v-model=
"addMsg.Intro"
class=
"w400"
size=
"small"
placeholder=
"介绍"
maxlength=
"1000"
/>
</el-form-item>
</el-form>
</div>
<div
style=
"margin-top:20px"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"Save('addMsg')"
>
保存
</el-button>
</div>
<!-- 选择文件 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"choicImg"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
ref=
"mychild"
></ChooseImg>
</el-dialog>
</div>
</
template
>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
export
default
{
components
:
{
ChooseImg
},
data
()
{
return
{
rules
:
{
Name
:
[{
required
:
true
,
message
:
'请输入姓名'
,
trigger
:
'blur'
}],
},
choicImg
:
false
,
//是否显示选择文件
chooseType
:
1
,
//选择类型1-头像,2-背景图
loading
:
false
,
addMsg
:
{
Id
:
0
,
//编号
Name
:
""
,
//姓名
Tel
:
""
,
//电话
HeadIcon
:
""
,
//头像
BgImg
:
""
,
//背景图
Position
:
""
,
//职位
Intro
:
""
,
//介绍
}
};
},
created
()
{
if
(
this
.
$route
.
query
.
Id
)
{
this
.
addMsg
.
Id
=
this
.
$route
.
query
.
Id
;
this
.
getData
(
this
.
addMsg
.
Id
)
}
},
methods
:
{
SelectId
(
msg
)
{
this
.
choicImg
=
false
;
if
(
this
.
chooseType
==
1
)
{
this
.
addMsg
.
HeadIcon
=
this
.
getIconLink
(
msg
.
url
);
}
else
{
this
.
addMsg
.
BgImg
=
this
.
getIconLink
(
msg
.
url
);
}
},
Save
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
apipost
(
"/api/Trade/SetContract"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CommonJump
(
'contactus'
);
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
}
else
{
return
false
;
}
});
},
getData
(
ID
)
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/GetContract"
,
{
Id
:
ID
},
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
data
)
{
var
tempData
=
res
.
data
.
data
;
this
.
addMsg
.
Id
=
tempData
.
Id
;
this
.
addMsg
.
Name
=
tempData
.
Name
;
this
.
addMsg
.
Tel
=
tempData
.
Tel
;
this
.
addMsg
.
HeadIcon
=
tempData
.
HeadIcon
;
this
.
addMsg
.
BgImg
=
tempData
.
BgImg
;
this
.
addMsg
.
Position
=
tempData
.
Position
;
this
.
addMsg
.
Intro
=
tempData
.
Intro
;
}
})
},
},
mounted
()
{}
};
</
script
>
<
style
>
.addContact
.tip
{
margin-left
:
10px
;
display
:
inline-block
;
height
:
30px
;
line-height
:
30px
;
color
:
#ff4544
;
background-color
:
#FEF0F0
;
padding
:
0
20px
;
border-radius
:
5px
;
}
.addContact
.app-image
{
background-size
:
cover
;
background-position
:
center
center
;
width
:
80px
;
height
:
80px
;
border-radius
:
0%
;
}
.addContact
.setTable
.el-table__body
.cell
{
display
:
flex
;
align-items
:
center
;
}
.addContact
.commonLabel
.el-form-item__label
{
margin-top
:
-4px
;
}
.addContact
.discount
.el-form-item__label
{
padding-right
:
30px
;
margin-top
:
-4px
;
}
.addContact
.el-form-item
.elzk
{
position
:
absolute
;
left
:
-25px
;
top
:
8px
;
}
.addContact
.el-form-item
{
position
:
relative
;
}
.addContact
.blue
{
color
:
#409EFF
;
}
.addContact
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
.addContact
.gez_list
{
width
:
650px
;
margin-bottom
:
12px
;
padding
:
20px
;
border
:
1px
solid
#EBEEF5
;
background-color
:
#FFF
;
color
:
#303133
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
}
.addContact
.quyu
{
background-color
:
#f4f4f5
;
color
:
#909399
;
padding
:
10px
;
line-height
:
30px
;
height
:
30px
;
font-size
:
12px
;
border-radius
:
4px
;
white-space
:
nowrap
;
margin
:
5px
;
}
.addContact
.imgstyle
{
width
:
32px
;
height
:
32px
;
margin
:
0
5px
;
}
</
style
>
src/components/tradePavilion/companyList.vue
0 → 100644
View file @
50d8baa8
<
template
>
<div
class=
"companyList"
>
<div
class=
"head-title"
>
公司资料管理
</div>
<div
class=
"content"
>
<div>
<div
class=
"searchInput"
style=
"width:150px"
>
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
style=
"display:inline-block;width:125px;height:30px"
placeholder=
"请输入公司名称"
v-model=
"msg.CompanyName"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"CompanyId"
label=
"编号"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"CompanyName"
label=
"公司名称"
>
</el-table-column>
<el-table-column
prop=
"Principal"
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=
"EditgoUrl(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>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
15
,
CompanyName
:
''
,
},
total
:
0
,
tableData
:
[],
//数据列表
};
},
created
()
{
this
.
getList
();
},
methods
:
{
EditgoUrl
(
row
)
{
this
.
$router
.
push
({
name
:
'companyinfo'
,
query
:
{
Id
:
row
.
CompanyId
,
blank
:
"y"
}
});
},
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/GetCompanyPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
let
pageData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
pageData
;
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
//删除公司资料
delContactus
(
item
)
{
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
apipost
(
"/api/Trade/RemoveCompany"
,
{
CompanyId
:
item
.
CompanyId
,
Status
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
);
});
}
},
mounted
()
{}
};
</
script
>
<
style
>
.companyList
.remark_name
{
color
:
#888888
;
font-size
:
12px
;
margin-left
:
10px
;
float
:
right
;
}
.companyList
.app-image
{
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
.companyList
.blue
{
color
:
#409EFF
;
}
.companyList
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
}
.companyList
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
height
:
30px
;
line-height
:
30px
;
}
.companyList
.content
.searchInput
{
line-height
:
normal
;
display
:
inline-table
;
width
:
100%
;
border-collapse
:
separate
;
border-spacing
:
0
;
width
:
250px
;
margin-right
:
20px
;
}
.companyList
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
</
style
>
src/components/tradePavilion/companyinfo.vue
0 → 100644
View file @
50d8baa8
<
template
>
<div
v-loading=
"loading"
class=
"addContact"
>
<div
class=
"head-title"
>
<span
@
click=
"CommonJump('companyList')"
class=
"blue point"
>
公司资料管理
</span>
/ 公司资料详情
</div>
<div
class=
"content"
>
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-width=
"150px"
style=
"width:60%"
>
<el-form-item
label=
"公司名称"
class=
"is-required"
>
<el-input
v-model=
"addMsg.CompanyName"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"英文名称"
>
<el-input
v-model=
"addMsg.CompanyEnName"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"联系人"
class=
"is-required"
>
<el-input
v-model=
"addMsg.Principal"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"联系电话"
class=
"is-required"
>
<el-input
v-model=
"addMsg.Mobile"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"邮箱"
class=
"is-required"
>
<el-input
v-model=
"addMsg.EMail"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"法人"
>
<el-input
v-model=
"addMsg.LegalPerson"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"公司微信"
>
<el-input
v-model=
"addMsg.WechatNo"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"公司介绍"
>
<el-input
type=
"textarea"
:rows=
"3"
v-model=
"addMsg.CompanyIntro"
disabled
class=
"w400"
size=
"small"
/>
</el-form-item>
<el-form-item
label=
"公司官网"
>
<el-input
v-model=
"addMsg.DomainUrl"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"成立时间"
>
<el-input
v-model=
"addMsg.FoundingTime"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"员工人数"
>
<el-input
v-model=
"addMsg.EmployeeNum"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"年销售(万元)"
>
<el-input
v-model=
"addMsg.AnnualSales"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"年进口额(万元)"
>
<el-input
v-model=
"addMsg.AnnualImport"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"详细地址"
>
<el-input
v-model=
"addMsg.Address"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"英文地址"
>
<el-input
v-model=
"addMsg.EnAddress"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"行业"
>
<el-input
v-model=
"addMsg.Industry"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"出口国"
>
<el-input
v-model=
"addMsg.ExportCountry"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"进口国家"
>
<el-input
v-model=
"addMsg.ImportCountry"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"进口品目"
>
<el-input
v-model=
"addMsg.ImportCategory"
disabled
class=
"w400"
/>
</el-form-item>
<el-form-item
label=
"其他内容"
>
<el-input
type=
"textarea"
:rows=
"3"
v-model=
"addMsg.OtherInfo"
disabled
class=
"w400"
size=
"small"
/>
</el-form-item>
</el-form>
</div>
<div
style=
"margin-top:20px"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"CommonJump('companyList')"
>
返回
</el-button>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
addMsg
:
{
CompanyId
:
0
,
//编号
CompanyName
:
""
,
//公司名称
CompanyEnName
:
""
,
//公司英文名称
Principal
:
""
,
//联系人
Mobile
:
""
,
//联系电话
EMail
:
""
,
//邮箱
LegalPerson
:
""
,
//法人
WechatNo
:
""
,
//公司微信
CompanyIntro
:
""
,
//公司介绍
DomainUrl
:
""
,
//官网
FoundingTime
:
""
,
//成立时间
EmployeeNum
:
""
,
//员工人数
AnnualSales
:
""
,
//年销售(万元)
AnnualImport
:
""
,
//年进口额
Address
:
""
,
//详细地址
EnAddress
:
""
,
//详细地址(英文)
Industry
:
""
,
//行业
ExportCountry
:
""
,
//主要出口国
ImportCountry
:
""
,
//主要进口国家
ImportCategory
:
""
,
//主要进口类目
OtherInfo
:
""
,
//其他内容
}
};
},
created
()
{
if
(
this
.
$route
.
query
.
Id
)
{
this
.
addMsg
.
Id
=
this
.
$route
.
query
.
Id
;
this
.
getData
(
this
.
addMsg
.
Id
)
}
},
methods
:
{
getData
(
ID
)
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/GetCompany"
,
{
CompanyId
:
ID
},
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
data
)
{
var
tempData
=
res
.
data
.
data
;
this
.
addMsg
.
CompanyId
=
tempData
.
CompanyId
;
this
.
addMsg
.
CompanyName
=
tempData
.
CompanyName
;
this
.
addMsg
.
CompanyEnName
=
tempData
.
CompanyEnName
;
this
.
addMsg
.
Principal
=
tempData
.
Principal
;
this
.
addMsg
.
Mobile
=
tempData
.
Mobile
;
this
.
addMsg
.
EMail
=
tempData
.
EMail
;
this
.
addMsg
.
LegalPerson
=
tempData
.
LegalPerson
;
this
.
addMsg
.
WechatNo
=
tempData
.
WechatNo
;
this
.
addMsg
.
CompanyIntro
=
tempData
.
CompanyIntro
;
this
.
addMsg
.
DomainUrl
=
tempData
.
DomainUrl
;
this
.
addMsg
.
FoundingTime
=
tempData
.
FoundingTimeStr
;
this
.
addMsg
.
EmployeeNum
=
tempData
.
EmployeeNum
;
this
.
addMsg
.
AnnualSales
=
tempData
.
AnnualSales
;
this
.
addMsg
.
AnnualImport
=
tempData
.
AnnualImport
;
this
.
addMsg
.
Address
=
tempData
.
Address
;
this
.
addMsg
.
EnAddress
=
tempData
.
EnAddress
;
this
.
addMsg
.
Industry
=
tempData
.
Industry
;
this
.
addMsg
.
ExportCountry
=
tempData
.
ExportCountry
;
this
.
addMsg
.
ImportCountry
=
tempData
.
ImportCountry
;
this
.
addMsg
.
ImportCategory
=
tempData
.
ImportCategory
;
this
.
addMsg
.
OtherInfo
=
tempData
.
OtherInfo
;
}
})
},
},
mounted
()
{}
};
</
script
>
<
style
>
.addContact
.tip
{
margin-left
:
10px
;
display
:
inline-block
;
height
:
30px
;
line-height
:
30px
;
color
:
#ff4544
;
background-color
:
#FEF0F0
;
padding
:
0
20px
;
border-radius
:
5px
;
}
.addContact
.app-image
{
background-size
:
cover
;
background-position
:
center
center
;
width
:
80px
;
height
:
80px
;
border-radius
:
0%
;
}
.addContact
.setTable
.el-table__body
.cell
{
display
:
flex
;
align-items
:
center
;
}
.addContact
.commonLabel
.el-form-item__label
{
margin-top
:
-4px
;
}
.addContact
.discount
.el-form-item__label
{
padding-right
:
30px
;
margin-top
:
-4px
;
}
.addContact
.el-form-item
.elzk
{
position
:
absolute
;
left
:
-25px
;
top
:
8px
;
}
.addContact
.el-form-item
{
position
:
relative
;
}
.addContact
.blue
{
color
:
#409EFF
;
}
.addContact
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
.addContact
.gez_list
{
width
:
650px
;
margin-bottom
:
12px
;
padding
:
20px
;
border
:
1px
solid
#EBEEF5
;
background-color
:
#FFF
;
color
:
#303133
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
}
.addContact
.quyu
{
background-color
:
#f4f4f5
;
color
:
#909399
;
padding
:
10px
;
line-height
:
30px
;
height
:
30px
;
font-size
:
12px
;
border-radius
:
4px
;
white-space
:
nowrap
;
margin
:
5px
;
}
.addContact
.imgstyle
{
width
:
32px
;
height
:
32px
;
margin
:
0
5px
;
}
</
style
>
src/components/tradePavilion/contactus.vue
0 → 100644
View file @
50d8baa8
<
template
>
<div
class=
"contactus"
>
<div
class=
"head-title"
>
联系我们
<el-button
@
click=
"addContact"
style=
"float:right;margin-top: -5px;margin-right: 10px"
size=
"small"
type=
"primary"
>
新增
</el-button>
</div>
<div
class=
"content"
>
<div>
<div
class=
"searchInput"
style=
"width:150px"
>
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
style=
"display:inline-block;width:125px;height:30px"
placeholder=
"请输入昵称"
v-model=
"msg.Name"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<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=
"头像"
>
<template
slot-scope=
"scope"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + scope.row.HeadIcon + ')',backgroundSize:'cover'}">
</div>
<div
flex=
"dir:left cross:center"
>
{{
scope
.
row
.
Name
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"Position"
label=
"职位"
>
</el-table-column>
<el-table-column
prop=
"BgImg"
width=
"280"
label=
"背景图"
>
<
template
slot-scope=
"scope"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + scope.row.BgImg + ')',backgroundSize:'cover'}">
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"Tel"
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=
"EditgoUrl(scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"delContactus(scope.row)"
circle
style=
"padding:6px;"
></el-button>
</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>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
15
,
Name
:
''
,
},
total
:
0
,
tableData
:
[],
//数据列表
};
},
created
()
{
this
.
getList
();
},
methods
:
{
EditgoUrl
(
row
)
{
this
.
$router
.
push
({
name
:
'addContact'
,
query
:
{
Id
:
row
.
Id
,
blank
:
"y"
}
});
},
//新增联系我们
addContact
()
{
this
.
$router
.
push
({
name
:
'addContact'
,
});
},
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/GetContractPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
let
pageData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
pageData
;
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
//删除联系人
delContactus
(
item
)
{
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
apipost
(
"/api/Trade/RemoveContract"
,
{
Id
:
item
.
Id
,
Status
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
);
});
}
},
mounted
()
{}
};
</
script
>
<
style
>
.contactus
.remark_name
{
color
:
#888888
;
font-size
:
12px
;
margin-left
:
10px
;
float
:
right
;
}
.contactus
.app-image
{
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
.contactus
.blue
{
color
:
#409EFF
;
}
.contactus
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
}
.contactus
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
height
:
30px
;
line-height
:
30px
;
}
.contactus
.content
.searchInput
{
line-height
:
normal
;
display
:
inline-table
;
width
:
100%
;
border-collapse
:
separate
;
border-spacing
:
0
;
width
:
250px
;
margin-right
:
20px
;
}
.contactus
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
</
style
>
src/components/tradePavilion/tradePavilionIndex.vue
0 → 100644
View file @
50d8baa8
<
style
>
.offlineIndex
{
height
:
100%
;
display
:
flex
;
-webkit-box-orient
:
horizontal
;
-ms-flex-direction
:
row
;
flex-direction
:
row
;
-webkit-box-flex
:
1
;
-ms-flex
:
1
;
flex
:
1
;
-ms-flex-preferred-size
:
auto
;
flex-basis
:
auto
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
min-width
:
0
;
font-size
:
14px
;
}
.offlineIndex
.mainLeftMenu
{
position
:
relative
;
display
:
flex
;
flex-direction
:
row
;
color
:
#fff
;
}
.offlineIndex
.leftMenu1
{
background
:
#444444
;
cursor
:
pointer
;
width
:
200px
;
height
:
100%
;
overflow-y
:
auto
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
}
.offlineIndex
.asideInner
{
background
:
rgba
(
0
,
0
,
0
,
0.15
);
padding
:
6px
6px
;
width
:
100%
;
border-radius
:
3px
;
font-weight
:
bold
;
}
.offlineIndex
.F_Logo
{
height
:
60px
;
background
:
#464d54
;
color
:
#f2f2f2
;
cursor
:
pointer
;
font-weight
:
bold
;
text-align
:
center
;
padding
:
0
15px
;
display
:
flex
;
align-items
:
center
;
}
.offlineIndex
.mainRightContent
{
width
:
100%
;
height
:
100%
;
background-color
:
#f3f3f3
;
}
.offlineIndex
.mainRightTop
{
width
:
100%
;
height
:
60px
;
background
:
#fff
;
display
:
flex
;
justify-content
:
space-between
;
color
:
#909399
;
}
.offlineIndex
.mainRightLeft
{
width
:
110px
;
height
:
60px
;
line-height
:
62px
;
text-align
:
center
;
margin-left
:
30px
;
cursor
:
pointer
;
position
:
relative
;
top
:
-2px
;
}
.offlineIndex
.marinRightList
{
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
width
:
300px
;
float
:
right
;
}
.offlineIndex
.marinRightList
ul
{
display
:
flex
;
width
:
100%
;
justify-content
:
space-around
;
}
.offlineIndex
.marinRightList
ul
li
{
display
:
block
;
list-style-type
:
none
;
cursor
:
pointer
;
color
:
#909399
;
outline
:
none
;
border
:
none
;
}
.offlineIndex
.main_routerPage
{
padding
:
20px
;
overflow-y
:
scroll
;
}
.offlineIndex
.FsettingUU
{
position
:
fixed
;
width
:
200px
;
height
:
100%
;
position
:
fixed
;
top
:
60px
;
left
:
0
;
overflow
:
auto
;
z-index
:
5
;
background-color
:
rgb
(
84
,
92
,
100
);
}
.offlineIndex
.FsettingUU
.menu_item
{
font-size
:
14px
;
color
:
#303133
;
padding
:
0
20px
;
cursor
:
pointer
;
-webkit-transition
:
border-color
.3s
,
background-color
.3s
,
color
.3s
;
transition
:
border-color
.3s
,
background-color
.3s
,
color
.3s
;
box-sizing
:
border-box
;
height
:
56px
;
line-height
:
56px
;
list-style
:
none
;
white-space
:
nowrap
;
color
:
#fff
;
display
:
flex
;
align-items
:
center
;
}
.offlineIndex
.FsettingUU
.menu_item
i
{
margin-right
:
5px
;
width
:
24px
;
text-align
:
center
;
font-size
:
18px
;
vertical-align
:
middle
;
color
:
#909399
;
}
.offlineIndex
.menu_item
:hover
{
background-color
:
rgba
(
67
,
74
,
80
,
0
);
}
.offlineIndex
.F_Logo
:hover
{
background-color
:
#30353a
;
color
:
#fff
;
}
.offlineIndex
.Fchecked
{
color
:
rgb
(
255
,
208
,
75
)
!important
;
}
.offlineIndex
.Fchecked
i
{
color
:
rgb
(
255
,
208
,
75
)
!important
;
}
</
style
>
<
template
>
<div
class=
"offlineIndex"
>
<div
class=
"mainLeftMenu"
>
<div
class=
"leftMenu1"
>
<div
class=
"F_Logo"
>
<div
class=
"asideInner"
@
click=
"CommonJump('mallIndex')"
>
{{
currentUser
.
MallName
}}
</div>
</div>
<ul
class=
"FsettingUU"
>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/contactus'}"
@click="isChecked='/contactus',CommonJump('contactus')">
<i
class=
"el-icon-menu"
></i><span>
联系我们
</span>
</li>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/companyList'}"
@click="isChecked='/companyList',CommonJump('companyList')">
<i
class=
"el-icon-menu"
></i><span>
公司资料
</span>
</li>
</ul>
</div>
</div>
<div
class=
"mainRightContent"
>
<div
class=
"mainRightTop"
>
<div
class=
"mainRightLeft"
>
贸易服务
</div>
<div
class=
"marinRightList"
>
<ul>
<li
style=
"display:none"
>
缓存
</li>
<li
style=
"display:none"
>
title="教程管理">
<el-dropdown
trigger=
"click"
>
<span
class=
"el-dropdown-link"
>
教程管理
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item>
操作教程
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
<li
:title=
"currentUser.MallName"
>
<el-dropdown
trigger=
"click"
>
<span
class=
"el-dropdown-link"
>
{{
currentUser
.
MallName
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
disabled
>
{{
currentUser
.
MallName
}}
</el-dropdown-item>
<el-dropdown-item
disabled
>
{{
currentUser
.
Account
}}
(
{{
currentUser
.
MobilePhone
}}
)
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"CommonJump('index')"
>
返回系统
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
</ul>
</div>
</div>
<div
class=
"main_routerPage"
:style=
"
{height: Height+'px'}">
<router-view
/>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
currentUser
:
{},
isChecked
:
''
,
Height
:
0
,
ERPEmpId
:
0
,
};
},
created
()
{
this
.
currentUser
=
this
.
getLocalStorage
();
this
.
ERPEmpId
=
this
.
currentUser
.
ERPEmpId
this
.
isChecked
=
this
.
$route
.
path
;
if
(
this
.
$route
.
query
.
FIndex
)
{
this
.
CommonJump
(
'contactus'
);
this
.
isChecked
=
'/contactus'
}
},
methods
:
{},
mounted
()
{
this
.
Height
=
document
.
documentElement
.
clientHeight
-
60
;
//监听浏览器窗口变化
window
.
onresize
=
()
=>
{
this
.
Height
=
document
.
documentElement
.
clientHeight
-
60
}
}
};
</
script
>
src/plug/index.js
View file @
50d8baa8
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
let
domainUrl
=
''
;
let
domainUrl
=
''
;
let
javaUrl
=
'http://192.168.2.65:8018'
;
let
javaUrl
=
'http://192.168.2.65:8018'
;
domainUrl
=
"http://192.168.1.27:8200"
;
domainUrl
=
"http://192.168.1.27:8200"
;
domainUrl
=
"https://localhost:5001"
;
let
vtUploadUrl
=
"http://192.168.1.214:8120"
;
let
vtUploadUrl
=
"http://192.168.1.214:8120"
;
let
vtViewUrl
=
"http://192.168.1.214:8130"
;
let
vtViewUrl
=
"http://192.168.1.214:8130"
;
...
...
src/router/index.js
View file @
50d8baa8
...
@@ -183,8 +183,6 @@ export default new Router({
...
@@ -183,8 +183,6 @@ export default new Router({
name
:
'printManage'
,
name
:
'printManage'
,
component
:
resolve
=>
require
([
'@/components/empower/printManage'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/empower/printManage'
],
resolve
),
},
},
]
]
},
},
{
{
...
@@ -270,7 +268,6 @@ export default new Router({
...
@@ -270,7 +268,6 @@ export default new Router({
name
:
'directorOrderDetails'
,
name
:
'directorOrderDetails'
,
component
:
resolve
=>
require
([
'@/components/director/directorOrderDetails'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/director/directorOrderDetails'
],
resolve
),
}
}
]
]
},
},
{
{
...
@@ -556,6 +553,37 @@ export default new Router({
...
@@ -556,6 +553,37 @@ export default new Router({
}
}
]
]
},
},
{
path
:
'/tradePavilionIndex'
,
//贸易管理
name
:
'tradePavilionIndex'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/tradePavilionIndex'
],
resolve
),
children
:
[
//贸易管理--联系我们
{
path
:
'/contactus'
,
name
:
'contactus'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/contactus'
],
resolve
),
},
//贸易管理--联系我们--新增联系人
{
path
:
'/addContact'
,
name
:
'addContact'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/addContact'
],
resolve
),
},
//贸易管理--公司资料管理
{
path
:
'/companyList'
,
name
:
'companyList'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/companyList'
],
resolve
),
},
//贸易管理--公司资料管理--公司详情
{
path
:
'/companyinfo'
,
name
:
'companyinfo'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/companyinfo'
],
resolve
),
},
]
},
{
{
path
:
'/mall'
,
path
:
'/mall'
,
...
...
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