为超时售票接口添加说明

main
roger_mac 11 months ago
parent b43fe84326
commit 0fe40860cf
  1. 24
      src/views/mock/index.vue

@ -306,7 +306,7 @@ const json_data = computed(
//
const running = ref(false)
const disableAll= ref(false)
const disableAll = ref(false)
const startBtn_disable = ref(false)
const startBtn_loading = ref(false)
@ -326,7 +326,7 @@ const handleStart = () => {
const params = {ip: selectIp.value}
let mock_config = {}
mockConfigItems.forEach((item) => {
mock_config[item]= checkedMockConfig.value.indexOf(item) >= 0
mock_config[item] = checkedMockConfig.value.indexOf(item) >= 0
})
console.log(mock_config)
const data = JSON.stringify({mock_config: mock_config, json_data: allJsonData.value})
@ -366,7 +366,8 @@ onMounted(
>
<el-row justify="start">
<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
v-for="item in cinema_items.value"
:key="item.value"
@ -422,6 +423,20 @@ onMounted(
>
{{ api.name }}
</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-row>
</template>
@ -495,4 +510,7 @@ div.api_desc {
font-size: 14px;
}
.el-icon {
font-size: 14px;
}
</style>

Loading…
Cancel
Save