minoe fixes, removed status from terminal as it doesnt exist
This commit is contained in:
parent
48c2c14e94
commit
b95bd2a23d
|
@ -41,6 +41,7 @@ function __dataToDTO(data) {
|
||||||
'contactNumber': data.contactNumber,
|
'contactNumber': data.contactNumber,
|
||||||
'fullName': data.fullName,
|
'fullName': data.fullName,
|
||||||
'meta': data.meta,
|
'meta': data.meta,
|
||||||
|
// 'status': data.status,
|
||||||
'regionId': data.region_id
|
'regionId': data.region_id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
fetchList(this.listQuery).then(response => {
|
fetchList().then(response => {
|
||||||
this.list = response.data.regions
|
this.list = response.data.regions
|
||||||
this.total = response.data.regions.length
|
this.total = response.data.regions.length
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<!-- <el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label-width="120px" label="Status" class="postInfo-container-item">
|
<el-form-item label-width="120px" label="Status" class="postInfo-container-item">
|
||||||
<el-radio-group v-model="postForm.status">
|
<el-radio-group v-model="postForm.status">
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -131,6 +131,7 @@ const defaultForm = {
|
||||||
fullName: '',
|
fullName: '',
|
||||||
contactNumber: '',
|
contactNumber: '',
|
||||||
region_id: '',
|
region_id: '',
|
||||||
|
// status: '',
|
||||||
address: {
|
address: {
|
||||||
line1: '',
|
line1: '',
|
||||||
line2: '',
|
line2: '',
|
||||||
|
@ -264,11 +265,8 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getRemoteRegionList(query) {
|
getRemoteRegionList() {
|
||||||
query = {}
|
fetchRegionList().then(response => {
|
||||||
query.platform = 'OLFDE'
|
|
||||||
query.limit = 100
|
|
||||||
fetchRegionList(query).then(response => {
|
|
||||||
if (!response.data.regions) return
|
if (!response.data.regions) return
|
||||||
this.regionListOptions = response.data.regions.map(v => { return { name: v.name, id: v._id } })
|
this.regionListOptions = response.data.regions.map(v => { return { name: v.name, id: v._id } })
|
||||||
})
|
})
|
||||||
|
|
|
@ -34,9 +34,10 @@
|
||||||
<span>{{ scope.row.contactNumber }}</span>
|
<span>{{ scope.row.contactNumber }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column v-if="$store.state.settings.platform === 'OLFDE'" align="center" label="Meta" width="200">
|
<!-- <el-table-column align="center" label="Status" width="200">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.meta }}</span>
|
<span v-if="scope.row.status === '100'">Enabled</span>
|
||||||
|
<span v-else>{{scope.row.status}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue