odc.xiaohui
2023-12-22 fdc750fc7144ae675b92406451913e65c42c5f85
src/views/index.vue
@@ -66,7 +66,7 @@
    <el-dialog :title="dialog.title" v-model="dialog.visible" width="500px" append-to-body>
      <el-form ref="ossFormRef" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="文件名">
          <fileUpload ref="childFile" @closePopup="getList();lookPawsd($event)"  v-model="form.file"  v-if="type === 0" />
          <fileUpload ref="childFile" @closePopup="getList();lookPawsd($event)" @openPopup="lookPawsd($event)"  v-model="form.file"  v-if="type === 0" />
          <imageUpload v-model="form.file" v-if="type === 1" />
          <video-upload v-model="form.file" v-if="type === 2" />
        </el-form-item>
@@ -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;
@@ -348,6 +349,7 @@
const lookPawsd = async (row:any) => {
  console.log(row);
  // row.msg = ':/"123456'
   clearInterval(state.mytime);
    state.mytime = 0;
  if(row == '123123'){
@@ -360,7 +362,7 @@
    dialogVisible.value = false;
    clearInterval(state.mytime);
    state.mytime = 0;
    testtxt.value = row.password;
    testtxt.value = row.msg;
      // testtxt.value = row.msg.slice(2);
      titleDownload.value = '查看提取码'
      pasTxt.value = ''