zhangzengfei
2023-06-30 db5872786c1e1697a59af41386136ee002bb68ad
src/views/personalCenter/components/SubAccount.vue
@@ -41,6 +41,7 @@
        :data="dataList"
        :fit="true"
        :default-sort="{ prop: 'createTime', order: 'descending' }"
        v-loading="tbLoading"
      >
        <el-table-column label="序号" width="55" class-name="index">
          <template slot-scope="scope">{{ scope.$index + 1 + (page - 1) * size }}</template>
@@ -200,10 +201,10 @@
          <el-option
            v-for="item in taskOptions"
            style="font-size: 12px"
            :key="item.id"
            :value="item.name"
            :label="item.name"
            :title="item.name"
            :key="item.value"
            :value="item.value"
            :label="item.value"
            :title="item.value"
          ></el-option>
        </el-select>
        <el-select
@@ -251,9 +252,6 @@
    TreeMenu
  },
  computed: {
    taskOptions() {
      return this.VideoPhotoData.tasks.filter((item) => !item.isDelete)
    },
    showHeadName() {
      return this.$route.path === "/personalCenter"
    }
@@ -272,6 +270,7 @@
      }
    }
    return {
      tbLoading: false,
      searchTime: [this.$moment().format("YYYY-MM-DD 00:00:00"), this.$moment().format("YYYY-MM-DD HH:mm:ss")], //搜索时间
      page: 1,
      size: 10, //分页相关
@@ -287,6 +286,7 @@
          enable: true
        }
      },
      taskOptions: [],
      options: {
        lazy: true,
        lazyLoad(node, resolve) {
@@ -388,6 +388,7 @@
    this.fetchDataTree()
  },
  mounted() {
    this.taskOptions = this.Constants.sceneNameOptions
    this.TreeDataPool.reset()
    this.TreeDataPool.multiple = true
    this.VideoPhotoData.queryTaskList()
@@ -608,6 +609,7 @@
      })
    },
    findUserList() {
      this.tbLoading = true
      if (this.inputText.length) {
        this.inputText = this.inputText.trim()
      }
@@ -625,9 +627,12 @@
          } else {
            this.$notify.error("加载子账户列表失败")
          }
          this.tbLoading = false
        })
        .catch((e) => {
          this.$notify.error(e.msg)
          this.tbLoading = false
        })
    },
    goback() {