Commit 11d85ac4 authored by 罗林杰's avatar 罗林杰

修改数据库到消息队列配置页面

parent 803b4c08
......@@ -31,6 +31,16 @@
<a-button type="primary" :disabled="isEdit" @click="handleOperation">跳转运维</a-button>
<a-button type="primary" :disabled="isEdit" @click="handleSave">保存</a-button>
<a-button type="primary" :disabled="isEdit" @click="handlePublish">发布</a-button>
<a-button
type="primary"
v-if="isStart === 'false'"
:disabled="isEdit"
@click="handleStart"
>启动</a-button
>
<a-button type="primary" v-if="isStart === 'true'" :disabled="isEdit" @click="handleStart"
>暂停</a-button
>
<a-button type="primary" @click="handleVersionManagement">版本管理</a-button>
</div>
</div>
......@@ -648,6 +658,7 @@
const scene = ref();
const isEdit = ref(true);
const version = ref('V1');
const isStart = ref('false');
const versionOptions = [
{
label: 'V1',
......@@ -1116,6 +1127,13 @@
function saveAndPreviewTableMapping() {
tableMappingRulesTableShow.value = true;
}
function handleStart() {
if (isStart.value === 'false') {
isStart.value = 'true';
} else {
isStart.value = 'false';
}
}
function handleDeleteRules() {
const selectedKeys = getRowSelection().selectedRowKeys;
if (selectedKeys !== undefined) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment