mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
chore: update dependencies
This commit is contained in:
@@ -15,8 +15,8 @@ const form = reactive({
|
||||
user: "",
|
||||
status: ""
|
||||
});
|
||||
let dataList = ref([]);
|
||||
let loading = ref(true);
|
||||
const dataList = ref([]);
|
||||
const loading = ref(true);
|
||||
const { columns } = useColumns();
|
||||
|
||||
const formRef = ref<FormInstance>();
|
||||
@@ -36,7 +36,7 @@ function handleSelectionChange(val) {
|
||||
|
||||
async function onSearch() {
|
||||
loading.value = true;
|
||||
let { data } = await getDeptList();
|
||||
const { data } = await getDeptList();
|
||||
dataList.value = handleTree(data as any);
|
||||
setTimeout(() => {
|
||||
loading.value = false;
|
||||
|
||||
@@ -92,7 +92,7 @@ const dictData = reactive({
|
||||
] as VxeFormPropTypes.Items
|
||||
});
|
||||
|
||||
let originData = cloneDeep(dictData.tableData);
|
||||
const originData = cloneDeep(dictData.tableData);
|
||||
|
||||
const xTree = ref<TablePublicMethods>();
|
||||
const xForm = ref<FormMethods>();
|
||||
@@ -195,7 +195,7 @@ const submitEvent = () => {
|
||||
}, 500);
|
||||
};
|
||||
|
||||
let drawer = ref(false);
|
||||
const drawer = ref(false);
|
||||
|
||||
function onDeploy(value?: object) {
|
||||
console.log("onDeploy", value);
|
||||
|
||||
@@ -17,8 +17,8 @@ const form = reactive({
|
||||
status: ""
|
||||
});
|
||||
|
||||
let dataList = ref([]);
|
||||
let loading = ref(true);
|
||||
const dataList = ref([]);
|
||||
const loading = ref(true);
|
||||
const { columns } = useColumns();
|
||||
|
||||
const formRef = ref<FormInstance>();
|
||||
@@ -52,7 +52,7 @@ function handleSelectionChange(val) {
|
||||
|
||||
async function onSearch() {
|
||||
loading.value = true;
|
||||
let { data } = await getRoleList();
|
||||
const { data } = await getRoleList();
|
||||
dataList.value = data.list;
|
||||
pagination.total = data.total;
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -17,8 +17,8 @@ const form = reactive({
|
||||
mobile: "",
|
||||
status: ""
|
||||
});
|
||||
let dataList = ref([]);
|
||||
let loading = ref(true);
|
||||
const dataList = ref([]);
|
||||
const loading = ref(true);
|
||||
const { columns } = useColumns();
|
||||
|
||||
const formRef = ref<FormInstance>();
|
||||
@@ -52,7 +52,7 @@ function handleSelectionChange(val) {
|
||||
|
||||
async function onSearch() {
|
||||
loading.value = true;
|
||||
let { data } = await getUserList();
|
||||
const { data } = await getUserList();
|
||||
dataList.value = data.list;
|
||||
pagination.total = data.total;
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -21,7 +21,7 @@ const searchValue = ref("");
|
||||
const { proxy } = getCurrentInstance();
|
||||
const treeRef = ref<InstanceType<typeof ElTree>>();
|
||||
|
||||
let highlightMap = ref({});
|
||||
const highlightMap = ref({});
|
||||
|
||||
const filterNode = (value: string, data: Tree) => {
|
||||
if (!value) return true;
|
||||
@@ -45,8 +45,8 @@ function nodeClick(value) {
|
||||
}
|
||||
|
||||
function toggleRowExpansionAll(status) {
|
||||
let nodes = (proxy.$refs["treeRef"] as any).store._getAllNodes();
|
||||
for (var i = 0; i < nodes.length; i++) {
|
||||
const nodes = (proxy.$refs["treeRef"] as any).store._getAllNodes();
|
||||
for (let i = 0; i < nodes.length; i++) {
|
||||
nodes[i].expanded = status;
|
||||
}
|
||||
}
|
||||
@@ -63,7 +63,7 @@ watch(searchValue, val => {
|
||||
});
|
||||
|
||||
onMounted(async () => {
|
||||
let { data } = await getDeptList();
|
||||
const { data } = await getDeptList();
|
||||
treeData.value = handleTree(data as any);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user