@ -7,12 +7,11 @@ export const userInfoOption = {
type: 'upload',
listType: 'picture-img',
propsHttp: {
res: 'data',
url: 'link',
url: 'data',
},
fileType: 'img',//img/video/audio,
accept: 'image/png, image/jpeg',
action: '/api/blade-resource/oss/endpoint/put-file',
action: '/api/blade-user/resultPicture',
tip: '只能上传jpg/png用户头像,且不超过500kb',
span: 12,
row: true,
@ -96,7 +96,7 @@ export default {
});
} else {
this.$router.push(
`/workflow/process/${type}/${param}?parent=${parent}?status=${row.status}`
`/workflow/process/${type}/${param}?parent=${parent}`
);
}
@ -63,7 +63,7 @@
<el-table-column label="操作">
<template slot-scope="scope">
<i
v-if="(userInfo.real_name === scope.row.createUser) && $route.query.status!=='作废'"
v-if="userInfo.real_name === scope.row.createUser"
class="el-icon-delete"
style="cursor: pointer;"
@click="deleteFile(scope.$index)"
@ -254,6 +254,9 @@ export default {
// const guanlibumen = this.findObject(this.option.column, "guanlibumen");
const guanlibumen = this.option.column[1];
guanlibumen.dicData = res.data.data;
if(res.data.data.length === 1) {
this.form.guanlibumen = guanlibumen.dicData[0].id
getTaskAndDataBase({ id }).then((res) => {
this.taskAndDataBaseList = res.data.data;
@ -188,8 +188,10 @@ export default {
email: user.email,
};
this.$store.commit("SET_USER_INFO", {
...user,
avatar: user.avatar,
real_name: user.realName,
role_name:user.roleName