Commit ecc180f7 by 冒粤蓉

fix

1 parent e741450b
...@@ -217,10 +217,10 @@ ...@@ -217,10 +217,10 @@
</el-table-column> </el-table-column>
<el-table-column prop="gpsTime" label="GPS时间" min-width="100" align="center"> <!-- <el-table-column prop="gpsTime" label="GPS时间" min-width="100" align="center">
</el-table-column> </el-table-column> -->
<el-table-column prop="address" label="位置" min-width="200" align="center"></el-table-column> <!-- <el-table-column prop="address" label="位置" min-width="200" align="center"></el-table-column> -->
<el-table-column prop="userTel" label="联系方式" min-width="100" align="center"></el-table-column> <el-table-column prop="userTel" label="联系方式" min-width="100" align="center"></el-table-column>
...@@ -508,13 +508,14 @@ export default{ ...@@ -508,13 +508,14 @@ export default{
userListModalVisible:false, userListModalVisible:false,
selectedIds: [], selectedIds: [],
mapData: null, mapData: null,
polygonPath: [ polygonPath: []
["113.989993", "22.588762"], // polygonPath: [
["113.993298", "22.590585"], // ["113.989993", "22.588762"],
["113.996431", "22.58892"], // ["113.993298", "22.590585"],
["113.99274", "22.586622"], // ["113.996431", "22.58892"],
["113.99008", "22.585592"] // ["113.99274", "22.586622"],
] // ["113.99008", "22.585592"]
// ]
} }
}, },
......
...@@ -288,15 +288,24 @@ export default{ ...@@ -288,15 +288,24 @@ export default{
sure(){ sure(){
const userdata = []; const userdata = [];
this.chosenList.forEach((obj)=>{ this.chosenList.forEach((obj)=>{
if(obj.sns && obj.sns.length > 0) {
obj.sns.forEach(snsItem => {
userdata.push({ userdata.push({
sn: obj.sn, sn: snsItem,
name: obj.name, name: obj.name,
vin: obj.vin, vin: obj.vin,
userTel:obj.userTel, userTel:obj.userTel
time:obj.time,
address:obj.address
}); });
}) })
} else {
userdata.push({
sn: obj.sns,
name: obj.name,
vin: obj.vin,
userTel:obj.userTel
});
}
})
this.$emit('onUpdateUserData', userdata); this.$emit('onUpdateUserData', userdata);
this.$emit('onUserListModalChange', false); this.$emit('onUserListModalChange', false);
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!