diff --git a/src/views/project/projectJinDu/monthReport.vue b/src/views/project/projectJinDu/monthReport.vue
index 2b57523..77c1e1d 100644
--- a/src/views/project/projectJinDu/monthReport.vue
+++ b/src/views/project/projectJinDu/monthReport.vue
@@ -16,21 +16,16 @@
-
-
-
-
-
-
-
搜索
重置
+ 导入
+
@@ -40,15 +35,12 @@
-
-
-
- 通知提醒
- 上报当月进度
+ 通知提醒
+ 修改
@@ -62,8 +54,33 @@
@pagination="getDataList"
/>
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -91,13 +108,6 @@
-
-
-
-
-
-
-
-
-
+
+
@@ -162,6 +172,7 @@
const total = ref(0);
const dialogShow = ref(false);
const dialogShowTZ = ref(false);
+const dialogShowDR = ref(false);
const projectList = ref([]);
const allData = reactive({
queryParams: {
@@ -178,6 +189,7 @@
content: '',
degist: '',
title: '',
+ remark: '',
},
rulesForm: {
title: [{ required: true, message: '请输入', trigger: 'blur' }],
@@ -200,8 +212,15 @@
],
fileList: [{ required: true, message: '请输入', trigger: 'blur', type: 'array' }],
},
+ formExport: {
+ fileList: [],
+ month: proxy.moment(new Date()).format('YYYY-MM'),
+ },
+ rulesFormDR: {
+ fileList: [{ required: true, message: '请输入', trigger: 'blur', type: 'array' }],
+ },
});
-const { queryParams, formData, rulesForm, formDataTZ, rulesFormTZ } = toRefs(allData);
+const { queryParams, formData, rulesForm, formDataTZ, rulesFormTZ, formExport, rulesFormDR } = toRefs(allData);
/** 获取查询数据列表 */
function getDataList() {
@@ -227,7 +246,7 @@
handleQuery();
}
/** 上报当月进度操作 */
-function handleReport() {
+function handleEdit() {
proxy.resetForm('formRef'); //清空表单
dialogShow.value = true;
}
@@ -261,6 +280,14 @@
});
}
+// 导入
+function importData() {
+ dialogShowDR.value = true;
+ proxy.resetForm('formRefDR'); //清空表单
+}
+
+// 导入提交
+
// 获取项目列表
const getProjectList = async () => {
const res = await getProjectInfoNewList();