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 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
@@ -104,7 +104,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';
@@ -155,7 +157,7 @@ export default {
this.getList(this.queryParams); this.getList(this.queryParams);
}, },
methods: { methods: {
updataList(){ updataList() {
this.getList(this.queryParams); this.getList(this.queryParams);
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
@@ -179,20 +181,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;
@@ -206,20 +215,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
@@ -236,12 +249,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) {
+6 -15
View File
@@ -65,8 +65,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)" <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)">详情</el-button>
v-hasPermi="['caseManagement:list:detail']">详情</el-button>
<!-- 案件日志 --> <!-- 案件日志 -->
<el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)" <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)"
v-hasPermi="['caseLog:list:detail']">案件日志</el-button> v-hasPermi="['caseLog:list:detail']">案件日志</el-button>
@@ -240,7 +239,7 @@ export default {
showcaseLog: false, //案件日志弹框显示 showcaseLog: false, //案件日志弹框显示
flagLoading: true, //案件日志弹框loading flagLoading: true, //案件日志弹框loading
caselogDataArr: [], caselogDataArr: [],
options:[]//机构数据 options: []//机构数据
}; };
}, },
created() { created() {
@@ -255,13 +254,13 @@ export default {
this.openbatch = false; this.openbatch = false;
}, },
// 机构发生变化 // 机构发生变化
changeDept(data){ changeDept(data) {
this.queryParams.nameId = data[0] this.queryParams.nameId = data[0]
}, },
// 获取机构数据 // 获取机构数据
getInstitution(){ getInstitution() {
listDept().then(res=>{ listDept().then(res => {
res.data.forEach(item=>{ res.data.forEach(item => {
item.value = item.deptId; item.value = item.deptId;
item.label = item.deptName item.label = item.deptName
}) })
@@ -273,14 +272,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;
}); });
+2 -2
View File
@@ -72,8 +72,8 @@ export default {
return { return {
codeUrl: "", codeUrl: "",
loginForm: { loginForm: {
username: "admin", username: "",
password: "admin123", password: "",
rememberMe: false, rememberMe: false,
code: "", code: "",
uuid: "" uuid: ""