diff --git a/src/api/awardManagement/awardManagement.js b/src/api/awardManagement/awardManagement.js index a5cea42..e5bfeca 100644 --- a/src/api/awardManagement/awardManagement.js +++ b/src/api/awardManagement/awardManagement.js @@ -105,4 +105,12 @@ export function selectSealUrl(data) { method: 'post', data: data }) +} +// 裁决书列表查询裁决书 +export function selectSignSealUrl(data) { + return request({ + url: '/caseApplication/selectSignSealUrl', + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/src/api/caseManagement/caseManagement.js b/src/api/caseManagement/caseManagement.js index 5fa194a..8bb9696 100644 --- a/src/api/caseManagement/caseManagement.js +++ b/src/api/caseManagement/caseManagement.js @@ -17,6 +17,14 @@ export function writtenHear(data) { data: data, }); } +// 生成庭审笔录 +export function creatTrialRecord(data) { + return request({ + url: "/caseApplication/creatTrialRecord", + method: "post", + data: data, + }); +} // 组庭确认 export function pendTralSure(data) { return request({ diff --git a/src/router/index.js b/src/router/index.js index 9968234..9ed9477 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -65,14 +65,14 @@ export const constantRoutes = [ path: '', component: Layout, redirect: 'index', - children: [ - { - path: 'index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } - } - ] + // children: [ + // { + // path: 'index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '首页', icon: 'dashboard', affix: true } + // } + // ] }, { path: '/user', diff --git a/src/views/awardManagement/listofAwards.vue b/src/views/awardManagement/listofAwards.vue index e591183..19296ac 100644 --- a/src/views/awardManagement/listofAwards.vue +++ b/src/views/awardManagement/listofAwards.vue @@ -90,7 +90,8 @@ import { adjudicationCaseFile, adjudicationStamp, selectSignUrl, - selectSealUrl + selectSealUrl, + selectSignSealUrl } from "@/api/awardManagement/awardManagement"; import paymentdetailsDialog from "./components/paymentdetailsDialog.vue"; import mailawardDialog from './components/MailawardDialog.vue'; @@ -168,8 +169,10 @@ export default { switch (type) { case 0: - let url = row.filearbitraUrl; - window.open(url) + selectSignSealUrl({ id: row.id }).then(res => { + let url = res.data.filearbitraUrl; + window.open(url) + }) break; case 1: this.getDetail({ id: row.id }); diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue index acefc3b..cac571f 100644 --- a/src/views/caseManagement/caseList.vue +++ b/src/views/caseManagement/caseList.vue @@ -280,7 +280,7 @@ " >开庭审理 - 生成裁决书 - @@ -535,6 +526,9 @@ export default { /** 搜索按钮操作 */ handleQuery() { this.queryParams.caseStatusList = []; + if (!this.queryParams.caseStatus ) { + this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10] + } this.queryParams.pageNum = 1; this.getcaseApply(this.queryParams); }, @@ -721,22 +715,22 @@ export default { canceltrialincourt() { this.showtrialincourt = false; }, - // 生成裁决书 - generateawardRow(row) { - console.log(row, "生成裁决书"); - this.$modal - .confirm("确定生成裁决书吗?") - .then(function () { - return document({ id: row.id }); - }) - .then((res) => { - if (res.code == 200) { - this.getcaseApply(this.queryParams); - this.$modal.msgSuccess("裁决书生成成功"); - } - }) - .catch(() => {}); - }, + // 生成裁决书 2023.10.15裁决书生成为自动,已合并如庭审提交 + // generateawardRow(row) { + // console.log(row, "生成裁决书"); + // this.$modal + // .confirm("确定生成裁决书吗?") + // .then(function () { + // return document({ id: row.id }); + // }) + // .then((res) => { + // if (res.code == 200) { + // this.getcaseApply(this.queryParams); + // this.$modal.msgSuccess("裁决书生成成功"); + // } + // }) + // .catch(() => {}); + // }, // 归档 fileRow(row) { console.log(row, "归档"); diff --git a/src/views/caseManagement/components/adjudicaterecordDialog.vue b/src/views/caseManagement/components/adjudicaterecordDialog.vue index 72441fb..4e7a3be 100644 --- a/src/views/caseManagement/components/adjudicaterecordDialog.vue +++ b/src/views/caseManagement/components/adjudicaterecordDialog.vue @@ -13,7 +13,7 @@ label-width="180px" :disabled="true" > -

案件信息:

+
案件信息:
@@ -299,7 +299,7 @@ @@ -326,21 +326,23 @@ export default { this.applicateArr = []; this.quiltArr = []; this.formData = this.form; - setTimeout(() => { - this.adjudicatename.caseAttachList.forEach(item => { - if (item.annexType == 2) { - this.applicateArr.push({ - annexName: item.annexName, - annexPath: item.annexPath, - }); - } - if (item.annexType == 6) { - this.quiltArr.push({ - annexName: item.annexName, - annexPath: item.annexPath, - }); - } - }); + setTimeout(() => { + if (this.adjudicatename.caseAttachList.length > 0) { + this.adjudicatename.caseAttachList.forEach(item => { + if (item.annexType == 2) { + this.applicateArr.push({ + annexName: item.annexName, + annexPath: item.annexPath, + }); + } + if (item.annexType == 6) { + this.quiltArr.push({ + annexName: item.annexName, + annexPath: item.annexPath, + }); + } + }); + } }, 500); this.form2 = {}; } @@ -395,4 +397,8 @@ export default { background: #ffffff; border-radius: 20px; } +.caseInfo { + font-size: 17px; + font-weight: 600; +} \ No newline at end of file diff --git a/src/views/caseManagement/components/trialincourtDialog.vue b/src/views/caseManagement/components/trialincourtDialog.vue index 9b483ba..ecfe162 100644 --- a/src/views/caseManagement/components/trialincourtDialog.vue +++ b/src/views/caseManagement/components/trialincourtDialog.vue @@ -12,7 +12,7 @@ label-width="180px" :disabled="true" > -

案件信息:

+
案件信息:
@@ -124,52 +124,59 @@ --> - -
申请人暂未提供证据!
-
- - {{ item.annexName }} - -
-
+ +
申请人暂未提供证据!
+
+ + {{ item.annexName }} + +
+
- +
被申请人暂未提供证据!
-
+
- + + +
+ {{ item.annexName }} +
+
+
+ - 发起会议 - - - 发起会议 + 生成庭审笔录 -