From ffb95166c2f65efc41acefc217e558191a41ed8f Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 18 四月 2024 17:32:55 +0800
Subject: [PATCH] 纤度登记表 编辑的时候纤度值和数量赋值的逻辑调整
---
src/views/employeeSalary/apprenticeshipManage/index.vue | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/src/views/employeeSalary/apprenticeshipManage/index.vue b/src/views/employeeSalary/apprenticeshipManage/index.vue
index 0b5d8a4..395aae8 100644
--- a/src/views/employeeSalary/apprenticeshipManage/index.vue
+++ b/src/views/employeeSalary/apprenticeshipManage/index.vue
@@ -40,13 +40,13 @@
</template>
<script>
-import AddDialog from "@/views/systemSetting/workshopManage/components/addDialog.vue"
-
+import AddDialog from "@/views/employeeSalary/apprenticeshipManage/components/addDialog.vue"
+import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
name: "apprenticeshipManage",
props: {},
components: {AddDialog},
- mixins: [],
+ mixins: [pageMixin],
computed: {},
data() {
return {
@@ -67,6 +67,9 @@
TabsIndex:0,
workshopId:null,
}
+ },
+ getDataParams: {
+ keyWord: '',
},
}
},
@@ -112,6 +115,29 @@
this.editConfig.dialogTitle="鏂板"
this.editConfig.visible=true
},
+ // 鎼滅储
+ onFilterSearch(searchText) {
+ this.getDataParams.keyWord = searchText,
+ this.getData()
+ },
+ // 鍒锋柊
+ refreshClick() {
+ this.getDataParams.keyWord = ""
+ this.pagerOptions.currPage = 1
+ this.pagerOptions.pageSize = 15
+ // this.$refs.searchRef.searchInput = ""
+ this.getData()
+ },
+ // 鎵撳嵃
+ printClick() { },
+ // 缁勫埆
+ handleShow() {
+
+ },
+ // 琛ㄦ牸琛岀偣鍑�
+ tableRowClick(row) {
+ console.log(row, "row")
+ },
}
}
</script>
--
Gitblit v1.8.0