From 6b82b9c3ca7a447b3473b9a48f1b945d8d8a83ea Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Wed, 27 Jul 2022 15:21:47 +0800
Subject: [PATCH] 首页
---
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