| | |
| | | } |
| | | |
| | | const handlePhotoRemove = async (file) => { |
| | | if (file && file.status == 'success') { |
| | | // state.form.idPhoto = '' |
| | | |
| | | let path = "" |
| | |
| | | }).catch(() => { |
| | | state.form.idPhoto = '' |
| | | }); |
| | | } |
| | | |
| | | |
| | | // const res = await delPic({path: path}) |
| | |
| | | |
| | | |
| | | 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 |
| | |
| | | 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) { |