Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_control
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
zhanglw
kd_control
Commits
ce9636f4
Commit
ce9636f4
authored
Aug 30, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高清贴图
parent
177fc2fd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
config.json
public/config/config.json
+7
-7
diagram.png
public/diagram.png
+0
-0
index.vue
src/views/productionPlanManagement/mineFile/index.vue
+8
-0
No files found.
public/config/config.json
View file @
ce9636f4
...
...
@@ -344,16 +344,16 @@
},
{
"pid"
:
40
,
"name"
:
"
本地高清图
(本地离线)"
,
"name"
:
"
单张图片
(本地离线)"
,
"type"
:
"image"
,
"url"
:
"/dia
nziweilan/dianziweilan.jp
g"
,
"url"
:
"/dia
gram.pn
g"
,
"rectangle"
:
{
"xmin"
:
11
5.3444933
9
,
"xmax"
:
11
5.383424
,
"ymin"
:
3
9.269255
,
"ymax"
:
3
9.2829251
"xmin"
:
11
4.12584
9
,
"xmax"
:
11
4.156450
,
"ymin"
:
3
5.6772263
,
"ymax"
:
3
5.7064999
},
"show"
:
fals
e
"show"
:
tru
e
}
]
}
...
...
public/diagram.png
0 → 100644
View file @
ce9636f4
This image diff could not be displayed because it is too large. You can
view the blob
instead.
src/views/productionPlanManagement/mineFile/index.vue
View file @
ce9636f4
...
...
@@ -44,6 +44,7 @@
<el-button
v-if=
"query.type==='excel'"
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"viewTable(scope.row)"
>
在线预览
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-download"
@
click=
"downloadFile(scope.row)"
>
下载
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"toDelete(scope.row)"
>
删除
</el-button>
<!--
<el-progress
type=
"dashboard"
:percentage=
"scope.row.percentage||20"
:color=
"colors"
></el-progress>
-->
</
template
>
</el-table-column>
</el-table>
...
...
@@ -101,6 +102,7 @@ export default {
name
:
'
visitPeople
'
,
data
()
{
return
{
colors
:
[{
color
:
'
#f56c6c
'
,
percentage
:
20
},
{
color
:
'
#e6a23c
'
,
percentage
:
40
},
{
color
:
'
#5cb87a
'
,
percentage
:
60
},
{
color
:
'
#1989fa
'
,
percentage
:
80
},
{
color
:
'
#6f7ad3
'
,
percentage
:
100
}],
title
:
''
,
fileUploadApi
:
''
,
headers
:
{
'
Authorization
'
:
getToken
()
},
...
...
@@ -154,9 +156,15 @@ export default {
document
.
body
.
removeChild
(
link
);
},
downloadFile
(
item
)
{
if
(
item
.
isLoading
){
return
}
item
.
isLoading
=
true
item
.
percentage
=
0
let
strArr
=
item
.
fileName
.
split
(
'
.
'
)
HttpReq
.
truckDispatching
.
downloadExcelOrFbx
({
url
:
item
.
url
,
type
:
this
.
query
.
type
}).
then
((
res
)
=>
{
this
.
download
(
res
,
strArr
[
0
],
strArr
[
1
]
||
'
xlsx
'
)
item
.
isLoading
=
false
})
},
upload
()
{
...
...
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