公章bug
This commit is contained in:
@@ -27,9 +27,10 @@
|
||||
<script>
|
||||
import { updateHeardate } from '@/api/caseManagement/caseManagement'
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { createRoomId, reservedConference } from '@/api/meeting/index'
|
||||
import moment from "moment";
|
||||
export default {
|
||||
props: ["timeVisable", "timeData","queryParams"],
|
||||
props: ["timeVisable", "timeData", "queryParams"],
|
||||
data() {
|
||||
return {
|
||||
loanStartDate: "",
|
||||
@@ -37,7 +38,8 @@ export default {
|
||||
disabledDate(time) {
|
||||
return time.getTime() < Date.now() - 8.64e7;
|
||||
}
|
||||
}
|
||||
},
|
||||
roomId: null
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -55,19 +57,37 @@ export default {
|
||||
cancel() {
|
||||
this.$emit("cancelTime");
|
||||
},
|
||||
// 提交时间
|
||||
updateHeardateFn(data) {
|
||||
updateHeardate(data).then(res => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply",this.queryParams);
|
||||
// 获取房间号
|
||||
async createRoomIdFn(data) {
|
||||
await createRoomId(data).then(res => {
|
||||
this.roomId = res.data;
|
||||
})
|
||||
},
|
||||
submitTime() {
|
||||
// 预约会议
|
||||
async reservedConferenceFn(data) {
|
||||
await reservedConference(data).then(res => {
|
||||
console.log(res, "PPPPPPPPPPPPPPPPPPPPPPPPP");
|
||||
})
|
||||
},
|
||||
// 提交时间
|
||||
async updateHeardateFn(data) {
|
||||
await updateHeardate(data).then(res => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
async submitTime() {
|
||||
this.loanStartDate = moment(
|
||||
this.loanStartDate
|
||||
).format("YYYY-MM-DD HH:mm:ss");
|
||||
this.updateHeardateFn({
|
||||
await this.createRoomIdFn({ caseId: this.timeData.id });
|
||||
await this.reservedConferenceFn({
|
||||
caseId: this.timeData.id,
|
||||
roomId: this.roomId,
|
||||
scheduleStartTime: this.loanStartDate,
|
||||
})
|
||||
await this.updateHeardateFn({
|
||||
id: this.timeData.id,
|
||||
hearDate: this.loanStartDate
|
||||
})
|
||||
|
||||
@@ -110,6 +110,16 @@
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="预约会议房间号:">
|
||||
<div>{{ roomId }}</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="开庭时间:">
|
||||
<div>{{ startTime }}</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- </el-form> -->
|
||||
</el-form>
|
||||
<el-button @click="openmeeting" type="primary">发起会议</el-button>
|
||||
@@ -262,7 +272,7 @@ import {
|
||||
creatTrialRecord,
|
||||
document,
|
||||
} from "@/api/caseManagement/caseManagement.js";
|
||||
|
||||
import { reserveConferenceList } from '@/api/meeting/index.js'
|
||||
export default {
|
||||
props: ["showtrialincourt", "adjudicatename", "form", "queryParams"],
|
||||
data() {
|
||||
@@ -278,12 +288,15 @@ export default {
|
||||
showsubmit: true, //生成庭审笔录,方可提交
|
||||
annexName: "", //笔录文件名
|
||||
annexPath: "", //笔录文件地址
|
||||
roomId:null,
|
||||
startTime:""
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
showtrialincourt: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
this.reserveConferenceListFn({caseId:this.form.id});
|
||||
this.getUser();
|
||||
this.formData = this.form;
|
||||
this.applicateArr = [];
|
||||
@@ -324,6 +337,13 @@ export default {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 根据案件id查询会议号
|
||||
reserveConferenceListFn(data){
|
||||
reserveConferenceList(data).then(res=>{
|
||||
this.roomId = res.data[0].roomId;
|
||||
this.startTime = res.data[0].scheduleStartTime;
|
||||
})
|
||||
},
|
||||
// 详情显示,展示申请人案件文件
|
||||
toFile(item, index) {
|
||||
window.open(
|
||||
|
||||
Reference in New Issue
Block a user