浏览代码

现货信息录入

huangbin 4 年之前
父节点
当前提交
25aa8e1881
共有 1 个文件被更改,包括 14 次插入7 次删除
  1. 14 7
      src/views/hedging/entry_of_spot_information/index.vue

+ 14 - 7
src/views/hedging/entry_of_spot_information/index.vue

@@ -1,19 +1,26 @@
 <template>
-  <!-- 现货信息录入-->
-  <div>现货信息录入</div>
+  <!-- 现货信息录入 -->
+  <div class="iframe-container">
+    <iframe :src="url"
+            style="border: 0;"></iframe>
+  </div>
 </template>
 
 <script lang="ts">
 import { defineComponent } from 'vue';
-import { initData } from '@/common/methods';
-import { EnumRouterName } from '@/common/constants/enumRouterName';
+import { IfameRouteParam } from '@/common/setup/iframe/interface';
+import { handleIfameRouter } from '@/common/setup/iframe';
 
 export default defineComponent({
-    name: EnumRouterName.spot_price_management_normal,
+    name: 'entry_of_spot_information',
     components: {},
     setup() {
-        initData(() => {});
-        return {};
+        const param: IfameRouteParam = {
+            code: 'entry_of_spot_information',
+            btnCodeList: [],
+            tabIndex: 1,
+        };
+        return { ...handleIfameRouter(param) };
     },
 });
 </script>