Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
e8d2cb22
Commit
e8d2cb22
authored
Apr 16, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
a2bbbd8a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
58 deletions
+80
-58
ActivityInProgress.vue
pages/bigredrnvelope/ActivityInProgress.vue
+4
-4
SettableList.vue
pages/bigredrnvelope/SettableList.vue
+4
-4
upload.vue
pages/bigredrnvelope/components/upload.vue
+71
-49
list.vue
pages/bigredrnvelope/list.vue
+1
-0
mapList.vue
pages/hotel/mapList.vue
+0
-1
No files found.
pages/bigredrnvelope/ActivityInProgress.vue
View file @
e8d2cb22
...
@@ -634,19 +634,19 @@ export default {
...
@@ -634,19 +634,19 @@ export default {
}
}
.ActInProBox.activeLv2
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv2
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv2
.ActInProCenTime
.active
{
.ActInProBox.activeLv2
.ActInProCenTime
.active
{
color
:
#
FF3166
;
color
:
#
E8AA4B
;
}
}
.ActInProBox.activeLv3
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv3
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv3
.ActInProCenTime
.active
{
.ActInProBox.activeLv3
.ActInProCenTime
.active
{
color
:
#
1BCB8B
;
color
:
#
7D49EA
;
}
}
.ActInProBox.activeLv4
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv4
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv4
.ActInProCenTime
.active
{
.ActInProBox.activeLv4
.ActInProCenTime
.active
{
color
:
#
FF9731
;
color
:
#
44667C
;
}
}
.ActInProBox.activeLv5
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv5
.ActInProCenTimeAll.active
,
.ActInProBox.activeLv5
.ActInProCenTime
.active
{
.ActInProBox.activeLv5
.ActInProCenTime
.active
{
color
:
#
9B202
0
;
color
:
#
00
0
;
}
}
.ActInProCenSSE
{
.ActInProCenSSE
{
font-weight
:
bold
;
font-weight
:
bold
;
...
...
pages/bigredrnvelope/SettableList.vue
View file @
e8d2cb22
...
@@ -540,19 +540,19 @@ export default {
...
@@ -540,19 +540,19 @@ export default {
}
}
.SetListBox.activeLv2
.SetListCenTimeAll.active
,
.SetListBox.activeLv2
.SetListCenTimeAll.active
,
.SetListBox.activeLv2
.SetListCenTime
.active
{
.SetListBox.activeLv2
.SetListCenTime
.active
{
color
:
#
FF3166
;
color
:
#
E8AA4B
;
}
}
.SetListBox.activeLv3
.SetListCenTimeAll.active
,
.SetListBox.activeLv3
.SetListCenTimeAll.active
,
.SetListBox.activeLv3
.SetListCenTime
.active
{
.SetListBox.activeLv3
.SetListCenTime
.active
{
color
:
#
1BCB8B
;
color
:
#
7D49EA
;
}
}
.SetListBox.activeLv4
.SetListCenTimeAll.active
,
.SetListBox.activeLv4
.SetListCenTimeAll.active
,
.SetListBox.activeLv4
.SetListCenTime
.active
{
.SetListBox.activeLv4
.SetListCenTime
.active
{
color
:
#
FF9731
;
color
:
#
44667C
;
}
}
.SetListBox.activeLv5
.SetListCenTimeAll.active
,
.SetListBox.activeLv5
.SetListCenTimeAll.active
,
.SetListBox.activeLv5
.SetListCenTime
.active
{
.SetListBox.activeLv5
.SetListCenTime
.active
{
color
:
#
9B202
0
;
color
:
#
00
0
;
}
}
.SetListCenSSE
{
.SetListCenSSE
{
font-weight
:
bold
;
font-weight
:
bold
;
...
...
pages/bigredrnvelope/components/upload.vue
View file @
e8d2cb22
<
template
>
<
template
>
<view
class=
"upImg row justify-center items-center"
@
click=
"chooseImg"
>
<view
class=
"upImg row justify-center items-center"
@
click=
"chooseImg"
>
<
template
v-if=
"img
"
>
<
view
v-if=
"img"
style=
"width: 100%;height: 100%;
"
>
<image
@
click
.
stop=
"previewImage"
:src=
"img"
mode=
"aspectFit"
/>
<image
@
click
.
stop=
"previewImage"
:src=
"img"
mode=
"aspectFit"
/>
<view
class=
"row justify-center items-center"
>
<view
class=
"row justify-center items-center"
>
<view>
重新上传
</view>
<view>
重新上传
</view>
</view>
</view>
</
template
>
</view>
<view
v-else
style=
"width: 100%;height: 100%;opacity: 0;"
>
<text>
1
</text>
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -72,68 +75,87 @@ export default {
...
@@ -72,68 +75,87 @@ export default {
filePath
:
res
.
tempFilePaths
[
0
],
filePath
:
res
.
tempFilePaths
[
0
],
encoding
:
"base64"
,
//编码格式
encoding
:
"base64"
,
//编码格式
success
:
(
ans
)
=>
{
success
:
(
ans
)
=>
{
that
.
getImgInfo
(
ans
.
data
,
that
.
access_token
,
(
_res
)
=>
{
if
(
that
.
type
){
if
(
_res
.
data
.
direction
==
1
)
{
that
.
getImgInfo
(
ans
.
data
,
that
.
access_token
,
(
_res
)
=>
{
//未定义,图片类型错误
if
(
_res
.
data
.
direction
==
1
)
{
wx
.
showToast
({
//未定义,图片类型错误
title
:
"图片类型错误!"
,
wx
.
showToast
({
icon
:
"none"
,
title
:
"图片类型错误!"
,
duration
:
1000
,
icon
:
"none"
,
});
duration
:
1000
,
}
else
{
});
let
datas
=
_res
.
data
.
words_result
;
}
else
{
that
.
upFile
(
res
.
tempFilePaths
[
0
],
(
uploadRes
)
=>
{
let
datas
=
_res
.
data
.
words_result
;
let
BusinessLicense
=
JSON
.
parse
(
that
.
upFile
(
res
.
tempFilePaths
[
0
],
(
uploadRes
)
=>
{
uploadRes
.
data
let
BusinessLicense
=
JSON
.
parse
(
).
data
;
uploadRes
.
data
let
infor
=
{}
).
data
;
infor
.
BusinessLicense
=
BusinessLicense
let
infor
=
{}
if
(
that
.
type
==
'1'
){
infor
.
BusinessLicense
=
BusinessLicense
infor
.
CompanyName
=
datas
.
单位名称
.
words
if
(
that
.
type
==
'1'
){
infor
.
LegalPerson
=
datas
.
法人
.
words
infor
.
CompanyName
=
datas
.
单位名称
.
words
infor
.
UnifiedCode
=
datas
.
社会信用代码
.
words
infor
.
LegalPerson
=
datas
.
法人
.
words
infor
.
Addres
=
datas
.
地址
.
words
infor
.
UnifiedCode
=
datas
.
社会信用代码
.
words
}
else
if
(
that
.
type
==
'2'
){
infor
.
Addres
=
datas
.
地址
.
words
infor
.
LegalIdCardNumber
=
datas
.
公民身份号码
.
words
}
else
if
(
that
.
type
==
'2'
){
}
else
if
(
that
.
type
==
'3'
){
infor
.
LegalIdCardNumber
=
datas
.
公民身份号码
.
words
let
y
=
datas
.
失效日期
.
words
.
substring
(
0
,
4
)
}
else
if
(
that
.
type
==
'3'
){
let
m
=
datas
.
失效日期
.
words
.
substring
(
4
,
6
)
let
y
=
datas
.
失效日期
.
words
.
substring
(
0
,
4
)
let
d
=
datas
.
失效日期
.
words
.
substring
(
6
,
8
)
let
m
=
datas
.
失效日期
.
words
.
substring
(
4
,
6
)
infor
.
LegalIdCardTime
=
`
${
y
}
-
${
m
}
-
${
d
}
`
let
d
=
datas
.
失效日期
.
words
.
substring
(
6
,
8
)
}
infor
.
LegalIdCardTime
=
`
${
y
}
-
${
m
}
-
${
d
}
`
console
.
log
(
"infor"
,
infor
);
}
that
.
$emit
(
'onSuccess'
,
infor
);
console
.
log
(
"infor"
,
infor
);
});
that
.
$emit
(
'onSuccess'
,
infor
);
}
});
});
}
});
}
else
{
that
.
upFile
(
res
.
tempFilePaths
[
0
])
console
.
log
(
"res.tempFilePaths[0]"
,
res
.
tempFilePaths
[
0
]);
}
},
},
});
});
},
},
});
});
},
},
//图片上传
//图片上传
upFile
(
img
,
resCall
)
{
upFile
(
filePath
)
{
uni
.
showLoading
({
uni
.
showLoading
({
title
:
"上传中"
,
title
:
"上传中"
,
});
});
let
that
=
this
;
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
th
is
.
action
,
url
:
th
at
.
action
,
filePath
:
img
,
filePath
:
filePath
,
name
:
"field"
,
name
:
'file'
,
formData
:
{
formData
:
{
user
:
"test"
,
user
:
'tesdt'
},
},
success
:
(
uploadFileRes
)
=>
{
success
:
(
uploadFileRes
)
=>
{
uni
.
hideLoading
();
if
(
uploadFileRes
.
statusCode
==
200
)
{
resCall
(
uploadFileRes
);
let
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
let
infor
=
{}
infor
.
BusinessLicense
=
data
.
data
that
.
$emit
(
'onSuccess'
,
infor
);
uni
.
hideLoading
()
}
else
{
wx
.
showToast
({
title
:
uploadFileRes
.
message
,
icon
:
'none'
,
duration
:
1000
})
}
},
},
fail
:
function
(
res
)
{
fail
:
function
(
res
)
{
console
.
log
(
res
)
wx
.
showToast
({
wx
.
showToast
({
title
:
"上传失败!"
,
title
:
'上传失败!'
,
icon
:
"none"
,
icon
:
'none'
,
duration
:
1000
,
duration
:
1000
})
;
})
}
,
}
});
});
},
},
//提取营业执照信息
//提取营业执照信息
...
...
pages/bigredrnvelope/list.vue
View file @
e8d2cb22
...
@@ -133,6 +133,7 @@ export default {
...
@@ -133,6 +133,7 @@ export default {
}
}
},
},
goDetails
(
item
,
type
){
goDetails
(
item
,
type
){
if
(
item
.
IsSee
!=
1
)
return
uni
.
showToast
({
title
:
'暂无查看此合同权限'
,
icon
:
'none'
})
let
path
=
''
;
let
path
=
''
;
if
(
type
==
1
){
if
(
type
==
1
){
path
=
'signAcontract?'
path
=
'signAcontract?'
...
...
pages/hotel/mapList.vue
View file @
e8d2cb22
...
@@ -167,7 +167,6 @@
...
@@ -167,7 +167,6 @@
this
.
searchObj
=
JSON
.
parse
(
decodeURIComponent
(
options
.
msg
))
this
.
searchObj
=
JSON
.
parse
(
decodeURIComponent
(
options
.
msg
))
this
.
pageTitle
=
this
.
searchObj
.
CityName
this
.
pageTitle
=
this
.
searchObj
.
CityName
}
}
console
.
log
(
options
,
'----111111111111'
)
if
(
options
&&
options
.
dayObj
){
if
(
options
&&
options
.
dayObj
){
this
.
dayObj
=
JSON
.
parse
(
decodeURIComponent
(
options
.
dayObj
))
this
.
dayObj
=
JSON
.
parse
(
decodeURIComponent
(
options
.
dayObj
))
this
.
searchObj
.
QStartDate
=
this
.
dayObj
.
start
;
this
.
searchObj
.
QStartDate
=
this
.
dayObj
.
start
;
...
...
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