Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
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
Kimber
ZiBoYingJI
Commits
d43f63d5
Commit
d43f63d5
authored
Oct 09, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片上传修改
parent
78c76995
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
873 additions
and
89 deletions
+873
-89
pic.js
src/api/picManage/pic.js
+11
-15
Navbar.vue
src/layout/components/Navbar.vue
+2
-0
data.vue
src/views/kd/c/iot/tailings/data.vue
+2
-2
rydw.vue
src/views/picManage/rydw.vue
+412
-72
uploadtype.vue
src/views/picManage/uploadtype.vue
+446
-0
No files found.
src/api/picManage/pic.js
View file @
d43f63d5
...
@@ -8,31 +8,27 @@ export default {
...
@@ -8,31 +8,27 @@ export default {
})
})
},
},
// 新增
// 新增
add
:
(
notice
)
=>
{
add
:
(
param
)
=>
{
return
request
({
return
request
({
url
:
'
api/
notice/add
'
,
url
:
'
api/
kdFile
'
,
method
:
'
post
'
,
method
:
'
post
'
,
data
:
notice
data
:
param
})
})
},
},
// 标记已读(查询权限)
// 标记已读(查询权限)
read
:
(
responseId
)
=>
{
mod
:
(
param
)
=>
{
return
request
({
return
request
({
url
:
'
api/notice/read
'
,
url
:
'
api/kdFile
'
,
method
:
'
post
'
,
method
:
'
put
'
,
data
:
{
data
:
param
id
:
responseId
}
})
})
},
},
// 删除
// 删除
del
:
(
notice
)
=>
{
del
:
(
ids
)
=>
{
return
request
({
return
request
({
url
:
'
api/notice/del
'
,
url
:
'
api/kdFile
'
,
method
:
'
post
'
,
method
:
'
delete
'
,
data
:
{
data
:
ids
id
:
notice
.
id
}
})
})
}
}
}
}
\ No newline at end of file
src/layout/components/Navbar.vue
View file @
d43f63d5
...
@@ -185,6 +185,7 @@ export default {
...
@@ -185,6 +185,7 @@ export default {
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
companyList
=
res
.
body
||
[]
this
.
companyList
=
res
.
body
||
[]
this
.
currentCompany
=
this
.
companyList
[
0
].
id
this
.
currentCompany
=
this
.
companyList
[
0
].
id
localStorage
.
setItem
(
'
currGlobalCompId
'
,
this
.
currentCompany
)
})
})
},
},
...
@@ -204,6 +205,7 @@ export default {
...
@@ -204,6 +205,7 @@ export default {
duration
:
3000
// 消息显示的时间,单位为 ms
duration
:
3000
// 消息显示的时间,单位为 ms
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
localStorage
.
setItem
(
'
currGlobalCompId
'
,
value
)
window
.
location
.
reload
()
window
.
location
.
reload
()
},
500
);
},
500
);
})
})
...
...
src/views/kd/c/iot/tailings/data.vue
View file @
d43f63d5
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
<el-option
v-for=
"mine in mineList"
:key=
"mine.index"
:label=
"mine.name"
:value=
"mine.index"
/>
<el-option
v-for=
"mine in mineList"
:key=
"mine.index"
:label=
"mine.name"
:value=
"mine.index"
/>
</el-select>
</el-select>
<el-input
clearable
size=
"small"
placeholder=
"设备名称"
style=
"width: 200px;"
class=
"filter-item"
/>
<el-input
clearable
size=
"small"
placeholder=
"设备名称"
style=
"width: 200px;"
class=
"filter-item"
/>
<el-select
v-model=
"value"
placeholder=
"监测类型
?
"
style=
"width: 200px;"
class=
"filter-item"
>
<el-select
v-model=
"value"
placeholder=
"监测类型"
style=
"width: 200px;"
class=
"filter-item"
>
<el-option
label=
"选择类型
?
"
value=
"1"
/>
<el-option
label=
"选择类型"
value=
"1"
/>
</el-select>
</el-select>
<el-button
class=
"filter-item"
size=
"mini"
type=
"success"
icon=
"el-icon-search"
@
click=
"$message('等待硬件对接中')"
>
搜索
</el-button>
<el-button
class=
"filter-item"
size=
"mini"
type=
"success"
icon=
"el-icon-search"
@
click=
"$message('等待硬件对接中')"
>
搜索
</el-button>
<el-button
class=
"filter-item"
size=
"mini"
type=
"warning"
icon=
"el-icon-refresh-left"
>
重置
</el-button>
<el-button
class=
"filter-item"
size=
"mini"
type=
"warning"
icon=
"el-icon-refresh-left"
>
重置
</el-button>
...
...
src/views/picManage/rydw.vue
View file @
d43f63d5
This diff is collapsed.
Click to expand it.
src/views/picManage/uploadtype.vue
0 → 100644
View file @
d43f63d5
This diff is collapsed.
Click to expand it.
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