打通主要流程(签名,送达,归档)

This commit is contained in:
Your Name
2023-10-09 22:02:10 +08:00
parent 2bbfc13e47
commit 2b1c4564a6
9 changed files with 145 additions and 62 deletions
+31 -13
View File
@@ -51,10 +51,11 @@
v-hasPermi="['monitor:online:forceLogout']">签名</el-button>
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 14" @click="showaffixModel(scope.row, 4)"
v-hasPermi="['monitor:online:forceLogout']">用印申请</el-button>
<el-button size="mini" type="text" icon="el-icon-truck" @click="showDeliveryModel(scope.row, 4)"
<!-- v-if="scope.row.caseStatus > 15" -->
<el-button size="mini" type="text" icon="el-icon-truck" v-if="scope.row.caseStatus > 15" @click="showDeliveryModel(scope.row, 4)"
v-hasPermi="['monitor:online:forceLogout']">快递信息</el-button>
<!-- v-if="scope.row.caseStatus == 15" 送达裁决书 -->
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 15" @click="showMailaward(scope.row)"
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 15" @click="showMailaward(scope.row)"
v-hasPermi="['monitor:online:forceLogout']">送达裁决书</el-button>
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 16" @click="showCasefilingModel(scope.row, 6)"
v-hasPermi="['monitor:online:forceLogout']">案件归档</el-button>
@@ -90,7 +91,9 @@
<!-- 快递信息页面 -->
<expressDeliveryDialog
:showDelivery="showDelivery"
:deliveryDataArr="deliveryDataArr"
@closeDeliveryModel="closeDeliveryModel"
:flagLoading="flagLoading"
></expressDeliveryDialog>
</div>
</template>
@@ -99,6 +102,9 @@
import {
caseApplicationList,
caseApplicationDetail,
adjudicationLogistics,
adjudicationCaseFile,
adjudicationStamp
} from "@/api/awardManagement/awardManagement";
import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
import mailawardDialog from './components/MailawardDialog.vue';
@@ -138,6 +144,8 @@ export default {
openMailawardDialog: false, //送达裁决书页面
mailawardata: {}, //裁决书送达界面数据
showDelivery: false, //快递信息弹框
deliveryDataArr: [],//快递信息数据
flagLoading: true,
};
},
created() {
@@ -198,33 +206,43 @@ export default {
showaffixModel(row) {
this.$modal.confirm('是否进行用印申请?')
.then(function () {
// return changeJobStatus(row.jobId, row.status);
return adjudicationStamp({id:row.id});
})
.then(() => {
// this.$modal.msgSuccess(text + "成功");
this.getList(this.queryParams);
this.$modal.msgSuccess("用印成功!");
})
.catch(function () {
// row.status = row.status === "0" ? "1" : "0";
});
},
// 快递信息弹框
showDeliveryModel(row) {
console.log(row,'快递');
this.showDelivery = true
this.getadjudicationLogistics({id:row.id})
},
closeDeliveryModel() {
this.showDelivery = false
},
// 案件归档
showCasefilingModel() {
this.$modal.confirm('是否确认立即进行案件扫描?').then(
function () {}
).then(() => {
}).catch(function () {
// 查询物流信息
getadjudicationLogistics(val) {
this.flagLoading = true;
adjudicationLogistics(val).then((res) => {
this.deliveryDataArr = res.data
this.flagLoading = false
})
},
// 案件归档
showCasefilingModel(row) {
this.$modal.confirm('是否确认立即进行案件扫描?').then(
function () {
return adjudicationCaseFile({id:row.id})
}
).then(() => {
this.getList(this.queryParams);
this.$modal.msgSuccess("归档成功!");
}).catch(function () {})
},
// 送达裁决书弹框
showMailaward(row) {
this.mailawardata = row;