Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
53eb949a
Commit
53eb949a
authored
Jul 28, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首店审核功能
parent
46604dfc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
795 additions
and
3 deletions
+795
-3
pages.json
pages.json
+2
-0
brandInformation.vue
pages/kotra/brandInformation.vue
+2
-1
enterpriseCertificationList.vue
pages/kotra/enterpriseCertificationList.vue
+198
-2
enterpriseCertificationdetails.vue
pages/kotra/enterpriseCertificationdetails.vue
+584
-0
user-center.vue
pages/user-center/user-center.vue
+9
-0
No files found.
pages.json
View file @
53eb949a
...
...
@@ -730,6 +730,8 @@
"path"
:
"brandSearch"
//品牌列表的搜索
},{
"path"
:
"enterpriseCertificationList"
//企业认证列表
},{
"path"
:
"enterpriseCertificationdetails"
//企业认证详情
}]
}
],
"globalStyle"
:
{
...
...
pages/kotra/brandInformation.vue
View file @
53eb949a
...
...
@@ -494,10 +494,11 @@
this
.
disabled2
=
true
}
if
(
this
.
model
.
ExistBrandId
>
0
){
this
.
BrandClassName
=
data
.
ClassName
;
this
.
disabled2
=
true
this
.
disabled3
=
true
}
this
.
BrandClassName
=
data
.
ClassName
;
}
...
...
pages/kotra/enterpriseCertificationList.vue
View file @
53eb949a
<
style
lang=
"scss"
scoped
>
.entercerlist
{
.box
{
width
:
100%
;
height
:
100%
;
.box_item
{
width
:
100%
;
height
:
190rpx
;
background
:
#FFFFFF
;
padding
:
15px
;
border-radius
:
15px
;
margin-top
:
15px
;
box-shadow
:
0px
5px
5px
0px
rgba
(
218
,
220
,
230
,
0
.85
);
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
.box_i_t
{
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
.box_i_t_l
{
display
:
flex
;
align-items
:
center
;
margin-right
:
10px
;
.box_i_t_lt
{
font-size
:
15px
;
font-weight
:
bold
;
color
:
#1F1F1F
;
width
:
calc
(
100vw
-
60px
-
34rpx
-
100rpx
-
20px
);
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
}
.box_i_t_r
{
font-size
:
12px
;
font-weight
:
500
;
color
:
#111111
;
width
:
100rpx
;
text-align
:
right
;
font-family
:
PingFang
SC
;
}
}
.box_i_b
{
width
:
100%
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
font-size
:
12px
;
color
:
#999999
;
}
}
}
}
</
style
>
<
template
>
<div
class=
"entercerlist"
:style=
"
{'background-color': '#f6f6f6','height': '100vh','overflow': 'hidden'}">
<view
style=
"display: flex; align-items: center;"
>
<view
style=
"flex:1;overflow: hidden;"
>
<u-tabs
bg-color=
"#f6f6f6"
:is-scroll=
"false"
name=
"ClassName"
:list=
"typeList"
:active-color=
"mainColor"
:current=
"active"
@
change=
"changeHandler"
:show-bar=
"true"
:activeFontSize=
"34"
:bold=
"true"
height=
"100"
duration=
"0"
font-size=
"28"
></u-tabs>
</view>
</view>
<u-empty
v-if=
"g.length == 0"
text=
"暂无内容"
mode=
"list"
></u-empty>
<view
style=
"height: calc(100% - 51px);padding:0px 15px;"
v-if=
"g.length > 0"
>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
style=
"height: 100%; padding-bottom: 0px;"
>
<view
class=
"box"
>
<view
class=
"box_item"
v-for=
"(x,y) in g"
:key=
"y"
@
click=
"godetails(x.CompanyId)"
>
<view
class=
"box_i_t"
>
<view
class=
"box_i_t_l"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/qytoexamine.png"
style=
"width: 34rpx;height: 40rpx;margin-right: 10px;"
></image>
<view
class=
"box_i_t_lt"
>
{{
x
.
CompanyName
}}
</view>
</view>
<view
class=
"box_i_t_r"
>
<span
v-if=
"x.CompanyStatus == 0"
>
审核中
</span>
<span
v-if=
"x.CompanyStatus== 1"
style=
"color: #00DFB8;"
>
审核通过
</span>
<span
v-if=
"x.CompanyStatus == 2"
style=
"color: #F70027;"
>
审核失败
</span>
</view>
</view>
<view
style=
"width: 100%;height: 1px;background: #E2E2E2;"
></view>
<view
class=
"box_i_b"
>
统一社会信用代码:
{{
x
.
UnifiedCode
?
x
.
UnifiedCode
:
''
}}
</view>
</view>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"#f6f6f6"
/>
</view>
</scroll-view>
</view>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
mainColor
:
''
,
active
:
0
,
searchKey
:
""
,
typeList
:
[{
ID
:
-
1
,
ClassName
:
'全部'
},{
ID
:
0
,
ClassName
:
'待审核'
},{
ID
:
1
,
ClassName
:
'审核通过'
},{
ID
:
2
,
ClassName
:
'审核失败'
},],
msg
:{
pageIndex
:
1
,
pageSize
:
20
,
CompanyStatus
:
-
1
,
},
loadText
:
{
loadmore
:
"轻轻上拉,加载更多"
,
loading
:
"努力加载中"
,
nomore
:
"没有更多了"
,
},
page_count
:
1
,
status
:
"loadmore"
,
g
:
[],
contentHeight
:
0
,
};
},
onLoad
(
options
)
{
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
mounted
()
{
uni
.
setNavigationBarTitle
({
title
:
'企业认证'
,
});
let
c
=
this
.
$uiConfig
.
is_bang
?
78
:
50
;
this
.
contentHeight
=
this
.
$utils
.
calcContentHeight
(
c
)
+
40
;
this
.
init
();
},
methods
:
{
init
()
{
this
.
request2
(
{
url
:
'/api/AppletTrade/GetAdminCompanyPageList'
,
data
:
this
.
msg
},
res
=>
{
if
(
res
.
resultCode
==
1
){
this
.
g
=
this
.
g
.
concat
(
res
.
data
.
pageData
);
this
.
page_count
=
res
.
data
.
pageCount
;
if
(
this
.
page_count
==
1
)
{
this
.
status
=
"nomore"
;
}
}
}
);
},
lower
(
e
)
{
if
(
this
.
msg
.
pageIndex
<
this
.
page_count
)
{
this
.
msg
.
pageIndex
++
;
this
.
status
=
"loading"
;
this
.
init
();
}
else
{
this
.
status
=
"nomore"
;
}
},
changeHandler
(
i
)
{
this
.
active
=
i
;
this
.
msg
.
CompanyStatus
=
this
.
typeList
[
i
].
ID
;
this
.
msg
.
pageIndex
=
1
;
this
.
g
=
[];
this
.
init
();
},
openGood
(
id
)
{
uni
.
navigateTo
({
url
:
'/pages/kotra/brand/detail?id='
+
id
,
});
},
godetails
(
CompanyId
){
uni
.
navigateTo
({
url
:
'/pages/kotra/enterpriseCertificationdetails?CompanyId='
+
CompanyId
})
},
getchildren
(){
this
.
msg
.
pageIndex
=
1
;
this
.
g
=
[];
this
.
init
();
}
}
};
</
script
>
<
style
>
</
style
>
pages/kotra/enterpriseCertificationdetails.vue
0 → 100644
View file @
53eb949a
<
style
lang=
"scss"
scoped
>
.entercerdetails
{
width
:
100%
;
height
:
100vh
;
background
:
#FFF
;
.box
{
width
:
calc
(
100vw
-
30px
);
margin-top
:
10px
;
margin-left
:
15px
;
margin-bottom
:
80px
;
background
:
#FFF
;
border-radius
:
15px
;
box-shadow
:
0px
5px
25px
0px
rgba
(
218
,
220
,
230
,
0
.85
);
padding
:
15px
;
.box_title
{
width
:
67px
;
height
:
17px
;
margin-bottom
:
10px
;
image
{
width
:
100%
;
height
:
100%
;
}
}
.box_item
{
width
:
100%
;
padding
:
15px
0
;
display
:
flex
;
align-items
:
flex-start
;
justify-content
:
space-between
;
border-bottom
:
1px
solid
#E2E2E2
;
.box_item_l
{
width
:
120rpx
;
font-size
:
13px
;
color
:
#999999
;
margin-right
:
15px
;
}
.box_item_r
{
width
:
1px
;
flex
:
1
;
font-size
:
13px
;
color
:
#111111
;
font-weight
:
500
;
font-family
:
PingFang
SC
;
text-align
:
right
;
}
}
}
.page_bottom
{
position
:
fixed
;
left
:
0
;
bottom
:
0
;
width
:
100%
;
height
:
70px
;
background
:
#FFF
;
display
:
flex
;
align-items
:
center
;
padding
:
0
15px
;
z-index
:
9999999
;
justify-content
:
space-between
;
.page_bottom_item
{
width
:
330rpx
;
height
:
40px
;
border-radius
:
10px
;
font-size
:
14px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.page_bl
{
color
:
#FFFFFF
;
}
.page_br
{
border
:
1px
solid
#111111
;
color
:
#111111
;
}
}
}
</
style
>
<
template
>
<view
class=
"entercerdetails"
v-if=
"data"
>
<view
class=
"page_bottom"
v-if=
"data.CompanyStatus==0"
>
<view
class=
"page_bottom_item page_bl"
:style=
"
{background:mainColor}" @click="adopt(1)">
审核通过
</view>
<view
class=
"page_bottom_item page_br"
@
click=
"adopt(2)"
>
审核拒绝
</view>
</view>
<view
class=
"box"
>
<view
class=
"box_title"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Companyinformation.png"
></image>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
企业名称
</view>
<view
class=
"box_item_r"
>
{{
data
.
CompanyName
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
法人
</view>
<view
class=
"box_item_r"
>
{{
data
.
LegalPerson
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
style=
"width: 220rpx;"
>
统一社会信用代码
</view>
<view
class=
"box_item_r"
>
{{
data
.
UnifiedCode
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
公司状态
</view>
<span
v-if=
"data.CompanyStatus==0"
>
审核中
</span>
<span
v-if=
"data.CompanyStatus==1"
style=
"color: #00DFB8;"
>
审核通过
</span>
<span
v-if=
"data.CompanyStatus==2"
style=
"color: #F70027;"
>
审核失败
</span>
</view>
<view
class=
"box_item"
v-if=
"data.CompanyStatus==2"
>
<view
class=
"box_item_l"
>
拒绝理由
</view>
<span
>
{{
data
.
RejectRemark
}}
</span>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
联系电话
</view>
<view
class=
"box_item_r"
>
{{
data
.
Mobile
}}
</view>
</view>
<view
class=
"box_item"
style=
"border-bottom: none;"
>
<view
class=
"box_item_l"
>
营业执照
</view>
<view
class=
"box_item_r"
>
<image
:src=
"data.BusinessLicense"
style=
"width: 210rpx;height: auto;"
mode=
"widthFix"
@
click=
"previewImage([data.BusinessLicense],1)"
></image>
</view>
</view>
<!-- 品牌 -->
<view
v-if=
"data.FirstShopType==1"
>
<view
class=
"box_title"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Brandinformation.png"
></image>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
品牌分类
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
ClassName
?
data
.
BrandModel
.
ClassName
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
品牌全名
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
FullBrandName
?
data
.
BrandModel
.
FullBrandName
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
品牌名
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
BrandName
?
data
.
BrandModel
.
BrandName
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
Logo
</view>
<view
class=
"box_item_r"
v-if=
"data.BrandModel.Logo && data.BrandModel.Logo!=''"
>
<image
:src=
"data.BrandModel.Logo"
style=
"width: 120rpx;height: 120rpx;"
mode=
"aspectFill"
@
click=
"previewImage([data.BrandModel.Logo],1)"
></image>
</view>
<view
class=
"box_item_r"
v-else
></view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
介绍图
</view>
<view
class=
"box_item_r"
style=
"display: flex;flex-wrap: wrap;"
>
<view
style=
"width: 100%;"
v-if=
"data.BrandModel.BannerList &&data.BrandModel.BannerList.length>0"
>
<image
v-for=
"(x,y) in data.BrandModel.BannerList"
:src=
"x"
style=
"width: 120rpx;height: 120rpx;border-radius: 4px;margin-left: 5px;"
@
click=
"previewImage(data.BrandModel.BannerList,y)"
></image>
</view>
<view
v-else
>
无
</view>
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
品牌视频
</view>
<view
class=
"box_item_r"
style=
"display: flex;justify-content: flex-end;"
>
<span
v-if=
"!data.BrandModel.VideoUrl && data.BrandModel.VideoUrl==''"
>
无
</span>
<view
style=
"width: 150px; height: 200px;position: relative;"
v-else
>
<video
id=
"myVideo1"
:src=
"data.BrandModel.VideoUrl"
style=
"width: 100%;height: 100%;"
:controls=
'controls'
:show-center-play-btn=
'false'
:show-fullscreen-btn=
'false'
@
fullscreenchange=
'videoControl'
></video>
<view
style=
"width: 100%;height: 100%;position: absolute;left: 0;top: 0;display: flex;align-items: center;justify-content: center;"
@
click=
"enlarge(1)"
>
<u-icon
name=
"play-circle-o"
:size=
"70"
color=
"#FFF"
></u-icon>
</view>
</view>
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
店铺数量
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
ShopNum
?
data
.
BrandModel
.
ShopNum
:
0
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
开店意愿
</view>
<view
class=
"box_item_r"
>
<u-rate
:disabled=
"true"
v-model=
"data.BrandModel.OpenShopWish"
:current=
"data.BrandModel.OpenShopWish?data.BrandModel.OpenShopWish:'5'"
:active-color=
"mainColor"
inactive-color=
"#DDDDDD"
active-icon=
"star"
inactive-icon=
"star-o"
size=
"40"
></u-rate>
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
建筑面积
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
BuiltUpArea
}}
~
{{
data
.
BrandModel
.
EndBuiltUpArea
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
需求面积
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
AreaRequirement
}}
~
{{
data
.
BrandModel
.
EndAreaRequirement
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
客群定位
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
CustomerType
?
data
.
BrandModel
.
CustomerType
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
品牌定位
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
BrandType
?
data
.
BrandModel
.
BrandType
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
拓展区域
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
StoreExpansion
?
data
.
BrandModel
.
StoreExpansion
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
品牌性质
</view>
<view
class=
"box_item_r"
>
{{
data
.
BrandModel
.
ProjectName
?
data
.
BrandModel
.
ProjectName
:
''
}}
</view>
</view>
<view
class=
"box_item"
v-for=
"(x,y) in brandList"
:key=
"y"
>
<view
class=
"box_item_l"
:style=
"
{width: x.name=='店铺开口尺寸'?'80px':'60px'}" >
{{
x
.
name
}}
</view>
<view
class=
"box_item_r"
style=
"display: flex;align-items: center;justify-content: flex-end;"
>
<!-- 前面4个并且选择中是的情况显示 -->
<view
v-if=
"y
<4
&&
data
.
BrandModel
[
x
.
field
]==
1
"
style=
"width: 1px;flex:1;text-align: right;margin-right: 10px;"
>
{{
data
.
BrandModel
[
x
.
value
]?
data
.
BrandModel
[
x
.
value
]:
''
}}
</view>
<!--
<u-radio-group
v-model=
"data.BrandModel[x.field]"
>
<u-radio
shape=
"circle"
v-for=
"(item, index) in radiolist"
:key=
"index"
:name=
"item.Id"
:disabled=
"true"
>
{{
item
.
name
}}
</u-radio>
</u-radio-group>
-->
<radio-group
style=
"display: flex;"
>
<label
v-for=
"(item, index) in radiolist"
:key=
"index"
style=
"display: flex;margin-right: 10px;align-items: center;"
>
<view
style=
"transform:scale(0.7)"
>
<radio
:value=
"item.Id"
:checked=
"item.Id == data.BrandModel[x.field]"
color=
'#2979ff'
:disabled=
"true"
/>
</view>
<view>
{{
item
.
name
}}
</view>
</label>
</radio-group>
</view>
</view>
<view
class=
"box_item"
@
click=
"gobrand"
v-if=
"data.BrandModel.ExistBrandId>0"
>
<view
class=
"box_item_l"
>
关联品牌
</view>
<view
class=
"box_item_r"
style=
"display: flex;align-items: center;justify-content: flex-end;"
>
<span
style=
"color: #F70027;font-size: 13px;"
>
查看详情
</span>
<u-icon
name=
"arrow"
color=
"#A5A4AC"
size=
"30"
></u-icon>
</view>
</view>
</view>
<!-- 载体 -->
<view
v-if=
"data.FirstShopType==2"
>
<view
class=
"box_title"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/carrierinformation.png"
></image>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
载体名称
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
CarrierName
?
data
.
CarrierModel
.
CarrierName
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
开发商
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
Developers
?
data
.
CarrierModel
.
Developers
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
Logo
</view>
<view
class=
"box_item_r"
v-if=
"data.CarrierModel.Logo && data.CarrierModel.Logo!=''"
>
<image
:src=
"data.CarrierModel.Logo"
style=
"width: 120rpx;height: 120rpx;"
mode=
"aspectFill"
@
click=
"previewImage([data.CarrierModel.Logo],1)"
></image>
</view>
<view
class=
"box_item_r"
v-else
></view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
介绍图
</view>
<view
class=
"box_item_r"
style=
"display: flex;flex-wrap: wrap;"
>
<view
style=
"width: 100%;"
v-if=
"data.CarrierModel.BannerList &&data.CarrierModel.BannerList.length>0"
>
<image
v-for=
"(x,y) in data.CarrierModel.BannerList"
:src=
"x"
style=
"width: 120rpx;height: 120rpx;border-radius: 4px;margin-left: 10px;"
@
click=
"previewImage(data.CarrierModel.BannerList,y)"
></image>
</view>
<view
v-else
>
无
</view>
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
载体视频
</view>
<view
class=
"box_item_r"
style=
"display: flex;justify-content: flex-end;"
>
<span
v-if=
"!data.CarrierModel.VideoUrl && data.CarrierModel.VideoUrl==''"
>
无
</span>
<view
style=
"width: 150px; height: 200px;position: relative;"
v-else
>
<video
id=
"myVideo2"
:src=
"data.CarrierModel.VideoUrl"
style=
"width: 100%;height: 100%;"
:controls=
'controls'
:show-center-play-btn=
'false'
:show-fullscreen-btn=
'false'
@
fullscreenchange=
'videoControl'
></video>
<view
style=
"width: 100%;height: 100%;position: absolute;left: 0;top: 0;display: flex;align-items: center;justify-content: center;"
@
click=
"enlarge(2)"
>
<u-icon
name=
"play-circle-o"
:size=
"70"
color=
"#FFF"
></u-icon>
</view>
</view>
</view>
</view>
<view
class=
"box_item"
@
click=
"goMap()"
>
<view
class=
"box_item_l"
>
项目地址
</view>
<view
class=
"box_item_r"
style=
"display: flex;align-items: center;justify-content: flex-end;"
>
{{
data
.
CarrierModel
.
Address
?
data
.
CarrierModel
.
Address
:
''
}}
<u-icon
name=
"arrow"
color=
"#A5A4AC"
size=
"30"
></u-icon>
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
经纬度
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
LatAndLon
?
data
.
CarrierModel
.
LatAndLon
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
开业时间
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
OpenTime
?
data
.
CarrierModel
.
OpenTime
.
split
(
'T'
)[
0
]:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
项目类型
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
ProjectName
?
data
.
CarrierModel
.
ProjectName
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
商业体量
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
CarrierSize
?
data
.
CarrierModel
.
CarrierSize
+
'万平方米'
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
商业层数
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
LayersNum
?
data
.
CarrierModel
.
LayersNum
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
车位数量
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
CarNum
?
data
.
CarrierModel
.
CarNum
:
0
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
业态规则
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
CarrierPlan
?
data
.
CarrierModel
.
CarrierPlan
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
招引目标
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
CarrierTarget
?
data
.
CarrierModel
.
CarrierTarget
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
总体定位
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
Location
?
data
.
CarrierModel
.
Location
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
目标人群
</view>
<view
class=
"box_item_r"
>
{{
data
.
CarrierModel
.
Crowd
?
data
.
CarrierModel
.
Crowd
:
''
}}
</view>
</view>
<view
class=
"box_item"
>
<view
class=
"box_item_l"
>
地铁信息
</view>
<view
class=
"box_item_r"
v-if=
"data.CarrierModel.CarrierMetroList && data.CarrierModel.CarrierMetroList.length>0"
>
<view
v-for=
"(x,y) in data.CarrierModel.CarrierMetroList"
:key=
'y'
>
{{
x
.
MetroNum
}}
号线
{{
x
.
MetroName
}}
,
{{
x
.
Distance
}}
</view>
</view>
<view
class=
"box_item_r"
v-else
>
无
</view>
</view>
<view
class=
"box_item"
@
click=
"gozaiti"
v-if=
"data.CarrierModel.ExistCarrierId>0"
>
<view
class=
"box_item_l"
>
关联详情
</view>
<view
class=
"box_item_r"
style=
"display: flex;align-items: center;justify-content: flex-end;"
>
<span
style=
"color: #F70027;font-size: 13px;"
>
查看详情
</span>
<u-icon
name=
"arrow"
color=
"#A5A4AC"
size=
"30"
></u-icon>
</view>
</view>
</view>
</view>
<u-popup
v-model=
"showModal"
mode=
"center"
length=
"80%"
>
<view
style=
'display: flex;flex-direction: column;align-items: center;background: #fff;'
>
<view
style=
"display: flex;align-items: center;justify-content: center;height:70px ;"
v-if=
"examineMsg.CompanyStatus==1"
>
<Text
>
是否同意审核?
</Text>
</view>
<view
style=
"display: flex;flex-direction: column;height:150px ;width: 100%;padding: 15px;"
v-if=
'examineMsg.CompanyStatus==2'
>
<Text
style=
'margin-top: 5px;margin-bottom: 10px;margin-left: 5%;'
>
拒绝理由
</Text>
<textarea
placeholder=
"输入理由"
style=
"height: 100px;width: 90%;margin-left: 5%;"
class=
"inputM"
v-model=
"examineMsg.Remark"
/>
</view>
<view
style=
"display: flex;flex-direction: row;align-items: center;height: 50px;border-top: 1px solid #F5F5F5;width: 100%;"
>
<view
style=
"width: 50%;display: flex;align-items: center;justify-content: center"
@
click=
"showModal=false"
>
<Text>
取消
</Text>
</view>
<view
style=
"width: 50%;color: #a0cfff;display: flex;align-items: center;justify-content: center"
@
click=
"confirm"
>
<Text>
确定
</Text>
</view>
</view>
</view>
</u-popup>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
mainColor
:
''
,
loading
:
false
,
CompanyId
:
0
,
data
:
null
,
radiolist
:[{
Id
:
1
,
name
:
'是'
},{
Id
:
0
,
name
:
'否'
},],
brandList
:[
{
name
:
"店铺开口尺寸"
,
field
:
"IsShopSize"
,
value
:
'ShopSize'
},
{
name
:
"燃气"
,
field
:
"RanQi"
,
value
:
'RanQiBZ'
},
{
name
:
"排烟量"
,
field
:
"PaiYan"
,
value
:
'PaiYanBZ'
},
{
name
:
"电量"
,
field
:
"IsDianLiang"
,
value
:
'DianLiang'
},
{
name
:
"上下水"
,
field
:
"Plumbing"
,},
{
name
:
"管径"
,
field
:
"Caliber"
,},
{
name
:
"排污"
,
field
:
"Sewage"
,},
{
name
:
"空调"
,
field
:
"KongTiao"
,},
{
name
:
"新风"
,
field
:
"XinFeng"
,},
],
showModal
:
false
,
examineMsg
:{
CompanyId
:
0
,
CompanyStatus
:
1
,
Remark
:
''
,
},
controls
:
false
,
//显示默认控件
};
},
onLoad
(
options
)
{
if
(
options
&&
options
.
CompanyId
){
this
.
CompanyId
=
options
.
CompanyId
}
this
.
getdetails
()
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
mounted
()
{
uni
.
setNavigationBarTitle
({
title
:
'认证详情'
,
});
},
methods
:
{
getdetails
(){
this
.
request2
(
{
url
:
'/api/AppletTrade/GetAdminCompany'
,
data
:
{
CompanyId
:
this
.
CompanyId
}
},
res
=>
{
if
(
res
.
resultCode
==
1
){
this
.
data
=
res
.
data
;
this
.
examineMsg
.
CompanyId
=
this
.
data
.
CompanyId
;
}
}
);
},
previewImage
(
imgs
,
i
)
{
uni
.
previewImage
({
urls
:
imgs
,
current
:
i
,
});
},
adopt
(
type
){
this
.
showModal
=
true
;
this
.
examineMsg
.
CompanyStatus
=
type
;
this
.
examineMsg
.
Remark
=
''
;
},
confirm
(){
//调取审核接口
if
(
this
.
examineMsg
.
CompanyStatus
==
2
&&
this
.
examineMsg
.
Remark
==
''
){
uni
.
showToast
({
title
:
'请输入拒绝理由'
,
icon
:
'none'
})
}
uni
.
showLoading
({
title
:
'提交中...'
})
let
pages
=
getCurrentPages
();
// 当前页面
let
beforePage
=
pages
[
pages
.
length
-
2
];
// 前一个页面
let
that
=
this
this
.
request2
(
{
url
:
'/api/AppletTrade/UpdateAdminCompanyStatus'
,
data
:
that
.
examineMsg
},
res
=>
{
if
(
res
.
resultCode
==
1
){
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
setTimeout
(()
=>
{
uni
.
navigateBack
({
success
:
function
()
{
beforePage
.
$vm
.
getchildren
();
// 执行前一个页面的方法
}
});
},
1000
)
}
this
.
showModal
=
false
;
uni
.
hideLoading
()
},
failed
=>
{
this
.
showModal
=
false
;
uni
.
hideLoading
()
}
);
},
goMap
()
{
let
lat
=
parseFloat
(
this
.
data
.
CarrierModel
.
LatAndLon
.
split
(
','
)[
0
])
let
lon
=
parseFloat
(
this
.
data
.
CarrierModel
.
LatAndLon
.
split
(
','
)[
1
])
wx
.
openLocation
({
latitude
:
lat
,
longitude
:
lon
,
scale
:
18
,
// address:"武侯区科华中路 2 号",
success
:(
res
)
=>
{
console
.
log
(
res
)
},
fail
:
(
err
)
=>
{
console
.
log
(
err
)
}
})
},
enlarge
(
type
)
{
// 全屏
this
.
videoContext
=
uni
.
createVideoContext
(
'myVideo'
+
type
);
this
.
videoContext
.
requestFullScreen
({
direction
:
0
})
},
videoControl
(
e
){
if
(
e
.
detail
.
fullScreen
==
false
){
this
.
videoContext
.
stop
()
this
.
controls
=
false
}
else
{
this
.
videoContext
.
play
()
this
.
controls
=
true
}
},
gozaiti
(){
//查看载体详情
uni
.
navigateTo
({
url
:
'/pages/kotra/carrier/detail?id='
+
this
.
data
.
CarrierModel
.
ExistCarrierId
+
'&type='
+
this
.
data
.
CarrierModel
.
ProjectName
})
},
gobrand
(){
uni
.
navigateTo
({
url
:
'/pages/kotra/brand/detail?id='
+
this
.
data
.
BrandModel
.
ExistBrandId
,
})
}
}
};
</
script
>
pages/user-center/user-center.vue
View file @
53eb949a
...
...
@@ -368,6 +368,7 @@
let
IsOpen
=
this
.
shopBasics
.
model
&&
this
.
shopBasics
.
model
.
IsOpen
?
this
.
shopBasics
.
model
.
IsOpen
:
1
;
let
SmallShopId
=
this
.
mall_UserInfo
.
SmallShopId
?
this
.
mall_UserInfo
.
SmallShopId
:
0
;
let
UserSmallShopId
=
this
.
mall_UserInfo
.
UserSmallShopId
?
this
.
mall_UserInfo
.
UserSmallShopId
:
0
;
let
IsAdmin
=
this
.
mall_UserInfo
.
IsAdmin
?
this
.
mall_UserInfo
.
IsAdmin
:
0
;
switch
(
item
.
link_url
)
{
case
"/pages/share/index/index"
:
if
(
this
.
user_info
.
isShowDistributionCenter
==
1
)
{
...
...
@@ -432,6 +433,14 @@
flag
=
false
;
}
break
;
case
"/pages/kotra/enterpriseCertificationList"
:
if
(
IsAdmin
==
1
){
flag
=
true
;
}
else
{
flag
=
false
;
}
break
;
}
return
flag
;
},
...
...
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