fix: tcp等类型添加关系图
This commit is contained in:
parent
ce1d80b77b
commit
2bb5cbdc93
|
@ -26,6 +26,8 @@
|
|||
<!-- 请求参数 -->
|
||||
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
||||
<ms-basis-parameters :showScript="false" :request="request"/>
|
||||
|
||||
<api-other-info :api="basisData"/>
|
||||
<ms-change-history ref="changeHistory"/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -34,10 +36,12 @@
|
|||
import MsBasisApi from "./BasisApi";
|
||||
import MsBasisParameters from "../request/dubbo/BasisParameters";
|
||||
import MsChangeHistory from "../../../../history/ChangeHistory";
|
||||
import ApiOtherInfo from "@/business/components/api/definition/components/complete/ApiOtherInfo";
|
||||
|
||||
export default {
|
||||
name: "MsApiDubboRequestForm",
|
||||
components: {
|
||||
ApiOtherInfo,
|
||||
MsBasisApi, MsBasisParameters,MsChangeHistory
|
||||
},
|
||||
props: {
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
<!-- 请求参数 -->
|
||||
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
||||
<ms-basis-parameters :showScript="false" :request="request"/>
|
||||
|
||||
<api-other-info :api="basisData"/>
|
||||
|
||||
<ms-change-history ref="changeHistory"/>
|
||||
|
||||
</div>
|
||||
|
@ -34,10 +37,12 @@
|
|||
import MsBasisApi from "./BasisApi";
|
||||
import MsBasisParameters from "../request/database/BasisParameters";
|
||||
import MsChangeHistory from "../../../../history/ChangeHistory";
|
||||
import ApiOtherInfo from "@/business/components/api/definition/components/complete/ApiOtherInfo";
|
||||
|
||||
export default {
|
||||
name: "MsApiSqlRequestForm",
|
||||
components: {
|
||||
ApiOtherInfo,
|
||||
MsBasisApi, MsBasisParameters,MsChangeHistory
|
||||
},
|
||||
props: {
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
<esb-definition-response v-xpack v-if="showXpackCompnent" :is-api-component="true" :show-options-button="true" :request="request" />
|
||||
<!-- <api-response-component :currentProtocol="apiCase.request.protocol" :api-item="apiCase"/>-->
|
||||
</div>
|
||||
<api-other-info :api="basisData"/>
|
||||
|
||||
<ms-change-history ref="changeHistory"/>
|
||||
|
||||
|
@ -64,13 +65,15 @@ import MsTcpBasicApi from "./TCPBasicApi";
|
|||
import MsTcpFormatParameters from "../request/tcp/TcpFormatParameters";
|
||||
import MsChangeHistory from "../../../../history/ChangeHistory";
|
||||
import {hasLicense, getCurrentProjectID, getUUID} from "@/common/js/utils";
|
||||
import ApiOtherInfo from "@/business/components/api/definition/components/complete/ApiOtherInfo";
|
||||
|
||||
const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
|
||||
const esbDefinition = (requireComponent!=null&&requireComponent.keys().length) > 0 ? requireComponent("./apidefinition/EsbDefinition.vue") : {};
|
||||
const esbDefinitionResponse = (requireComponent!=null&&requireComponent.keys().length) > 0 ? requireComponent("./apidefinition/EsbDefinitionResponse.vue") : {};
|
||||
export default {
|
||||
name: "MsAddCompleteTcpApi",
|
||||
components: {MsTcpBasicApi, MsTcpFormatParameters,MsChangeHistory,
|
||||
components: {
|
||||
ApiOtherInfo, MsTcpBasicApi, MsTcpFormatParameters,MsChangeHistory,
|
||||
"esbDefinition": esbDefinition.default,
|
||||
"esbDefinitionResponse": esbDefinitionResponse.default},
|
||||
props: {
|
||||
|
|
|
@ -45,7 +45,7 @@ export default {
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
.dependencies-container .el-main:nth-child(3) {
|
||||
.dependencies-container .el-main {
|
||||
margin-top: 20px;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue