|
@@ -79,7 +79,7 @@
|
|
<div class="p16 pt-0 pb-0 flex justify-between overflow-x-auto">
|
|
<div class="p16 pt-0 pb-0 flex justify-between overflow-x-auto">
|
|
<div class="flex">
|
|
<div class="flex">
|
|
<template v-for="item in commonModulesList">
|
|
<template v-for="item in commonModulesList">
|
|
- <div class="w80 bg-[#FFA359] h-28 rounded-md flex flex-col items-center justify-center">
|
|
|
|
|
|
+ <div class="w80 bg-[#FFA359] h-28 rounded-md flex flex-col items-center justify-center" @click="jumpToAdd(item)">
|
|
<div class="formImage">
|
|
<div class="formImage">
|
|
<img class="w-full h-full" src="/src/assets/image/form.png">
|
|
<img class="w-full h-full" src="/src/assets/image/form.png">
|
|
</div>
|
|
</div>
|
|
@@ -191,6 +191,18 @@ function calendarPanelChangeSet(data) {
|
|
getVisitorPlan()
|
|
getVisitorPlan()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+function jumpToAdd(rows) {
|
|
|
|
+ const jumpTo = routingInfos[rows.path.replace('/', '')]
|
|
|
|
+ router.navigateTo({
|
|
|
|
+ pathName: 'addEditor',
|
|
|
|
+ success: () => {
|
|
|
|
+ router.emit('addEditorParameter', {
|
|
|
|
+ routerInfo: JSON.stringify(jumpTo)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
function toContactDetails(item) {
|
|
function toContactDetails(item) {
|
|
router.navigateTo({
|
|
router.navigateTo({
|
|
pathName: 'details',
|
|
pathName: 'details',
|