فهرست منبع

修改项目列表

ZaiZai 1 سال پیش
والد
کامیت
b782dfaecf
2فایلهای تغییر یافته به همراه6 افزوده شده و 7 حذف شده
  1. 4 5
      src/views/project/gist/list.vue
  2. 2 2
      src/views/project/modules/project-list.vue

+ 4 - 5
src/views/project/gist/list.vue

@@ -165,10 +165,9 @@ const modalImportClose = () => {
 }
 
 //上传完成
-const uploadSuccess = () => {
-    setTimeout(() => {
-        getTableData()
-        modalImportClose()
-    }, 1000)
+const uploadSuccess = ({ res }) => {
+    modalImportClose()
+    window?.$message.success(res.msg)
+    getTableData()
 }
 </script>

+ 2 - 2
src/views/project/modules/project-list.vue

@@ -158,10 +158,10 @@
                                                 </hc-body>
                                             </template>
                                         </el-table-column>
-                                        <el-table-column prop="investMoneyAll" label="与计划投资的差距" width="100" align="center">
+                                        <el-table-column prop="investUnfinishedMoney" label="与计划投资的差距" width="100" align="center">
                                             <template #default="{ row }">
                                                 <hc-body>
-                                                    <hc-table-input v-model="row.investMoneyAll" disabled />
+                                                    <hc-table-input v-model="row.investUnfinishedMoney" disabled />
                                                 </hc-body>
                                             </template>
                                         </el-table-column>