renamed terminal file, temporary fix for an error

This commit is contained in:
Chad Derya 2019-09-10 18:58:28 +01:00
parent 84a41f2276
commit bb15b8f258
4 changed files with 13 additions and 8 deletions

View File

@ -9,7 +9,6 @@
</sticky> </sticky>
<div class="createPost-main-container"> <div class="createPost-main-container">
<el-row> <el-row>
<el-col :span="20"> <el-col :span="20">
<div class="postInfo-container"> <div class="postInfo-container">
@ -20,7 +19,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row v-if="$store.state.settings.platform === 'OLFDE'">
<el-col :span="8"> <el-col :span="8">
<el-form-item label-width="120px" label="Region:" class="postInfo-container-item"> <el-form-item label-width="120px" label="Region:" class="postInfo-container-item">
<el-select v-model="postForm.region_id" :remote-method="getRemoteRegionList" filterable default-first-option remote placeholder="Search Regions" loading-text="Loading..."> <el-select v-model="postForm.region_id" :remote-method="getRemoteRegionList" filterable default-first-option remote placeholder="Search Regions" loading-text="Loading...">

View File

@ -1,13 +1,13 @@
<template> <template>
<account-detail :is-edit="false" /> <terminal-detail :is-edit="false" />
</template> </template>
<script> <script>
import AccountDetail from './components/AccountDetail' import TerminalDetail from './components/TerminalDetail'
export default { export default {
name: 'CreateForm', name: 'CreateForm',
components: { AccountDetail } components: { TerminalDetail }
} }
</script> </script>

View File

@ -1,13 +1,13 @@
<template> <template>
<account-detail :is-edit="true" /> <terminal-detail :is-edit="true" />
</template> </template>
<script> <script>
import AccountDetail from './components/AccountDetail' import TerminalDetail from './components/TerminalDetail'
export default { export default {
name: 'EditForm', name: 'EditForm',
components: { AccountDetail } components: { TerminalDetail }
} }
</script> </script>

View File

@ -78,6 +78,12 @@ export default {
this.total = response.data.terminals.length this.total = response.data.terminals.length
this.listLoading = false this.listLoading = false
}) })
},
handleFilter() {
// const searchQuery = this.accountName.toLowerCase()
// this.filteredList = this.originalList.filter(function(account) {
// return account.name.toLowerCase().includes(searchQuery)
// })
} }
} }
} }