|
@@ -37,7 +37,8 @@
|
|
|
</template>
|
|
|
<!--车号1-->
|
|
|
<template slot="wagonNumberOne" slot-scope="{ row }">
|
|
|
- <span style="color: #409EFF;" @click="openTrack(row,1)">{{row.wagonNumberOne}}</span>
|
|
|
+ <span style="color: #409EFF;" @click="openTrack(row,1)">{{row.wagonNumberOne}}</span>
|
|
|
+<!-- <span style="color: #409EFF;" @click="openTrack(row,1)">鲁RM9561</span>-->
|
|
|
</template>
|
|
|
|
|
|
<template slot-scope="scope" slot="orderNo">
|
|
@@ -269,7 +270,9 @@ export default {
|
|
|
methods: {
|
|
|
// 车号查询位置
|
|
|
openTrack(row, index) {
|
|
|
- location({itemId: row.itemId, plateNo: row.wagonNumberOne, tenantId: this.hctenantId, color: '2'}).then(res => {
|
|
|
+ // location({itemId: row.itemId, plateNo: row.wagonNumberOne, tenantId: this.hctenantId, color: '2'}).then(res => {
|
|
|
+ // row.wagonNumberOne = '鲁RM9561'
|
|
|
+ location({itemId: row.id, plateNo: row.wagonNumberOne, tenantId: this.hctenantId, color: '2'}).then(res => {
|
|
|
this.dialogVisible = true
|
|
|
let this_ = this
|
|
|
setTimeout(function () {
|
|
@@ -839,6 +842,24 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
+
|
|
|
+<style scoped src="@/styles/demo-center.css"></style>
|
|
|
<style scoped>
|
|
|
+#container {
|
|
|
+ height: 80vh;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.input-card .btn {
|
|
|
+ margin-right: 1.2rem;
|
|
|
+ width: 9rem;
|
|
|
+}
|
|
|
|
|
|
+.input-card .btn:last-child {
|
|
|
+ margin-right: 0;
|
|
|
+}
|
|
|
</style>
|
|
|
+
|
|
|
+<!--<style scoped>-->
|
|
|
+
|
|
|
+<!--</style>-->
|