Explorar o código

修复bug6-26am 合并

liujiejie hai 1 ano
pai
achega
b28d25bbf3

BIN=BIN
dist.zip


+ 4 - 2
src/views/dataAdministration/index.vue

@@ -154,6 +154,7 @@
               @click="editTransferState(scope.row, '重新转换')"
               type="text"
               size="small"
+              :disabled="scope.row.transferState == 0"
               >重新转换</el-button
             >
           </template>
@@ -512,8 +513,9 @@ export default {
     },
     editstateCancel(formName) {
       this.$refs[formName] && this.$refs[formName].resetFields();
-      this.editTransferStateForm = {};
-      this.editTransferStateForm.dataTransferTypePath = "";
+      this.editTransferStateForm = {
+        dataTransferTypePath: null,
+      };
       this.editTransferStateLoading = false;
       this.loadingViewEdit = false;
       this.getBatchCodeList();

+ 5 - 2
src/views/performance/components/EditAnalysis.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2024-05-29 09:14:23
- * @LastEditTime: 2024-06-26 14:05:59
+ * @LastEditTime: 2024-06-26 15:23:00
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/EditAnalysis.vue
@@ -389,7 +389,10 @@ export default {
             ? response.data.windEngineGroupList[0].engineCode
             : null;
         this.getDetailInfo();
-        this.getWindEngList();
+        if (response.data.windEngineGroupList.length > 0) {
+          //获取台账机组编号
+          this.getWindEngList();
+        }
         this.loading = false;
       } catch (error) {
         console.error(error);