Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shhjwpgl-vue
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
李苏
shhjwpgl-vue
Commits
d27561b4
Commit
d27561b4
authored
Sep 28, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
025692c5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
82 additions
and
91 deletions
+82
-91
index.vue
src/views/analysis/query/index.vue
+71
-78
index.vue
src/views/baseData/3d/index.vue
+6
-5
dialog.vue
src/views/baseData/thing/dialog.vue
+5
-4
index.vue
src/views/warehousing/extension/index.vue
+0
-4
No files found.
src/views/analysis/query/index.vue
View file @
d27561b4
...
...
@@ -135,9 +135,7 @@
"label"
:
"bmmc"
,
"value"
:
"bmid"
}
},
],
queryParams
:
[
[{
...
...
@@ -177,7 +175,6 @@
type
:
'input'
,
value
:
''
},
{
label
:
'序列号'
,
prop
:
'xlh'
,
...
...
@@ -194,18 +191,14 @@
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
},
],
[
{
[{
label
:
'案件信息'
,
prop
:
'ajxx'
,
span
:
4
,
type
:
'input'
,
value
:
''
},
]
},
]
],
}
...
...
src/views/baseData/3d/index.vue
View file @
d27561b4
<
template
>
<div
class=
"min_full"
>
<canvas
class=
"full"
id=
"three"
></canvas
>
<!--
<canvas
class=
"full"
id=
"three"
></canvas>
--
>
</div>
</
template
>
...
...
@@ -18,7 +18,7 @@
export
default
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
init
()
//
this.init()
})
},
methods
:
{
...
...
@@ -36,12 +36,13 @@
const
camera
=
new
THREE
.
PerspectiveCamera
(
50
,
window
.
innerWidth
/
window
.
innerHeight
,
1
,
10
)
camera
.
position
.
set
(
0
,
1
,
5
);
camera
.
position
.
set
(
0
,
20
,
5
);
/* 设置光源*/
/* 加载器*/
const
loader
=
new
GLTFLoader
();
loader
.
load
(
'/wcy/fanart/scene.gltf'
,
function
(
gltf
)
{
loader
.
load
(
'/wcy/ag/cp/scene.gltf'
,
function
(
gltf
)
{
console
.
log
(
gltf
,
'加载成功'
)
scene
.
add
(
gltf
.
scene
);
renderer
.
render
(
scene
,
camera
)
const
controls
=
new
OrbitControls
(
camera
,
renderer
.
domElement
);
...
...
src/views/baseData/thing/dialog.vue
View file @
d27561b4
...
...
@@ -96,8 +96,8 @@
if
(
this
.
b64
)
{
this
.
loading
=
true
var
mimeString
function
dataURItoBlob
(
dataURI
)
{
var
name
=
`高拍仪图片.png`
function
dataURItoBlob
(
dataURI
){
var
byteString
=
atob
(
dataURI
.
split
(
','
)[
1
]);
mimeString
=
dataURI
.
split
(
','
)[
0
].
split
(
':'
)[
1
].
split
(
';'
)[
0
];
var
ab
=
new
ArrayBuffer
(
byteString
.
length
);
...
...
@@ -110,13 +110,14 @@
});
}
// 将Base64数据转换为Blob对象
let
name
=
`
${
new
Date
()}
.png`
var
blob
=
dataURItoBlob
(
this
.
b64
);
var
formData
=
new
FormData
();
formData
.
append
(
'file'
,
blob
)
formData
.
append
(
'file'
,
blob
,
name
)
formData
.
append
(
'type'
,
mimeString
)
formData
.
append
(
'name'
,
name
)
formData
.
append
(
'groupid'
,
this
.
app
.
singleItem
.
id
)
formData
.
append
(
'folder'
,
''
)
uploadAttachDownload
(
formData
,
this
.
app
.
baseUrl
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'上传成功'
)
...
...
src/views/warehousing/extension/index.vue
View file @
d27561b4
...
...
@@ -76,10 +76,6 @@
}
})
})
}
else
{
this
.
$warning
(
'请填入日期'
)
}
...
...
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