Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
甘
甘肃陇南
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
甘肃陇南
Commits
3a3cfcf2
Commit
3a3cfcf2
authored
Jul 05, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改密码 微震数据导出
parent
8da8ec9c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
9 deletions
+28
-9
user.js
src/api/system/user.js
+1
-1
request.js
src/utils/request.js
+1
-1
index.vue
src/views/baopo/baopoData/index.vue
+16
-0
index.vue
src/views/system/user/index.vue
+8
-5
vue.config.js
vue.config.js
+2
-2
No files found.
src/api/system/user.js
View file @
3a3cfcf2
...
@@ -95,7 +95,7 @@ export function updateUserPwd(oldPassword, newPassword) {
...
@@ -95,7 +95,7 @@ export function updateUserPwd(oldPassword, newPassword) {
}
}
return
request
({
return
request
({
url
:
'
/system/user/profile/updatePwd
'
,
url
:
'
/system/user/profile/updatePwd
'
,
method
:
'
p
u
t
'
,
method
:
'
p
os
t
'
,
params
:
data
params
:
data
})
})
}
}
...
...
src/utils/request.js
View file @
3a3cfcf2
...
@@ -18,7 +18,7 @@ const service = axios.create({
...
@@ -18,7 +18,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
// 超时
// 超时
timeout
:
1
0000
timeout
:
6
0000
})
})
// request拦截器
// request拦截器
...
...
src/views/baopo/baopoData/index.vue
View file @
3a3cfcf2
...
@@ -24,6 +24,13 @@
...
@@ -24,6 +24,13 @@
@
click=
"see(scope.row)"
@
click=
"see(scope.row)"
>
查看
</el-button
>
查看
</el-button
>
>
<el-button
style=
"background-color: #fee504"
size=
"mini"
icon=
"el-icon-download"
@
click=
"exportFile(scope.row)"
>
导出
</el-button
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -117,6 +124,15 @@ export default {
...
@@ -117,6 +124,15 @@ export default {
this
.
allData
();
this
.
allData
();
},
},
methods
:
{
methods
:
{
exportFile
(
item
)
{
this
.
download
(
"
/business/monBlasting/exportData
"
,
{
eventcode
:
item
.
id
},
`
${
item
.
pointcode
}
_
${
item
.
blastingId
}
_
${
+
new
Date
()}
.xlsx`
,
);
},
allData
()
{
allData
()
{
var
param
=
{
var
param
=
{
pageNum
:
this
.
queryParams
.
pageNum
,
pageNum
:
this
.
queryParams
.
pageNum
,
...
...
src/views/system/user/index.vue
View file @
3a3cfcf2
...
@@ -561,13 +561,16 @@ export default {
...
@@ -561,13 +561,16 @@ export default {
/** 新增按钮操作 */
/** 新增按钮操作 */
handleAdd
()
{
handleAdd
()
{
this
.
reset
();
this
.
reset
();
getUser
().
then
(
response
=>
{
// getUser().then(response => {
this
.
postOptions
=
response
.
posts
;
// this.postOptions = response.posts;
this
.
roleOptions
=
response
.
roles
;
// this.roleOptions = response.roles;
// this.open = true;
// this.title = "添加用户";
// this.form.password = this.initPassword;
// });
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"
添加用户
"
;
this
.
title
=
"
添加用户
"
;
this
.
form
.
password
=
this
.
initPassword
;
this
.
form
.
password
=
this
.
initPassword
;
});
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
...
...
vue.config.js
View file @
3a3cfcf2
...
@@ -34,8 +34,8 @@ module.exports = {
...
@@ -34,8 +34,8 @@ module.exports = {
open
:
true
,
open
:
true
,
proxy
:
{
proxy
:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://192.168.0.103:8085/lswz`
,
// 线上内网
//
target: `http://192.168.0.103:8085/lswz`, // 线上内网
//
target: `http://192.168.3.188:8085/lswz`,
target
:
`http://192.168.3.188:8085/lswz`
,
//target: `http://192.168.3.37:8085/lswz`,
//target: `http://192.168.3.37:8085/lswz`,
// target: `http://10.50.70.100:8085/lswz`,
// target: `http://10.50.70.100:8085/lswz`,
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
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