From edeb5e8abde1d65bc053b71ae9b3d9e5f61400e9 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Thu, 20 Apr 2023 22:50:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/KcSysConfigMain.vue | 56 ++++++++++++++++--- 1 file changed, 49 insertions(+), 7 deletions(-) diff --git a/src/views/kc/kcSysConfig/components/KcSysConfigMain.vue b/src/views/kc/kcSysConfig/components/KcSysConfigMain.vue index 8f89722..aaa7dd2 100644 --- a/src/views/kc/kcSysConfig/components/KcSysConfigMain.vue +++ b/src/views/kc/kcSysConfig/components/KcSysConfigMain.vue @@ -12,27 +12,27 @@ - + - + - + - + - + + + + + + + + + + + + + + + 开始执行 + + +
+
+
+
@@ -58,6 +78,8 @@ import { getSysConfig } from '/@/views/site/utils/index'; const queryParam = ref({}); + + const tencentHtml = ref(""); const props = defineProps({ formDisabled: { type: Boolean, default: false }, formData: { type: Object, default: ()=>{} }, @@ -66,6 +88,12 @@ const queryParam = ref({}); const formRef = ref(); const useForm = Form.useForm; const emit = defineEmits(['register', 'ok']); + + const txhy = reactive>({ + startTime:'', + endTime:'', + }); + const formData = reactive>({ id: '', bxqkssj: '', @@ -102,7 +130,7 @@ const queryParam = ref({}); //进入就加载 onMounted(() => { queryParam.value.id = '1'; - console.log(`🚀 ~ file: KcSysConfigMain.vue:106 ~ onMounted ~ sysInfo:`,getSysConfig().bxqkssj) + // console.log(`🚀 ~ file: KcSysConfigMain.vue:106 ~ onMounted ~ sysInfo:`,getSysConfig().bxqkssj) // loadData()` edit(getSysConfig()) }); @@ -168,6 +196,20 @@ const queryParam = ref({}); }); } + /** + * 开始执行生产腾讯会议 + */ + function txhyKszx(){ + tencentHtml.value = '生成腾讯会议中。。。' + // console.log(txhy); + const url = '/tencentUtil/addTencent'; + const params = txhy + defHttp.post({ url: url, params, timeout: 999999 }, { isTransformResponse: false }).then(res => { + console.log(`🚀 ~ file: KcSysConfigMain.vue:202 ~ defHttp.post ~ res:`, res) + tencentHtml.value = res.message; + }); + } + defineExpose({ add, @@ -178,7 +220,7 @@ const queryParam = ref({});