diff --git a/src/api/mv/VideoComponent.vue b/src/api/mv/VideoComponent.vue deleted file mode 100644 index f14bdaa..0000000 --- a/src/api/mv/VideoComponent.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - diff --git a/src/api/request.ts b/src/api/request.ts index 4bbaeff..257be51 100644 --- a/src/api/request.ts +++ b/src/api/request.ts @@ -38,7 +38,6 @@ function del(options: Options) { let isRelogin = false; function ajax(url: string, options: Options) { const headers: Record = { - "Authorization": getToken() }; let body: string | FormData; diff --git a/src/api/work/negative.ts b/src/api/work/negative.ts index 12c8540..f983ad5 100644 --- a/src/api/work/negative.ts +++ b/src/api/work/negative.ts @@ -15,6 +15,12 @@ export function getNegativeDetails(id, workId) { }); } +export function getNegativeDetailsByOuter(id) { + return request.get({ + url: `/negative/outer/${id}` + }); +} + export function addNegative(body) { return request.post({ url: `/negative`, @@ -74,10 +80,18 @@ export function transferTodo(id) { }); } - +// 抽检 export function spotCheckNegative(id, body) { return request.post({ url: `/negative/${id}/spotCheck`, body }); +} + +// 提交办结 +export function verifySubmitNegative(id, body) { + return request.post({ + url: `/negative/${id}/verifySubmit`, + body + }); } \ No newline at end of file diff --git a/src/components/data/gab-import.vue b/src/components/data/gab-import.vue index 5ef9026..97fef56 100644 --- a/src/components/data/gab-import.vue +++ b/src/components/data/gab-import.vue @@ -1,5 +1,5 @@ @@ -210,7 +215,7 @@ import { onMounted } from "vue"; const emit = defineEmits(["close", "update"]); -const activeStep = ref(0) +const activeStep = ref(0); const fileList = ref([]); @@ -227,9 +232,7 @@ async function handleNext() { formData.append("file", fileList.value[fileList.value.length - 1].raw); loading.value = true; try { - importTableData.value = await importPetitionComplaintGab( - formData - ); + importTableData.value = await importPetitionComplaintGab(formData); } catch (e) { loading.value = false; throw e; @@ -239,29 +242,23 @@ async function handleNext() { return; } if (activeStep.value === 1) { - importTableData.value.forEach((item) => { - if (!item.departId) { - feedback.msgWarning("请选择办理单位"); - throw e; - } - }); loading.value = true; try { await addPetitionComplaintGab(importTableData.value); - } catch(e) { - loading.value = false - return + } catch (e) { + loading.value = false; + return; } - loading.value = false + loading.value = false; activeStep.value = 2; - emit('update') + emit("update"); return; } if (activeStep.value === 2) { - emit('close') - activeStep.value = 0 - importTableData.value = [] - fileList.value = [] + emit("close"); + activeStep.value = 0; + importTableData.value = []; + fileList.value = []; } } @@ -269,16 +266,18 @@ function handlePrev() { activeStep.value = activeStep.value - 1; } -const dialogRef = ref() +const dialogRef = ref(); -watch(() => dialogRef.value?.visible, (val) => { - if (!val) { - activeStep.value = 0 - importTableData.value = [] - fileList.value = [] +watch( + () => dialogRef.value?.visible, + (val) => { + if (!val) { + activeStep.value = 0; + importTableData.value = []; + fileList.value = []; + } } -}) - +); \ No newline at end of file diff --git a/src/components/data/gj-import.vue b/src/components/data/gj-import.vue index 2cb5da3..0c6afb2 100644 --- a/src/components/data/gj-import.vue +++ b/src/components/data/gj-import.vue @@ -14,43 +14,49 @@
- +
+

认定办结

+
+
+ + {{ + getDictLable( + dict.verifySituation, + negative.verifySituation + ) || "/" + }} +
+
+ + {{ + getDictLable( + dict.verifyFileSituation, + negative.verifyFileSituation + ) || "/" + }} +
+
+
- -
-
- - {{ - getDictLable( - dict.verifySituation, - negative.verifySituation - ) || '/' - }} -
-
- - {{ - getDictLable( - dict.verifyFileSituation, - negative.verifyFileSituation - ) || '/' - }} -
-
-
+ + \ No newline at end of file diff --git a/src/views/books/Xcdc.vue b/src/views/books/Xcdc.vue index 0e9149a..d56c1e4 100644 --- a/src/views/books/Xcdc.vue +++ b/src/views/books/Xcdc.vue @@ -177,9 +177,8 @@
- +