|
|
@@ -383,7 +383,8 @@
|
|
|
:option="vehicleOption"
|
|
|
>
|
|
|
<template slot="plateNo" slot-scope="{ row }">
|
|
|
- <span class="el-button--text" style="cursor: pointer" @click="openTrack(row)">{{ row.plateNo }}</span>
|
|
|
+ <span v-if="isMap" class="el-button--text" style="cursor: pointer" @click="openTrack(row)">{{ row.plateNo }}</span>
|
|
|
+ <span v-else>{{ row.plateNo }}</span>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="menu">
|
|
|
<el-link type="primary" :disabled="vehicleDelete" style="font-size: 12px" @click="vehicleClick(scope.row)">
|
|
|
@@ -582,7 +583,7 @@ import { gaude, location } from "@/api/gaude";
|
|
|
//地图回放
|
|
|
import trackPlayback from "@/components/trackPlayback";
|
|
|
import { contrastList, contrastObj } from "@/util/contrastData";
|
|
|
-
|
|
|
+import { isProcurement } from "@/api/basicData/configuration";
|
|
|
import { getUserInfo } from "@/api/system/user";
|
|
|
|
|
|
export default {
|
|
|
@@ -1651,13 +1652,13 @@ export default {
|
|
|
// label: '结算金额',
|
|
|
label: this.$t("land118n.settlementAmount"),
|
|
|
type: "settlementAmount",
|
|
|
- hide:JSON.parse(localStorage.getItem("saber-userInfo")).content.tenant_id=='809700'?false:true,
|
|
|
+ hide: JSON.parse(localStorage.getItem("saber-userInfo")).content.tenant_id == "809700" ? false : true
|
|
|
},
|
|
|
{
|
|
|
// label: '结算时间',
|
|
|
label: this.$t("land118n.settlementTime"),
|
|
|
type: "settlementDate",
|
|
|
- hide:JSON.parse(localStorage.getItem("saber-userInfo")).content.tenant_id=='809700'?false:true,
|
|
|
+ hide: JSON.parse(localStorage.getItem("saber-userInfo")).content.tenant_id == "809700" ? false : true
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -1780,7 +1781,8 @@ export default {
|
|
|
oldentrustList: {},
|
|
|
oldgoodsList: {},
|
|
|
oldvehicleList: {},
|
|
|
- oldorderFilesList: {}
|
|
|
+ oldorderFilesList: {},
|
|
|
+ isMap: false
|
|
|
};
|
|
|
},
|
|
|
async created() {
|
|
|
@@ -1793,6 +1795,11 @@ export default {
|
|
|
this.keyContact++;
|
|
|
this.collectionOption = await this.getColumnData(this.getColumnName(85.4), this.collectionOptionBackup);
|
|
|
this.paymentOption = await this.getColumnData(this.getColumnName(85.5), this.paymentOptionBackup);
|
|
|
+ isProcurement({ param: "is.map" }).then(res => {
|
|
|
+ if (res.data.data == 1) {
|
|
|
+ this.isMap = true;
|
|
|
+ }
|
|
|
+ });
|
|
|
if (this.id) {
|
|
|
if (this.id.slice(0, 4) === "copy") {
|
|
|
detailDelegationList({ id: this.id.slice(4, this.id.length), kind: "1" }).then(res => {
|