odc.xiaohui
2023-12-21 bbcd5945cae34b1ea5f992f526e02dcf722801c6
src/views/system/oss/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>
@@ -351,6 +351,7 @@
}
const lookPawsd = async (row: any) => {
  console.log(row, row.ossId);
  percentage2.value = 0;
  clearInterval(state.mytime);
    state.mytime = 0;
  if(row == '123123'){
@@ -363,7 +364,7 @@
    dialogVisible.value = false;
    clearInterval(state.mytime);
    state.mytime = 0;
    testtxt.value = row.password;
    testtxt.value = row.data.password;
  titleDownload.value = '查看提取码'
  pasTxt.value = ''
  visibleCode.value = true
@@ -379,7 +380,7 @@
  await examineIds(row.ossId).then(res => {
    console.log(res);
    if (res.code == 200) {
      testtxt.value = res.msg;
      testtxt.value = row.data.password;
      titleDownload.value = '查看提取码'
      pasTxt.value = ''
      // inputSty.value ={