feat(projects): 修改操作后列表查询方式
This commit is contained in:
parent
ff87415d7b
commit
d85424ee83
@ -200,7 +200,7 @@ async function handleExport() {
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -239,7 +239,7 @@ async function handleExport() {
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -234,7 +234,7 @@ async function handleRefreshCache() {
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -405,7 +405,7 @@ const selectable = computed(() => {
|
|||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
:dict-type="searchParams.dictType || ''"
|
:dict-type="searchParams.dictType || ''"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
<DictTypeOperateDrawer
|
<DictTypeOperateDrawer
|
||||||
v-model:visible="dictTypeDrawerVisible"
|
v-model:visible="dictTypeDrawerVisible"
|
||||||
|
@ -194,7 +194,7 @@ async function edit(noticeId: CommonType.IdType) {
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -252,7 +252,7 @@ async function handleStatusChange(
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -49,6 +49,8 @@ const {
|
|||||||
originalName: null,
|
originalName: null,
|
||||||
fileSuffix: null,
|
fileSuffix: null,
|
||||||
service: null,
|
service: null,
|
||||||
|
isAsc: 'desc',
|
||||||
|
orderByColumn: 'createTime',
|
||||||
params: {}
|
params: {}
|
||||||
},
|
},
|
||||||
columns: () => [
|
columns: () => [
|
||||||
@ -333,7 +335,7 @@ function handleToOssConfig() {
|
|||||||
:pagination="mobilePagination"
|
:pagination="mobilePagination"
|
||||||
class="sm:h-full"
|
class="sm:h-full"
|
||||||
/>
|
/>
|
||||||
<OssUploadModal v-model:visible="uploadVisible" :upload-type="fileUploadType" @close="getData" />
|
<OssUploadModal v-model:visible="uploadVisible" :upload-type="fileUploadType" @close="getDataByPage" />
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -288,7 +288,7 @@ function handleResetSearch() {
|
|||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
:dept-data="deptData"
|
:dept-data="deptData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -284,14 +284,10 @@ function handleAuthUser(row: Api.System.Role) {
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
<RoleDataScopeDrawer
|
<RoleDataScopeDrawer v-model:visible="dataScopeDrawerVisible" :row-data="editingData" @submitted="getData" />
|
||||||
v-model:visible="dataScopeDrawerVisible"
|
<RoleAuthUserDrawer v-model:visible="authUserDrawerVisible" :row-data="editingData" @submitted="getData" />
|
||||||
:row-data="editingData"
|
|
||||||
@submitted="getDataByPage"
|
|
||||||
/>
|
|
||||||
<RoleAuthUserDrawer v-model:visible="authUserDrawerVisible" :row-data="editingData" @submitted="getDataByPage" />
|
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -233,7 +233,7 @@ async function handleStatusChange(
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -261,7 +261,7 @@ async function handleExport() {
|
|||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
@submitted="getDataByPage"
|
@submitted="getData"
|
||||||
/>
|
/>
|
||||||
</NCard>
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
|
@ -348,7 +348,7 @@ function handleResetSearch() {
|
|||||||
:pagination="mobilePagination"
|
:pagination="mobilePagination"
|
||||||
class="h-full"
|
class="h-full"
|
||||||
/>
|
/>
|
||||||
<UserImportModal v-model:visible="importVisible" @submitted="getDataByPage" />
|
<UserImportModal v-model:visible="importVisible" @submitted="getData" />
|
||||||
<UserOperateDrawer
|
<UserOperateDrawer
|
||||||
v-model:visible="drawerVisible"
|
v-model:visible="drawerVisible"
|
||||||
:operate-type="operateType"
|
:operate-type="operateType"
|
||||||
|
@ -313,8 +313,8 @@ getDataNames();
|
|||||||
:pagination="mobilePagination"
|
:pagination="mobilePagination"
|
||||||
class="sm:h-full"
|
class="sm:h-full"
|
||||||
/>
|
/>
|
||||||
<GenTableImportDrawer v-model:visible="importVisible" :options="dataNameOptions" @submitted="getDataByPage" />
|
<GenTableImportDrawer v-model:visible="importVisible" :options="dataNameOptions" @submitted="getData" />
|
||||||
<GenTableOperateDrawer v-model:visible="drawerVisible" :row-data="editingData" @submitted="getDataByPage" />
|
<GenTableOperateDrawer v-model:visible="drawerVisible" :row-data="editingData" @submitted="getData" />
|
||||||
<GenTablePreviewDrawer
|
<GenTablePreviewDrawer
|
||||||
v-model:visible="previewVisible"
|
v-model:visible="previewVisible"
|
||||||
:row-data="editingData"
|
:row-data="editingData"
|
||||||
|
Loading…
Reference in New Issue
Block a user