vue3 -> vue2

This commit is contained in:
2025-08-07 11:48:20 +08:00
parent 34b0054be7
commit 84be9fe4ec

View File

@@ -106,13 +106,11 @@
</el-dialog>
</div>
</template>
<script>
<script setup lang="ts"></script>
<script lang="ts">
import { useDictStore } from '@/store/modules/dict';
import { listType, getType, delType, addType, updateType, refreshCache } from '@/api/system/dict/type';
import { DictTypeForm, DictTypeQuery, DictTypeVO } from '@/api/system/dict/type/types';
import { addType, delType, getType, listType, refreshCache, updateType } from '@/api/system/dict/type';
import { addDateRange } from '@/utils/ruoyi';
import { UserForm } from '@/api/system/user/types.js';
const initFormData = {
userId: undefined,
@@ -200,7 +198,7 @@ export default {
this.dialog.title = '添加学生类型';
},
/** 多选框选中数据 */
handleSelectionChange(selection: DictTypeVO[]) {
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.dictId);
this.single = selection.length != 1;
this.multiple = !selection.length;
@@ -240,9 +238,7 @@ export default {
});
},
/** 导出按钮操作 */
handleExport() {
},
handleExport() {},
/** 刷新缓存按钮操作 */
async handleRefreshCache() {
await refreshCache();