| | |
| | | v-if="state.formData.isReviseManual === 1" |
| | | accept="image/*,.pdf,.doc,.docx,.xlsx,.xls" |
| | | :action="state.uploadUrl" |
| | | :disabled="state.disabled" |
| | | :disabled="projectType === 'view' || isEnd" |
| | | :headers="state.header" |
| | | method="post" |
| | | :on-success="handleAvatarSuccess" |
| | |
| | | import {delAccessoryFile, getAccessoryFile} from "@/api/projectManage/project"; |
| | | import axios from "axios"; |
| | | import {delFile, getFiles} from "@/api/projectManage/siteCheckRcd"; |
| | | import { useRoute } from 'vue-router' |
| | | const route = useRoute() |
| | | const emit = defineEmits(["getNextStatus"]); |
| | | const prop = defineProps(['projectId']) |
| | | const state = reactive({ |
| | |
| | | } |
| | | }) |
| | | |
| | | const projectType = ref(''); |
| | | const isEnd = ref('') |
| | | const riskOpen = async (type,val) => { |
| | | state.uploadData.projectId = val; |
| | | projectType.value = route.query.type; |
| | | isEnd.value = Cookies.get('end') |
| | | if(type === 'detail' || type === 'edit' ){ |
| | | if(type === 'detail'){ |
| | | state.disabled = true |