This commit is contained in:
2025-07-11 09:17:08 +08:00
parent b331d17032
commit ff8dd472de
3 changed files with 1361 additions and 6 deletions

View File

@ -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,