Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yanshouyi-Minipro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
yanshouyi-Minipro
Commits
b1d4ebea
Commit
b1d4ebea
authored
Jan 02, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export
parent
4cab32b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
home.js
api/home.js
+1
-1
mixin.js
common/mixin.js
+2
-0
home.vue
pages/home/home.vue
+13
-7
No files found.
api/home.js
View file @
b1d4ebea
...
...
@@ -2,7 +2,7 @@ import request from '@/common/request.js'
export
function
getExportData
(
data
)
{
// 获取下拉列表数据
return
request
({
url
:
'
/
product
/ryexport
'
,
url
:
'
/
records
/ryexport
'
,
method
:
'
get
'
,
data
})
...
...
common/mixin.js
View file @
b1d4ebea
...
...
@@ -410,6 +410,8 @@ const blueToothMixin = {
// console.log('设备检测值:', recBlueResData.angle)
this
.
form
.
realTestInclination
=
recBlueResData
.
angle
this
.
form
.
realTestHoleDepth
=
recBlueResData
.
lenth
commonStateCodeDeal
(
2
,
'
监听到设备反馈信息
'
+
JSON
.
stringify
(
recBlueResData
))
// this.form.realTestTime = getCurrentTime()
});
...
...
pages/home/home.vue
View file @
b1d4ebea
...
...
@@ -183,16 +183,22 @@
this
.
loading
=
false
const
fileName
=
'
炮孔测量数据导出
'
const
header
=
[
'
productName
'
,
'
artilleryAreaName
'
,
'
cannonHoleArrayNum
'
,
'
cannonHoleNum
'
,
'
expectedDepth
'
,
'
remark
'
const
header
=
[
'
productName
'
,
'
artilleryAreaName
'
,
'
cannonHoleArrayNum
'
,
'
cannonHoleNum
'
,
'
expectedDepth
'
,
'
remark
'
,
'
actualDepth
'
,
'
actualWaterLevel
'
,
'
afterActualDepth
'
,
'
afterActualWaterLevel
'
,
];
const
headerName
=
{
productName
:
'
工程名称
'
,
artilleryAreaName
:
'
爆区名称
'
,
cannonHoleArrayNum
:
'
炮孔排号
'
,
cannonHoleNum
:
'
炮孔
编
号
'
,
cannonHoleNum
:
'
炮孔
孔
号
'
,
expectedDepth
:
'
设计孔深
'
,
remark
:
'
备注
'
actualDepth
:
'
实测孔深
'
,
actualWaterLevel
:
'
实测水深
'
,
afterActualDepth
:
'
装药后孔深
'
,
afterActualWaterLevel
:
'
装药后水深
'
,
// remark: '备注'
};
showCustomToast
({
...
...
@@ -344,7 +350,7 @@
}
.left
{
position
:
absolute
;
left
:
6
0rpx
;
left
:
3
0rpx
;
top
:
110rpx
;
image
{
width
:
136rpx
;
...
...
@@ -369,7 +375,7 @@
.right
{
position
:
absolute
;
right
:
1
0rpx
;
right
:
4
0rpx
;
top
:
18rpx
;
.top
{
image
{
...
...
@@ -384,7 +390,7 @@
font-size
:
30rpx
;
padding-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
border-bottom
:
4
rpx
solid
#CCD1DB
;
border-bottom
:
2
rpx
solid
#CCD1DB
;
}
}
...
...
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