all
heyujie
2021-07-21 b5e2e236828b7fbc0e8f2bdbf66651ad8907e3b1
src/pages/ai/index/App.vue
@@ -297,6 +297,8 @@
                    <p class="src-title">算法软件</p>
                  </div>
                  <div class="store-list flex-list">
                    <div v-if="!unActivedSDKList.length" class="empty-tip">暂无数据</div>
                    <div class="wrap-box" v-for="item in unActivedSDKList" :key="item.id">
                      <div class="list-choose-item-left">
                        <div class="list-complete-item-handle">
@@ -913,7 +915,6 @@
import FileUploader from "@/components/subComponents/FileUpload/index";
export default {
  name: "algorithmManage",
  props: {},
  components: {
    FileUploader,
  },
@@ -921,26 +922,6 @@
    updateNum() {
      return this.hasNewVersionApp.length + this.hasNewVersionSdk.length;
    },
    // notInstalledList () {
    //   return this.sdkList.filter(sdk => {
    //     return sdk.installed === false;
    //   });
    // },
    // installedList () {
    //   return this.sdkList.filter(sdk => {
    //     return sdk.installed === true && !sdk.isUpgrade;
    //   });
    // },
    // ungradeList () {
    //   // 升级处理会导致重复的key,需要修改
    //   let arr = this.sdkList.filter(sdk => {
    //     return sdk.isUpgrade === true;
    //   });
    //   arr.forEach(sdk => {
    //     sdk.upgradeLoading = false;
    //   });
    //   return arr;
    // },
    isAdmin() {
      if (
        sessionStorage.getItem("userInfo") &&
@@ -991,8 +972,6 @@
        licence: "",
        devIds: "",
      },
      // unloadLoading: false,
      // installLoading: false,
      installedApps: [],
      storeApps: [],
      installFile: {},
@@ -1296,12 +1275,10 @@
              }
            })
            .catch((e) => {
              console.log(e);
              app.unloadLoading = false;
            });
        })
        .catch((e) => {
          console.log(e);
        });
    },
@@ -1518,12 +1495,10 @@
              }
            })
            .catch((e) => {
              console.log(e);
              sdk.unloadLoading = false;
            });
        })
        .catch((e) => {
          console.log(e);
        });
    },
    upgradeSDKinWin() {
@@ -1998,7 +1973,8 @@
}
.empty-tip {
  padding-left: 25px;
  color: #ccc;
  color: #ccc;    margin-bottom: 18%;
}
.task-manage {
  height: 100%;
@@ -2044,12 +2020,6 @@
    padding: 0 !important;
    overflow: auto !important;
  }
  //height: calc(100% - 10px);
  // .super {
  //   .right-box {
  //     width: 58% !important;
  //   }
  // }
  .super {
    width: 100%;
@@ -2062,10 +2032,8 @@
      color: #222222;
    }
    .left-box {
      // width: 41%;
      height: 100%;
      box-sizing: border-box;
      // float: left;
      .el-drawer__header {
        border-bottom: 2px solid #eee;
        padding-bottom: 10px;
@@ -2082,7 +2050,6 @@
        }
      }
      .task-list {
        // background: #1c364a;
        background: #fff;
        padding: 20px;
        box-sizing: border-box;
@@ -2321,7 +2288,6 @@
      margin-top: 16px;
      text-align: center;
      line-height: 28px;
      // background-color: #3498DB;
    }
    .list-choose-item-left {
      cursor: pointer;
@@ -2329,7 +2295,6 @@
      font-size: 14px;
      transition: all 1s;
      // background: #ffffff;
      border-radius: 4px;
      p {
        display: none;
@@ -2478,7 +2443,6 @@
      font-size: 14px;
      letter-spacing: 0.05em;
      color: #333;
      // background-color: #ecf5ff;
      .el-input {
        position: relative;
        font-size: 14px;
@@ -2523,8 +2487,6 @@
          left: 50%;
          transform: translate(-50%, -50%);
          max-height: 150px;
          // max-width: 106px;
          // max-height: 106px;
        }
      }
      .willUpGrade {