From 9ceddcd1ae23033134d4e32b02eaf272e4c77151 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期日, 28 四月 2024 11:46:47 +0800
Subject: [PATCH] 配置满勤奖的获取接口联调,数据处理+保存配置满勤的接口联调
---
src/views/productManage/silkRegisterForm/index.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue
index a82b23d..e6e7349 100644
--- a/src/views/productManage/silkRegisterForm/index.vue
+++ b/src/views/productManage/silkRegisterForm/index.vue
@@ -61,7 +61,7 @@
tableList: {},
loading: false,
searchOptions: [],
- search_map: {},
+ keyword: '',
tableColumn: [
{ label: "缂栧彿", prop: "number", min: 120, default: true }, // 涓婚
{ label: "钀戒笣鏃堕棿", prop: "finishDate", min: 190, }, // 瀹㈡埛鍚嶇О
@@ -69,8 +69,8 @@
{ label: "瑙勬牸", prop: "spec", min: 100 }, // 瀹㈡埛鐘舵��
{ label: "杞﹂棿", prop: "name", min: 100 }, // 鑱旂郴鏂瑰紡
{ label: "搴勫彛", prop: "market", min: 130 }, // 鑱旂郴浜烘棩鏈�
- { label: "寮�濮嬪洖鏁�", prop: "startCircle", min: 130 }, // 涓嬫鍥炶鏃ユ湡
- { label: "缁撴潫鍥炴暟", prop: "endCircle", min: 110 }, // 璐熻矗浜�
+ { label: "寮�濮嬪洖鏁�", prop: "circle", min: 130 }, // 涓嬫鍥炶鏃ユ湡
+ { label: "缁撴潫鍥炴暟", prop: "totalCircle", min: 110 }, // 璐熻矗浜�
],
showCol: [
"缂栧彿",
@@ -86,7 +86,7 @@
},
created() {
this.setTable()
- this.getData(this.search_map)
+ this.getData(this.keyword)
},
computed: {
},
@@ -123,7 +123,7 @@
async getData() {
this.loading = true
await getRegisterList({
- search_map: this.search_map,
+ keyword: this.keyword,
page: this.pagerOptions.currPage,
pageSize: this.pagerOptions.pageSize
})
@@ -143,7 +143,7 @@
// }
// })
this.tableList.tableInfomation = res.data || []
- this.pagerOptions.totalCount = res.count
+ this.pagerOptions.totalCount = res.total
} else {
this.tableList.tableInfomation = []
}
@@ -160,7 +160,7 @@
},
// 鎼滅储
onFilterSearch(searchText) {
- this.search_map.client_name = searchText ?? ""
+ this.keyword = searchText ?? ""
this.pagerOptions.currPage = 1
this.getData()
},
@@ -180,7 +180,9 @@
path:"/productManage/silkRegisterForm/addPage",
query:{
id:row.ID,
- activeName:'first'
+ activeName:'first',
+ inspectID:row.finenessCheckID,
+ title:'淇敼'
}
});
},
--
Gitblit v1.8.0