diff --git a/yanzhu-ui-vue3/src/views/manage/greenCarbonItem/index.vue b/yanzhu-ui-vue3/src/views/manage/greenCarbonItem/index.vue
index c3e6ceb7..3b805a3b 100644
--- a/yanzhu-ui-vue3/src/views/manage/greenCarbonItem/index.vue
+++ b/yanzhu-ui-vue3/src/views/manage/greenCarbonItem/index.vue
@@ -107,7 +107,7 @@
@@ -132,7 +132,7 @@
@@ -211,13 +211,14 @@ const data = reactive({
const { queryParams, form, rules } = toRefs(data);
/** 查询项目列表 */
-function getProjectList() {
+function getProjectList(cb) {
findMyProjectList({ pageNum: 1, pageSize: 100 }).then(response => {
data.projects = response.rows;
if (userStore.currentPrjId) {
queryParams.value.projectId = userStore.currentPrjId
data.currentPrjId = userStore.currentPrjId;
}
+ cb && cb();
});
}
/** 查询碳因子管理列表 */
@@ -231,7 +232,7 @@ function getList() {
}
// 取消按钮
-function cancel() {
+function doCancel() {
open.value = false;
reset();
}
@@ -364,8 +365,10 @@ const handleFileSuccess = (response, file, fileList) => {
};
-getList();
-getProjectList();
+
+getProjectList(()=>{
+ getList();
+});