优化
This commit is contained in:
@ -42,11 +42,7 @@
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['project:constructionUser:add']">新增 </el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['project:constructionUser:edit']">
|
||||
修改
|
||||
</el-button>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
@ -597,7 +593,7 @@ const initFormData: ConstructionUserForm = {
|
||||
salary: undefined,
|
||||
remark: undefined
|
||||
};
|
||||
const data = reactive<PageData<ConstructionUserForm, ConstructionUserQuery>>({
|
||||
const data = reactive({
|
||||
form: { ...initFormData },
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
@ -606,6 +602,7 @@ const data = reactive<PageData<ConstructionUserForm, ConstructionUserQuery>>({
|
||||
nickName: undefined,
|
||||
userName: undefined,
|
||||
projectId: currentProject.value.id,
|
||||
notUserRole:1,
|
||||
contractorId: undefined,
|
||||
teamId: undefined,
|
||||
status: undefined,
|
||||
|
Reference in New Issue
Block a user