|
@@ -202,6 +202,10 @@ const props = defineProps({
|
|
|
type: Boolean,
|
|
|
default: false,
|
|
|
},
|
|
|
+ currentId:{
|
|
|
+ type: [String, Number],
|
|
|
+ default: '',
|
|
|
+ },
|
|
|
})
|
|
|
|
|
|
//事件
|
|
@@ -218,6 +222,7 @@ const isDrawer = ref(props.show)
|
|
|
const fileId = ref(props.fileId)//案卷ID
|
|
|
const fileInfo = ref(props.fileInfo)//案卷ID
|
|
|
const userInfo = ref(useAppState.getUserInfo)
|
|
|
+const currentId = ref(props.currentId)
|
|
|
|
|
|
//监听
|
|
|
watch(() => [
|
|
@@ -227,7 +232,8 @@ watch(() => [
|
|
|
props.fileInfo,
|
|
|
props.projectId,
|
|
|
props.isOpinion,
|
|
|
-], ([show, bubble, FileId, FileInfo, ProjectId, isO]) => {
|
|
|
+ props.currentId,
|
|
|
+], ([show, bubble, FileId, FileInfo, ProjectId, isO, curId]) => {
|
|
|
|
|
|
isDrawer.value = show
|
|
|
isBubble.value = bubble
|
|
@@ -235,6 +241,7 @@ watch(() => [
|
|
|
fileInfo.value = FileInfo
|
|
|
projectId.value = ProjectId
|
|
|
isOpinion.value = isO
|
|
|
+ currentId.value = curId
|
|
|
|
|
|
if (fileId.value && isDrawer.value) {
|
|
|
getArchiveFileListData()
|
|
@@ -351,6 +358,7 @@ const serReviewFile = async ()=>{
|
|
|
const { error, code, data, msg } = await initialgApi.updateInspectStatus({
|
|
|
archiveId: fileId.value,
|
|
|
projectId:projectId.value,
|
|
|
+ conclusionId:currentId.value,
|
|
|
})
|
|
|
}
|
|
|
const opid = ref('')
|
|
@@ -361,6 +369,7 @@ const getopiniondata = async ()=>{
|
|
|
const { error, code, data, msg } = await initialgApi.getArchiveFileOpinion({
|
|
|
fileId: checkId.value,
|
|
|
projectId:projectId.value,
|
|
|
+ conclusionId:currentId.value,
|
|
|
})
|
|
|
if (!error && code === 200) {
|
|
|
console.log(data, 'data')
|
|
@@ -537,6 +546,7 @@ const submitOpinion = async ()=>{
|
|
|
userId:userInfo.value.user_id,
|
|
|
archiveName:fileInfo.value.name,
|
|
|
id: opid.value || null,
|
|
|
+ conclusionId:currentId.value,
|
|
|
|
|
|
})
|
|
|
submitLoading.value = false
|