浏览代码

merge fix

scorpio 2 年之前
父节点
当前提交
8d0696c7c1
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 4 1
      src/views/home/component/dash.vue
  2. 3 0
      src/views/home/component/form_dialog.vue

+ 4 - 1
src/views/home/component/dash.vue

@@ -368,7 +368,10 @@ export default {
           })
         })
     },
-    getNumList(data) {
+    getNumList (data) {
+      if (this.numList.length > 0) {
+        return
+      }
       this.$api.project.userNunList(data).then(res => {
         if (res.code === 200) {
           this.numList = res.data.projectStage

+ 3 - 0
src/views/home/component/form_dialog.vue

@@ -237,6 +237,9 @@ export default {
       }
       this.loading = true
       this.$message.success('正在导入,请稍后...')
+      if (this.user.viewStage === 0) {
+        this.dept.isReport = 1
+      }
       this.$refs.upload.submit()
     },
     change (parentIndex, index) {