dev
Jo 3 years ago
parent ccb9b1882b
commit 9f404f0a3d
  1. 2
      src/layouts/header/index.vue
  2. 7
      src/pages/account/login/index.vue
  3. 4
      src/pages/data/list/index.vue
  4. 1
      src/pages/user/list/index.vue
  5. 3
      src/plugins/requests/index.js

@ -141,7 +141,7 @@ export default {
this.schoolName = res.schoolName
this.setInfo({
avatar: userInfo.userAvatars,
userName: userAccount.account
userName: userInfo.userName
})
}).catch(err => { })
},

@ -34,6 +34,7 @@
</div>
<el-dialog title="绑定手机号" :visible.sync="phoneVisible" :close-on-click-modal="false" width="30%">
<p class="tips">依据国家政策法规需绑定手机号进行实网络实名才可登录使用本平台</p>
<el-form ref="form" label-width="60px">
<el-form-item label="手机号">
<el-input style="width: 394px;" placeholder="请输入手机号" v-model="phone" maxlength="11"></el-input>
@ -349,4 +350,10 @@ export default {
}
}
}
.tips {
margin: 0 0 10px 5px;
font-size: 14px;
text-align: center;
color: #666;
}
</style>

@ -102,7 +102,7 @@
<div class="page-content">
<el-table :data="listData" class="table" ref="table" stripe header-align="center" row-key="id" highlight-current-row @current-change="previewCurrentChange">
<el-table-column type="index" width="100" label="序号" align="center"></el-table-column>
<el-table-column prop="showName" label="数据表名称" align="center" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="showName" label="数据表名称" min-width="300" align="center" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="dataTotal" label="数据总量" width="90" align="center"></el-table-column>
<el-table-column prop="timeRange" label="起止时间" width="220" align="center"></el-table-column>
<el-table-column prop="dataSize" label="数据大小" width="90" align="center">
@ -111,7 +111,7 @@
</template>
</el-table-column>
<el-table-column prop="updateTime" label="更新时间" width="170" align="center"></el-table-column>
<el-table-column label="操作" width="140">
<el-table-column label="操作" width="200">
<template slot-scope="scope">
<el-button type="text" @click="preview(scope.row)" v-auth>预览</el-button>
<el-button type="text" @click="download(scope.row)" v-auth>下载</el-button>

@ -397,6 +397,7 @@ export default {
workNumber: data.workNumber,
email: data.email,
schoolId: data.schoolId,
uniqueIdentification: data.uniqueIdentification,
password: ''
}
this.originalAccount = data.account

@ -43,6 +43,9 @@ service.interceptors.response.use(
return Promise.resolve(res).catch(e => {})
}else {
util.errorMsg(res.message)
res.message === '该账号无权限!' && setTimeout(() => {
store.dispatch('user/logout')
}, 1500)
return Promise.reject(res)
}
},

Loading…
Cancel
Save