页面更新
This commit is contained in:
parent
36c1c5e21c
commit
afa8e07964
|
@ -74,10 +74,12 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-card>
|
<el-card class="mb10">
|
||||||
<collapse-panel :value="true" title="运营信息">
|
<collapse-panel :value="true" title="运营信息">
|
||||||
<el-descriptions :column="1">
|
<el-descriptions :column="1">
|
||||||
<el-descriptions-item label="运营区">{{ detail.areaName | dv }}</el-descriptions-item>
|
<el-descriptions-item label="运营区">
|
||||||
|
<area-link :id="detail.areaId" :text="detail.areaName"/>
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="车辆归属">
|
<el-descriptions-item label="车辆归属">
|
||||||
<user-link :id="detail.mchId" :text="detail.mchName"/>
|
<user-link :id="detail.mchId" :text="detail.mchName"/>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
@ -85,16 +87,15 @@
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</collapse-panel>
|
</collapse-panel>
|
||||||
|
|
||||||
<collapse-panel :value="true" title="当前订单" v-if="detail.orderNo">
|
<collapse-panel :value="true" title="最近订单" v-if="detail.orderNo">
|
||||||
<el-descriptions :column="1">
|
<el-descriptions :column="1">
|
||||||
<el-descriptions-item label="订单编号">
|
<el-descriptions-item label="订单编号">
|
||||||
<order-link :id="detail.orderId" :text="detail.orderNo"/>
|
<order-link :id="detail.orderId" :text="detail.orderNo"/>
|
||||||
|
<dict-tag :options="dict.type.order_status" :value="detail.orderStatus" size="small" style="margin-left: 4px;" />
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="订单状态">
|
<el-descriptions-item label="用户">
|
||||||
<dict-tag :options="dict.type.order_status" :value="detail.orderStatus" size="small"/>
|
<user-link :id="detail.orderUserId" :text="detail.orderUserName"/>
|
||||||
</el-descriptions-item>
|
(<user-link :id="detail.orderUserId" :text="detail.orderUserPhone"/>)
|
||||||
<el-descriptions-item label="订单设备状态">
|
|
||||||
<dict-tag :options="dict.type.order_device_status" :value="detail.orderDeviceStatus" size="small"/>
|
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</collapse-panel>
|
</collapse-panel>
|
||||||
|
@ -141,6 +142,7 @@ import DeviceSn from '@/views/bst/device/components/DeviceSn.vue';
|
||||||
import Operlog from '@/views/monitor/operlog/index.vue';
|
import Operlog from '@/views/monitor/operlog/index.vue';
|
||||||
import OrderLink from '@/components/Business/Order/OrderLink.vue';
|
import OrderLink from '@/components/Business/Order/OrderLink.vue';
|
||||||
import UserLink from '@/components/Business/User/UserLink.vue';
|
import UserLink from '@/components/Business/User/UserLink.vue';
|
||||||
|
import AreaLink from '@/components/Business/Area/AreaLink.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'DeviceView',
|
name: 'DeviceView',
|
||||||
|
@ -156,7 +158,8 @@ export default {
|
||||||
DeviceSn,
|
DeviceSn,
|
||||||
Operlog,
|
Operlog,
|
||||||
OrderLink,
|
OrderLink,
|
||||||
UserLink
|
UserLink,
|
||||||
|
AreaLink
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="请求参数" align="center" prop="operParam" :show-overflow-tooltip="true" />
|
<el-table-column label="请求参数" align="center" prop="operParam" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="返回结果" align="center" prop="jsonResult" :show-overflow-tooltip="true" />
|
<el-table-column label="异常信息" align="center" prop="errorMsg" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="请求IP" align="center" prop="operIp" :show-overflow-tooltip="true" />
|
<el-table-column label="请求IP" align="center" prop="operIp" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="操作时间" align="center" prop="operTime" width="160" sortable="custom" :sort-orders="['descending', 'ascending']"/>
|
<el-table-column label="操作时间" align="center" prop="operTime" width="160" sortable="custom" :sort-orders="['descending', 'ascending']"/>
|
||||||
<el-table-column label="消耗时间" align="center" prop="costTime" width="110" :show-overflow-tooltip="true" sortable="custom" :sort-orders="['descending', 'ascending']">
|
<el-table-column label="消耗时间" align="center" prop="costTime" width="110" :show-overflow-tooltip="true" sortable="custom" :sort-orders="['descending', 'ascending']">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user