提交代码
parent
cfa648dbe6
commit
04384f6dc6
|
@ -16,6 +16,9 @@ public class SysUserRole
|
||||||
/** 角色ID */
|
/** 角色ID */
|
||||||
private Long roleId;
|
private Long roleId;
|
||||||
|
|
||||||
|
/** 角色ID */
|
||||||
|
private Long projectId;
|
||||||
|
|
||||||
public Long getUserId()
|
public Long getUserId()
|
||||||
{
|
{
|
||||||
return userId;
|
return userId;
|
||||||
|
@ -36,11 +39,20 @@ public class SysUserRole
|
||||||
this.roleId = roleId;
|
this.roleId = roleId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Long getProjectId() {
|
||||||
|
return projectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProjectId(Long projectId) {
|
||||||
|
this.projectId = projectId;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
.append("userId", getUserId())
|
.append("userId", getUserId())
|
||||||
.append("roleId", getRoleId())
|
.append("roleId", getRoleId())
|
||||||
|
.append("projectId", getProjectId())
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,8 +50,8 @@
|
||||||
<script setup name="CommonPanel">
|
<script setup name="CommonPanel">
|
||||||
import {StrUtil} from '@/utils/StrUtil'
|
import {StrUtil} from '@/utils/StrUtil'
|
||||||
import useModelerStore from '@/store/modules/modeler'
|
import useModelerStore from '@/store/modules/modeler'
|
||||||
import { listDept } from "@/api/system/dept";
|
// import { listDept } from "@/api/system/dept";
|
||||||
import { listProjectInfo } from "@/api/manage/projectInfo";
|
// import { listProjectInfo } from "@/api/manage/projectInfo";
|
||||||
const modelerStore = useModelerStore()
|
const modelerStore = useModelerStore()
|
||||||
|
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
|
@ -109,11 +109,11 @@ function updateElementTask(key) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 初始化数据 */
|
/** 初始化数据 */
|
||||||
function initDepts(){
|
// function initDepts(){
|
||||||
listDept({}).then(response => {
|
// listDept({}).then(response => {
|
||||||
deptOptions.value = response.rows;
|
// deptOptions.value = response.rows;
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
initDepts();
|
//initDepts();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="项目类型" prop="projectType">
|
<el-form-item label="项目类型" prop="projectType">
|
||||||
<el-select v-model="form.projectType" placeholder="请选择项目类型">
|
<el-select v-model="form.projectType" placeholder="请选择项目类型" style="width:100%">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in pro_project_type"
|
v-for="dict in pro_project_type"
|
||||||
:key="dict.value"
|
:key="dict.value"
|
||||||
|
|
Loading…
Reference in New Issue