From 3efae02a275998bc3f8d8ed780fcf884da72683e Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 03 九月 2020 18:15:09 +0800
Subject: [PATCH] desktop: 应用修改为接口获取
---
src/pages/library/components/personList.vue | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/src/pages/library/components/personList.vue b/src/pages/library/components/personList.vue
index 22891c7..b86297b 100644
--- a/src/pages/library/components/personList.vue
+++ b/src/pages/library/components/personList.vue
@@ -233,10 +233,10 @@
<el-table-column prop="startTime" label="寮�濮嬫椂闂�" align="center"></el-table-column>
<el-table-column prop="endTime" label="缁撴潫鏃堕棿" align="center"></el-table-column>
<el-table-column prop="stayTime" label="鍋滅暀鏃堕暱" width="99" align="center">
- <template slot-scope="scope">
- <span>{{scope.row.stayTime}} 绉� </span>
- </template>
- </el-table-column>
+ <template slot-scope="scope">
+ <span>{{scope.row.stayTime}} 绉� </span>
+ </template>
+ </el-table-column>
</el-table>
<p style="text-align:right; font-size: 14px;">鍏眥{faceDataCount}}鏉℃暟鎹�</p>
</el-dialog>
@@ -545,7 +545,7 @@
pageSize: 10,
total: 0,
orderType: "desc",
- orderName: "id",
+ orderName: "createTime",
contentValue: "",
visible: false,
selectedRowKeys: [],
@@ -936,12 +936,8 @@
//let captureId = item.id == "" ? item.baseInfo[0].targetId : item.id
let captureId = item.id == "" ? item.personId : item.id
let imgUrl = item.personPicUrl ? item.personPicUrl : item.personPicUrl
- let compType = 1 // 鏁版嵁鏉ヨ嚜浜巈s
- if (!item.id || item.id == "") {
- compType = 0 // 鏁版嵁鏉ヨ嚜浜庡簳搴�
- }
- // window.open(href + '?showType=findByPic&targetId=' + captureId + '&picSmUrl=' + url + '&compType=' + compType)
-
+ let compType = 0;
+
let message = 'toSearch?showType=findByPic&targetId=' + captureId + '&picSmUrl=' + imgUrl + '&compType=' + compType;
window.parent.postMessage({
msg: message
--
Gitblit v1.8.0