- menu BOT

- verified_by_aportador
This commit is contained in:
paoloar77
2021-12-29 18:26:41 +01:00
parent f29c9e0413
commit 664b469d99
30 changed files with 505 additions and 60 deletions

40
src/rootgen/admin/bot/bot.ts Executable file
View File

@@ -0,0 +1,40 @@
import { defineComponent, ref, onMounted } from 'vue'
import { CImgText } from '../../../components/CImgText/index'
import { CCard } from '@/components/CCard'
import { CMyPage } from '@/components/CMyPage'
import { CTitleBanner } from '@/components/CTitleBanner'
import { CGridTableRec } from '@/components/CGridTableRec'
import { colmybot } from '@src/store/Modules/fieldsTable'
import MixinMetaTags from '@/mixins/mixin-metatags'
import { IMyBot } from 'model'
import { shared_consts } from '@/common/shared_vuejs'
export default defineComponent({
name: 'Bot',
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec },
setup() {
const { setmeta } = MixinMetaTags()
function getdefaultnewrec(): IMyBot {
return {
page: 1,
index: 1,
riga: 1,
active: false,
label: '',
type: 0,
value: '',
visibility: shared_consts.VISIB_ALL,
}
}
return {
colmybot,
setmeta,
getdefaultnewrec,
}
}
})