| | |
| | | * @version: |
| | | * @Date: 2024-06-18 15:09:48 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-08-04 16:34:13 |
| | | * @LastEditTime: 2024-08-13 20:38:51 |
| | | --> |
| | | <template> |
| | | <BasicModal |
| | |
| | | :width="width" |
| | | > |
| | | <!-- 这里嵌入router-view来展示路由页面 --> |
| | | <Route_View :rotId="rotId" :rotType="rotType" /> |
| | | <Route_View :rotId="rotId" :rotType="rotType" :prodCode="prodCode" :custCode="custCode" /> |
| | | </BasicModal> |
| | | </template> |
| | | <script lang="ts" setup> |
| | |
| | | const width = ref(''); |
| | | const rotId = ref(''); |
| | | const rotType = ref(''); |
| | | const prodCode = ref(''); |
| | | const custCode = ref(''); |
| | | const submitFn = ref(''); |
| | | const slotName = ref(''); |
| | | |
| | |
| | | setModalProps({ confirmLoading: false, cancelText: '关闭', showOkBtn: false }); |
| | | rotId.value = data?.rotId; |
| | | rotType.value = data?.rotType; |
| | | prodCode.value = data?.prodCode; |
| | | custCode.value = data?.custCode; |
| | | slotName.value = data?.slotName; |
| | | submitFn.value = data?.submitFn; //'rvSubmit' |
| | | |
| | | }); |
| | | |
| | | onMounted(() => {}); |