|
|
@ -306,7 +306,7 @@ const json_data = computed( |
|
|
|
|
|
|
|
|
|
|
|
// 处理开始和停止按键的逻辑 |
|
|
|
// 处理开始和停止按键的逻辑 |
|
|
|
const running = ref(false) |
|
|
|
const running = ref(false) |
|
|
|
const disableAll= ref(false) |
|
|
|
const disableAll = ref(false) |
|
|
|
const startBtn_disable = ref(false) |
|
|
|
const startBtn_disable = ref(false) |
|
|
|
const startBtn_loading = ref(false) |
|
|
|
const startBtn_loading = ref(false) |
|
|
|
|
|
|
|
|
|
|
@ -326,7 +326,7 @@ const handleStart = () => { |
|
|
|
const params = {ip: selectIp.value} |
|
|
|
const params = {ip: selectIp.value} |
|
|
|
let mock_config = {} |
|
|
|
let mock_config = {} |
|
|
|
mockConfigItems.forEach((item) => { |
|
|
|
mockConfigItems.forEach((item) => { |
|
|
|
mock_config[item]= checkedMockConfig.value.indexOf(item) >= 0 |
|
|
|
mock_config[item] = checkedMockConfig.value.indexOf(item) >= 0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
console.log(mock_config) |
|
|
|
console.log(mock_config) |
|
|
|
const data = JSON.stringify({mock_config: mock_config, json_data: allJsonData.value}) |
|
|
|
const data = JSON.stringify({mock_config: mock_config, json_data: allJsonData.value}) |
|
|
@ -366,7 +366,8 @@ onMounted( |
|
|
|
> |
|
|
|
> |
|
|
|
<el-row justify="start"> |
|
|
|
<el-row justify="start"> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-select v-model="selectIp" class="m-2" placeholder="选择要模拟的影院IP" @change="handleIpChange" :disabled="disableAll"> |
|
|
|
<el-select v-model="selectIp" class="m-2" placeholder="选择要模拟的影院IP" @change="handleIpChange" |
|
|
|
|
|
|
|
:disabled="disableAll"> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="item in cinema_items.value" |
|
|
|
v-for="item in cinema_items.value" |
|
|
|
:key="item.value" |
|
|
|
:key="item.value" |
|
|
@ -422,6 +423,20 @@ onMounted( |
|
|
|
> |
|
|
|
> |
|
|
|
{{ api.name }} |
|
|
|
{{ api.name }} |
|
|
|
</el-checkbox> |
|
|
|
</el-checkbox> |
|
|
|
|
|
|
|
<el-popover |
|
|
|
|
|
|
|
v-if="api.key === 'get_overtime_ticket_status'" |
|
|
|
|
|
|
|
placement="top-start" |
|
|
|
|
|
|
|
title="超时票务查询接口说明:" |
|
|
|
|
|
|
|
:width="400" |
|
|
|
|
|
|
|
trigger="hover" |
|
|
|
|
|
|
|
content="此接口勾选后需要在下方接口返回值定义区域中指定要测试的场次和状态信息。" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<template #reference> |
|
|
|
|
|
|
|
<el-icon> |
|
|
|
|
|
|
|
<InfoFilled/> |
|
|
|
|
|
|
|
</el-icon> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-popover> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -495,4 +510,7 @@ div.api_desc { |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.el-icon { |
|
|
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|