|
@@ -104,10 +104,10 @@
|
|
|
<a-button @click='saveDvpPlan' type="primary" class="mr10" :disabled="isLook || applyButtonFlag">
|
|
|
{{ $t('global-btn.new') }}
|
|
|
</a-button>
|
|
|
- <!-- 导入 -->
|
|
|
- <a-button :disabled="isLook || applyButtonFlag" @click='importFile' type="primary" class="mr10">
|
|
|
- {{ $t('global-btn.import') }}
|
|
|
- </a-button>
|
|
|
+ <!-- todo 导入-->
|
|
|
+<!-- <a-button :disabled="isLook || applyButtonFlag" @click='importFile' type="primary" class="mr10">-->
|
|
|
+<!-- {{ $t('global-btn.import') }}-->
|
|
|
+<!-- </a-button>-->
|
|
|
<!-- 导出 -->
|
|
|
<a-button @click='exportFile'>
|
|
|
{{ $t('global-btn.export') }}
|
|
@@ -502,7 +502,7 @@ export default {
|
|
|
this.applyTableData = [];
|
|
|
},
|
|
|
/**
|
|
|
- * 导入
|
|
|
+ * todo 导入
|
|
|
*/
|
|
|
importFile() {
|
|
|
|
|
@@ -633,6 +633,8 @@ export default {
|
|
|
})
|
|
|
_that.pagination.total = res.data.total;
|
|
|
}
|
|
|
+ } else {
|
|
|
+ _that.pagination.total = 0;
|
|
|
}
|
|
|
}
|
|
|
}).finally(() => {
|
|
@@ -661,7 +663,7 @@ export default {
|
|
|
this.$api.deleteTest(data).then(res => {
|
|
|
if (res.flag){
|
|
|
this.initData();
|
|
|
- this.$message.success(_this.$t('plan.dvp.operation-succeeded'), 1);
|
|
|
+ this.$message.success(this.$t('plan.dvp.operation-succeeded'), 1);
|
|
|
}
|
|
|
});
|
|
|
},
|