From 33802d74d2720e86c406f5ca9531ac9435b9ddd2 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期二, 02 八月 2022 09:09:48 +0800 Subject: [PATCH] lct --- src/views/specialWorkSystem/workBasicManagementSetting/personalProtectDevices/index.vue | 30 +----------------------------- 1 files changed, 1 insertions(+), 29 deletions(-) diff --git a/src/views/specialWorkSystem/workBasicManagementSetting/personalProtectDevices/index.vue b/src/views/specialWorkSystem/workBasicManagementSetting/personalProtectDevices/index.vue index ee5228a..8a5eb25 100644 --- a/src/views/specialWorkSystem/workBasicManagementSetting/personalProtectDevices/index.vue +++ b/src/views/specialWorkSystem/workBasicManagementSetting/personalProtectDevices/index.vue @@ -118,9 +118,6 @@ interface type { } - // export default defineComponent({ - // name: 'workCheckinRecord', - // setup() { const userInfo = useUserInfo() const { userInfos } = storeToRefs(userInfo); const state = reactive<stateType>({}); @@ -177,7 +174,7 @@ await formEl.validate((valid, fields) => { if (valid) { if(chosenIndex.value == -1){ - tableData.push(addRecord.value) + tableData.unshift(addRecord.value) }else{ tableData[chosenIndex.value] = addRecord.value } @@ -206,31 +203,6 @@ userInfos.value.projectId = value await initBackEndControlRoutes(); }; - // return { - // renderMenu, - // multipleTableRef, - // tableData, - // currentPage, - // pageSize, - // dialogDetails, - // details, - // deleteDialog, - // dialogAddRecord, - // viewRecord, - // deleteRecord, - // handleSizeChange, - // handleCurrentChange, - // Plus, - // Edit, - // Delete, - // Search, - // Download, - // handleSelectionChange, - // Refresh, - // ...toRefs(state), - // }; - // }, - // }); </script> <style scoped lang="scss"> -- Gitblit v1.9.2