zhouwx
2024-07-23 3173c73267ba584d72c7862ab159392c5d372216
bug修改
已修改9个文件
29 ■■■■■ 文件已修改
src/layout/components/Register/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/expertManage/applyRecords/components/expertForm.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/expertManage/fillForm/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/projectManage/components/confirmEndDialog.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/projectManage/components/processCtrlReview.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/projectManage/components/projectArchive.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/projectManage/components/siteCheckRcd.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/projectManage/components/uploadReviewRcd.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/userManage/expertUsers/components/expertDialog.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Register/index.vue
@@ -664,6 +664,9 @@
}
const handleRemove = async (file, uploadFiles,type) => {
  if(file && file.status == 'success'){
  let path = '';
  if(type === '上报表'){
    path = state.registerForm.agency.reportPath;
@@ -683,6 +686,7 @@
    })
  }
}
}
function handleRegister() {
  proxy.$refs.registerRef.validate(valid => {
src/views/safetyReview/expertManage/applyRecords/components/expertForm.vue
@@ -641,6 +641,7 @@
  }
  const handleRemove = (file, uploadFiles,type) => {
    if(file && file.status == 'success') {
    ElMessageBox.confirm(
        '该操作将永久删除此文件内容,是否继续?',
        '提示',
@@ -671,6 +672,7 @@
          }
        })
  }
  }
const onSubmit = async (formEl)=> {
  if (!formEl) return
src/views/safetyReview/expertManage/fillForm/index.vue
@@ -498,6 +498,7 @@
  }
  const handleRemove = (file, uploadFiles,type) => {
    if(file && file.status == 'success') {
    ElMessageBox.confirm(
        '该操作将永久删除此文件内容,是否继续?',
        '提示',
@@ -527,6 +528,7 @@
          }
        })
  }
  }
const onSubmit = async (formEl)=> {
  if (!formEl) return
src/views/safetyReview/projectManage/components/confirmEndDialog.vue
@@ -185,6 +185,9 @@
  }
}
const handleRemove = async (file, uploadFiles) => {
  if(file && file.status == 'success') {
  console.log("file",file)
  let accessoryFileId = "";
  if(file.id){
@@ -206,6 +209,7 @@
    })
  }
}
}
const handleClose = () => {
  state.form = {
src/views/safetyReview/projectManage/components/processCtrlReview.vue
@@ -318,6 +318,7 @@
}
const handleRemove = async (file, uploadFile) => {
  if(file && file.status == 'success') {
  ElMessageBox.confirm(
      '确定删除该附件?',
      '提示',
@@ -345,6 +346,7 @@
        getProcessFiles()
      })
}
}
defineExpose({
  riskOpen
src/views/safetyReview/projectManage/components/projectArchive.vue
@@ -350,6 +350,7 @@
}
const handleRemove = async (file, uploadFiles) => {
  if (file && file.status == 'success') {
  console.log("file",file)
  let accessoryFileId = "";
  if(file.id){
@@ -371,6 +372,7 @@
    })
  }
}
}
defineExpose({
  riskOpen
src/views/safetyReview/projectManage/components/siteCheckRcd.vue
@@ -614,7 +614,7 @@
}
const handleRemove = async (file, uploadFiles,type) => {
  if(file && file.status == 'success') {
    ElMessageBox.confirm(
        '确定删除该附件?',
        '提示',
@@ -669,6 +669,7 @@
          //   getSafetyFiles()
          // }
        })
  }
}
src/views/safetyReview/projectManage/components/uploadReviewRcd.vue
@@ -7,7 +7,7 @@
            <el-upload :disabled="projectType === 'view' || isEnd" accept="image/*,.pdf,.doc,.docx" :action="state.uploadUrl" :data="{moduleType: 6,projectId: props.projectId}" :headers="state.header" method="post" :on-success="handleAvatarSuccess" :on-exceed="showTip" v-model:file-list="state.fileList" :before-upload="picSize" :on-remove="handleRemove">
              <el-button type="primary">上传评审记录</el-button>
              <template #tip>
                <div class="el-upload__tip">上传文件尺寸尺寸小于2M</div>
                <div class="el-upload__tip">上传文件尺寸尺寸小于5M</div>
              </template>
            </el-upload>
          </el-form-item>
@@ -177,6 +177,7 @@
}
const handleRemove = async (file, uploadFiles) => {
  if(file && file.status == 'success'){
  ElMessageBox.confirm(
      '确定删除该附件?',
      '提示',
@@ -205,6 +206,8 @@
      })
}
}
const checkFile = async (file)=>{
  axios.get(import.meta.env.VITE_APP_BASE_API +'/' + file.path,{headers:{'Content-Type': 'application/json','Authorization': `${getToken()}`,'uid':`${Cookies.get('uid')}`},responseType: 'blob'}).then(res=>{
    if (res) {
src/views/safetyReview/userManage/expertUsers/components/expertDialog.vue
@@ -671,6 +671,7 @@
}
const handlePhotoRemove = async (file) => {
  if (file && file.status == 'success') {
  // state.form.idPhoto = ''
  let path = ""
@@ -696,6 +697,7 @@
  }).catch(() => {
    state.form.idPhoto = ''
  });
}
  // const res = await delPic({path: path})
@@ -716,6 +718,8 @@
const handleRemove = async (file, uploadFiles,type) => {
  if(file && file.status == 'success') {
    let path = ""
    if(state.title === '编辑') {
        const base = import.meta.env.VITE_APP_BASE_API
@@ -754,6 +758,7 @@
        state.form.salaryAttach = state.form.salaryAttach.filter(item => item.path !== path)
    }
}
}
const finshed = ref(false)
const getAgency = async (type) => {
  if (type === 'open' && state.pageNum !== 1) {