heyujie
2022-06-17 6c1e43d919b199a47f1fc67831ed4b8f3ab7788b
expire dialog show
2个文件已修改
9 ■■■■■ 已修改文件
src/pages/desktop/index/components/Desktop.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/library/components/personList.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/Desktop.vue
@@ -95,7 +95,7 @@
        <span class="ver-text">版本:</span>{{ versionName }}
      </div>
      <div class="ver">
        <span class="ver-text">状态:</span>{{ versionState }}
        <span class="ver-text">状态:</span>尚未激活
      </div>
      <el-divider></el-divider>
      <div class="info" v-if="versionName == 'SmartAI正式版'">
@@ -157,7 +157,6 @@
      <!-- <el-divider></el-divider> -->
      <span slot="footer" class="dialog-footer">
        <!-- v-if="!snExpire && versionName != 'SmartAI正式版'" -->
        <div class="btns">
          <el-button
            v-if="!snExpire && versionName != 'SmartAI正式版'"
@@ -169,7 +168,7 @@
            class="cancel"
            v-if="snExpire && versionName != 'SmartAI正式版'"
            @click="$emit('quit')"
            >退出登录
            >退出登陆
          </el-button>
          <el-button class="ok" type="primary" @click="activateVersion"
            >激活</el-button
@@ -260,7 +259,7 @@
      innerDialog: false,
      versionName: "",
      codeMsg: "获取验证码",
      versionState: "尚未激活",
      // versionState: ,
      secrectKey: "",
      curOrder: {},
      curProd: {},
@@ -310,6 +309,7 @@
    validateSn() {
      getSN().then((res) => {
        this.snExpire = res.data.expire;
        this.activeDialog = res.data.expire
        this.showFreeVersion = res.data.sn == "" || res.data.expire;
        this.versionName = this.getVersionName(res.data.edition);
      });
src/pages/library/components/personList.vue
@@ -812,6 +812,7 @@
    },
    deleteThis() {
      debugger
      deleteDbPersonById({ id: this.toDeleteId })
        .then((data) => {
          if (data.success) {