This commit is contained in:
fz
2023-10-13 18:43:31 +08:00
parent a332dfa891
commit 48cb4e276a
4 changed files with 59 additions and 40 deletions
+20 -5
View File
@@ -67,10 +67,17 @@ export function adjudicationLogistics(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({
url: '/adjudication/signature',
url: '/caseApplication/selectSignUrl',
method: 'post',
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({
url: '/adjudication/stamp',
url: '/caseApplication/selectSealUrl',
method: 'post',
data: data
})
+31 -18
View File
@@ -104,7 +104,9 @@ import {
caseApplicationDetail,
adjudicationLogistics,
adjudicationCaseFile,
adjudicationStamp
adjudicationStamp,
selectSignUrl,
selectSealUrl
} from "@/api/awardManagement/awardManagement";
import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
import mailawardDialog from './components/MailawardDialog.vue';
@@ -155,7 +157,7 @@ export default {
this.getList(this.queryParams);
},
methods: {
updataList(){
updataList() {
this.getList(this.queryParams);
},
/** 搜索按钮操作 */
@@ -179,20 +181,27 @@ export default {
},
// model框显示
showModel(row, type) {
this.getDetail({ id: row.id });
this.openDialog = true;
switch (type) {
case 1:
this.getDetail({ id: row.id });
this.openDialog = true;
this.title = "核验裁决书";
this.flag = 1;
break;
case 2:
this.getDetail({ id: row.id });
this.openDialog = true;
this.title = "审核裁决书";
this.flag = 2;
break;
case 3:
this.title = "裁决书签名";
this.flag = 3;
// this.title = "裁决书签名";
// this.flag = 3;
selectSignUrl({ id: row.id }).then(res => {
let url = res.data.signUrl;
window.open(url)
})
break;
default:
break;
@@ -206,20 +215,24 @@ export default {
showaffixModel(row) {
this.$modal.confirm('是否进行用印申请?')
.then(function () {
return adjudicationStamp({id:row.id});
})
.then(() => {
this.getList(this.queryParams);
this.$modal.msgSuccess("用印成功!");
})
.catch(function () {
});
// return adjudicationStamp({ id: row.id });
selectSealUrl({ id: row.id }).then(res => {
let url = res.data.sealUrl;
window.open(url)
})
})
// .then(() => {
// this.getList(this.queryParams);
// this.$modal.msgSuccess("用印成功!");
// })
.catch(function () {
});
},
// 快递信息弹框
showDeliveryModel(row) {
console.log(row,'快递');
console.log(row, '快递');
this.showDelivery = true
this.getadjudicationLogistics({id:row.id})
this.getadjudicationLogistics({ id: row.id })
},
closeDeliveryModel() {
this.showDelivery = false
@@ -236,12 +249,12 @@ export default {
showCasefilingModel(row) {
this.$modal.confirm('是否确认立即进行案件扫描?').then(
function () {
return adjudicationCaseFile({id:row.id})
return adjudicationCaseFile({ id: row.id })
}
).then(() => {
this.getList(this.queryParams);
this.$modal.msgSuccess("归档成功!");
}).catch(function () {})
}).catch(function () { })
},
// 送达裁决书弹框
showMailaward(row) {
+6 -15
View File
@@ -65,8 +65,7 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)"
v-hasPermi="['caseManagement:list:detail']">详情</el-button>
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)">详情</el-button>
<!-- 案件日志 -->
<el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)"
v-hasPermi="['caseLog:list:detail']">案件日志</el-button>
@@ -240,7 +239,7 @@ export default {
showcaseLog: false, //案件日志弹框显示
flagLoading: true, //案件日志弹框loading
caselogDataArr: [],
options:[]//机构数据
options: []//机构数据
};
},
created() {
@@ -255,13 +254,13 @@ export default {
this.openbatch = false;
},
// 机构发生变化
changeDept(data){
changeDept(data) {
this.queryParams.nameId = data[0]
},
// 获取机构数据
getInstitution(){
listDept().then(res=>{
res.data.forEach(item=>{
getInstitution() {
listDept().then(res => {
res.data.forEach(item => {
item.value = item.deptId;
item.label = item.deptName
})
@@ -273,14 +272,6 @@ export default {
this.loading = true;
caseApply(val).then((response) => {
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.loading = false;
});
+2 -2
View File
@@ -72,8 +72,8 @@ export default {
return {
codeUrl: "",
loginForm: {
username: "admin",
password: "admin123",
username: "",
password: "",
rememberMe: false,
code: "",
uuid: ""