This commit is contained in:
陈红丽 2024-07-24 16:04:25 +08:00
parent a72be8adda
commit 9ba016dc67
21 changed files with 59 additions and 59 deletions

View File

@ -104,8 +104,8 @@ const selectionData = ref([])
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -106,8 +106,8 @@ const selectionData = ref([])
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -102,8 +102,8 @@ const selectionData = ref([])
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -104,8 +104,8 @@ const selectionData = ref([])
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -37,7 +37,7 @@
v-if="editVisible"
:linkId="linkId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -102,8 +102,8 @@ const selectionData = ref([])
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -37,7 +37,7 @@
v-if="editVisible"
:tagId="tagId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -102,8 +102,8 @@ const selectionData = ref([])
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -39,7 +39,7 @@
v-if="editVisible"
:noticeId="noticeId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -106,8 +106,8 @@
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -37,7 +37,7 @@
v-if="editVisible"
:paramId="paramId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -104,8 +104,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -41,7 +41,7 @@
v-if="editVisible"
:id="emailId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -106,8 +106,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -41,7 +41,7 @@
v-if="editVisible"
:id="fileId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -105,8 +105,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -41,7 +41,7 @@
v-if="editVisible"
:id="smsId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -106,8 +106,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -33,7 +33,7 @@
v-if="editVisible"
:emailId="emailId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -100,8 +100,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -33,7 +33,7 @@
v-if="editVisible"
:smsId="smsId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -100,8 +100,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -19,14 +19,14 @@
</template>
<template v-else-if="item.type == 'radio'">
<el-radio-group v-model="formData[item.code]" :name="item.code">
<el-radio v-for="(value, key) in item.param" :label="key" :key="key">
<el-radio v-for="(value, key) in item.param" :value="key" :key="key">
{{ value }}
</el-radio>
</el-radio-group>
</template>
<template v-else-if="item.type == 'checkbox'">
<el-checkbox-group v-model="formData[item.code]" :name="item.code">
<el-checkbox :label="key" :key="key" v-for="(value, key) in item.param">{{ value }}</el-checkbox>
<el-checkbox :value="key" :key="key" v-for="(value, key) in item.param">{{ value }}</el-checkbox>
</el-checkbox-group>
</template>
<template v-else-if="item.type == 'select' || item.type == 'selects'">

View File

@ -66,7 +66,7 @@
v-if="editVisible"
:levelId="levelId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -139,8 +139,8 @@
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -29,7 +29,7 @@
v-if="editVisible"
:positionId="positionId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -94,8 +94,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -29,7 +29,7 @@
v-if="editVisible"
:positionId="positionId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -94,8 +94,8 @@ const editVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -37,7 +37,7 @@
v-if="editVisible"
:positionId="positionId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -103,8 +103,8 @@ const selectionData = ref([])
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -37,14 +37,14 @@
v-if="editVisible"
:roleId="roleId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
<authDialog
v-if="authVisible"
:roleId="roleId"
v-model:visible="authVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</authDialog>
</PageWrapper>
@ -125,8 +125,8 @@ const authVisible=ref(false)
return result;
};
function reloadTable() {
tableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
const [register, {}] = useForm({
labelWidth: 80,

View File

@ -45,7 +45,7 @@
v-if="editVisible"
:tenantId="tenantId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -115,8 +115,8 @@
return result;
};
function reloadTable() {
basicTableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
async function handleEdit(record: Recordable) {

View File

@ -72,7 +72,7 @@
v-if="editVisible"
:userId="userId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
>
</editDialog>
</PageWrapper>
@ -155,8 +155,8 @@
return result;
};
function reloadTable() {
basicTableRef.value.reload({pageNo:1});
function reloadTable(noRefresh='') {
tableRef.value.reload(noRefresh?{}:{pageNo:1});
}
async function handleEdit(record: Recordable) {