2023-09-18 21:55:43 +08:00
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<!-- 组庭审核页面 -->
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="组庭确认"
|
|
|
|
|
:visible="showcourtReview"
|
|
|
|
|
width="500px"
|
|
|
|
|
@close="cancel"
|
|
|
|
|
:destroy-on-close="true"
|
|
|
|
|
>
|
2023-09-19 20:51:20 +08:00
|
|
|
<el-form ref="courtReviewform" :model="courtReviewform">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="开庭日期:"
|
|
|
|
|
prop="hearDate"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请选择开庭日期',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
>
|
2023-09-18 21:55:43 +08:00
|
|
|
<div class="reviewbox">
|
2023-09-19 20:51:20 +08:00
|
|
|
<el-date-picker
|
|
|
|
|
v-model="courtReviewform.hearDate"
|
|
|
|
|
type="datetime"
|
|
|
|
|
placeholder="选择日期"
|
|
|
|
|
>
|
2023-09-18 21:55:43 +08:00
|
|
|
</el-date-picker>
|
|
|
|
|
</div>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2023-09-19 20:51:20 +08:00
|
|
|
import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
|
|
|
|
|
import moment from "moment";
|
2023-09-18 21:55:43 +08:00
|
|
|
export default {
|
|
|
|
|
name: "courtReviewDialog",
|
2023-09-19 20:51:20 +08:00
|
|
|
props: ["showcourtReview", "form"],
|
2023-09-18 21:55:43 +08:00
|
|
|
data() {
|
|
|
|
|
return {
|
2023-09-19 20:51:20 +08:00
|
|
|
hearDate: "",
|
|
|
|
|
courtReviewform: {},
|
2023-09-18 21:55:43 +08:00
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
submitForm() {
|
2023-09-19 20:51:20 +08:00
|
|
|
this.$refs["courtReviewform"].validate((valid) => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.courtReviewform.hearDate = moment(
|
|
|
|
|
this.courtReviewform.hearDate
|
|
|
|
|
).format("YYYY-MM-DD HH:mm:ss");
|
|
|
|
|
pendTralSure({
|
|
|
|
|
id: this.form.id,
|
|
|
|
|
hearDate: this.courtReviewform.hearDate,
|
|
|
|
|
})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
this.$modal.msgSuccess("确认成功");
|
|
|
|
|
this.cancel();
|
|
|
|
|
this.$emit("getcaseApply");
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {});
|
|
|
|
|
}
|
|
|
|
|
});
|
2023-09-18 21:55:43 +08:00
|
|
|
},
|
|
|
|
|
cancel() {
|
|
|
|
|
this.$emit("cancelcourtReview");
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2023-09-19 20:51:20 +08:00
|
|
|
.el-form-item {
|
2023-09-18 21:55:43 +08:00
|
|
|
margin-left: 10%;
|
|
|
|
|
}
|
|
|
|
|
</style>
|