diff --git a/src/views/caseManagement/components/trialincourtDialog.vue b/src/views/caseManagement/components/trialincourtDialog.vue index a4ecf95..e54bc8b 100644 --- a/src/views/caseManagement/components/trialincourtDialog.vue +++ b/src/views/caseManagement/components/trialincourtDialog.vue @@ -5,7 +5,6 @@ :visible="showtrialincourt" @close="cancel" :destroy-on-close="true" - center > - 发起会议 - 提交仲裁结果 + 提交仲裁结果 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -149,33 +265,47 @@ export default { data() { return { formData: {}, - user: '' + user: "", + showArbitrationresults: false, + form2: {}, }; }, watch: { showtrialincourt: { handler(val) { if (val) { - this.formData = this.form + this.formData = this.form; } - } - } + }, + }, }, - created () { + created() { this.getUser(); }, methods: { getUser() { - getUserProfile().then(response => { - console.log(response,'response'); + getUserProfile().then((response) => { this.user = response.data.userName; }); }, // 打开会议 openmeeting() { - window.open(`http://47.97.117.253:9005/#/home?name=${this.user}`) + window.open(`http://47.97.117.253:9005/#/home?name=${this.user}`); + }, + // 提交仲裁结果 + openArbitrationresults() { + this.showArbitrationresults = true; + }, + closeArbitrationresults() { + this.showArbitrationresults = false; + }, + submitForm() { + this.$refs["form2"].validate((valid) => { + if (valid) { + console.log(6666666666); + } + }); }, - submitForm() {}, cancel() { this.$emit("canceltrialincourt"); },