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
61d6bc60
Commit
61d6bc60
authored
Dec 12, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
0921e6af
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
14 deletions
+25
-14
brandInformation.vue
pages/kotra/BrandEnterSetIn/components/brandInformation.vue
+2
-1
buildingInformation.vue
.../kotra/BrandEnterSetIn/components/buildingInformation.vue
+3
-3
carrierInformation.vue
...s/kotra/BrandEnterSetIn/components/carrierInformation.vue
+2
-2
enterInformation.vue
pages/kotra/BrandEnterSetIn/components/enterInformation.vue
+1
-1
enterIndex.vue
pages/kotra/BrandEnterSetIn/enterIndex.vue
+17
-7
No files found.
pages/kotra/BrandEnterSetIn/components/brandInformation.vue
View file @
61d6bc60
...
...
@@ -387,10 +387,11 @@
onLoad
(
options
){
let
MallBaseId
=
uni
.
getStorageSync
(
"mall_UserInfo"
).
MallBaseId
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
MallBaseId
:
1
;
this
.
action
=
this
.
host2
+
'/api/File/UploadTencent?MallBaseId='
+
MallBaseId
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
GetProjectTypeEnumList
()
//载体性质
this
.
getbrandList
()
this
.
model
.
CompanyId
=
this
.
datas
.
CompanyId
...
...
pages/kotra/BrandEnterSetIn/components/buildingInformation.vue
View file @
61d6bc60
...
...
@@ -501,10 +501,10 @@ export default {
:
1
;
this
.
action
=
this
.
host2
+
"/api/File/UploadTencent?MallBaseId="
+
MallBaseId
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
created
()
{
console
.
log
(
289
,
this
.
datas
)
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
GetAuthenticationCategoryEnumList
();
//首店类别
this
.
GetProjectTypeEnumList
();
//载体性质
this
.
model
.
CompanyId
=
this
.
datas
.
CompanyId
;
...
...
@@ -897,7 +897,7 @@ export default {
if
(
res
.
resultCode
==
1
)
{
this
.
shenList
=
res
.
data
;
if
(
this
.
model
.
FirstShopNumList
.
length
===
0
)
{
if
(
this
.
model
.
FirstShopNumList
&&
this
.
model
.
FirstShopNumList
.
length
===
0
)
{
this
.
shenList
.
map
((
item
)
=>
{
let
obj
=
{
Id
:
item
.
Id
,
...
...
pages/kotra/BrandEnterSetIn/components/carrierInformation.vue
View file @
61d6bc60
...
...
@@ -608,10 +608,10 @@ export default {
:
1
;
this
.
action
=
this
.
host2
+
"/api/File/UploadTencent?MallBaseId="
+
MallBaseId
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
created
()
{
console
.
log
(
289
,
this
.
datas
)
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
GetAuthenticationCategoryEnumList
();
//首店类别
this
.
GetProjectTypeEnumList
();
//载体性质
this
.
model
.
CompanyId
=
this
.
datas
.
CompanyId
;
...
...
pages/kotra/BrandEnterSetIn/components/enterInformation.vue
View file @
61d6bc60
...
...
@@ -443,10 +443,10 @@
onLoad
(
options
){
let
MallBaseId
=
uni
.
getStorageSync
(
"mall_UserInfo"
).
MallBaseId
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
MallBaseId
:
1
;
this
.
action
=
this
.
host2
+
'/api/File/UploadTencent?MallBaseId='
+
MallBaseId
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
GetProjectTypeEnumList
()
//载体性质
this
.
getbrandList
()
this
.
model
.
CompanyId
=
this
.
datas
.
CompanyId
...
...
pages/kotra/BrandEnterSetIn/enterIndex.vue
View file @
61d6bc60
...
...
@@ -396,6 +396,7 @@ export default {
filePath
:
res
.
tempFilePaths
[
0
],
encoding
:
"base64"
,
//编码格式
success
:
(
ans
)
=>
{
console
.
log
(
'in'
)
that
.
getImgInfo
(
ans
.
data
,
that
.
access_token
,
(
_res
)
=>
{
console
.
log
(
"getImgInfo"
,
_res
);
if
(
_res
.
data
.
direction
==
1
)
{
...
...
@@ -428,17 +429,26 @@ export default {
getImgInfo
(
data
,
token
,
resCall
)
{
let
that
=
this
;
uni
.
request
({
url
:
"https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=uHc6N5qsYBfZs3jrM0DOLXCc&client_secret=8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J"
,
// 百度获取token接口地址
url
:
"https://aip.baidubce.com/rest/2.0/ocr/v1/business_license?access_token="
+
token
,
method
:
"POST"
,
header
:
{
"Content-Type"
:
"application/x-www-form-urlencoded"
,
},
data
:
{
grant_type
:
"client_credentials"
,
// 固定写死
client_id
:
"uHc6N5qsYBfZs3jrM0DOLXCc"
,
client_secret
:
"8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J"
,
image
:
data
,
},
method
:
"POST"
,
success
(
res
)
{
that
.
access_token
=
res
.
data
.
access_token
;
resCall
(
res
);
},
fail
(
res
)
{
wx
.
showToast
({
title
:
"图片类型错误!"
,
icon
:
"none"
,
duration
:
1000
,
});
},
fail
(
e
)
{},
});
},
//图片上传
...
...
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