Commit 1a99ec79d7563a5d60faf9cf94a47b5298b6267e
Merge branch 'fix/buildtenant-config' into 'v1.4.0_dev'
perf: 移除未使用页面 See merge request yunteng/thingskit-front!1350
Showing
1 changed file
with
0 additions
and
51 deletions
src/views/tenant/config/queueConfiguration/index.vue
deleted
100644 → 0
| 1 | -<template> | ||
| 2 | - <div class="tenant-class"> | ||
| 3 | - <CollapseContainer title="队列"> | ||
| 4 | - <BasicForm @register="registerForm" /> | ||
| 5 | - </CollapseContainer> | ||
| 6 | - </div> | ||
| 7 | -</template> | ||
| 8 | -<script lang="ts"> | ||
| 9 | - import { defineComponent, ref } from 'vue'; | ||
| 10 | - import { BasicForm, useForm } from '/@/components/Form'; | ||
| 11 | - import { formSchema } from './config'; | ||
| 12 | - import { CollapseContainer } from '/@/components/Container/index'; | ||
| 13 | - | ||
| 14 | - export default defineComponent({ | ||
| 15 | - name: 'Index', | ||
| 16 | - components: { BasicForm, CollapseContainer }, | ||
| 17 | - emits: ['success', 'register', 'funcResetFields'], | ||
| 18 | - setup() { | ||
| 19 | - const getValueData: any = ref({}); | ||
| 20 | - const [registerForm, { getFieldsValue, resetFields, setFieldsValue }] = useForm({ | ||
| 21 | - schemas: formSchema, | ||
| 22 | - showActionButtonGroup: false, | ||
| 23 | - }); | ||
| 24 | - const setFieldsValueFunc = (v) => { | ||
| 25 | - setFieldsValue(v); | ||
| 26 | - }; | ||
| 27 | - function getAllFields(getV) { | ||
| 28 | - const values = getFieldsValue(); | ||
| 29 | - getValueData.value = values; | ||
| 30 | - getV = getValueData.value; | ||
| 31 | - return getV; | ||
| 32 | - } | ||
| 33 | - function funcResetFields() { | ||
| 34 | - resetFields(); | ||
| 35 | - } | ||
| 36 | - return { | ||
| 37 | - setFieldsValueFunc, | ||
| 38 | - funcResetFields, | ||
| 39 | - getAllFields, | ||
| 40 | - registerForm, | ||
| 41 | - }; | ||
| 42 | - }, | ||
| 43 | - }); | ||
| 44 | -</script> | ||
| 45 | -<style lang="less" scoped> | ||
| 46 | - .tenant-class { | ||
| 47 | - :deep .ant-input-number { | ||
| 48 | - width: 95% !important; | ||
| 49 | - } | ||
| 50 | - } | ||
| 51 | -</style> |