Compare commits

...

2 Commits

Author SHA1 Message Date
huangyuxuan ff19f4ddbe Merge branch 'dev' into hyx_2024-10-9_tongbu 2024-10-18 16:45:37 +08:00
liujun 07984df286 1、隐藏删除按钮
2、解决form-data重复提交corp_id bug
2024-10-15 19:14:46 +08:00
2 changed files with 2 additions and 1 deletions
src/views/PersonManager/user/components

View File

@ -1089,6 +1089,7 @@ export default {
}
}
}
formData.delete('CORPINFO_ID')
formData.append('CORPINFO_ID', JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID)
upload(
'/user/' + this.dialogType,

View File

@ -140,7 +140,7 @@
<template v-show="loginUser.ACCOUNT_TYPE === '0'">
<el-button v-show="edit && row.ACCOUNT_TYPE == '1'" type="success" icon="el-icon-edit" size="mini" @click="handleUserEdit(row)"></el-button>
<el-button v-show="edit" type="success" icon="el-icon-refresh" size="mini" @click="resetPwd(row.USER_ID)"></el-button>
<el-button v-if="del && row.ACCOUNT_TYPE == '1'" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row)"></el-button>
<el-button v-if="false && del && row.ACCOUNT_TYPE == '1'" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row)"></el-button>
<el-button v-if="row.ISUSE == 1 && row.ACCOUNT_TYPE == '1'" type="success" icon="el-icon-check" size="mini" @click="enableORDisable('0', row)"></el-button>
<el-button v-if="row.ISUSE == 0 && row.ACCOUNT_TYPE == '1'" type="danger" icon="el-icon-close" size="mini" @click="enableORDisable('1', row)"></el-button>
</template>