diff --git a/src/api/index.js b/src/api/index.js
index d7ab5da..8157557 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -84,8 +84,8 @@ export default {
queryDatabaseInfo:`/data/data/dataRecord/queryDatabaseInfo`,
queryDatabaseInfoByMonth:`/data/data/dataRecord/queryDatabaseInfoByMonth`,
saveRecord:`/data/data/dataRecord/saveRecord`,
- databaseInfoExport:`/data/data/dataRecord/databaseInfoExport`,
- databaseInfoByMonthExport:`/data/data/dataRecord/databaseInfoByMonthExport`,
+ databaseInfoExport:`${Setting.apiBaseURL}/data/data/dataRecord/databaseInfoExport`,
+ databaseInfoByMonthExport:`${Setting.apiBaseURL}/data/data/dataRecord/databaseInfoByMonthExport`,
onlineNumber:`/data/data/dataRecord/onlineNumber`,
getProductInfoBySchoolId:`/data/data/product/getProductInfoBySchoolId`,
}
\ No newline at end of file
diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue
index 0489d89..2dd7dbd 100644
--- a/src/layouts/header/index.vue
+++ b/src/layouts/header/index.vue
@@ -15,6 +15,10 @@
个人资料
+
+ 修改密码
+ 我的下载
+
退出登录
@@ -29,6 +33,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/data/list/index.vue b/src/pages/data/list/index.vue
index fc3fa54..2edb0f1 100644
--- a/src/pages/data/list/index.vue
+++ b/src/pages/data/list/index.vue
@@ -1,7 +1,7 @@
-
+
+

+
@@ -340,7 +343,7 @@ export default {
};
},
mounted() {
- this.getdata();
+ this.getdata()
this.getProvince()
this.getSchoolData()
this.getSubject()
@@ -476,7 +479,7 @@ export default {
userName: form.userName
})
util.successMsg('提交成功')
- this.$router.back()
+ this.getdata()
}else{
util.errorMsg('提交失败')
}
@@ -531,12 +534,9 @@ export default {
let data = this.passwordForm
data.accountId = this.form.id
- this.$post(this.api.examinePassword,data)
- .then(res => {
- if(res.status == 200){
- util.successMsg('更换成功')
- this.passwordVisible = false
- }
+ this.$post(this.api.examinePassword,data).then(res => {
+ util.successMsg('更换成功')
+ this.passwordVisible = false
}).catch(err => {})
},
closePassword() {
@@ -854,5 +854,14 @@ export default {
border-radius: 8px;
border: 1px dashed #C0C4CC;
}
+ .fold{
+ text-align: center;
+ img{
+ cursor: pointer;
+ &.active{
+ transform: rotate(180deg);
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/src/pages/user/list/index.vue b/src/pages/user/list/index.vue
index 242e602..7d27899 100644
--- a/src/pages/user/list/index.vue
+++ b/src/pages/user/list/index.vue
@@ -347,6 +347,8 @@ export default {
closeUser(){
this.$refs.form.resetFields()
this.form.userId = ''
+ this.accountRepeat = false
+ this.workNumberRepeat = false
},
addTeacher(){
this.isDetail = false
diff --git a/src/router/modules/setting.js b/src/router/modules/setting.js
index cb89a60..bad05a5 100644
--- a/src/router/modules/setting.js
+++ b/src/router/modules/setting.js
@@ -19,5 +19,11 @@ export default {
component: () => import('@/pages/setting/person'),
meta: { title: '个人中心' }
},
+ {
+ name: `${pre}download`,
+ path: `download`,
+ component: () => import('@/pages/setting/person/download'),
+ meta: { title: '我的下载' }
+ },
]
};
\ No newline at end of file
diff --git a/src/setting.js b/src/setting.js
index db00e8c..03c6632 100644
--- a/src/setting.js
+++ b/src/setting.js
@@ -16,7 +16,7 @@ const Setting = {
showProgressBar: true,
// 接口请求地址
// apiBaseURL: env === 'development' ? 'http://192.168.31.216:9000' : 'http://39.108.250.202:9000',
- apiBaseURL: env === 'development' ? 'http://192.168.31.216:9000' : 'http://39.108.250.202:9000',
+ apiBaseURL: env === 'development' ? 'http://39.108.250.202:9000' : 'http://39.108.250.202:9000',
// 接口请求返回错误时,弹窗的持续时间,单位:秒
modalDuration: 3,
// 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice