Browse Source

修改密码修改失败,文件布局

dev
caoyizhong 2 years ago
parent
commit
48092d5f03
  1. 2
      src/components/tools/UserPassword.vue
  2. 10
      src/views/modules/oss/OSSFileList.vue

2
src/components/tools/UserPassword.vue

@ -112,6 +112,7 @@
this.form.validateFields((err, values) => {
if (!err) {
that.confirmLoading = true;
values.oldpassword = signMd5Utils.md5password(values.oldpassword);
values.password = signMd5Utils.md5password(values.password);
values.confirmpassword = signMd5Utils.md5password(values.confirmpassword);
// console.log(values.password);
@ -119,7 +120,6 @@
console.log("修改密码提交数据",params)
putAction(this.url,params).then((res)=>{
if(res.success){
console.log(res)
that.$message.success(res.message);
that.close();
}else{

10
src/views/modules/oss/OSSFileList.vue

@ -77,17 +77,17 @@
size="middle"
bordered
rowKey="id"
:scroll="{y:460}"
:scroll="{y:660}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<span slot="name" slot-scope="text, record">
<j-ellipsis :value="text" :length="7"/>
<j-ellipsis :value="text" :length="20"/>
</span>
<span slot="url" slot-scope="text, record">
<j-ellipsis :value="text" :length="7"/>
<j-ellipsis :value="text" :length="45"/>
</span>
<span slot="action" slot-scope="text, record">
@ -126,7 +126,7 @@
//
columns: [
{
title: '#',
title: '序号',
dataIndex: '',
key: 'rowIndex',
width: 60,
@ -144,6 +144,7 @@
{
title: '上传人',
align: "center",
width: 150,
dataIndex: 'createBy'
},
{
@ -163,6 +164,7 @@
title: '文件大小(kb)',
align: "center",
default:'--',
width: 150,
dataIndex: 'size'
},
{

Loading…
Cancel
Save