|
|
@@ -2,7 +2,9 @@
|
|
|
import { useCalculatingHeight } from '@/hooks/calculatingHeight'
|
|
|
import TableView from './components/TableView'
|
|
|
import DeliveryDate from './components/DeliveryDate.vue'
|
|
|
+import { useRouter } from 'vue-router'
|
|
|
|
|
|
+const router = useRouter()
|
|
|
const OperationSearch = ref()
|
|
|
const filterRef: Ref<HTMLElement | null> = ref(null)
|
|
|
const containerHeight = useCalculatingHeight(document.documentElement, 376, [filterRef])
|
|
|
@@ -28,16 +30,6 @@ const userTypeList = [
|
|
|
value: 'employee'
|
|
|
}
|
|
|
]
|
|
|
-const questionTypeList = [
|
|
|
- {
|
|
|
- label: 'Predefined Question',
|
|
|
- value: 'predefinedQuestion'
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'free text',
|
|
|
- value: 'freeText'
|
|
|
- }
|
|
|
-]
|
|
|
|
|
|
const numberCards = [
|
|
|
{
|
|
|
@@ -87,6 +79,11 @@ const handleCreate = () => {
|
|
|
// Handle create new booking logic here
|
|
|
}
|
|
|
|
|
|
+const handleTest = () => {
|
|
|
+ // Handle test logic here
|
|
|
+ router.push({ name: 'Modify Booking' })
|
|
|
+}
|
|
|
+
|
|
|
const DateStart = ref([])
|
|
|
const tableRef = ref()
|
|
|
</script>
|
|
|
@@ -107,6 +104,8 @@ const tableRef = ref()
|
|
|
<span style="margin-right: 4px" class="font_family icon-icon_add_b"></span>
|
|
|
<span style="font-weight: 400">Create New Booking</span>
|
|
|
</el-button>
|
|
|
+
|
|
|
+ <el-button @click="handleTest">测试</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="display">
|