部署231013 #77

Merged
hanchaobo merged 2 commits from hcb into dev 2023-10-13 11:48:23 +00:00
3 changed files with 51 additions and 31 deletions
+20 -5
View File
@@ -67,10 +67,17 @@ export function adjudicationLogistics(data) {
params: data params: data
}) })
} }
// 签名(暂时只改案件状态) // // 签名(暂时只改案件状态)
export function adjudicationSignature(data) { // export function adjudicationSignature(data) {
// return request({
// url: '/adjudication/signature',
// method: 'post',
// data: data
// })
// }
export function selectSignUrl(data) {
return request({ return request({
url: '/adjudication/signature', url: '/caseApplication/selectSignUrl',
method: 'post', method: 'post',
data: data data: data
}) })
@@ -84,9 +91,17 @@ export function adjudicationCaseFile(data) {
}) })
} }
// 用印(暂时只改案件状态) // 用印(暂时只改案件状态)
export function adjudicationStamp(data) { // export function adjudicationStamp(data) {
// return request({
// url: '/adjudication/stamp',
// method: 'post',
// data: data
// })
// }
export function selectSealUrl(data) {
return request({ return request({
url: '/adjudication/stamp', url: '/caseApplication/selectSealUrl',
method: 'post', method: 'post',
data: data data: data
}) })
+31 -18
View File
@@ -89,7 +89,9 @@ import {
caseApplicationDetail, caseApplicationDetail,
adjudicationLogistics, adjudicationLogistics,
adjudicationCaseFile, adjudicationCaseFile,
adjudicationStamp adjudicationStamp,
selectSignUrl,
selectSealUrl
} from "@/api/awardManagement/awardManagement"; } from "@/api/awardManagement/awardManagement";
import paymentdetailsDialog from "./components/paymentdetailsDialog.vue"; import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
import mailawardDialog from './components/MailawardDialog.vue'; import mailawardDialog from './components/MailawardDialog.vue';
@@ -140,7 +142,7 @@ export default {
this.getList(this.queryParams); this.getList(this.queryParams);
}, },
methods: { methods: {
updataList(){ updataList() {
this.getList(this.queryParams); this.getList(this.queryParams);
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
@@ -164,20 +166,27 @@ export default {
}, },
// model框显示 // model框显示
showModel(row, type) { showModel(row, type) {
this.getDetail({ id: row.id });
this.openDialog = true;
switch (type) { switch (type) {
case 1: case 1:
this.getDetail({ id: row.id });
this.openDialog = true;
this.title = "核验裁决书"; this.title = "核验裁决书";
this.flag = 1; this.flag = 1;
break; break;
case 2: case 2:
this.getDetail({ id: row.id });
this.openDialog = true;
this.title = "审核裁决书"; this.title = "审核裁决书";
this.flag = 2; this.flag = 2;
break; break;
case 3: case 3:
this.title = "裁决书签名"; // this.title = "裁决书签名";
this.flag = 3; // this.flag = 3;
selectSignUrl({ id: row.id }).then(res => {
let url = res.data.signUrl;
window.open(url)
})
break; break;
default: default:
break; break;
@@ -191,20 +200,24 @@ export default {
showaffixModel(row) { showaffixModel(row) {
this.$modal.confirm('是否进行用印申请?') this.$modal.confirm('是否进行用印申请?')
.then(function () { .then(function () {
return adjudicationStamp({id:row.id}); // return adjudicationStamp({ id: row.id });
}) selectSealUrl({ id: row.id }).then(res => {
.then(() => { let url = res.data.sealUrl;
this.getList(this.queryParams); window.open(url)
this.$modal.msgSuccess("用印成功!"); })
}) })
.catch(function () { // .then(() => {
}); // this.getList(this.queryParams);
// this.$modal.msgSuccess("用印成功!");
// })
.catch(function () {
});
}, },
// 快递信息弹框 // 快递信息弹框
showDeliveryModel(row) { showDeliveryModel(row) {
console.log(row,'快递'); console.log(row, '快递');
this.showDelivery = true this.showDelivery = true
this.getadjudicationLogistics({id:row.id}) this.getadjudicationLogistics({ id: row.id })
}, },
closeDeliveryModel() { closeDeliveryModel() {
this.showDelivery = false this.showDelivery = false
@@ -221,12 +234,12 @@ export default {
showCasefilingModel(row) { showCasefilingModel(row) {
this.$modal.confirm('是否确认立即进行案件扫描?').then( this.$modal.confirm('是否确认立即进行案件扫描?').then(
function () { function () {
return adjudicationCaseFile({id:row.id}) return adjudicationCaseFile({ id: row.id })
} }
).then(() => { ).then(() => {
this.getList(this.queryParams); this.getList(this.queryParams);
this.$modal.msgSuccess("归档成功!"); this.$modal.msgSuccess("归档成功!");
}).catch(function () {}) }).catch(function () { })
}, },
// 送达裁决书弹框 // 送达裁决书弹框
showMailaward(row) { showMailaward(row) {
-8
View File
@@ -526,14 +526,6 @@ export default {
this.loading = true; this.loading = true;
caseApply(val).then((response) => { caseApply(val).then((response) => {
this.dataList = response.rows; this.dataList = response.rows;
// this.dataList.forEach((item) => {
// if (item.arbitratMethod == 1) {
// item.arbitratMethod = "视频仲裁";
// }
// if (item.arbitratMethod == 2) {
// item.arbitratMethod = "书面仲裁";
// }
// });
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });