Commit 07d1fa74 by 李君
2 parents b55e0961 0edcae6f
......@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
"lint": "vue-cli-service lint",
"dev": "vue-cli-service serve"
},
......
......@@ -142,9 +142,9 @@
<el-table :data="item.hitRecords" style="width: 100%" border>
<el-table-column type="index" label="序号" width="80">
</el-table-column>
<el-table-column prop="counttime" label="时间" >
<el-table-column prop="counttime" label="时间">
</el-table-column>
<el-table-column prop="gateName" label="监控点名称" >
<el-table-column prop="gateName" label="监控点名称">
</el-table-column>
<el-table-column prop="direction" label="方向">
</el-table-column>
......@@ -187,9 +187,7 @@ export default {
setup() {
const accountList = ref([]);
const plazaList = ref([]);
const tableDataList = ref([
]);
const tableDataList = ref([]);
const selectList = ref([]);
const router = useRouter();
const isShow = ref(true);
......@@ -509,6 +507,13 @@ export default {
});
identifyResultList.value = r.data;
total_identify.value = r.data.total;
} else {
// identifyResultList.value = [];
// total_identify.value =0;
ElMessage({
message: r.msg_info,
type: "warning",
});
}
});
};
......@@ -617,7 +622,7 @@ export default {
selectList.value = val;
console.log(val);
};
const formatUrlList=ref([])
const formatUrlList = ref([]);
const selectReport = () => {
if (selectList.value.length <= 0) {
return ElMessage({
......@@ -627,29 +632,29 @@ export default {
}
isShow.value = false;
let datas=selectList.value.map(item=>item.id).join(',')
let datas = selectList.value.map((item) => item.id).join(",");
FeatureMatchingAccuracyApi.getfeatureReport({
idList:datas
}).then(res=>{
tableDataList.value=res
// console.log(tableDataList.value)
// formatUrlList.value=tableDataList.value.picList.map(item=>{
// return window._baseImgUrl + "tool/picture/" + item
// })
// console.log(formatUrlList.value)
})
idList: datas,
}).then((res) => {
tableDataList.value = res;
// console.log(tableDataList.value)
// formatUrlList.value=tableDataList.value.picList.map(item=>{
// return window._baseImgUrl + "tool/picture/" + item
// })
// console.log(formatUrlList.value)
});
};
const returns = () => {
console.log(isShow.value);
isShow.value = true;
};
const formatUrl=(url)=>{
const formatUrl = (url) => {
return window._baseImgUrl + "tool/picture/" + url;
}
const formatUrl1=(url)=>{
};
const formatUrl1 = (url) => {
return window._baseImgUrl + "picture/" + url;
}
};
return {
// sequence
tableDataList,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!