odc.xiaohui
2023-12-22 d3242462c31ac2b01a237b01d2fca4b3cbdbcd70
src/views/index.vue
@@ -98,14 +98,14 @@
    <el-dialog
    v-model="dialogVisible"
    title=""
    width="30%"
    width="37%"
    :close-on-click-modal = "false"
    :close-on-press-escape = "false"
    :show-close = "false"
  >
    <el-progress type="dashboard" :percentage="percentage2" :color="colors" />
    <el-progress type="dashboard" :percentage="percentage2" style="display: flex;justify-content: center" :color="colors" />
    </el-dialog>
  </div>
@@ -321,6 +321,7 @@
/** 任务日志列表查询 */
/** 文件按钮操作 */
const handleFile = () => {
  percentage2.value = 0;
  reset();
  type.value = 0;
  dialog.visible = true;
@@ -343,21 +344,25 @@
const submitForm = async () => {
  await childFile.value.handleCilck()
  dialog.visible = false;
     dialog.visible = false;
    dialogVisible.value = true;
    state.mytime = setInterval(() => {
      percentage2.value = (percentage2.value % 100) + 5
    }, 500)
}
const lookPawsd = async (row:any) => {
  console.log(row);
  // row.msg = ':/"123456'
  percentage2.value = 0;
   clearInterval(state.mytime);
    state.mytime = 0;
  if(row == '123123'){
    dialogVisible.value = true;
    state.mytime = setInterval(() => {
        percentage2.value = (percentage2.value % 100) + 5
      }, 500)
  }
  else{
  // if(row == '123123'){
  //   dialogVisible.value = true;
  //   state.mytime = setInterval(() => {
  //       percentage2.value = (percentage2.value % 100) + 5
  //     }, 500)
  // }
  // else{
    dialogVisible.value = false;
    clearInterval(state.mytime);
    state.mytime = 0;
@@ -366,7 +371,7 @@
      titleDownload.value = '查看提取码'
      pasTxt.value = ''
      visibleCode.value = true
  }
  // }
}
const handleCode = async (row: OssVO) => {
  console.log(row, row.ossId);