0329测试问题修改

This commit is contained in:
hanchaobo
2024-04-02 15:11:35 +08:00
parent 930c654c68
commit c071610f80
5 changed files with 730 additions and 348 deletions
+53 -28
View File
@@ -18,8 +18,8 @@
@keyup.enter.native="handleQuery" />
</el-form-item> -->
<el-form-item label="案件编号" prop="caseNum">
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" :disabled='queryDisable' clearable style="width: 240px"
@keyup.enter.native="handleQuery" />
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" :disabled='queryDisable' clearable
style="width: 240px" @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="创建时间" prop="caseTime">
<el-date-picker v-model="caseTime" type="daterange" align="right" unlink-panels range-separator="至"
@@ -82,9 +82,9 @@
" @click="caseFilingDetails(scope.row)">归档详情</el-button>
<div class="btnList" v-for="item in buttonList" :key="item.id">
<el-button size="mini" type="text" icon="el-icon-tickets" @click="caseClick(scope.row, item.id)"
v-if="item.id == scope.row.caseFlowId &&
v-if="(item.id == scope.row.caseFlowId &&
checkPermi([item.buttonAuthFlag]) &&
scope.row.signButtonFlag != 1
scope.row.signButtonFlag != 1) && (scope.row.appOperatorFlag == 1 || scope.row.resOperatorFlag == 1 || scope.row.otherFlag == 1)
">{{ item.nodeName }}</el-button>
</div>
</template>
@@ -211,7 +211,7 @@ export default {
pageNum: 1,
pageSize: 10,
},
queryDisable:false,
queryDisable: false,
// 遮罩层
loading: false,
// 总条数
@@ -279,9 +279,9 @@ export default {
},
created() {
this.queryParams.caseNum = this.$route.query.caseNum;
if(this.$route.query.token){
if (this.$route.query.token) {
this.queryDisable = true;
}else{
} else {
this.queryDisable = false;
}
// this.getList(this.queryParams);
@@ -469,6 +469,12 @@ export default {
caseApplicationSelectById(parms).then((res) => {
this.formPayDetail = res.data;
this.formPayDetailAffiliate = res.data.affiliate;
let applicantStr = '';
let resStr = '';
applicantStr = this.formPayDetailAffiliate.applicant.map(item => item.applicant.name).join(',');
resStr = this.formPayDetailAffiliate.res.map(item => item.res.name).join(',');
this.formPayDetailAffiliate.applicationName = applicantStr;
this.formPayDetailAffiliate.respondentName = resStr;
this.payForm.feePayable = res.data.feePayable;
this.payForm.caseId = res.data.id;
});
@@ -477,6 +483,12 @@ export default {
caseApplicationSelectById(parms).then((res) => {
this.formResPayDetail = res.data;
this.formResPay = res.data.affiliate;
let applicantStr = '';
let resStr = '';
applicantStr = this.formResPay.applicant.map(item => item.applicant.name).join(',');
resStr = this.formResPay.res.map(item => item.res.name).join(',');
this.formResPay.applicationName = applicantStr;
this.formResPay.respondentName = resStr;
this.resPayForm.feePayable = res.data.feePayable;
this.resPayForm.caseId = res.data.id;
});
@@ -698,25 +710,25 @@ export default {
ids: [row.id],
};
this.$confirm("你确定要案件送达吗?", "提示", {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: () => { },
beforeClose: (action, ctx, close) => {
if (action !== 'confirm') {
close();
return;
}
ctx.confirmButtonLoading = true;
msCaseFile(paramValues).then((res) => {
this.$modal.msgSuccess("案件送达成功");
close();
this.getList(this.queryParams);
}).finally(() => {
ctx.confirmButtonLoading = false;
})
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: () => { },
beforeClose: (action, ctx, close) => {
if (action !== 'confirm') {
close();
return;
}
}).finally(() => { })
ctx.confirmButtonLoading = true;
msCaseFile(paramValues).then((res) => {
this.$modal.msgSuccess("案件送达成功");
close();
this.getList(this.queryParams);
}).finally(() => {
ctx.confirmButtonLoading = false;
})
}
}).finally(() => { })
// .then((res) => {
// msCaseFile(paramValues).then((res) => {
// this.$modal.msgSuccess("案件送达成功");
@@ -757,9 +769,22 @@ export default {
this.caseFilingData = val;
let vals = { id: val.id };
caseApplicationSelectById(vals).then((res) => {
res.data.affiliate.respondentSex = Number(
res.data.affiliate.respondentSex
);
res.data.affiliate.applicant.forEach(item => {
if (!item.applicant) {
item.applicant = {}
}
if (!item.applicantAgent) {
item.applicantAgent = {}
}
})
res.data.affiliate.res.forEach(item => {
if (!item.res) {
item.res = {}
}
if (!item.resAgent) {
item.resAgent = {}
}
})
this.detailsAwardNum = res.data;
console.log(this.detailsAwardNum);
this.flagLoadingS = false;