缴费页面迁移

This commit is contained in:
Your Name
2023-09-20 14:23:32 +08:00
parent da4988f593
commit 37dc67e9ff
5 changed files with 232 additions and 36 deletions
@@ -125,7 +125,10 @@
</el-form-item>
</el-col>
</el-form>
<el-button>发起会议</el-button>
<el-button @click="openmeeting"
>发起会议
<!-- <iframe src="http://47.97.117.253:9005/#/">发起会议</iframe> -->
</el-button>
<el-button>提交仲裁结果</el-button>
<div slot="footer" class="dialog-footer">
<el-button @click="submitForm" class="endbutton"
@@ -140,15 +143,38 @@
</template>
<script>
import { getUserProfile } from "@/api/system/user";
export default {
props: ["showtrialincourt", "adjudicatename"],
props: ["showtrialincourt", "adjudicatename", "form"],
data() {
return {
// key: value
formData: {},
user: ''
};
},
watch: {
showtrialincourt: {
handler(val) {
if (val) {
this.formData = this.form
}
}
}
},
created () {
this.getUser();
},
methods: {
getUser() {
getUserProfile().then(response => {
console.log(response,'response');
this.user = response.data.userName;
});
},
// 打开会议
openmeeting() {
window.open(`http://47.97.117.253:9005/#/home?name=${this.user}`)
},
submitForm() {},
cancel() {
this.$emit("canceltrialincourt");