update: remove dollor from wallet and unit
This commit is contained in:
@@ -24,10 +24,7 @@
|
||||
<CButton color="danger" :class="filterType === 'rej' && 'selected'" @click="filterType = 'rej'"
|
||||
>رد شده</CButton
|
||||
>
|
||||
<CButton
|
||||
color="success"
|
||||
:class="filterType === 'accept' && 'selected'"
|
||||
@click="filterType = 'accept'"
|
||||
<CButton color="success" :class="filterType === 'accept' && 'selected'" @click="filterType = 'accept'"
|
||||
>تایید شده</CButton
|
||||
>
|
||||
<CButton color="warning" :class="filterType === 'pend' && 'selected'" @click="filterType = 'pend'"
|
||||
@@ -67,63 +64,63 @@
|
||||
|
||||
<el-table-column label="مدل" width="150px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.deviceId.model }}
|
||||
{{ scope?.row?.deviceId?.model }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="IMEI" label=" IMEI" width="150px"> </el-table-column>
|
||||
|
||||
<el-table-column label="نام فروشگاه" width="">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.userId.shopName }}
|
||||
{{ scope?.row?.userId?.shopName }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="کدملی فروشنده" width="">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.userId.national_code }}
|
||||
{{ scope?.row?.userId?.national_code }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label=" نام و نام خانوادگی" width="">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.userId.first_name + " " + scope.row.userId.last_name }}
|
||||
{{ scope?.row?.userId?.first_name + ' ' + scope?.row?.userId?.last_name }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label=" شماره همراه" width="">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.userId.mobile_number }}
|
||||
{{ scope?.row?.userId?.mobile_number }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="محل سکونت" width="">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.userId.province_name + ", "+ scope.row.userId.city_name }}
|
||||
{{ scope?.row?.userId?.province_name + ', ' + scope?.row?.userId?.city_name }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="وضعیت" width="">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.status == 2" type="danger"> رد شده</el-tag>
|
||||
<el-tag v-if="scope.row.status == 1" type="success">تایید شده</el-tag>
|
||||
<el-tag v-if="scope?.row?.status == 2" type="danger"> رد شده</el-tag>
|
||||
<el-tag v-if="scope?.row?.status == 1" type="success">تایید شده</el-tag>
|
||||
|
||||
<el-tag v-if="scope.row.status == 0" type="warning"> درانتظار تایید</el-tag>
|
||||
<el-tag v-if="scope?.row?.status == 0" type="warning"> درانتظار تایید</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="تایید" width="110" align="center">
|
||||
<template slot-scope="scope">
|
||||
<CButton
|
||||
v-if="scope.row.status == 0 || scope.row.status == 2"
|
||||
:key="scope.row._id"
|
||||
v-if="scope?.row?.status == 0 || scope?.row?.status == 2"
|
||||
:key="scope?.row?._id"
|
||||
color="success"
|
||||
variant="outline"
|
||||
@click="post(scope.row._id, 'accept')"
|
||||
@click="post(scope?.row?._id, 'accept')"
|
||||
>
|
||||
<i class="fa fa-check-square"></i>
|
||||
</CButton>
|
||||
<CButton
|
||||
v-if="scope.row.status == 0 || scope.row.status == 1"
|
||||
:key="scope.row._id"
|
||||
v-if="scope?.row?.status == 0 || scope?.row?.status == 1"
|
||||
:key="scope?.row?._id"
|
||||
color="danger"
|
||||
variant="outline"
|
||||
@click="post(scope.row._id, 'reject')"
|
||||
@click="post(scope?.row?._id, 'reject')"
|
||||
>
|
||||
<i class="fa fa-window-close"></i>
|
||||
</CButton>
|
||||
@@ -155,8 +152,7 @@ export default {
|
||||
devices: [],
|
||||
|
||||
device: {},
|
||||
filterText: '',
|
||||
|
||||
filterText: ''
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user