Commit e68b0a64 by 李君

人员特征重提

1 parent d0938347
...@@ -14,7 +14,7 @@ const axiosInstance = axios.create( ...@@ -14,7 +14,7 @@ const axiosInstance = axios.create(
// 请求拦截器 // 请求拦截器
axiosInstance.interceptors.request.use( axiosInstance.interceptors.request.use(
config => { config => {
// Cookies.set('atoken','3d0d2714-b43a-4ea2-9364-663db02c2ec6') // Cookies.set('atoken','e433d448-d61e-4aba-9a3e-06c2fcb4a7e5')
if(!Cookies.get('atoken')){ if(!Cookies.get('atoken')){
ElMessage({ ElMessage({
message: `登录过期,请重新登录`, message: `登录过期,请重新登录`,
......
...@@ -28,10 +28,11 @@ ...@@ -28,10 +28,11 @@
<a-select-option :value="0">人脸+全身照特征</a-select-option> <a-select-option :value="0">人脸+全身照特征</a-select-option>
<a-select-option :value="1">人脸特征</a-select-option> <a-select-option :value="1">人脸特征</a-select-option>
<a-select-option :value="2">全身照特征</a-select-option> <a-select-option :value="2">全身照特征</a-select-option>
<a-select-option :value="3">店员特征</a-select-option> <a-select-option :value="3">店员特征(人脸+人体)</a-select-option>
<a-select-option :value="4">人员特征(人脸+人体)</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item label="选择日期:" v-if="queryForm.featureRevisitType !== 3" style="padding: 5px 0"> <a-form-item label="选择日期:" v-if="queryForm.featureRevisitType < 3" style="padding: 5px 0">
<a-date-picker v-model:value="queryForm.date" style="width: 280px"/> <a-date-picker v-model:value="queryForm.date" style="width: 280px"/>
</a-form-item> </a-form-item>
<a-form-item style="padding: 5px 0"> <a-form-item style="padding: 5px 0">
...@@ -218,14 +219,20 @@ export default { ...@@ -218,14 +219,20 @@ export default {
} }
featureReExtractApi.getFeatureResult(data) featureReExtractApi.getFeatureResult(data)
} }
else else if(rawData.featureRevisitType==3){
{
const data = { const data = {
mallIds: rawData.plaza_id, mallIds: rawData.plaza_id,
featureType: rawData.featureRevisitType, featureType: rawData.featureRevisitType,
scheduleType: `revisitFeature${rawData.featureRevisitType}`, scheduleType: `revisitFeature${rawData.featureRevisitType}`,
} }
featureReExtractApi.getStaffFeatureResult(data) featureReExtractApi.getStaffFeatureResult(data)
}else{
const data = {
mallIds: rawData.plaza_id,
featureType: rawData.featureRevisitType,
scheduleType: `revisitFeature${rawData.featureRevisitType}`,
}
featureReExtractApi.getPersonFeatureResult(data)
} }
} }
......
...@@ -21,6 +21,16 @@ class FeatureReExtractApi { ...@@ -21,6 +21,16 @@ class FeatureReExtractApi {
} }
) )
} }
getPersonFeatureResult(data){
return axiosInstance.request(
{
method: 'POST',
url: `/person/reFeature`,
data: data
}
)
}
} }
......
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
endTime: moment('23:59:59', 'HH:mm:ss'), endTime: moment('23:59:59', 'HH:mm:ss'),
minPic: 0, minPic: 0,
maxPic: 100, maxPic: 100,
childAdult:[1, -1, 0], childAdult:[],
} }
) )
const searchCondition = ref({}) const searchCondition = ref({})
......
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'), date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'),
startTime: moment('00:00:00', 'HH:mm:ss'), startTime: moment('00:00:00', 'HH:mm:ss'),
endTime: moment('23:59:59', 'HH:mm:ss'), endTime: moment('23:59:59', 'HH:mm:ss'),
childAdult:[1, -1, 0], childAdult:[],
} }
) )
const searchCondition = ref({}) const searchCondition = ref({})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!