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
6e9dc926
Commit
6e9dc926
authored
Dec 12, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
61d6bc60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
18 deletions
+22
-18
list.vue
pages/kotra/brand/list.vue
+7
-5
list.vue
pages/kotra/carrier/list.vue
+15
-13
No files found.
pages/kotra/brand/list.vue
View file @
6e9dc926
...
...
@@ -218,6 +218,8 @@ export default {
PrizeId
:
0
,
//
IsInChengdu
:
-
1
,
//是否已在成都落地
BrandEnterpriseType
:
null
,
MallBaseId
:
0
,
TenantId
:
null
,
},
loadText
:
{
loadmore
:
"轻轻上拉,加载更多"
,
...
...
@@ -306,13 +308,13 @@ export default {
},
onLoad
(
options
)
{
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
this
.
TenantId
=
uid
.
TenantId
this
.
msg
.
TenantId
=
this
.
TenantId
=
uid
.
TenantId
this
.
replace
=
uni
.
getStorageSync
(
'replace_page_index'
)
this
.
msg
.
BrandEnterpriseType
=
this
.
replace
.
state
==
'1'
?
1
:
2
if
(
options
&&
options
.
id
)
{
this
.
msg
.
BrandClassId
=
options
.
id
;
}
//
if (options && options.id) {
//
this.msg.BrandClassId = options.id;
//
}
// this.u = uni.getStorageSync("mall_UserInfo");
// if (!this.u) {
// this.u = {
...
...
@@ -391,7 +393,7 @@ export default {
init
()
{
let
url
=
"/api/AppletTrade/GetBrandPageList"
if
(
this
.
TenantId
!=
18
&&
this
.
replace
.
state
){
if
(
this
.
replace
.
state
==
'1'
)
url
=
"/api/AppletTrade/GetBrandEnterprisePageList"
if
(
this
.
replace
.
state
==
'1'
)
url
=
"/api/AppletTrade/Get
All
BrandEnterprisePageList"
else
url
=
"/api/AppletTrade/GetEnterpriseServicesPageList"
}
this
.
request2
(
...
...
pages/kotra/carrier/list.vue
View file @
6e9dc926
...
...
@@ -273,7 +273,9 @@ export default {
BuildingCarrierType
:
null
,
IsChengDu
:
-
1
,
//首店类型 1成都 0宜宾
OrderBy
:
""
OrderBy
:
""
,
MallBaseId
:
0
,
TenantId
:
null
,
},
loading
:
false
,
pageCount
:
0
,
...
...
@@ -326,14 +328,14 @@ export default {
text
:
'全部'
,
value
:
-
1
},
{
text
:
'成都'
,
value
:
1
},
{
text
:
'宜宾'
,
value
:
2
},
//
{
//
text: '成都',
//
value: 1
//
},
//
{
//
text: '宜宾',
//
value: 2
//
},
],
};
},
...
...
@@ -397,13 +399,13 @@ export default {
},
onLoad
(
options
)
{
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
this
.
TenantId
=
uid
.
TenantId
this
.
msg
.
TenantId
=
this
.
TenantId
=
uid
.
TenantId
this
.
replace
=
uni
.
getStorageSync
(
'replace_page_index'
)
this
.
msg
.
BuildingCarrierType
=
this
.
replace
.
state
==
'1'
?
1
:
2
if
(
options
&&
options
.
id
)
{
if
(
this
.
TenantId
==
18
)
this
.
msg
.
ProjectType
=
options
.
id
;
else
this
.
msg
.
CategoryId
=
options
.
id
//
if(this.TenantId==18) this.msg.ProjectType = options.id;
//
else this.msg.CategoryId = options.id
}
let
c
=
this
.
$uiConfig
.
is_bang
?
78
:
50
;
this
.
contentHeight
=
this
.
$utils
.
calcContentHeight
(
c
)
+
40
;
...
...
@@ -504,7 +506,7 @@ export default {
getCarrierPageList
()
{
let
url
=
"/api/AppletTrade/GetCarrierPageList"
if
(
this
.
TenantId
!=
18
&&
this
.
replace
.
state
){
if
(
this
.
replace
.
state
==
'1'
)
url
=
"/api/AppletTrade/Get
Building
CarrierPageList"
if
(
this
.
replace
.
state
==
'1'
)
url
=
"/api/AppletTrade/Get
All
CarrierPageList"
else
url
=
"/api/AppletTrade/GetBuildingPageList"
}
this
.
request2
({
...
...
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